Skip to content

armgit / peach

Public Imported from GitHub
0

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

fix(detail): 统一两种详情的接着看,标签区多时收起,身份名字居中

longmeidao4ab7ae63c587
diff --git a/docs/REUSE.md b/docs/REUSE.md
index caa9f8081..0e14a6460 100644
--- a/docs/REUSE.md
+++ b/docs/REUSE.md
@@ -844,7 +844,7 @@ A 盘垃圾隔离使用短名称 `peach-purge-<32 位 UUID>.peach-quarantine`,
- 尾部索引布局采用 simon1561 的 [PR #157](https://github.com/peach-mitao/peach/pull/157)(`e67ead5a35a63fc36aa8153e5d62998a001779db`),补充扩展盒头、单个媒体盒和索引读取边界。非零编辑起点超过重建补偿范围时无法区分预卷与裁剪,保留转码;临时 B 帧视频已验证适用样本 50 帧逐帧一致、歧义样本拒修。扫描缓存第 1 版的失败结论按尾部布局重新诊断,第 2 版保留当前失败结论,不清空正常缓存或自动运行媒体修复。
- 「只采集在线资料」对齐全的行(番号已落库、字段有着落或已在候选表、封面在位)不碰磁盘;文件在不在看目录列表、同目录只列一次,扫描用目录列表自带的大小与时间、不逐个 stat;候选 CSV 每 5 秒写盘一次,被打断也在收尾写全。
- 一个控件在两页出现时,选中态也归它:首页、资料页与关注页的「全部/没看过/稍后看/已标记」共用 `use-view-glide.ts` 那块滑动玻璃与 `[data-view-glide]`,填充只由玻璃给,各排自己不铺底。
-- 本地详情与关注详情的「接着看」共用 `RelatedSection`、横滚接线与卡片 `next` 版式,数量读同一设置。空结果复用 `EmptyState`,读取失败复用 `RetryNote`,可原位重试;关闭推荐时不取数。关注推荐复用 `/api/follow` 分页及 TanStack Query 缓存,最多读取三页;优先同创作者和共同标签,排除当前合集、已看、忽略与不同媒体类型。创作者头像链接复用卡片的 hover,下载链接复用舞台操作键几何;未新增依赖,推荐读取不写 ledger。
+- 本地详情与关注详情的「接着看」共用 `RelatedSection`、横滚接线与卡片 `next` 版式,数量读同一设置。空结果复用 `EmptyState`,读取失败复用 `RetryNote`,可原位重试;关闭推荐时不取数。关注推荐复用 `/api/follow` 分页及 TanStack Query 缓存,最多读取三页;优先同创作者和共同标签,排除当前合集、已看、忽略与不同媒体类型。创作者头像链接复用卡片的 hover,下载链接复用舞台操作键几何;未新增依赖,推荐读取不写 ledger。两边卡片的推荐理由共用 `RecommendationReason`:写关系和最少见的几个共同标签,作品侧取 `/api/related` 的 `why_tags`(排除隐藏标签),关注侧比详情全部标签、不计 metadata 与 artist;一叠卡的悬停翻卡沿用关注列表的 `canFlip` 判据。
- 本地与在线详情标签共用 `components/detail-tags.tsx` 与样式:同一标签外观、最近使用、搜索与新建、改名预览及单条删除入口。写入仍由各自的数据层负责;在线来源标签的单条隐藏保存在用户设置,来源原词保留。关注管理的标签页签复用 `TagManager`,支持集中屏蔽和恢复内容。未新增依赖。
- 详情底部共用 `DetailContinuation`:分集队列在左、接着看在右,手机上下排列,两区独立横滚并共用底色。封面共用宽度与 16:9 比例;宽屏标题区通过 CSS subgrid 共用行高,摘要与操作键参与排版。`RelatedSection` 给卡片的 8px 悬停面留出滚动内距;分卷与版本的推荐按队列种子缓存。队列头像共用 `cardIdentity`、`avatarInner`,同时读取列表投影与详情 `entity_refs`,保留图片版本及人脸取景。
- 艺人、卖家名册的 RSS 标记读取 `/api/index` 的 `following`:按实体 ID 汇总已启用的 JAV 新作订阅与关注来源,停用、移除及未确认绑定的同名来源不计入。标记复用 `PeopleGrid`、BoardUI `Chip` 与现有 RSS 字形,不增加取数请求或依赖。
diff --git a/frontend/e2e/design-detail.test.ts b/frontend/e2e/design-detail.test.ts
index 0ade56723..31f77485b 100644
--- a/frontend/e2e/design-detail.test.ts
+++ b/frontend/e2e/design-detail.test.ts
@@ -177,7 +177,7 @@ describe('设计决定:关注详情、作品详情、播放器与侧栏', () =
}
});
- it('作品详情身份区:各组按内容宽并排换行,名字行框容得下下伸部;系列是整行宽的图标链接,不是标签胶囊', { timeout: 60_000 }, async () => {
+ it('作品详情身份区:各组按内容宽并排换行,名字在头像下居中、行框容得下下伸部;系列是整行宽的图标链接,不是标签胶囊', { timeout: 60_000 }, async () => {
const opened = await openItemPage(browser, `/assets/${ITEM.plain}`, DESKTOP);
try {
const page = opened.page;
@@ -203,7 +203,7 @@ describe('设计决定:关注详情、作品详情、播放器与侧栏', () =
assert.deepEqual(shown.primary, ['flex', 'wrap']);
assert.equal(shown.narrower, true, '组按内容宽,共演作品不会一组占满一行');
assert.ok(shown.name.ratio >= 1.5, `名字行高 ${shown.name.ratio} 倍字号,拉丁字母的下伸部会被省略号那层 overflow 裁掉`);
- assert.deepEqual([shown.name.overflow, shown.name.align], ['ellipsis', 'left']);
+ assert.deepEqual([shown.name.overflow, shown.name.align], ['ellipsis', 'center']);
assert.equal(shown.cursor, 'pointer');
assert.notEqual(shown.face, 'rgba(0, 0, 0, 0)', '没图的头像画首字盘');
assert.deepEqual(shown.series, { display: 'flex', wrap: 'anywhere', border: '0px', full: true });
@@ -290,6 +290,29 @@ describe('设计决定:关注详情、作品详情、播放器与侧栏', () =
}
});
+ it('作品详情标签多时先露 20 个,展开键报出剩下几个,展开后能收回', { timeout: 60_000 }, async () => {
+ const opened = await openItemPage(browser, `/assets/${ITEM.plain}`, DESKTOP);
+ try {
+ const page = opened.page;
+ const base = await page.evaluate(() => fetch('/api/item?id=14').then((response) => response.json()));
+ const tags = Array.from({ length: 30 }, (_, index) => ({ k: `折叠标签${String(index).padStart(2, '0')}`, cat: 'scene' }));
+ await page.route((url) => url.pathname === '/api/item', (route) => route.fulfill({ json: { ...base, tags } }));
+ await page.goto(new URL('/assets/14', page.url()).href, { waitUntil: 'load' });
+ const more = page.locator('#stage [data-tags-more]');
+ await more.waitFor({ timeout: 15_000 });
+ const chips = page.locator('#stage [data-detail-tags] [data-detail-tag]');
+ assert.deepEqual([await chips.count(), (await more.innerText()).trim()], [20, '还有 10 个']);
+ await more.click();
+ assert.deepEqual([await chips.count(), (await more.innerText()).trim()], [30, '收起']);
+ await more.click();
+ assert.equal(await chips.count(), 20);
+ assert.equal(await page.locator('#stage [data-detail-tags] [data-tag-plus]').isVisible(), true, '收起时加号照样在');
+ assert.deepEqual(withoutPlayer(opened.problems), []);
+ } finally {
+ await opened.close();
+ }
+ });
+
it('作品详情标签与反馈键:标签和卡片同一张脸,筛选那半边悬停抬填充;反馈条每一枚悬停都换色', { timeout: 60_000 }, async () => {
const opened = await openItemPage(browser, `/assets/${ITEM.plain}`, DESKTOP);
try {
diff --git a/frontend/e2e/design-follow-alignment.test.ts b/frontend/e2e/design-follow-alignment.test.ts
index 78bdd398b..50cf7c0d2 100644
--- a/frontend/e2e/design-follow-alignment.test.ts
+++ b/frontend/e2e/design-follow-alignment.test.ts
@@ -92,7 +92,24 @@ describe('关注与馆藏共用卡片交互', () => {
await creator.focus();
assert.notEqual(await creator.evaluate(node => getComputedStyle(node).outlineStyle), 'none');
await page.locator('[data-follow-related] [data-follow-item]').first().waitFor({ timeout: 15_000 });
- const geometry = await page.locator('[data-follow-detail-actions]').evaluate(node => {
+ await page.locator('[data-follow-related] [data-follow-item]').first().hover();
+ const hovered = await page.locator('[data-follow-related]').evaluate(section => {
+ const row = section.querySelector('[data-related-row]')!.getBoundingClientRect();
+ const card = section.querySelector('[data-follow-item]')!;
+ const box = card.getBoundingClientRect();
+ const inside = [...card.querySelectorAll('*')].every(node => {
+ const rect = node.getBoundingClientRect();
+ return !rect.height || rect.bottom <= box.bottom + 0.5;
+ });
+ return {
+ inside, top: box.top - 8 >= row.top - 0.5, bottom: box.bottom + 8 <= row.bottom + 0.5,
+ fill: getComputedStyle(card, '::before').backgroundColor, ground: getComputedStyle(section).backgroundColor,
+ };
+ });
+ assert.deepEqual([hovered.inside, hovered.top, hovered.bottom], [true, true, true],
+ '接着看的卡片内容与悬停面不越过横排的裁切边');
+ assert.notEqual(hovered.fill, hovered.ground, '悬停面和接着看底色同色,浅色主题下看不出悬停');
+ const geometry =await page.locator('[data-follow-detail-actions]').evaluate(node => {
const styles = [...node.querySelectorAll('button, a')].map(button => {
const style = getComputedStyle(button);
return [style.width, style.height, style.borderRadius];
diff --git a/frontend/e2e/design-people.test.ts b/frontend/e2e/design-people.test.ts
index dc9c76784..5383ea6b7 100644
--- a/frontend/e2e/design-people.test.ts
+++ b/frontend/e2e/design-people.test.ts
@@ -322,7 +322,7 @@ describe('设计决定:人物与厂牌资料页', () => {
}
});
- it('详情出演区每一组的标题、头像和名字共用一条左边缘', { timeout: 60_000 }, async () => {
+ it('详情出演区每一组的标题与头像共用一条左边缘,名字在头像正下方居中', { timeout: 60_000 }, async () => {
const opened = await visit(browser, '/', DESKTOP);
try {
const page = opened.page;
@@ -351,15 +351,18 @@ describe('设计决定:人物与厂牌资料页', () => {
const group = document.querySelector(`[data-item-identity] [data-id-group="${kind}"]`)!;
const name = document.createRange();
name.selectNodeContents(group.querySelector('[data-id-name]')!);
+ const face = group.querySelector('[data-id-face]')!.getBoundingClientRect();
+ const text = name.getBoundingClientRect();
return [kind, {
label: group.querySelector('[data-id-label]')!.getBoundingClientRect().left,
- face: group.querySelector('[data-id-face]')!.getBoundingClientRect().left,
- name: name.getBoundingClientRect().left,
+ face: face.left, faceCenter: face.left + face.width / 2,
+ nameCenter: text.left + text.width / 2,
}];
})));
for (const [kind, edge] of Object.entries(edges)) {
assert.ok(Math.abs(edge.face - edge.label) < 0.5, `${kind} 组头像左缘 ${edge.face} 不在标题左缘 ${edge.label}`);
- assert.ok(Math.abs(edge.name - edge.label) < 0.5, `${kind} 组名字左缘 ${edge.name} 不在标题左缘 ${edge.label}`);
+ assert.ok(Math.abs(edge.nameCenter - edge.faceCenter) < 0.5,
+ `${kind} 组名字中线 ${edge.nameCenter} 不在头像中线 ${edge.faceCenter}`);
}
assert.deepEqual(opened.problems, []);
} finally {
diff --git a/frontend/src/application/follow.js b/frontend/src/application/follow.js
index 95d95b91a..f465c28a0 100644
--- a/frontend/src/application/follow.js
+++ b/frontend/src/application/follow.js
@@ -143,7 +143,8 @@ followState.followDetailActions = createFollowDetailActions({view:followView,ado
rememberReturn:path=>writeShell({followDetailReturnPath:path}),close:()=>void closeFollowDetail(),
open:(id,index,preserve)=>void openFollowDetail(id,true,index,preserve),drawer:renderFollowDrawer,
openAuthor:name=>navigationState.navigatePath(entityPath('creator',name))},
- {toast:(message,{undo}={})=>receiptsState.actionReceipt(message,{undo}),failure:receiptsState.actionFailure});
+ {toast:(message,{undo}={})=>receiptsState.actionReceipt(message,{undo}),failure:receiptsState.actionFailure,
+ canFlip:followState.followFeedActions.canFlip});
}
export function connectFollowController(){
diff --git a/frontend/src/react/catalog-grid/types.ts b/frontend/src/react/catalog-grid/types.ts
index e7028b141..61f878730 100644
--- a/frontend/src/react/catalog-grid/types.ts
+++ b/frontend/src/react/catalog-grid/types.ts
@@ -47,6 +47,8 @@ export interface MediaItem {
creator_entity?: MediaEntityRef | null;
studio?: string;
why?: string;
+ /** 接着看:与当前作品共有的标签,稀有的在前(`/api/related`)。 */
+ why_tags?: string[];
feedback?: string;
disposal?: string;
disposal_reason?: 'manual' | 'junk' | 'duplicate' | 'missing' | null;
diff --git a/frontend/src/react/components/detail-tags.tsx b/frontend/src/react/components/detail-tags.tsx
index 1ffe9cd38..6d8b15550 100644
--- a/frontend/src/react/components/detail-tags.tsx
+++ b/frontend/src/react/components/detail-tags.tsx
@@ -1,6 +1,7 @@
/* 本地与在线详情共用标签外观、选择器和标签名称编辑。 */
import { useCallback, useLayoutEffect, useRef, useState, type KeyboardEvent } from 'react';
import { useQuery } from '@tanstack/react-query';
+import { RiArrowDownSLine, RiArrowUpSLine } from '@remixicon/react';
import { spinnerHtml, wireAnchoredMenu } from '@peach/legacy/ui';
import { Button } from '@/components/base/buttons/button';
import { foldName, icon } from '@peach/legacy/core';
@@ -13,6 +14,10 @@ import { useAction, busyProps } from '../settings/use-action';
import { queryClient } from '../query';
const Glyph = ({ name }: { name: string }) => <span className="contents" dangerouslySetInnerHTML={{ __html: icon(name) }} />;
+/* 标签多时先露前面一截:在线来源一帖常挂上百个标签,全摊开会把侧栏推成一整屏胶囊。来源分类排在
+ 前面(作品、角色、作者),收起时留下的正是它们。只多出几个时不折,省得为三两个标签多点一下。 */
+const TAGS_SHOWN = 20;
+const TAGS_SLACK = 4;
interface DetailTagsProps {
tags: DetailTag[]; candidates: readonly TagCount[]; scope?: TagScope; id?: string; adding?: boolean;
label(tag: string): string; onOpen(tag: string): void; onAdd(tag: string): void; onRemove(tag: DetailTag): void;
@@ -34,9 +39,15 @@ export function DetailTags({ tags, candidates, scope = 'local', id, adding, labe
if (!row) throw new Error('标签已变化,请重新打开详情');
return row;
}, row => setEditing(row)) };
+ const [open, setOpen] = useState(false);
+ /* 刚加上的标签按名字排进去,多半落在收起的那一截里,看着像没加上:收起时它们也露在外面。 */
+ const [added, setAdded] = useState<readonly string[]>([]);
+ const add = (tag: string) => { setAdded(keys => [...keys, foldName(tag)]); onAdd(tag) };
+ const long = tags.length > TAGS_SHOWN + TAGS_SLACK;
+ const shown = long && !open ? tags.filter((tag, index) => index < TAGS_SHOWN || added.includes(foldName(tag.k))) : tags;
return <>
<div data-stage-tags="" data-detail-tags="" id={id}>
- {tags.map(tag => <span key={tag.k} data-detail-tag="" data-tag-cat={tag.cat}>
+ {shown.map(tag => <span key={tag.k} data-detail-tag="" data-tag-cat={tag.cat}>
<button type="button" data-tag={tag.k} data-follow-tag={scope === 'online' ? tag.k : undefined}
title={label(tag.k)} onClick={() => onOpen(tag.k)}>{label(tag.k)}</button>
<button type="button" data-edit-tag={tag.k} title="修改标签名称" aria-label={`修改标签 ${label(tag.k)}`}
@@ -44,7 +55,10 @@ export function DetailTags({ tags, candidates, scope = 'local', id, adding, labe
<button type="button" data-remove-tag={tag.k} title="从此内容隐藏该标签" aria-label={`删除标签 ${label(tag.k)}`}
{...busyAttrs(tag.k)} onClick={() => onRemove(tag)}><Glyph name="x" /></button>
</span>)}
- <TagPicker tags={tags} candidates={options} label={label} onAdd={onAdd} adding={adding} scope={scope}
+ {long ? <Button variant="secondary" size="small" data-tags-more="" aria-expanded={open}
+ trailingIcon={open ? RiArrowUpSLine : RiArrowDownSLine} onClick={() => setOpen(!open)}>
+ {open ? '收起' : `还有 ${tags.length - shown.length} 个`}</Button> : null}
+ <TagPicker tags={tags} candidates={options} label={label} onAdd={add} adding={adding} scope={scope}
onOpen={() => setAsked(true)} loading={inventory.isFetching} />
</div>
{action.error ? <Note tone="error">{action.error}</Note> : null}
diff --git a/frontend/src/react/components/media-card.tsx b/frontend/src/react/components/media-card.tsx
index 6cfdd0960..6497688ff 100644
--- a/frontend/src/react/components/media-card.tsx
+++ b/frontend/src/react/components/media-card.tsx
@@ -19,8 +19,6 @@
* 点击的分流:多选与修饰键优先,然后是打开、实体链接、未归属、
* 标签,其余落到整张卡上就是打开。 */
import { memo, useCallback, useRef, useState, type CSSProperties, type MouseEvent, type ReactNode } from 'react';
-import { Dialog, Popover } from 'react-aria-components';
-import { MENU_POPOVER_SURFACE } from '@/components/base/dropdown/menu-styles';
import { cardRatio as layoutRatio } from '@peach/appearance';
import {
cardArtwork, cardIdentity, entityAvatar, frameArtwork, performerLabel, relayoutCovers, releaseHover, wireHover,
@@ -32,6 +30,7 @@ import { useEntityNames } from '../use-entity-names';
import type { MediaCardActions, MediaCardHelpers, MediaCardLayout, MediaItem } from '../catalog-grid/types';
import { ArtSlot } from './art-slot';
+import { RecommendationReason } from './recommendation-reason';
import { useLibraryTints } from './library-tint';
import { suppressShiftTextSelection } from './row-click';
@@ -188,24 +187,6 @@ function LaterButton({ item, actions, on, onChange }: {
);
}
-/** 推荐理由独占内容行,完整文本可由键盘或触屏打开。 */
-function RecommendationReason({ reason }: { reason: string }) {
- const trigger = useRef<HTMLButtonElement>(null);
- const [open, setOpen] = useState(false);
- return <>
- <button ref={trigger} type="button" data-media-next-reason="" title={reason}
- aria-label={`查看推荐理由:${reason}`} aria-haspopup="dialog" aria-expanded={open}
- onClick={event => { event.stopPropagation(); setOpen(true) }}>{reason}</button>
- <Popover triggerRef={trigger} isOpen={open} onOpenChange={setOpen} placement="top" offset={8}
- containerPadding={12} className={MENU_POPOVER_SURFACE}>
- <Dialog data-media-reason-dialog="" aria-label="推荐理由"
- className="w-64 max-w-full p-2 text-body-regular whitespace-normal break-words text-text-primary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring">
- {reason}
- </Dialog>
- </Popover>
- </>;
-}
-
/** 快退、快进跳的是悬停预览那段视频本身,不打开详情。 */
function seekPreview(card: HTMLElement | null, delta: number) {
const video = card?.querySelector<HTMLVideoElement & { _hop?: ReturnType<typeof setInterval> | null }>('video.hv');
@@ -360,7 +341,8 @@ function VideoCard({ item, variant, layout, selected, selectMode, seekSeconds, h
<span data-media-size=""><Icon name="hard-drive" />{Number(shownSize) > 0 ? fmtSize(Number(shownSize)) : '大小未知'}</span>
</span>
</div>
- {variant === 'next' ? (item.why ? <RecommendationReason reason={item.why} /> : null) : tags.length || item.disposal === 'trash'
+ {variant === 'next' ? <RecommendationReason reasons={item.why ? item.why.split(' · ') : []}
+ tags={(item.why_tags || []).map(helpers.tagLabel)} /> : tags.length || item.disposal === 'trash'
? (
<div data-media-tags="">
{tags.map((tag) => (
diff --git a/frontend/src/react/components/recommendation-reason.tsx b/frontend/src/react/components/recommendation-reason.tsx
new file mode 100644
index 000000000..3e126128e
--- /dev/null
+++ b/frontend/src/react/components/recommendation-reason.tsx
@@ -0,0 +1,32 @@
+/* 「接着看」卡上的推荐理由:作品详情与关注详情共用。一行写关系(同创作者、同系列……)和最稀有的
+ * 几枚共同标签,截不下的点开看全。只说「标签接近」不告诉人接近在哪,所以有共同标签就直接写标签。 */
+import { useRef, useState } from 'react';
+import { Dialog, Popover } from 'react-aria-components';
+import { MENU_POPOVER_SURFACE } from '@/components/base/dropdown/menu-styles';
+
+/** 一行里最多写几枚共同标签;其余进浮层。 */
+const LINE_TAGS = 3;
+
+export function reasonText(reasons: readonly string[], tags: readonly string[], limit = LINE_TAGS): string {
+ return [...reasons, tags.slice(0, limit).join('、')].filter(Boolean).join(' · ');
+}
+
+export function RecommendationReason({ reasons, tags = [] }: { reasons: readonly string[]; tags?: readonly string[] }) {
+ const trigger = useRef<HTMLButtonElement>(null);
+ const [open, setOpen] = useState(false);
+ const line = reasonText(reasons, tags);
+ if (!line) return null;
+ const full = [reasons.join(' · '), tags.length ? `共同标签:${tags.join('、')}` : ''].filter(Boolean).join('\n');
+ return <>
+ <button ref={trigger} type="button" data-media-next-reason="" title={full}
+ aria-label={`查看推荐理由:${full}`} aria-haspopup="dialog" aria-expanded={open}
+ onClick={event => { event.stopPropagation(); setOpen(true) }}>{line}</button>
+ <Popover triggerRef={trigger} isOpen={open} onOpenChange={setOpen} placement="top" offset={8}
+ containerPadding={12} className={MENU_POPOVER_SURFACE}>
+ <Dialog data-media-reason-dialog="" aria-label="推荐理由"
+ className="w-64 max-w-full p-2 text-body-regular whitespace-pre-line break-words text-text-primary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring">
+ {full}
+ </Dialog>
+ </Popover>
+ </>;
+}
diff --git a/frontend/src/react/follow-detail/follow-detail-actions.ts b/frontend/src/react/follow-detail/follow-detail-actions.ts
index b7c72275a..209c87930 100644
--- a/frontend/src/react/follow-detail/follow-detail-actions.ts
+++ b/frontend/src/react/follow-detail/follow-detail-actions.ts
@@ -16,7 +16,7 @@ export interface FollowDetailActionPorts {
/** 舞台的打开、代次与卸载仍由舞台拥有者持有;域只决定筛选与返回地址。 */
export function createFollowDetailActions(ports: FollowDetailActionPorts,
- receipts: Pick<FollowDetailActions, 'toast' | 'failure'>): Omit<FollowDetailActions, 'mountPlayer'> {
+ receipts: Pick<FollowDetailActions, 'toast' | 'failure' | 'canFlip'>): Omit<FollowDetailActions, 'mountPlayer'> {
return {
...receipts,
close: () => ports.close(),
diff --git a/frontend/src/react/follow-detail/follow-detail-page.tsx b/frontend/src/react/follow-detail/follow-detail-page.tsx
index 8173fc4d6..99d351382 100644
--- a/frontend/src/react/follow-detail/follow-detail-page.tsx
+++ b/frontend/src/react/follow-detail/follow-detail-page.tsx
@@ -40,7 +40,7 @@ import {
type DetailMedia, type FollowDetailActions, type FollowDetailData, type FollowDetailItem, type FollowDetailMedia,
type FollowDetailProps,
} from './follow-detail';
-import { fetchFollowRelated, followRelatedGroups, followRelatedKey } from './follow-related';
+import { fetchFollowRelated, followRelatedGroups, followRelatedKey, followRelatedReasons } from './follow-related';
import { FollowTags } from './follow-tags';
const realDuration = (value: unknown) => Number(value) > 0;
@@ -150,9 +150,10 @@ function Related({ data, media, limit, context, helpers, actions }: {
queryFn: ({ signal }) => fetchFollowRelated(data, media, limit, signal) });
const [skeleton] = useState(() => pageSkeletonHtml('正在读取推荐', { cards: true, className: 'related-skeleton' }));
const cardActions = useMemo(() => ({
- openDetail: actions.openItem, openAuthor: actions.openAuthor, canFlip: () => false,
+ openDetail: actions.openItem, openAuthor: actions.openAuthor, canFlip: actions.canFlip,
}), [actions]);
const groups = followRelatedGroups(result.data?.pages || [], data, media, limit);
+ const reason = followRelatedReasons(result.data?.pages || [], data, media);
const sources = result.data?.pages.at(-1)?.sources || data.sources;
const relatedContext = { ...context, sources, aliases: result.data?.pages.at(-1)?.author_aliases || context.aliases };
return <RelatedSection online data-follow-related="" wireDrag={helpers.wireDrag} busy={result.isPending}
@@ -161,7 +162,7 @@ function Related({ data, media, limit, context, helpers, actions }: {
onRetry={() => { void result.refetch() }}>
{result.data ? groups.map(group => <FollowCard key={group.primary.id} variant="next" group={group} media={media}
authorSources={authorSources(group.primary, sources)} context={relatedContext} selected={false} selectMode={false}
- busy="" failure="" actions={cardActions} />)
+ busy="" failure="" actions={cardActions} reason={reason(group)} />)
: <div className="contents" dangerouslySetInnerHTML={{ __html: skeleton }} />}
</RelatedSection>;
}
diff --git a/frontend/src/react/follow-detail/follow-detail.ts b/frontend/src/react/follow-detail/follow-detail.ts
index 83aa59c23..f5dbf87a5 100644
--- a/frontend/src/react/follow-detail/follow-detail.ts
+++ b/frontend/src/react/follow-detail/follow-detail.ts
@@ -121,6 +121,8 @@ export interface FollowDetailActions {
/** 操作回执;给了 `undo` 就带一颗撤销键。失败走 `failure`。 */
toast(message: string, options?: { undo?: () => Promise<void> }): void;
failure(action: string, error: unknown): void;
+ /** 接着看里的一叠能不能悬停翻卡:和关注列表同一个判据(多选、遮挡、减少动效、滚动中都回 false)。 */
+ canFlip(): boolean;
}
export interface FollowDetailProps {
diff --git a/frontend/src/react/follow-detail/follow-related.ts b/frontend/src/react/follow-detail/follow-related.ts
index 4e03bc817..154440625 100644
--- a/frontend/src/react/follow-detail/follow-related.ts
+++ b/frontend/src/react/follow-detail/follow-related.ts
@@ -2,7 +2,7 @@ import type { InfiniteData } from '@tanstack/react-query';
import { apiGet } from '../../api';
import {
FOLLOW_PAGE, collectionItems, entityFollowView, followPageUrl, groupMediaKinds, itemForMedia,
- type FollowGroup, type FollowMedia, type FollowPage,
+ type FollowGroup, type FollowItem, type FollowMedia, type FollowPage,
} from '../follow-feed/follow-feed';
import type { FollowDetailData } from './follow-detail';
@@ -33,6 +33,29 @@ export function followRelatedGroups(pages: readonly FollowPage[], current: Follo
.slice(0, limit).map(row => row.group);
}
+/** 接着看那张卡的推荐理由:同创作者,加上和当前这条共有的标签。标签按这几页里出现的次数从少到多排,
+ * 最能说明「为什么是它」的排在前面;人人都有的泛标签落到后面,一行写不下就被截掉。来源标成 metadata
+ * (时长、有声、待标注)与 artist(同创作者已经说了)的不算理由。 */
+const NOT_A_REASON = new Set(['metadata', 'artist']);
+export function followRelatedReasons(pages: readonly FollowPage[], current: FollowDetailData, media: FollowMedia) {
+ /* 比的是详情那一份全部标签:卡片上的内容标签只收来源分过类的 general,没分类的帖子一枚都没有。 */
+ const all = (row: FollowItem & { detail_tags?: string[] }) => row.detail_tags || row.tags || [];
+ const mine = new Set(all(current.item));
+ const author = current.sources.find(source => source.id === current.item.source_id)?.author_key;
+ const sources = new Map(pages.flatMap(page => page.sources || []).map(source => [source.id, source]));
+ const seen = new Map<string, number>();
+ for (const group of pages.flatMap(page => page.groups || [])) {
+ for (const tag of all(itemForMedia(group, media))) seen.set(tag, (seen.get(tag) || 0) + 1);
+ }
+ return (group: FollowGroup) => {
+ const item = itemForMedia(group, media);
+ const source = item.source_id === undefined ? undefined : sources.get(item.source_id);
+ const tags = all(item).filter(tag => mine.has(tag) && !NOT_A_REASON.has(item.tag_types?.[tag] || ''))
+ .sort((a, b) => (seen.get(a) || 0) - (seen.get(b) || 0) || a.localeCompare(b));
+ return { reasons: author && source?.author_key === author ? ['同创作者'] : [], tags };
+ };
+}
+
/** 复用关注分页和缓存结构。最多读三页;同作者不足时补全库未看内容,换条仍可直接命中列表缓存。 */
export async function fetchFollowRelated(current: FollowDetailData, media: FollowMedia, limit: number,
signal: AbortSignal): Promise<InfiniteData<FollowPage>> {
diff --git a/frontend/src/react/follow-feed/follow-card.tsx b/frontend/src/react/follow-feed/follow-card.tsx
index c322f265a..579dea278 100644
--- a/frontend/src/react/follow-feed/follow-card.tsx
+++ b/frontend/src/react/follow-feed/follow-card.tsx
@@ -14,6 +14,7 @@
import { memo, useCallback, useEffect, useRef, useState, type ComponentPropsWithoutRef, type MouseEvent } from 'react';
import { esc, fmtDur, icon, entityPath } from '@peach/legacy/core';
import { tagLabel } from '@peach/legacy/tags';
+import { RecommendationReason } from '../components/recommendation-reason';
import { suppressShiftTextSelection } from '../components/row-click';
import { MIX_FLIP_FACES, useStackFlip } from '../components/use-stack-flip';
@@ -56,6 +57,8 @@ export interface FollowCardProps {
actions: Pick<FollowFeedActions, 'openDetail' | 'openAuthor' | 'canFlip'> & Partial<Pick<FollowFeedActions, 'toggleSelection'>>;
onStatus?(id: number, to: string): void;
onSave?(id: number): void;
+ /** 接着看那一排的推荐理由(`variant="next"`):顶替标签行,和作品详情的接着看同一个写法。 */
+ reason?: { reasons: readonly string[]; tags: readonly string[] };
}
/** 卡面没有画面时的那一格:来源的站标居中,和本来就没给缩略图的卡同一个样子。 */
@@ -239,15 +242,17 @@ function FollowCardView(props: FollowCardProps) {
{identity.credited ? <span data-follow-credit="" title={`署名含 ${identity.credited}`}>{`署名含 ${identity.credited}`}</span> : null}
</div>
{issue ? <span data-follow-issue="">{issue}</span> : null}
+ {props.variant === 'next' && props.reason
+ ? <RecommendationReason reasons={props.reason.reasons} tags={props.reason.tags.map(tag => tagLabel(tag))} /> : null}
</div>
- <div data-media-tags="" data-follow-labels="">
+ {props.variant === 'next' ? null : <div data-media-tags="" data-follow-labels="">
{tags.map((tag) => (
<span key={tag} data-media-tag="" data-tag-cat={`r34-${item.tag_types?.[tag] || 'unknown'}`}
data-follow-tag={tag}>
{tagLabel(tag)}
</span>
))}
- </div>
+ </div>}
</div>
<span data-follow-state="" aria-live="polite">{failure}</span>
</article>
diff --git a/frontend/src/react/item-detail/item-detail-page.tsx b/frontend/src/react/item-detail/item-detail-page.tsx
index 1372ff4b8..eac37aaeb 100644
--- a/frontend/src/react/item-detail/item-detail-page.tsx
+++ b/frontend/src/react/item-detail/item-detail-page.tsx
@@ -568,7 +568,7 @@ function Tags({ item, write, helpers, actions }: {
item: DetailItem; write: DetailWrite; helpers: ItemDetailHelpers; actions: ItemDetailActions;
}) {
return <div data-item-tags="">
- <DetailTags id="detailTags" tags={detailTags(item, helpers)} candidates={helpers.tagCandidates()} label={helpers.tagLabel}
+ <DetailTags key={item.id} id="detailTags" tags={detailTags(item, helpers)} candidates={helpers.tagCandidates()} label={helpers.tagLabel}
adding={[...write.busy].some(key => key.startsWith('add:'))}
onOpen={actions.openTag} onAdd={write.addTag} onRemove={write.removeTag} busyAttrs={tag => write.busyAttrs(`tag:${tag}`)} />
</div>;
diff --git a/frontend/src/react/item-detail/item-detail.css b/frontend/src/react/item-detail/item-detail.css
index 6e27b6db5..6430a07ff 100644
--- a/frontend/src/react/item-detail/item-detail.css
+++ b/frontend/src/react/item-detail/item-detail.css
@@ -217,7 +217,7 @@
/* ── 出演与署名 ──
按类别分组:组标题在上,同类横向排开并按需换行;每个名字独占一行会让共演作品撑满整个侧栏。
- 组标题、头像和名字共用左边缘,详情栏里的所有身份信息都从内容区起点对齐。 */
+ 名字在头像正下方居中;格比头像宽,整排往左让出半个差值,头像左缘仍和组标题对齐。 */
.peach-react :is([data-item-detail], [data-follow-detail]) [data-item-identity] { display: flex; flex-direction: column; gap: 14px; margin: 0 0 18px; }
.peach-react :is([data-item-detail], [data-follow-detail]) [data-identity-primary] { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: flex-start; }
.peach-react :is([data-item-detail], [data-follow-detail]) [data-identity-primary] > [data-id-group] { width: max-content; max-width: 100%; }
@@ -230,14 +230,17 @@
color: var(--muted);
letter-spacing: .04em;
}
-.peach-react :is([data-item-detail], [data-follow-detail]) [data-id-row] { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-start; }
+.peach-react :is([data-item-detail], [data-follow-detail]) [data-id-row] {
+ display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-start;
+ margin-inline-start: calc((var(--id-face, 46px) - var(--id-cell, 62px)) / 2);
+}
.peach-react :is([data-item-detail], [data-follow-detail]) [data-id-group="performer"] [data-id-row] { gap: 10px; }
/* 有实体 id 的格是入口(`data-entity-kind`),「未归属」指向一个集合,样式同源;没有 id 的只是
一个名字,不给指针。可点的身份只用颜色、头像描边反馈,不用下划线。 */
.peach-react :is([data-item-detail], [data-follow-detail]) [data-id-cell] {
display: flex;
flex-direction: column;
- align-items: flex-start;
+ align-items: center;
gap: 5px;
width: var(--id-cell, 62px);
border: 0;
@@ -287,7 +290,7 @@
.peach-react :is([data-item-detail], [data-follow-detail]) [data-id-name] {
font-size: var(--fs-xs);
line-height: 1.5;
- text-align: left;
+ text-align: center;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
@@ -459,8 +462,13 @@
底色和上面的详情栏同源:半透明的氛围色落在舞台那圈只铺到 58% 的径向渐变外面,会让这一条浅
一档,整幅宽度上于是有一道深浅不匀的色差。分界靠 `--line-soft` 那条明确的线画出来——「接着看」
是另一件事,同色的两块之间只留白读不出边界。横排竖向不滚,滑到头也不把手势交给外面那层浮窗,
- 不画滚动条:拖动与滚轮靠壳的 `wireDrag`。 */
-.peach-react [data-item-related] { border-top: 1px solid var(--line-soft); padding: 10px 15px 8px; background: var(--detail-surface); }
+ 不画滚动条:拖动与滚轮靠壳的 `wireDrag`。
+ 详情底色在浅色下就是 `--ground`,与全站悬停面 `--hover` 同为 #F7F7F7,卡片悬停铺出去等于没铺;
+ 这一条的悬停面照竖屏带的做法,在详情底色上压一层主文字色,两种主题都比底色深一档。 */
+.peach-react [data-item-related] {
+ --hover: color-mix(in srgb, var(--ink) 8%, var(--detail-surface));
+ border-top: 1px solid var(--line-soft); padding: 10px 15px 8px; background: var(--detail-surface);
+}
.peach-react [data-item-related] > h3 {
margin: 0 0 6px;
line-height: 20px;
diff --git a/frontend/src/react/stage/stage.css b/frontend/src/react/stage/stage.css
index 0e8509f99..37636e785 100644
--- a/frontend/src/react/stage/stage.css
+++ b/frontend/src/react/stage/stage.css
@@ -98,12 +98,19 @@ body[data-detail-open] [class~=glowlayer]::before{animation-play-state:paused,pa
}
.peach-react [data-detail-continuation] [data-media-card][data-variant="next"]{width:var(--detail-card-width);gap:6px;isolation:isolate}
.peach-react [data-detail-continuation] [data-media-card][data-variant="next"] [data-media-pic]{aspect-ratio:16/9;flex:none}
-.peach-react [data-detail-continuation] [data-media-card][data-variant="next"]:not([data-follow-item]) [data-media-meta]{height:var(--detail-card-meta-height);flex:none}
+/* 这一排的卡高按封面、两行标题、一行署名和一行推荐理由定死,馆藏卡与关注卡同一份预算:关注卡
+ 以前多一行标签,伸出卡底和横排的裁切边,悬停面跟着被切掉一条。 */
+.peach-react [data-detail-continuation] [data-media-card][data-variant="next"] [data-media-meta]{height:var(--detail-card-meta-height);flex:none}
+/* 关注卡的署名行在列表里留 21px 给头像描边,这一排没有那一枚,照馆藏卡的署名行收成 18px。 */
+.peach-react [data-detail-continuation] [data-media-card][data-variant="next"] [data-follow-byline]{min-height:0;line-height:18px}
[data-detail-continuation] [data-media-card][data-variant="next"] [data-media-text]{gap:4px}
-[data-detail-continuation] [data-media-card][data-variant="next"] [data-media-next-reason]{min-height:1.45em;max-height:1.45em;-webkit-line-clamp:1}
+/* 理由只占一行:按行数裁的话,下划线连起来的长标签整枚折到第二行,第一行只剩半句;不折行、在行尾省略。 */
+.peach-react [data-detail-continuation] [data-media-card][data-variant="next"] [data-media-next-reason]{display:block;min-height:1.45em;max-height:1.45em;
+ white-space:nowrap;text-overflow:ellipsis}
.peach-react [data-detail-continuation] [data-media-card][data-variant="next"]:is(:hover,:focus-within){background:transparent;box-shadow:none}
[data-detail-continuation] [data-media-card][data-variant="next"]::before{content:"";position:absolute;inset:-8px;z-index:-1;
- border-radius:calc(var(--surface-radius) + 8px);background:var(--library-hover,var(--hover));opacity:0;pointer-events:none}
+ border-radius:calc(var(--surface-radius) + 8px);background:var(--library-hover,var(--hover));opacity:0;pointer-events:none;
+ transition:opacity .15s ease}
[data-detail-continuation] [data-media-card][data-variant="next"]:is(:hover,:focus-within)::before{opacity:1}
.peach-react [data-detail-continuation] [data-media-card][data-variant="next"][data-longhover]{transform:none;filter:none}
[data-detail-continuation]:has(>[data-mix-queue]) [data-media-card][data-variant="next"] [data-media-pic]{aspect-ratio:16/9}
diff --git a/frontend/test/react/follow-controller.test.ts b/frontend/test/react/follow-controller.test.ts
index 20deb6ce5..4dbc27077 100644
--- a/frontend/test/react/follow-controller.test.ts
+++ b/frontend/test/react/follow-controller.test.ts
@@ -129,7 +129,7 @@ describe('关注域地址与会话控制', () => {
const ports = { view: () => current, adoptView: (next: FollowView) => { current = next },
rememberReturn: (path: string) => { calls.push(path) }, close: () => { calls.push('close') },
open: vi.fn(), openAuthor: vi.fn(), drawer: vi.fn() };
- const actions = createFollowDetailActions(ports, { toast: vi.fn(), failure: vi.fn() });
+ const actions = createFollowDetailActions(ports, { toast: vi.fn(), failure: vi.fn(), canFlip: () => false });
actions.openTag('two'); actions.openTag('one');
expect(calls).toEqual(['/follow?tag=one%2Ctwo', 'close', '/follow?tag=two', 'close']);
actions.openItem(17, 2);
diff --git a/frontend/test/react/follow-detail.test.tsx b/frontend/test/react/follow-detail.test.tsx
index f9561f3c8..d2d983c82 100644
--- a/frontend/test/react/follow-detail.test.tsx
+++ b/frontend/test/react/follow-detail.test.tsx
@@ -48,7 +48,7 @@ type ActionMocks = { [K in keyof FollowDetailActions]: Mock<FollowDetailActions[
function actions(): ActionMocks {
return {
close: vi.fn(), openItem: vi.fn(), openAuthor: vi.fn(), openTag: vi.fn(), present: vi.fn(), mountPlayer: vi.fn(() => vi.fn()),
- toast: vi.fn(), failure: vi.fn(),
+ toast: vi.fn(), failure: vi.fn(), canFlip: vi.fn(() => false),
};
}
@@ -136,6 +136,24 @@ describe('取数', () => {
expect(host.querySelector('[data-follow-tag="source"]')).not.toBeNull();
});
+ it('标签收起时,刚加上的那一枚排在收起的那截里也照样露出来', async () => {
+ const many = Array.from({ length: 30 }, (_, index) => `t${String(index).padStart(2, '0')}`);
+ const original = item(8, { tags: many, detail_tags: many, custom_tags: [] });
+ const updated = item(8, { tags: [...many, 'zz'], detail_tags: [...many, 'zz'], custom_tags: ['zz'] });
+ const fallback = serve();
+ vi.stubGlobal('fetch', vi.fn((url: string, init?: RequestInit) => url === '/api/follow/tag'
+ ? Promise.resolve({ ok: true, json: async () => ({ item: updated, group: group(updated) }) })
+ : fallback(url, init)));
+ const { host } = await show(data(original));
+ expect(host.querySelectorAll('[data-detail-tag]')).toHaveLength(20);
+ await click(host.querySelector('[aria-label="添加标签"]'));
+ await type(host.querySelector<HTMLInputElement>('#tagPickSearch')!, 'zz');
+ await click(host.querySelector('[data-pick="zz"]'));
+ await settle();
+ expect(host.querySelector('[data-follow-tag="zz"]')).not.toBeNull();
+ expect(host.querySelector('[data-tags-more]')?.textContent).toBe('还有 10 个');
+ });
+
it('手动标签失败可重新打开选择器重试原输入并显示原因', async () => {
const fallback = serve();
vi.stubGlobal('fetch', vi.fn((url: string, init?: RequestInit) => url === '/api/follow/tag'
@@ -411,6 +429,24 @@ describe('文案与排序', () => {
expect(fetcher.mock.calls.some(([url]) => String(url).startsWith('/api/follow?limit='))).toBe(false);
});
+ it('接着看里的一叠悬停时问壳能不能翻卡,判据和关注列表同一个', async () => {
+ serve();
+ const next = item(52);
+ const stack = { media: 2, copies: 2, kind: 'video', faces: [
+ { thumb_url: '/follow-cover?id=52', face: 0, media_kind: 'video' },
+ { thumb_url: '/follow-cover?id=53', face: 1, media_kind: 'video' },
+ ] };
+ queryClient.setQueryData(followRelatedKey(51, 'videos', 20), {
+ pages: [{ groups: [group(next, { stack })], sources: [], author_aliases: [], counts: {}, facets: {}, offset: 0, has_more: false }],
+ pageParams: [0],
+ });
+ const { host, actions } = await show(data(item(51)), { relatedLimit: 20 });
+ const card = host.querySelector('[data-follow-related] [data-follow-item][data-collection]')!;
+ await act(async () => { card.dispatchEvent(new MouseEvent('mouseover', { bubbles: true })) });
+ // 停稳一小会儿才起翻(`use-stack-flip.ts` 的起步延时),一掠而过的指针不翻。
+ await vi.waitFor(() => expect(actions.canFlip).toHaveBeenCalled(), { timeout: 2_000 });
+ });
+
it('合集行首:发布串不拿发布时间当版本标签,正文带上作者', () => {
const reply = item(30, { author: 'kou', summary: '第二段更新', variant_kind: '', published_at: '2026-09-18T00:00:00Z' });
expect(collectionCopy(group(item(29), { is_release: true }), reply)).toEqual({ label: '视频', title: 'kou:第二段更新' });
diff --git a/frontend/test/react/follow-related.test.ts b/frontend/test/react/follow-related.test.ts
index df03aebda..6c7e902f1 100644
--- a/frontend/test/react/follow-related.test.ts
+++ b/frontend/test/react/follow-related.test.ts
@@ -1,5 +1,5 @@
import { afterEach, describe, expect, it, vi } from 'vitest';
-import { fetchFollowRelated, followRelatedGroups } from '../../src/react/follow-detail/follow-related';
+import { fetchFollowRelated, followRelatedGroups, followRelatedReasons } from '../../src/react/follow-detail/follow-related';
import type { FollowDetailData, FollowDetailItem } from '../../src/react/follow-detail/follow-detail';
import type { FollowGroup, FollowItem, FollowPage } from '../../src/react/follow-feed/follow-feed';
@@ -26,6 +26,18 @@ describe('关注接着看', () => {
const rows = [group(item(3, { source_id: 2, tags: ['solo'] })), group(item(4)), group(item(5, { tags: ['solo'] }))];
expect(followRelatedGroups([page(rows)], current, 'videos', 2).map(row => row.primary.id)).toEqual([5, 4]);
});
+ it('推荐理由写同创作者和共同标签,少见的标签排在前面,作者与元数据标签不算', () => {
+ const shown: FollowDetailData = { ...current, item: item(1, { tags: ['solo', 'rare', 'pov', 'kou', 'tagme'] }) };
+ const rows = [group(item(3, { tags: ['solo', 'pov', 'rare', 'kou', 'tagme'], tag_types: { kou: 'artist', tagme: 'metadata' } })),
+ group(item(4, { source_id: 2, tags: ['solo', 'pov'] })),
+ group(item(5, { source_id: 2, tags: ['solo'] }))];
+ const reason = followRelatedReasons([page(rows)], shown, 'videos');
+ expect(rows.map(reason)).toEqual([
+ { reasons: ['同创作者'], tags: ['rare', 'pov', 'solo'] },
+ { reasons: [], tags: ['pov', 'solo'] },
+ { reasons: [], tags: ['solo'] },
+ ]);
+ });
it('混合媒体按当前视图选择卡面,已看的卡面不进入推荐', () => {
const mixed = group(item(7, { media_kind: 'image' }), [item(8, { published_at: '2026-10-10', status: 'seen' })]);
expect(followRelatedGroups([page([mixed])], current, 'videos', 20)).toEqual([]);
diff --git a/web/dist/peach-app.css b/web/dist/peach-app.css
index 097b15ec3..7fe542adc 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-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--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:""}}}@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-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-700:oklch(52.7% .154 150.069);--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-2xl:42rem;--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;--radius-3xl:1.5rem;--shadow-xs:var(--elevation-xs);--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-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-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{background-color:var(--hover);position:relative;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-px{inset-block:-1px}.inset-y-0{inset-block:0}.start-0{inset-inline-start:calc(var(--spacing) * 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-1\/2{top:50%}.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-px{bottom:-1px}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.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-1\/2{left:50%}.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-span-full{grid-column:1/-1}.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>=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-1{margin-inline:calc(var(--spacing) * -1)}.-mx-3{margin-inline:calc(var(--spacing) * -3)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-5{margin-inline:calc(var(--spacing) * 5)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.ms-1\.5{margin-inline-start:calc(var(--spacing) * 1.5)}.ms-auto{margin-inline-start:auto}.me-0\.5{margin-inline-end:calc(var(--spacing) * .5)}.me-0\.75{margin-inline-end:calc(var(--spacing) * .75)}.me-auto{margin-inline-end:auto}.-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-3{margin-right:calc(var(--spacing) * -3)}.-mr-5{margin-right:calc(var(--spacing) * -5)}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-0{margin-bottom:0}.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}.\!hidden{display:none!important}.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-\(--icon-inline\){width:var(--icon-inline);height:var(--icon-inline)}.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-48{width:calc(var(--spacing) * 48);height:calc(var(--spacing) * 48)}.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%}.async-text-skeleton{height:.65em}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.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-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-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-48{max-height:calc(var(--spacing) * 48)}.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-8{min-height:calc(var(--spacing) * 8)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.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-13{min-height:calc(var(--spacing) * 13)}.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-28{min-height:calc(var(--spacing) * 28)}.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-\(--icon-inline\){width:var(--icon-inline)}.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-1\/2{width:50%}.w-1\/3{width:33.3333%}.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-3\/4{width:75%}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.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-28{width:calc(var(--spacing) * 28)}.w-32{width:calc(var(--spacing) * 32)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-40{width:calc(var(--spacing) * 40)}.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-80{width:calc(var(--spacing) * 80)}.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-px{width:1px}.max-w-1\/2{max-width:50%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-80{max-width:calc(var(--spacing) * 80)}.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-8{min-width:calc(var(--spacing) * 8)}.min-w-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-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-auto{flex:auto}.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)}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.-scale-x-100{--tw-scale-x:calc(100% * -1);scale:var(--tw-scale-x) var(--tw-scale-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}.resize-none{resize:none}.resize-y{resize:vertical}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.\[scrollbar-width\:none\]{scrollbar-width:none}.list-decimal{list-style-type:decimal}.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-row{flex-direction:row}.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{gap:0}.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-1\.5{column-gap:calc(var(--spacing) * 1.5)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-5{column-gap:calc(var(--spacing) * 5)}.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-1\.5{row-gap:calc(var(--spacing) * 1.5)}.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-end{align-self:flex-end}.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-\(--control-radius\){border-radius:var(--control-radius)}.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-3xl{border-radius:var(--radius-3xl)}.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-none{border-radius:0}.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)}.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-\[0\.875px\]{border-style:var(--tw-border-style);border-width:.875px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-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-\(--border-10\){border-color:var(--border-10)}.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\/20{border-color:var(--color-border-error-default)}@supports (color:color-mix(in lab, red, red)){.border-border-error-default\/20{border-color:color-mix(in oklab, var(--color-border-error-default) 20%, transparent)}}.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\/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-\(--surface\){background-color:var(--surface)}.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-quaternary-default{background-color:var(--color-background-quaternary-default)}.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,.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,.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-chart-9{background-color:var(--color-chart-9)}.bg-control-indicator-background{background-color:var(--color-control-indicator-background)}.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-green-500{background-color:var(--color-green-500)}.bg-indigo-500{background-color:var(--color-indigo-500)}.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-pill-tab-blue-hover-background{background-color:var(--color-pill-tab-blue-hover-background)}.bg-pill-tab-blue-selected-background{background-color:var(--color-pill-tab-blue-selected-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-blue-text{background-color:var(--color-status-blue-text)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-cyan-text{background-color:var(--color-status-cyan-text)}.bg-status-dot-green-halo{background-color:var(--color-status-dot-green-halo)}.bg-status-dot-indigo-halo{background-color:var(--color-status-dot-indigo-halo)}.bg-status-dot-yellow-halo{background-color:var(--color-status-dot-yellow-halo)}.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-purple-text{background-color:var(--color-status-purple-text)}.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-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-yellow-500{background-color:var(--color-yellow-500)}.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-gradient-to-b{--tw-gradient-position:to bottom in oklab;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{fill:var(--color-background-primary-default)}.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-primary\/10{fill:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.fill-text-primary\/10{fill:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.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-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}.ps-4{padding-inline-start:calc(var(--spacing) * 4)}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.pe-5{padding-inline-end:calc(var(--spacing) * 5)}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.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{padding-right:var(--spacing)}.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)}.pr-6{padding-right:calc(var(--spacing) * 6)}.pr-10{padding-right:calc(var(--spacing) * 10)}.pb-1{padding-bottom:var(--spacing)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-2\.5{padding-bottom:calc(var(--spacing) * 2.5)}.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-4{padding-left:calc(var(--spacing) * 4)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-start{text-align:start}.align-baseline{vertical-align:baseline}.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)}.text-pretty{text-wrap:pretty}.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}.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-\(--muted\){color:var(--muted)}.text-accent-500{color:var(--color-accent-500)}.text-accent-600{color:var(--color-accent-600)}.text-background,.text-background-primary-default{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{color:var(--color-separator-border)}.text-border-focus-ring{color:var(--color-border-focus-ring)}.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-green-700{color:var(--color-green-700)}.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-placeholder{color:var(--color-text-placeholder)}.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-20{opacity:.2}.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-\[inset_0px_0px_0px_0\.875px_var\(--color-accent-500\)\,inset_0px_1\.75px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px .875px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 1.75px 0px 0px var(--tw-shadow-color,#ffffff40);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_0px_0px_0px_1px_var\(--color-accent-500\)\,inset_0px_2px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px 1px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 2px 0px 0px var(--tw-shadow-color,#ffffff40);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-1{outline-style:var(--tw-outline-style);outline-width:1px}.-outline-offset-1{outline-offset:calc(1px * -1)}.outline-border-error-default{outline-color:var(--color-border-error-default)}.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-\[background-color\,color\,box-shadow\]{transition-property:background-color,color,box-shadow;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-\[scale\,opacity\]{transition-property:scale,opacity;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\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-\[show-guides\=false\]\/tree-view\:hidden:is(:where(.group\/tree-view)[data-show-guides=false] *){display:none}.group-data-\[size\=sm\]\/tree-view\:min-h-8:is(:where(.group\/tree-view)[data-size=sm] *){min-height:calc(var(--spacing) * 8)}.group-data-\[size\=sm\]\/tree-view\:text-body-2-regular:is(:where(.group\/tree-view)[data-size=sm] *){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))}.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-0:first-child{padding-top:0}.last\:rounded-b-lg:last-child{border-bottom-right-radius:var(--radius-lg);border-bottom-left-radius:var(--radius-lg)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-0:last-child{padding-bottom:0}.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-background-tertiary-default:hover{background-color:var(--color-background-tertiary-default)}.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\:cursor-wait:disabled{cursor:wait}.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-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\: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-\[empty\]\:px-4[data-empty]{padding-inline:calc(var(--spacing) * 4)}.data-\[empty\]\:py-8[data-empty]{padding-block:calc(var(--spacing) * 8)}.data-\[empty\]\:text-center[data-empty]{text-align:center}.data-\[empty\]\:text-body-regular[data-empty]{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))}.data-\[empty\]\:text-text-tertiary[data-empty]{color:var(--color-text-tertiary)}.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-\[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-\[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 (prefers-reduced-motion:reduce){.motion-reduce\:transition-none{transition-property:none}}@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-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-full{flex-basis:100%}.max-cleanup-tight\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-board-narrow\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.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\: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\: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\:justify-end{justify-content:flex-end}.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>=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\:order-last{order:9999}.sm\:col-span-2{grid-column:span 2/span 2}.sm\:mt-auto{margin-top:auto}.sm\:hidden{display:none}.sm\:w-28{width:calc(var(--spacing) * 28)}.sm\:w-32{width:calc(var(--spacing) * 32)}.sm\:w-auto{width:auto}.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\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:gap-2{gap:calc(var(--spacing) * 2)}.sm\:gap-4{gap:calc(var(--spacing) * 4)}.sm\:self-auto{align-self:auto}}@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\:items-center{align-items:center}.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-32{width:calc(var(--spacing) * 32)}.\@lg\:w-48{width:calc(var(--spacing) * 48)}.\@lg\:w-60{width:calc(var(--spacing) * 60)}.\@lg\:w-auto{width:auto}.\@lg\:flex-1{flex:1}}.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)}}.dark\:text-green-400:where(.dark,.dark *){color:var(--color-green-400)}@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)}.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar{display:none}.\[\&\>\.ui-settings-facts\]\:-mr-3>.ui-settings-facts{margin-right:calc(var(--spacing) * -3)}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>span\:last-child\]\:min-w-0>span:last-child{min-width:0}.\[\&\>span\:last-child\]\:wrap-anywhere>span:last-child{overflow-wrap:anywhere}.\[\&\>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-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%)}.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;display:grid}.peach-react [data-media-grid]>[data-media-card],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;container:media-card/inline-size}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-surface:color-mix(in oklab, var(--library-color) 9%, transparent)}}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-hover:color-mix(in oklab, var(--library-color) 15%, transparent)}}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){background:var(--library-surface);box-shadow:0 0 0 8px var(--library-surface)}[data-theme=dark] .peach-react [data-media-card][data-library]{--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){[data-theme=dark] .peach-react [data-media-card][data-library]{--library-surface:color-mix(in oklab, var(--library-color) 13%, transparent)}}[data-theme=dark] .peach-react [data-media-card][data-library]{--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){[data-theme=dark] .peach-react [data-media-card][data-library]{--library-hover:color-mix(in oklab, var(--library-color) 20%, transparent)}}@media (prefers-color-scheme:dark){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-surface:color-mix(in oklab, var(--library-color) 13%, transparent)}}:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-hover:color-mix(in oklab, var(--library-color) 20%, transparent)}}}.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][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--library-hover);box-shadow:0 0 0 8px var(--library-hover)}.peach-react [data-media-status]{z-index:3;pointer-events:none;gap:6px;display:flex;position:absolute;bottom:12px;left:10px}.peach-react [data-media-status]>span{-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000006b;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.peach-react [data-media-status] svg{fill:currentColor;stroke:currentColor;stroke-width:1.5px;width:15px;height:15px}.peach-react [data-media-status] [data-status=later]{color:var(--color-sky-500)}.peach-react [data-media-status] [data-status=flagged]{color:var(--color-rose-500)}.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);height:calc(var(--card-meta-block) + 22px);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-follow-item]) [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px);--card-meta-block:calc(var(--fs-md) * 2.7 + 12px + 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 [data-media-card]:not([data-follow-item],[data-variant=next]) [data-media-meta]{height:calc(var(--card-meta-block) + 16px)}body:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-follow-item],[data-variant=next]) [data-media-meta]{height:auto}.peach-react [data-media-card][data-variant=next]:not([data-follow-item]) [data-media-meta]{--card-meta-tags:calc(var(--fs-xs) * 2.9);height:var(--card-meta-block)}.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:var(--color-background-quaternary-default);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],.peach-react [data-media-art]>.media-nopic{color:var(--ink-2);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-art]>.media-nopic{place-items:center;display:grid;position:absolute;inset:0}.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-pic][data-pic-portrait] :is(img[class~=poster]:not([class~=cover]),video){object-fit:cover;width:calc(100% + 2px);max-width:none;height:calc(100% + 2px);inset:-1px}.peach-react [data-media-pic]>img.ui-hvframes[hidden]{display:none}.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],[data-follow-sources]){opacity:0;visibility:hidden;pointer-events:none}.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) [data-media-group]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}body[data-peach-copy-mode] .peach-react [data-media-card] [data-media-duration][data-copy-key]{z-index:10;opacity:1;visibility:visible;pointer-events:auto}@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]>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-preview],:is([data-media-later],[data-media-seek]) button):hover{background:#00000057}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:var(--control-h-compact);height:var(--control-h-compact);padding:0}.peach-react [data-media-later] svg{width:18px;height:18px}.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]{--media-avatar-visible:var(--media-avatar-count);--media-avatar-gaps:max(1, calc(var(--media-avatar-visible) - 1));z-index:1;width:calc(45px + 16px * (var(--media-avatar-visible) - 1));--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:min(109px,max(45px,30%));height:46px;margin:-4px -2px -2px;padding:0;display:block;position:relative}.peach-react [data-media-avatars]:is(:hover,:has(:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{top:6px;left:calc(5px + (100% - 45px) / var(--media-avatar-gaps) * var(--media-avatar-index));box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:left var(--lift-motion,var(--board-motion)), transform var(--lift-motion,var(--board-motion));margin:0;position:absolute}.peach-react [data-media-avatars]:is(:hover,:has(:focus-visible))>[data-media-avatar]{left:calc(5px + 30px * var(--media-avatar-index))}.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}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]{--media-avatar-visible:min(2, var(--media-avatar-count))}.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;container:media-meta/inline-size}.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-card]:not([data-follow-item]) [data-media-title]{min-height:2.7em}.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]{white-space:nowrap;min-width:0;min-height:1.5em;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;line-height:1.5;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:nowrap;flex:none;align-items:center;gap:8px;display:flex;overflow:hidden}.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;flex:0 auto;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;flex:none;align-items:center;gap:4px;display:inline-flex}.peach-react [data-media-facts]{flex-wrap:wrap;flex:none;align-items:center;gap:4px 8px;min-width:0;display:inline-flex}.peach-react [data-media-byline] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted);white-space:nowrap;flex:none}.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-release]),.peach-react [data-variant=next] [data-media-facts]{display:none}.peach-react [data-media-next-reason]{width:100%;min-width:0;min-height:2.9em;max-height:2.9em;color:var(--loupe);font-size:var(--fs-xs);text-align:left;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;flex:none;padding:0;line-height:1.45;display:-webkit-box;overflow:hidden}.peach-react [data-media-next-reason]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container media-meta not (width>=360px){.peach-react [data-media-card]:not([data-variant=next]) [data-media-byline]{flex-wrap:wrap;row-gap:2px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-facts]{flex-basis:100%}}@container media-meta not (width>=200px){.peach-react [data-media-card]:not([data-variant=next]) [data-media-who-more]{display:none}}@container media-meta not (width>=140px){.peach-react [data-media-who-more]{display:none}}@container media-meta not (width>=110px){.peach-react [data-media-size]{display:none}}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>:is([data-media-card],[data-mix-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;line-height:1.35em;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] [data-media-why]{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}@container media-meta not (width>=360px){body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) [data-media-text]{grid-template-rows:1.35em auto 30px;height:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) [data-media-byline]{flex-wrap:wrap;row-gap:2px;height:auto;min-height:calc(2.7em + 2px)}}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;min-height:var(--control-h-compact);border-radius:var(--control-radius);color:#fff;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]{--hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-strip]{--hover:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.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{z-index:1;font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex;position:relative}.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);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;transition:background .14s;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--hover)}.peach-react [data-shorts-enter] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;margin:-32px -16px -20px;padding:32px 16px 20px;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 + 16px));padding-left:calc(var(--railW) + 32px + 16px)}}.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)}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;height:auto;min-height:0}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-text]{flex-direction:column;height:auto;display:flex}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-byline]{height:auto;min-height:20px;line-height:20px}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-tags]:empty{display:none}.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-detail-tags] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);box-sizing:border-box;height:var(--control-h-inline);align-items:center;max-width:100%;display:inline-flex;overflow:hidden}.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){border-color:color-mix(in srgb,var(--tag-color) 42%,var(--surface))}}.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){background:color-mix(in srgb,var(--tag-color) 10%,var(--surface))}}.peach-react [data-detail-tags] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:100%}.peach-react [data-detail-tags] [data-detail-tag] [data-tag]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.peach-react [data-detail-tags] [data-detail-tag] :is([data-remove-tag],[data-edit-tag]){width:calc(var(--control-h-inline) - 2px);color:var(--muted);flex:none;place-items:center;padding:0;display:grid}.peach-react [data-detail-tags] [data-detail-tag] [data-tag]:hover,.peach-react [data-detail-tags] [data-detail-tag] [data-edit-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-detail-tags] [data-detail-tag] svg,.peach-react [data-detail-tags] [data-tag-plus] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-detail-tags] [data-tag-plus]{width:var(--control-h-inline);height:var(--control-h-inline);border:1px dashed var(--line);color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-detail-tags] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-tag-picker]{z-index:120;border:1px solid var(--ink);flex-direction:column;width:min(480px,100vw - 32px);max-height:min(480px,70vh);margin:0;padding:0;display:flex;position:fixed;inset:auto;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-detail-tags] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 24px 70px -24px #000}.peach-react [data-detail-tags] [data-tag-picker][hidden]{display:none}.peach-react [data-detail-tags] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-detail-tags] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-detail-tags] [data-tag-search]{border-bottom:1px solid var(--ink);flex:none;align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-detail-tags] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-detail-tags] [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-detail-tags] [data-tag-search] input::placeholder{color:revert}.peach-react [data-detail-tags] [data-tag-scroll-frame]{flex:auto;min-height:0;display:flex;position:relative}.peach-react [data-detail-tags] [data-tag-body]{overscroll-behavior:contain;flex:auto;min-width:0;min-height:0;max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-detail-tags] [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-detail-tags] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-detail-tags] [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-detail-tags] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-detail-tags] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-detail-tags] [data-pick] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;color:var(--tag-color,var(--muted));flex:none}@media (width<=760px){.peach-react [data-detail-tags] [data-tag-grid]{grid-template-columns:1fr}}.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)}.peach-react [data-processing-maintenance]{--color-dropdown-item-hover-background:var(--color-background-secondary-hover)}@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:var(--control-h-compact);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{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.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-namepick-menu] svg{width:var(--icon-inline);height:var(--icon-inline)}.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:var(--icon-inline);height:var(--icon-inline);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;flex:0 0 var(--control-h-compact);width:var(--control-h-compact);height:var(--control-h-compact);color:var(--glass-text);border-radius:50%;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:16px;height:16px;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:var(--control-h-compact);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 :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;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]{margin-left:auto;flex-wrap:nowrap;flex:none;align-items:center;gap:4px;width:max-content;margin-block:-14px;padding:14px 2px;display:flex;overflow:visible}.peach-react [data-entity-sort]{height:var(--control-h-compact);min-height:var(--control-h-compact);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{width:var(--icon-inline);height:var(--icon-inline);flex:none;margin-left:5px}.peach-react [data-entity-sort] [data-icon-swap]{margin-left:5px}.peach-react [data-entity-sort] [data-icon-swap] svg{margin-left:0}.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)}.peach-react [data-photo-back]{height:var(--control-h-compact);border:1px solid var(--glass-low);border-radius:var(--control-radius);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{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.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]{gap:10px}.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:var(--control-h-compact);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)}}.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}.peach-react [data-catalog-frame][data-single-row]{flex-direction:row}.peach-react [data-catalog-frame][data-single-row]>[data-filter-row=top]{flex:1}.peach-react [data-catalog-frame][data-single-row]>[data-filter-row=bottom]{flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{width:72px;height:var(--control-h-compact);border-radius:var(--tag-radius);background:var(--hover);flex:none}.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}}body[data-folder-browse] #main{grid-template-columns:224px minmax(0,1fr);align-items:start;column-gap:24px;display:grid}body[data-folder-browse] #main>:not(#catalogFoldersTree){grid-column:2;min-width:0}body[data-folder-browse] #catalogFoldersTree{top:var(--folder-sticky-top,calc(var(--topH) + 16px));grid-area:1/1/span 20;min-width:0;position:sticky}body[data-folder-browse] #catalogFoldersTree .catalog-folder-navigation{max-height:var(--folder-available-height,calc(100dvh - var(--folder-sticky-top,calc(var(--topH) + 16px)) - 16px))}body[data-folder-browse] #catalogFoldersTree .folder-tree-scroller{max-height:none}#catalogFolderHeader{margin-bottom:20px}.catalog-folder-heading{flex-direction:column;gap:12px;min-width:0;display:flex}.folder-scope-row{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.folder-children{flex-wrap:wrap;gap:4px;display:flex}.folder-children>button{max-width:100%}.entity-folder-workspace[data-folder-browse]{grid-template-columns:224px minmax(0,1fr);align-items:start;gap:24px;display:grid}.entity-folder-workspace>[data-folder-tree-host]{top:var(--folder-sticky-top);min-width:0;position:sticky}.entity-folder-workspace .catalog-folder-navigation{max-height:var(--folder-available-height)}[data-folder-header-host]{margin-bottom:20px}.folder-crumb-name{text-overflow:ellipsis;max-width:180px;display:block;overflow:hidden}.folder-tree-scroller{min-height:0;max-height:calc(100dvh - var(--topH) - 124px);overscroll-behavior:contain;scroll-padding-block:4px;overflow:auto}.folder-tree-frame>[data-overlay-track=y]{overflow:hidden;translate:-8px}.folder-tree-frame>[data-overlay-track=y] [data-overlay-thumb]{transition-property:width}.folder-drawer-trigger{display:none}.peach-react button[data-folder-mode-toggle]{width:var(--control-h-compact);height:var(--control-h-compact);border-radius:var(--control-radius);box-shadow:none;color:var(--glass-text);background:0 0;border:0;padding:0}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-folder-mode-toggle]{color:color-mix(in srgb,var(--glass-text) 60%,transparent)}}.peach-react button[data-folder-mode-toggle]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-folder-mode-toggle][aria-pressed=true]{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 button[data-folder-mode-toggle] svg{fill:currentColor;stroke:none;width:16px;height:16px}@media (width<=1100px){.entity-folder-workspace[data-folder-browse]{display:block}.entity-folder-workspace>[data-folder-tree-host]{display:none}body[data-folder-browse] #main{display:block}body[data-folder-browse] #catalogFoldersTree{display:none}.folder-drawer-trigger{display:inline-flex}.folder-crumb-name{max-width:120px}}@media (width<=480px){.folder-crumb-name{max-width:88px}.folder-scope-row{gap:8px}}.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:var(--icon-inline);height:var(--icon-inline);stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option] [data-remove-history] svg{width:18px;height:18px}.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% + 2.38px)}.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:var(--icon-inline);height:var(--icon-inline)}.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]{width:var(--control-h-compact);height:var(--control-h-compact);border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;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:var(--control-h-compact);height:var(--control-h-compact);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;display:grid}.peach-react [data-follow-list]:not([data-follow-wall])>[data-media-card]{align-self:stretch}.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] [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:none;min-height:0}.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)}@media (width<=760px){body .peach-react [data-follow-list] [data-follow-item] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;min-height:0}body[data-density]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}}.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{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.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{width:var(--control-h-compact);height:var(--control-h-compact);color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;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}.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 [data-follow-byline] 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]{width:var(--icon-inline);height:var(--icon-inline);object-fit:contain;vertical-align:-2px;border-radius:0;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%}@media (width<=760px){.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;grid-template-rows:none;min-height:0}body[data-density] .peach-react [data-follow-item] [data-follow-labels]{height:auto}.peach-react [data-follow-item] [data-follow-labels]:empty{display:none}}.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-follow-detail-media]:has(>[data-carousel-below]){flex-direction:column}.peach-react [data-follow-detail] [data-follow-detail-media]:has(>[data-carousel-below]) [data-follow-detail-poster]{min-height:0;max-height:calc(76dvh - 116px)}.peach-react [data-follow-detail] [data-carousel-below]{flex:none}.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;width:100%;max-height:100%;color:var(--muted);place-content:center;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] [data-follow-origin] svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-resources] a svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}.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}.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-tags]{margin-top:16px}.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-media]>[data-player-toolbar]{z-index:8;pointer-events:none;flex-wrap:wrap;align-items:center;gap:7px;display:flex;position:absolute;top:11px;left:11px;right:59px}.peach-react [data-player-toolbar]>:is([data-player-stats-slot],[data-player-net-slot]){display:contents}.peach-react [data-player-toolbar] :is([data-player-stats-button],[data-player-net],[data-jav-preview-toggle]){flex:none;position:relative;top:auto;left:auto}.peach-react [data-player-toolbar] button{pointer-events:auto}.peach-react [data-item-gallery][data-item-picture] [data-player-toolbar]>:is([data-player-stats-slot],[data-player-net-slot]),.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{width:var(--control-h-inline);height:var(--control-h-inline);border:1px solid var(--line);background:var(--surface);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]{margin-left:-4px}.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{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.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{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;flex:none;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-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{width:var(--icon-inline);height:var(--icon-inline);fill:currentColor;color:#ff669d}.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:10px 15px 8px}.peach-react [data-item-related]>h3{text-overflow:ellipsis;white-space:nowrap;line-height:20px;font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 6px;overflow:hidden}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;min-height:calc(var(--detail-card-height) + 24px);height:calc(var(--detail-card-height) + 24px);scrollbar-width:none;gap:16px;margin:-4px -16px 0;padding:12px 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;height:calc(var(--detail-card-height) + 20px)}.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 img[data-source-picture][hidden]{display:none!important}.peach-react [data-jav-picture-wait]{place-items:center;width:100%;min-width:0;min-height:300px;padding:24px;display:grid}.peach-react [data-jav-picture-wait]>[data-empty-state]{max-width:32rem}.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-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]{box-sizing:border-box;z-index:5;border-radius:var(--pill-radius);color:#fff;height:40px;font-size:var(--fs-xs);white-space:nowrap;cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:0 12px;line-height:1;display:inline-flex;position:absolute;top:11px;left:11px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px}.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{width:var(--icon-inline);height:var(--icon-inline);flex:none}.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-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-rating-stars] [data-rate],.peach-react [data-review-rating] [data-rating-stars] [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{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;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)}.peach-react .index-feed-mark>span{color:var(--feed-mark);background:var(--feed-mark)}@supports (color:color-mix(in lab, red, red)){.peach-react .index-feed-mark>span{background:color-mix(in srgb,var(--feed-mark) 16%,var(--ground))}}.video-js{box-sizing:border-box;color:#fff;background:#000;font-family:inherit;font-size:10px;line-height:1;display:block;position:relative}.video-js>video-player{display:contents}.video-js>video-player>media-container{width:100%;height:100%;display:block;position:absolute;inset:0}.video-js :is(hlsjs-video,dash-video){display:contents}.video-js .vjs-tech{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.video-js .vjs-control-bar{z-index:2;width:100%;height:3em;display:flex;position:absolute;bottom:0;left:0}.video-js .vjs-picture-in-picture-control[data-peach-pip-supported][hidden]{display:block!important}.video-js .vjs-picture-in-picture-control[aria-disabled=true]{color:#ffffff73;cursor:not-allowed}.video-js .vjs-control{box-sizing:border-box;width:4em;height:3em;color:inherit;flex:none;position:relative}.video-js .vjs-button{cursor:pointer;color:inherit;font:inherit;outline-offset:2px;touch-action:manipulation;-webkit-user-select:none;user-select:none;background:0 0;border:0;padding:0;display:block}.video-js .vjs-button:focus-visible,.video-js media-slider-thumb:focus-visible{outline:2px solid var(--tungsten)}.video-js .vjs-slider{cursor:pointer;touch-action:none;display:block;position:relative}.video-js media-slider-track{display:block;position:absolute;inset:0}.video-js .vjs-play-progress,.video-js .vjs-load-progress,.video-js .vjs-volume-level{height:100%;display:block;position:absolute;top:0;left:0}.video-js .vjs-play-progress,.video-js .vjs-volume-level{width:var(--media-slider-fill,0%);background:#fff}.video-js .vjs-load-progress{width:var(--media-slider-buffer,0%);background:#ffffff59}.video-js media-slider-thumb{left:var(--media-slider-fill,0%);z-index:2;background:#fff;border-radius:50%;width:12px;height:12px;display:block;position:absolute;top:50%;transform:translate(-50%,-50%)}.video-js .vjs-loading-spinner{display:none;position:absolute}.video-js.vjs-waiting:not(.vjs-paused) .vjs-loading-spinner{display:block}.video-js .vjs-error-display{pointer-events:none;display:none;position:absolute;inset:0}.video-js.vjs-error .vjs-error-display{justify-content:center;align-items:center;display:flex}.video-js.vjs-user-inactive.vjs-playing .vjs-control-bar{opacity:0;pointer-events:none}.video-js.vjs-fullscreen{width:100%!important;height:100%!important;max-height:none!important;position:fixed!important;inset:0!important}.video-js media-container:fullscreen{background:#000;width:100vw;height:100vh}.video-js .vjs-modal-dialog-content{position:absolute}.video-js media-slider-value{visibility:hidden;position:absolute}.video-js .vjs-volume-panel:hover media-slider-value,.video-js .vjs-volume-panel:focus-within media-slider-value{visibility:visible}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 auto;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-peach-right-controls>.vjs-button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[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:0 0;border-radius:0;width:100%;height:18px;margin:0}[data-stage-media] .video-js .vjs-progress-holder>media-slider-track{background:#28282899;height:6px;transition:transform .2s cubic-bezier(.05,0,0,1);top:auto;bottom:0;transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover media-slider-track,[data-stage-media] .video-js .vjs-progress-control:focus-within media-slider-track{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-progress-thumb{background:var(--tungsten);transition:transform .2s cubic-bezier(.05,0,0,1);top:auto;bottom:-3px;transform:translate(-50%)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-thumb,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-thumb{transform:translate(-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,.vjs-peach-caption-options>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);background:var(--tungsten);min-width:17px;height:12px;color:var(--ground);font-size:var(--fs-xs);transform-origin:100% 0;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;width:min(274px,100vw - 28px);max-height:min(420px,calc(var(--peach-player-h,480px) - 74px),calc(100vh - 130px));border-radius:var(--floating-radius);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>svg.vjs-peach-menu-line-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.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:40px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 8px!important}.vjs-peach-option-check{place-items:center;width:40px;height:24px;display:grid}.vjs-peach-option-check svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;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:contain!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{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none}[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}.video-js .vjs-subtitles-control>button{z-index:1;place-items:center;display:grid;position:relative}.video-js .vjs-subtitles-control>button>svg,.vjs-peach-menu-cc>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;display:block}.video-js .vjs-subtitles-control>button[aria-pressed=true]:after{content:"";background:var(--tungsten);width:18px;height:2px;position:absolute;bottom:5px;left:calc(50% - 9px)}.video-js.vjs-peach-xsmall .vjs-subtitles-control>button>svg{width:27px;height:27px}.vjs-peach-menu-cc{place-items:center;width:40px;display:grid}.video-js .vjs-peach-menu-option[data-subtitle-track]{padding-block:10px!important}.vjs-peach-menu-option[data-subtitle-track] .vjs-peach-option-label{overflow-wrap:anywhere}[data-player-subtitles] b{text-overflow:ellipsis;max-width:90px;overflow:hidden}.vjs-peach-settings-menu .vjs-peach-caption-options{flex:0 0 48px;place-items:center;width:48px;margin-left:auto;padding:0;display:grid}.vjs-peach-settings-menu .vjs-peach-caption-action{text-align:left;overflow-wrap:anywhere;padding:10px 16px}.vjs-peach-settings-menu [data-subtitle-track]~.vjs-peach-caption-action{padding-left:48px}.vjs-peach-settings-menu .vjs-peach-caption-setting{text-align:left;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:12px;padding:0 12px;display:grid}.vjs-peach-caption-setting b{color:#ffffffb3;white-space:nowrap;font-weight:400}.vjs-peach-caption-setting svg{fill:currentColor;stroke:none;width:18px;height:18px}.vjs-peach-subtitle-status{font-size:var(--fs-sm);overflow-wrap:anywhere;align-items:center;gap:8px;margin:0;padding:8px 16px;line-height:1.5;display:flex}.vjs-peach-subtitle-status[data-error]{color:var(--drop)}.vjs-peach-subtitle-status[hidden]{display:none}.vjs-peach-subtitle-search{padding:8px}.vjs-peach-subtitle-search a{font-size:var(--fs-sm);color:#fff;margin:8px 16px;text-decoration:underline;display:inline-block}.vjs-peach-settings-menu .vjs-peach-subtitle-result{text-align:left;overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 16px;line-height:1.4;display:flex}.vjs-peach-subtitle-result small{color:#ffffffb3;font-size:var(--fs-sm)}.vjs-peach-settings-menu:has([data-subtitle-style]){overscroll-behavior:contain}.video-js[data-peach-captions] video::cue{color:#0000;text-shadow:none;background:0 0}.video-js[data-peach-captions] video::-webkit-media-text-track-container{display:none}.vjs-peach-captions{z-index:1;pointer-events:none;font-family:var(--peach-caption-font);font-size:calc(clamp(14px,calc(var(--peach-player-h,480px)*.045),32px)*var(--peach-caption-scale));font-variant:var(--peach-caption-variant);text-align:center;color:var(--peach-caption-color);text-shadow:var(--peach-caption-edge);justify-content:center;font-weight:400;line-height:1.3;display:flex;position:absolute;bottom:80px;left:5%;right:5%}.vjs-peach-captions[hidden]{display:none}.vjs-peach-caption-window{background:var(--peach-caption-window);max-width:100%;padding:.15em .3em}.vjs-peach-caption-line{white-space:pre-line;overflow-wrap:anywhere;background:var(--peach-caption-background);-webkit-box-decoration-break:clone;box-decoration-break:clone;width:fit-content;max-width:100%;margin:0 auto;padding:0 .15em;display:block}.video-js.vjs-user-inactive.vjs-playing .vjs-peach-captions{bottom:5%}: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],[data-detail-continuation]{--detail-card-width:clamp(184px,24dvh,208px);--detail-card-meta-height:calc(var(--fs-md) * 2.7 + 8px + 20px + var(--fs-xs) * 1.45);--detail-card-height:calc(var(--detail-card-width) * 9 / 16 + 6px + var(--detail-card-meta-height));--detail-continuation-height:calc(var(--detail-card-height) + 65px + var(--detail-continuation-extra,0px))}[data-stage]:has([data-detail-continuation]>[data-mix-queue]),[data-detail-continuation]:has(>[data-mix-queue]){--detail-continuation-extra:20px}[data-stage]{--detail-media-height:76dvh;--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:max(0px,min(calc(100dvh - 34px - var(--detail-continuation-height)),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-stage-media]>.video-js{max-height:100%}[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][data-stage-kind=follow]{--detail-media-height:min(56dvh,56.25vw)}[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]{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-queue-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-queue-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}}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width);isolation:isolate;gap:6px}.peach-react [data-detail-continuation] [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9;flex:none}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]:not([data-follow-item]) [data-media-meta]{height:var(--detail-card-meta-height);flex:none}[data-detail-continuation] [data-media-card][data-variant=next] [data-media-text]{gap:4px}[data-detail-continuation] [data-media-card][data-variant=next] [data-media-next-reason]{-webkit-line-clamp:1;min-height:1.45em;max-height:1.45em}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]:is(:hover,:focus-within){box-shadow:none;background:0 0}[data-detail-continuation] [data-media-card][data-variant=next]:before{content:"";z-index:-1;border-radius:calc(var(--surface-radius) + 8px);background:var(--library-hover,var(--hover));opacity:0;pointer-events:none;position:absolute;inset:-8px}[data-detail-continuation] [data-media-card][data-variant=next]:is(:hover,:focus-within):before{opacity:1}.peach-react [data-detail-continuation] [data-media-card][data-variant=next][data-longhover]{filter:none;transform:none}[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-local-playback]{flex-direction:column;flex:none;gap:8px;margin:0 0 12px;display:flex}[data-local-playback-row]{align-items:center;gap:8px;min-width:0;display:flex}[data-local-playback-row]>div{flex:1;min-width:0}[data-local-playback-row] .ui-gselect{width:100%;display:block}[data-local-playback-row] [data-select-trigger]{width:100%;height:var(--control-h)}[data-local-playback-row]>button{height:var(--control-h);white-space:nowrap;flex:none}[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]:has(#performerNameLanguageSetting){align-items:start}[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;flex-direction:column;gap:20px;min-width:0;display:flex}[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]{flex-direction:column;gap:8px;min-width:0;display:flex}[data-settings-panel] [data-glow-card]{padding-right:10px}[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-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:400}[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-colour-card]{overflow:hidden}[data-settings-panel] [data-glow-stop]{border-bottom:1px solid var(--line-soft);min-width:0;position:relative}[data-settings-panel] [data-glow-stop]:last-child{border-bottom:0}[data-settings-panel] [data-glow-stop-toggle]{width:calc(100% + 12px);min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 10px var(--glowrow-pad) 12px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;align-items:center;gap:10px;margin-left:-12px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover,[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{z-index:1;background:var(--control-hover);box-shadow:0 -1px 0 var(--control-hover),0 1px 0 var(--control-hover);position:relative}[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:var(--icon-inline);height:var(--icon-inline);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:400}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{flex-direction:column;gap:0;display:flex;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;flex: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-frame]{flex-direction:column;min-height:0;display:flex;position:relative;overflow:hidden}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;flex:1;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;min-height:0;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:var(--glowrow-pad) 10px var(--glowrow-pad) 12px;border-top:1px solid var(--line-soft);border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;background:var(--board-card-foot);justify-content:flex-end;margin:0 -10px 0 -12px;display:flex}[data-settings-panel] [data-glow-actions] button[data-glow-reset]{font:var(--board-body)}[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]>svg{width:var(--icon-inline);height:var(--icon-inline)}[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{min-width:var(--control-h-compact);height:var(--control-h-compact);border-radius:var(--control-radius);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{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none}@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] [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!important;padding:10px 10px 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}:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){--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}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){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{width:var(--icon-inline);height:var(--icon-inline);fill:currentColor;stroke:none;flex:none}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){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}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a):hover{color:var(--glass-text)}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]){border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{clip-path:inset(0);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][data-setting-layout=cards]{background:0 0;border-radius:0;flex-direction:column;gap:20px;padding:0;display:flex}[data-settings-panel] [data-setting-card]{background:var(--ground);border-radius:16px;min-width:0;padding-left:12px}[data-settings-panel] [data-setting-block]{flex-direction:column;gap:8px;min-width:0;display:flex}[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){:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){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}:is([data-settings-panel] [data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-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}}:is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark :is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#00000080;--settings-error-drop:#0008}:is([data-settings-panel] [data-settings-card],.peach-react [data-modal-width=collections]){box-shadow:0 12px 40px var(--settings-card-drop)}[data-settings-panel] [data-settings-card]{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-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-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 (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]{flex-wrap:wrap;gap:8px 12px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]>:first-child{flex:1 1 max-content;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has(>span>small)>:first-child{flex-basis:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]>:last-child{flex:none;max-width:100%;margin-left:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{max-width:100%}[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;box-shadow:none;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]{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:0}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}:is([data-settings-panel] [data-settings-service],.peach-react [data-shortcuts-footer]){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-setting-layout=cards] [data-settings-subheading]{padding:0 12px}[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:background .14s;position:relative}[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-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]{--sidebar-reorder-ms:250;flex-direction:column;gap:3px;margin-bottom:18px;display:flex;position:relative}[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{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}[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{width:var(--icon-inline);height:var(--icon-inline);border-radius:var(--badge-radius);object-fit:contain;flex:none}[data-sidebar-source-icon]{min-width:var(--icon-inline);object-fit:contain;width:var(--icon-inline)!important;height:var(--icon-inline)!important;opacity:1!important;filter:none!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:var(--icon-inline);height:var(--icon-inline);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{width:var(--icon-inline);height:var(--icon-inline);flex:none}[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{stroke-width:2px;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);stroke-width:2px}[data-sidebar-home-logo]{width:var(--icon-inline);height:var(--icon-inline);object-fit:contain;flex:none}[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{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;transition:transform var(--motion-swap);flex:none;order:2;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{width:var(--icon-inline);height:var(--icon-inline);flex:none}[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-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}}[data-sidebar-nav] button{touch-action:none;-webkit-user-select:none;user-select:none;translate:0 var(--sidebar-nudge,0px);transition:translate calc(var(--sidebar-reorder-ms)*1ms) var(--spring-press) var(--sidebar-delay,0s),scale calc(var(--spring-press-ms)*1ms) var(--spring-press)}[data-sidebar-nav][data-reordering] button{cursor:grabbing}[data-sidebar-nav] button[data-dragging]{top:var(--sidebar-picked-top);z-index:3;width:100%;scale:.9;transform:translate3d(var(--sidebar-drag-x,18px),var(--sidebar-drag-y,0px),0);box-shadow:var(--glass-pick-shadow);cursor:grabbing;will-change:transform;position:absolute;left:0;background:var(--ground)!important}[data-sidebar-drawer]:has([data-sidebar-nav][data-reordering])>[data-sidebar-glide]{opacity:0}[data-sidebar-drop-line]{transform:translateY(var(--sidebar-line-top));z-index:2;pointer-events:none;height:2px;transition:transform calc(var(--sidebar-reorder-ms)*1ms) var(--spring-press);position:absolute;top:0;left:10px;right:10px}[data-sidebar-drop-line]>span{border-radius:var(--pill-radius);background:var(--ink);height:100%;display:block}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drop-line]>span{background:color-mix(in srgb,var(--ink) 15%,transparent)}}[data-sidebar-drop-line]>span{transform-origin:50%;transition:transform var(--motion-swap);transform:scaleX(1)}@starting-style{[data-sidebar-drop-line]>span{transform:scaleX(0)}}[data-sidebar-order-status]{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){[data-sidebar-nav] button{transition:none;translate:none}[data-sidebar-nav][data-reordering] button[data-dragging]{width:auto;box-shadow:none;position:static;transform:none;background:0 0!important}[data-sidebar-drop-line],[data-sidebar-drop-line]>span{transition:none}@starting-style{[data-sidebar-drop-line]>span{transform:none}}}.peach-guide-center,.peach-guide-popover{--gradient-button-primary-default:linear-gradient(var(--ink), var(--ink));--gradient-button-primary-hover:linear-gradient(var(--ink), var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-guide-center,.peach-guide-popover{--gradient-button-primary-hover:linear-gradient(color-mix(in srgb, var(--ink) 88%, var(--ground)), color-mix(in srgb, var(--ink) 88%, var(--ground)))}}.peach-guide-center,.peach-guide-popover{--gradient-button-primary-active:var(--gradient-button-primary-hover);--gradient-button-primary-disabled:linear-gradient(var(--surface), var(--surface));--color-button-primary-disabled-foreground:var(--muted);--color-button-ghost-background:transparent;--color-button-ghost-foreground:var(--muted);--color-button-ghost-hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-guide-center,.peach-guide-popover{--color-button-ghost-hover:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-guide-center,.peach-guide-popover{--color-button-ghost-active:var(--color-button-ghost-hover)}:is(.peach-guide-center,.peach-guide-popover) .bg-button-primary:not(:disabled):not([aria-disabled=true]){color:var(--ground)}.peach-guide-center{border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:min(680px,100vw - 32px);height:min(740px,100dvh - 32px);max-height:min(740px,100dvh - 32px);color:var(--ink);box-shadow:var(--elevation-dropdown);padding:0;overflow:hidden}.peach-guide-center>[role=dialog]{height:100%;max-height:inherit;overflow:hidden}.peach-guide-topic-icon{width:var(--control-h);height:var(--control-h);border-radius:var(--control-radius);background:var(--color-background-tertiary-default);color:var(--color-text-primary);flex:none;justify-content:center;align-items:center;display:inline-flex}.peach-guide-topics{flex-direction:column;display:flex}.peach-guide-topic{border-bottom:1px solid var(--line-soft)}.peach-guide-topic:last-child{border-bottom:0}.peach-guide-topic summary{gap:12px;padding:12px 0}.peach-guide-topic-chapters{margin:-8px -12px 12px}.peach-guide-scroll-frame{flex:1;min-height:0;display:flex;position:relative}.peach-guide-body{overscroll-behavior:contain;flex:1;min-height:0;padding:4px 24px 24px;overflow:auto}.peach-guide-chapters{flex-direction:column;gap:4px;margin-inline:-12px;display:flex}.peach-guide-routes{margin:0;padding:0;list-style:none}.peach-guide-routes>li,.peach-guide-routes>div{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.peach-guide-routes>:first-child{padding-top:0}.peach-guide-routes>:last-child{border-bottom:0}.peach-guide-routes strong{font-size:var(--fs-md);font-weight:500;line-height:1.5}.peach-guide-routes p{font-size:var(--fs-sm);color:var(--muted);margin-top:4px;line-height:1.5}.peach-guide-routes button{flex:none}#tutorialBtn[hidden]{display:none}.driver-popover.peach-guide-popover{border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:min(360px,100vw - 24px);min-width:0;max-width:calc(100vw - 24px);color:var(--ink);box-shadow:var(--elevation-dropdown);font-family:var(--font-sans);padding:0}.peach-guide-popover-content{border-radius:inherit;flex-direction:column;max-height:calc(100dvh - 24px);display:flex;overflow:hidden}.peach-guide-step-frame{min-height:0;position:relative}.peach-guide-step-body{overscroll-behavior:contain;max-height:calc(100dvh - 170px);overflow:auto}.peach-guide-popover .driver-popover-arrow-side-top{border-top-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-bottom{border-bottom-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-left{border-left-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-right{border-right-color:var(--ground)}.driver-overlay,.driver-active .driver-active-element{z-index:var(--layer-popover)!important}.driver-popover.peach-guide-popover{z-index:var(--layer-tooltip)!important}[data-player-guide] .vjs-control-bar{opacity:1!important;visibility:visible!important;display:flex!important}[data-player-guide] .vjs-big-play-button{display:none!important}@media (width<=600px){.peach-guide-center{width:calc(100vw - 16px)}[data-modal-kind=tutorial]{padding:8px}.peach-guide-center header,.peach-guide-tools{padding-left:16px;padding-right:16px}.peach-guide-body{padding:4px 16px 16px}.peach-guide-chapters{margin-inline:-8px}.peach-guide-chapters>button{padding-inline:8px}.peach-guide-routes>li,.peach-guide-routes>div{grid-template-columns:var(--control-h) minmax(0, 1fr);align-items:start;gap:12px;display:grid}.peach-guide-routes button{grid-column:2;justify-self:start}}:where(.peach-react label[data-rac]:has(>span>input:is([type=radio],[type=checkbox]))){position:relative}:root{--font-inter:"Inter Variable", "Inter";--font-sans:var(--font-inter), "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"}:lang(ja){font-family:var(--font-inter), "Yu Gothic UI", "Meiryo UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", "Noto Sans JP", "Source Han Sans JP", ui-sans-serif, system-ui, sans-serif}.peach-react [data-long-text]{text-wrap:pretty;hanging-punctuation:allow-end;line-height:1.75}.peach-react [data-long-text]:not(:lang(en)){text-align:justify}:root{--icon-inline:1.2em;--control-h-inline:28px;--control-h-compact:32px;--control-h:36px;--control-h-large:40px;--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;text-autospace: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 :is([class~=overflow-x-auto],[data-horizontal-scroll]){scrollbar-width:none}.peach-react :is([class~=overflow-x-auto],[data-horizontal-scroll])::-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],[data-icon-state=a]>.iconswap:not([data-icon-state])>[data-icon=a],[data-icon-state=b]>.iconswap:not([data-icon-state])>[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],[data-icon-state=a]>.iconswap:not([data-icon-state])>[data-icon=b],[data-icon-state=b]>.iconswap:not([data-icon-state])>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}.iconswap[data-motion-instant]>[data-icon]{transition:none}@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.iconwide.iconwide{width:auto!important}svg.ui-externalmark{width:var(--icon-inline,1.2em);height:var(--icon-inline,1.2em);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center}.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{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.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}}fieldset.iconswitch-text{justify-self:start;display:inline-flex}fieldset.iconswitch-text label{white-space:nowrap;width:auto;min-width:52px;padding-inline:10px}.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}.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}.ui-geist-modal[open]{flex-direction:column;display:flex}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-header{flex:none;padding:20px 20px 0}.ui-geist-modal-header h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-scroll{flex:1;min-width:0;min-height:0;display:flex;position:relative}.ui-geist-modal-body{overscroll-behavior:contain;min-width:0;min-height:0;font-size:var(--fs-md);color:var(--ink-2);flex:1;padding:8px 20px 20px;line-height:20px;overflow:auto}.ui-geist-modal footer{flex:none}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.ui-geist-modal-body>p:first-child{margin-top:0}.ui-geist-modal-body [data-modal-error]:not(:empty){margin-top:12px}.ui-geist-modal-list{min-width:0;margin-top:12px;position:relative}.ui-geist-modal-list>ul{box-sizing:border-box;overscroll-behavior:contain;overflow-wrap:anywhere;max-height:min(320px,32dvh);margin:0;padding:4px 16px 4px 20px;list-style:outside;overflow:auto}.ui-geist-modal-list>ul>li{padding:4px 0}.ui-geist-modal-list>ul:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.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-follow-skeleton-toolbar button:has(>[data-compact-label])>svg{width:1.25rem;height:1.25rem}}.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-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:inherit;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%}.peach-react :is([data-entity-state],[data-media-view])[data-skeleton-control][aria-pressed=true]{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-entity-state][data-skeleton-control][aria-pressed=true]{border-radius:8px}[data-skeleton] [data-hero-costar-name][class~=skeleton]{width:52px;height:1lh}@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}img.ui-hvframes[hidden]{display:none}.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}.peach-react .ui-configuration-skeleton-input{border-radius:var(--control-radius);width:100%;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{width:var(--icon-inline);height:var(--icon-inline);vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;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{top:calc(var(--topH) + 8px);z-index:1;max-height:calc(100dvh - var(--topH) - 16px);overscroll-behavior:contain;border:0;border-radius:0;flex-direction:column;grid-area:1/1;align-self:start;align-items:stretch;margin:0;padding:0;display:flex;position:sticky;overflow-y:auto}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){flex-direction:column;align-items:stretch;gap:20px;display:flex}body #stats .ui-configpage>.ui-board-local-nav{background:var(--page);flex-flow:wrap;align-self:stretch;max-height:none;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}.peach-react :is(.ui-settings-rows,.ui-settings-facts)+:is(.ui-settings-rows,.ui-settings-facts){border-top:1px solid var(--color-separator-border)}.processing-effort-panel{width:256px;max-width:calc(100vw - 64px)}.processing-effort-scale{grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;display:grid}.processing-effort-scale>span{white-space:nowrap;align-items:center;gap:4px;display:flex}.processing-effort-scale>span[data-selected]{color:var(--color-text-primary)}.processing-effort-trigger{display:inline-flex}.processing-effort-scale>span:last-child[data-selected],.processing-effort-trigger[data-speed=high]>button:not([aria-disabled=true]){color:var(--color-accent-600)}.processing-effort-scale>span:nth-child(2){justify-self:center}.processing-effort-scale>span:last-child{justify-self:end}.processing-effort-double{flex-shrink:0;width:22px;height:16px}@media (hover:hover){.processing-effort-trigger:hover{--processing-effort-icon-background:var(--color-background-primary-hover)}}.processing-effort-trigger:active{--processing-effort-icon-background:var(--color-background-primary-active)}.processing-effort-trigger>button:is([aria-disabled=true],:disabled){--processing-effort-icon-background:var(--color-background-primary-disabled)}.processing-effort-label{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.processing-effort-track{border-radius:var(--control-radius);background:var(--color-background-secondary-default);height:27px;position:relative;overflow:hidden}.processing-effort-fill{width:var(--effort-fill);border-radius:inherit;background:var(--color-background-tertiary-hover);height:100%}.processing-effort-stops{justify-content:space-between;display:flex;position:absolute;inset:7px 9px}.processing-effort-stops i{background:var(--color-foreground-icon-tertiary);border-radius:var(--badge-radius);width:3px}.processing-effort-hit{touch-action:none;inset:0 10.5px;position:absolute!important}.processing-effort-thumb{border:1px solid var(--color-border-checkbox-default);border-radius:var(--control-radius);background:var(--color-background-primary-default);width:21px;height:27px;box-shadow:var(--elevation-xs);cursor:grab;outline:none;top:50%}.processing-effort-thumb[data-focus-visible]{outline:2px solid var(--color-border-focus-ring);outline-offset:-2px}.processing-effort-thumb[data-dragging]{cursor:grabbing}.processing-effort-slider[data-disabled]{opacity:.6}[data-effort-flow]{pointer-events:none;background:oklch(28.2% .091 267.935);position:absolute;inset:0}@supports (color:color-mix(in lab, red, red)){[data-effort-flow]{background:color-mix(in srgb,var(--color-accent-950) 80%,var(--color-background-primary-default))}}[data-effort-flow]{overflow:hidden}[data-effort-flow] svg{width:100%;height:100%;animation:1s linear infinite processing-flow-wave}.processing-flow-outer{fill:var(--color-accent-500)}.processing-flow-middle{fill:var(--color-accent-300)}.processing-flow-core{fill:var(--color-accent-50)}[data-effort-flow] i{right:0;top:var(--particle-y);background:var(--color-text-white);opacity:0;width:4px;height:1px;animation:1s linear infinite processing-flow-particle;animation-delay:var(--particle-delay);position:absolute}[data-effort-flow][data-motion=paused] :is(svg,i){animation-play-state:paused}@keyframes processing-flow-wave{0%,to{transform:scaleY(1)}50%{transform:scaleY(.72)}}@keyframes processing-flow-particle{0%{opacity:0;transform:translate(0)}15%{opacity:.6}to{opacity:0;transform:translate(-240px)}}.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)}[data-async-text-value][aria-hidden=true],[data-async-text-skeleton]{opacity:0}[data-async-text][aria-busy=true]>[data-async-text-skeleton]{opacity:1}.dark .peach-react [data-link-result=gone] [data-link-code],.dark .peach-react [data-status-tone=error]{color:var(--color-text-error-primary)}.peach-react [data-source-mark=rss]{color:var(--feed-mark)}@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 [data-content-transition]{min-width:0;display:grid;position:relative}.peach-react [data-content-transition]>:is([data-content-current],[data-content-skeleton]){min-width:0;transition:opacity var(--motion-content), visibility var(--motion-content);grid-area:1/1}.peach-react [data-content-current]{opacity:1}.peach-react [data-content-skeleton]{opacity:0;visibility:hidden;pointer-events:none;position:absolute;inset:0}.peach-react [data-content-transition][data-pending]>[data-content-current]{opacity:0}.peach-react [data-content-transition][data-pending]>[data-content-skeleton]{opacity:1;visibility:visible;position:relative}.peach-react :is([data-async-text-value],[data-async-text-skeleton]){transition:opacity var(--motion-content)}@starting-style{.peach-react [data-content-transition][data-pending]>[data-content-skeleton]{opacity:0}}.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)}@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:var(--selection-dock-space,96px)}html:has([data-selection-dock]){scroll-padding-bottom:var(--selection-dock-space,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-error-details-toggle]{font:var(--board-compact);color:var(--ink-2);background:0 0}.peach-react [data-error-details-toggle]:hover:not(:disabled,[aria-disabled=true]){background:var(--control-hover);color:var(--ink)}.peach-react [data-error-details-toggle]:active:not(:disabled,[aria-disabled=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 .button-press-motion:has(>span)>svg,.peach-react .underline-offset-3>svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react [data-filter-glass] :is(button,a[aria-pressed],[data-glass-segment]){height:var(--control-h-compact);min-height:var(--control-h-compact)}.peach-react [data-filter-glass] .tag-skeleton-view{height:var(--control-h-compact);background:0 0;border:0;gap:2px;padding:0}.peach-react [data-filter-glass] .tag-skeleton-view>label{width:var(--control-h-compact);height:var(--control-h-compact);min-height:var(--control-h-compact);border-radius:8px;padding:0}.peach-react [data-filter-glass] .tag-skeleton-view svg{width:16px;height:16px}.peach-react button[data-filter-action]{width:var(--control-h-compact);min-width:var(--control-h-compact);height:var(--control-h-compact);min-height:var(--control-h-compact);border-radius:var(--control-radius);background:var(--board-blue);box-shadow:var(--elevation-xs);color:#fff;border:0;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.peach-react button[data-filter-action]:hover{background:var(--board-blue-hover);color:#fff}.peach-react button[data-filter-action] svg{width:16px;height:16px}.peach-react button[data-filter-action][aria-busy=true]{cursor:wait}:is(.peach-react [data-index-head],.peach-react[data-index-head]) button:is([data-filter-action],[data-tag-mode]){width:var(--control-h);min-width:var(--control-h);height:var(--control-h);min-height:var(--control-h);border-radius:var(--control-radius);padding:0}.peach-react button[data-tag-mode] svg{width:16px;height:16px}.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-token]{border-radius:var(--control-radius);border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-token]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-token]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-token] :is([data-entity-action],[data-tag-chip]){border-radius:calc(var(--control-radius) - 4px)}.peach-react [data-tag-token] [data-entity-action]{background:0 0;border-color:#0000;width:24px;height:24px}.peach-react [data-tag-token] [data-entity-action]:is(:hover,[data-hovered]){background:var(--hover)}.peach-react [data-tag-token]:has([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}.peach-react [data-trigger=Select]{min-width:var(--trigger-width)}@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}[data-responsive-toolbar]{flex-wrap:wrap;align-items:center;gap:8px;display:flex}[data-toolbar-heading]{flex-direction:column;min-width:0;max-width:100%;margin-inline-end:auto;display:flex}[data-toolbar-actions]{flex-wrap:wrap;flex:none;align-items:center;gap:8px;width:max-content;max-width:100%;display:flex}[data-pagination-layout]{grid-template-columns:auto minmax(0,1fr) auto}.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-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}@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:""}@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{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;flex:none;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body[data-batch-dock-open] :is(#grid,[data-stage]){padding-bottom:var(--selection-dock-space,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-pill-thumb]{transform:translate(var(--pill-left),var(--pill-top));width:var(--pill-width);height:var(--pill-height);transition:transform .3s cubic-bezier(.34,1.2,.64,1),width .3s cubic-bezier(.34,1.2,.64,1),height .3s cubic-bezier(.34,1.2,.64,1)}[data-pill-nav]{isolation:isolate;position:relative}[data-pill-nav]>[data-pill-thumb]{pointer-events:none;z-index:0;background:var(--hover);border-radius:var(--control-radius);transition:transform .3s cubic-bezier(.34,1.2,.64,1),width .3s cubic-bezier(.34,1.2,.64,1),height .3s cubic-bezier(.34,1.2,.64,1);position:absolute;top:0;left:0}[data-pill-nav]>:is(button,[role=tab]){z-index:1;position:relative}[data-pill-nav]:has(>[data-pill-thumb])>[data-pill-selected],body #stats [data-section-items][data-pill-nav]:has(>[data-pill-thumb])>[data-pill-selected],[data-manage-menu][data-pill-nav]:has(>[data-pill-thumb])>button[aria-pressed=true]{background:0 0}.peach-react [data-search-tabs][data-pill-nav]>[data-pill-thumb]{background:var(--picked)}.peach-react [data-search-tabs][data-pill-nav]:has(>[data-pill-thumb])>button[data-pill-selected]{background:0 0}@media (prefers-reduced-motion:reduce){[data-pill-nav]>[data-pill-thumb]{transition:none}}[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{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}[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 [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg,.peach-react [data-entity-batch][aria-busy=true] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-filter-glass]>[data-filter-row=bottom]{overflow-y:hidden}button[data-settings-dialog-close]{background:var(--surface);width:24px;height:24px;color:var(--muted);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}button[data-settings-dialog-close]:hover{background:var(--hover);color:var(--ink)}button[data-settings-dialog-close]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}button[data-settings-dialog-close] svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react :is([data-namepick-toggle],[data-entity-action]){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-entity-action]):is(:hover,[data-hovered]){background:var(--hover);color:var(--ink)}.peach-react :is([data-namepick-toggle],[data-entity-action]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-namepick-toggle],[data-entity-action]) 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-entry]{flex:none;display:inline-flex}.peach-react [data-modal-width=collections]{background:var(--page);border-color:var(--line);flex:none;width:871px;max-width:calc(100vw - 32px)}.peach-react [data-modal-width=collections]>[role=dialog]{flex:1}.peach-react [data-modal-kind=collections]{transition:none}.peach-react [data-modal-kind=collections][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}.peach-react [data-modal-kind=collections][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}.peach-react [data-modal-kind=collections] [data-modal-surface]{transition:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;transform:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-out;transform:none}.peach-react [data-modal-kind=collections][data-motion-instant],.peach-react [data-modal-kind=collections][data-motion-instant] [data-modal-surface]{animation:none}.peach-react [data-shortcuts-panel]{flex:1;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);min-height:0;display:grid}.peach-react [data-shortcuts-head]{grid-column:2;justify-content:space-between;align-items:center;gap:12px;padding:32px 32px 24px;display:flex}.peach-react [data-shortcuts-head] h2{font-size:var(--fs-xl);font-weight:500;line-height:26px}.peach-react [data-shortcuts-sidebar]{min-height:0;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);border:0;flex-direction:column;grid-area:1/1/3;padding:10px;display:flex}.peach-react [data-shortcuts-categories]{scrollbar-width:none;flex-direction:column;flex:1;gap:4px;min-height:0;margin-inline:-10px;padding-inline:10px;display:flex;position:relative;overflow-y:auto}.peach-react [data-shortcuts-caption]{z-index:1;font-size:var(--fs-xs);color:var(--muted);margin:0;padding:4px 8px 8px;position:relative}.peach-react [data-shortcuts-categories]>button{z-index:1;border-radius:var(--control-radius);min-height:36px;color:color-mix(in srgb, var(--glass-text) 65%, transparent);font:var(--board-body-medium);text-align:left;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:8px;padding:8px;display:flex;position:relative}.peach-react [data-shortcuts-categories]>button:is(:hover,[aria-selected=true]){color:var(--glass-text);background:0 0}.peach-react :is([data-shortcuts-categories],[data-shortcuts-footer]) svg{color:var(--glass-text)}.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-footer]{flex-direction:column;gap:4px;display:flex}.peach-react [data-shortcuts-footer] a{width:100%;font-family:var(--board-font);background:0 0;line-height:20px}.peach-react [data-shortcuts-footer] a:hover{background:0 0}.peach-react [data-shortcuts-footer] a>svg:last-child{margin-left:auto}.peach-react [data-shortcuts-footer] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-footer] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor}.peach-react [data-shortcuts-content]{grid-column:2;padding:16px 32px 32px}.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]{background:var(--hover);width:36px;height:36px;color:var(--muted);border-radius:50%;flex:none;place-items:center;display:grid;overflow:hidden}.peach-react [data-shortcuts-avatar] img{object-fit:cover;width:100%;height:100%}.peach-react [data-shortcuts-avatar]:has(img)>svg{display:none}@media (width<=760px){.peach-react [data-modal-width=collections]{width:calc(100vw - 24px);max-width:calc(100vw - 24px)}.peach-react [data-shortcuts-panel]{flex-direction:column;display:flex}.peach-react [data-shortcuts-sidebar]{display:contents}.peach-react [data-shortcuts-categories]{border-bottom:1px solid var(--border-10);flex-direction:row;flex:none;order:0;margin-inline:0;padding:10px;overflow-x:auto}.peach-react [data-shortcuts-caption]{white-space:nowrap;flex:none;align-self:center;padding:0 8px 0 0}.peach-react [data-shortcuts-categories]>button{white-space:nowrap}.peach-react [data-shortcuts-head]{order:1;padding:16px 20px 12px}.peach-react [data-shortcuts-content]{flex:1;order:2;padding:16px 20px 20px}.peach-react [data-shortcuts-footer]{flex-direction:row;flex:none;order:3;padding:10px}}.peach-react [data-collapse-chevron]{transition:transform var(--motion-swap);transform:rotate(0)}.peach-react :is(button,summary)[aria-expanded=true]>[data-collapse-chevron],.peach-react [data-collapse-upward][aria-expanded=false]>[data-collapse-chevron]{transform:rotate(180deg)}.peach-react [data-collapse-upward][aria-expanded=true]>[data-collapse-chevron]{transform:rotate(0)}html[data-wall-entry] body,body[data-wall-open]{background:#070707;overflow:hidden}html[data-wall-entry] :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew),body[data-wall-open] :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew){visibility:hidden;pointer-events:none}:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew),:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew) *,:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew) :before,:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew) :after{animation-play-state:paused!important}.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-board-data-table][data-resizable-table] .bui-table{table-layout:fixed}.peach-react [data-board-data-table][data-resizable-table] th{padding-right:16px;position:relative}.peach-react [data-board-data-table][data-resizable-table] td{text-overflow:ellipsis;overflow:hidden}.peach-react [data-board-data-table][data-resizable-table] [data-table-space]{padding:0}.peach-react [data-board-data-table] td a{align-self:flex-start;width:fit-content;max-width:100%}.peach-react [data-board-data-table] td a:has(>[data-middle-truncate]){width:100%}.peach-react [data-board-data-table] .react-aria-ColumnResizer{cursor:col-resize;touch-action:none;width:12px;position:absolute;top:0;bottom:0;right:0}.peach-react [data-board-data-table] .react-aria-ColumnResizer:after{content:"";background:var(--border-15);width:1px;position:absolute;top:8px;bottom:8px;left:5px}.peach-react [data-board-data-table] .react-aria-ColumnResizer:is([data-hovered],[data-resizing],[data-focus-visible]):after{background:var(--ink)}.peach-react [data-board-data-table] .react-aria-ColumnResizer[data-focus-visible]{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-rating-stars]{align-items:center;gap:2px;display:inline-flex}.peach-react [data-rating-stars] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-rating-stars] button[data-rate]{cursor:pointer}.peach-react [data-rating-stars] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-rating-stars] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-rating-stars]:hover button[data-rate] svg{fill:none}.peach-react [data-rating-stars]:hover button[data-rate]:hover svg,.peach-react [data-rating-stars]:hover button[data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-rating-stars] button[data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-rating-stars] button[aria-disabled=true]{color:var(--muted);cursor:wait}.peach-react [data-rating-icon]{width:19px;height:19px;display:block;position:relative}.peach-react [data-rating-icon] svg{display:block;position:absolute;inset:0}.peach-react [data-rating-fill]{position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-rating-fill] svg{fill:currentColor;max-width:none}.peach-react [data-catalog-table] .bui-table :is(th,td){border-radius:0}.peach-react [data-catalog-table] .bui-table td{text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums;overflow:hidden}.peach-react [data-catalog-rating]{white-space:normal;flex-direction:column;align-items:stretch;gap:8px;display:flex}.peach-react [data-catalog-rating] [data-rating-stars]{align-self:flex-start}.peach-react [data-catalog-table] [data-list-identity]{align-items:center;gap:12px;min-width:0;padding:12px 0;display:flex;position:relative}.peach-react [data-catalog-table] [data-list-open]{cursor:pointer;background:0 0;border:0;flex:none;margin-right:4px;padding:0;display:flex}.peach-react [data-catalog-table] [data-list-identity]>[data-media-avatar]{margin-top:0}.peach-react [data-catalog-table] button[data-list-name]{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-catalog-table] [data-list-picture] [data-media-group]{border-radius:6px;min-height:0;padding:1px 6px;font-size:11px;top:4px;right:4px}.peach-react [data-catalog-table] [data-list-picture]{border-radius:var(--control-radius);background:var(--sunk);width:112px;height:63px;color:var(--muted);font-size:var(--fs-sm);flex:none;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-catalog-table] [data-list-picture] [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-catalog-table] [data-list-picture] :is(img,video){width:100%;height:100%}.peach-react [data-catalog-table] [data-list-picture] :is(img:not([data-jav-image]),video){object-fit:cover}.peach-react [data-catalog-table] [data-list-text]{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.peach-react [data-catalog-table] [data-list-name]{white-space:normal;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-width:0;line-height:1.4;display:-webkit-box;overflow:hidden}.peach-react [data-catalog-table] [data-list-identity]:has([data-list-open]:hover,[data-list-name]:hover) [data-list-name]{text-decoration:underline}.peach-react [data-catalog-table] [data-list-byline]{white-space:nowrap;min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;display:flex;overflow:hidden}.peach-react [data-catalog-table] [data-list-byline]>*{flex:none}.peach-react [data-catalog-table] [data-list-byline]>[data-media-who]{flex:0 auto;min-width:0}.peach-react [data-catalog-table] [data-list-byline] [data-media-who] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;flex:none}.peach-react [data-catalog-table] [data-list-library]{color:var(--ink-2);align-items:center;gap:4px;display:inline-flex}.peach-react [data-catalog-table] [data-catalog-row][data-library]>td{background:color-mix(in oklab, var(--library-color) 9%, transparent)}[data-theme=dark] .peach-react [data-catalog-table] [data-catalog-row][data-library]>td{background:color-mix(in oklab, var(--library-color) 13%, transparent)}.peach-react [data-catalog-table] [data-list-picture] [data-media-status]{gap:4px;bottom:4px;left:4px}.peach-react [data-catalog-table] [data-list-picture] [data-media-status]>span{width:20px;height:20px}.peach-react [data-catalog-table] [data-list-picture] [data-media-status] svg{width:11px;height:11px}.peach-react [data-catalog-table] [data-list-tags]{height:auto;max-height:calc(var(--control-h-inline) * 2 + 13px);white-space:normal}.peach-react [data-catalog-table] [data-list-tags] [data-media-tag]{box-sizing:border-box;height:var(--control-h-inline);line-height:calc(var(--control-h-inline) - 2px);padding-block:0}.peach-react [data-list-skeleton]{flex-direction:column;gap:16px;display:flex}.peach-react [data-list-skeleton-tools]{justify-content:flex-end;display:flex}.peach-react [data-list-skeleton-tools]>i{border-radius:var(--control-radius);width:312px;max-width:100%;height:36px;display:block}.peach-react [data-completion-skeleton]{height:calc(var(--control-h) + 16px);border-radius:var(--radius-2lg,10px);display:block}.peach-react [data-list-skeleton-name]{align-items:center;gap:12px;padding:12px 0;display:flex}.peach-react [data-list-skeleton-name]>i{border-radius:var(--control-radius);flex:none;width:112px;height:63px;margin-right:4px}.peach-react [data-list-skeleton-name]>b{border-radius:50%;flex:none;width:38px;height:38px}.peach-react [data-list-skeleton-name]>span{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.peach-react [data-list-skeleton-name]>span>i{border-radius:6px;width:72%;height:14px;display:block}.peach-react [data-list-skeleton-name]>span>i+i{width:44%;height:12px}.peach-react [data-list-skeleton-bar]{border-radius:6px;width:min(72%,96px);height:14px;display:block}[data-skeleton=catalog\/list]{grid-column:1/-1}@media (width<=760px){.peach-react [data-catalog-table] .bui-table :is(th,td):first-child,.peach-react [data-catalog-table] .bui-table :is(th,td):nth-child(2){padding-inline:8px}.peach-react [data-catalog-table] [data-list-open]{gap:12px}.peach-react [data-catalog-table] [data-list-picture]{width:80px;height:45px}}.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-media-indicator]{z-index:4;box-sizing:border-box;width:max-content;max-width:min(180px, calc(100% - var(--media-dot-room)));border-radius:var(--pill-radius);background:#00000080;border:0;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-media-carousel] [data-follow-image-dots]{justify-content:flex-start;align-items:center;gap:var(--media-dot-gap);box-sizing:border-box;width:max-content;max-width:100%;padding:8px var(--media-dot-padding);overscroll-behavior-inline:contain;scrollbar-width:none;scroll-padding-inline:var(--media-dot-padding);display:flex;overflow:auto hidden}.peach-react [data-media-carousel] [data-follow-image-dots]::-webkit-scrollbar{display:none}.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]{--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] [data-media-indicator]{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:color-mix(in srgb, var(--on-media) 8%, transparent);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:color-mix(in srgb, var(--on-media) 16%, transparent)}.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-media-indicator]{bottom:12px}}.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}}.driver-layer{width:auto;max-width:none;height:auto;max-height:none;color:inherit;pointer-events:none;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:0;overflow:visible}.driver-layer::backdrop{display:none}.driver-layer .driver-popover{pointer-events:auto}.driver-popover{all:unset;font-family:var(--driver-popover-font-family,"Helvetica Neue", Inter, ui-sans-serif, "Apple Color Emoji", Helvetica, Arial, sans-serif);box-sizing:border-box;color:#2d2d2d;z-index:1000000000;background-color:#fff;border-radius:5px;min-width:250px;max-width:300px;margin:0;padding:15px;position:fixed;top:0;right:0;box-shadow:0 1px 10px #0006}.driver-popover-title{zoom:1;margin:0;font-size:19px;font-weight:700;line-height:1.5;display:block;position:relative}.driver-popover-close-btn{all:unset;cursor:pointer;color:#d2d2d2;z-index:1;text-align:center;width:32px;height:28px;font-size:18px;font-weight:500;transition:color .2s;position:absolute;top:0;right:0}.driver-popover-close-btn:hover,.driver-popover-close-btn:focus-visible{color:#2d2d2d}.driver-popover-title[style*=block]+.driver-popover-description{margin-top:5px}.driver-popover-description{zoom:1;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.5}.driver-popover-footer{text-align:right;zoom:1;justify-content:space-between;align-items:center;margin-top:15px;display:flex}.driver-popover-progress-text{color:#727272;zoom:1;font-size:13px;font-weight:400}.driver-popover-footer-btn{all:unset;box-sizing:border-box;color:#2d2d2d;cursor:pointer;zoom:1;background-color:#fff;border:1px solid #ccc;border-radius:3px;outline:0;padding:3px 7px;font-size:12px;line-height:1.3;text-decoration:none;display:inline-block}.driver-popover-footer .driver-popover-btn-disabled{opacity:.5;pointer-events:none}.driver-popover-footer-btn:hover,.driver-popover-footer-btn:focus{background-color:#f7f7f7}.driver-popover-navigation-btns{flex-grow:1;justify-content:flex-end;display:flex}.driver-popover-navigation-btns button+button{margin-left:4px}.driver-popover-arrow{content:"";border:5px solid #fff;position:absolute}.driver-popover-arrow-side-over{display:none}.driver-popover-arrow-side-left{border-top-color:#0000;border-bottom-color:#0000;border-right-color:#0000;left:100%}.driver-popover-arrow-side-right{border-top-color:#0000;border-bottom-color:#0000;border-left-color:#0000;right:100%}.driver-popover-arrow-side-top{border-bottom-color:#0000;border-left-color:#0000;border-right-color:#0000;top:100%}.driver-popover-arrow-side-bottom{border-top-color:#0000;border-left-color:#0000;border-right-color:#0000;bottom:100%}.driver-popover-arrow-side-center,.driver-popover-arrow-none{display:none}.driver-active .driver-overlay{pointer-events:none}.driver-active.driver-no-scroll{overflow:hidden}.driver-active *{pointer-events:none}.driver-active .driver-active-element,.driver-active .driver-active-element *,.driver-popover,.driver-popover *{pointer-events:auto}@keyframes animate-fade-in{0%{opacity:0}to{opacity:1}}.driver-fade .driver-overlay{animation:animate-fade-in var(--driver-animation-duration,.4s) ease-in-out}.driver-fade .driver-popover{animation:animate-fade-in var(--driver-animation-duration,.4s)}.driver-active-element-parent-no-scroll{overflow:hidden!important}.driver-no-interaction,.driver-no-interaction *{pointer-events:none!important}[data-connection-tone=neutral]>[aria-hidden]{background-color:var(--color-background-tertiary-default)}[data-connection-tone=neutral]>[aria-hidden]>span{background-color:var(--color-text-tertiary)}[data-connection-tone=error]>[aria-hidden]{background-color:var(--color-notification-error-background)}[data-connection-tone=error]>[aria-hidden]>span{background-color:var(--color-text-error-primary)}@keyframes peach-link-blink{0%,to{opacity:1}50%{opacity:.25}}.peach-react [data-link-check][aria-busy=true] [data-link-check-rays]{animation:1.2s ease-in-out infinite peach-link-blink}.peach-react [data-policy-matrix]{border-collapse:collapse;width:100%;max-width:560px;color:var(--ink-2);margin-top:4px}.peach-react [data-policy-matrix] :is(th,td){border-bottom:1px solid var(--line-soft);text-align:center;padding:6px 8px;font-weight:400}.peach-react [data-policy-matrix] thead th{color:var(--muted)}.peach-react [data-policy-matrix] tbody th{text-align:left;color:var(--ink-2)}.peach-react [data-policy-matrix] [data-policy-cell=on]{color:var(--ink)}.peach-react [data-policy-matrix] [data-policy-cell=off]{color:var(--muted)}.peach-react [data-policy-matrix] tr:last-child>*{border-bottom:0}.peach-react [data-library-head]{border-bottom:1px solid var(--color-border-button-default);flex-wrap:wrap;align-items:center;gap:12px;padding:10px 8px;display:flex}.peach-react [data-library-head]>*{min-width:0;max-width:100%}.peach-react [data-library-head]>:nth-child(2){flex:180px;width:auto}.peach-react [data-library-head]>:last-child{flex:200px;width:auto}.peach-react [data-library-head]>:is(:first-child,:nth-child(3)){flex-shrink:0}.peach-react [data-library-block]>:not([data-library-head],[data-library-folders]){padding:10px 8px 0}.peach-react [data-library-folders]{flex-direction:column;display:flex}.peach-react [data-library-folders]>*{padding:12px 8px}.peach-react [data-library-folders]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-library-folders]>[data-folder-row]{background:0 0;border-width:0;border-radius:0}.peach-react [data-library-folders]>[data-folder-row]+*{border-top-width:1px}.peach-react [data-library-color-trigger]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:auto;height:36px;box-shadow:var(--shadow-xs);color:var(--color-text-primary);white-space:nowrap;border-radius:10px;gap:8px;padding:0 10px 0 7px;display:inline-flex}.peach-react [data-library-color-trigger]:hover{background:var(--color-background-primary-hover)}.peach-react [data-library-color-trigger] [data-glow-ball]{width:20px;height:20px}.peach-react [data-library-colors]{grid-template-columns:repeat(7,28px);padding:0}.peach-react [data-glow-ball][data-library-none]{--glow-chip:linear-gradient(135deg, transparent 46%, var(--color-text-tertiary) 46% 54%, transparent 54%), var(--color-background-tertiary-default)}
+@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-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--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:""}}}@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-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-700:oklch(52.7% .154 150.069);--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-2xl:42rem;--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;--radius-3xl:1.5rem;--shadow-xs:var(--elevation-xs);--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-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-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{background-color:var(--hover);position:relative;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-px{inset-block:-1px}.inset-y-0{inset-block:0}.start-0{inset-inline-start:calc(var(--spacing) * 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-1\/2{top:50%}.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-px{bottom:-1px}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.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-1\/2{left:50%}.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-span-full{grid-column:1/-1}.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>=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-1{margin-inline:calc(var(--spacing) * -1)}.-mx-3{margin-inline:calc(var(--spacing) * -3)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-5{margin-inline:calc(var(--spacing) * 5)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.ms-1\.5{margin-inline-start:calc(var(--spacing) * 1.5)}.ms-auto{margin-inline-start:auto}.me-0\.5{margin-inline-end:calc(var(--spacing) * .5)}.me-0\.75{margin-inline-end:calc(var(--spacing) * .75)}.me-auto{margin-inline-end:auto}.-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-3{margin-right:calc(var(--spacing) * -3)}.-mr-5{margin-right:calc(var(--spacing) * -5)}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-0{margin-bottom:0}.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}.\!hidden{display:none!important}.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-\(--icon-inline\){width:var(--icon-inline);height:var(--icon-inline)}.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-48{width:calc(var(--spacing) * 48);height:calc(var(--spacing) * 48)}.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%}.async-text-skeleton{height:.65em}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.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-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-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-48{max-height:calc(var(--spacing) * 48)}.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-8{min-height:calc(var(--spacing) * 8)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.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-13{min-height:calc(var(--spacing) * 13)}.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-28{min-height:calc(var(--spacing) * 28)}.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-\(--icon-inline\){width:var(--icon-inline)}.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-1\/2{width:50%}.w-1\/3{width:33.3333%}.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-3\/4{width:75%}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.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-28{width:calc(var(--spacing) * 28)}.w-32{width:calc(var(--spacing) * 32)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-40{width:calc(var(--spacing) * 40)}.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-80{width:calc(var(--spacing) * 80)}.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-px{width:1px}.max-w-1\/2{max-width:50%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-80{max-width:calc(var(--spacing) * 80)}.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-8{min-width:calc(var(--spacing) * 8)}.min-w-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-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-auto{flex:auto}.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)}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.-scale-x-100{--tw-scale-x:calc(100% * -1);scale:var(--tw-scale-x) var(--tw-scale-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}.resize-none{resize:none}.resize-y{resize:vertical}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.\[scrollbar-width\:none\]{scrollbar-width:none}.list-decimal{list-style-type:decimal}.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-row{flex-direction:row}.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{gap:0}.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-1\.5{column-gap:calc(var(--spacing) * 1.5)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-5{column-gap:calc(var(--spacing) * 5)}.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-1\.5{row-gap:calc(var(--spacing) * 1.5)}.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-end{align-self:flex-end}.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-\(--control-radius\){border-radius:var(--control-radius)}.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-3xl{border-radius:var(--radius-3xl)}.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-none{border-radius:0}.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)}.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-\[0\.875px\]{border-style:var(--tw-border-style);border-width:.875px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-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-\(--border-10\){border-color:var(--border-10)}.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\/20{border-color:var(--color-border-error-default)}@supports (color:color-mix(in lab, red, red)){.border-border-error-default\/20{border-color:color-mix(in oklab, var(--color-border-error-default) 20%, transparent)}}.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\/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-\(--surface\){background-color:var(--surface)}.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-quaternary-default{background-color:var(--color-background-quaternary-default)}.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,.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,.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-chart-9{background-color:var(--color-chart-9)}.bg-control-indicator-background{background-color:var(--color-control-indicator-background)}.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-green-500{background-color:var(--color-green-500)}.bg-indigo-500{background-color:var(--color-indigo-500)}.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-pill-tab-blue-hover-background{background-color:var(--color-pill-tab-blue-hover-background)}.bg-pill-tab-blue-selected-background{background-color:var(--color-pill-tab-blue-selected-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-blue-text{background-color:var(--color-status-blue-text)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-cyan-text{background-color:var(--color-status-cyan-text)}.bg-status-dot-green-halo{background-color:var(--color-status-dot-green-halo)}.bg-status-dot-indigo-halo{background-color:var(--color-status-dot-indigo-halo)}.bg-status-dot-yellow-halo{background-color:var(--color-status-dot-yellow-halo)}.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-purple-text{background-color:var(--color-status-purple-text)}.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-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-yellow-500{background-color:var(--color-yellow-500)}.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-gradient-to-b{--tw-gradient-position:to bottom in oklab;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{fill:var(--color-background-primary-default)}.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-primary\/10{fill:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.fill-text-primary\/10{fill:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.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-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}.ps-4{padding-inline-start:calc(var(--spacing) * 4)}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.pe-5{padding-inline-end:calc(var(--spacing) * 5)}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.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{padding-right:var(--spacing)}.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)}.pr-6{padding-right:calc(var(--spacing) * 6)}.pr-10{padding-right:calc(var(--spacing) * 10)}.pb-1{padding-bottom:var(--spacing)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-2\.5{padding-bottom:calc(var(--spacing) * 2.5)}.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-4{padding-left:calc(var(--spacing) * 4)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-start{text-align:start}.align-baseline{vertical-align:baseline}.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)}.text-pretty{text-wrap:pretty}.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}.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-\(--muted\){color:var(--muted)}.text-accent-500{color:var(--color-accent-500)}.text-accent-600{color:var(--color-accent-600)}.text-background,.text-background-primary-default{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{color:var(--color-separator-border)}.text-border-focus-ring{color:var(--color-border-focus-ring)}.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-green-700{color:var(--color-green-700)}.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-placeholder{color:var(--color-text-placeholder)}.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-20{opacity:.2}.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-\[inset_0px_0px_0px_0\.875px_var\(--color-accent-500\)\,inset_0px_1\.75px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px .875px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 1.75px 0px 0px var(--tw-shadow-color,#ffffff40);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_0px_0px_0px_1px_var\(--color-accent-500\)\,inset_0px_2px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px 1px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 2px 0px 0px var(--tw-shadow-color,#ffffff40);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-1{outline-style:var(--tw-outline-style);outline-width:1px}.-outline-offset-1{outline-offset:calc(1px * -1)}.outline-border-error-default{outline-color:var(--color-border-error-default)}.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-\[background-color\,color\,box-shadow\]{transition-property:background-color,color,box-shadow;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-\[scale\,opacity\]{transition-property:scale,opacity;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\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-\[show-guides\=false\]\/tree-view\:hidden:is(:where(.group\/tree-view)[data-show-guides=false] *){display:none}.group-data-\[size\=sm\]\/tree-view\:min-h-8:is(:where(.group\/tree-view)[data-size=sm] *){min-height:calc(var(--spacing) * 8)}.group-data-\[size\=sm\]\/tree-view\:text-body-2-regular:is(:where(.group\/tree-view)[data-size=sm] *){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))}.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-0:first-child{padding-top:0}.last\:rounded-b-lg:last-child{border-bottom-right-radius:var(--radius-lg);border-bottom-left-radius:var(--radius-lg)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-0:last-child{padding-bottom:0}.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-background-tertiary-default:hover{background-color:var(--color-background-tertiary-default)}.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\:cursor-wait:disabled{cursor:wait}.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-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\: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-\[empty\]\:px-4[data-empty]{padding-inline:calc(var(--spacing) * 4)}.data-\[empty\]\:py-8[data-empty]{padding-block:calc(var(--spacing) * 8)}.data-\[empty\]\:text-center[data-empty]{text-align:center}.data-\[empty\]\:text-body-regular[data-empty]{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))}.data-\[empty\]\:text-text-tertiary[data-empty]{color:var(--color-text-tertiary)}.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-\[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-\[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 (prefers-reduced-motion:reduce){.motion-reduce\:transition-none{transition-property:none}}@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-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-full{flex-basis:100%}.max-cleanup-tight\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-board-narrow\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.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\: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\: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\:justify-end{justify-content:flex-end}.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>=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\:order-last{order:9999}.sm\:col-span-2{grid-column:span 2/span 2}.sm\:mt-auto{margin-top:auto}.sm\:hidden{display:none}.sm\:w-28{width:calc(var(--spacing) * 28)}.sm\:w-32{width:calc(var(--spacing) * 32)}.sm\:w-auto{width:auto}.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\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:gap-2{gap:calc(var(--spacing) * 2)}.sm\:gap-4{gap:calc(var(--spacing) * 4)}.sm\:self-auto{align-self:auto}}@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\:items-center{align-items:center}.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-32{width:calc(var(--spacing) * 32)}.\@lg\:w-48{width:calc(var(--spacing) * 48)}.\@lg\:w-60{width:calc(var(--spacing) * 60)}.\@lg\:w-auto{width:auto}.\@lg\:flex-1{flex:1}}.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)}}.dark\:text-green-400:where(.dark,.dark *){color:var(--color-green-400)}@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)}.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar{display:none}.\[\&\>\.ui-settings-facts\]\:-mr-3>.ui-settings-facts{margin-right:calc(var(--spacing) * -3)}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>span\:last-child\]\:min-w-0>span:last-child{min-width:0}.\[\&\>span\:last-child\]\:wrap-anywhere>span:last-child{overflow-wrap:anywhere}.\[\&\>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-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%)}.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;display:grid}.peach-react [data-media-grid]>[data-media-card],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;container:media-card/inline-size}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-surface:color-mix(in oklab, var(--library-color) 9%, transparent)}}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-hover:color-mix(in oklab, var(--library-color) 15%, transparent)}}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){background:var(--library-surface);box-shadow:0 0 0 8px var(--library-surface)}[data-theme=dark] .peach-react [data-media-card][data-library]{--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){[data-theme=dark] .peach-react [data-media-card][data-library]{--library-surface:color-mix(in oklab, var(--library-color) 13%, transparent)}}[data-theme=dark] .peach-react [data-media-card][data-library]{--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){[data-theme=dark] .peach-react [data-media-card][data-library]{--library-hover:color-mix(in oklab, var(--library-color) 20%, transparent)}}@media (prefers-color-scheme:dark){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-surface:color-mix(in oklab, var(--library-color) 13%, transparent)}}:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-hover:color-mix(in oklab, var(--library-color) 20%, transparent)}}}.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][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--library-hover);box-shadow:0 0 0 8px var(--library-hover)}.peach-react [data-media-status]{z-index:3;pointer-events:none;gap:6px;display:flex;position:absolute;bottom:12px;left:10px}.peach-react [data-media-status]>span{-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000006b;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.peach-react [data-media-status] svg{fill:currentColor;stroke:currentColor;stroke-width:1.5px;width:15px;height:15px}.peach-react [data-media-status] [data-status=later]{color:var(--color-sky-500)}.peach-react [data-media-status] [data-status=flagged]{color:var(--color-rose-500)}.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);height:calc(var(--card-meta-block) + 22px);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-follow-item]) [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px);--card-meta-block:calc(var(--fs-md) * 2.7 + 12px + 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 [data-media-card]:not([data-follow-item],[data-variant=next]) [data-media-meta]{height:calc(var(--card-meta-block) + 16px)}body:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-follow-item],[data-variant=next]) [data-media-meta]{height:auto}.peach-react [data-media-card][data-variant=next]:not([data-follow-item]) [data-media-meta]{--card-meta-tags:calc(var(--fs-xs) * 2.9);height:var(--card-meta-block)}.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:var(--color-background-quaternary-default);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],.peach-react [data-media-art]>.media-nopic{color:var(--ink-2);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-art]>.media-nopic{place-items:center;display:grid;position:absolute;inset:0}.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-pic][data-pic-portrait] :is(img[class~=poster]:not([class~=cover]),video){object-fit:cover;width:calc(100% + 2px);max-width:none;height:calc(100% + 2px);inset:-1px}.peach-react [data-media-pic]>img.ui-hvframes[hidden]{display:none}.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],[data-follow-sources]){opacity:0;visibility:hidden;pointer-events:none}.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) [data-media-group]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}body[data-peach-copy-mode] .peach-react [data-media-card] [data-media-duration][data-copy-key]{z-index:10;opacity:1;visibility:visible;pointer-events:auto}@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]>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-preview],:is([data-media-later],[data-media-seek]) button):hover{background:#00000057}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:var(--control-h-compact);height:var(--control-h-compact);padding:0}.peach-react [data-media-later] svg{width:18px;height:18px}.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]{--media-avatar-visible:var(--media-avatar-count);--media-avatar-gaps:max(1, calc(var(--media-avatar-visible) - 1));z-index:1;width:calc(45px + 16px * (var(--media-avatar-visible) - 1));--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:min(109px,max(45px,30%));height:46px;margin:-4px -2px -2px;padding:0;display:block;position:relative}.peach-react [data-media-avatars]:is(:hover,:has(:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{top:6px;left:calc(5px + (100% - 45px) / var(--media-avatar-gaps) * var(--media-avatar-index));box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:left var(--lift-motion,var(--board-motion)), transform var(--lift-motion,var(--board-motion));margin:0;position:absolute}.peach-react [data-media-avatars]:is(:hover,:has(:focus-visible))>[data-media-avatar]{left:calc(5px + 30px * var(--media-avatar-index))}.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}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]{--media-avatar-visible:min(2, var(--media-avatar-count))}.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;container:media-meta/inline-size}.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-card]:not([data-follow-item]) [data-media-title]{min-height:2.7em}.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]{white-space:nowrap;min-width:0;min-height:1.5em;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;line-height:1.5;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:nowrap;flex:none;align-items:center;gap:8px;display:flex;overflow:hidden}.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;flex:0 auto;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;flex:none;align-items:center;gap:4px;display:inline-flex}.peach-react [data-media-facts]{flex-wrap:wrap;flex:none;align-items:center;gap:4px 8px;min-width:0;display:inline-flex}.peach-react [data-media-byline] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted);white-space:nowrap;flex:none}.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-release]),.peach-react [data-variant=next] [data-media-facts]{display:none}.peach-react [data-media-next-reason]{width:100%;min-width:0;min-height:2.9em;max-height:2.9em;color:var(--loupe);font-size:var(--fs-xs);text-align:left;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;flex:none;padding:0;line-height:1.45;display:-webkit-box;overflow:hidden}.peach-react [data-media-next-reason]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container media-meta not (width>=360px){.peach-react [data-media-card]:not([data-variant=next]) [data-media-byline]{flex-wrap:wrap;row-gap:2px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-facts]{flex-basis:100%}}@container media-meta not (width>=200px){.peach-react [data-media-card]:not([data-variant=next]) [data-media-who-more]{display:none}}@container media-meta not (width>=140px){.peach-react [data-media-who-more]{display:none}}@container media-meta not (width>=110px){.peach-react [data-media-size]{display:none}}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>:is([data-media-card],[data-mix-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;line-height:1.35em;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] [data-media-why]{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}@container media-meta not (width>=360px){body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) [data-media-text]{grid-template-rows:1.35em auto 30px;height:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) [data-media-byline]{flex-wrap:wrap;row-gap:2px;height:auto;min-height:calc(2.7em + 2px)}}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;min-height:var(--control-h-compact);border-radius:var(--control-radius);color:#fff;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]{--hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-strip]{--hover:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.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{z-index:1;font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex;position:relative}.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);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;transition:background .14s;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--hover)}.peach-react [data-shorts-enter] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;margin:-32px -16px -20px;padding:32px 16px 20px;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 + 16px));padding-left:calc(var(--railW) + 32px + 16px)}}.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)}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;height:auto;min-height:0}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-text]{flex-direction:column;height:auto;display:flex}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-byline]{height:auto;min-height:20px;line-height:20px}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-tags]:empty{display:none}.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-detail-tags] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);box-sizing:border-box;height:var(--control-h-inline);align-items:center;max-width:100%;display:inline-flex;overflow:hidden}.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){border-color:color-mix(in srgb,var(--tag-color) 42%,var(--surface))}}.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){background:color-mix(in srgb,var(--tag-color) 10%,var(--surface))}}.peach-react [data-detail-tags] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:100%}.peach-react [data-detail-tags] [data-detail-tag] [data-tag]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.peach-react [data-detail-tags] [data-detail-tag] :is([data-remove-tag],[data-edit-tag]){width:calc(var(--control-h-inline) - 2px);color:var(--muted);flex:none;place-items:center;padding:0;display:grid}.peach-react [data-detail-tags] [data-detail-tag] [data-tag]:hover,.peach-react [data-detail-tags] [data-detail-tag] [data-edit-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-detail-tags] [data-detail-tag] svg,.peach-react [data-detail-tags] [data-tag-plus] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-detail-tags] [data-tag-plus]{width:var(--control-h-inline);height:var(--control-h-inline);border:1px dashed var(--line);color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-detail-tags] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-tag-picker]{z-index:120;border:1px solid var(--ink);flex-direction:column;width:min(480px,100vw - 32px);max-height:min(480px,70vh);margin:0;padding:0;display:flex;position:fixed;inset:auto;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-detail-tags] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 24px 70px -24px #000}.peach-react [data-detail-tags] [data-tag-picker][hidden]{display:none}.peach-react [data-detail-tags] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-detail-tags] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-detail-tags] [data-tag-search]{border-bottom:1px solid var(--ink);flex:none;align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-detail-tags] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-detail-tags] [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-detail-tags] [data-tag-search] input::placeholder{color:revert}.peach-react [data-detail-tags] [data-tag-scroll-frame]{flex:auto;min-height:0;display:flex;position:relative}.peach-react [data-detail-tags] [data-tag-body]{overscroll-behavior:contain;flex:auto;min-width:0;min-height:0;max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-detail-tags] [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-detail-tags] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-detail-tags] [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-detail-tags] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-detail-tags] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-detail-tags] [data-pick] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;color:var(--tag-color,var(--muted));flex:none}@media (width<=760px){.peach-react [data-detail-tags] [data-tag-grid]{grid-template-columns:1fr}}.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)}.peach-react [data-processing-maintenance]{--color-dropdown-item-hover-background:var(--color-background-secondary-hover)}@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:var(--control-h-compact);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{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.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-namepick-menu] svg{width:var(--icon-inline);height:var(--icon-inline)}.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:var(--icon-inline);height:var(--icon-inline);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;flex:0 0 var(--control-h-compact);width:var(--control-h-compact);height:var(--control-h-compact);color:var(--glass-text);border-radius:50%;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:16px;height:16px;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:var(--control-h-compact);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 :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;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]{margin-left:auto;flex-wrap:nowrap;flex:none;align-items:center;gap:4px;width:max-content;margin-block:-14px;padding:14px 2px;display:flex;overflow:visible}.peach-react [data-entity-sort]{height:var(--control-h-compact);min-height:var(--control-h-compact);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{width:var(--icon-inline);height:var(--icon-inline);flex:none;margin-left:5px}.peach-react [data-entity-sort] [data-icon-swap]{margin-left:5px}.peach-react [data-entity-sort] [data-icon-swap] svg{margin-left:0}.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)}.peach-react [data-photo-back]{height:var(--control-h-compact);border:1px solid var(--glass-low);border-radius:var(--control-radius);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{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.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]{gap:10px}.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:var(--control-h-compact);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)}}.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}.peach-react [data-catalog-frame][data-single-row]{flex-direction:row}.peach-react [data-catalog-frame][data-single-row]>[data-filter-row=top]{flex:1}.peach-react [data-catalog-frame][data-single-row]>[data-filter-row=bottom]{flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{width:72px;height:var(--control-h-compact);border-radius:var(--tag-radius);background:var(--hover);flex:none}.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}}body[data-folder-browse] #main{grid-template-columns:224px minmax(0,1fr);align-items:start;column-gap:24px;display:grid}body[data-folder-browse] #main>:not(#catalogFoldersTree){grid-column:2;min-width:0}body[data-folder-browse] #catalogFoldersTree{top:var(--folder-sticky-top,calc(var(--topH) + 16px));grid-area:1/1/span 20;min-width:0;position:sticky}body[data-folder-browse] #catalogFoldersTree .catalog-folder-navigation{max-height:var(--folder-available-height,calc(100dvh - var(--folder-sticky-top,calc(var(--topH) + 16px)) - 16px))}body[data-folder-browse] #catalogFoldersTree .folder-tree-scroller{max-height:none}#catalogFolderHeader{margin-bottom:20px}.catalog-folder-heading{flex-direction:column;gap:12px;min-width:0;display:flex}.folder-scope-row{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.folder-children{flex-wrap:wrap;gap:4px;display:flex}.folder-children>button{max-width:100%}.entity-folder-workspace[data-folder-browse]{grid-template-columns:224px minmax(0,1fr);align-items:start;gap:24px;display:grid}.entity-folder-workspace>[data-folder-tree-host]{top:var(--folder-sticky-top);min-width:0;position:sticky}.entity-folder-workspace .catalog-folder-navigation{max-height:var(--folder-available-height)}[data-folder-header-host]{margin-bottom:20px}.folder-crumb-name{text-overflow:ellipsis;max-width:180px;display:block;overflow:hidden}.folder-tree-scroller{min-height:0;max-height:calc(100dvh - var(--topH) - 124px);overscroll-behavior:contain;scroll-padding-block:4px;overflow:auto}.folder-tree-frame>[data-overlay-track=y]{overflow:hidden;translate:-8px}.folder-tree-frame>[data-overlay-track=y] [data-overlay-thumb]{transition-property:width}.folder-drawer-trigger{display:none}.peach-react button[data-folder-mode-toggle]{width:var(--control-h-compact);height:var(--control-h-compact);border-radius:var(--control-radius);box-shadow:none;color:var(--glass-text);background:0 0;border:0;padding:0}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-folder-mode-toggle]{color:color-mix(in srgb,var(--glass-text) 60%,transparent)}}.peach-react button[data-folder-mode-toggle]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-folder-mode-toggle][aria-pressed=true]{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 button[data-folder-mode-toggle] svg{fill:currentColor;stroke:none;width:16px;height:16px}@media (width<=1100px){.entity-folder-workspace[data-folder-browse]{display:block}.entity-folder-workspace>[data-folder-tree-host]{display:none}body[data-folder-browse] #main{display:block}body[data-folder-browse] #catalogFoldersTree{display:none}.folder-drawer-trigger{display:inline-flex}.folder-crumb-name{max-width:120px}}@media (width<=480px){.folder-crumb-name{max-width:88px}.folder-scope-row{gap:8px}}.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:var(--icon-inline);height:var(--icon-inline);stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option] [data-remove-history] svg{width:18px;height:18px}.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% + 2.38px)}.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:var(--icon-inline);height:var(--icon-inline)}.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]{width:var(--control-h-compact);height:var(--control-h-compact);border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;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:var(--control-h-compact);height:var(--control-h-compact);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;display:grid}.peach-react [data-follow-list]:not([data-follow-wall])>[data-media-card]{align-self:stretch}.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] [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:none;min-height:0}.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)}@media (width<=760px){body .peach-react [data-follow-list] [data-follow-item] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;min-height:0}body[data-density]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}}.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{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.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{width:var(--control-h-compact);height:var(--control-h-compact);color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;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}.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 [data-follow-byline] 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]{width:var(--icon-inline);height:var(--icon-inline);object-fit:contain;vertical-align:-2px;border-radius:0;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%}@media (width<=760px){.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;grid-template-rows:none;min-height:0}body[data-density] .peach-react [data-follow-item] [data-follow-labels]{height:auto}.peach-react [data-follow-item] [data-follow-labels]:empty{display:none}}.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-follow-detail-media]:has(>[data-carousel-below]){flex-direction:column}.peach-react [data-follow-detail] [data-follow-detail-media]:has(>[data-carousel-below]) [data-follow-detail-poster]{min-height:0;max-height:calc(76dvh - 116px)}.peach-react [data-follow-detail] [data-carousel-below]{flex:none}.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;width:100%;max-height:100%;color:var(--muted);place-content:center;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] [data-follow-origin] svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-resources] a svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}.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}.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-tags]{margin-top:16px}.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-media]>[data-player-toolbar]{z-index:8;pointer-events:none;flex-wrap:wrap;align-items:center;gap:7px;display:flex;position:absolute;top:11px;left:11px;right:59px}.peach-react [data-player-toolbar]>:is([data-player-stats-slot],[data-player-net-slot]){display:contents}.peach-react [data-player-toolbar] :is([data-player-stats-button],[data-player-net],[data-jav-preview-toggle]){flex:none;position:relative;top:auto;left:auto}.peach-react [data-player-toolbar] button{pointer-events:auto}.peach-react [data-item-gallery][data-item-picture] [data-player-toolbar]>:is([data-player-stats-slot],[data-player-net-slot]),.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{width:var(--control-h-inline);height:var(--control-h-inline);border:1px solid var(--line);background:var(--surface);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]{margin-left:-4px}.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{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.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;margin-inline-start:calc((var(--id-face,46px) - var(--id-cell,62px)) / 2);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:center;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:center;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{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;flex:none;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-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{width:var(--icon-inline);height:var(--icon-inline);fill:currentColor;color:#ff669d}.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]{--hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-related]{--hover:color-mix(in srgb, var(--ink) 8%, var(--detail-surface))}}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:10px 15px 8px}.peach-react [data-item-related]>h3{text-overflow:ellipsis;white-space:nowrap;line-height:20px;font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 6px;overflow:hidden}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;min-height:calc(var(--detail-card-height) + 24px);height:calc(var(--detail-card-height) + 24px);scrollbar-width:none;gap:16px;margin:-4px -16px 0;padding:12px 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;height:calc(var(--detail-card-height) + 20px)}.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 img[data-source-picture][hidden]{display:none!important}.peach-react [data-jav-picture-wait]{place-items:center;width:100%;min-width:0;min-height:300px;padding:24px;display:grid}.peach-react [data-jav-picture-wait]>[data-empty-state]{max-width:32rem}.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-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]{box-sizing:border-box;z-index:5;border-radius:var(--pill-radius);color:#fff;height:40px;font-size:var(--fs-xs);white-space:nowrap;cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:0 12px;line-height:1;display:inline-flex;position:absolute;top:11px;left:11px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px}.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{width:var(--icon-inline);height:var(--icon-inline);flex:none}.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-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-rating-stars] [data-rate],.peach-react [data-review-rating] [data-rating-stars] [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{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;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)}.peach-react .index-feed-mark>span{color:var(--feed-mark);background:var(--feed-mark)}@supports (color:color-mix(in lab, red, red)){.peach-react .index-feed-mark>span{background:color-mix(in srgb,var(--feed-mark) 16%,var(--ground))}}.video-js{box-sizing:border-box;color:#fff;background:#000;font-family:inherit;font-size:10px;line-height:1;display:block;position:relative}.video-js>video-player{display:contents}.video-js>video-player>media-container{width:100%;height:100%;display:block;position:absolute;inset:0}.video-js :is(hlsjs-video,dash-video){display:contents}.video-js .vjs-tech{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.video-js .vjs-control-bar{z-index:2;width:100%;height:3em;display:flex;position:absolute;bottom:0;left:0}.video-js .vjs-picture-in-picture-control[data-peach-pip-supported][hidden]{display:block!important}.video-js .vjs-picture-in-picture-control[aria-disabled=true]{color:#ffffff73;cursor:not-allowed}.video-js .vjs-control{box-sizing:border-box;width:4em;height:3em;color:inherit;flex:none;position:relative}.video-js .vjs-button{cursor:pointer;color:inherit;font:inherit;outline-offset:2px;touch-action:manipulation;-webkit-user-select:none;user-select:none;background:0 0;border:0;padding:0;display:block}.video-js .vjs-button:focus-visible,.video-js media-slider-thumb:focus-visible{outline:2px solid var(--tungsten)}.video-js .vjs-slider{cursor:pointer;touch-action:none;display:block;position:relative}.video-js media-slider-track{display:block;position:absolute;inset:0}.video-js .vjs-play-progress,.video-js .vjs-load-progress,.video-js .vjs-volume-level{height:100%;display:block;position:absolute;top:0;left:0}.video-js .vjs-play-progress,.video-js .vjs-volume-level{width:var(--media-slider-fill,0%);background:#fff}.video-js .vjs-load-progress{width:var(--media-slider-buffer,0%);background:#ffffff59}.video-js media-slider-thumb{left:var(--media-slider-fill,0%);z-index:2;background:#fff;border-radius:50%;width:12px;height:12px;display:block;position:absolute;top:50%;transform:translate(-50%,-50%)}.video-js .vjs-loading-spinner{display:none;position:absolute}.video-js.vjs-waiting:not(.vjs-paused) .vjs-loading-spinner{display:block}.video-js .vjs-error-display{pointer-events:none;display:none;position:absolute;inset:0}.video-js.vjs-error .vjs-error-display{justify-content:center;align-items:center;display:flex}.video-js.vjs-user-inactive.vjs-playing .vjs-control-bar{opacity:0;pointer-events:none}.video-js.vjs-fullscreen{width:100%!important;height:100%!important;max-height:none!important;position:fixed!important;inset:0!important}.video-js media-container:fullscreen{background:#000;width:100vw;height:100vh}.video-js .vjs-modal-dialog-content{position:absolute}.video-js media-slider-value{visibility:hidden;position:absolute}.video-js .vjs-volume-panel:hover media-slider-value,.video-js .vjs-volume-panel:focus-within media-slider-value{visibility:visible}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 auto;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-peach-right-controls>.vjs-button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[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:0 0;border-radius:0;width:100%;height:18px;margin:0}[data-stage-media] .video-js .vjs-progress-holder>media-slider-track{background:#28282899;height:6px;transition:transform .2s cubic-bezier(.05,0,0,1);top:auto;bottom:0;transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover media-slider-track,[data-stage-media] .video-js .vjs-progress-control:focus-within media-slider-track{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-progress-thumb{background:var(--tungsten);transition:transform .2s cubic-bezier(.05,0,0,1);top:auto;bottom:-3px;transform:translate(-50%)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-thumb,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-thumb{transform:translate(-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,.vjs-peach-caption-options>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);background:var(--tungsten);min-width:17px;height:12px;color:var(--ground);font-size:var(--fs-xs);transform-origin:100% 0;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;width:min(274px,100vw - 28px);max-height:min(420px,calc(var(--peach-player-h,480px) - 74px),calc(100vh - 130px));border-radius:var(--floating-radius);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>svg.vjs-peach-menu-line-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.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:40px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 8px!important}.vjs-peach-option-check{place-items:center;width:40px;height:24px;display:grid}.vjs-peach-option-check svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;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:contain!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{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none}[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}.video-js .vjs-subtitles-control>button{z-index:1;place-items:center;display:grid;position:relative}.video-js .vjs-subtitles-control>button>svg,.vjs-peach-menu-cc>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;display:block}.video-js .vjs-subtitles-control>button[aria-pressed=true]:after{content:"";background:var(--tungsten);width:18px;height:2px;position:absolute;bottom:5px;left:calc(50% - 9px)}.video-js.vjs-peach-xsmall .vjs-subtitles-control>button>svg{width:27px;height:27px}.vjs-peach-menu-cc{place-items:center;width:40px;display:grid}.video-js .vjs-peach-menu-option[data-subtitle-track]{padding-block:10px!important}.vjs-peach-menu-option[data-subtitle-track] .vjs-peach-option-label{overflow-wrap:anywhere}[data-player-subtitles] b{text-overflow:ellipsis;max-width:90px;overflow:hidden}.vjs-peach-settings-menu .vjs-peach-caption-options{flex:0 0 48px;place-items:center;width:48px;margin-left:auto;padding:0;display:grid}.vjs-peach-settings-menu .vjs-peach-caption-action{text-align:left;overflow-wrap:anywhere;padding:10px 16px}.vjs-peach-settings-menu [data-subtitle-track]~.vjs-peach-caption-action{padding-left:48px}.vjs-peach-settings-menu .vjs-peach-caption-setting{text-align:left;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:12px;padding:0 12px;display:grid}.vjs-peach-caption-setting b{color:#ffffffb3;white-space:nowrap;font-weight:400}.vjs-peach-caption-setting svg{fill:currentColor;stroke:none;width:18px;height:18px}.vjs-peach-subtitle-status{font-size:var(--fs-sm);overflow-wrap:anywhere;align-items:center;gap:8px;margin:0;padding:8px 16px;line-height:1.5;display:flex}.vjs-peach-subtitle-status[data-error]{color:var(--drop)}.vjs-peach-subtitle-status[hidden]{display:none}.vjs-peach-subtitle-search{padding:8px}.vjs-peach-subtitle-search a{font-size:var(--fs-sm);color:#fff;margin:8px 16px;text-decoration:underline;display:inline-block}.vjs-peach-settings-menu .vjs-peach-subtitle-result{text-align:left;overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 16px;line-height:1.4;display:flex}.vjs-peach-subtitle-result small{color:#ffffffb3;font-size:var(--fs-sm)}.vjs-peach-settings-menu:has([data-subtitle-style]){overscroll-behavior:contain}.video-js[data-peach-captions] video::cue{color:#0000;text-shadow:none;background:0 0}.video-js[data-peach-captions] video::-webkit-media-text-track-container{display:none}.vjs-peach-captions{z-index:1;pointer-events:none;font-family:var(--peach-caption-font);font-size:calc(clamp(14px,calc(var(--peach-player-h,480px)*.045),32px)*var(--peach-caption-scale));font-variant:var(--peach-caption-variant);text-align:center;color:var(--peach-caption-color);text-shadow:var(--peach-caption-edge);justify-content:center;font-weight:400;line-height:1.3;display:flex;position:absolute;bottom:80px;left:5%;right:5%}.vjs-peach-captions[hidden]{display:none}.vjs-peach-caption-window{background:var(--peach-caption-window);max-width:100%;padding:.15em .3em}.vjs-peach-caption-line{white-space:pre-line;overflow-wrap:anywhere;background:var(--peach-caption-background);-webkit-box-decoration-break:clone;box-decoration-break:clone;width:fit-content;max-width:100%;margin:0 auto;padding:0 .15em;display:block}.video-js.vjs-user-inactive.vjs-playing .vjs-peach-captions{bottom:5%}: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],[data-detail-continuation]{--detail-card-width:clamp(184px,24dvh,208px);--detail-card-meta-height:calc(var(--fs-md) * 2.7 + 8px + 20px + var(--fs-xs) * 1.45);--detail-card-height:calc(var(--detail-card-width) * 9 / 16 + 6px + var(--detail-card-meta-height));--detail-continuation-height:calc(var(--detail-card-height) + 65px + var(--detail-continuation-extra,0px))}[data-stage]:has([data-detail-continuation]>[data-mix-queue]),[data-detail-continuation]:has(>[data-mix-queue]){--detail-continuation-extra:20px}[data-stage]{--detail-media-height:76dvh;--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:max(0px,min(calc(100dvh - 34px - var(--detail-continuation-height)),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-stage-media]>.video-js{max-height:100%}[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][data-stage-kind=follow]{--detail-media-height:min(56dvh,56.25vw)}[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]{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-queue-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-queue-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}}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width);isolation:isolate;gap:6px}.peach-react [data-detail-continuation] [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9;flex:none}.peach-react [data-detail-continuation] [data-media-card][data-variant=next] [data-media-meta]{height:var(--detail-card-meta-height);flex:none}.peach-react [data-detail-continuation] [data-media-card][data-variant=next] [data-follow-byline]{min-height:0;line-height:18px}[data-detail-continuation] [data-media-card][data-variant=next] [data-media-text]{gap:4px}.peach-react [data-detail-continuation] [data-media-card][data-variant=next] [data-media-next-reason]{white-space:nowrap;text-overflow:ellipsis;min-height:1.45em;max-height:1.45em;display:block}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]:is(:hover,:focus-within){box-shadow:none;background:0 0}[data-detail-continuation] [data-media-card][data-variant=next]:before{content:"";z-index:-1;border-radius:calc(var(--surface-radius) + 8px);background:var(--library-hover,var(--hover));opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:-8px}[data-detail-continuation] [data-media-card][data-variant=next]:is(:hover,:focus-within):before{opacity:1}.peach-react [data-detail-continuation] [data-media-card][data-variant=next][data-longhover]{filter:none;transform:none}[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-local-playback]{flex-direction:column;flex:none;gap:8px;margin:0 0 12px;display:flex}[data-local-playback-row]{align-items:center;gap:8px;min-width:0;display:flex}[data-local-playback-row]>div{flex:1;min-width:0}[data-local-playback-row] .ui-gselect{width:100%;display:block}[data-local-playback-row] [data-select-trigger]{width:100%;height:var(--control-h)}[data-local-playback-row]>button{height:var(--control-h);white-space:nowrap;flex:none}[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]:has(#performerNameLanguageSetting){align-items:start}[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;flex-direction:column;gap:20px;min-width:0;display:flex}[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]{flex-direction:column;gap:8px;min-width:0;display:flex}[data-settings-panel] [data-glow-card]{padding-right:10px}[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-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:400}[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-colour-card]{overflow:hidden}[data-settings-panel] [data-glow-stop]{border-bottom:1px solid var(--line-soft);min-width:0;position:relative}[data-settings-panel] [data-glow-stop]:last-child{border-bottom:0}[data-settings-panel] [data-glow-stop-toggle]{width:calc(100% + 12px);min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 10px var(--glowrow-pad) 12px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;align-items:center;gap:10px;margin-left:-12px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover,[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{z-index:1;background:var(--control-hover);box-shadow:0 -1px 0 var(--control-hover),0 1px 0 var(--control-hover);position:relative}[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:var(--icon-inline);height:var(--icon-inline);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:400}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{flex-direction:column;gap:0;display:flex;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;flex: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-frame]{flex-direction:column;min-height:0;display:flex;position:relative;overflow:hidden}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;flex:1;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;min-height:0;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:var(--glowrow-pad) 10px var(--glowrow-pad) 12px;border-top:1px solid var(--line-soft);border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;background:var(--board-card-foot);justify-content:flex-end;margin:0 -10px 0 -12px;display:flex}[data-settings-panel] [data-glow-actions] button[data-glow-reset]{font:var(--board-body)}[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]>svg{width:var(--icon-inline);height:var(--icon-inline)}[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{min-width:var(--control-h-compact);height:var(--control-h-compact);border-radius:var(--control-radius);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{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none}@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] [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!important;padding:10px 10px 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}:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){--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}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){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{width:var(--icon-inline);height:var(--icon-inline);fill:currentColor;stroke:none;flex:none}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){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}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a):hover{color:var(--glass-text)}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]){border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{clip-path:inset(0);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][data-setting-layout=cards]{background:0 0;border-radius:0;flex-direction:column;gap:20px;padding:0;display:flex}[data-settings-panel] [data-setting-card]{background:var(--ground);border-radius:16px;min-width:0;padding-left:12px}[data-settings-panel] [data-setting-block]{flex-direction:column;gap:8px;min-width:0;display:flex}[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){:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){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}:is([data-settings-panel] [data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-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}}:is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark :is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#00000080;--settings-error-drop:#0008}:is([data-settings-panel] [data-settings-card],.peach-react [data-modal-width=collections]){box-shadow:0 12px 40px var(--settings-card-drop)}[data-settings-panel] [data-settings-card]{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-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-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 (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]{flex-wrap:wrap;gap:8px 12px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]>:first-child{flex:1 1 max-content;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has(>span>small)>:first-child{flex-basis:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]>:last-child{flex:none;max-width:100%;margin-left:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{max-width:100%}[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;box-shadow:none;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]{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:0}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}:is([data-settings-panel] [data-settings-service],.peach-react [data-shortcuts-footer]){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-setting-layout=cards] [data-settings-subheading]{padding:0 12px}[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:background .14s;position:relative}[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-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]{--sidebar-reorder-ms:250;flex-direction:column;gap:3px;margin-bottom:18px;display:flex;position:relative}[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{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}[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{width:var(--icon-inline);height:var(--icon-inline);border-radius:var(--badge-radius);object-fit:contain;flex:none}[data-sidebar-source-icon]{min-width:var(--icon-inline);object-fit:contain;width:var(--icon-inline)!important;height:var(--icon-inline)!important;opacity:1!important;filter:none!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:var(--icon-inline);height:var(--icon-inline);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{width:var(--icon-inline);height:var(--icon-inline);flex:none}[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{stroke-width:2px;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);stroke-width:2px}[data-sidebar-home-logo]{width:var(--icon-inline);height:var(--icon-inline);object-fit:contain;flex:none}[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{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;transition:transform var(--motion-swap);flex:none;order:2;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{width:var(--icon-inline);height:var(--icon-inline);flex:none}[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-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}}[data-sidebar-nav] button{touch-action:none;-webkit-user-select:none;user-select:none;translate:0 var(--sidebar-nudge,0px);transition:translate calc(var(--sidebar-reorder-ms)*1ms) var(--spring-press) var(--sidebar-delay,0s),scale calc(var(--spring-press-ms)*1ms) var(--spring-press)}[data-sidebar-nav][data-reordering] button{cursor:grabbing}[data-sidebar-nav] button[data-dragging]{top:var(--sidebar-picked-top);z-index:3;width:100%;scale:.9;transform:translate3d(var(--sidebar-drag-x,18px),var(--sidebar-drag-y,0px),0);box-shadow:var(--glass-pick-shadow);cursor:grabbing;will-change:transform;position:absolute;left:0;background:var(--ground)!important}[data-sidebar-drawer]:has([data-sidebar-nav][data-reordering])>[data-sidebar-glide]{opacity:0}[data-sidebar-drop-line]{transform:translateY(var(--sidebar-line-top));z-index:2;pointer-events:none;height:2px;transition:transform calc(var(--sidebar-reorder-ms)*1ms) var(--spring-press);position:absolute;top:0;left:10px;right:10px}[data-sidebar-drop-line]>span{border-radius:var(--pill-radius);background:var(--ink);height:100%;display:block}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drop-line]>span{background:color-mix(in srgb,var(--ink) 15%,transparent)}}[data-sidebar-drop-line]>span{transform-origin:50%;transition:transform var(--motion-swap);transform:scaleX(1)}@starting-style{[data-sidebar-drop-line]>span{transform:scaleX(0)}}[data-sidebar-order-status]{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){[data-sidebar-nav] button{transition:none;translate:none}[data-sidebar-nav][data-reordering] button[data-dragging]{width:auto;box-shadow:none;position:static;transform:none;background:0 0!important}[data-sidebar-drop-line],[data-sidebar-drop-line]>span{transition:none}@starting-style{[data-sidebar-drop-line]>span{transform:none}}}.peach-guide-center,.peach-guide-popover{--gradient-button-primary-default:linear-gradient(var(--ink), var(--ink));--gradient-button-primary-hover:linear-gradient(var(--ink), var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-guide-center,.peach-guide-popover{--gradient-button-primary-hover:linear-gradient(color-mix(in srgb, var(--ink) 88%, var(--ground)), color-mix(in srgb, var(--ink) 88%, var(--ground)))}}.peach-guide-center,.peach-guide-popover{--gradient-button-primary-active:var(--gradient-button-primary-hover);--gradient-button-primary-disabled:linear-gradient(var(--surface), var(--surface));--color-button-primary-disabled-foreground:var(--muted);--color-button-ghost-background:transparent;--color-button-ghost-foreground:var(--muted);--color-button-ghost-hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-guide-center,.peach-guide-popover{--color-button-ghost-hover:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-guide-center,.peach-guide-popover{--color-button-ghost-active:var(--color-button-ghost-hover)}:is(.peach-guide-center,.peach-guide-popover) .bg-button-primary:not(:disabled):not([aria-disabled=true]){color:var(--ground)}.peach-guide-center{border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:min(680px,100vw - 32px);height:min(740px,100dvh - 32px);max-height:min(740px,100dvh - 32px);color:var(--ink);box-shadow:var(--elevation-dropdown);padding:0;overflow:hidden}.peach-guide-center>[role=dialog]{height:100%;max-height:inherit;overflow:hidden}.peach-guide-topic-icon{width:var(--control-h);height:var(--control-h);border-radius:var(--control-radius);background:var(--color-background-tertiary-default);color:var(--color-text-primary);flex:none;justify-content:center;align-items:center;display:inline-flex}.peach-guide-topics{flex-direction:column;display:flex}.peach-guide-topic{border-bottom:1px solid var(--line-soft)}.peach-guide-topic:last-child{border-bottom:0}.peach-guide-topic summary{gap:12px;padding:12px 0}.peach-guide-topic-chapters{margin:-8px -12px 12px}.peach-guide-scroll-frame{flex:1;min-height:0;display:flex;position:relative}.peach-guide-body{overscroll-behavior:contain;flex:1;min-height:0;padding:4px 24px 24px;overflow:auto}.peach-guide-chapters{flex-direction:column;gap:4px;margin-inline:-12px;display:flex}.peach-guide-routes{margin:0;padding:0;list-style:none}.peach-guide-routes>li,.peach-guide-routes>div{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.peach-guide-routes>:first-child{padding-top:0}.peach-guide-routes>:last-child{border-bottom:0}.peach-guide-routes strong{font-size:var(--fs-md);font-weight:500;line-height:1.5}.peach-guide-routes p{font-size:var(--fs-sm);color:var(--muted);margin-top:4px;line-height:1.5}.peach-guide-routes button{flex:none}#tutorialBtn[hidden]{display:none}.driver-popover.peach-guide-popover{border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:min(360px,100vw - 24px);min-width:0;max-width:calc(100vw - 24px);color:var(--ink);box-shadow:var(--elevation-dropdown);font-family:var(--font-sans);padding:0}.peach-guide-popover-content{border-radius:inherit;flex-direction:column;max-height:calc(100dvh - 24px);display:flex;overflow:hidden}.peach-guide-step-frame{min-height:0;position:relative}.peach-guide-step-body{overscroll-behavior:contain;max-height:calc(100dvh - 170px);overflow:auto}.peach-guide-popover .driver-popover-arrow-side-top{border-top-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-bottom{border-bottom-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-left{border-left-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-right{border-right-color:var(--ground)}.driver-overlay,.driver-active .driver-active-element{z-index:var(--layer-popover)!important}.driver-popover.peach-guide-popover{z-index:var(--layer-tooltip)!important}[data-player-guide] .vjs-control-bar{opacity:1!important;visibility:visible!important;display:flex!important}[data-player-guide] .vjs-big-play-button{display:none!important}@media (width<=600px){.peach-guide-center{width:calc(100vw - 16px)}[data-modal-kind=tutorial]{padding:8px}.peach-guide-center header,.peach-guide-tools{padding-left:16px;padding-right:16px}.peach-guide-body{padding:4px 16px 16px}.peach-guide-chapters{margin-inline:-8px}.peach-guide-chapters>button{padding-inline:8px}.peach-guide-routes>li,.peach-guide-routes>div{grid-template-columns:var(--control-h) minmax(0, 1fr);align-items:start;gap:12px;display:grid}.peach-guide-routes button{grid-column:2;justify-self:start}}:where(.peach-react label[data-rac]:has(>span>input:is([type=radio],[type=checkbox]))){position:relative}:root{--font-inter:"Inter Variable", "Inter";--font-sans:var(--font-inter), "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"}:lang(ja){font-family:var(--font-inter), "Yu Gothic UI", "Meiryo UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", "Noto Sans JP", "Source Han Sans JP", ui-sans-serif, system-ui, sans-serif}.peach-react [data-long-text]{text-wrap:pretty;hanging-punctuation:allow-end;line-height:1.75}.peach-react [data-long-text]:not(:lang(en)){text-align:justify}:root{--icon-inline:1.2em;--control-h-inline:28px;--control-h-compact:32px;--control-h:36px;--control-h-large:40px;--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;text-autospace: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 :is([class~=overflow-x-auto],[data-horizontal-scroll]){scrollbar-width:none}.peach-react :is([class~=overflow-x-auto],[data-horizontal-scroll])::-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],[data-icon-state=a]>.iconswap:not([data-icon-state])>[data-icon=a],[data-icon-state=b]>.iconswap:not([data-icon-state])>[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],[data-icon-state=a]>.iconswap:not([data-icon-state])>[data-icon=b],[data-icon-state=b]>.iconswap:not([data-icon-state])>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}.iconswap[data-motion-instant]>[data-icon]{transition:none}@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.iconwide.iconwide{width:auto!important}svg.ui-externalmark{width:var(--icon-inline,1.2em);height:var(--icon-inline,1.2em);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center}.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{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.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}}fieldset.iconswitch-text{justify-self:start;display:inline-flex}fieldset.iconswitch-text label{white-space:nowrap;width:auto;min-width:52px;padding-inline:10px}.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}.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}.ui-geist-modal[open]{flex-direction:column;display:flex}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-header{flex:none;padding:20px 20px 0}.ui-geist-modal-header h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-scroll{flex:1;min-width:0;min-height:0;display:flex;position:relative}.ui-geist-modal-body{overscroll-behavior:contain;min-width:0;min-height:0;font-size:var(--fs-md);color:var(--ink-2);flex:1;padding:8px 20px 20px;line-height:20px;overflow:auto}.ui-geist-modal footer{flex:none}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.ui-geist-modal-body>p:first-child{margin-top:0}.ui-geist-modal-body [data-modal-error]:not(:empty){margin-top:12px}.ui-geist-modal-list{min-width:0;margin-top:12px;position:relative}.ui-geist-modal-list>ul{box-sizing:border-box;overscroll-behavior:contain;overflow-wrap:anywhere;max-height:min(320px,32dvh);margin:0;padding:4px 16px 4px 20px;list-style:outside;overflow:auto}.ui-geist-modal-list>ul>li{padding:4px 0}.ui-geist-modal-list>ul:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.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-follow-skeleton-toolbar button:has(>[data-compact-label])>svg{width:1.25rem;height:1.25rem}}.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-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:inherit;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%}.peach-react :is([data-entity-state],[data-media-view])[data-skeleton-control][aria-pressed=true]{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-entity-state][data-skeleton-control][aria-pressed=true]{border-radius:8px}[data-skeleton] [data-hero-costar-name][class~=skeleton]{width:52px;height:1lh}@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}img.ui-hvframes[hidden]{display:none}.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}.peach-react .ui-configuration-skeleton-input{border-radius:var(--control-radius);width:100%;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{width:var(--icon-inline);height:var(--icon-inline);vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;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{top:calc(var(--topH) + 8px);z-index:1;max-height:calc(100dvh - var(--topH) - 16px);overscroll-behavior:contain;border:0;border-radius:0;flex-direction:column;grid-area:1/1;align-self:start;align-items:stretch;margin:0;padding:0;display:flex;position:sticky;overflow-y:auto}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){flex-direction:column;align-items:stretch;gap:20px;display:flex}body #stats .ui-configpage>.ui-board-local-nav{background:var(--page);flex-flow:wrap;align-self:stretch;max-height:none;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}.peach-react :is(.ui-settings-rows,.ui-settings-facts)+:is(.ui-settings-rows,.ui-settings-facts){border-top:1px solid var(--color-separator-border)}.processing-effort-panel{width:256px;max-width:calc(100vw - 64px)}.processing-effort-scale{grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;display:grid}.processing-effort-scale>span{white-space:nowrap;align-items:center;gap:4px;display:flex}.processing-effort-scale>span[data-selected]{color:var(--color-text-primary)}.processing-effort-trigger{display:inline-flex}.processing-effort-scale>span:last-child[data-selected],.processing-effort-trigger[data-speed=high]>button:not([aria-disabled=true]){color:var(--color-accent-600)}.processing-effort-scale>span:nth-child(2){justify-self:center}.processing-effort-scale>span:last-child{justify-self:end}.processing-effort-double{flex-shrink:0;width:22px;height:16px}@media (hover:hover){.processing-effort-trigger:hover{--processing-effort-icon-background:var(--color-background-primary-hover)}}.processing-effort-trigger:active{--processing-effort-icon-background:var(--color-background-primary-active)}.processing-effort-trigger>button:is([aria-disabled=true],:disabled){--processing-effort-icon-background:var(--color-background-primary-disabled)}.processing-effort-label{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.processing-effort-track{border-radius:var(--control-radius);background:var(--color-background-secondary-default);height:27px;position:relative;overflow:hidden}.processing-effort-fill{width:var(--effort-fill);border-radius:inherit;background:var(--color-background-tertiary-hover);height:100%}.processing-effort-stops{justify-content:space-between;display:flex;position:absolute;inset:7px 9px}.processing-effort-stops i{background:var(--color-foreground-icon-tertiary);border-radius:var(--badge-radius);width:3px}.processing-effort-hit{touch-action:none;inset:0 10.5px;position:absolute!important}.processing-effort-thumb{border:1px solid var(--color-border-checkbox-default);border-radius:var(--control-radius);background:var(--color-background-primary-default);width:21px;height:27px;box-shadow:var(--elevation-xs);cursor:grab;outline:none;top:50%}.processing-effort-thumb[data-focus-visible]{outline:2px solid var(--color-border-focus-ring);outline-offset:-2px}.processing-effort-thumb[data-dragging]{cursor:grabbing}.processing-effort-slider[data-disabled]{opacity:.6}[data-effort-flow]{pointer-events:none;background:oklch(28.2% .091 267.935);position:absolute;inset:0}@supports (color:color-mix(in lab, red, red)){[data-effort-flow]{background:color-mix(in srgb,var(--color-accent-950) 80%,var(--color-background-primary-default))}}[data-effort-flow]{overflow:hidden}[data-effort-flow] svg{width:100%;height:100%;animation:1s linear infinite processing-flow-wave}.processing-flow-outer{fill:var(--color-accent-500)}.processing-flow-middle{fill:var(--color-accent-300)}.processing-flow-core{fill:var(--color-accent-50)}[data-effort-flow] i{right:0;top:var(--particle-y);background:var(--color-text-white);opacity:0;width:4px;height:1px;animation:1s linear infinite processing-flow-particle;animation-delay:var(--particle-delay);position:absolute}[data-effort-flow][data-motion=paused] :is(svg,i){animation-play-state:paused}@keyframes processing-flow-wave{0%,to{transform:scaleY(1)}50%{transform:scaleY(.72)}}@keyframes processing-flow-particle{0%{opacity:0;transform:translate(0)}15%{opacity:.6}to{opacity:0;transform:translate(-240px)}}.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)}[data-async-text-value][aria-hidden=true],[data-async-text-skeleton]{opacity:0}[data-async-text][aria-busy=true]>[data-async-text-skeleton]{opacity:1}.dark .peach-react [data-link-result=gone] [data-link-code],.dark .peach-react [data-status-tone=error]{color:var(--color-text-error-primary)}.peach-react [data-source-mark=rss]{color:var(--feed-mark)}@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 [data-content-transition]{min-width:0;display:grid;position:relative}.peach-react [data-content-transition]>:is([data-content-current],[data-content-skeleton]){min-width:0;transition:opacity var(--motion-content), visibility var(--motion-content);grid-area:1/1}.peach-react [data-content-current]{opacity:1}.peach-react [data-content-skeleton]{opacity:0;visibility:hidden;pointer-events:none;position:absolute;inset:0}.peach-react [data-content-transition][data-pending]>[data-content-current]{opacity:0}.peach-react [data-content-transition][data-pending]>[data-content-skeleton]{opacity:1;visibility:visible;position:relative}.peach-react :is([data-async-text-value],[data-async-text-skeleton]){transition:opacity var(--motion-content)}@starting-style{.peach-react [data-content-transition][data-pending]>[data-content-skeleton]{opacity:0}}.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)}@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:var(--selection-dock-space,96px)}html:has([data-selection-dock]){scroll-padding-bottom:var(--selection-dock-space,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-error-details-toggle]{font:var(--board-compact);color:var(--ink-2);background:0 0}.peach-react [data-error-details-toggle]:hover:not(:disabled,[aria-disabled=true]){background:var(--control-hover);color:var(--ink)}.peach-react [data-error-details-toggle]:active:not(:disabled,[aria-disabled=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 .button-press-motion:has(>span)>svg,.peach-react .underline-offset-3>svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react [data-filter-glass] :is(button,a[aria-pressed],[data-glass-segment]){height:var(--control-h-compact);min-height:var(--control-h-compact)}.peach-react [data-filter-glass] .tag-skeleton-view{height:var(--control-h-compact);background:0 0;border:0;gap:2px;padding:0}.peach-react [data-filter-glass] .tag-skeleton-view>label{width:var(--control-h-compact);height:var(--control-h-compact);min-height:var(--control-h-compact);border-radius:8px;padding:0}.peach-react [data-filter-glass] .tag-skeleton-view svg{width:16px;height:16px}.peach-react button[data-filter-action]{width:var(--control-h-compact);min-width:var(--control-h-compact);height:var(--control-h-compact);min-height:var(--control-h-compact);border-radius:var(--control-radius);background:var(--board-blue);box-shadow:var(--elevation-xs);color:#fff;border:0;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.peach-react button[data-filter-action]:hover{background:var(--board-blue-hover);color:#fff}.peach-react button[data-filter-action] svg{width:16px;height:16px}.peach-react button[data-filter-action][aria-busy=true]{cursor:wait}:is(.peach-react [data-index-head],.peach-react[data-index-head]) button:is([data-filter-action],[data-tag-mode]){width:var(--control-h);min-width:var(--control-h);height:var(--control-h);min-height:var(--control-h);border-radius:var(--control-radius);padding:0}.peach-react button[data-tag-mode] svg{width:16px;height:16px}.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-token]{border-radius:var(--control-radius);border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-token]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-token]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-token] :is([data-entity-action],[data-tag-chip]){border-radius:calc(var(--control-radius) - 4px)}.peach-react [data-tag-token] [data-entity-action]{background:0 0;border-color:#0000;width:24px;height:24px}.peach-react [data-tag-token] [data-entity-action]:is(:hover,[data-hovered]){background:var(--hover)}.peach-react [data-tag-token]:has([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}.peach-react [data-trigger=Select]{min-width:var(--trigger-width)}@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}[data-responsive-toolbar]{flex-wrap:wrap;align-items:center;gap:8px;display:flex}[data-toolbar-heading]{flex-direction:column;min-width:0;max-width:100%;margin-inline-end:auto;display:flex}[data-toolbar-actions]{flex-wrap:wrap;flex:none;align-items:center;gap:8px;width:max-content;max-width:100%;display:flex}[data-pagination-layout]{grid-template-columns:auto minmax(0,1fr) auto}.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-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}@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:""}@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{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;flex:none;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body[data-batch-dock-open] :is(#grid,[data-stage]){padding-bottom:var(--selection-dock-space,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-pill-thumb]{transform:translate(var(--pill-left),var(--pill-top));width:var(--pill-width);height:var(--pill-height);transition:transform .3s cubic-bezier(.34,1.2,.64,1),width .3s cubic-bezier(.34,1.2,.64,1),height .3s cubic-bezier(.34,1.2,.64,1)}[data-pill-nav]{isolation:isolate;position:relative}[data-pill-nav]>[data-pill-thumb]{pointer-events:none;z-index:0;background:var(--hover);border-radius:var(--control-radius);transition:transform .3s cubic-bezier(.34,1.2,.64,1),width .3s cubic-bezier(.34,1.2,.64,1),height .3s cubic-bezier(.34,1.2,.64,1);position:absolute;top:0;left:0}[data-pill-nav]>:is(button,[role=tab]){z-index:1;position:relative}[data-pill-nav]:has(>[data-pill-thumb])>[data-pill-selected],body #stats [data-section-items][data-pill-nav]:has(>[data-pill-thumb])>[data-pill-selected],[data-manage-menu][data-pill-nav]:has(>[data-pill-thumb])>button[aria-pressed=true]{background:0 0}.peach-react [data-search-tabs][data-pill-nav]>[data-pill-thumb]{background:var(--picked)}.peach-react [data-search-tabs][data-pill-nav]:has(>[data-pill-thumb])>button[data-pill-selected]{background:0 0}@media (prefers-reduced-motion:reduce){[data-pill-nav]>[data-pill-thumb]{transition:none}}[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{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}[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 [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg,.peach-react [data-entity-batch][aria-busy=true] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-filter-glass]>[data-filter-row=bottom]{overflow-y:hidden}button[data-settings-dialog-close]{background:var(--surface);width:24px;height:24px;color:var(--muted);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}button[data-settings-dialog-close]:hover{background:var(--hover);color:var(--ink)}button[data-settings-dialog-close]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}button[data-settings-dialog-close] svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react :is([data-namepick-toggle],[data-entity-action]){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-entity-action]):is(:hover,[data-hovered]){background:var(--hover);color:var(--ink)}.peach-react :is([data-namepick-toggle],[data-entity-action]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-namepick-toggle],[data-entity-action]) 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-entry]{flex:none;display:inline-flex}.peach-react [data-modal-width=collections]{background:var(--page);border-color:var(--line);flex:none;width:871px;max-width:calc(100vw - 32px)}.peach-react [data-modal-width=collections]>[role=dialog]{flex:1}.peach-react [data-modal-kind=collections]{transition:none}.peach-react [data-modal-kind=collections][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}.peach-react [data-modal-kind=collections][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}.peach-react [data-modal-kind=collections] [data-modal-surface]{transition:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;transform:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-out;transform:none}.peach-react [data-modal-kind=collections][data-motion-instant],.peach-react [data-modal-kind=collections][data-motion-instant] [data-modal-surface]{animation:none}.peach-react [data-shortcuts-panel]{flex:1;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);min-height:0;display:grid}.peach-react [data-shortcuts-head]{grid-column:2;justify-content:space-between;align-items:center;gap:12px;padding:32px 32px 24px;display:flex}.peach-react [data-shortcuts-head] h2{font-size:var(--fs-xl);font-weight:500;line-height:26px}.peach-react [data-shortcuts-sidebar]{min-height:0;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);border:0;flex-direction:column;grid-area:1/1/3;padding:10px;display:flex}.peach-react [data-shortcuts-categories]{scrollbar-width:none;flex-direction:column;flex:1;gap:4px;min-height:0;margin-inline:-10px;padding-inline:10px;display:flex;position:relative;overflow-y:auto}.peach-react [data-shortcuts-caption]{z-index:1;font-size:var(--fs-xs);color:var(--muted);margin:0;padding:4px 8px 8px;position:relative}.peach-react [data-shortcuts-categories]>button{z-index:1;border-radius:var(--control-radius);min-height:36px;color:color-mix(in srgb, var(--glass-text) 65%, transparent);font:var(--board-body-medium);text-align:left;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:8px;padding:8px;display:flex;position:relative}.peach-react [data-shortcuts-categories]>button:is(:hover,[aria-selected=true]){color:var(--glass-text);background:0 0}.peach-react :is([data-shortcuts-categories],[data-shortcuts-footer]) svg{color:var(--glass-text)}.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-footer]{flex-direction:column;gap:4px;display:flex}.peach-react [data-shortcuts-footer] a{width:100%;font-family:var(--board-font);background:0 0;line-height:20px}.peach-react [data-shortcuts-footer] a:hover{background:0 0}.peach-react [data-shortcuts-footer] a>svg:last-child{margin-left:auto}.peach-react [data-shortcuts-footer] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-footer] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor}.peach-react [data-shortcuts-content]{grid-column:2;padding:16px 32px 32px}.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]{background:var(--hover);width:36px;height:36px;color:var(--muted);border-radius:50%;flex:none;place-items:center;display:grid;overflow:hidden}.peach-react [data-shortcuts-avatar] img{object-fit:cover;width:100%;height:100%}.peach-react [data-shortcuts-avatar]:has(img)>svg{display:none}@media (width<=760px){.peach-react [data-modal-width=collections]{width:calc(100vw - 24px);max-width:calc(100vw - 24px)}.peach-react [data-shortcuts-panel]{flex-direction:column;display:flex}.peach-react [data-shortcuts-sidebar]{display:contents}.peach-react [data-shortcuts-categories]{border-bottom:1px solid var(--border-10);flex-direction:row;flex:none;order:0;margin-inline:0;padding:10px;overflow-x:auto}.peach-react [data-shortcuts-caption]{white-space:nowrap;flex:none;align-self:center;padding:0 8px 0 0}.peach-react [data-shortcuts-categories]>button{white-space:nowrap}.peach-react [data-shortcuts-head]{order:1;padding:16px 20px 12px}.peach-react [data-shortcuts-content]{flex:1;order:2;padding:16px 20px 20px}.peach-react [data-shortcuts-footer]{flex-direction:row;flex:none;order:3;padding:10px}}.peach-react [data-collapse-chevron]{transition:transform var(--motion-swap);transform:rotate(0)}.peach-react :is(button,summary)[aria-expanded=true]>[data-collapse-chevron],.peach-react [data-collapse-upward][aria-expanded=false]>[data-collapse-chevron]{transform:rotate(180deg)}.peach-react [data-collapse-upward][aria-expanded=true]>[data-collapse-chevron]{transform:rotate(0)}html[data-wall-entry] body,body[data-wall-open]{background:#070707;overflow:hidden}html[data-wall-entry] :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew),body[data-wall-open] :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew){visibility:hidden;pointer-events:none}:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew),:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew) *,:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew) :before,:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew) :after{animation-play-state:paused!important}.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-board-data-table][data-resizable-table] .bui-table{table-layout:fixed}.peach-react [data-board-data-table][data-resizable-table] th{padding-right:16px;position:relative}.peach-react [data-board-data-table][data-resizable-table] td{text-overflow:ellipsis;overflow:hidden}.peach-react [data-board-data-table][data-resizable-table] [data-table-space]{padding:0}.peach-react [data-board-data-table] td a{align-self:flex-start;width:fit-content;max-width:100%}.peach-react [data-board-data-table] td a:has(>[data-middle-truncate]){width:100%}.peach-react [data-board-data-table] .react-aria-ColumnResizer{cursor:col-resize;touch-action:none;width:12px;position:absolute;top:0;bottom:0;right:0}.peach-react [data-board-data-table] .react-aria-ColumnResizer:after{content:"";background:var(--border-15);width:1px;position:absolute;top:8px;bottom:8px;left:5px}.peach-react [data-board-data-table] .react-aria-ColumnResizer:is([data-hovered],[data-resizing],[data-focus-visible]):after{background:var(--ink)}.peach-react [data-board-data-table] .react-aria-ColumnResizer[data-focus-visible]{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-rating-stars]{align-items:center;gap:2px;display:inline-flex}.peach-react [data-rating-stars] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-rating-stars] button[data-rate]{cursor:pointer}.peach-react [data-rating-stars] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-rating-stars] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-rating-stars]:hover button[data-rate] svg{fill:none}.peach-react [data-rating-stars]:hover button[data-rate]:hover svg,.peach-react [data-rating-stars]:hover button[data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-rating-stars] button[data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-rating-stars] button[aria-disabled=true]{color:var(--muted);cursor:wait}.peach-react [data-rating-icon]{width:19px;height:19px;display:block;position:relative}.peach-react [data-rating-icon] svg{display:block;position:absolute;inset:0}.peach-react [data-rating-fill]{position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-rating-fill] svg{fill:currentColor;max-width:none}.peach-react [data-catalog-table] .bui-table :is(th,td){border-radius:0}.peach-react [data-catalog-table] .bui-table td{text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums;overflow:hidden}.peach-react [data-catalog-rating]{white-space:normal;flex-direction:column;align-items:stretch;gap:8px;display:flex}.peach-react [data-catalog-rating] [data-rating-stars]{align-self:flex-start}.peach-react [data-catalog-table] [data-list-identity]{align-items:center;gap:12px;min-width:0;padding:12px 0;display:flex;position:relative}.peach-react [data-catalog-table] [data-list-open]{cursor:pointer;background:0 0;border:0;flex:none;margin-right:4px;padding:0;display:flex}.peach-react [data-catalog-table] [data-list-identity]>[data-media-avatar]{margin-top:0}.peach-react [data-catalog-table] button[data-list-name]{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-catalog-table] [data-list-picture] [data-media-group]{border-radius:6px;min-height:0;padding:1px 6px;font-size:11px;top:4px;right:4px}.peach-react [data-catalog-table] [data-list-picture]{border-radius:var(--control-radius);background:var(--sunk);width:112px;height:63px;color:var(--muted);font-size:var(--fs-sm);flex:none;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-catalog-table] [data-list-picture] [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-catalog-table] [data-list-picture] :is(img,video){width:100%;height:100%}.peach-react [data-catalog-table] [data-list-picture] :is(img:not([data-jav-image]),video){object-fit:cover}.peach-react [data-catalog-table] [data-list-text]{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.peach-react [data-catalog-table] [data-list-name]{white-space:normal;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-width:0;line-height:1.4;display:-webkit-box;overflow:hidden}.peach-react [data-catalog-table] [data-list-identity]:has([data-list-open]:hover,[data-list-name]:hover) [data-list-name]{text-decoration:underline}.peach-react [data-catalog-table] [data-list-byline]{white-space:nowrap;min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;display:flex;overflow:hidden}.peach-react [data-catalog-table] [data-list-byline]>*{flex:none}.peach-react [data-catalog-table] [data-list-byline]>[data-media-who]{flex:0 auto;min-width:0}.peach-react [data-catalog-table] [data-list-byline] [data-media-who] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;flex:none}.peach-react [data-catalog-table] [data-list-library]{color:var(--ink-2);align-items:center;gap:4px;display:inline-flex}.peach-react [data-catalog-table] [data-catalog-row][data-library]>td{background:color-mix(in oklab, var(--library-color) 9%, transparent)}[data-theme=dark] .peach-react [data-catalog-table] [data-catalog-row][data-library]>td{background:color-mix(in oklab, var(--library-color) 13%, transparent)}.peach-react [data-catalog-table] [data-list-picture] [data-media-status]{gap:4px;bottom:4px;left:4px}.peach-react [data-catalog-table] [data-list-picture] [data-media-status]>span{width:20px;height:20px}.peach-react [data-catalog-table] [data-list-picture] [data-media-status] svg{width:11px;height:11px}.peach-react [data-catalog-table] [data-list-tags]{height:auto;max-height:calc(var(--control-h-inline) * 2 + 13px);white-space:normal}.peach-react [data-catalog-table] [data-list-tags] [data-media-tag]{box-sizing:border-box;height:var(--control-h-inline);line-height:calc(var(--control-h-inline) - 2px);padding-block:0}.peach-react [data-list-skeleton]{flex-direction:column;gap:16px;display:flex}.peach-react [data-list-skeleton-tools]{justify-content:flex-end;display:flex}.peach-react [data-list-skeleton-tools]>i{border-radius:var(--control-radius);width:312px;max-width:100%;height:36px;display:block}.peach-react [data-completion-skeleton]{height:calc(var(--control-h) + 16px);border-radius:var(--radius-2lg,10px);display:block}.peach-react [data-list-skeleton-name]{align-items:center;gap:12px;padding:12px 0;display:flex}.peach-react [data-list-skeleton-name]>i{border-radius:var(--control-radius);flex:none;width:112px;height:63px;margin-right:4px}.peach-react [data-list-skeleton-name]>b{border-radius:50%;flex:none;width:38px;height:38px}.peach-react [data-list-skeleton-name]>span{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.peach-react [data-list-skeleton-name]>span>i{border-radius:6px;width:72%;height:14px;display:block}.peach-react [data-list-skeleton-name]>span>i+i{width:44%;height:12px}.peach-react [data-list-skeleton-bar]{border-radius:6px;width:min(72%,96px);height:14px;display:block}[data-skeleton=catalog\/list]{grid-column:1/-1}@media (width<=760px){.peach-react [data-catalog-table] .bui-table :is(th,td):first-child,.peach-react [data-catalog-table] .bui-table :is(th,td):nth-child(2){padding-inline:8px}.peach-react [data-catalog-table] [data-list-open]{gap:12px}.peach-react [data-catalog-table] [data-list-picture]{width:80px;height:45px}}.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-media-indicator]{z-index:4;box-sizing:border-box;width:max-content;max-width:min(180px, calc(100% - var(--media-dot-room)));border-radius:var(--pill-radius);background:#00000080;border:0;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-media-carousel] [data-follow-image-dots]{justify-content:flex-start;align-items:center;gap:var(--media-dot-gap);box-sizing:border-box;width:max-content;max-width:100%;padding:8px var(--media-dot-padding);overscroll-behavior-inline:contain;scrollbar-width:none;scroll-padding-inline:var(--media-dot-padding);display:flex;overflow:auto hidden}.peach-react [data-media-carousel] [data-follow-image-dots]::-webkit-scrollbar{display:none}.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]{--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] [data-media-indicator]{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:color-mix(in srgb, var(--on-media) 8%, transparent);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:color-mix(in srgb, var(--on-media) 16%, transparent)}.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-media-indicator]{bottom:12px}}.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}}.driver-layer{width:auto;max-width:none;height:auto;max-height:none;color:inherit;pointer-events:none;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:0;overflow:visible}.driver-layer::backdrop{display:none}.driver-layer .driver-popover{pointer-events:auto}.driver-popover{all:unset;font-family:var(--driver-popover-font-family,"Helvetica Neue", Inter, ui-sans-serif, "Apple Color Emoji", Helvetica, Arial, sans-serif);box-sizing:border-box;color:#2d2d2d;z-index:1000000000;background-color:#fff;border-radius:5px;min-width:250px;max-width:300px;margin:0;padding:15px;position:fixed;top:0;right:0;box-shadow:0 1px 10px #0006}.driver-popover-title{zoom:1;margin:0;font-size:19px;font-weight:700;line-height:1.5;display:block;position:relative}.driver-popover-close-btn{all:unset;cursor:pointer;color:#d2d2d2;z-index:1;text-align:center;width:32px;height:28px;font-size:18px;font-weight:500;transition:color .2s;position:absolute;top:0;right:0}.driver-popover-close-btn:hover,.driver-popover-close-btn:focus-visible{color:#2d2d2d}.driver-popover-title[style*=block]+.driver-popover-description{margin-top:5px}.driver-popover-description{zoom:1;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.5}.driver-popover-footer{text-align:right;zoom:1;justify-content:space-between;align-items:center;margin-top:15px;display:flex}.driver-popover-progress-text{color:#727272;zoom:1;font-size:13px;font-weight:400}.driver-popover-footer-btn{all:unset;box-sizing:border-box;color:#2d2d2d;cursor:pointer;zoom:1;background-color:#fff;border:1px solid #ccc;border-radius:3px;outline:0;padding:3px 7px;font-size:12px;line-height:1.3;text-decoration:none;display:inline-block}.driver-popover-footer .driver-popover-btn-disabled{opacity:.5;pointer-events:none}.driver-popover-footer-btn:hover,.driver-popover-footer-btn:focus{background-color:#f7f7f7}.driver-popover-navigation-btns{flex-grow:1;justify-content:flex-end;display:flex}.driver-popover-navigation-btns button+button{margin-left:4px}.driver-popover-arrow{content:"";border:5px solid #fff;position:absolute}.driver-popover-arrow-side-over{display:none}.driver-popover-arrow-side-left{border-top-color:#0000;border-bottom-color:#0000;border-right-color:#0000;left:100%}.driver-popover-arrow-side-right{border-top-color:#0000;border-bottom-color:#0000;border-left-color:#0000;right:100%}.driver-popover-arrow-side-top{border-bottom-color:#0000;border-left-color:#0000;border-right-color:#0000;top:100%}.driver-popover-arrow-side-bottom{border-top-color:#0000;border-left-color:#0000;border-right-color:#0000;bottom:100%}.driver-popover-arrow-side-center,.driver-popover-arrow-none{display:none}.driver-active .driver-overlay{pointer-events:none}.driver-active.driver-no-scroll{overflow:hidden}.driver-active *{pointer-events:none}.driver-active .driver-active-element,.driver-active .driver-active-element *,.driver-popover,.driver-popover *{pointer-events:auto}@keyframes animate-fade-in{0%{opacity:0}to{opacity:1}}.driver-fade .driver-overlay{animation:animate-fade-in var(--driver-animation-duration,.4s) ease-in-out}.driver-fade .driver-popover{animation:animate-fade-in var(--driver-animation-duration,.4s)}.driver-active-element-parent-no-scroll{overflow:hidden!important}.driver-no-interaction,.driver-no-interaction *{pointer-events:none!important}[data-connection-tone=neutral]>[aria-hidden]{background-color:var(--color-background-tertiary-default)}[data-connection-tone=neutral]>[aria-hidden]>span{background-color:var(--color-text-tertiary)}[data-connection-tone=error]>[aria-hidden]{background-color:var(--color-notification-error-background)}[data-connection-tone=error]>[aria-hidden]>span{background-color:var(--color-text-error-primary)}@keyframes peach-link-blink{0%,to{opacity:1}50%{opacity:.25}}.peach-react [data-link-check][aria-busy=true] [data-link-check-rays]{animation:1.2s ease-in-out infinite peach-link-blink}.peach-react [data-policy-matrix]{border-collapse:collapse;width:100%;max-width:560px;color:var(--ink-2);margin-top:4px}.peach-react [data-policy-matrix] :is(th,td){border-bottom:1px solid var(--line-soft);text-align:center;padding:6px 8px;font-weight:400}.peach-react [data-policy-matrix] thead th{color:var(--muted)}.peach-react [data-policy-matrix] tbody th{text-align:left;color:var(--ink-2)}.peach-react [data-policy-matrix] [data-policy-cell=on]{color:var(--ink)}.peach-react [data-policy-matrix] [data-policy-cell=off]{color:var(--muted)}.peach-react [data-policy-matrix] tr:last-child>*{border-bottom:0}.peach-react [data-library-head]{border-bottom:1px solid var(--color-border-button-default);flex-wrap:wrap;align-items:center;gap:12px;padding:10px 8px;display:flex}.peach-react [data-library-head]>*{min-width:0;max-width:100%}.peach-react [data-library-head]>:nth-child(2){flex:180px;width:auto}.peach-react [data-library-head]>:last-child{flex:200px;width:auto}.peach-react [data-library-head]>:is(:first-child,:nth-child(3)){flex-shrink:0}.peach-react [data-library-block]>:not([data-library-head],[data-library-folders]){padding:10px 8px 0}.peach-react [data-library-folders]{flex-direction:column;display:flex}.peach-react [data-library-folders]>*{padding:12px 8px}.peach-react [data-library-folders]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-library-folders]>[data-folder-row]{background:0 0;border-width:0;border-radius:0}.peach-react [data-library-folders]>[data-folder-row]+*{border-top-width:1px}.peach-react [data-library-color-trigger]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:auto;height:36px;box-shadow:var(--shadow-xs);color:var(--color-text-primary);white-space:nowrap;border-radius:10px;gap:8px;padding:0 10px 0 7px;display:inline-flex}.peach-react [data-library-color-trigger]:hover{background:var(--color-background-primary-hover)}.peach-react [data-library-color-trigger] [data-glow-ball]{width:20px;height:20px}.peach-react [data-library-colors]{grid-template-columns:repeat(7,28px);padding:0}.peach-react [data-glow-ball][data-library-none]{--glow-chip:linear-gradient(135deg, transparent 46%, var(--color-text-tertiary) 46% 54%, transparent 54%), var(--color-background-tertiary-default)}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-app.js b/web/dist/peach-app.js
index baa7edf33..f94bea4a3 100644
--- a/web/dist/peach-app.js
+++ b/web/dist/peach-app.js
@@ -2,7 +2,7 @@
(function() {
try {
var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "910b7443-a1a8-4395-ae58-02cc4c28ad22", e._sentryDebugIdIdentifier = "sentry-dbid-910b7443-a1a8-4395-ae58-02cc4c28ad22");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "28f33970-e59c-45f5-916c-310b08bda0f0", e._sentryDebugIdIdentifier = "sentry-dbid-28f33970-e59c-45f5-916c-310b08bda0f0");
} catch {}
})();
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports), s = (e, n) => {
@@ -18940,7 +18940,7 @@ function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
}, this.updateProjection = () => {
- this.projectionUpdateScheduled = !1, this.nodes.forEach(ab), this.nodes.forEach(Hne), this.nodes.forEach(Une), this.nodes.forEach(ob), _y.countProjection?.();
+ this.projectionUpdateScheduled = !1, this.nodes.forEach(Ine), this.nodes.forEach(Une), this.nodes.forEach(Wne), this.nodes.forEach(ab), _y.countProjection?.();
}, this.resolvedRelativeTargetAt = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = e, this.root = n ? n.root || n : this, this.path = n ? [...n.path, n] : [], this.parent = n, this.depth = n ? n.depth + 1 : 0;
for (let e = 0; e < this.path.length; e++) this.path[e].shouldResetTransform = !0;
this.root === this && (this.nodes = new jne());
@@ -18964,7 +18964,7 @@ function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
r = window.innerWidth;
}), e(t, () => {
let e = window.innerWidth;
- e !== r && (r = e, this.root.updateBlockedByResize = !0, n?.(), n = lne(i, 250), Qy.hasAnimatedSinceResize && (Qy.hasAnimatedSinceResize = !1, this.nodes.forEach(lb)));
+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n?.(), n = lne(i, 250), Qy.hasAnimatedSinceResize && (Qy.hasAnimatedSinceResize = !1, this.nodes.forEach(cb)));
});
}
n && this.root.registerSharedNode(n, this), this.addLayoutListener();
@@ -18976,7 +18976,7 @@ function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.target = void 0, this.relativeTarget = void 0;
return;
}
- let a = this.options.transition || n.getDefaultTransition() || qne, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = n.getProps(), c = !this.targetLayout || !Ky(this.targetLayout, i), l = !t && r;
+ let a = this.options.transition || n.getDefaultTransition() || Jne, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = n.getProps(), c = !this.targetLayout || !Ky(this.targetLayout, i), l = !t && r;
if (this.options.layoutRoot || this.resumeFrom || l || t && (c || !this.currentAnimation)) {
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
let t = {
@@ -18985,7 +18985,7 @@ function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
onComplete: s
};
(n.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l, t.path);
- } else t || lb(this), this.isLead() && this.options.onExitComplete?.();
+ } else t || cb(this), this.isLead() && this.options.onExitComplete?.();
this.targetLayout = i;
}));
}
@@ -19002,7 +19002,7 @@ function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
return this.updateManuallyBlocked || this.updateBlockedByResize;
}
startUpdate() {
- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes?.forEach(Wne), this.animationId++);
+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes?.forEach(Gne), this.animationId++);
}
getTransformTemplate() {
let { visualElement: e } = this.options;
@@ -19027,14 +19027,14 @@ function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
update() {
if (this.updateScheduled = !1, this.isUpdateBlocked()) {
let e = this.updateBlockedByResize;
- this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Lne), this.nodes.forEach(sb);
+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Rne), this.nodes.forEach(ob);
return;
}
if (this.animationId <= this.animationCommitId) {
- this.nodes.forEach(cb);
+ this.nodes.forEach(sb);
return;
}
- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(zne), this.nodes.forEach(Bne), this.nodes.forEach(Vne), this.nodes.forEach(Pne), this.nodes.forEach(Fne)) : this.nodes.forEach(cb), this.clearAllSnapshots();
+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Bne), this.nodes.forEach(Vne), this.nodes.forEach(Hne), this.nodes.forEach(Pne), this.nodes.forEach(Fne)) : this.nodes.forEach(sb), this.clearAllSnapshots();
let e = $m.now();
Xm.delta = gm(0, 1e3 / 60, e - Xm.timestamp), Xm.timestamp = e, Xm.isProcessing = !0, hg.update.process(Xm), hg.preRender.process(Xm), hg.render.process(Xm), Xm.isProcessing = !1;
}
@@ -19042,7 +19042,7 @@ function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.updateScheduled || (this.updateScheduled = !0, my.read(this.scheduleUpdate));
}
clearAllSnapshots() {
- this.nodes.forEach(Ine), this.sharedNodes.forEach((e, t) => e.members.length ? e.removeLeadSnapshot() : this.sharedNodes.delete(t));
+ this.nodes.forEach(Lne), this.sharedNodes.forEach((e, t) => e.members.length ? e.removeLeadSnapshot() : this.sharedNodes.delete(t));
}
scheduleUpdateProjection() {
this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, pg.preRender(this.updateProjection, !1, !0));
@@ -19097,7 +19097,7 @@ function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
let { visualElement: e } = this.options;
if (!e) return Vy();
let t = e.measureViewportBox();
- if (!(this.scroll?.wasRoot || this.path.some(Jne))) {
+ if (!(this.scroll?.wasRoot || this.path.some(Yne))) {
let { scroll: e } = this.root;
e && (ly(t.x, e.offset.x), ly(t.y, e.offset.y));
}
@@ -19197,12 +19197,12 @@ function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
setAnimationOrigin(e, t = !1, n) {
let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = zy();
this.relativeParent && this.relativeParent.options.layoutRoot || (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;
- let s = Vy(), c = r?.source !== this.layout?.source, l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(Kne));
+ let s = Vy(), c = r?.source !== this.layout?.source, l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(qne));
this.animationProgress = 0;
let f, p = n?.interpolateProjection(e);
this.mixTargetDelta = (t) => {
let n = t / 1e3, r = p?.(n);
- ub(o.x, e.x, n), ub(o.y, e.y, n), r && (o.x.translate = r.x, o.y.translate = r.y), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (jy(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Gne(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Ene(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= Vy(), wy(f, this.relativeTarget)), c && (this.animationValues = a, pne(a, i, this.latestValues, n, d, u)), r?.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
+ lb(o.x, e.x, n), lb(o.y, e.y, n), r && (o.x.translate = r.x, o.y.translate = r.y), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (jy(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Kne(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Ene(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= Vy(), wy(f, this.relativeTarget)), c && (this.animationValues = a, pne(a, i, this.latestValues, n, d, u)), r?.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
}
startAnimation(e) {
@@ -19231,9 +19231,9 @@ function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
applyTransformsToTarget() {
let e = this.getLead(), { targetWithTransforms: t, layout: n, latestValues: r } = e, { target: i } = e;
if (t && i && n) {
- if (this !== e && this.layout && n && pb(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {
+ if (this !== e && this.layout && n && fb(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {
let { layoutBox: e } = this.layout, t = i;
- i = this.target || Vy(), fb(i.x, t.x, e.x), fb(i.y, t.y, e.y);
+ i = this.target || Vy(), db(i.x, t.x, e.x), db(i.y, t.y, e.y);
}
wy(t, i), fy(t, r), Oy(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);
}
@@ -19317,12 +19317,12 @@ function ib({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.resumeFrom = this.snapshot = this.dragSnapshot = this.dragAncestor = void 0;
}
resetTree() {
- this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(sb), this.root.sharedNodes.clear();
+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(ob), this.root.sharedNodes.clear();
}
};
}
function Pne(e) {
- e.updateLayout(), Rne(e);
+ e.updateLayout(), zne(e);
}
function Fne(e) {
let t = e.resumeFrom?.snapshot || e.snapshot;
@@ -19335,7 +19335,7 @@ function Fne(e) {
else if (i === "x" || i === "y") {
let e = i === "x" ? "y" : "x";
Cy(r[e], a[e]);
- } else pb(i, t.layoutBox, n) && Zy((t) => {
+ } else fb(i, t.layoutBox, n) && Zy((t) => {
let n = Ey(a[t]);
r[t].max = r[t].min + n, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[t].max = e.relativeTarget[t].min + n);
});
@@ -19366,65 +19366,65 @@ function Fne(e) {
} else e.isLead() && e.options.onExitComplete?.();
e.options.transition = void 0;
}
-function ab(e) {
+function Ine(e) {
_y.countProjection?.(0), e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
}
-function ob(e) {
+function ab(e) {
e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
}
-function Ine(e) {
+function Lne(e) {
e.clearSnapshot();
}
-function sb(e) {
+function ob(e) {
e.clearMeasurements();
}
-function Lne(e) {
+function Rne(e) {
e.isLayoutDirty = !0, e.updateLayout();
}
-function cb(e) {
+function sb(e) {
e.isLayoutDirty = !1;
}
-function Rne(e) {
+function zne(e) {
let { snapshot: t, dragAncestor: n } = e, r = n?.isAnimationBlocked && n.layout;
if (!t || !r || e.resumeFrom || e.isAnimationBlocked) return;
let i = n.dragSnapshot;
Zy((e) => ly(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));
}
-function zne(e) {
+function Bne(e) {
e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.dragSnapshot || e.layout, e.isLayoutDirty = !0);
}
-function Bne(e) {
+function Vne(e) {
e.relativeTarget && e.relativeParent?.isLayoutDirty && (e.currentAnimation ? e.isLayoutDirty = !0 : (e.targetDelta = void 0, e.removeRelativeTarget()));
}
-function Vne(e) {
+function Hne(e) {
let { visualElement: t } = e.options;
t?.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
}
-function lb(e) {
+function cb(e) {
e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
}
-function Hne(e) {
+function Une(e) {
e.resolveTargetDelta();
}
-function Une(e) {
+function Wne(e) {
e.calcProjection();
}
-function Wne(e) {
+function Gne(e) {
e.resetSkewAndRotation();
}
-function ub(e, t, n) {
+function lb(e, t, n) {
e.translate = Qh(t.translate, 0, n), e.scale = Qh(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
}
-function db(e, t, n, r) {
+function ub(e, t, n, r) {
e.min = Qh(t.min, n.min, r), e.max = Qh(t.max, n.max, r);
}
-function Gne(e, t, n, r) {
- db(e.x, t.x, n.x, r), db(e.y, t.y, n.y, r);
+function Kne(e, t, n, r) {
+ ub(e.x, t.x, n.x, r), ub(e.y, t.y, n.y, r);
}
-function Kne(e) {
+function qne(e) {
return e.animationValues?.opacityExit !== void 0;
}
-var qne = {
+var Jne = {
duration: .45,
ease: [
.4,
@@ -19433,51 +19433,51 @@ var qne = {
1
]
};
-function fb(e, t, n) {
+function db(e, t, n) {
e.max = Ey(n) + (e.min = t.min);
}
-function pb(e, t, n) {
+function fb(e, t, n) {
return e === "position" || e === "preserve-aspect" && !bne(qy(t), qy(n), .2);
}
-function Jne(e) {
+function Yne(e) {
return e !== e.root && e.scroll?.wasRoot;
}
// node_modules/motion-dom/dist/es/events/add-dom-event.mjs
-function mb(e, t, n, r = { passive: !0 }) {
+function pb(e, t, n, r = { passive: !0 }) {
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
}
// node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs
-var Yne = /* @__PURE__ */ ib({
- attachResizeListener: (e, t) => mb(e, "resize", t),
+var Xne = /* @__PURE__ */ ib({
+ attachResizeListener: (e, t) => pb(e, "resize", t),
measureScroll: nne,
checkIsScrollRoot: () => !0
-}), hb = { current: void 0 }, gb = /* @__PURE__ */ ib({
+}), mb = { current: void 0 }, hb = /* @__PURE__ */ ib({
measureScroll: (e) => ({
x: e.scrollLeft,
y: e.scrollTop
}),
defaultParent: () => {
- if (!hb.current) {
- let e = new Yne({});
- e.mount(window), e.setOptions({ layoutScroll: !0 }), hb.current = e;
+ if (!mb.current) {
+ let e = new Xne({});
+ e.mount(window), e.setOptions({ layoutScroll: !0 }), mb.current = e;
}
- return hb.current;
+ return mb.current;
},
resetTransform: (e, t) => {
e.style.transform = t === void 0 ? "none" : t;
},
checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"
-}), _b = /* @__PURE__ */ new WeakMap();
+}), gb = /* @__PURE__ */ new WeakMap();
// node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs
-function vb(e) {
+function _b(e) {
return typeof e == "object" && !!e && typeof e.start == "function";
}
// node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs
-function yb(e) {
+function vb(e) {
return typeof e == "string" || Array.isArray(e);
}
// node_modules/motion-dom/dist/es/render/utils/variant-props.mjs
-var bb = [
+var yb = [
"animate",
"whileInView",
"whileFocus",
@@ -19485,18 +19485,18 @@ var bb = [
"whileTap",
"whileDrag",
"exit"
-], xb = /* @__PURE__ */ ["initial"].concat(bb);
+], bb = /* @__PURE__ */ ["initial"].concat(yb);
// node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs
-function Sb(e) {
- if (vb(e.animate)) return !0;
- for (let t = 0; t < xb.length; t++) if (yb(e[xb[t]])) return !0;
+function xb(e) {
+ if (_b(e.animate)) return !0;
+ for (let t = 0; t < bb.length; t++) if (vb(e[bb[t]])) return !0;
return !1;
}
-function Cb(e) {
- return !!(Sb(e) || e.variants);
+function Sb(e) {
+ return !!(xb(e) || e.variants);
}
// node_modules/motion-dom/dist/es/render/utils/motion-values.mjs
-function Xne(e, t, n) {
+function Zne(e, t, n) {
for (let r in t) {
let i = t[r], a = n[r];
if (yv(i)) e.addValue(r, i);
@@ -19515,17 +19515,17 @@ function Xne(e, t, n) {
return t;
}
// node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs
-var wb = { current: null }, Tb = { current: !1 }, Zne = typeof window < "u";
-function Eb() {
- if (Tb.current = !0, Zne) {
+var Cb = { current: null }, wb = { current: !1 }, Qne = typeof window < "u";
+function Tb() {
+ if (wb.current = !0, Qne) {
if (window.matchMedia) {
- let e = window.matchMedia("(prefers-reduced-motion)"), t = () => wb.current = e.matches;
+ let e = window.matchMedia("(prefers-reduced-motion)"), t = () => Cb.current = e.matches;
e.addEventListener("change", t), t();
- } else wb.current = !1;
+ } else Cb.current = !1;
}
}
// node_modules/motion-dom/dist/es/render/VisualElement.mjs
-var Db = [
+var Eb = [
"AnimationStart",
"AnimationComplete",
"Update",
@@ -19533,14 +19533,14 @@ var Db = [
"LayoutMeasure",
"LayoutAnimationStart",
"LayoutAnimationComplete"
-], Ob = {};
-function kb(e) {
- Ob = e;
+], Db = {};
+function Ob(e) {
+ Db = e;
}
-function Qne() {
- return Ob;
+function $ne() {
+ return Db;
}
-var $ne = class {
+var ere = class {
scrapeMotionValuesFromProps(e, t, n) {
return {};
}
@@ -19552,7 +19552,7 @@ var $ne = class {
this.renderScheduledAt < e && (this.renderScheduledAt = e, pg.render(this.render, !1, !0));
};
let { latestValues: c, renderState: l } = o;
- this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = Sb(t), this.isVariantNode = Cb(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
+ this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = xb(t), this.isVariantNode = Sb(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
let { willChange: u, ...d } = this.scrapeMotionValuesFromProps(t, {}, this);
for (let e in d) {
let t = d[e];
@@ -19561,7 +19561,7 @@ var $ne = class {
}
mount(e) {
if (this.hasBeenMounted && !this.presenceContext?.keepValuesOnRemount) for (let e in this.initialValues) this.values.get(e)?.jump(this.initialValues[e]), this.latestValues[e] = this.initialValues[e];
- if (this.current = e, _b.set(e, this), this.projection?.instance || this.projection?.mount(e), this.isVariantNode && !this.isControllingVariants) {
+ if (this.current = e, gb.set(e, this), this.projection?.instance || this.projection?.mount(e), this.isVariantNode && !this.isControllingVariants) {
let e = this;
do
e = e.props.inherit !== !1 && e.parent;
@@ -19571,7 +19571,7 @@ var $ne = class {
t.add(this), this.removeFromVariantTree = () => t.delete(this);
}
}
- this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (Tb.current || Eb(), this.shouldReduceMotion = wb.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
+ this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (wb.current || Tb(), this.shouldReduceMotion = Cb.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
}
unmount() {
this.projection?.unmount(), mg(this.notifyUpdate), mg(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree?.(), this.parent?.removeChild(this);
@@ -19617,8 +19617,8 @@ var $ne = class {
}
updateFeatures() {
let e = "animation";
- for (e in Ob) {
- let t = Ob[e];
+ for (e in Db) {
+ let t = Db[e];
if (!t) continue;
let { isEnabled: n, Feature: r } = t;
if (!this.features[e] && r && n(this.props) && (this.features[e] = new r(this)), this.features[e]) {
@@ -19642,13 +19642,13 @@ var $ne = class {
update(e, t) {
let { transformTemplate: n, onUpdate: r } = this.props;
(e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && J_.get(this.current)?.demote(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;
- for (let t = 0; t < Db.length; t++) {
- let n = Db[t];
+ for (let t = 0; t < Eb.length; t++) {
+ let n = Eb[t];
this.propEventSubscriptions[n]?.(), delete this.propEventSubscriptions[n];
let r = e["on" + n];
r && (this.propEventSubscriptions[n] = this.on(n, r));
}
- this.prevMotionValues = Xne(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue?.();
+ this.prevMotionValues = Zne(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue?.();
}
getProps() {
return this.props;
@@ -19696,7 +19696,7 @@ var $ne = class {
scheduleRenderMicrotask() {
my.render(this.render);
}
-}, Ab = class extends $ne {
+}, kb = class extends ere {
constructor() {
super(...arguments), this.KeyframeResolver = Ev;
}
@@ -19719,29 +19719,29 @@ var $ne = class {
}
};
// node_modules/motion-dom/dist/es/render/html/utils/render.mjs
-function jb(e, { style: t, vars: n }, r, i) {
+function Ab(e, { style: t, vars: n }, r, i) {
let a = e.style, o;
for (o in t) a[o] = t[o];
for (o in i?.applyProjectionStyles(a, r), n) a.setProperty(o, n[o]);
}
// node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs
-function Mb(e, { layout: t, layoutId: n }) {
+function jb(e, { layout: t, layoutId: n }) {
return f_.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!gy[e] || e === "opacity");
}
// node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs
-function Nb(e, t, n) {
+function Mb(e, t, n) {
let r = e.style, i = t?.style, a = {};
if (!r) return a;
- for (let t in r) (yv(r[t]) || i && yv(i[t]) || Mb(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
+ for (let t in r) (yv(r[t]) || i && yv(i[t]) || jb(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
return a;
}
// node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs
-function ere(e) {
+function tre(e) {
return window.getComputedStyle(e);
}
-var tre = class extends Ab {
+var nre = class extends kb {
constructor() {
- super(...arguments), this.type = "html", this.renderInstance = jb;
+ super(...arguments), this.type = "html", this.renderInstance = Ab;
}
mount(e) {
super.mount(e);
@@ -19749,7 +19749,7 @@ var tre = class extends Ab {
readValueFromInstance(e, t) {
if (f_.has(t)) return this.projection?.isProjecting ? c_(t) : u_(e, t);
{
- let n = ere(e), r = (nh(t) ? n.getPropertyValue(t) : n[t]) || 0;
+ let n = tre(e), r = (nh(t) ? n.getPropertyValue(t) : n[t]) || 0;
return typeof r == "string" ? r.trim() : r;
}
}
@@ -19760,58 +19760,58 @@ var tre = class extends Ab {
Wv(e, t, n.transformTemplate);
}
scrapeMotionValuesFromProps(e, t, n) {
- return Nb(e, t, n);
+ return Mb(e, t, n);
}
-}, Pb = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;
+}, Nb = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;
// node_modules/motion-dom/dist/es/events/event-info.mjs
-function Fb(e) {
+function Pb(e) {
return { point: {
x: e.pageX,
y: e.pageY
} };
}
-var nre = (e) => (t) => Pb(t) && e(t, Fb(t));
+var rre = (e) => (t) => Nb(t) && e(t, Pb(t));
// node_modules/motion-dom/dist/es/events/add-pointer-event.mjs
-function Ib(e, t, n, r) {
- return mb(e, t, nre(n), r);
+function Fb(e, t, n, r) {
+ return pb(e, t, rre(n), r);
}
// node_modules/motion-dom/dist/es/resize/handle-element.mjs
-var Lb = /* @__PURE__ */ new WeakMap(), Rb, zb = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : Nv(r) && "getBBox" in r ? r.getBBox()[t] : r[n], rre = /*@__PURE__*/ zb("inline", "width", "offsetWidth"), ire = /*@__PURE__*/ zb("block", "height", "offsetHeight");
-function are({ target: e, borderBoxSize: t }) {
- Lb.get(e)?.forEach((n) => {
+var Ib = /* @__PURE__ */ new WeakMap(), Lb, Rb = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : Nv(r) && "getBBox" in r ? r.getBBox()[t] : r[n], ire = /*@__PURE__*/ Rb("inline", "width", "offsetWidth"), are = /*@__PURE__*/ Rb("block", "height", "offsetHeight");
+function ore({ target: e, borderBoxSize: t }) {
+ Ib.get(e)?.forEach((n) => {
n(e, {
get width() {
- return rre(e, t);
+ return ire(e, t);
},
get height() {
- return ire(e, t);
+ return are(e, t);
}
});
});
}
-function ore(e) {
- e.forEach(are);
+function sre(e) {
+ e.forEach(ore);
}
-function sre() {
- typeof ResizeObserver < "u" && (Rb = new ResizeObserver(ore));
+function cre() {
+ typeof ResizeObserver < "u" && (Lb = new ResizeObserver(sre));
}
-function cre(e, t) {
- Rb || sre();
+function lre(e, t) {
+ Lb || cre();
let n = Lv(e);
return n.forEach((e) => {
- let n = Lb.get(e);
- n || (n = /* @__PURE__ */ new Set(), Lb.set(e, n)), n.add(t), Rb?.observe(e);
+ let n = Ib.get(e);
+ n || (n = /* @__PURE__ */ new Set(), Ib.set(e, n)), n.add(t), Lb?.observe(e);
}), () => {
n.forEach((e) => {
- let n = Lb.get(e);
- n?.delete(t), n?.size || Rb?.unobserve(e);
+ let n = Ib.get(e);
+ n?.delete(t), n?.size || Lb?.unobserve(e);
});
};
}
// node_modules/motion-dom/dist/es/resize/handle-window.mjs
-var Bb = /* @__PURE__ */ new Set(), Vb;
-function lre() {
- Vb = () => {
+var zb = /* @__PURE__ */ new Set(), Bb;
+function ure() {
+ Bb = () => {
let e = {
get width() {
return window.innerWidth;
@@ -19820,26 +19820,26 @@ function lre() {
return window.innerHeight;
}
};
- Bb.forEach((t) => t(e));
- }, window.addEventListener("resize", Vb);
+ zb.forEach((t) => t(e));
+ }, window.addEventListener("resize", Bb);
}
-function ure(e) {
- return Bb.add(e), Vb || lre(), () => {
- Bb.delete(e), !Bb.size && typeof Vb == "function" && (window.removeEventListener("resize", Vb), Vb = void 0);
+function dre(e) {
+ return zb.add(e), Bb || ure(), () => {
+ zb.delete(e), !zb.size && typeof Bb == "function" && (window.removeEventListener("resize", Bb), Bb = void 0);
};
}
// node_modules/motion-dom/dist/es/resize/index.mjs
-function Hb(e, t) {
- return Fv(typeof e == "function" ? ure(e) : cre(e, t));
+function Vb(e, t) {
+ return Fv(typeof e == "function" ? dre(e) : lre(e, t));
}
// node_modules/motion-dom/dist/es/utils/distance.mjs
-var Ub = (e, t) => Math.abs(e - t);
-function dre(e, t) {
- let n = Ub(e.x, t.x), r = Ub(e.y, t.y);
+var Hb = (e, t) => Math.abs(e - t);
+function fre(e, t) {
+ let n = Hb(e.x, t.x), r = Hb(e.y, t.y);
return Math.sqrt(n ** 2 + r ** 2);
}
// node_modules/motion-dom/dist/es/gestures/pan/PanSession.mjs
-var Wb = /*#__PURE__*/ new Set(["auto", "scroll"]), Gb = class {
+var Ub = /*#__PURE__*/ new Set(["auto", "scroll"]), Wb = class {
constructor(e, t, { transformPagePoint: n, contextWindow: r = window, dragSnapToOrigin: i = !1, distanceThreshold: a = 3, element: o } = {}) {
if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.onElementScroll = (e) => {
this.handleScroll(e.target);
@@ -19847,8 +19847,8 @@ var Wb = /*#__PURE__*/ new Set(["auto", "scroll"]), Gb = class {
this.handleScroll(window);
}, this.updatePoint = () => {
if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = qb(this.lastRawMoveEventInfo, this.transformPagePoint));
- let e = Yb(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = dre(e.offset, {
+ this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Kb(this.lastRawMoveEventInfo, this.transformPagePoint));
+ let e = Jb(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = fre(e.offset, {
x: 0,
y: 0
}) >= this.distanceThreshold;
@@ -19861,40 +19861,40 @@ var Wb = /*#__PURE__*/ new Set(["auto", "scroll"]), Gb = class {
let { onStart: i, onMove: a } = this.handlers;
t || (i?.(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), a?.(this.lastMoveEvent, e);
}, this.handlePointerMove = (e, t) => {
- this.handleScroll(window), this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = qb(t, this.transformPagePoint), this.hasPendingMove = !0, pg.update(this.updatePoint, !0);
+ this.handleScroll(window), this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = Kb(t, this.transformPagePoint), this.hasPendingMove = !0, pg.update(this.updatePoint, !0);
}, this.handlePointerUp = (e, t) => {
this.hasPendingMove && this.updatePoint(), this.end();
let { onEnd: n, onSessionEnd: r, resumeAnimation: i } = this.handlers;
if ((this.dragSnapToOrigin || !this.startEvent) && i?.(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- let a = Yb(e.type === "pointercancel" ? this.lastMoveEventInfo : qb(t, this.transformPagePoint), this.history);
+ let a = Jb(e.type === "pointercancel" ? this.lastMoveEventInfo : Kb(t, this.transformPagePoint), this.history);
this.startEvent && n?.(e, a), r?.(e, a);
- }, !Pb(e)) return;
+ }, !Nb(e)) return;
this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;
- let s = qb(Fb(e), this.transformPagePoint), { point: c } = s;
+ let s = Kb(Pb(e), this.transformPagePoint), { point: c } = s;
this.history = [{
...c,
timestamp: $m.now()
}];
let { onSessionStart: l } = t;
- l && l(e, Yb(s, this.history));
+ l && l(e, Jb(s, this.history));
let u = {
passive: !0,
capture: !0
};
- this.removeListeners = Cm(Ib(this.contextWindow, "pointermove", this.handlePointerMove, u), Ib(this.contextWindow, "pointerup", this.handlePointerUp, u), Ib(this.contextWindow, "pointercancel", this.handlePointerUp, u)), o && this.startScrollTracking(o);
+ this.removeListeners = Cm(Fb(this.contextWindow, "pointermove", this.handlePointerMove, u), Fb(this.contextWindow, "pointerup", this.handlePointerUp, u), Fb(this.contextWindow, "pointercancel", this.handlePointerUp, u)), o && this.startScrollTracking(o);
}
startScrollTracking(e) {
let t = e.parentElement;
for (; t;) {
let e = getComputedStyle(t);
- (Wb.has(e.overflowX) || Wb.has(e.overflowY)) && this.scrollPositions.set(t, Kb(t)), t = t.parentElement;
+ (Ub.has(e.overflowX) || Ub.has(e.overflowY)) && this.scrollPositions.set(t, Gb(t)), t = t.parentElement;
}
- this.scrollPositions.set(window, Kb(window)), this.removeScrollListeners = Cm(mb(window, "scroll", this.onElementScroll, { capture: !0 }), mb(window, "scroll", this.onWindowScroll, {}));
+ this.scrollPositions.set(window, Gb(window)), this.removeScrollListeners = Cm(pb(window, "scroll", this.onElementScroll, { capture: !0 }), pb(window, "scroll", this.onWindowScroll, {}));
}
handleScroll(e) {
let t = this.scrollPositions.get(e);
if (!t) return;
- let n = e === window, r = Kb(e), i = {
+ let n = e === window, r = Gb(e), i = {
x: r.x - t.x,
y: r.y - t.y
};
@@ -19906,42 +19906,42 @@ var Wb = /*#__PURE__*/ new Set(["auto", "scroll"]), Gb = class {
end() {
this.removeListeners?.(), this.removeScrollListeners?.(), this.scrollPositions.clear(), mg(this.updatePoint);
}
-}, Kb = (e) => e === window ? {
+}, Gb = (e) => e === window ? {
x: window.scrollX,
y: window.scrollY
} : {
x: e.scrollLeft,
y: e.scrollTop
};
-function qb(e, t) {
+function Kb(e, t) {
return t ? { point: t(e.point) } : e;
}
-function Jb(e, t) {
+function qb(e, t) {
return {
x: e.x - t.x,
y: e.y - t.y
};
}
-function Yb({ point: e }, t) {
+function Jb({ point: e }, t) {
return {
point: e,
- delta: Jb(e, Xb(t)),
- offset: Jb(e, fre(t)),
- velocity: pre(t, .1)
+ delta: qb(e, Yb(t)),
+ offset: qb(e, pre(t)),
+ velocity: mre(t, .1)
};
}
-function fre(e) {
+function pre(e) {
return e[0];
}
-function Xb(e) {
+function Yb(e) {
return e[e.length - 1];
}
-function pre(e, t) {
+function mre(e, t) {
if (e.length < 2) return {
x: 0,
y: 0
};
- let n = e.length - 1, r = null, i = Xb(e);
+ let n = e.length - 1, r = null, i = Yb(e);
for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ Em(t)));) n--;
if (!r) return {
x: 0,
@@ -19960,95 +19960,95 @@ function pre(e, t) {
return o.x === Infinity && (o.x = 0), o.y === Infinity && (o.y = 0), o;
}
// node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs
-var mre = /* @__PURE__ */ new Set([
+var hre = /* @__PURE__ */ new Set([
"BUTTON",
"INPUT",
"SELECT",
"TEXTAREA",
"A"
]);
-function hre(e) {
- return mre.has(e.tagName) || e.isContentEditable === !0;
+function gre(e) {
+ return hre.has(e.tagName) || e.isContentEditable === !0;
}
-var gre = /* @__PURE__ */ new Set([
+var _re = /* @__PURE__ */ new Set([
"INPUT",
"SELECT",
"TEXTAREA"
]);
-function _re(e) {
- return gre.has(e.tagName) || e.isContentEditable === !0;
+function vre(e) {
+ return _re.has(e.tagName) || e.isContentEditable === !0;
}
// node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs
-var Zb = {
+var Xb = {
x: !1,
y: !1
};
-function Qb() {
- return Zb.x || Zb.y;
+function Zb() {
+ return Xb.x || Xb.y;
}
// node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs
-function vre(e) {
- return e === "x" || e === "y" ? Zb[e] ? null : (Zb[e] = !0, () => {
- Zb[e] = !1;
- }) : Zb.x || Zb.y ? null : (Zb.x = Zb.y = !0, () => {
- Zb.x = Zb.y = !1;
+function yre(e) {
+ return e === "x" || e === "y" ? Xb[e] ? null : (Xb[e] = !0, () => {
+ Xb[e] = !1;
+ }) : Xb.x || Xb.y ? null : (Xb.x = Xb.y = !0, () => {
+ Xb.x = Xb.y = !1;
});
}
// node_modules/motion-dom/dist/es/gestures/drag/utils/constraints.mjs
-function yre(e, { min: t, max: n }, r) {
+function bre(e, { min: t, max: n }, r) {
return t !== void 0 && e < t ? e = r ? Qh(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? Qh(n, e, r.max) : Math.min(e, n)), e;
}
-function $b(e, t, n) {
+function Qb(e, t, n) {
return {
min: t === void 0 ? void 0 : e.min + t,
max: n === void 0 ? void 0 : e.max + n - (e.max - e.min)
};
}
-function ex(e, { top: t, left: n, bottom: r, right: i }) {
+function $b(e, { top: t, left: n, bottom: r, right: i }) {
return {
- x: $b(e.x, n, i),
- y: $b(e.y, t, r)
+ x: Qb(e.x, n, i),
+ y: Qb(e.y, t, r)
};
}
-function tx(e, t) {
+function ex(e, t) {
let n = t.min - e.min, r = t.max - e.max;
return t.max - t.min < e.max - e.min && ([n, r] = [r, n]), {
min: n,
max: r
};
}
-function bre(e, t) {
+function xre(e, t) {
return {
- x: tx(e.x, t.x),
- y: tx(e.y, t.y)
+ x: ex(e.x, t.x),
+ y: ex(e.y, t.y)
};
}
-function xre(e, t) {
+function Sre(e, t) {
let n = .5, r = Ey(e), i = Ey(t);
return i > r ? n = /* @__PURE__ */ wm(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ wm(e.min, e.max - i, t.min)), gm(0, 1, n);
}
-function Sre(e, t) {
+function Cre(e, t) {
let n = {};
return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;
}
-var nx = .35;
-function Cre(e = nx) {
- return e === !1 ? e = 0 : e === !0 && (e = nx), {
- x: rx(e, "left", "right"),
- y: rx(e, "top", "bottom")
+var tx = .35;
+function wre(e = tx) {
+ return e === !1 ? e = 0 : e === !0 && (e = tx), {
+ x: nx(e, "left", "right"),
+ y: nx(e, "top", "bottom")
};
}
-function rx(e, t, n) {
+function nx(e, t, n) {
return {
- min: ix(e, t),
- max: ix(e, n)
+ min: rx(e, t),
+ max: rx(e, n)
};
}
-function ix(e, t) {
+function rx(e, t) {
return typeof e == "number" ? e : e[t] || 0;
}
// node_modules/motion-dom/dist/es/gestures/drag/VisualElementDragControls.mjs
-function ax(e) {
+function ix(e) {
let t = "";
for (let n of e.path) {
n.scroll = void 0, n.updateScroll();
@@ -20057,7 +20057,7 @@ function ax(e) {
}
return t;
}
-var wre = /* @__PURE__ */ new WeakMap(), Tre = class {
+var Tre = /* @__PURE__ */ new WeakMap(), Ere = class {
constructor(e, t = () => e.getProps()) {
this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {
x: 0,
@@ -20070,7 +20070,7 @@ var wre = /* @__PURE__ */ new WeakMap(), Tre = class {
t && this.snapToCursor(e), this.stopAnimation();
}, i = (e, t) => {
let { drag: n, dragConstraints: r, dragPropagation: i, onDragStart: a } = this.getProps();
- if (n && !i && (this.openDragLock?.(), this.openDragLock = vre(n), !this.openDragLock)) return;
+ if (n && !i && (this.openDragLock?.(), this.openDragLock = yre(n), !this.openDragLock)) return;
this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints();
let { projection: o } = this.visualElement;
o && (o.isAnimationBlocked = !0, o.target = void 0), Zy((e) => {
@@ -20088,7 +20088,7 @@ var wre = /* @__PURE__ */ new WeakMap(), Tre = class {
if (!n && !this.openDragLock) return;
let { offset: o } = t;
if (r && this.currentDirection === null) {
- if (this.currentDirection = Dre(o), this.currentDirection === null) return;
+ if (this.currentDirection = Ore(o), this.currentDirection === null) return;
i && i(this.currentDirection);
}
this.updateAxis("x", o), this.updateAxis("y", o), this.point && this.point.move(), this.visualElement.render(), a && pg.update(() => a(e, t), !1, !0);
@@ -20101,7 +20101,7 @@ var wre = /* @__PURE__ */ new WeakMap(), Tre = class {
y: 0
});
}, { dragSnapToOrigin: c } = this.getProps();
- this.panSession = new Gb(e, {
+ this.panSession = new Wb(e, {
onSessionStart: r,
onStart: i,
onMove: a,
@@ -20133,23 +20133,23 @@ var wre = /* @__PURE__ */ new WeakMap(), Tre = class {
}
updateAxis(e, t) {
let { drag: n } = this.readProps();
- if (!t || !lx(e, n, this.currentDirection)) return;
+ if (!t || !cx(e, n, this.currentDirection)) return;
let r = this.getAxisMotionValue(e), i = this.originPoint[e] + t[e], a = this.constraints && this.constraints[e];
- a && (i = yre(i, a, this.elastic[e])), this.point ? this.point[e] = i : r.set(i);
+ a && (i = bre(i, a, this.elastic[e])), this.point ? this.point[e] = i : r.set(i);
}
resolveConstraints() {
let { dragConstraints: e, dragElastic: t } = this.getProps(), { projection: n } = this.visualElement, r = n && (n.layout || n.measure(!1)), i = this.constraints;
- ox(e) ? this.constraints && this.scroll === ax(n) || (this.constraints = this.resolveRefConstraints()) : this.constraints = e && r && typeof e == "object" ? ex(r.layoutBox, e) : !1, this.elastic = Cre(t), i !== this.constraints && !ox(e) && r && this.constraints && !this.hasMutatedConstraints && Zy((e) => {
- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = Sre(r.layoutBox[e], this.constraints[e]));
+ ax(e) ? this.constraints && this.scroll === ix(n) || (this.constraints = this.resolveRefConstraints()) : this.constraints = e && r && typeof e == "object" ? $b(r.layoutBox, e) : !1, this.elastic = wre(t), i !== this.constraints && !ax(e) && r && this.constraints && !this.hasMutatedConstraints && Zy((e) => {
+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = Cre(r.layoutBox[e], this.constraints[e]));
});
}
resolveRefConstraints() {
let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();
- if (!ox(e)) return !1;
- let n = sx(e), { projection: r } = this.visualElement;
+ if (!ax(e)) return !1;
+ let n = ox(e), { projection: r } = this.visualElement;
if (!r || !r.layout) return !1;
- this.scroll = ax(r);
- let i = tne(n, r.root, this.visualElement.getTransformPagePoint()), a = bre(r.layout.layoutBox, r.removeElementScroll(i));
+ this.scroll = ix(r);
+ let i = tne(n, r.root, this.visualElement.getTransformPagePoint()), a = xre(r.layout.layoutBox, r.removeElementScroll(i));
if (t) {
let e = t(Qte(a));
this.hasMutatedConstraints = !!e, e && (a = Yv(e));
@@ -20164,13 +20164,13 @@ var wre = /* @__PURE__ */ new WeakMap(), Tre = class {
restDelta: 1,
restSpeed: 10,
...a
- }, l = (i) => r && !(this.point && o) && lx(i, t || n, this.currentDirection) ? e[i] : 0;
+ }, l = (i) => r && !(this.point && o) && cx(i, t || n, this.currentDirection) ? e[i] : 0;
if (this.point && !o) return this.point.release({
x: l("x"),
y: l("y")
}, c).then(s);
let u = this.constraints || {}, d = Zy((e) => {
- if (!lx(e, t || n, this.currentDirection)) return;
+ if (!cx(e, t || n, this.currentDirection)) return;
let r = u[e] || {};
(o === !0 || o === e) && (r = {
min: 0,
@@ -20203,7 +20203,7 @@ var wre = /* @__PURE__ */ new WeakMap(), Tre = class {
y: t
}, i = this.visualElement.getTransformPagePoint()?.(r) || r, a = this.visualElement.measureViewportBox();
Zy((e) => {
- if (!lx(e, n, this.currentDirection)) return;
+ if (!cx(e, n, this.currentDirection)) return;
let t = this.getAxisMotionValue(e), { min: r, max: o } = a[e];
t.set((t.get() || 0) + i[e] - Qh(r, o, .5));
});
@@ -20211,7 +20211,7 @@ var wre = /* @__PURE__ */ new WeakMap(), Tre = class {
scalePositionWithinConstraints() {
if (!this.visualElement.current) return;
let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;
- if (!ox(t) || !n || !this.constraints) return;
+ if (!ax(t) || !n || !this.constraints) return;
this.stopAnimation();
let r = this.constraints, i = {
x: 0,
@@ -20219,7 +20219,7 @@ var wre = /* @__PURE__ */ new WeakMap(), Tre = class {
};
Zy((e) => {
let t = this.getAxisMotionValue(e).get();
- i[e] = xre({
+ i[e] = Sre({
min: t,
max: t
}, r[e]);
@@ -20227,25 +20227,25 @@ var wre = /* @__PURE__ */ new WeakMap(), Tre = class {
let { transformTemplate: a } = this.visualElement.getProps();
this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root?.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), Zy((t) => {
let n = this.getAxisMotionValue(t);
- if (!lx(t, e, null) || !n.get()) return;
+ if (!cx(t, e, null) || !n.get()) return;
let { min: r, max: a } = this.constraints[t];
n.set(Qh(r, a, i[t]));
}), this.visualElement.render();
}
addListeners() {
if (!this.visualElement.current) return;
- wre.set(this.visualElement, this);
- let e = this.visualElement.current, t = Ib(e, "pointerdown", (t) => {
- let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && _re(i);
+ Tre.set(this.visualElement, this);
+ let e = this.visualElement.current, t = Fb(e, "pointerdown", (t) => {
+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && vre(i);
n && r && !a && this.start(t);
}), n, r = () => {
- let { dragConstraints: t } = this.getProps(), r = ox(t) && sx(t);
- r && (this.constraints = this.resolveRefConstraints(), n ||= Ere(e, r, () => this.scalePositionWithinConstraints()));
+ let { dragConstraints: t } = this.getProps(), r = ax(t) && ox(t);
+ r && (this.constraints = this.resolveRefConstraints(), n ||= Dre(e, r, () => this.scalePositionWithinConstraints()));
}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);
i.layout || (i.root?.updateScroll(), i.updateLayout()), pg.read(r);
- let o = mb(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
+ let o = pb(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
this.isDragging && t && (Zy((t) => {
- if (!lx(t, this.getProps().drag, this.currentDirection)) return;
+ if (!cx(t, this.getProps().drag, this.currentDirection)) return;
let n = this.getAxisMotionValue(t);
this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate);
}), this.visualElement.render());
@@ -20255,7 +20255,7 @@ var wre = /* @__PURE__ */ new WeakMap(), Tre = class {
};
}
getProps() {
- let e = this.readProps(), { dragElastic: t = nx, dragMomentum: n = !0 } = e;
+ let e = this.readProps(), { dragElastic: t = tx, dragMomentum: n = !0 } = e;
return {
...e,
dragElastic: t,
@@ -20263,31 +20263,31 @@ var wre = /* @__PURE__ */ new WeakMap(), Tre = class {
};
}
};
-function ox(e) {
+function ax(e) {
return !!e && typeof e == "object" && ("current" in e || "nodeType" in e);
}
-var sx = (e) => "current" in e ? e.current : e;
-function cx(e) {
+var ox = (e) => "current" in e ? e.current : e;
+function sx(e) {
let t = !0;
return () => {
t ? t = !1 : e();
};
}
-function Ere(e, t, n) {
- let r = Hb(e, cx(n)), i = Hb(t, cx(n));
+function Dre(e, t, n) {
+ let r = Vb(e, sx(n)), i = Vb(t, sx(n));
return () => {
r(), i();
};
}
-function lx(e, t, n) {
+function cx(e, t, n) {
return (t === !0 || t === e) && (n === null || n === e);
}
-function Dre(e, t = 10) {
+function Ore(e, t = 10) {
let n = null;
return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;
}
// node_modules/motion-dom/dist/es/gestures/utils/setup.mjs
-function ux(e, t) {
+function lx(e, t) {
let n = Lv(e), r = new AbortController();
return [
n,
@@ -20300,12 +20300,12 @@ function ux(e, t) {
];
}
// node_modules/motion-dom/dist/es/gestures/hover.mjs
-function Ore(e) {
- return !(e.pointerType === "touch" || Qb());
+function kre(e) {
+ return !(e.pointerType === "touch" || Zb());
}
-function kre(e, t, n = {}) {
+function Are(e, t, n = {}) {
t = Iv(t);
- let [r, i, a] = ux(e, n);
+ let [r, i, a] = lx(e, n);
return r.forEach((e) => {
let n = !1, r = !1, a, o = () => {
e.removeEventListener("pointerleave", u);
@@ -20319,7 +20319,7 @@ function kre(e, t, n = {}) {
e.pointerType !== "touch" && (n ? r = !0 : s(e));
};
e.addEventListener("pointerenter", (n) => {
- if (!Ore(n)) return;
+ if (!kre(n)) return;
r = !1;
let o = t(e, n);
typeof o == "function" && (a = o, e.addEventListener("pointerleave", u, i));
@@ -20327,71 +20327,71 @@ function kre(e, t, n = {}) {
}), a;
}
// node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs
-var dx = (e, t) => t ? e === t || dx(e, t.parentElement) : !1, fx = /* @__PURE__ */ new WeakSet();
+var ux = (e, t) => t ? e === t || ux(e, t.parentElement) : !1, dx = /* @__PURE__ */ new WeakSet();
// node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs
-function px(e) {
+function fx(e) {
return (t) => {
t.key === "Enter" && e(t);
};
}
-function mx(e, t) {
+function px(e, t) {
e.dispatchEvent(new PointerEvent("pointer" + t, {
isPrimary: !0,
bubbles: !0
}));
}
-var Are = (e, t) => {
- let n = !1, r = px(() => {
- fx.has(e) || (n = !0, mx(e, "down"));
- }), i = px(() => {
- n && (n = !1, mx(e, "up"));
+var jre = (e, t) => {
+ let n = !1, r = fx(() => {
+ dx.has(e) || (n = !0, px(e, "down"));
+ }), i = fx(() => {
+ n && (n = !1, px(e, "up"));
});
e.addEventListener("keydown", r, t), e.addEventListener("keyup", i, t), e.addEventListener("blur", () => {
- e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && mx(e, "cancel");
+ e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && px(e, "cancel");
}, {
...t,
once: !0
});
};
// node_modules/motion-dom/dist/es/gestures/press/index.mjs
-function hx(e) {
- return Pb(e) && !Qb();
+function mx(e) {
+ return Nb(e) && !Zb();
}
-var gx = /* @__PURE__ */ new WeakSet();
-function jre(e, t, n = {}) {
+var hx = /* @__PURE__ */ new WeakSet();
+function Mre(e, t, n = {}) {
t = Iv(t);
- let [r, i, a] = ux(e, n), o = (e) => {
+ let [r, i, a] = lx(e, n), o = (e) => {
let r = e.currentTarget;
- if (!hx(e) || gx.has(e)) return;
- fx.add(r), n.stopPropagation && gx.add(e);
+ if (!mx(e) || hx.has(e)) return;
+ dx.add(r), n.stopPropagation && hx.add(e);
let a = t(r, e), o = {
...i,
capture: !0
}, s = (e, t) => {
- window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), fx.has(r) && fx.delete(r), hx(e) && typeof a == "function" && a(e, { success: t });
+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), dx.has(r) && dx.delete(r), mx(e) && typeof a == "function" && a(e, { success: t });
}, c = (e) => {
- s(e, r === window || r === document || n.useGlobalTarget || dx(r, e.target));
+ s(e, r === window || r === document || n.useGlobalTarget || ux(r, e.target));
}, l = (e) => {
s(e, !1);
};
window.addEventListener("pointerup", c, o), window.addEventListener("pointercancel", l, o);
};
return r.forEach((e) => {
- (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), Mv(e) && (e.addEventListener("focus", () => Are(e, i), i), !hre(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
+ (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), Mv(e) && (e.addEventListener("focus", () => jre(e, i), i), !gre(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
}), a;
}
// node_modules/motion-dom/dist/es/render/dom/style-computed.mjs
-function _x(e, t) {
+function gx(e, t) {
let n = window.getComputedStyle(e);
return T_(t) ? n.getPropertyValue(t) : n[t];
}
// node_modules/motion-dom/dist/es/render/Feature.mjs
-var vx = class {
+var _x = class {
constructor(e) {
this.isMounted = !1, this.node = e;
}
update() {}
-}, yx = /* @__PURE__ */ new Set([
+}, vx = /* @__PURE__ */ new Set([
"baseFrequency",
"diffuseConstant",
"kernelMatrix",
@@ -20415,15 +20415,15 @@ var vx = class {
"startOffset",
"textLength",
"lengthAdjust"
-]), bx = (e) => typeof e == "string" && e.toLowerCase() === "svg";
+]), yx = (e) => typeof e == "string" && e.toLowerCase() === "svg";
// node_modules/motion-dom/dist/es/render/svg/utils/render.mjs
-function Mre(e, t, n, r) {
- jb(e, t, void 0, r);
- for (let n in t.attrs) e.setAttribute(yx.has(n) ? n : Uv(n), t.attrs[n]);
+function Nre(e, t, n, r) {
+ Ab(e, t, void 0, r);
+ for (let n in t.attrs) e.setAttribute(vx.has(n) ? n : Uv(n), t.attrs[n]);
}
// node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs
-function xx(e, t, n) {
- let r = Nb(e, t, n);
+function bx(e, t, n) {
+ let r = Mb(e, t, n);
for (let n in e) if (n !== "children" && (yv(e[n]) || yv(t[n]))) {
let t = d_.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
r[t] = e[n];
@@ -20431,7 +20431,7 @@ function xx(e, t, n) {
return r;
}
// node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs
-var Nre = class extends Ab {
+var Pre = class extends kb {
constructor() {
super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = Vy;
}
@@ -20450,23 +20450,23 @@ var Nre = class extends Ab {
let n = getComputedStyle(e)[t];
if (typeof n == "string" && n) return n.trim();
}
- return t = yx.has(t) ? t : Uv(t), e.getAttribute(t);
+ return t = vx.has(t) ? t : Uv(t), e.getAttribute(t);
}
scrapeMotionValuesFromProps(e, t, n) {
- return xx(e, t, n);
+ return bx(e, t, n);
}
build(e, t, n) {
Kv(e, t, this.isSVGTag, n.transformTemplate, n.style);
}
renderInstance(e, t, n, r) {
- Mre(e, t, n, r);
+ Nre(e, t, n, r);
}
mount(e) {
- this.isSVGTag = bx(e.tagName), super.mount(e);
+ this.isSVGTag = yx(e.tagName), super.mount(e);
}
};
// node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs
-function Sx(e, t) {
+function xx(e, t) {
if (!Array.isArray(t)) return !1;
let n = t.length;
if (n !== e.length) return !1;
@@ -20474,18 +20474,18 @@ function Sx(e, t) {
return !0;
}
// node_modules/motion-dom/dist/es/render/utils/animation-state.mjs
-var Pre = [...bb].reverse(), Cx = (e) => e?.out === !0 ? e : e?.out;
-function Fre(e) {
- let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => Ate(e, t, n))), n = wx(), r = !0, i = !1;
+var Fre = [...yb].reverse(), Sx = (e) => e?.out === !0 ? e : e?.out;
+function Ire(e) {
+ let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => Ate(e, t, n))), n = Cx(), r = !0, i = !1;
function a(a) {
let { props: o, parent: s, manuallyAnimateOnMount: c } = e, { initial: l } = o, u = r || i, d = [], f = (t = l) => typeof t != "boolean" && gv(e, Array.isArray(t) ? t[0] : t, e.presenceContext?.custom) || void 0, p = /* @__PURE__ */ new Map(), m = {}, h = Infinity, g = e;
do
g = g.props.inherit !== !1 && g.parent;
while (g && !g.isControllingVariants);
- let _ = u && Cx(f(l ?? (g && g.props.initial))?.transition);
- if (Pre.forEach((t, r) => {
- let i = n[t], l = o[t], f = g && g.props[t], v = l === void 0 ? yb(f) || f === !1 ? f : void 0 : l, y = yb(v), b = t === a ? i.isActive : null, x = y && l === void 0 && !(u && c);
- if (i.protectedKeys = { ...m }, !i.isActive && b === null || !v && !i.prevProp || vb(v) || typeof v == "boolean") return;
+ let _ = u && Sx(f(l ?? (g && g.props.initial))?.transition);
+ if (Fre.forEach((t, r) => {
+ let i = n[t], l = o[t], f = g && g.props[t], v = l === void 0 ? vb(f) || f === !1 ? f : void 0 : l, y = vb(v), b = t === a ? i.isActive : null, x = y && l === void 0 && !(u && c);
+ if (i.protectedKeys = { ...m }, !i.isActive && b === null || !v && !i.prevProp || _b(v) || typeof v == "boolean") return;
if (b === !1 && (h = r), t === "exit" && i.isActive && b !== !0) {
m = {
...m,
@@ -20493,14 +20493,14 @@ function Fre(e) {
};
return;
}
- let S = Ire(i.prevProp, v), C = S || y && (b && !x || r > h), w = !1, T = Array.isArray(v) ? v : [v], E = {}, D;
+ let S = Lre(i.prevProp, v), C = S || y && (b && !x || r > h), w = !1, T = Array.isArray(v) ? v : [v], E = {}, D;
if (b !== !1) for (let n of T) {
let { transition: r, transitionEnd: i, ...a } = gv(e, n, _v(e, t)) || {};
E = {
...E,
...a,
...i
- }, D = Cx(r) || D;
+ }, D = Sx(r) || D;
}
let { prevResolvedValues: O } = i;
for (let t in {
@@ -20508,7 +20508,7 @@ function Fre(e) {
...E
}) {
if (t in m) continue;
- let n = E[t], r = O[t], a = Array.isArray(n) && Array.isArray(r) ? !Sx(n, r) || S : n !== r, o;
+ let n = E[t], r = O[t], a = Array.isArray(n) && Array.isArray(r) ? !xx(n, r) || S : n !== r, o;
if (a && n == null) p.has(t) || p.set(t, i.prevOut);
else if (a || n !== void 0 && p.has(t)) {
C = !0, o = p.get(t) || _, p.delete(t) && (w = !0), i.needsAnimating[t] = !0;
@@ -20562,16 +20562,16 @@ function Fre(e) {
},
getState: () => n,
reset: () => {
- n = wx(), i = !0;
+ n = Cx(), i = !0;
}
};
}
-function Ire(e, t) {
- return typeof t == "string" ? t !== e : Array.isArray(t) ? !Sx(t, e) : !1;
+function Lre(e, t) {
+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !xx(t, e) : !1;
}
-function wx() {
+function Cx() {
let e = {};
- for (let t of bb) e[t] = {
+ for (let t of yb) e[t] = {
isActive: t === "animate",
protectedKeys: {},
needsAnimating: {},
@@ -20581,55 +20581,55 @@ function wx() {
return e;
}
// node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs
-var Tx = /* @__PURE__ */ (0, F.createContext)({
+var wx = /* @__PURE__ */ (0, F.createContext)({
transformPagePoint: (e) => e,
isStatic: !1,
reducedMotion: "never"
});
// node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs
-function Ex(e, t) {
+function Tx(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
-function Lre(...e) {
+function Rre(...e) {
return (t) => {
let n = !1, r = e.map((e) => {
- let r = Ex(e, t);
+ let r = Tx(e, t);
return !n && typeof r == "function" && (n = !0), r;
});
if (n) return () => {
for (let t = 0; t < r.length; t++) {
let n = r[t];
- typeof n == "function" ? n() : Ex(e[t], null);
+ typeof n == "function" ? n() : Tx(e[t], null);
}
};
};
}
-function Rre(...e) {
- return F.useCallback(Lre(...e), e);
+function zre(...e) {
+ return F.useCallback(Rre(...e), e);
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs
-var Dx = (e) => {
+var Ex = (e) => {
let { width: t, height: n } = e?.getBoundingClientRect() || {};
return [t / e?.offsetWidth || 1, n / e?.offsetHeight || 1];
-}, Ox = (e) => {
+}, Dx = (e) => {
let { left: t, top: n } = e.getBoundingClientRect(), r = e;
for (; r = r.parentElement || r.parentNode?.host;) {
let { scrollLeft: e, scrollTop: i } = r;
if (e || i) {
- let [a, o] = Dx(r);
+ let [a, o] = Ex(r);
t += e * a, n += i * o;
}
if (getComputedStyle(r).position === "fixed") break;
}
- let [i, a] = Dx(e.offsetParent);
+ let [i, a] = Ex(e.offsetParent);
return [t / i, n / a];
-}, zre = class extends F.Component {
+}, Bre = class extends F.Component {
getSnapshotBeforeUpdate(e) {
let t = this.props.getElement();
if (Mv(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
let e = t.offsetParent, n = Mv(e) && e.offsetWidth || 0, r = Mv(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;
- a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction, a.point = Ox(t);
+ a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction, a.point = Dx(t);
}
return null;
}
@@ -20638,7 +20638,7 @@ var Dx = (e) => {
return this.props.children;
}
};
-function Bre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a, popNode: o }) {
+function Vre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a, popNode: o }) {
let s = (0, F.useId)(), c = (0, F.useRef)(null), l = (0, F.useRef)({
width: 0,
height: 0,
@@ -20647,7 +20647,7 @@ function Bre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
right: 0,
bottom: 0,
direction: "ltr"
- }), { nonce: u } = (0, F.useContext)(Tx), d = Rre(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current, p = (e) => {
+ }), { nonce: u } = (0, F.useContext)(wx), d = zre(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current, p = (e) => {
let { width: t, height: i, top: a, left: o, right: c, bottom: u, direction: d } = l.current, f = d === "rtl", p = n === "left" ? f ? `right:${c}` : `left:${o}` : f ? `left:${o}` : `right:${c}`, m = r === "bottom" ? `bottom:${u}` : `top:${a}`;
e?.insertRule(`[data-motion-pop-id="${s}"]{position:absolute!important;width:${t}px!important;height:${i}px!important;${p}px!important;${m}px!important}`);
};
@@ -20661,7 +20661,7 @@ function Bre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
d.appendChild(c), p(c.sheet);
let m = 0, h = 0;
return my.setup(() => {
- let [e, t] = Ox(r);
+ let [e, t] = Dx(r);
m = l.current.point[0] - e, h = l.current.point[1] - t;
}), my.read(() => {
let { sheet: e } = c;
@@ -20671,7 +20671,7 @@ function Bre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
}), () => {
r.removeAttribute("data-motion-pop-id"), d.contains(c) && d.removeChild(c);
};
- }, [t]), (0, I.jsx)(zre, {
+ }, [t]), (0, I.jsx)(Bre, {
isPresent: t,
getElement: f,
sizeRef: l,
@@ -20680,8 +20680,8 @@ function Bre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
});
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs
-var Vre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
- let u = dm(Hre), d = (0, F.useId)(), f = (0, F.useRef)(), p = (0, F.useRef)(n), m = (0, F.useRef)(r);
+var Hre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
+ let u = dm(Ure), d = (0, F.useId)(), f = (0, F.useRef)(), p = (0, F.useRef)(n), m = (0, F.useRef)(r);
fm(() => {
p.current = n, m.current = r;
});
@@ -20707,7 +20707,7 @@ var Vre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i
u.forEach((e, t) => u.set(t, !1));
}, [n]), F.useEffect(() => {
!n && !u.size && r && r();
- }, [n]), e = (0, I.jsx)(Bre, {
+ }, [n]), e = (0, I.jsx)(Vre, {
pop: o === "popLayout",
isPresent: n,
anchorX: s,
@@ -20720,11 +20720,11 @@ var Vre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i
children: e
});
};
-function Hre() {
+function Ure() {
return /* @__PURE__ */ new Map();
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs
-function kx(e = !0) {
+function Ox(e = !0) {
let t = (0, F.useContext)(pm);
if (t === null) return [!0, null];
let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, F.useId)();
@@ -20738,23 +20738,23 @@ function kx(e = !0) {
]);
return !n && r ? [!1, o] : [!0];
}
-function Ax() {
- return Ure((0, F.useContext)(pm));
+function kx() {
+ return Wre((0, F.useContext)(pm));
}
-function Ure(e) {
+function Wre(e) {
return e === null || e.isPresent;
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs
-var jx = (e) => e.key || "";
-function Mx(e) {
+var Ax = (e) => e.key || "";
+function jx(e) {
let t = [];
return F.Children.forEach(e, (e) => {
(0, F.isValidElement)(e) && t.push(e);
}), t;
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs
-var Nx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {
- let [u, d] = kx(o), f = (0, F.useMemo)(() => Mx(e), [e]), p = o && !u ? [] : f.map(jx), m = (0, F.useRef)(!0), h = dm(() => /* @__PURE__ */ new Map()), g = (0, F.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, F.useState)(f), [y, b] = (0, F.useState)(f);
+var Mx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {
+ let [u, d] = Ox(o), f = (0, F.useMemo)(() => jx(e), [e]), p = o && !u ? [] : f.map(Ax), m = (0, F.useRef)(!0), h = dm(() => /* @__PURE__ */ new Map()), g = (0, F.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, F.useState)(f), [y, b] = (0, F.useState)(f);
fm(() => {
o && !u && !y.length && d?.();
}, [
@@ -20770,7 +20770,7 @@ var Nx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
}, [y]), fm(() => {
m.current = !1;
for (let e = 0; e < y.length; e++) {
- let t = jx(y[e]);
+ let t = Ax(y[e]);
p.includes(t) ? (h.delete(t), g.current.delete(t)) : h.get(t) !== !0 && h.set(t, !1);
}
}, [
@@ -20782,15 +20782,15 @@ var Nx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
if (f !== _) {
let e = [...f], t = 0;
for (let n of y) {
- let r = p.indexOf(jx(n));
+ let r = p.indexOf(Ax(n));
r === -1 ? (e.splice(t++, 0, n), S.push(n)) : t = r + S.length + 1;
}
- return S.every((e) => h.get(jx(e))) ? e = f : a === "wait" && (e = S), b(Mx(e)), v(f), null;
+ return S.every((e) => h.get(Ax(e))) ? e = f : a === "wait" && (e = S), b(jx(e)), v(f), null;
}
let { forceRender: C } = (0, F.useContext)(um);
return (0, I.jsx)(I.Fragment, { children: y.map((e) => {
- let _ = jx(e), b = o && !u ? !1 : f === y || p.includes(_);
- return (0, I.jsx)(Vre, {
+ let _ = Ax(e), b = o && !u ? !1 : f === y || p.includes(_);
+ return (0, I.jsx)(Hre, {
isPresent: b,
initial: !m.current || n ? void 0 : !1,
custom: t,
@@ -20811,8 +20811,8 @@ var Nx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
children: e
}, _);
}) });
-}, Px = /* @__PURE__ */ (0, F.createContext)({ strict: !1 }), Fx = {
- animation: ["variants", ...bb],
+}, Nx = /* @__PURE__ */ (0, F.createContext)({ strict: !1 }), Px = {
+ animation: ["variants", ...yb],
exit: ["exit"],
drag: ["drag", "dragControls"],
focus: ["whileFocus"],
@@ -20839,28 +20839,28 @@ var Nx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
"onViewportLeave"
],
layout: ["layout", "layoutId"]
-}, Ix = !1;
-function Wre() {
- if (Ix) return;
+}, Fx = !1;
+function Gre() {
+ if (Fx) return;
let e = {};
- for (let t in Fx) e[t] = { isEnabled: (e) => Fx[t].some((t) => !!e[t]) };
- kb(e), Ix = !0;
+ for (let t in Px) e[t] = { isEnabled: (e) => Px[t].some((t) => !!e[t]) };
+ Ob(e), Fx = !0;
}
-function Lx() {
- return Wre(), Qne();
+function Ix() {
+ return Gre(), $ne();
}
// node_modules/framer-motion/dist/es/motion/features/load-features.mjs
-function Gre(e) {
- let t = Lx();
+function Kre(e) {
+ let t = Ix();
for (let n in e) t[n] = {
...t[n],
...e[n]
};
- kb(t);
+ Ob(t);
}
// node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs
-function Kre({ children: e, ...t }) {
- let n = (0, F.useContext)(Tx);
+function qre({ children: e, ...t }) {
+ let n = (0, F.useContext)(wx);
t = {
...n,
...t
@@ -20872,77 +20872,77 @@ function Kre({ children: e, ...t }) {
t.skipAnimations,
t.isValidProp
]);
- return (0, I.jsx)(Tx.Provider, {
+ return (0, I.jsx)(wx.Provider, {
value: r,
children: e
});
}
// node_modules/framer-motion/dist/es/context/MotionContext/index.mjs
-var Rx = /* @__PURE__ */ (0, F.createContext)({});
+var Lx = /* @__PURE__ */ (0, F.createContext)({});
// node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs
-function qre(e, t) {
- if (Sb(e)) {
+function Jre(e, t) {
+ if (xb(e)) {
let { initial: t, animate: n } = e;
return {
- initial: t === !1 || yb(t) ? t : void 0,
- animate: yb(n) ? n : void 0
+ initial: t === !1 || vb(t) ? t : void 0,
+ animate: vb(n) ? n : void 0
};
}
return e.inherit === !1 ? {} : t;
}
// node_modules/framer-motion/dist/es/context/MotionContext/create.mjs
-function Jre(e) {
- let { initial: t, animate: n } = qre(e, (0, F.useContext)(Rx));
+function Yre(e) {
+ let { initial: t, animate: n } = Jre(e, (0, F.useContext)(Lx));
return (0, F.useMemo)(() => ({
initial: t,
animate: n
- }), [zx(t), zx(n)]);
+ }), [Rx(t), Rx(n)]);
}
-function zx(e) {
+function Rx(e) {
return Array.isArray(e) ? e.join(" ") : e;
}
// node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs
-var Bx = () => ({
+var zx = () => ({
style: {},
transform: {},
transformOrigin: {},
vars: {}
});
// node_modules/framer-motion/dist/es/render/html/use-props.mjs
-function Vx(e, t, n) {
- for (let r in t) !yv(t[r]) && !Mb(r, n) && (e[r] = t[r]);
+function Bx(e, t, n) {
+ for (let r in t) !yv(t[r]) && !jb(r, n) && (e[r] = t[r]);
}
-function Yre({ transformTemplate: e }, t) {
+function Xre({ transformTemplate: e }, t) {
return (0, F.useMemo)(() => {
- let n = Bx();
+ let n = zx();
return Wv(n, t, e), Object.assign({}, n.vars, n.style);
}, [t]);
}
-function Xre(e, t) {
+function Zre(e, t) {
let n = e.style || {}, r = {};
- return Vx(r, n, e), Object.assign(r, Yre(e, t)), r;
+ return Bx(r, n, e), Object.assign(r, Xre(e, t)), r;
}
-function Zre(e, t) {
- let n = {}, r = Xre(e, t);
+function Qre(e, t) {
+ let n = {}, r = Zre(e, t);
return e.drag && e.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = r, n;
}
// node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs
-var Hx = () => ({
- ...Bx(),
+var Vx = () => ({
+ ...zx(),
attrs: {}
});
// node_modules/framer-motion/dist/es/render/svg/use-props.mjs
-function Qre(e, t, n, r) {
+function $re(e, t, n, r) {
let i = (0, F.useMemo)(() => {
- let n = Hx();
- return Kv(n, t, bx(r), e.transformTemplate, e.style), {
+ let n = Vx();
+ return Kv(n, t, yx(r), e.transformTemplate, e.style), {
...n.attrs,
style: { ...n.style }
};
}, [t]);
if (e.style) {
let t = {};
- return Vx(t, e.style, e), {
+ return Bx(t, e.style, e), {
...i,
style: {
...t,
@@ -20953,21 +20953,21 @@ function Qre(e, t, n, r) {
return i;
}
// node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs
-var $re = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));
-function Ux(e) {
- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || $re.has(e);
+var eie = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));
+function Hx(e) {
+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || eie.has(e);
}
// node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs
-function eie(e, t) {
- return e.startsWith("on") ? !Ux(e) : t?.(e) ?? !Ux(e);
+function tie(e, t) {
+ return e.startsWith("on") ? !Hx(e) : t?.(e) ?? !Hx(e);
}
-function tie(e, t, n, r) {
+function nie(e, t, n, r) {
let i = {};
- for (let a in e) a === "values" && typeof e.values == "object" || yv(e[a]) || (eie(a, r) || n === !0 && Ux(a) || !t && !Ux(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);
+ for (let a in e) a === "values" && typeof e.values == "object" || yv(e[a]) || (tie(a, r) || n === !0 && Hx(a) || !t && !Hx(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);
return i;
}
// node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs
-var nie = [
+var rie = [
"animate",
"circle",
"defs",
@@ -20995,12 +20995,12 @@ var nie = [
"view"
];
// node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs
-function Wx(e) {
- return typeof e != "string" || e.includes("-") ? !1 : !!(nie.indexOf(e) > -1 || /[A-Z]/u.test(e));
+function Ux(e) {
+ return typeof e != "string" || e.includes("-") ? !1 : !!(rie.indexOf(e) > -1 || /[A-Z]/u.test(e));
}
// node_modules/framer-motion/dist/es/render/dom/use-render.mjs
-function rie(e, t, n, { latestValues: r }, i, a = !1, o, s) {
- let c = (o ?? Wx(e) ? Qre : Zre)(t, r, i, e), l = tie(t, typeof e == "string", a, s), u = e === F.Fragment ? {} : {
+function iie(e, t, n, { latestValues: r }, i, a = !1, o, s) {
+ let c = (o ?? Ux(e) ? $re : Qre)(t, r, i, e), l = nie(t, typeof e == "string", a, s), u = e === F.Fragment ? {} : {
...l,
...c,
ref: n
@@ -21011,21 +21011,21 @@ function rie(e, t, n, { latestValues: r }, i, a = !1, o, s) {
});
}
// node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs
-function iie({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
+function aie({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
return {
- latestValues: aie(n, r, i, e),
+ latestValues: oie(n, r, i, e),
renderState: t()
};
}
-function aie(e, t, n, r) {
+function oie(e, t, n, r) {
let i = {}, a = r(e, {});
for (let e in a) i[e] = vy(a[e]);
- let { initial: o, animate: s } = e, c = Sb(e), l = Cb(e);
+ let { initial: o, animate: s } = e, c = xb(e), l = Sb(e);
t && l && !c && e.inherit !== !1 && (o === void 0 && (o = t.initial), s === void 0 && (s = t.animate));
let u = n ? n.initial === !1 : !1;
u ||= o === !1;
let d = u ? s : o;
- if (d && typeof d != "boolean" && !vb(d)) {
+ if (d && typeof d != "boolean" && !_b(d)) {
let t = Array.isArray(d) ? d : [d];
for (let n = 0; n < t.length; n++) {
let r = hv(e, t[n]);
@@ -21045,18 +21045,18 @@ function aie(e, t, n, r) {
}
return i;
}
-var Gx = (e) => (t, n) => {
- let r = (0, F.useContext)(Rx), i = (0, F.useContext)(pm), a = () => iie(e, t, r, i);
+var Wx = (e) => (t, n) => {
+ let r = (0, F.useContext)(Lx), i = (0, F.useContext)(pm), a = () => aie(e, t, r, i);
return n ? a() : dm(a);
-}, oie = /*@__PURE__*/ Gx({
- scrapeMotionValuesFromProps: Nb,
- createRenderState: Bx
-}), sie = /*@__PURE__*/ Gx({
- scrapeMotionValuesFromProps: xx,
- createRenderState: Hx
-}), cie = /* @__PURE__ */ Symbol.for("motionComponentSymbol");
+}, sie = /*@__PURE__*/ Wx({
+ scrapeMotionValuesFromProps: Mb,
+ createRenderState: zx
+}), cie = /*@__PURE__*/ Wx({
+ scrapeMotionValuesFromProps: bx,
+ createRenderState: Vx
+}), lie = /* @__PURE__ */ Symbol.for("motionComponentSymbol");
// node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs
-function lie(e, t, n) {
+function uie(e, t, n) {
let r = (0, F.useRef)(n);
(0, F.useInsertionEffect)(() => {
r.current = n;
@@ -21074,10 +21074,10 @@ function lie(e, t, n) {
}, [t]);
}
// node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs
-var Kx = /* @__PURE__ */ (0, F.createContext)({});
+var Gx = /* @__PURE__ */ (0, F.createContext)({});
// node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs
-function uie(e, t, n, r, i, a) {
- let { visualElement: o } = (0, F.useContext)(Rx), s = (0, F.useContext)(Px), c = (0, F.useContext)(pm), l = (0, F.useContext)(Tx), u = l.reducedMotion, d = l.skipAnimations, f = (0, F.useRef)(null), p = (0, F.useRef)(!1);
+function die(e, t, n, r, i, a) {
+ let { visualElement: o } = (0, F.useContext)(Lx), s = (0, F.useContext)(Nx), c = (0, F.useContext)(pm), l = (0, F.useContext)(wx), u = l.reducedMotion, d = l.skipAnimations, f = (0, F.useRef)(null), p = (0, F.useRef)(!1);
r ||= s.renderer, !f.current && r && (f.current = r(e, {
visualState: t,
parent: o,
@@ -21088,7 +21088,7 @@ function uie(e, t, n, r, i, a) {
skipAnimations: d,
isSVG: a
}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));
- let m = f.current, h = (0, F.useContext)(Kx);
+ let m = f.current, h = (0, F.useContext)(Gx);
m && !m.projection && i && (m.type === "html" || m.type === "svg") && i.create(m, n, h), (0, F.useInsertionEffect)(() => {
m && m.props !== n && m.update(n, c);
});
@@ -21104,46 +21104,46 @@ function uie(e, t, n, r, i, a) {
}), m;
}
// node_modules/framer-motion/dist/es/motion/index.mjs
-function qx(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
- r && Gre(r);
- let a = n ? n === "svg" : Wx(e), o = a ? sie : oie;
+function Kx(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
+ r && Kre(r);
+ let a = n ? n === "svg" : Ux(e), o = a ? cie : sie;
function s(n, s) {
- let c, l = die(n);
- dm(() => !!hb.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {
+ let c, l = fie(n);
+ dm(() => !!mb.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {
...n,
initial: !1
});
let u = {
- ...(0, F.useContext)(Tx),
+ ...(0, F.useContext)(wx),
...n,
layoutId: l
- }, { isStatic: d, isValidProp: f } = u, p = Jre(n), m = o(n, d);
+ }, { isStatic: d, isValidProp: f } = u, p = Yre(n), m = o(n, d);
if (!d && typeof window < "u") {
- fie(u, r);
- let t = pie(u);
- p.visualElement = uie(e, m, u, i, t.ProjectionNode, a), (t.isEnabled || p.visualElement?.projection?.options.layoutId) && (c = t.MeasureLayout);
+ pie(u, r);
+ let t = mie(u);
+ p.visualElement = die(e, m, u, i, t.ProjectionNode, a), (t.isEnabled || p.visualElement?.projection?.options.layoutId) && (c = t.MeasureLayout);
}
- return (0, I.jsxs)(Rx.Provider, {
+ return (0, I.jsxs)(Lx.Provider, {
value: p,
children: [c && p.visualElement ? (0, I.jsx)(c, {
visualElement: p.visualElement,
...u
- }) : null, rie(e, n, lie(m, p.visualElement, s), m, d, t, a, f)]
+ }) : null, iie(e, n, uie(m, p.visualElement, s), m, d, t, a, f)]
});
}
s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;
let c = (0, F.forwardRef)(s);
- return c[cie] = e, c;
+ return c[lie] = e, c;
}
-function die({ layoutId: e }) {
+function fie({ layoutId: e }) {
let t = (0, F.useContext)(um).id;
return t && e !== void 0 ? t + "-" + e : e;
}
-function fie(e, t) {
- (0, F.useContext)(Px).strict;
+function pie(e, t) {
+ (0, F.useContext)(Nx).strict;
}
-function pie(e) {
- let { drag: t, layout: n } = Lx();
+function mie(e) {
+ let { drag: t, layout: n } = Ix();
if (!t && !n) return {};
let r = {
...t,
@@ -21156,19 +21156,19 @@ function pie(e) {
};
}
// node_modules/framer-motion/dist/es/render/components/create-proxy.mjs
-function mie(e, t) {
- if (typeof Proxy > "u") return qx;
- let n = /* @__PURE__ */ new Map(), r = (n, r) => qx(n, r, e, t);
- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, qx(a, void 0, e, t)), n.get(a)) });
+function hie(e, t) {
+ if (typeof Proxy > "u") return Kx;
+ let n = /* @__PURE__ */ new Map(), r = (n, r) => Kx(n, r, e, t);
+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Kx(a, void 0, e, t)), n.get(a)) });
}
// node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs
-var hie = (e, t) => t.isSVG ?? Wx(e) ? new Nre(t) : new tre(t, { allowProjection: e !== F.Fragment }), gie = class extends vx {
+var gie = (e, t) => t.isSVG ?? Ux(e) ? new Pre(t) : new nre(t, { allowProjection: e !== F.Fragment }), _ie = class extends _x {
constructor(e) {
- super(e), e.animationState ||= Fre(e);
+ super(e), e.animationState ||= Ire(e);
}
updateAnimationControlsSubscription() {
let { animate: e } = this.node.getProps();
- vb(e) && (this.unmountControls = e.subscribe(this.node));
+ _b(e) && (this.unmountControls = e.subscribe(this.node));
}
mount() {
this.updateAnimationControlsSubscription();
@@ -21179,11 +21179,11 @@ var hie = (e, t) => t.isSVG ?? Wx(e) ? new Nre(t) : new tre(t, { allowProjection
unmount() {
this.node.animationState.reset(), this.unmountControls?.();
}
-}, _ie = 0, vie = {
- animation: { Feature: gie },
- exit: { Feature: class extends vx {
+}, vie = 0, yie = {
+ animation: { Feature: _ie },
+ exit: { Feature: class extends _x {
constructor() {
- super(...arguments), this.id = _ie++;
+ super(...arguments), this.id = vie++;
}
update() {
let { presenceContext: e, prevPresenceContext: t, animationState: n } = this.node;
@@ -21213,9 +21213,9 @@ var hie = (e, t) => t.isSVG ?? Wx(e) ? new Nre(t) : new tre(t, { allowProjection
}
unmount() {}
} }
-}, yie = class extends vx {
+}, bie = class extends _x {
constructor(e) {
- super(e), this.removeGroupControls = Sm, this.removeListeners = Sm, this.controls = new Tre(e);
+ super(e), this.removeGroupControls = Sm, this.removeListeners = Sm, this.controls = new Ere(e);
}
mount() {
let { dragControls: e } = this.node.getProps();
@@ -21228,14 +21228,14 @@ var hie = (e, t) => t.isSVG ?? Wx(e) ? new Nre(t) : new tre(t, { allowProjection
unmount() {
this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();
}
-}, Jx = (e) => (t, n) => {
+}, qx = (e) => (t, n) => {
e && pg.update(() => e(t, n), !1, !0);
-}, bie = class extends vx {
+}, xie = class extends _x {
constructor() {
super(...arguments), this.removePointerDownListener = Sm;
}
onPointerDown(e) {
- this.session = new Gb(e, this.createPanHandlers(), {
+ this.session = new Wb(e, this.createPanHandlers(), {
transformPagePoint: this.node.getTransformPagePoint(),
contextWindow: this.node.current?.ownerDocument.defaultView
});
@@ -21243,16 +21243,16 @@ var hie = (e, t) => t.isSVG ?? Wx(e) ? new Nre(t) : new tre(t, { allowProjection
createPanHandlers() {
let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();
return {
- onSessionStart: Jx(e),
- onStart: Jx(t),
- onMove: Jx(n),
+ onSessionStart: qx(e),
+ onStart: qx(t),
+ onMove: qx(n),
onEnd: (e, t) => {
delete this.session, r && pg.postRender(() => r(e, t));
}
};
}
mount() {
- this.removePointerDownListener = Ib(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
+ this.removePointerDownListener = Fb(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
}
update() {
this.session?.updateHandlers(this.createPanHandlers());
@@ -21260,12 +21260,12 @@ var hie = (e, t) => t.isSVG ?? Wx(e) ? new Nre(t) : new tre(t, { allowProjection
unmount() {
this.removePointerDownListener(), this.session?.end();
}
-}, Yx = !1, Xx = ({ layout: e, layoutDependency: t, layoutAnchor: n }) => ({
+}, Jx = !1, Yx = ({ layout: e, layoutDependency: t, layoutAnchor: n }) => ({
layout: e,
layoutDependency: t,
layoutAnchor: n,
animationType: typeof e == "string" ? e : "both"
-}), Zx = (e, t) => {
+}), Xx = (e, t) => {
let { snapshot: n } = e, r = e.getStack();
r?.remove(e);
let i = r?.lead;
@@ -21274,21 +21274,21 @@ var hie = (e, t) => t.isSVG ?? Wx(e) ? new Nre(t) : new tre(t, { allowProjection
let { resumeFrom: t } = e;
t?.isPresent !== !1 && e.getStack().members.includes(t) && (t.hide(), e.resumeFrom = void 0, e.snapshot = n);
};
-}, xie = class extends F.Component {
+}, Sie = class extends F.Component {
componentDidMount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;
- i && (t.group?.add(i), r && n?.register?.(i), Yx && i.root.didUpdate(), i.options.layoutId !== r && Zx(i, r)?.(), i.addEventListener("animationComplete", () => this.safeToRemove()), i.setOptions({
+ i && (t.group?.add(i), r && n?.register?.(i), Jx && i.root.didUpdate(), i.options.layoutId !== r && Xx(i, r)?.(), i.addEventListener("animationComplete", () => this.safeToRemove()), i.setOptions({
...i.options,
- ...Xx(this.props),
+ ...Yx(this.props),
onExitComplete: () => this.safeToRemove()
})), Qy.hasEverUpdated = !0;
}
getSnapshotBeforeUpdate(e) {
let { layoutDependency: t, layoutId: n, visualElement: r, drag: i, isPresent: a } = this.props, { projection: o } = r;
- return o && (o.isPresent = a, this.takeOver = e.layoutId === n ? void 0 : (o.willUpdate(), Zx(o, n)), o.setOptions({
+ return o && (o.isPresent = a, this.takeOver = e.layoutId === n ? void 0 : (o.willUpdate(), Xx(o, n)), o.setOptions({
...o.options,
- ...Xx(this.props)
- }), Yx = !0, i || e.layoutDependency !== t || t === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || pg.postRender(() => {
+ ...Yx(this.props)
+ }), Jx = !0, i || e.layoutDependency !== t || t === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || pg.postRender(() => {
o.getStack()?.members.length || this.safeToRemove();
}))), null;
}
@@ -21300,7 +21300,7 @@ var hie = (e, t) => t.isSVG ?? Wx(e) ? new Nre(t) : new tre(t, { allowProjection
}
componentWillUnmount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;
- Yx = !0, r && (r.scheduleCheckAfterUnmount(), t.group?.remove(r), n?.deregister?.(r));
+ Jx = !0, r && (r.scheduleCheckAfterUnmount(), t.group?.remove(r), n?.deregister?.(r));
}
safeToRemove() {
this.props.safeToRemove?.();
@@ -21309,39 +21309,39 @@ var hie = (e, t) => t.isSVG ?? Wx(e) ? new Nre(t) : new tre(t, { allowProjection
return null;
}
};
-function Qx(e) {
- let [t, n] = kx(), r = (0, F.useContext)(um);
- return (0, I.jsx)(xie, {
+function Zx(e) {
+ let [t, n] = Ox(), r = (0, F.useContext)(um);
+ return (0, I.jsx)(Sie, {
...e,
layoutGroup: r,
- switchLayoutGroup: (0, F.useContext)(Kx),
+ switchLayoutGroup: (0, F.useContext)(Gx),
isPresent: t,
safeToRemove: n
});
}
// node_modules/framer-motion/dist/es/motion/features/drag.mjs
-var Sie = {
- pan: { Feature: bie },
+var Cie = {
+ pan: { Feature: xie },
drag: {
- Feature: yie,
- ProjectionNode: gb,
- MeasureLayout: Qx
+ Feature: bie,
+ ProjectionNode: hb,
+ MeasureLayout: Zx
}
};
// node_modules/framer-motion/dist/es/gestures/hover.mjs
-function $x(e, t, n, r) {
+function Qx(e, t, n, r) {
let { props: i } = e, a = "while" + n;
e.animationState && i[a] && e.animationState.setActive(a, r === "Start");
let o = i["on" + n + r];
- o && pg.postRender(() => o(t, Fb(t)));
+ o && pg.postRender(() => o(t, Pb(t)));
}
-var Cie = class extends vx {
+var wie = class extends _x {
mount() {
let { current: e } = this.node;
- e && (this.unmount = kre(e, (e, t) => ($x(this.node, t, "Hover", "Start"), (e) => $x(this.node, e, "Hover", "End"))));
+ e && (this.unmount = Are(e, (e, t) => (Qx(this.node, t, "Hover", "Start"), (e) => Qx(this.node, e, "Hover", "End"))));
}
unmount() {}
-}, wie = class extends vx {
+}, Tie = class extends _x {
constructor() {
super(...arguments), this.isActive = !1;
}
@@ -21358,51 +21358,51 @@ var Cie = class extends vx {
this.isActive && this.node.animationState && (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
}
mount() {
- this.unmount = Cm(mb(this.node.current, "focus", () => this.onFocus()), mb(this.node.current, "blur", () => this.onBlur()));
+ this.unmount = Cm(pb(this.node.current, "focus", () => this.onFocus()), pb(this.node.current, "blur", () => this.onBlur()));
}
unmount() {}
};
// node_modules/framer-motion/dist/es/gestures/press.mjs
-function eS(e, t, n) {
- e.current instanceof HTMLButtonElement && e.current.disabled || $x(e, t, "Tap", n);
+function $x(e, t, n) {
+ e.current instanceof HTMLButtonElement && e.current.disabled || Qx(e, t, "Tap", n);
}
-var Tie = class extends vx {
+var Eie = class extends _x {
mount() {
let { current: e } = this.node;
if (!e) return;
let { globalTapTarget: t, propagate: n } = this.node.props;
- this.unmount = jre(e, (e, t) => (eS(this.node, t, "Start"), (e, { success: t }) => eS(this.node, e, t ? "" : "Cancel")), {
+ this.unmount = Mre(e, (e, t) => ($x(this.node, t, "Start"), (e, { success: t }) => $x(this.node, e, t ? "" : "Cancel")), {
useGlobalTarget: t,
stopPropagation: n?.tap === !1
});
}
unmount() {}
-}, tS = /* @__PURE__ */ new WeakMap(), nS = /* @__PURE__ */ new WeakMap(), Eie = (e) => {
- let t = tS.get(e.target);
+}, eS = /* @__PURE__ */ new WeakMap(), tS = /* @__PURE__ */ new WeakMap(), Die = (e) => {
+ let t = eS.get(e.target);
t && t(e);
-}, Die = (e) => {
- e.forEach(Eie);
+}, Oie = (e) => {
+ e.forEach(Die);
};
-function Oie({ root: e, ...t }) {
+function kie({ root: e, ...t }) {
let n = e || document;
- nS.has(n) || nS.set(n, {});
- let r = nS.get(n), i = JSON.stringify(t);
- return r[i] || (r[i] = new IntersectionObserver(Die, {
+ tS.has(n) || tS.set(n, {});
+ let r = tS.get(n), i = JSON.stringify(t);
+ return r[i] || (r[i] = new IntersectionObserver(Oie, {
root: e,
...t
})), r[i];
}
-function kie(e, t, n) {
- let r = Oie(t);
- return tS.set(e, n), r.observe(e), () => {
- tS.delete(e), r.unobserve(e);
+function Aie(e, t, n) {
+ let r = kie(t);
+ return eS.set(e, n), r.observe(e), () => {
+ eS.delete(e), r.unobserve(e);
};
}
// node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs
-var Aie = {
+var jie = {
some: 0,
all: 1
-}, jie = class extends vx {
+}, Mie = class extends _x {
constructor() {
super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
}
@@ -21411,7 +21411,7 @@ var Aie = {
let { viewport: e = {} } = this.node.getProps(), { root: t, margin: n, amount: r = "some", once: i } = e, a = {
root: t ? t.current : void 0,
rootMargin: n,
- threshold: typeof r == "number" ? r : Aie[r]
+ threshold: typeof r == "number" ? r : jie[r]
}, o = (e) => {
let { isIntersecting: t } = e;
if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;
@@ -21419,7 +21419,7 @@ var Aie = {
let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;
a && a(e);
};
- this.stopObserver = kie(this.node.current, a, o);
+ this.stopObserver = Aie(this.node.current, a, o);
}
mount() {
this.startObserver();
@@ -21431,61 +21431,61 @@ var Aie = {
"amount",
"margin",
"root"
- ].some(Mie(e, t)) && this.startObserver();
+ ].some(Nie(e, t)) && this.startObserver();
}
unmount() {
this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;
}
};
-function Mie({ viewport: e = {} }, { viewport: t = {} } = {}) {
+function Nie({ viewport: e = {} }, { viewport: t = {} } = {}) {
return (n) => e[n] !== t[n];
}
// node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs
-var Nie = /*@__PURE__*/ mie(/* @__PURE__ */ Object.assign({}, vie, {
- inView: { Feature: jie },
- tap: { Feature: Tie },
- focus: { Feature: wie },
- hover: { Feature: Cie }
-}, Sie, { layout: {
- ProjectionNode: gb,
- MeasureLayout: Qx
-} }), hie);
+var Pie = /*@__PURE__*/ hie(/* @__PURE__ */ Object.assign({}, yie, {
+ inView: { Feature: Mie },
+ tap: { Feature: Eie },
+ focus: { Feature: Tie },
+ hover: { Feature: wie }
+}, Cie, { layout: {
+ ProjectionNode: hb,
+ MeasureLayout: Zx
+} }), gie);
// node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs
-function rS() {
- !Tb.current && Eb();
- let [e] = (0, F.useState)(wb.current);
+function nS() {
+ !wb.current && Tb();
+ let [e] = (0, F.useState)(Cb.current);
return e;
}
// node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs
-function iS(e) {
+function rS(e) {
return typeof e == "object" && !Array.isArray(e);
}
// node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.mjs
-function aS(e, t, n, r) {
- return e == null ? [] : typeof e == "string" && iS(t) ? Lv(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];
+function iS(e, t, n, r) {
+ return e == null ? [] : typeof e == "string" && rS(t) ? Lv(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];
}
// node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs
-function Pie(e, t, n) {
+function Fie(e, t, n) {
return e * (t + 1) + n * t;
}
// node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs
-function oS(e, t) {
+function aS(e, t) {
if (t.has(e)) return t.get(e);
let [, n, r] = e.match(/^(.+?)([+-][\d.]+)$/) || [];
return t.has(n) ? Math.max(0, t.get(n) + parseFloat(r)) : void 0;
}
-function Fie(e, t, n, r) {
- return typeof t == "number" ? t : t.startsWith("-") || t.startsWith("+") ? Math.max(0, e + parseFloat(t)) : t === "<" ? n : t.startsWith("<") ? Math.max(0, n + parseFloat(t.slice(1))) : oS(t, r) ?? e;
+function Iie(e, t, n, r) {
+ return typeof t == "number" ? t : t.startsWith("-") || t.startsWith("+") ? Math.max(0, e + parseFloat(t)) : t === "<" ? n : t.startsWith("<") ? Math.max(0, n + parseFloat(t.slice(1))) : aS(t, r) ?? e;
}
// node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs
-function Iie(e, t, n) {
+function Lie(e, t, n) {
for (let r = 0; r < e.length; r++) {
let i = e[r];
i.at > t && i.at < n && (hm(e, i), r--);
}
}
-function Lie(e, t, n, r, i, a) {
- Iie(e, i, a);
+function Rie(e, t, n, r, i, a) {
+ Lie(e, i, a);
for (let o = 0; o < t.length; o++) e.push({
value: t[o],
at: Qh(i, a, r[o]),
@@ -21493,19 +21493,19 @@ function Lie(e, t, n, r, i, a) {
});
}
// node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs
-function Rie(e, t, n = 0) {
+function zie(e, t, n = 0) {
let r = t + 1 + t * n;
for (let t = 0; t < e.length; t++) e[t] = e[t] / r;
}
// node_modules/framer-motion/dist/es/animation/sequence/utils/sort.mjs
-function zie(e, t) {
+function Bie(e, t) {
return e.at === t.at ? e.value === null ? 1 : t.value === null ? -1 : 0 : e.at - t.at;
}
// node_modules/framer-motion/dist/es/animation/sequence/create.mjs
-var Bie = "easeInOut", Vie = 20;
-function Hie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
+var Vie = "easeInOut", Hie = 20;
+function Uie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
let o = t.duration || .3, s = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map(), l = {}, u = /* @__PURE__ */ new Map(), d = 0, f = 0, p = 0, m = (e, n) => {
- let a = n, s = (e) => typeof e == "number" ? n + e : Fie(f, e, d, u);
+ let a = n, s = (e) => typeof e == "number" ? n + e : Iie(f, e, d, u);
for (let n = 0; n < e.length; n++) {
let h = e[n];
if (typeof h == "string") {
@@ -21520,12 +21520,12 @@ function Hie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
let [g, _, v = {}] = h;
v.at !== void 0 && (f = s(v.at));
let y = 0, b = (e, n, r, a = 0, s = 0) => {
- let c = Uie(e), { delay: l = 0, times: u = Lg(c), type: d = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: g = 0, ..._ } = n, { ease: v = t.ease || "easeOut", duration: b } = n;
+ let c = Wie(e), { delay: l = 0, times: u = Lg(c), type: d = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: g = 0, ..._ } = n, { ease: v = t.ease || "easeOut", duration: b } = n;
r.mixer ||= n.mixer;
let x = typeof l == "function" ? l(a, s) : l, S = c.length, C = M_(d) ? d : i?.[d || "keyframes"];
if (S <= 2 && C) {
let e = 100;
- if (S === 2 && Kie(c)) {
+ if (S === 2 && qie(c)) {
let t = c[1] - c[0];
e = Math.abs(t);
}
@@ -21541,9 +21541,9 @@ function Hie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
let w = f + x;
u.length === 1 && u[0] === 0 && (u[1] = 1);
let T = u.length - c.length;
- if (T > 0 && Ig(u, T), c.length === 1 && c.unshift(null), m && m < Vie) {
+ if (T > 0 && Ig(u, T), c.length === 1 && c.unshift(null), m && m < Hie) {
let e = b > 0 ? g / b : 0;
- b = Pie(b, m, g);
+ b = Fie(b, m, g);
let t = [...c], n = [...u];
v = Array.isArray(v) ? [...v] : [v];
let r = [...v], i = h === "reverse" || h === "mirror", a = t, o = r;
@@ -21553,20 +21553,20 @@ function Hie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
e > 0 && (c.push(c[c.length - 1]), u.push(p), v.push("linear")), c.push(...d);
for (let e = 0; e < d.length; e++) u.push(n[e] + p), v.push(e === 0 ? "linear" : /* @__PURE__ */ Gm(f, e - 1));
}
- Rie(u, m, e);
+ zie(u, m, e);
}
let E = w + b;
- Lie(r, c, v, u, w, E), y = Math.max(x + b, y), p = Math.max(E, p);
+ Rie(r, c, v, u, w, E), y = Math.max(x + b, y), p = Math.max(E, p);
};
if (yv(g)) {
- let e = sS(g, c);
- b(_, v, cS("default", e));
+ let e = oS(g, c);
+ b(_, v, sS("default", e));
} else {
- let e = aS(g, _, r, l), t = e.length;
+ let e = iS(g, _, r, l), t = e.length;
for (let n = 0; n < t; n++) {
_ = _, v = v;
- let r = e[n], i = sS(r, c);
- for (let e in _) b(_[e], Wie(v, e), cS(e, i), n, t);
+ let r = e[n], i = oS(r, c);
+ for (let e in _) b(_[e], Gie(v, e), sS(e, i), n, t);
}
}
d = f, f += y, a = Math.max(a, f);
@@ -21576,13 +21576,13 @@ function Hie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
return m(e, 0), a && (a.duration = p, a.labels = u), c.forEach((e, r) => {
for (let i in e) {
let a = e[i];
- a.sort(zie);
+ a.sort(Bie);
let o = [], c = [], l = [];
for (let e = 0; e < a.length; e++) {
let { at: t, value: n, easing: r } = a[e];
o.push(n), c.push(/* @__PURE__ */ wm(0, p, t)), l.push(r || "easeOut");
}
- c[0] !== 0 && (c.unshift(0), o.unshift(o[0]), l.unshift(Bie)), c[c.length - 1] !== 1 && (c.push(1), o.push(null)), s.has(r) || s.set(r, {
+ c[0] !== 0 && (c.unshift(0), o.unshift(o[0]), l.unshift(Vie)), c[c.length - 1] !== 1 && (c.push(1), o.push(null)), s.has(r) || s.set(r, {
keyframes: {},
transition: {}
});
@@ -21600,43 +21600,43 @@ function Hie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
}
}), s;
}
-function sS(e, t) {
+function oS(e, t) {
return !t.has(e) && t.set(e, {}), t.get(e);
}
-function cS(e, t) {
+function sS(e, t) {
return t[e] || (t[e] = []), t[e];
}
-function Uie(e) {
+function Wie(e) {
return Array.isArray(e) ? e : [e];
}
-function Wie(e, t) {
+function Gie(e, t) {
return e && e[t] ? {
...e,
...e[t]
} : { ...e };
}
-var Gie = (e) => typeof e == "number", Kie = (e) => e.every(Gie);
+var Kie = (e) => typeof e == "number", qie = (e) => e.every(Kie);
// node_modules/framer-motion/dist/es/animation/animate/subject.mjs
-function qie(e, t) {
- return yv(e) || typeof e == "number" || typeof e == "string" && !iS(t);
+function Jie(e, t) {
+ return yv(e) || typeof e == "number" || typeof e == "string" && !rS(t);
}
-function lS(e, t, n, r) {
+function cS(e, t, n, r) {
let i = [];
- if (qie(e, t)) i.push(hy(e, iS(t) && t.default || t, n && (n.default || n)));
+ if (Jie(e, t)) i.push(hy(e, rS(t) && t.default || t, n && (n.default || n)));
else {
if (e == null) return i;
- let a = aS(e, t, r), o = a.length;
+ let a = iS(e, t, r), o = a.length;
for (let e = 0; e < o; e++) {
let r = a[e], s = { ...n };
- "delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...one(r, t, s, _b.get(r))) : i.push(...jv(Bte(r) ?? sne, r, t, s));
+ "delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...one(r, t, s, gb.get(r))) : i.push(...jv(Bte(r) ?? sne, r, t, s));
}
}
return i;
}
// node_modules/framer-motion/dist/es/animation/animate/sequence.mjs
-function Jie(e, t, n, r) {
+function Yie(e, t, n, r) {
let i = [];
- return Hie(e.map((e) => {
+ return Uie(e.map((e) => {
if (Array.isArray(e) && typeof e[0] == "function") {
let t = e[0], n = uv(0);
return n.on("change", t), e.length === 1 ? [n, [0, 1]] : e.length === 2 ? [
@@ -21651,26 +21651,26 @@ function Jie(e, t, n, r) {
}
return e;
}), t, n, { spring: Ng }, r).forEach(({ keyframes: e, transition: t }, n) => {
- i.push(...lS(n, e, t));
+ i.push(...cS(n, e, t));
}), i;
}
// node_modules/framer-motion/dist/es/animation/timeline/index.mjs
-var uS = 0;
-function Yie(e, t) {
+var lS = 0;
+function Xie(e, t) {
let n = [...e], r = typeof n[0] == "function" ? Math.max(1, n.length - 1) : 2;
return n[r] = {
...n[r],
at: t
}, n;
}
-var dS = (e, t) => t === void 0 ? e : {
+var uS = (e, t) => t === void 0 ? e : {
name: e,
at: t
};
-function fS(e) {
+function dS(e) {
e.pause(), e.time = 0, e.stop();
}
-var pS = class e {
+var fS = class e {
constructor(e = [], t = {}, n) {
this.options = t, this.entries = [], this.repeatIndex = 0, this.prevTime = 0, this.markers = [], this.labels = /* @__PURE__ */ new Map(), this.totalDuration = 0, this.isDirty = !1, this.isDone = !1, this.isRebuilding = !1, this.playbackSpeed = 1, this.motionScope = Pv.current, this.isKilled = !1, this.isWrapped = !1, this.stop = () => {
this.flush(), this.group?.stop();
@@ -21689,7 +21689,7 @@ var pS = class e {
item: e,
at: t,
marker: {
- name: "_m" + uS++,
+ name: "_m" + lS++,
time: 0,
callback: e
}
@@ -21700,7 +21700,7 @@ var pS = class e {
item: t || {},
at: e,
marker: {
- name: "_m" + uS++,
+ name: "_m" + lS++,
time: 0,
callback: t,
pause: !0
@@ -21794,19 +21794,19 @@ var pS = class e {
this.isDirty && !this.parent && !this.isKilled && this.build();
}
adopt(e) {
- this.group &&= (fS(this.group), void 0), this.isDirty = !1, this.parent = e;
+ this.group &&= (dS(this.group), void 0), this.isDirty = !1, this.parent = e;
}
build() {
this.isDirty = !1, this.isWrapped = !1;
let e = this.group, t = 0;
- e && (this.isRebuilding = !0, this.scrollTimeline ? (this.detachScroll?.(), e.cancel()) : (t = e.animations.length ? e.time : 0, fS(e)), this.isRebuilding = !1);
+ e && (this.isRebuilding = !0, this.scrollTimeline ? (this.detachScroll?.(), e.cancel()) : (t = e.animations.length ? e.time : 0, dS(e)), this.isRebuilding = !1);
let { defaultTransition: n, onComplete: r, onUpdate: i, onRepeat: a, onReverseComplete: o, autoplay: s, scope: c, ...l } = this.options, u = {};
c?.reduceMotion !== void 0 && (u.reduceMotion = c.reduceMotion), c?.skipAnimations !== void 0 && (u.skipAnimations = c.skipAnimations), Object.assign(u, l);
let d = /* @__PURE__ */ new Map(), f = {}, p = Pv.current;
Pv.current = this.motionScope;
let m;
try {
- m = Jie(this.toSequence(d), {
+ m = Yie(this.toSequence(d), {
defaultTransition: n,
...u
}, c, f);
@@ -21828,16 +21828,16 @@ var pS = class e {
t = Math.min(t, g), this.isDone && t < g && this.newFinished(), this.scrollTimeline ? this.detachScroll = v.attachTimeline(this.scrollTimeline) : (v.speed = this.playbackSpeed, this.isPaused && v.pause(), t && (v.time = t)), this.repeatIndex = this.currentRepeat(), this.prevTime = t || -1, this.watch();
}
toSequence(t) {
- return this.entries.map(({ item: n, at: r, marker: i }) => i ? (t.set(i.name, i), dS(i.name, r)) : n instanceof e ? {
+ return this.entries.map(({ item: n, at: r, marker: i }) => i ? (t.set(i.name, i), uS(i.name, r)) : n instanceof e ? {
sequence: n.toSequence(t),
at: r
- } : typeof n == "string" ? dS(n, r) : r === void 0 ? n : Array.isArray(n) ? Yie(n, r) : {
+ } : typeof n == "string" ? uS(n, r) : r === void 0 ? n : Array.isArray(n) ? Xie(n, r) : {
...n,
at: r
});
}
resolve(e) {
- return this.flush(), typeof e == "number" ? e : oS(e, this.labels) ?? this.time;
+ return this.flush(), typeof e == "number" ? e : aS(e, this.labels) ?? this.time;
}
currentRepeat() {
let { repeat: e = 0, repeatDelay: t = 0, delay: n = 0 } = this.options, r = this.totalDuration + t, i = (this.clockAnimation?.time ?? 0) - n;
@@ -21885,16 +21885,16 @@ var pS = class e {
}
};
// node_modules/framer-motion/dist/es/animation/animate/index.mjs
-function Xie(e) {
+function Zie(e) {
return Array.isArray(e) && e.some(Array.isArray);
}
-function Zie(e = {}) {
+function Qie(e = {}) {
let { scope: t, reduceMotion: n, skipAnimations: r } = e;
function i(e, i, a) {
let o = Pv.current?.transition, s = {};
n !== void 0 && (s.reduceMotion = n), r !== void 0 && (s.skipAnimations = r);
let c;
- if (Xie(e)) {
+ if (Zie(e)) {
let n = {
...s,
...i,
@@ -21903,14 +21903,14 @@ function Zie(e = {}) {
o && (n.defaultTransition = {
...o,
...n.defaultTransition
- }), c = new pS(e, n);
+ }), c = new fS(e, n);
} else {
let { onComplete: n, ...r } = a || {}, l = {
...s,
...o,
...r
}, { onUpdate: u } = r;
- c = new pS([typeof e == "number" || typeof e == "string" && (typeof i == "string" || Array.isArray(i)) ? [
+ c = new fS([typeof e == "number" || typeof e == "string" && (typeof i == "string" || Array.isArray(i)) ? [
u || (() => {}),
Array.isArray(i) ? i : [e, i],
{
@@ -21925,18 +21925,18 @@ function Zie(e = {}) {
...s,
onComplete: n,
scope: t
- }, lS(e, i, l, t));
+ }, cS(e, i, l, t));
}
return c;
}
return i;
}
-var mS = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Zie(), {
+var pS = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Qie(), {
addEffect: zte,
removeEffect: kv
});
// node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs
-function Qie(e, t, n, r) {
+function $ie(e, t, n, r) {
if (e == null) return [];
let i = Lv(e, r), a = i.length, o = [];
for (let e = 0; e < a; e++) {
@@ -21963,7 +21963,7 @@ function Qie(e, t, n, r) {
}
for (let e = 0; e < o.length; e++) {
let { unresolvedKeyframes: t, options: n } = o[e], { element: r, name: i, pseudoElement: a } = n;
- !a && t[0] === null && (t[0] = _x(r, i)), t_(t), Rte(t, i), !a && t.length < 2 && t.unshift(_x(r, i)), n.keyframes = t;
+ !a && t[0] === null && (t[0] = gx(r, i)), t_(t), Rte(t, i), !a && t.length < 2 && t.unshift(gx(r, i)), n.keyframes = t;
}
let s = [];
for (let e = 0; e < o.length; e++) {
@@ -21972,12 +21972,12 @@ function Qie(e, t, n, r) {
}
return s;
}
-var $ie = /*@__PURE__*/ ((e) => {
+var eae = /*@__PURE__*/ ((e) => {
function t(t, n, r) {
- return new iv(Qie(t, n, r, e));
+ return new iv($ie(t, n, r, e));
}
return t;
-})(), hS = Nie, gS = class {
+})(), mS = Pie, hS = class {
constructor(e) {
this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = this.constructor.type, this.key = e;
}
@@ -21992,22 +21992,22 @@ var $ie = /*@__PURE__*/ ((e) => {
let r = this.clone();
return t.addDescendants(r, e), r;
}
-}, _S = class extends gS {
+}, gS = class extends hS {
filter(e, t, n) {
- let [r, i] = xS(e, t, this.firstChildKey, n), a = this.clone();
+ let [r, i] = bS(e, t, this.firstChildKey, n), a = this.clone();
return a.firstChildKey = r, a.lastChildKey = i, a;
}
};
-(class extends gS {
+(class extends hS {
static {
this.type = "header";
}
});
-var vS = class extends gS {
+var _S = class extends hS {
static {
this.type = "loader";
}
-}, yS = class extends _S {
+}, vS = class extends gS {
static {
this.type = "item";
}
@@ -22018,7 +22018,7 @@ var vS = class extends gS {
}
return null;
}
-}, eae = class extends _S {
+}, tae = class extends gS {
static {
this.type = "section";
}
@@ -22030,7 +22030,7 @@ var vS = class extends gS {
}
return null;
}
-}, bS = class {
+}, yS = class {
get size() {
return this.itemCount;
}
@@ -22105,14 +22105,14 @@ var vS = class extends gS {
this.firstKey = e, this.lastKey = t, this.frozen = !n;
}
filter(e) {
- let t = new this.constructor(), [n, r] = xS(this, t, this.firstKey, e);
+ let t = new this.constructor(), [n, r] = bS(this, t, this.firstKey, e);
return t?.commit(n, r), t;
}
constructor() {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;
}
};
-function xS(e, t, n, r) {
+function bS(e, t, n, r) {
if (n == null) return [null, null];
let i = null, a = null, o = e.getItem(n);
for (; o != null;) {
@@ -22126,7 +22126,7 @@ function xS(e, t, n, r) {
return [i?.key ?? null, a?.key ?? null];
}
// node_modules/react-aria/dist/private/collections/Document.mjs
-var SS = class {
+var xS = class {
constructor(e) {
this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
}
@@ -22207,7 +22207,7 @@ var SS = class {
for (; e && e.isHidden;) e = e.previousSibling;
return e;
}
-}, CS = class e extends SS {
+}, SS = class e extends xS {
constructor(e, t) {
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;
}
@@ -22258,7 +22258,7 @@ var SS = class {
setAttribute() {}
setAttributeNS() {}
removeAttribute() {}
-}, tae = class extends SS {
+}, nae = class extends xS {
constructor(e) {
super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.keyOwners = /* @__PURE__ */ new Map(), this.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;
}
@@ -22266,7 +22266,7 @@ var SS = class {
return !0;
}
createElement(e) {
- return new CS(e, this);
+ return new SS(e, this);
}
getMutableCollection() {
return this.nextCollection ||= this.collection.clone(), this.nextCollection;
@@ -22288,8 +22288,8 @@ var SS = class {
return this.inSubscription || (this.queuedRender = !1, this.updateCollection()), this.collection;
}
updateCollection() {
- for (let e of this.dirtyNodes) e instanceof CS && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
- for (let e of this.dirtyNodes) e instanceof CS ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);
+ for (let e of this.dirtyNodes) e instanceof SS && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
+ for (let e of this.dirtyNodes) e instanceof SS ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);
this.nextCollection && (this.nextCollection.commit(this.firstVisibleChild?.node?.key ?? null, this.lastVisibleChild?.node?.key ?? null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null));
}
queueUpdate() {
@@ -22307,13 +22307,13 @@ var SS = class {
}
};
// node_modules/react-aria/dist/private/collections/useCachedChildren.mjs
-function wS(e) {
+function CS(e) {
let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, F.useMemo)(() => void 0, [t]), s = (0, F.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);
return (0, F.useMemo)(() => {
if (n && typeof t == "function") {
let e = [];
for (let a of n) {
- let n = nae(a) ? a : null, o = n ? s.get(n) : null;
+ let n = rae(a) ? a : null, o = n ? s.get(n) : null;
if (!o) {
o = t(a);
let c = o.props.id ?? a?.key ?? a?.id;
@@ -22338,7 +22338,7 @@ function wS(e) {
i
]);
}
-function nae(e) {
+function rae(e) {
switch (typeof e) {
case "object": return e != null;
case "function":
@@ -22347,24 +22347,24 @@ function nae(e) {
}
}
// node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs
-function TS(e) {
+function wS(e) {
e.focus({ preventScroll: !0 });
}
// node_modules/react-aria/dist/private/utils/domHelpers.mjs
-var ES = (e) => rae(e) ? e.document : iae(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), DS = (e) => ES(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
-function OS(e) {
+var TS = (e) => iae(e) ? e.document : aae(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), ES = (e) => TS(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
+function DS(e) {
return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";
}
-function rae(e) {
+function iae(e) {
return typeof e == "object" && !!e && "window" in e && e.window === e;
}
-function iae(e) {
- return OS(e) && e.nodeType === 9;
+function aae(e) {
+ return DS(e) && e.nodeType === 9;
}
-function kS(e) {
- return OS(e) && e.nodeType === 11 && "host" in e;
+function OS(e) {
+ return DS(e) && e.nodeType === 11 && "host" in e;
}
-function AS(e, t, n, r) {
+function kS(e, t, n, r) {
if (n == null || e == null) return () => {};
let i = Array.isArray(e) ? e : [e];
for (let e of i) e.addEventListener(t, n, r);
@@ -22372,7 +22372,7 @@ function AS(e, t, n, r) {
for (let e of i) e.removeEventListener(t, n, r);
};
}
-function jS(e, t, n, r) {
+function AS(e, t, n, r) {
if (e == null) return () => {};
let i = [], a = Array.isArray(e) ? e : [e];
for (let e of a) {
@@ -22386,70 +22386,70 @@ function jS(e, t, n, r) {
};
}
// node_modules/react-stately/dist/private/flags/flags.mjs
-var aae = !1;
-function MS() {
- return aae;
+var oae = !1;
+function jS() {
+ return oae;
}
// node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs
-function NS(e, t) {
- if (!MS()) return t && e ? e.contains(t) : !1;
+function MS(e, t) {
+ if (!jS()) return t && e ? e.contains(t) : !1;
if (!e || !t) return !1;
let n = t;
for (; n != null;) {
if (n === e) return !0;
- n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : kS(n) ? n.host : n.parentNode;
+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : OS(n) ? n.host : n.parentNode;
}
return !1;
}
-var PS = (e = document) => {
- if (!MS()) return e.activeElement;
+var NS = (e = document) => {
+ if (!jS()) return e.activeElement;
let t = e.activeElement;
for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;
return t;
};
function G(e) {
- if (MS() && e.target instanceof Element && e.target.shadowRoot) {
+ if (jS() && e.target instanceof Element && e.target.shadowRoot) {
if ("composedPath" in e) return e.composedPath()[0] ?? null;
if ("composedPath" in e.nativeEvent) return e.nativeEvent.composedPath()[0] ?? null;
}
return e.target;
}
-function FS(e, t) {
+function PS(e, t) {
if (t === null) return [];
- t ??= DS(e);
+ t ??= ES(e);
let n = [t];
- if (!MS() || !e || e === t) return n;
+ if (!jS() || !e || e === t) return n;
let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;
- for (; kS(i) && i !== r;) n.push(i), i = i.host.getRootNode();
+ for (; OS(i) && i !== r;) n.push(i), i = i.host.getRootNode();
return n;
}
-function IS(e) {
+function FS(e) {
if (!e) return !1;
- let t = e.getRootNode(), n = DS(e);
+ let t = e.getRootNode(), n = ES(e);
if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;
let r = t.activeElement;
return r != null && e.contains(r);
}
// node_modules/react-aria/dist/private/utils/isElementVisible.mjs
-var oae = typeof Element < "u" && "checkVisibility" in Element.prototype;
-function sae(e) {
- let t = DS(e);
+var sae = typeof Element < "u" && "checkVisibility" in Element.prototype;
+function cae(e) {
+ let t = ES(e);
if (!(e instanceof t.HTMLElement) && !(e instanceof t.SVGElement)) return !1;
let { display: n, visibility: r } = e.style, i = n !== "none" && r !== "hidden" && r !== "collapse";
if (i) {
- let { getComputedStyle: t } = DS(e), { display: n, visibility: r } = t(e);
+ let { getComputedStyle: t } = ES(e), { display: n, visibility: r } = t(e);
i = n !== "none" && r !== "hidden" && r !== "collapse";
}
return i;
}
-function cae(e, t) {
+function lae(e, t) {
return !e.hasAttribute("hidden") && !e.hasAttribute("data-react-aria-prevent-focus") && (e.nodeName === "DETAILS" && t && t.nodeName !== "SUMMARY" ? e.hasAttribute("open") : !0);
}
-function LS(e, t) {
- return oae ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && sae(e) && cae(e, t) && (!e.parentElement || LS(e.parentElement, e));
+function IS(e, t) {
+ return sae ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && cae(e) && lae(e, t) && (!e.parentElement || IS(e.parentElement, e));
}
// node_modules/react-aria/dist/private/utils/isFocusable.mjs
-var RS = [
+var LS = [
"input:not([disabled]):not([type=hidden])",
"select:not([disabled])",
"textarea:not([disabled])",
@@ -22464,39 +22464,39 @@ var RS = [
"video[controls]",
"[contenteditable]:not([contenteditable^=\"false\"])",
"permission"
-], lae = RS.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
-RS.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
-var uae = RS.join(":not([hidden]):not([tabindex=\"-1\"]),");
-function zS(e, t) {
- return e.matches(lae) && !VS(e) && (t?.skipVisibilityCheck || LS(e));
+], uae = LS.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
+LS.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
+var dae = LS.join(":not([hidden]):not([tabindex=\"-1\"]),");
+function RS(e, t) {
+ return e.matches(uae) && !BS(e) && (t?.skipVisibilityCheck || IS(e));
}
-function BS(e) {
- return e.matches(uae) && LS(e) && !VS(e);
+function zS(e) {
+ return e.matches(dae) && IS(e) && !BS(e);
}
-function VS(e) {
+function BS(e) {
let t = e;
for (; t != null;) {
- if (t instanceof DS(t).HTMLElement && t.inert) return !0;
+ if (t instanceof ES(t).HTMLElement && t.inert) return !0;
t = t.parentElement;
}
return !1;
}
// node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs
-var HS = typeof document < "u" ? F.useLayoutEffect : () => {};
+var VS = typeof document < "u" ? F.useLayoutEffect : () => {};
// node_modules/react-aria/dist/private/interactions/utils.mjs
-function US(e) {
+function HS(e) {
let t = e;
return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;
}
-function WS(e, t) {
+function US(e, t) {
Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });
}
-function GS(e) {
+function WS(e) {
let t = (0, F.useRef)({
isFocused: !1,
observer: null
});
- return HS(() => {
+ return VS(() => {
let e = t.current;
return () => {
e.observer &&= (e.observer.disconnect(), null);
@@ -22508,14 +22508,14 @@ function GS(e) {
let n = r;
n.addEventListener("focusout", (r) => {
if (t.current.isFocused = !1, n.disabled) {
- let t = US(r);
+ let t = HS(r);
e?.(t);
}
t.current.observer && (t.current.observer.disconnect(), t.current.observer = null);
}, { once: !0 }), t.current.observer = new MutationObserver(() => {
if (t.current.isFocused && n.disabled) {
t.current.observer?.disconnect();
- let e = n === PS() ? null : PS();
+ let e = n === NS() ? null : NS();
n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: e
@@ -22528,80 +22528,80 @@ function GS(e) {
}
}, [e]);
}
-var KS = !1;
-function dae(e) {
- for (; e && !zS(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
- let t = PS(DS(e).document);
+var GS = !1;
+function fae(e) {
+ for (; e && !RS(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
+ let t = NS(ES(e).document);
if (!t || t === e) return;
- let n = e?.getRootNode(), r = n != null && kS(n) ? n : DS(e), i = (t) => t === e || OS(t) && NS(e, t), a = (e) => e === t || t != null && OS(e) && NS(t, e);
- KS = !0;
+ let n = e?.getRootNode(), r = n != null && OS(n) ? n : ES(e), i = (t) => t === e || DS(t) && MS(e, t), a = (e) => e === t || t != null && DS(e) && MS(t, e);
+ GS = !0;
let o = !1, s = (e) => {
(a(G(e)) || o) && e.stopImmediatePropagation();
}, c = (n) => {
- (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, TS(t), d()));
+ (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, wS(t), d()));
}, l = (e) => {
(i(G(e)) || o) && e.stopImmediatePropagation();
}, u = (e) => {
- (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, TS(t), d()));
+ (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, wS(t), d()));
};
r.addEventListener("blur", s, !0), r.addEventListener("focusout", c, !0), r.addEventListener("focusin", u, !0), r.addEventListener("focus", l, !0);
let d = () => {
- cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), KS = !1, o = !1;
+ cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), GS = !1, o = !1;
}, f = requestAnimationFrame(d);
return d;
}
// node_modules/react-aria/dist/private/utils/platform.mjs
-function qS(e) {
+function KS(e) {
if (typeof window > "u" || window.navigator == null) return !1;
let t = window.navigator.userAgentData?.brands;
return Array.isArray(t) && t.some((t) => e.test(t.brand)) || e.test(window.navigator.userAgent);
}
-function JS(e) {
+function qS(e) {
return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);
}
-function YS(e) {
+function JS(e) {
let t = null;
return () => (t ??= e(), t);
}
-var XS = YS(function() {
- return JS(/^Mac/i);
-}), fae = YS(function() {
- return JS(/^iPhone/i);
-}), ZS = YS(function() {
- return JS(/^iPad/i) || XS() && navigator.maxTouchPoints > 1;
-}), QS = YS(function() {
- return fae() || ZS();
-}), pae = YS(function() {
- return XS() || QS();
-}), $S = YS(function() {
- return qS(/AppleWebKit/i) && (QS() || !eC());
-}), eC = YS(function() {
- return qS(/Chrome|CriOS|CrMo/i);
-}), tC = YS(function() {
- return qS(/Android/i);
+var YS = JS(function() {
+ return qS(/^Mac/i);
+}), pae = JS(function() {
+ return qS(/^iPhone/i);
+}), XS = JS(function() {
+ return qS(/^iPad/i) || YS() && navigator.maxTouchPoints > 1;
+}), ZS = JS(function() {
+ return pae() || XS();
+}), mae = JS(function() {
+ return YS() || ZS();
+}), QS = JS(function() {
+ return KS(/AppleWebKit/i) && (ZS() || !$S());
+}), $S = JS(function() {
+ return KS(/Chrome|CriOS|CrMo/i);
+}), eC = JS(function() {
+ return KS(/Android/i);
});
// node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs
-function nC(e) {
- return e.pointerType === "" && e.isTrusted ? !0 : tC() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
+function tC(e) {
+ return e.pointerType === "" && e.isTrusted ? !0 : eC() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
}
-function mae(e) {
- return !tC() && e.width === 0 && e.height === 0 || tC() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
+function hae(e) {
+ return !eC() && e.width === 0 && e.height === 0 || eC() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
}
// node_modules/react-aria/dist/private/utils/openLink.mjs
-var hae = /*#__PURE__*/ (0, F.createContext)({
+var gae = /*#__PURE__*/ (0, F.createContext)({
isNative: !0,
- open: vae,
+ open: yae,
useHref: (e) => e
});
-function rC() {
- return (0, F.useContext)(hae);
+function nC() {
+ return (0, F.useContext)(gae);
}
-function gae(e, t) {
+function _ae(e, t) {
let n = e.getAttribute("target");
return (!n || n === "_self") && e.origin === location.origin && !e.hasAttribute("download") && !t.metaKey && !t.ctrlKey && !t.altKey && !t.shiftKey;
}
-function iC(e, t, n = !0) {
- let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = $S() && XS() && !ZS() ? new KeyboardEvent("keydown", {
+function rC(e, t, n = !0) {
+ let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = QS() && YS() && !XS() ? new KeyboardEvent("keydown", {
keyIdentifier: "Enter",
metaKey: r,
ctrlKey: i,
@@ -22616,21 +22616,21 @@ function iC(e, t, n = !0) {
bubbles: !0,
cancelable: !0
});
- iC.isOpening = n, TS(e), e.dispatchEvent(s), iC.isOpening = !1;
+ rC.isOpening = n, wS(e), e.dispatchEvent(s), rC.isOpening = !1;
}
-iC.isOpening = !1;
-function _ae(e, t) {
+rC.isOpening = !1;
+function vae(e, t) {
if (e instanceof HTMLAnchorElement) t(e);
else if (e.hasAttribute("data-href")) {
let n = document.createElement("a");
n.href = e.getAttribute("data-href"), e.hasAttribute("data-target") && (n.target = e.getAttribute("data-target")), e.hasAttribute("data-rel") && (n.rel = e.getAttribute("data-rel")), e.hasAttribute("data-download") && (n.download = e.getAttribute("data-download")), e.hasAttribute("data-ping") && (n.ping = e.getAttribute("data-ping")), e.hasAttribute("data-referrer-policy") && (n.referrerPolicy = e.getAttribute("data-referrer-policy")), e.appendChild(n), t(n), e.removeChild(n);
}
}
-function vae(e, t) {
- _ae(e, (e) => iC(e, t));
+function yae(e, t) {
+ vae(e, (e) => rC(e, t));
}
-function aC(e) {
- let t = rC().useHref(e.href ?? "");
+function iC(e) {
+ let t = nC().useHref(e.href ?? "");
return {
"data-href": e.href ? t : void 0,
"data-target": e.target,
@@ -22640,8 +22640,8 @@ function aC(e) {
"data-referrer-policy": e.referrerPolicy
};
}
-function oC(e) {
- let t = rC().useHref(e?.href ?? ""), n = {};
+function aC(e) {
+ let t = nC().useHref(e?.href ?? ""), n = {};
if (e) for (let r of [
"href",
"target",
@@ -22652,138 +22652,138 @@ function oC(e) {
]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);
return n;
}
-function yae(e, t, n, r) {
- !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && gae(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));
+function bae(e, t, n, r) {
+ !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && _ae(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));
}
// node_modules/react-aria/dist/private/ssr/SSRProvider.mjs
-var sC = {
+var oC = {
prefix: String(Math.round(Math.random() * 1e10)),
current: 0
-}, cC = /*#__PURE__*/ F.createContext(sC), bae = /*#__PURE__*/ F.createContext(!1);
+}, sC = /*#__PURE__*/ F.createContext(oC), xae = /*#__PURE__*/ F.createContext(!1);
typeof window < "u" && window.document && window.document.createElement;
-var lC = /* @__PURE__ */ new WeakMap();
-function xae(e = !1) {
- let t = (0, F.useContext)(cC), n = (0, F.useRef)(null);
+var cC = /* @__PURE__ */ new WeakMap();
+function Sae(e = !1) {
+ let t = (0, F.useContext)(sC), n = (0, F.useRef)(null);
if (n.current === null && !e) {
let e = F.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;
if (e) {
- let n = lC.get(e);
- n == null ? lC.set(e, {
+ let n = cC.get(e);
+ n == null ? cC.set(e, {
id: t.current,
state: e.memoizedState
- }) : e.memoizedState !== n.state && (t.current = n.id, lC.delete(e));
+ }) : e.memoizedState !== n.state && (t.current = n.id, cC.delete(e));
}
n.current = ++t.current;
}
return n.current;
}
-function Sae(e) {
- let t = (0, F.useContext)(cC), n = xae(!!e), r = `react-aria${t.prefix}`;
+function Cae(e) {
+ let t = (0, F.useContext)(sC), n = Sae(!!e), r = `react-aria${t.prefix}`;
return e || `${r}-${n}`;
}
-function Cae(e) {
- let t = F.useId(), [n] = (0, F.useState)(fC()), r = n ? "react-aria" : `react-aria${sC.prefix}`;
+function wae(e) {
+ let t = F.useId(), [n] = (0, F.useState)(uC()), r = n ? "react-aria" : `react-aria${oC.prefix}`;
return e || `${r}-${t}`;
}
-var wae = typeof F.useId == "function" ? Cae : Sae;
-function Tae() {
+var Tae = typeof F.useId == "function" ? wae : Cae;
+function Eae() {
return !1;
}
-function uC() {
+function Dae() {
return !0;
}
-function dC(e) {
+function lC(e) {
return () => {};
}
-function fC() {
- return typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore(dC, Tae, uC) : (0, F.useContext)(bae);
+function uC() {
+ return typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore(lC, Eae, Dae) : (0, F.useContext)(xae);
}
// node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs
-var pC = null, mC = /* @__PURE__ */ new Set(), hC = /* @__PURE__ */ new Map(), gC = !1, _C = !1, vC = {
+var dC = null, fC = /* @__PURE__ */ new Set(), pC = /* @__PURE__ */ new Map(), mC = !1, hC = !1, gC = {
Tab: !0,
Escape: !0
};
-function yC(e, t) {
- for (let n of mC) n(e, t);
+function _C(e, t) {
+ for (let n of fC) n(e, t);
+}
+function Oae(e) {
+ return !(e.metaKey || !YS() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
+}
+function vC(e) {
+ mC = !0, !rC.isOpening && Oae(e) && (dC = "keyboard", _C("keyboard", e));
}
-function Eae(e) {
- return !(e.metaKey || !XS() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
+function yC(e) {
+ dC = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (mC = !0, _C("pointer", e));
}
function bC(e) {
- gC = !0, !iC.isOpening && Eae(e) && (pC = "keyboard", yC("keyboard", e));
+ !rC.isOpening && tC(e) && (mC = !0, dC = "virtual");
}
function xC(e) {
- pC = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (gC = !0, yC("pointer", e));
+ if (GS) return;
+ let t = G(e), n = ES(t), r = TS(t);
+ t === n ? hC = !0 : t !== r && e.isTrusted && (!mC && !hC && (dC = "virtual", _C("virtual", e)), mC = !1, hC = !1);
}
-function SC(e) {
- !iC.isOpening && nC(e) && (gC = !0, pC = "virtual");
+function SC() {
+ GS || (mC = !1, hC = !0);
}
function CC(e) {
- if (KS) return;
- let t = G(e), n = DS(t), r = ES(t);
- t === n ? _C = !0 : t !== r && e.isTrusted && (!gC && !_C && (pC = "virtual", yC("virtual", e)), gC = !1, _C = !1);
-}
-function wC() {
- KS || (gC = !1, _C = !0);
-}
-function TC(e) {
- let t = PS(ES(G(e)));
+ let t = NS(TS(G(e)));
queueMicrotask(() => {
- PS(ES(G(e))) !== t && AC("keyboard");
+ NS(TS(G(e))) !== t && OC("keyboard");
});
}
-function EC(e) {
+function wC(e) {
if (typeof window > "u" || typeof document > "u") return;
- let t = DS(e), n = ES(e);
- if (hC.get(t)) return;
+ let t = ES(e), n = TS(e);
+ if (pC.get(t)) return;
let r = t.HTMLElement.prototype.focus;
Reflect.defineProperty(t.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
value: function() {
- gC = !0, r.apply(this, arguments);
+ mC = !0, r.apply(this, arguments);
}
- }), n.addEventListener("keydown", bC, !0), n.addEventListener("keyup", bC, !0), n.addEventListener("click", SC, !0), n.addEventListener("invalid", TC, !0), t.addEventListener("focus", CC, !0), t.addEventListener("blur", wC, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", xC, !0), n.addEventListener("pointermove", xC, !0), n.addEventListener("pointerup", xC, !0)), t.addEventListener("beforeunload", () => {
- DC(e);
- }, { once: !0 }), hC.set(t, { focus: r });
+ }), n.addEventListener("keydown", vC, !0), n.addEventListener("keyup", vC, !0), n.addEventListener("click", bC, !0), n.addEventListener("invalid", CC, !0), t.addEventListener("focus", xC, !0), t.addEventListener("blur", SC, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", yC, !0), n.addEventListener("pointermove", yC, !0), n.addEventListener("pointerup", yC, !0)), t.addEventListener("beforeunload", () => {
+ TC(e);
+ }, { once: !0 }), pC.set(t, { focus: r });
}
-var DC = (e, t) => {
- let n = DS(e), r = ES(e);
- t && r.removeEventListener("DOMContentLoaded", t), hC.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
+var TC = (e, t) => {
+ let n = ES(e), r = TS(e);
+ t && r.removeEventListener("DOMContentLoaded", t), pC.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
- value: hC.get(n).focus
- }), r.removeEventListener("keydown", bC, !0), r.removeEventListener("keyup", bC, !0), r.removeEventListener("click", SC, !0), r.removeEventListener("invalid", TC, !0), n.removeEventListener("focus", CC, !0), n.removeEventListener("blur", wC, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", xC, !0), r.removeEventListener("pointermove", xC, !0), r.removeEventListener("pointerup", xC, !0)), hC.delete(n));
+ value: pC.get(n).focus
+ }), r.removeEventListener("keydown", vC, !0), r.removeEventListener("keyup", vC, !0), r.removeEventListener("click", bC, !0), r.removeEventListener("invalid", CC, !0), n.removeEventListener("focus", xC, !0), n.removeEventListener("blur", SC, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", yC, !0), r.removeEventListener("pointermove", yC, !0), r.removeEventListener("pointerup", yC, !0)), pC.delete(n));
};
-function Dae(e) {
- let t = ES(e), n;
+function kae(e) {
+ let t = TS(e), n;
return t.readyState === "loading" ? (n = () => {
- EC(e);
- }, t.addEventListener("DOMContentLoaded", n)) : EC(e), () => DC(e, n);
+ wC(e);
+ }, t.addEventListener("DOMContentLoaded", n)) : wC(e), () => TC(e, n);
}
-typeof document < "u" && Dae();
-function OC() {
- return pC !== "pointer";
+typeof document < "u" && kae();
+function EC() {
+ return dC !== "pointer";
}
-function kC() {
- return pC;
+function DC() {
+ return dC;
}
-function AC(e) {
- pC = e, yC(e, null);
+function OC(e) {
+ dC = e, _C(e, null);
}
-function jC() {
- EC();
- let [e, t] = (0, F.useState)(pC);
+function kC() {
+ wC();
+ let [e, t] = (0, F.useState)(dC);
return (0, F.useEffect)(() => {
let e = () => {
- t(pC);
+ t(dC);
};
- return mC.add(e), () => {
- mC.delete(e);
+ return fC.add(e), () => {
+ fC.delete(e);
};
- }, []), fC() ? null : e;
+ }, []), uC() ? null : e;
}
-var Oae = /* @__PURE__ */ new Set([
+var Aae = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -22794,107 +22794,107 @@ var Oae = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function kae(e, t, n) {
- let r = n ? G(n) : void 0, i = ES(r), a = DS(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = PS(i);
- return e = e || u instanceof o && !Oae.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !vC[n.key]);
+function jae(e, t, n) {
+ let r = n ? G(n) : void 0, i = TS(r), a = ES(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = NS(i);
+ return e = e || u instanceof o && !Aae.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !gC[n.key]);
}
-function MC(e = {}) {
- let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, F.useState)(n || OC());
- return NC((e) => {
+function AC(e = {}) {
+ let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, F.useState)(n || EC());
+ return jC((e) => {
i(e);
}, [t], { isTextInput: t }), { isFocusVisible: r };
}
-function NC(e, t, n) {
- EC(), (0, F.useEffect)(() => {
+function jC(e, t, n) {
+ wC(), (0, F.useEffect)(() => {
if (n?.enabled === !1) return;
let t = (t, r) => {
- kae(!!n?.isTextInput, t, r) && e(OC());
+ jae(!!n?.isTextInput, t, r) && e(EC());
};
- return mC.add(t), () => {
- mC.delete(t);
+ return fC.add(t), () => {
+ fC.delete(t);
};
}, t);
}
// node_modules/react-aria/dist/private/utils/runAfterTransition.mjs
-var PC = /* @__PURE__ */ new Map(), FC = /* @__PURE__ */ new Set();
-function IC(e) {
+var MC = /* @__PURE__ */ new Map(), NC = /* @__PURE__ */ new Set();
+function PC(e) {
return "propertyName" in e;
}
-function Aae(e) {
+function Mae(e) {
let t = G(e);
- if (!IC(e) || !t) return;
- let n = PC.get(t);
- n || (n = /* @__PURE__ */ new Set(), PC.set(t, n), t.addEventListener("transitioncancel", LC, { once: !0 })), n.add(e.propertyName);
+ if (!PC(e) || !t) return;
+ let n = MC.get(t);
+ n || (n = /* @__PURE__ */ new Set(), MC.set(t, n), t.addEventListener("transitioncancel", FC, { once: !0 })), n.add(e.propertyName);
}
-function LC(e) {
+function FC(e) {
let t = G(e);
- if (!IC(e) || !t) return;
- let n = PC.get(t);
- if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", LC), PC.delete(t)), PC.size === 0)) for (let e of FC) e(!0), FC.delete(e);
+ if (!PC(e) || !t) return;
+ let n = MC.get(t);
+ if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", FC), MC.delete(t)), MC.size === 0)) for (let e of NC) e(!0), NC.delete(e);
}
-function RC() {
- AS(document, "transitionrun", Aae), AS(document, "transitionend", LC);
+function IC() {
+ kS(document, "transitionrun", Mae), kS(document, "transitionend", FC);
}
-function jae() {
- for (let [e] of PC) "isConnected" in e && !e.isConnected && PC.delete(e);
+function Nae() {
+ for (let [e] of MC) "isConnected" in e && !e.isConnected && MC.delete(e);
}
-typeof document < "u" && (document.readyState === "loading" ? AS(document, "DOMContentLoaded", RC) : RC());
-function zC(e) {
+typeof document < "u" && (document.readyState === "loading" ? kS(document, "DOMContentLoaded", IC) : IC());
+function LC(e) {
let t = window.requestAnimationFrame(() => {
- if (jae(), PC.size === 0) return e(!1);
- FC.add(e);
+ if (Nae(), MC.size === 0) return e(!1);
+ NC.add(e);
});
return () => {
- window.cancelAnimationFrame(t), FC.delete(e);
+ window.cancelAnimationFrame(t), NC.delete(e);
};
}
// node_modules/react-aria/dist/private/interactions/focusSafely.mjs
-function BC(e) {
+function RC(e) {
if (!e.isConnected) return;
- let t = ES(e);
- if (kC() === "virtual") {
- let n = PS(t);
- zC(() => {
- let r = PS(t);
- (r === n || r === t.body) && e.isConnected && TS(e);
+ let t = TS(e);
+ if (DC() === "virtual") {
+ let n = NS(t);
+ LC(() => {
+ let r = NS(t);
+ (r === n || r === t.body) && e.isConnected && wS(e);
});
- } else TS(e);
+ } else wS(e);
}
// node_modules/react-aria/dist/private/utils/chain.mjs
-function VC(...e) {
+function zC(...e) {
return (...t) => {
for (let n of e) typeof n == "function" && n(...t);
};
}
// node_modules/react-aria/dist/private/utils/useValueEffect.mjs
-function Mae(e) {
+function Pae(e) {
let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(t), i = (0, F.useRef)(null), a = (0, F.useRef)(() => {
if (!i.current) return;
let e = i.current.next();
e.done ? i.current = null : r.current === e.value ? a.current() : n(e.value);
});
- return HS(() => {
+ return VS(() => {
r.current = t, i.current && a.current();
}), [t, (0, F.useCallback)((e) => {
i.current = e(r.current), a.current();
}, [a])];
}
// node_modules/react-aria/dist/private/utils/useId.mjs
-var Nae = !!(typeof window < "u" && window.document && window.document.createElement), HC = /* @__PURE__ */ new Map(), UC;
-typeof FinalizationRegistry < "u" && (UC = new FinalizationRegistry((e) => {
- HC.delete(e);
+var Fae = !!(typeof window < "u" && window.document && window.document.createElement), BC = /* @__PURE__ */ new Map(), VC;
+typeof FinalizationRegistry < "u" && (VC = new FinalizationRegistry((e) => {
+ BC.delete(e);
}));
-var WC = /* @__PURE__ */ new WeakMap();
-function GC(e) {
- let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(null), i = wae(t), a = (0, F.useRef)(null), o = WC.get(a);
- if (UC && o !== i && (o != null && UC.unregister(a), UC.register(a, i, a), WC.set(a, i)), Nae) {
- let e = HC.get(i);
- e && !e.includes(r) ? e.push(r) : HC.set(i, [r]);
- }
- return HS(() => {
+var HC = /* @__PURE__ */ new WeakMap();
+function UC(e) {
+ let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(null), i = Tae(t), a = (0, F.useRef)(null), o = HC.get(a);
+ if (VC && o !== i && (o != null && VC.unregister(a), VC.register(a, i, a), HC.set(a, i)), Fae) {
+ let e = BC.get(i);
+ e && !e.includes(r) ? e.push(r) : BC.set(i, [r]);
+ }
+ return VS(() => {
let e = i;
return () => {
- UC && (UC.unregister(a), WC.delete(a)), HC.delete(e);
+ VC && (VC.unregister(a), HC.delete(a)), BC.delete(e);
};
}, [i]), (0, F.useEffect)(() => {
let e = r.current;
@@ -22903,57 +22903,57 @@ function GC(e) {
};
}), i;
}
-function Pae(e, t) {
+function Iae(e, t) {
if (e === t) return e;
- let n = HC.get(e);
+ let n = BC.get(e);
if (n) return n.forEach((e) => e.current = t), t;
- let r = HC.get(t);
+ let r = BC.get(t);
return r ? (r.forEach((t) => t.current = e), e) : t;
}
-function KC(e = []) {
- let t = GC(), [n, r] = Mae(t), i = (0, F.useCallback)(() => {
+function WC(e = []) {
+ let t = UC(), [n, r] = Pae(t), i = (0, F.useCallback)(() => {
r(function* () {
yield t, yield document.getElementById(t) ? t : void 0;
});
}, [t, r]);
- return HS(i, [
+ return VS(i, [
t,
i,
...e
]), n;
}
// node_modules/react-aria/dist/private/utils/mergeRefs.mjs
-function qC(...e) {
+function GC(...e) {
return e.length === 1 && e[0] ? e[0] : (t) => {
let n = !1, r = e.map((e) => {
- let r = JC(e, t);
+ let r = KC(e, t);
return n ||= typeof r == "function", r;
});
if (n) return () => {
r.forEach((t, n) => {
- typeof t == "function" ? t() : JC(e[n], null);
+ typeof t == "function" ? t() : KC(e[n], null);
});
};
};
}
-function JC(e, t) {
+function KC(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
// node_modules/clsx/dist/clsx.mjs
-function YC(e) {
+function qC(e) {
var t, n, r = "";
if (typeof e == "string" || typeof e == "number") r += e;
else if (typeof e == "object") {
if (Array.isArray(e)) {
var i = e.length;
- for (t = 0; t < i; t++) e[t] && (n = YC(e[t])) && (r && (r += " "), r += n);
+ for (t = 0; t < i; t++) e[t] && (n = qC(e[t])) && (r && (r += " "), r += n);
} else for (n in e) e[n] && (r && (r += " "), r += n);
}
return r;
}
-function XC() {
- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = YC(e)) && (r && (r += " "), r += t);
+function JC() {
+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = qC(e)) && (r && (r += " "), r += t);
return r;
}
// node_modules/react-aria/dist/private/utils/mergeProps.mjs
@@ -22963,17 +22963,17 @@ function K(...e) {
let r = e[n];
for (let e in r) {
let n = t[e], i = r[e];
- typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = VC(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = XC(n, i) : e === "id" && n && i ? t.id = Pae(n, i) : e === "ref" && n && i ? t.ref = qC(n, i) : t[e] = i === void 0 ? n : i;
+ typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = zC(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = JC(n, i) : e === "id" && n && i ? t.id = Iae(n, i) : e === "ref" && n && i ? t.ref = GC(n, i) : t[e] = i === void 0 ? n : i;
}
}
return t;
}
// node_modules/react-aria/dist/private/interactions/useFocus.mjs
-function ZC(e) {
+function YC(e) {
let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, F.useCallback)((e) => {
if (G(e) === e.currentTarget) return r && r(e), i && i(!1), !0;
- }, [r, i]), o = GS(a), s = (0, F.useCallback)((e) => {
- let t = G(e), r = ES(t), a = r ? PS(r) : PS();
+ }, [r, i]), o = WS(a), s = (0, F.useCallback)((e) => {
+ let t = G(e), r = TS(t), a = r ? NS(r) : NS();
t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));
}, [
i,
@@ -22986,7 +22986,7 @@ function ZC(e) {
} };
}
// node_modules/react-aria/dist/private/interactions/createEventHandler.mjs
-function QC(e) {
+function XC(e) {
if (e) return (t) => {
let n = !0;
e({
@@ -23010,33 +23010,33 @@ function QC(e) {
};
}
// node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs
-var Fae = /* @__PURE__ */ new Set([
+var Lae = /* @__PURE__ */ new Set([
"shift",
"alt",
"control",
"meta",
"mod"
-]), Iae = [
+]), Rae = [
"Alt",
"Control",
"Meta",
"Shift"
];
-function Lae(e) {
+function zae(e) {
let t = /* @__PURE__ */ new Set();
- return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(XS() ? "Meta" : "Control"), t;
+ return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(YS() ? "Meta" : "Control"), t;
}
-function Rae(e) {
+function Bae(e) {
let t = /* @__PURE__ */ new Set();
return e.altKey && t.add("Alt"), e.ctrlKey && t.add("Control"), e.metaKey && t.add("Meta"), e.shiftKey && t.add("Shift"), t;
}
-function $C(e) {
- return Iae.filter((t) => e.has(t));
+function ZC(e) {
+ return Rae.filter((t) => e.has(t));
}
-function zae(e) {
+function Vae(e) {
let t = e.split("+").reduce((e, t) => {
let n = t.toLowerCase();
- return Fae.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;
+ return Lae.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;
}, {
shift: !1,
alt: !1,
@@ -23048,10 +23048,10 @@ function zae(e) {
if (t.key === "") throw Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);
return t;
}
-function ew(e) {
+function QC(e) {
return e.toLowerCase();
}
-var Bae = {
+var Hae = {
space: " ",
esc: "escape",
del: "delete",
@@ -23063,26 +23063,26 @@ var Bae = {
pageup: "pageup",
pagedown: "pagedown"
};
-function Vae(e) {
- let t = ew(e);
- return Bae[t] ?? t;
+function Uae(e) {
+ let t = QC(e);
+ return Hae[t] ?? t;
}
-function Hae(e) {
- let t = $C(Lae(e)), n = Vae(e.key);
+function Wae(e) {
+ let t = ZC(zae(e)), n = Uae(e.key);
return t.length > 0 ? `${t.join("+")}+${n}` : n;
}
-function Uae(e) {
- let t = $C(Rae(e)), n = ew(e.key);
+function Gae(e) {
+ let t = ZC(Bae(e)), n = QC(e.key);
return (t.length > 0 ? `${t.join("+")}+` : "") + n;
}
-function Wae(e) {
+function Kae(e) {
let t = /* @__PURE__ */ new Map();
for (let [n, r] of Object.entries(e)) {
- let e = zae(n);
- t.set(Hae(e), r);
+ let e = Vae(n);
+ t.set(Wae(e), r);
}
return (e) => {
- let n = Uae(e), r = t.get(n), i = r?.(e);
+ let n = Gae(e), r = t.get(n), i = r?.(e);
i === void 0 && r !== void 0 ? i = {
shouldContinuePropagation: !1,
shouldPreventDefault: !0
@@ -23093,23 +23093,23 @@ function Wae(e) {
};
}
// node_modules/react-aria/dist/private/interactions/useKeyboard.mjs
-function tw(e) {
+function $C(e) {
let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;
if (t) {
- let o = Wae(t), s = QC((e) => {
- NS(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();
- }), c = QC((e) => {
- NS(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();
+ let o = Kae(t), s = XC((e) => {
+ MS(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();
+ }), c = XC((e) => {
+ MS(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();
});
- i = e.onKeyDown ? VC(e.onKeyDown, s) : s, a = e.onKeyUp ? VC(e.onKeyUp, c) : c;
- } else i = QC(e.onKeyDown), a = QC(e.onKeyUp);
+ i = e.onKeyDown ? zC(e.onKeyDown, s) : s, a = e.onKeyUp ? zC(e.onKeyUp, c) : c;
+ } else i = XC(e.onKeyDown), a = XC(e.onKeyUp);
return { keyboardProps: e.isDisabled ? {} : {
onKeyDown: i,
onKeyUp: a
} };
}
// node_modules/react-aria/dist/private/utils/useObjectRef.mjs
-function nw(e) {
+function ew(e) {
let t = (0, F.useRef)(null), n = (0, F.useRef)(void 0), r = (0, F.useCallback)((t) => {
if (typeof e == "function") {
let n = e, r = n(t);
@@ -23131,25 +23131,25 @@ function nw(e) {
}), [r]);
}
// node_modules/react-aria/dist/private/utils/useSyncRef.mjs
-function rw(e, t) {
- HS(() => {
+function tw(e, t) {
+ VS(() => {
if (e && e.ref && t) return e.ref.current = t.current, () => {
e.ref && (e.ref.current = null);
};
});
}
// node_modules/react-aria/dist/private/interactions/useFocusable.mjs
-var iw = /*#__PURE__*/ F.createContext(null);
-function Gae(e) {
- let t = (0, F.useContext)(iw) || {};
- rw(t, e);
+var nw = /*#__PURE__*/ F.createContext(null);
+function qae(e) {
+ let t = (0, F.useContext)(nw) || {};
+ tw(t, e);
let { ref: n, ...r } = t;
return r;
}
-function aw(e, t) {
- let { focusProps: n } = ZC(e), { keyboardProps: r } = tw(e), i = K(n, r), a = Gae(t), o = e.isDisabled ? {} : a, s = (0, F.useRef)(e.autoFocus);
+function rw(e, t) {
+ let { focusProps: n } = YC(e), { keyboardProps: r } = $C(e), i = K(n, r), a = qae(t), o = e.isDisabled ? {} : a, s = (0, F.useRef)(e.autoFocus);
(0, F.useEffect)(() => {
- s.current && t.current && BC(t.current), s.current = !1;
+ s.current && t.current && RC(t.current), s.current = !1;
}, [t]);
let c = e.excludeFromTabOrder ? -1 : 0;
return e.isDisabled && (c = void 0), { focusableProps: K({
@@ -23183,21 +23183,21 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.p
return this.content.insertBefore(e, t);
}
}));
-var ow = /*#__PURE__*/ (0, F.createContext)(!1);
-function Kae(e) {
- if ((0, F.useContext)(ow)) return /*#__PURE__*/ F.createElement(F.Fragment, null, e.children);
- let t = /*#__PURE__*/ F.createElement(ow.Provider, { value: !0 }, e.children);
+var iw = /*#__PURE__*/ (0, F.createContext)(!1);
+function Jae(e) {
+ if ((0, F.useContext)(iw)) return /*#__PURE__*/ F.createElement(F.Fragment, null, e.children);
+ let t = /*#__PURE__*/ F.createElement(iw.Provider, { value: !0 }, e.children);
return /*#__PURE__*/ F.createElement("template", null, t);
}
-function sw(e) {
- let t = (t, n) => (0, F.useContext)(ow) ? null : e(t, n);
+function aw(e) {
+ let t = (t, n) => (0, F.useContext)(iw) ? null : e(t, n);
return t.displayName = e.displayName || e.name, (0, F.forwardRef)(t);
}
-function cw() {
- return (0, F.useContext)(ow);
+function ow() {
+ return (0, F.useContext)(iw);
}
// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
-var qae = /* @__PURE__ */ o(((e) => {
+var Yae = /* @__PURE__ */ o(((e) => {
var t = A();
function n(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -23235,47 +23235,47 @@ var qae = /* @__PURE__ */ o(((e) => {
}
var d = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? u : c;
e.useSyncExternalStore = t.useSyncExternalStore === void 0 ? d : t.useSyncExternalStore;
-})), lw = /* @__PURE__ */ o(((e, t) => {
- t.exports = qae();
-})), Jae = lw(), uw = /*#__PURE__*/ (0, F.createContext)(!1), dw = /*#__PURE__*/ (0, F.createContext)(null);
-function fw(e) {
- if ((0, F.useContext)(dw)) return e.content;
- let { collection: t, document: n } = Qae(e.createCollection);
- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(Kae, null, /*#__PURE__*/ F.createElement(dw.Provider, { value: n }, e.content)), /*#__PURE__*/ F.createElement(Yae, {
+})), sw = /* @__PURE__ */ o(((e, t) => {
+ t.exports = Yae();
+})), Xae = sw(), cw = /*#__PURE__*/ (0, F.createContext)(!1), lw = /*#__PURE__*/ (0, F.createContext)(null);
+function uw(e) {
+ if ((0, F.useContext)(lw)) return e.content;
+ let { collection: t, document: n } = eoe(e.createCollection);
+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(Jae, null, /*#__PURE__*/ F.createElement(lw.Provider, { value: n }, e.content)), /*#__PURE__*/ F.createElement(Zae, {
render: e.children,
collection: t
}));
}
-function Yae({ collection: e, render: t }) {
+function Zae({ collection: e, render: t }) {
return t(e);
}
-function Xae(e, t, n) {
- let r = fC(), i = (0, F.useRef)(r);
+function Qae(e, t, n) {
+ let r = uC(), i = (0, F.useRef)(r);
i.current = r;
let a = (0, F.useCallback)(() => i.current ? n() : t(), [t, n]);
- return (0, Jae.useSyncExternalStore)(e, a);
+ return (0, Xae.useSyncExternalStore)(e, a);
}
-var Zae = typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore : Xae;
-function Qae(e) {
- let [t] = (0, F.useState)(() => new tae(e?.() || new bS()));
+var $ae = typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore : Qae;
+function eoe(e) {
+ let [t] = (0, F.useState)(() => new nae(e?.() || new yS()));
return {
- collection: Zae((0, F.useCallback)((e) => t.subscribe(e), [t]), (0, F.useCallback)(() => {
+ collection: $ae((0, F.useCallback)((e) => t.subscribe(e), [t]), (0, F.useCallback)(() => {
let e = t.getCollection();
return t.isSSR && t.resetAfterSSR(), e;
}, [t]), (0, F.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),
document: t
};
}
-var pw = /*#__PURE__*/ (0, F.createContext)(null);
-function $ae(e) {
- return class extends gS {
+var dw = /*#__PURE__*/ (0, F.createContext)(null);
+function toe(e) {
+ return class extends hS {
static {
this.type = e;
}
};
}
-function mw(e, t, n, r, i, a) {
- typeof e == "string" && (e = $ae(e));
+function fw(e, t, n, r, i, a) {
+ typeof e == "string" && (e = toe(e));
let o = (0, F.useCallback)((i) => {
i?.setProps(t, n, e, r, a);
}, [
@@ -23284,82 +23284,82 @@ function mw(e, t, n, r, i, a) {
r,
a,
e
- ]), s = (0, F.useContext)(pw);
+ ]), s = (0, F.useContext)(dw);
if (s) {
let o = s.ownerDocument.nodesByProps.get(t);
- return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ F.createElement(pw.Provider, { value: o }, i) : null;
+ return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ F.createElement(dw.Provider, { value: o }, i) : null;
}
return /*#__PURE__*/ F.createElement(e.type, { ref: o }, i);
}
-function hw(e, t) {
+function pw(e, t) {
let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, F.forwardRef)((r, i) => {
- let a = (0, F.useContext)(iw);
- if (!(0, F.useContext)(uw)) {
+ let a = (0, F.useContext)(nw);
+ if (!(0, F.useContext)(cw)) {
if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");
return t(r, i);
}
- return mw(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ F.createElement(iw.Provider, { value: a }, /*#__PURE__*/ F.createElement(n, { node: e })));
+ return fw(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ F.createElement(nw.Provider, { value: a }, /*#__PURE__*/ F.createElement(n, { node: e })));
});
return r.displayName = t.name, r;
}
-function gw(e, t, n = _w) {
- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, F.forwardRef)((t, i) => mw(e, t, i, null, n(t), (e) => /*#__PURE__*/ F.createElement(r, { node: e })) ?? /*#__PURE__*/ F.createElement(F.Fragment, null));
+function mw(e, t, n = hw) {
+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, F.forwardRef)((t, i) => fw(e, t, i, null, n(t), (e) => /*#__PURE__*/ F.createElement(r, { node: e })) ?? /*#__PURE__*/ F.createElement(F.Fragment, null));
return i.displayName = t.name, i;
}
-function _w(e) {
- return wS({
+function hw(e) {
+ return CS({
...e,
addIdAndValue: !0
});
}
-var vw = /*#__PURE__*/ (0, F.createContext)(null);
-function yw(e) {
- let t = (0, F.useContext)(vw), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = _w({
+var gw = /*#__PURE__*/ (0, F.createContext)(null);
+function _w(e) {
+ let t = (0, F.useContext)(gw), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = hw({
...e,
idScope: r,
dependencies: n
});
- return (0, F.useContext)(dw) && (i = /*#__PURE__*/ F.createElement(eoe, null, i)), t = (0, F.useMemo)(() => ({
+ return (0, F.useContext)(lw) && (i = /*#__PURE__*/ F.createElement(noe, null, i)), t = (0, F.useMemo)(() => ({
dependencies: n,
idScope: r
- }), [r, ...n]), /*#__PURE__*/ F.createElement(vw.Provider, { value: t }, i);
+ }), [r, ...n]), /*#__PURE__*/ F.createElement(gw.Provider, { value: t }, i);
}
-function eoe({ children: e }) {
- let t = (0, F.useContext)(dw), n = (0, F.useMemo)(() => /*#__PURE__*/ F.createElement(dw.Provider, { value: null }, /*#__PURE__*/ F.createElement(uw.Provider, { value: !0 }, e)), [e]);
- return fC() ? /*#__PURE__*/ F.createElement(pw.Provider, { value: t }, n) : /*#__PURE__*/ (0, Lt.createPortal)(n, t);
+function noe({ children: e }) {
+ let t = (0, F.useContext)(lw), n = (0, F.useMemo)(() => /*#__PURE__*/ F.createElement(lw.Provider, { value: null }, /*#__PURE__*/ F.createElement(cw.Provider, { value: !0 }, e)), [e]);
+ return uC() ? /*#__PURE__*/ F.createElement(dw.Provider, { value: t }, n) : /*#__PURE__*/ (0, Lt.createPortal)(n, t);
}
// node_modules/react-aria/dist/private/utils/constants.mjs
-var toe = "react-aria-clear-focus", noe = "react-aria-focus";
+var roe = "react-aria-clear-focus", ioe = "react-aria-focus";
// node_modules/react-aria/dist/private/focus/virtualFocus.mjs
-function bw(e) {
- let t = ioe(ES(e));
- t !== e && (t && roe(t, e), e && xw(e, t));
+function vw(e) {
+ let t = ooe(TS(e));
+ t !== e && (t && aoe(t, e), e && yw(e, t));
}
-function roe(e, t) {
+function aoe(e, t) {
e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: t
}));
}
-function xw(e, t) {
+function yw(e, t) {
e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {
bubbles: !0,
relatedTarget: t
}));
}
-function ioe(e) {
- let t = PS(e), n = t?.getAttribute("aria-activedescendant");
+function ooe(e) {
+ let t = NS(e), n = t?.getAttribute("aria-activedescendant");
return n && e.getElementById(n) || t;
}
// node_modules/react-aria/dist/private/utils/getMetaValue.mjs
-function Sw(e, t) {
- let n = DS(t), r = ES(t);
+function bw(e, t) {
+ let n = ES(t), r = TS(t);
if (r == null || n == null) return;
let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);
return o && o instanceof n.HTMLMetaElement && (e === "csp-nonce" && o.nonce && (i ??= o.nonce || void 0), o.content && (i ??= o.content || void 0)), e === "csp-nonce" && (i ??= n.__webpack_nonce__ || globalThis.__webpack_nonce__ || void 0), i;
}
// node_modules/react-aria/dist/private/utils/keyboard.mjs
-var Cw = 100, ww = 600, Tw = {
+var xw = 100, Sw = 600, Cw = {
isOpen: !1,
screenWidth: 0,
screenHeight: 0,
@@ -23369,7 +23369,7 @@ var Cw = 100, ww = 600, Tw = {
endTimeStamp: 0,
resizeTimeStamp: 0,
resizeTimeout: 0
-}, aoe = /* @__PURE__ */ new Set([
+}, soe = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -23380,7 +23380,7 @@ var Cw = 100, ww = 600, Tw = {
"submit",
"reset"
]);
-function Ew() {
+function ww() {
let e = Number(window.visualViewport?.width ?? window.innerWidth), t = Number(window.visualViewport?.height ?? window.innerHeight), n = Number(window.visualViewport?.scale ?? 1);
return {
width: e * n,
@@ -23388,58 +23388,58 @@ function Ew() {
angle: window.screen.orientation?.angle ?? 0
};
}
-function ooe(e) {
- Tw.resizeTimeStamp <= e.timeStamp + 50 && (Tw.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(Tw.resizeTimeout), Tw.resizeTimeout = window.setTimeout(Dw, 150));
+function coe(e) {
+ Cw.resizeTimeStamp <= e.timeStamp + 50 && (Cw.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(Cw.resizeTimeout), Cw.resizeTimeout = window.setTimeout(Tw, 150));
}
-function Dw() {
- let e = Sw("viewport");
- if (tC() && e?.includes("overlays-content")) return;
- let t = performance.now(), n = Ew(), r = t - Tw.startTimeStamp, i = Tw.screenHeight - n.height, a = Tw.screenAngle - n.angle;
- Math.abs(a) % 180 && Tw.screenWidth - n.height < Cw && (Tw.screenWidth = n.width, Tw.screenHeight = n.height, Tw.screenAngle = n.angle, i = 0), r > ww && (window.clearTimeout(Tw.screenTimeout), Tw.screenTimeout = window.setTimeout(() => {
- let e = Aw(document.hasFocus() ? PS() : null), t = Ew();
- Math.abs(Tw.screenAngle - t.angle) % 180 || Tw.isOpen && e || (Tw.screenWidth = t.width, Tw.screenHeight = t.height, Tw.screenAngle = t.angle, Tw.isOpen = !1);
- }, ww)), r <= ww && i >= Cw && (Tw.endTimeStamp = t), Tw.isOpen = i >= Cw;
-}
-function soe() {
- let e = Ew(), t = Tw.screenAngle - e.angle;
- if (Math.abs(t) % 180 && !Tw.isOpen) {
- let e = Tw.screenWidth;
- Tw.screenWidth = Tw.screenHeight, Tw.screenHeight = e;
- }
- Tw.isOpen || (Tw.screenAngle = e.angle);
+function Tw() {
+ let e = bw("viewport");
+ if (eC() && e?.includes("overlays-content")) return;
+ let t = performance.now(), n = ww(), r = t - Cw.startTimeStamp, i = Cw.screenHeight - n.height, a = Cw.screenAngle - n.angle;
+ Math.abs(a) % 180 && Cw.screenWidth - n.height < xw && (Cw.screenWidth = n.width, Cw.screenHeight = n.height, Cw.screenAngle = n.angle, i = 0), r > Sw && (window.clearTimeout(Cw.screenTimeout), Cw.screenTimeout = window.setTimeout(() => {
+ let e = Ow(document.hasFocus() ? NS() : null), t = ww();
+ Math.abs(Cw.screenAngle - t.angle) % 180 || Cw.isOpen && e || (Cw.screenWidth = t.width, Cw.screenHeight = t.height, Cw.screenAngle = t.angle, Cw.isOpen = !1);
+ }, Sw)), r <= Sw && i >= xw && (Cw.endTimeStamp = t), Cw.isOpen = i >= xw;
}
-function coe(e) {
- let t = Aw(G(e)), n = performance.now(), r = Ew(), i = Tw.screenHeight - r.height;
- i < Cw && t && (Tw.screenWidth = r.width, Tw.screenHeight = r.height, Tw.screenAngle = r.angle, Tw.startTimeStamp = n), t && window.clearTimeout(Tw.screenTimeout), i >= Cw && t && (Tw.endTimeStamp = n);
+function loe() {
+ let e = ww(), t = Cw.screenAngle - e.angle;
+ if (Math.abs(t) % 180 && !Cw.isOpen) {
+ let e = Cw.screenWidth;
+ Cw.screenWidth = Cw.screenHeight, Cw.screenHeight = e;
+ }
+ Cw.isOpen || (Cw.screenAngle = e.angle);
}
-function Ow() {
- let e = Ew();
- AS(window.visualViewport, "resize", $S() ? Dw : ooe), AS(window.screen.orientation, "change", soe), AS(window, "focus", coe, {
+function uoe(e) {
+ let t = Ow(G(e)), n = performance.now(), r = ww(), i = Cw.screenHeight - r.height;
+ i < xw && t && (Cw.screenWidth = r.width, Cw.screenHeight = r.height, Cw.screenAngle = r.angle, Cw.startTimeStamp = n), t && window.clearTimeout(Cw.screenTimeout), i >= xw && t && (Cw.endTimeStamp = n);
+}
+function Ew() {
+ let e = ww();
+ kS(window.visualViewport, "resize", QS() ? Tw : coe), kS(window.screen.orientation, "change", loe), kS(window, "focus", uoe, {
capture: !0,
passive: !0
- }), Tw.screenWidth = e.width, Tw.screenHeight = e.height, Tw.screenAngle = e.angle;
+ }), Cw.screenWidth = e.width, Cw.screenHeight = e.height, Cw.screenAngle = e.angle;
}
-typeof document < "u" && (document.readyState === "loading" ? AS(document, "DOMContentLoaded", Ow) : Ow());
-function kw() {
- let e = Sw("viewport");
- return tC() && e?.includes("overlays-content") ? !1 : Tw.isOpen ? !0 : Tw.startTimeStamp ? Tw.endTimeStamp >= Tw.startTimeStamp ? !0 : performance.now() - Tw.startTimeStamp <= ww ? Tw.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;
+typeof document < "u" && (document.readyState === "loading" ? kS(document, "DOMContentLoaded", Ew) : Ew());
+function Dw() {
+ let e = bw("viewport");
+ return eC() && e?.includes("overlays-content") ? !1 : Cw.isOpen ? !0 : Cw.startTimeStamp ? Cw.endTimeStamp >= Cw.startTimeStamp ? !0 : performance.now() - Cw.startTimeStamp <= Sw ? Cw.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;
}
-function Aw(e) {
- if (!(e instanceof Element) || !zS(e)) return !1;
- let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !aoe.has(e.type);
+function Ow(e) {
+ if (!(e instanceof Element) || !RS(e)) return !1;
+ let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !soe.has(e.type);
return t || n || r;
}
-function jw(e) {
- return XS() ? e.metaKey : e.ctrlKey;
+function kw(e) {
+ return YS() ? e.metaKey : e.ctrlKey;
}
-function Mw() {
- return Tw.isOpen;
+function Aw() {
+ return Cw.isOpen;
}
// node_modules/react-aria/dist/private/utils/useEffectEvent.mjs
-var loe = F.useInsertionEffect ?? HS;
-function Nw(e) {
+var doe = F.useInsertionEffect ?? VS;
+function jw(e) {
let t = (0, F.useRef)(null);
- return loe(() => {
+ return doe(() => {
t.current = e;
}, [e]), (0, F.useCallback)((...e) => {
let n = t.current;
@@ -23447,10 +23447,10 @@ function Nw(e) {
}, []);
}
// node_modules/react-aria/dist/private/utils/useEvent.mjs
-function Pw(e, t, n, r) {
- let i = Nw(n), a = n == null;
+function Mw(e, t, n, r) {
+ let i = jw(n), a = n == null;
(0, F.useEffect)(() => {
- if (!(a || e.current == null)) return AS(e.current, t, i, r);
+ if (!(a || e.current == null)) return kS(e.current, t, i, r);
}, [
e,
t,
@@ -23459,16 +23459,16 @@ function Pw(e, t, n, r) {
]);
}
// node_modules/react-aria/dist/private/utils/useLabels.mjs
-function Fw(e, t) {
+function Nw(e, t) {
let { id: n, "aria-label": r, "aria-labelledby": i } = e;
- return n = GC(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {
+ return n = UC(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {
id: n,
"aria-label": r,
"aria-labelledby": i
};
}
// node_modules/react-aria/dist/private/i18n/utils.mjs
-var uoe = /* @__PURE__ */ new Set([
+var foe = /* @__PURE__ */ new Set([
"Arab",
"Syrc",
"Samr",
@@ -23479,7 +23479,7 @@ var uoe = /* @__PURE__ */ new Set([
"Adlm",
"Rohg",
"Hebr"
-]), doe = /* @__PURE__ */ new Set([
+]), poe = /* @__PURE__ */ new Set([
"ae",
"ar",
"arc",
@@ -23500,19 +23500,19 @@ var uoe = /* @__PURE__ */ new Set([
"ur",
"yi"
]);
-function foe(e) {
+function moe(e) {
if (Intl.Locale) {
let t = new Intl.Locale(e).maximize(), n = typeof t.getTextInfo == "function" ? t.getTextInfo() : t.textInfo;
if (n) return n.direction === "rtl";
- if (t.script) return uoe.has(t.script);
+ if (t.script) return foe.has(t.script);
}
let t = e.split("-")[0];
- return doe.has(t);
+ return poe.has(t);
}
// node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs
-var Iw = Symbol.for("react-aria.i18n.locale");
-function Lw() {
- let e = typeof window < "u" && window[Iw] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
+var Pw = Symbol.for("react-aria.i18n.locale");
+function Fw() {
+ let e = typeof window < "u" && window[Pw] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
try {
Intl.DateTimeFormat.supportedLocalesOf([e]);
} catch {
@@ -23520,31 +23520,31 @@ function Lw() {
}
return {
locale: e,
- direction: foe(e) ? "rtl" : "ltr"
+ direction: moe(e) ? "rtl" : "ltr"
};
}
-var Rw = Lw(), zw = /* @__PURE__ */ new Set();
-function Bw() {
- Rw = Lw();
- for (let e of zw) e(Rw);
+var Iw = Fw(), Lw = /* @__PURE__ */ new Set();
+function Rw() {
+ Iw = Fw();
+ for (let e of Lw) e(Iw);
}
-function poe() {
- let e = fC(), [t, n] = (0, F.useState)(Rw);
- return (0, F.useEffect)(() => (zw.size === 0 && window.addEventListener("languagechange", Bw), zw.add(n), () => {
- zw.delete(n), zw.size === 0 && window.removeEventListener("languagechange", Bw);
+function hoe() {
+ let e = uC(), [t, n] = (0, F.useState)(Iw);
+ return (0, F.useEffect)(() => (Lw.size === 0 && window.addEventListener("languagechange", Rw), Lw.add(n), () => {
+ Lw.delete(n), Lw.size === 0 && window.removeEventListener("languagechange", Rw);
}), []), e ? {
- locale: typeof window < "u" && window[Iw] || "en-US",
+ locale: typeof window < "u" && window[Pw] || "en-US",
direction: "ltr"
} : t;
}
// node_modules/react-aria/dist/private/i18n/I18nProvider.mjs
-var moe = /*#__PURE__*/ F.createContext(null);
-function Vw() {
- let e = poe();
- return (0, F.useContext)(moe) || e;
+var goe = /*#__PURE__*/ F.createContext(null);
+function zw() {
+ let e = hoe();
+ return (0, F.useContext)(goe) || e;
}
// node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs
-var hoe = Symbol.for("react-aria.i18n.locale"), goe = Symbol.for("react-aria.i18n.strings"), Hw = void 0, Uw = class e {
+var _oe = Symbol.for("react-aria.i18n.locale"), voe = Symbol.for("react-aria.i18n.strings"), Bw = void 0, Vw = class e {
constructor(e, t = "en-US") {
this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;
}
@@ -23555,38 +23555,38 @@ var hoe = Symbol.for("react-aria.i18n.locale"), goe = Symbol.for("react-aria.i18
}
getStringsForLocale(e) {
let t = this.strings[e];
- return t || (t = _oe(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
+ return t || (t = yoe(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
}
static getGlobalDictionaryForPackage(t) {
if (typeof window > "u") return null;
- let n = window[hoe];
- if (Hw === void 0) {
- let t = window[goe];
+ let n = window[_oe];
+ if (Bw === void 0) {
+ let t = window[voe];
if (!t) return null;
- Hw = {};
- for (let r in t) Hw[r] = new e({ [n]: t[r] }, n);
+ Bw = {};
+ for (let r in t) Bw[r] = new e({ [n]: t[r] }, n);
}
- let r = Hw?.[t];
+ let r = Bw?.[t];
if (!r) throw Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);
return r;
}
};
-function _oe(e, t, n = "en-US") {
+function yoe(e, t, n = "en-US") {
if (t[e]) return t[e];
- let r = voe(e), i = yoe(e);
+ let r = boe(e), i = xoe(e);
if (i && t[`${r}-${i}`]) return t[`${r}-${i}`];
if (t[r]) return t[r];
for (let e in t) if (e.startsWith(r + "-")) return t[e];
return t[n];
}
-function voe(e) {
+function boe(e) {
return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];
}
-function yoe(e) {
+function xoe(e) {
if (Intl.Locale) return new Intl.Locale(e).script;
}
// node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs
-var Ww = /* @__PURE__ */ new Map(), Gw = /* @__PURE__ */ new Map(), boe = class {
+var Hw = /* @__PURE__ */ new Map(), Uw = /* @__PURE__ */ new Map(), Soe = class {
constructor(e, t) {
this.locale = e, this.strings = t;
}
@@ -23597,36 +23597,36 @@ var Ww = /* @__PURE__ */ new Map(), Gw = /* @__PURE__ */ new Map(), boe = class
plural(e, t, n = "cardinal") {
let r = t["=" + e];
if (r) return typeof r == "function" ? r() : r;
- let i = this.locale + ":" + n, a = Ww.get(i);
- return a || (a = new Intl.PluralRules(this.locale, { type: n }), Ww.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
+ let i = this.locale + ":" + n, a = Hw.get(i);
+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), Hw.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
}
number(e) {
- let t = Gw.get(this.locale);
- return t || (t = new Intl.NumberFormat(this.locale), Gw.set(this.locale, t)), t.format(e);
+ let t = Uw.get(this.locale);
+ return t || (t = new Intl.NumberFormat(this.locale), Uw.set(this.locale, t)), t.format(e);
}
select(e, t) {
let n = e[t] || e.other;
return typeof n == "function" ? n() : n;
}
-}, Kw = /* @__PURE__ */ new WeakMap();
-function xoe(e) {
- let t = Kw.get(e);
- return t || (t = new Uw(e), Kw.set(e, t)), t;
+}, Ww = /* @__PURE__ */ new WeakMap();
+function Coe(e) {
+ let t = Ww.get(e);
+ return t || (t = new Vw(e), Ww.set(e, t)), t;
}
-function Soe(e, t) {
- return t && Uw.getGlobalDictionaryForPackage(t) || xoe(e);
+function woe(e, t) {
+ return t && Vw.getGlobalDictionaryForPackage(t) || Coe(e);
}
-function qw(e, t) {
- let { locale: n } = Vw(), r = Soe(e, t);
- return (0, F.useMemo)(() => new boe(n, r), [n, r]);
+function Gw(e, t) {
+ let { locale: n } = zw(), r = woe(e, t);
+ return (0, F.useMemo)(() => new Soe(n, r), [n, r]);
}
// node_modules/react-aria/dist/private/utils/filterDOMProps.mjs
-var Coe = /* @__PURE__ */ new Set(["id"]), woe = /* @__PURE__ */ new Set([
+var Toe = /* @__PURE__ */ new Set(["id"]), Eoe = /* @__PURE__ */ new Set([
"aria-label",
"aria-labelledby",
"aria-describedby",
"aria-details"
-]), Toe = /* @__PURE__ */ new Set([
+]), Doe = /* @__PURE__ */ new Set([
"href",
"hrefLang",
"target",
@@ -23634,60 +23634,60 @@ var Coe = /* @__PURE__ */ new Set(["id"]), woe = /* @__PURE__ */ new Set([
"download",
"ping",
"referrerPolicy"
-]), Eoe = /* @__PURE__ */ new Set([
+]), Ooe = /* @__PURE__ */ new Set([
"dir",
"lang",
"hidden",
"inert",
"translate",
"suppressHydrationWarning"
-]), Jw = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), Doe = /^(data-.*)$/;
-function Yw(e, t = {}) {
+]), Kw = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), koe = /^(data-.*)$/;
+function qw(e, t = {}) {
let { labelable: n, isLink: r, global: i, events: a = i, propNames: o } = t, s = {};
- for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (Coe.has(t) || n && woe.has(t) || r && Toe.has(t) || i && Eoe.has(t) || a && (Jw.has(t) || t.endsWith("Capture") && Jw.has(t.slice(0, -7))) || o?.has(t) || Doe.test(t)) && (s[t] = e[t]);
+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (Toe.has(t) || n && Eoe.has(t) || r && Doe.has(t) || i && Ooe.has(t) || a && (Kw.has(t) || t.endsWith("Capture") && Kw.has(t.slice(0, -7))) || o?.has(t) || koe.test(t)) && (s[t] = e[t]);
return s;
}
// node_modules/react-aria/dist/private/interactions/textSelection.mjs
-var Xw = "default", Zw = "", Qw = /* @__PURE__ */ new WeakMap();
-function $w(e) {
- if (QS() && $S()) {
- if (Xw === "default") {
- let t = ES(e);
- Zw = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
- }
- Xw = "disabled";
+var Jw = "default", Yw = "", Xw = /* @__PURE__ */ new WeakMap();
+function Zw(e) {
+ if (ZS() && QS()) {
+ if (Jw === "default") {
+ let t = TS(e);
+ Yw = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
+ }
+ Jw = "disabled";
} else if (e instanceof HTMLElement || e instanceof SVGElement) {
let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- Qw.set(e, e.style[t]), e.style[t] = "none";
+ Xw.set(e, e.style[t]), e.style[t] = "none";
}
}
-function eT(e) {
- if (QS() && $S()) {
- if (Xw !== "disabled") return;
- Xw = "restoring", setTimeout(() => {
- zC(() => {
- if (Xw === "restoring") {
- let t = ES(e);
- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = Zw || ""), Zw = "", Xw = "default";
+function Qw(e) {
+ if (ZS() && QS()) {
+ if (Jw !== "disabled") return;
+ Jw = "restoring", setTimeout(() => {
+ LC(() => {
+ if (Jw === "restoring") {
+ let t = TS(e);
+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = Yw || ""), Yw = "", Jw = "default";
}
});
}, 300);
- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && Qw.has(e)) {
- let t = Qw.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), Qw.delete(e);
+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && Xw.has(e)) {
+ let t = Xw.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), Xw.delete(e);
}
}
// node_modules/react-aria/dist/private/utils/getNonce.mjs
-var tT = /* @__PURE__ */ new WeakMap();
-function nT(e) {
- let t = ES(e), n = tT.get(t);
- return n ??= Sw("csp-nonce", t), n !== void 0 && tT.set(t, n), n;
+var $w = /* @__PURE__ */ new WeakMap();
+function eT(e) {
+ let t = TS(e), n = $w.get(t);
+ return n ??= bw("csp-nonce", t), n !== void 0 && $w.set(t, n), n;
}
// node_modules/react-aria/dist/private/interactions/context.mjs
-var rT = F.createContext({ register: () => {} });
-rT.displayName = "PressResponderContext";
+var tT = F.createContext({ register: () => {} });
+tT.displayName = "PressResponderContext";
// node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs
-function iT() {
+function nT() {
let e = (0, F.useRef)(/* @__PURE__ */ new Map()), t = (0, F.useCallback)((t, n, r, i) => {
let a = i?.once ? (...t) => {
e.current.delete(r), r(...t);
@@ -23713,15 +23713,15 @@ function iT() {
};
}
// node_modules/react-aria/dist/private/interactions/usePress.mjs
-function Ooe(e) {
- let t = (0, F.useContext)(rT);
+function Aoe(e) {
+ let t = (0, F.useContext)(tT);
if (t) {
let { register: n, ref: r, ...i } = t;
e = K(i, e), n();
}
- return rw(t, e.ref), e;
+ return tw(t, e.ref), e;
}
-var aT = class {
+var rT = class {
#e;
constructor(e, t, n, r) {
this.#e = !0;
@@ -23734,9 +23734,9 @@ var aT = class {
get shouldStopPropagation() {
return this.#e;
}
-}, oT = Symbol("linkClicked"), sT = "react-aria-pressable-style", cT = "data-react-aria-pressable";
-function lT(e) {
- let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = Ooe(e), [m, h] = (0, F.useState)(!1), g = (0, F.useRef)({
+}, iT = Symbol("linkClicked"), aT = "react-aria-pressable-style", oT = "data-react-aria-pressable";
+function sT(e) {
+ let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = Aoe(e), [m, h] = (0, F.useState)(!1), g = (0, F.useRef)({
isPressed: !1,
ignoreEmulatedMouseEvents: !1,
didFirePressStart: !1,
@@ -23746,12 +23746,12 @@ function lT(e) {
isOverTarget: !1,
pointerType: null,
disposables: []
- }), { addGlobalListener: _, removeAllGlobalListeners: v } = iT(), y = (0, F.useCallback)((e, t) => {
+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = nT(), y = (0, F.useCallback)((e, t) => {
let i = g.current;
if (s || i.didFirePressStart) return !1;
let a = !0;
if (i.isTriggeringEvent = !0, r) {
- let n = new aT("pressstart", t, e);
+ let n = new rT("pressstart", t, e);
r(n), a = n.shouldStopPropagation;
}
return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;
@@ -23765,11 +23765,11 @@ function lT(e) {
o.didFirePressStart = !1, o.isTriggeringEvent = !0;
let c = !0;
if (i) {
- let t = new aT("pressend", r, e);
+ let t = new rT("pressend", r, e);
i(t), c = t.shouldStopPropagation;
}
if (n && n(!1), h(!1), t && a && !s) {
- let n = new aT("press", r, e);
+ let n = new rT("press", r, e);
t(n), c &&= n.shouldStopPropagation;
}
return o.isTriggeringEvent = !1, c;
@@ -23778,19 +23778,19 @@ function lT(e) {
i,
n,
t
- ]), x = Nw(b), S = Nw((0, F.useCallback)((e, t) => {
+ ]), x = jw(b), S = jw((0, F.useCallback)((e, t) => {
let n = g.current;
if (s) return !1;
if (a) {
n.isTriggeringEvent = !0;
- let r = new aT("pressup", t, e);
+ let r = new rT("pressup", t, e);
return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;
}
return !0;
}, [s, a])), C = (0, F.useCallback)((e) => {
let t = g.current;
if (t.isPressed && t.target) {
- t.didFirePressStart && t.pointerType != null && b(fT(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || eT(t.target);
+ t.didFirePressStart && t.pointerType != null && b(uT(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || Qw(t.target);
for (let e of t.disposables) e();
t.disposables = [];
}
@@ -23798,7 +23798,7 @@ function lT(e) {
d,
v,
b
- ]), w = Nw(C);
+ ]), w = jw(C);
(0, F.useEffect)(() => {
s && g.current.isPressed && w({
currentTarget: g.current.target,
@@ -23815,39 +23815,39 @@ function lT(e) {
}, [s, o]), D = (0, F.useCallback)((e, t) => {
if (!s && o) {
let n = new MouseEvent("click", e);
- WS(n, t), o(US(n));
+ US(n, t), o(HS(n));
}
}, [s, o]), O = (0, F.useMemo)(() => {
let e = g.current, t = {
onKeyDown(t) {
- if (dT(t.nativeEvent, t.currentTarget) && NS(t.currentTarget, G(t))) {
- pT(G(t), t.key) && t.preventDefault();
+ if (lT(t.nativeEvent, t.currentTarget) && MS(t.currentTarget, G(t))) {
+ dT(G(t), t.key) && t.preventDefault();
let r = !0;
!e.isPressed && !t.repeat && (e.target = t.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = y(t, "keyboard"));
let i = t.currentTarget;
- _(ES(t.currentTarget), "keyup", VC((t) => {
- dT(t, i) && !t.repeat && NS(i, G(t)) && e.target && S(fT(e.target, t), "keyboard");
- }, n), !0), r && t.stopPropagation(), t.metaKey && XS() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
+ _(TS(t.currentTarget), "keyup", zC((t) => {
+ lT(t, i) && !t.repeat && MS(i, G(t)) && e.target && S(uT(e.target, t), "keyboard");
+ }, n), !0), r && t.stopPropagation(), t.metaKey && YS() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
},
onClick(t) {
- if ((!t || NS(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !iC.isOpening) {
+ if ((!t || MS(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !rC.isOpening) {
let n = !0;
- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || nC(t.nativeEvent))) {
+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || tC(t.nativeEvent))) {
let e = y(t, "virtual"), r = S(t, "virtual"), i = x(t, "virtual");
E(t), n = e && r && i;
} else if (e.isPressed && e.pointerType !== "keyboard") {
- let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(fT(t.currentTarget, t), r), a = x(fT(t.currentTarget, t), r, !0);
+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(uT(t.currentTarget, t), r), a = x(uT(t.currentTarget, t), r, !0);
n = i && a, e.isOverTarget = !1, E(t), w(t);
}
e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();
}
}
}, n = (t) => {
- if (e.isPressed && e.target && dT(t, e.target)) {
- pT(G(t), t.key) && t.preventDefault();
- let n = G(t), r = NS(e.target, n);
- x(fT(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && uT(e.target) && NS(e.target, n) && !t[oT] && (t[oT] = !0, iC(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
+ if (e.isPressed && e.target && lT(t, e.target)) {
+ dT(G(t), t.key) && t.preventDefault();
+ let n = G(t), r = MS(e.target, n);
+ x(uT(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && cT(e.target) && MS(e.target, n) && !t[iT] && (t[iT] = !0, rC(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
} else if (t.key === "Meta" && e.metaKeyEvents?.size) {
let t = e.metaKeyEvents;
e.metaKeyEvents = void 0;
@@ -23856,39 +23856,39 @@ function lT(e) {
};
if (typeof PointerEvent < "u") {
t.onPointerDown = (t) => {
- if (t.button !== 0 || !NS(t.currentTarget, G(t))) return;
- if (mae(t.nativeEvent)) {
+ if (t.button !== 0 || !MS(t.currentTarget, G(t))) return;
+ if (hae(t.nativeEvent)) {
e.pointerType = "virtual";
return;
}
e.pointerType = t.pointerType;
let i = !0;
if (!e.isPressed) {
- e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || $w(e.target), i = y(t, e.pointerType);
+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || Zw(e.target), i = y(t, e.pointerType);
let a = G(t);
- "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(ES(t.currentTarget), "pointerup", n, !1), _(ES(t.currentTarget), "pointercancel", r, !1);
+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(TS(t.currentTarget), "pointerup", n, !1), _(TS(t.currentTarget), "pointercancel", r, !1);
}
i && t.stopPropagation();
}, t.onMouseDown = (t) => {
- if (NS(t.currentTarget, G(t)) && t.button === 0) {
+ if (MS(t.currentTarget, G(t)) && t.button === 0) {
if (l) {
- let n = dae(t.target);
+ let n = fae(t.target);
n && e.disposables.push(n);
}
t.stopPropagation();
}
}, t.onPointerUp = (t) => {
- NS(t.currentTarget, G(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);
+ MS(t.currentTarget, G(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);
}, t.onPointerEnter = (t) => {
- t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(fT(e.target, t), e.pointerType));
+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(uT(e.target, t), e.pointerType));
}, t.onPointerLeave = (t) => {
- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(fT(e.target, t), e.pointerType, !1), T(t));
+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(uT(e.target, t), e.pointerType, !1), T(t));
};
let n = (t) => {
if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {
- if (NS(e.target, G(t)) && e.pointerType != null) {
+ if (MS(e.target, G(t)) && e.pointerType != null) {
let n = !1, r = setTimeout(() => {
- e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (TS(e.target), e.target.click()));
+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (wS(e.target), e.target.click()));
}, 80);
_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));
} else w(t);
@@ -23898,7 +23898,7 @@ function lT(e) {
w(e);
};
t.onDragStart = (e) => {
- NS(e.currentTarget, G(e)) && w(e);
+ MS(e.currentTarget, G(e)) && w(e);
};
}
return t;
@@ -23915,14 +23915,14 @@ function lT(e) {
]);
return (0, F.useEffect)(() => {
if (!f) return;
- let e = ES(f.current);
- if (!e || !e.head || e.getElementById(sT)) return;
+ let e = TS(f.current);
+ if (!e || !e.head || e.getElementById(aT)) return;
let t = e.createElement("style");
- t.id = sT;
- let n = nT(e);
+ t.id = aT;
+ let n = eT(e);
n && (t.nonce = n), t.textContent = `
@layer {
- [${cT}] {
+ [${oT}] {
touch-action: pan-x pan-y pinch-zoom;
}
}
@@ -23930,23 +23930,23 @@ function lT(e) {
}, [f]), (0, F.useEffect)(() => {
let e = g.current;
return () => {
- d || eT(e.target ?? void 0);
+ d || Qw(e.target ?? void 0);
for (let t of e.disposables) t();
e.disposables = [];
};
}, [d]), {
isPressed: c || m,
- pressProps: K(p, O, { [cT]: !0 })
+ pressProps: K(p, O, { [oT]: !0 })
};
}
-function uT(e) {
+function cT(e) {
return e.tagName === "A" && e.hasAttribute("href");
}
-function dT(e, t) {
+function lT(e, t) {
let { key: n, code: r } = e, i = t, a = i.getAttribute("role");
- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof DS(i).HTMLInputElement && !mT(i, n) || i instanceof DS(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && uT(i)) && n !== "Enter");
+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof ES(i).HTMLInputElement && !fT(i, n) || i instanceof ES(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && cT(i)) && n !== "Enter");
}
-function fT(e, t) {
+function uT(e, t) {
let n = t.clientX, r = t.clientY;
return {
currentTarget: e,
@@ -23959,13 +23959,13 @@ function fT(e, t) {
key: t.key
};
}
-function koe(e) {
- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !uT(e);
+function joe(e) {
+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !cT(e);
}
-function pT(e, t) {
- return XS() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !mT(e, t) : koe(e);
+function dT(e, t) {
+ return YS() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !fT(e, t) : joe(e);
}
-var Aoe = /* @__PURE__ */ new Set([
+var Moe = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -23976,11 +23976,11 @@ var Aoe = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function mT(e, t) {
- return e.type === "checkbox" || e.type === "radio" ? t === " " : Aoe.has(e.type);
+function fT(e, t) {
+ return e.type === "checkbox" || e.type === "radio" ? t === " " : Moe.has(e.type);
}
// node_modules/react-aria/dist/private/button/useButton.mjs
-function joe(e, t) {
+function Noe(e, t) {
let { elementType: n = "button", isDisabled: r, onPress: i, onPressStart: a, onPressEnd: o, onPressUp: s, onPressChange: c, preventFocusOnPress: l, allowFocusWhenDisabled: u, onClick: d, href: f, target: p, rel: m, type: h = "button" } = e, g;
g = n === "button" ? {
type: h,
@@ -24002,7 +24002,7 @@ function joe(e, t) {
"aria-disabled": !r || n === "input" ? void 0 : r,
rel: n === "a" ? m : void 0
};
- let { pressProps: _, isPressed: v } = lT({
+ let { pressProps: _, isPressed: v } = sT({
onPressStart: a,
onPressEnd: o,
onPressChange: c,
@@ -24012,9 +24012,9 @@ function joe(e, t) {
isDisabled: r,
preventFocusOnPress: l,
ref: t
- }), { focusableProps: y } = aw(e, t);
+ }), { focusableProps: y } = rw(e, t);
u && (y.tabIndex = r ? -1 : y.tabIndex);
- let b = K(y, _, Yw(e, { labelable: !0 }));
+ let b = K(y, _, qw(e, { labelable: !0 }));
return {
isPressed: v,
buttonProps: K(g, b, {
@@ -24028,7 +24028,7 @@ function joe(e, t) {
};
}
// node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs
-var Moe = class {
+var Poe = class {
constructor(e, t, n, r) {
this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {
if (e.nodeType === Node.ELEMENT_NODE) {
@@ -24053,7 +24053,7 @@ var Moe = class {
return this._currentNode;
}
set currentNode(e) {
- if (!NS(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");
+ if (!MS(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");
let t = [], n = e, r = e;
for (this._currentNode = e; n && n !== this.root;) if (n.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
let e = n, i = this._doc.createTreeWalker(e, this.whatToShow, { acceptNode: this._acceptNode });
@@ -24067,7 +24067,7 @@ var Moe = class {
}
firstChild() {
let e = this.currentNode, t = this.nextNode();
- return NS(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
+ return MS(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
}
lastChild() {
let e = this._walkerStack[0].lastChild();
@@ -24131,44 +24131,44 @@ var Moe = class {
return null;
}
};
-function hT(e, t, n, r) {
- return MS() ? new Moe(e, t, n, r) : e.createTreeWalker(t, n, r);
+function pT(e, t, n, r) {
+ return jS() ? new Poe(e, t, n, r) : e.createTreeWalker(t, n, r);
}
// node_modules/react-aria/dist/private/focus/FocusScope.mjs
-var gT = /*#__PURE__*/ F.createContext(null), _T = "react-aria-focus-scope-restore", vT = null;
-function yT(e) {
- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)([]), { parentNode: c } = (0, F.useContext)(gT) || {}, l = (0, F.useMemo)(() => new MT({ scopeRef: s }), [s]);
- HS(() => {
- let e = c || NT.root;
- if (NT.getTreeNode(e.scopeRef) && vT && !TT(vT, e.scopeRef)) {
- let t = NT.getTreeNode(vT);
+var mT = /*#__PURE__*/ F.createContext(null), hT = "react-aria-focus-scope-restore", gT = null;
+function _T(e) {
+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)([]), { parentNode: c } = (0, F.useContext)(mT) || {}, l = (0, F.useMemo)(() => new AT({ scopeRef: s }), [s]);
+ VS(() => {
+ let e = c || jT.root;
+ if (jT.getTreeNode(e.scopeRef) && gT && !CT(gT, e.scopeRef)) {
+ let t = jT.getTreeNode(gT);
t && (e = t);
}
- e.addChild(l), NT.addNode(l);
- }, [l, c]), HS(() => {
- let e = NT.getTreeNode(s);
+ e.addChild(l), jT.addNode(l);
+ }, [l, c]), VS(() => {
+ let e = jT.getTreeNode(s);
e && (e.contain = !!n);
- }, [n]), HS(() => {
+ }, [n]), VS(() => {
let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();
- for (; e && e !== o.current;) t.push(e), e.addEventListener(_T, n), e = e.nextSibling;
+ for (; e && e !== o.current;) t.push(e), e.addEventListener(hT, n), e = e.nextSibling;
return s.current = t, () => {
- for (let e of t) e.removeEventListener(_T, n);
+ for (let e of t) e.removeEventListener(hT, n);
};
- }, [t]), zoe(s, r, n), Ioe(s, n), Boe(s, r, n), Roe(s, i), (0, F.useEffect)(() => {
- let e = PS(ES(s.current ? s.current[0] : void 0)), t = null;
- if (CT(e, s.current)) {
- for (let n of NT.traverse()) n.scopeRef && CT(e, n.scopeRef.current) && (t = n);
- t === NT.getTreeNode(s) && (vT = t.scopeRef);
- }
- }, [s]), HS(() => () => {
- let e = NT.getTreeNode(s)?.parent?.scopeRef ?? null;
- s !== vT && !TT(s, vT) || e && !NT.getTreeNode(e) || (vT = e), NT.removeTreeNode(s);
+ }, [t]), Voe(s, r, n), Roe(s, n), Hoe(s, r, n), Boe(s, i), (0, F.useEffect)(() => {
+ let e = NS(TS(s.current ? s.current[0] : void 0)), t = null;
+ if (xT(e, s.current)) {
+ for (let n of jT.traverse()) n.scopeRef && xT(e, n.scopeRef.current) && (t = n);
+ t === jT.getTreeNode(s) && (gT = t.scopeRef);
+ }
+ }, [s]), VS(() => () => {
+ let e = jT.getTreeNode(s)?.parent?.scopeRef ?? null;
+ s !== gT && !CT(s, gT) || e && !jT.getTreeNode(e) || (gT = e), jT.removeTreeNode(s);
}, [s]);
- let u = (0, F.useMemo)(() => Noe(s), []), d = (0, F.useMemo)(() => ({
+ let u = (0, F.useMemo)(() => Foe(s), []), d = (0, F.useMemo)(() => ({
focusManager: u,
parentNode: l
}), [l, u]);
- return /*#__PURE__*/ F.createElement(gT.Provider, { value: d }, /*#__PURE__*/ F.createElement("span", {
+ return /*#__PURE__*/ F.createElement(mT.Provider, { value: d }, /*#__PURE__*/ F.createElement("span", {
"data-focus-scope-start": !0,
hidden: !0,
ref: a
@@ -24178,154 +24178,154 @@ function yT(e) {
ref: o
}));
}
-function Noe(e) {
+function Foe(e) {
return {
focusNext(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || PS(ES(n[0] ?? void 0)), c = n[0].previousElementSibling, l = jT(bT(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || NS(TS(n[0] ?? void 0)), c = n[0].previousElementSibling, l = kT(vT(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = CT(s, n) ? s : c;
+ l.currentNode = xT(s, n) ? s : c;
let u = l.nextNode();
- return !u && a && (l.currentNode = c, u = l.nextNode()), u && ET(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && wT(u, !0), u;
},
focusPrevious(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || PS(ES(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = jT(bT(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || NS(TS(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = kT(vT(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = CT(s, n) ? s : c;
+ l.currentNode = xT(s, n) ? s : c;
let u = l.previousNode();
- return !u && a && (l.currentNode = c, u = l.previousNode()), u && ET(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && wT(u, !0), u;
},
focusFirst(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = jT(bT(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = kT(vT(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[0].previousElementSibling;
let o = a.nextNode();
- return o && ET(o, !0), o;
+ return o && wT(o, !0), o;
},
focusLast(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = jT(bT(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = kT(vT(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[n.length - 1].nextElementSibling;
let o = a.previousNode();
- return o && ET(o, !0), o;
+ return o && wT(o, !0), o;
}
};
}
-function bT(e) {
+function vT(e) {
return e[0].parentElement;
}
-function xT(e) {
- let t = NT.getTreeNode(vT);
+function yT(e) {
+ let t = jT.getTreeNode(gT);
for (; t && t.scopeRef !== e;) {
if (t.contain) return !1;
t = t.parent;
}
return !0;
}
-function Poe(e) {
- if (!e.form) return Array.from(ES(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
- let t = e.form.elements.namedItem(e.name), n = DS(e);
+function Ioe(e) {
+ if (!e.form) return Array.from(TS(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
+ let t = e.form.elements.namedItem(e.name), n = ES(e);
return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];
}
-function Foe(e) {
+function Loe(e) {
if (e.checked) return !0;
- let t = Poe(e);
+ let t = Ioe(e);
return t.length > 0 && !t.some((e) => e.checked);
}
-function Ioe(e, t) {
+function Roe(e, t) {
let n = (0, F.useRef)(void 0), r = (0, F.useRef)(void 0);
- HS(() => {
+ VS(() => {
let i = e.current;
if (!t) {
r.current &&= (cancelAnimationFrame(r.current), void 0);
return;
}
- let a = ES(i ? i[0] : void 0), o = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !xT(e) || t.isComposing) return;
- let n = PS(a), r = e.current;
- if (!r || !CT(n, r)) return;
- let i = jT(bT(r), { tabbable: !0 }, r);
+ let a = TS(i ? i[0] : void 0), o = (t) => {
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !yT(e) || t.isComposing) return;
+ let n = NS(a), r = e.current;
+ if (!r || !xT(n, r)) return;
+ let i = kT(vT(r), { tabbable: !0 }, r);
if (!n) return;
i.currentNode = n;
let o = t.shiftKey ? i.previousNode() : i.nextNode();
- o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (ET(o, !0), o instanceof DS(o).HTMLInputElement && o.select());
+ o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (wT(o, !0), o instanceof ES(o).HTMLInputElement && o.select());
}, s = (t) => {
- (!vT || TT(vT, e)) && CT(G(t), e.current) ? (vT = e, n.current = G(t)) : xT(e) && !wT(G(t), e) ? n.current ? ET(n.current) : vT && vT.current && OT(vT.current) : xT(e) && (n.current = G(t));
+ (!gT || CT(gT, e)) && xT(G(t), e.current) ? (gT = e, n.current = G(t)) : yT(e) && !ST(G(t), e) ? n.current ? wT(n.current) : gT && gT.current && ET(gT.current) : yT(e) && (n.current = G(t));
}, c = (t) => {
r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
- let r = kC(), i = (r === "virtual" || r === null) && tC() && eC(), o = PS(a);
- if (!i && o && xT(e) && !wT(o, e)) {
- vT = e;
+ let r = DC(), i = (r === "virtual" || r === null) && eC() && $S(), o = NS(a);
+ if (!i && o && yT(e) && !ST(o, e)) {
+ gT = e;
let r = G(t);
- r && r.isConnected ? (n.current = r, ET(n.current)) : vT.current && OT(vT.current);
+ r && r.isConnected ? (n.current = r, wT(n.current)) : gT.current && ET(gT.current);
}
});
};
return a.addEventListener("keydown", o, !1), a.addEventListener("focusin", s, !1), i?.forEach((e) => e.addEventListener("focusin", s, !1)), i?.forEach((e) => e.addEventListener("focusout", c, !1)), () => {
a.removeEventListener("keydown", o, !1), a.removeEventListener("focusin", s, !1), i?.forEach((e) => e.removeEventListener("focusin", s, !1)), i?.forEach((e) => e.removeEventListener("focusout", c, !1));
};
- }, [e, t]), HS(() => () => {
+ }, [e, t]), VS(() => () => {
r.current && cancelAnimationFrame(r.current);
}, [r]);
}
-function ST(e) {
- return wT(e);
+function bT(e) {
+ return ST(e);
}
-function CT(e, t) {
- return !e || !t ? !1 : t.some((t) => NS(t, e));
+function xT(e, t) {
+ return !e || !t ? !1 : t.some((t) => MS(t, e));
}
-function wT(e, t = null) {
+function ST(e, t = null) {
if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;
- for (let { scopeRef: n } of NT.traverse(NT.getTreeNode(t))) if (n && CT(e, n.current)) return !0;
+ for (let { scopeRef: n } of jT.traverse(jT.getTreeNode(t))) if (n && xT(e, n.current)) return !0;
return !1;
}
-function Loe(e) {
- return wT(e, vT);
+function zoe(e) {
+ return ST(e, gT);
}
-function TT(e, t) {
- let n = NT.getTreeNode(t)?.parent;
+function CT(e, t) {
+ let n = jT.getTreeNode(t)?.parent;
for (; n;) {
if (n.scopeRef === e) return !0;
n = n.parent;
}
return !1;
}
-function ET(e, t = !1) {
+function wT(e, t = !1) {
if (e != null && !t) try {
- BC(e);
+ RC(e);
} catch {}
else if (e != null) try {
e.focus();
} catch {}
}
-function DT(e, t = !0) {
- let n = e[0].previousElementSibling, r = bT(e), i = jT(r, { tabbable: t }, e);
+function TT(e, t = !0) {
+ let n = e[0].previousElementSibling, r = vT(e), i = kT(r, { tabbable: t }, e);
i.currentNode = n;
let a = i.nextNode();
- return t && !a && (r = bT(e), i = jT(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
+ return t && !a && (r = vT(e), i = kT(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
}
-function OT(e, t = !0) {
- ET(DT(e, t));
+function ET(e, t = !0) {
+ wT(TT(e, t));
}
-function Roe(e, t) {
+function Boe(e, t) {
let n = F.useRef(t);
(0, F.useEffect)(() => {
- n.current && (vT = e, !CT(PS(ES(e.current ? e.current[0] : void 0)), vT.current) && e.current && OT(e.current)), n.current = !1;
+ n.current && (gT = e, !xT(NS(TS(e.current ? e.current[0] : void 0)), gT.current) && e.current && ET(e.current)), n.current = !1;
}, [e]);
}
-function zoe(e, t, n) {
- HS(() => {
+function Voe(e, t, n) {
+ VS(() => {
if (t || n) return;
- let r = e.current, i = ES(r ? r[0] : void 0), a = (t) => {
+ let r = e.current, i = TS(r ? r[0] : void 0), a = (t) => {
let n = G(t);
- CT(n, e.current) ? vT = e : ST(n) || (vT = null);
+ xT(n, e.current) ? gT = e : bT(n) || (gT = null);
};
return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {
i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));
@@ -24336,43 +24336,43 @@ function zoe(e, t, n) {
n
]);
}
-function kT(e) {
- let t = NT.getTreeNode(vT);
+function DT(e) {
+ let t = jT.getTreeNode(gT);
for (; t && t.scopeRef !== e;) {
if (t.nodeToRestore) return !1;
t = t.parent;
}
return t?.scopeRef === e;
}
-function Boe(e, t, n) {
- let r = (0, F.useRef)(typeof document < "u" ? PS(ES(e.current ? e.current[0] : void 0)) : null);
- HS(() => {
- let r = e.current, i = ES(r ? r[0] : void 0);
+function Hoe(e, t, n) {
+ let r = (0, F.useRef)(typeof document < "u" ? NS(TS(e.current ? e.current[0] : void 0)) : null);
+ VS(() => {
+ let r = e.current, i = TS(r ? r[0] : void 0);
if (!t || n) return;
let a = () => {
- (!vT || TT(vT, e)) && CT(PS(i), e.current) && (vT = e);
+ (!gT || CT(gT, e)) && xT(NS(i), e.current) && (gT = e);
};
return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {
i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));
};
- }, [e, n]), HS(() => {
- let r = ES(e.current ? e.current[0] : void 0);
+ }, [e, n]), VS(() => {
+ let r = TS(e.current ? e.current[0] : void 0);
if (!t) return;
let i = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !xT(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !yT(e) || t.isComposing) return;
let n = r.activeElement;
- if (!wT(n, e) || !kT(e)) return;
- let i = NT.getTreeNode(e);
+ if (!ST(n, e) || !DT(e)) return;
+ let i = jT.getTreeNode(e);
if (!i) return;
- let a = i.nodeToRestore, o = jT(r.body, { tabbable: !0 });
+ let a = i.nodeToRestore, o = kT(r.body, { tabbable: !0 });
o.currentNode = n;
let s = t.shiftKey ? o.previousNode() : o.nextNode();
- if (a && a.isConnected && a !== r.body || (a = void 0, i.nodeToRestore = void 0), (!s || !wT(s, e)) && a) {
+ if (a && a.isConnected && a !== r.body || (a = void 0, i.nodeToRestore = void 0), (!s || !ST(s, e)) && a) {
o.currentNode = a;
do
s = t.shiftKey ? o.previousNode() : o.nextNode();
- while (wT(s, e));
- t.preventDefault(), t.stopPropagation(), s ? ET(s, !0) : ST(a) ? ET(a, !0) : n.blur();
+ while (ST(s, e));
+ t.preventDefault(), t.stopPropagation(), s ? wT(s, !0) : bT(a) ? wT(a, !0) : n.blur();
}
};
return n || r.addEventListener("keydown", i, !0), () => {
@@ -24382,31 +24382,31 @@ function Boe(e, t, n) {
e,
t,
n
- ]), HS(() => {
- let n = ES(e.current ? e.current[0] : void 0);
+ ]), VS(() => {
+ let n = TS(e.current ? e.current[0] : void 0);
if (!t) return;
- let i = NT.getTreeNode(e);
+ let i = jT.getTreeNode(e);
if (i) return i.nodeToRestore = r.current ?? void 0, () => {
- let r = NT.getTreeNode(e);
+ let r = jT.getTreeNode(e);
if (!r) return;
- let i = r.nodeToRestore, a = PS(n);
- if (t && i && (a && wT(a, e) || a === n.body && kT(e))) {
- let t = NT.clone();
+ let i = r.nodeToRestore, a = NS(n);
+ if (t && i && (a && ST(a, e) || a === n.body && DT(e))) {
+ let t = jT.clone();
requestAnimationFrame(() => {
if (n.activeElement === n.body) {
let n = t.getTreeNode(e);
for (; n;) {
if (n.nodeToRestore && n.nodeToRestore.isConnected) {
- AT(n.nodeToRestore);
+ OT(n.nodeToRestore);
return;
}
n = n.parent;
}
for (n = t.getTreeNode(e); n;) {
- if (n.scopeRef && n.scopeRef.current && NT.getTreeNode(n.scopeRef)) {
- let e = DT(n.scopeRef.current, !0);
+ if (n.scopeRef && n.scopeRef.current && jT.getTreeNode(n.scopeRef)) {
+ let e = TT(n.scopeRef.current, !0);
if (e) {
- AT(e);
+ OT(e);
return;
}
}
@@ -24418,21 +24418,21 @@ function Boe(e, t, n) {
};
}, [e, t]);
}
-function AT(e) {
- e.dispatchEvent(new CustomEvent(_T, {
+function OT(e) {
+ e.dispatchEvent(new CustomEvent(hT, {
bubbles: !0,
cancelable: !0
- })) && ET(e);
+ })) && wT(e);
}
-function jT(e, t, n) {
- let r = t?.tabbable ? BS : zS, i = ES(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = hT(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
- return NS(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Foe(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || CT(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
+function kT(e, t, n) {
+ let r = t?.tabbable ? zS : RS, i = TS(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = pT(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
+ return MS(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Loe(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || xT(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
} });
return t?.from && (a.currentNode = t.from), a;
}
-var Voe = class e {
+var Uoe = class e {
constructor() {
- this.fastMap = /* @__PURE__ */ new Map(), this.root = new MT({ scopeRef: null }), this.fastMap.set(null, this.root);
+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new AT({ scopeRef: null }), this.fastMap.set(null, this.root);
}
get size() {
return this.fastMap.size;
@@ -24443,7 +24443,7 @@ var Voe = class e {
addTreeNode(e, t, n) {
let r = this.fastMap.get(t ?? null);
if (!r) return;
- let i = new MT({ scopeRef: e });
+ let i = new AT({ scopeRef: e });
r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);
}
addNode(e) {
@@ -24454,7 +24454,7 @@ var Voe = class e {
let t = this.fastMap.get(e);
if (!t) return;
let n = t.parent;
- for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && CT(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);
+ for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && xT(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);
let r = t.children;
n && (n.removeChild(t), r.size > 0 && r.forEach((e) => n && n.addChild(e))), this.fastMap.delete(t.scopeRef);
}
@@ -24466,7 +24466,7 @@ var Voe = class e {
for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);
return t;
}
-}, MT = class {
+}, AT = class {
constructor(e) {
this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;
}
@@ -24476,13 +24476,13 @@ var Voe = class e {
removeChild(e) {
this.children.delete(e), e.parent = void 0;
}
-}, NT = new Voe(), PT = 7e3, FT = null;
-function IT(e, t = "assertive", n = PT) {
- FT ? FT.announce(e, t, n) : (FT = new Hoe(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? FT.announce(e, t, n) : setTimeout(() => {
- FT?.isAttached() && FT?.announce(e, t, n);
+}, jT = new Uoe(), MT = 7e3, NT = null;
+function PT(e, t = "assertive", n = MT) {
+ NT ? NT.announce(e, t, n) : (NT = new Woe(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? NT.announce(e, t, n) : setTimeout(() => {
+ NT?.isAttached() && NT?.announce(e, t, n);
}, 100));
}
-var Hoe = class {
+var Woe = class {
constructor() {
this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {
border: 0,
@@ -24507,7 +24507,7 @@ var Hoe = class {
destroy() {
this.node &&= (document.body.removeChild(this.node), null);
}
- announce(e, t = "assertive", n = PT) {
+ announce(e, t = "assertive", n = MT) {
if (!this.node) return;
let r = document.createElement("div");
typeof e == "object" ? (r.setAttribute("role", "img"), r.setAttribute("aria-labelledby", e["aria-labelledby"])) : r.textContent = e, t === "assertive" ? this.assertiveLog?.appendChild(r) : this.politeLog?.appendChild(r), e !== "" && setTimeout(() => {
@@ -24519,8 +24519,8 @@ var Hoe = class {
}
};
// node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs
-function LT(e, t) {
- let n = (0, F.useRef)(!0), r = (0, F.useRef)(null), i = Nw(e);
+function FT(e, t) {
+ let n = (0, F.useRef)(!0), r = (0, F.useRef)(null), i = jw(e);
(0, F.useEffect)(() => (n.current = !0, () => {
n.current = !1;
}), []), (0, F.useEffect)(() => {
@@ -24529,30 +24529,30 @@ function LT(e, t) {
}, t);
}
// node_modules/react-aria/dist/private/utils/isScrollable.mjs
-function RT(e, t) {
+function IT(e, t) {
if (!e) return !1;
let n = window.getComputedStyle(e), r = document.scrollingElement || document.documentElement, i = /(auto|scroll)/.test(n.overflow + n.overflowX + n.overflowY);
return e === r && n.overflow !== "hidden" && (i = !0), i && t && (i = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), i;
}
// node_modules/react-aria/dist/private/utils/getScrollParent.mjs
-function zT(e, t) {
+function LT(e, t) {
let n = e;
- for (RT(n, t) && (n = n.parentElement); n && !RT(n, t);) n = n.parentElement;
+ for (IT(n, t) && (n = n.parentElement); n && !IT(n, t);) n = n.parentElement;
return n || document.scrollingElement || document.documentElement;
}
// node_modules/react-aria/dist/private/utils/getScrollParents.mjs
-function BT(e, t) {
+function RT(e, t) {
let n = [], r = document.scrollingElement || document.documentElement;
- for (; e && (RT(e, t) && n.push(e), e !== r);) e = e.parentElement;
+ for (; e && (IT(e, t) && n.push(e), e !== r);) e = e.parentElement;
return n;
}
// node_modules/react-aria/dist/private/utils/scrollIntoView.mjs
-function VT(e, t, n = {}) {
- e !== t && Uoe(e, t, t.getBoundingClientRect(), n);
+function zT(e, t, n = {}) {
+ e !== t && Goe(e, t, t.getBoundingClientRect(), n);
}
-function Uoe(e, t, n, r = {}) {
+function Goe(e, t, n, r = {}) {
let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, ee = e === d ? 0 : D + O, N = e === d ? 0 : T + E, te = e === d ? 0 : e.offsetWidth - e.clientWidth - ee, P = e === d ? 0 : e.offsetHeight - e.clientHeight - N, ne = p + (f ? 0 : T) + x, re = m - (f ? 0 : E) - S - P, F = h + (f ? 0 : D) + C, I = g - (f ? 0 : O) - w;
- QS() && $S() || u.direction === "ltr" ? I -= te : u.direction === "rtl" && (F += te);
+ ZS() && QS() || u.direction === "ltr" ? I -= te : u.direction === "rtl" && (F += te);
let ie = k < ne || A > re, ae = j < F || M > I;
if (ie && i === "start") o += k - ne;
else if (ie && i === "center") o += (k + A) / 2 - (ne + re) / 2;
@@ -24573,7 +24573,7 @@ function Uoe(e, t, n, r = {}) {
top: o
});
}
-function HT(e, t = {}) {
+function BT(e, t = {}) {
let { containingElement: n } = t;
if (e && e.isConnected) {
let t = document.scrollingElement || document.documentElement;
@@ -24586,45 +24586,45 @@ function HT(e, t = {}) {
inline: "center"
}), e.scrollIntoView?.({ block: "nearest" }));
} else {
- let { left: t, top: r } = e.getBoundingClientRect(), i = BT(e, !0);
- for (let t of i) VT(t, e);
+ let { left: t, top: r } = e.getBoundingClientRect(), i = RT(e, !0);
+ for (let t of i) zT(t, e);
let { left: a, top: o } = e.getBoundingClientRect();
if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {
- i = n ? BT(n, !0) : [];
- for (let e of i) VT(e, n, {
+ i = n ? RT(n, !0) : [];
+ for (let e of i) zT(e, n, {
block: "center",
inline: "center"
});
- for (let t of BT(e, !0)) VT(t, e);
+ for (let t of RT(e, !0)) zT(t, e);
}
}
}
}
// node_modules/react-aria/dist/private/utils/useDescription.mjs
-var Woe = 0, UT = /* @__PURE__ */ new Map();
-function WT(e) {
+var Koe = 0, VT = /* @__PURE__ */ new Map();
+function HT(e) {
let [t, n] = (0, F.useState)();
- return HS(() => {
+ return VS(() => {
if (!e) return;
- let t = UT.get(e);
+ let t = VT.get(e);
if (t) n(t.element.id);
else {
- let r = `react-aria-description-${Woe++}`;
+ let r = `react-aria-description-${Koe++}`;
n(r);
let i = document.createElement("div");
i.id = r, i.style.display = "none", i.textContent = e, document.body.appendChild(i), t = {
refCount: 0,
element: i
- }, UT.set(e, t);
+ }, VT.set(e, t);
}
return t.refCount++, () => {
- t && --t.refCount === 0 && (t.element.remove(), UT.delete(e));
+ t && --t.refCount === 0 && (t.element.remove(), VT.delete(e));
};
}, [e]), { "aria-describedby": e ? t : void 0 };
}
// node_modules/react-aria/dist/private/utils/useFormReset.mjs
-function GT(e, t, n) {
- let r = Nw((e) => {
+function UT(e, t, n) {
+ let r = jw((e) => {
n && !e.defaultPrevented && n(t);
});
(0, F.useEffect)(() => {
@@ -24635,21 +24635,21 @@ function GT(e, t, n) {
}, [e]);
}
// node_modules/react-aria/dist/private/form/useFormValidation.mjs
-function KT(e, t, n) {
+function WT(e, t, n) {
let { validationBehavior: r, focus: i } = e;
- HS(() => {
+ VS(() => {
if (r === "native" && n?.current && "setCustomValidity" in n.current && !n.current.disabled) {
let e = t.realtimeValidation.isInvalid ? t.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";
- n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(Koe(n.current));
+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(Joe(n.current));
}
});
- let a = (0, F.useRef)(!1), o = Nw(() => {
+ let a = (0, F.useRef)(!1), o = jw(() => {
a.current || t.resetValidation();
- }), s = Nw((e) => {
+ }), s = jw((e) => {
t.displayValidation.isInvalid || t.commitValidation();
let r = n?.current?.form;
- !e.defaultPrevented && n && r && qoe(r) === n.current && (i ? i() : n.current?.focus(), AC("keyboard")), e.preventDefault();
- }), c = Nw(() => {
+ !e.defaultPrevented && n && r && Yoe(r) === n.current && (i ? i() : n.current?.focus(), OC("keyboard")), e.preventDefault();
+ }), c = jw(() => {
t.commitValidation();
});
(0, F.useEffect)(() => {
@@ -24663,7 +24663,7 @@ function KT(e, t, n) {
};
}, [n, r]);
}
-function Goe(e) {
+function qoe(e) {
let t = e.validity;
return {
badInput: t.badInput,
@@ -24679,14 +24679,14 @@ function Goe(e) {
valid: t.valid
};
}
-function Koe(e) {
+function Joe(e) {
return {
isInvalid: !e.validity.valid,
- validationDetails: Goe(e),
+ validationDetails: qoe(e),
validationErrors: e.validationMessage ? [e.validationMessage] : []
};
}
-function qoe(e) {
+function Yoe(e) {
for (let t = 0; t < e.elements.length; t++) {
let n = e.elements[t];
if (n.validity?.valid === !1) return n;
@@ -24694,23 +24694,23 @@ function qoe(e) {
return null;
}
// node_modules/react-aria/dist/private/utils/useSlot.mjs
-function Joe(e = !0) {
+function Xoe(e = !0) {
let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(!1), i = (0, F.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
- return HS(() => {
+ return VS(() => {
r.current || n(!1);
}, []), [i, t];
}
-function qT(e = !0) {
- let t = GC(), [n, r] = Joe(e);
+function GT(e = !0) {
+ let t = UC(), [n, r] = Xoe(e);
return {
id: r ? t : void 0,
ref: n
};
}
// node_modules/react-stately/dist/private/form/useFormValidationState.mjs
-var JT = {
+var KT = {
badInput: !1,
customError: !1,
patternMismatch: !1,
@@ -24722,18 +24722,18 @@ var JT = {
typeMismatch: !1,
valueMissing: !1,
valid: !0
-}, YT = {
- ...JT,
+}, qT = {
+ ...KT,
customError: !0,
valid: !1
-}, XT = {
+}, JT = {
isInvalid: !1,
- validationDetails: JT,
+ validationDetails: KT,
validationErrors: []
-}, Yoe = (0, F.createContext)({}), ZT = "__reactAriaFormValidationState";
-function QT(e) {
+}, Zoe = (0, F.createContext)({}), YT = "__reactAriaFormValidationState";
+function XT(e) {
if (e.__reactAriaFormValidationState) {
- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[ZT];
+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[YT];
return {
realtimeValidation: t,
displayValidation: n,
@@ -24742,70 +24742,70 @@ function QT(e) {
commitValidation: a
};
}
- return Xoe(e);
+ return Qoe(e);
}
-function Xoe(e) {
+function Qoe(e) {
let { isInvalid: t, validationState: n, name: r, value: i, builtinValidation: a, validate: o, validationBehavior: s = "aria" } = e;
n && (t ||= n === "invalid");
let c = t === void 0 ? null : {
isInvalid: t,
validationErrors: [],
- validationDetails: YT
- }, l = (0, F.useMemo)(() => !o || i == null ? null : eE(Zoe(o, i)), [o, i]);
+ validationDetails: qT
+ }, l = (0, F.useMemo)(() => !o || i == null ? null : QT($oe(o, i)), [o, i]);
a?.validationDetails.valid && (a = void 0);
- let u = (0, F.useContext)(Yoe), d = (0, F.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => $T(u[e])) : $T(u[r]) : [], [u, r]), [f, p] = (0, F.useState)(u), [m, h] = (0, F.useState)(!1);
+ let u = (0, F.useContext)(Zoe), d = (0, F.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => ZT(u[e])) : ZT(u[r]) : [], [u, r]), [f, p] = (0, F.useState)(u), [m, h] = (0, F.useState)(!1);
u !== f && (p(u), h(!1));
- let g = (0, F.useMemo)(() => eE(m ? [] : d), [m, d]), _ = (0, F.useRef)(XT), [v, y] = (0, F.useState)(XT), b = (0, F.useRef)(XT), x = () => {
+ let g = (0, F.useMemo)(() => QT(m ? [] : d), [m, d]), _ = (0, F.useRef)(JT), [v, y] = (0, F.useState)(JT), b = (0, F.useRef)(JT), x = () => {
if (!S) return;
C(!1);
let e = l || a || _.current;
- tE(e, b.current) || (b.current = e, y(e));
+ $T(e, b.current) || (b.current = e, y(e));
}, [S, C] = (0, F.useState)(!1);
return (0, F.useEffect)(x), {
- realtimeValidation: c || g || l || a || XT,
+ realtimeValidation: c || g || l || a || JT,
displayValidation: s === "native" ? c || g || v : c || g || l || a || v,
updateValidation(e) {
- s === "aria" && !tE(v, e) ? y(e) : _.current = e;
+ s === "aria" && !$T(v, e) ? y(e) : _.current = e;
},
resetValidation() {
- let e = XT;
- tE(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
+ let e = JT;
+ $T(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
},
commitValidation() {
s === "native" && C(!0), h(!0);
}
};
}
-function $T(e) {
+function ZT(e) {
return e ? Array.isArray(e) ? e : [e] : [];
}
-function Zoe(e, t) {
+function $oe(e, t) {
if (typeof e == "function") {
let n = e(t);
- if (n && typeof n != "boolean") return $T(n);
+ if (n && typeof n != "boolean") return ZT(n);
}
return [];
}
-function eE(e) {
+function QT(e) {
return e.length ? {
isInvalid: !0,
validationErrors: e,
- validationDetails: YT
+ validationDetails: qT
} : null;
}
-function tE(e, t) {
+function $T(e, t) {
return e === t || !!e && !!t && e.isInvalid === t.isInvalid && e.validationErrors.length === t.validationErrors.length && e.validationErrors.every((e, n) => e === t.validationErrors[n]) && Object.entries(e.validationDetails).every(([e, n]) => t.validationDetails[e] === n);
}
// node_modules/react-aria/dist/private/toggle/useToggle.mjs
-function nE(e, t, n) {
- let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = QT({
+function eE(e, t, n) {
+ let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = XT({
...e,
value: t.isSelected
}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;
- KT(e, b, n);
+ WT(e, b, n);
let w = (e) => {
e.stopPropagation(), t.setSelected(G(e).checked);
- }, { pressProps: T, isPressed: E } = lT({
+ }, { pressProps: T, isPressed: E } = sT({
onPressStart: m,
onPressEnd: h,
onPressChange: g,
@@ -24813,7 +24813,7 @@ function nE(e, t, n) {
onPressUp: v,
onClick: y,
isDisabled: r
- }), [D, O] = (0, F.useState)(!1), { pressProps: k } = lT({
+ }), [D, O] = (0, F.useState)(!1), { pressProps: k } = sT({
onPressStart(e) {
e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (m?.(e), g?.(!0), O(!0));
},
@@ -24830,13 +24830,13 @@ function nE(e, t, n) {
return;
}
_?.(r), t.toggle(), n.current?.focus();
- let { [ZT]: i } = e, { commitValidation: a } = i || b;
+ let { [YT]: i } = e, { commitValidation: a } = i || b;
a();
},
isDisabled: r || i
- }), { focusableProps: A } = aw(e, n), j = K(T, A), M = Yw(e, { labelable: !0 });
- GT(n, t.defaultSelected, t.setSelected);
- let ee = qT(), N = qT();
+ }), { focusableProps: A } = rw(e, n), j = K(T, A), M = qw(e, { labelable: !0 });
+ UT(n, t.defaultSelected, t.setSelected);
+ let ee = GT(), N = GT();
return {
labelProps: K(k, { onClick: (e) => e.preventDefault() }),
inputProps: K(M, {
@@ -24872,8 +24872,8 @@ function nE(e, t, n) {
};
}
// node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs
-function rE(e, t, n) {
- let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = nE(e, t, n), { isIndeterminate: m } = e;
+function tE(e, t, n) {
+ let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = eE(e, t, n), { isIndeterminate: m } = e;
return (0, F.useEffect)(() => {
n.current && (n.current.indeterminate = !!m);
}), {
@@ -24891,17 +24891,17 @@ function rE(e, t, n) {
};
}
// node_modules/react-aria/dist/private/checkbox/utils.mjs
-var Qoe = /* @__PURE__ */ new WeakMap();
+var ese = /* @__PURE__ */ new WeakMap();
// node_modules/react-aria/dist/private/label/useLabel.mjs
-function iE(e) {
+function nE(e) {
let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;
- t = GC(t);
- let o = GC(), s = {};
+ t = UC(t);
+ let o = UC(), s = {};
n && (r = r ? `${o} ${r}` : o, s = {
id: o,
htmlFor: a === "label" ? t : void 0
});
- let c = Fw({
+ let c = Nw({
id: t,
"aria-label": i,
"aria-labelledby": r
@@ -24912,13 +24912,13 @@ function iE(e) {
};
}
// node_modules/react-aria/dist/private/label/useField.mjs
-function aE(e) {
- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = iE(e), s = KC([
+function rE(e) {
+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = nE(e), s = WC([
!!t,
!!n,
r,
i
- ]), c = KC([
+ ]), c = WC([
!!t,
!!n,
r,
@@ -24936,26 +24936,26 @@ function aE(e) {
};
}
// node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs
-function oE(e) {
- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, F.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = iT(), c = (0, F.useCallback)((e) => {
- NS(e.currentTarget, G(e)) && a.current.isFocusWithin && !NS(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
+function iE(e) {
+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, F.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = nT(), c = (0, F.useCallback)((e) => {
+ MS(e.currentTarget, G(e)) && a.current.isFocusWithin && !MS(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
}, [
n,
i,
a,
s
- ]), l = GS(c), u = (0, F.useCallback)((e) => {
- if (!NS(e.currentTarget, G(e))) return;
- let t = G(e), n = ES(t), s = PS(n);
+ ]), l = WS(c), u = (0, F.useCallback)((e) => {
+ if (!MS(e.currentTarget, G(e))) return;
+ let t = G(e), n = TS(t), s = NS(n);
if (!a.current.isFocusWithin && s === t) {
r && r(e), i && i(!0), a.current.isFocusWithin = !0, l(e);
let t = e.currentTarget;
o(n, "focus", (e) => {
let r = G(e);
- if (a.current.isFocusWithin && !NS(t, r)) {
+ if (a.current.isFocusWithin && !MS(t, r)) {
let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });
- WS(e, t);
- let i = US(e);
+ US(e, t);
+ let i = HS(e);
c(i);
}
}, { capture: !0 });
@@ -24976,14 +24976,14 @@ function oE(e) {
} };
}
// node_modules/react-stately/dist/private/utils/useControlledState.mjs
-var $oe = F.useInsertionEffect ?? F.useLayoutEffect;
-function sE(e, t, n) {
+var tse = F.useInsertionEffect ?? F.useLayoutEffect;
+function aE(e, t, n) {
let [r, i] = (0, F.useState)(e || t), a = (0, F.useRef)(r), o = (0, F.useRef)(e !== void 0), s = e !== void 0;
(0, F.useEffect)(() => {
o.current, o.current = s;
}, [s]);
let c = s ? e : r;
- $oe(() => {
+ tse(() => {
a.current = c;
});
let [, l] = (0, F.useReducer)(() => ({}), {});
@@ -24993,8 +24993,8 @@ function sE(e, t, n) {
}, [n])];
}
// node_modules/react-stately/dist/private/toggle/useToggleState.mjs
-function cE(e = {}) {
- let { isReadOnly: t } = e, [n, r] = sE(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, F.useState)(n);
+function oE(e = {}) {
+ let { isReadOnly: t } = e, [n, r] = aE(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, F.useState)(n);
function a(e) {
t || r(e);
}
@@ -25009,26 +25009,26 @@ function cE(e = {}) {
};
}
// node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs
-function ese(e, t, n) {
- let r = cE({
+function nse(e, t, n) {
+ let r = oE({
isReadOnly: e.isReadOnly || t.isReadOnly,
isSelected: t.isSelected(e.value),
defaultSelected: t.defaultValue.includes(e.value),
onChange(n) {
n ? t.addValue(e.value) : t.removeValue(e.value), e.onChange && e.onChange(n);
}
- }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = Qoe.get(t);
+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = ese.get(t);
c = e.validationBehavior ?? c;
- let { realtimeValidation: l } = QT({
+ let { realtimeValidation: l } = XT({
...e,
value: r.isSelected,
name: void 0,
validationBehavior: "aria"
- }), u = (0, F.useRef)(XT), d = () => {
+ }), u = (0, F.useRef)(JT), d = () => {
t.setInvalid(e.value, l.isInvalid ? l : u.current);
};
(0, F.useEffect)(d);
- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = rE({
+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = tE({
...e,
isReadOnly: e.isReadOnly || t.isReadOnly,
isDisabled: e.isDisabled || t.isDisabled,
@@ -25036,7 +25036,7 @@ function ese(e, t, n) {
form: e.form || a,
isRequired: e.isRequired ?? t.isRequired,
validationBehavior: c,
- [ZT]: {
+ [YT]: {
realtimeValidation: f,
displayValidation: p,
resetValidation: t.resetValidation,
@@ -25059,10 +25059,10 @@ function ese(e, t, n) {
};
}
// node_modules/react-stately/dist/private/utils/number.mjs
-function lE(e, t = -Infinity, n = Infinity) {
+function sE(e, t = -Infinity, n = Infinity) {
return Math.min(Math.max(e, t), n);
}
-function uE(e, t) {
+function cE(e, t) {
let n = e, r = 0, i = t.toString(), a = i.toLowerCase().indexOf("e-");
if (a > 0) r = Math.abs(Math.floor(Math.log10(Math.abs(t)))) + a;
else {
@@ -25075,23 +25075,23 @@ function uE(e, t) {
}
return n;
}
-function dE(e, t, n, r) {
+function lE(e, t, n, r) {
t = Number(t), n = Number(n);
- let i = (e - (isNaN(t) ? 0 : t)) % r, a = uE(Math.abs(i) * 2 >= r ? e + Math.sign(i) * (r - Math.abs(i)) : e - i, r);
- return isNaN(t) ? !isNaN(n) && a > n && (a = Math.floor(uE(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(uE((n - t) / r, r)) * r), a = uE(a, r), a;
+ let i = (e - (isNaN(t) ? 0 : t)) % r, a = cE(Math.abs(i) * 2 >= r ? e + Math.sign(i) * (r - Math.abs(i)) : e - i, r);
+ return isNaN(t) ? !isNaN(n) && a > n && (a = Math.floor(cE(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(cE((n - t) / r, r)) * r), a = cE(a, r), a;
}
// node_modules/@internationalized/number/dist/private/NumberFormatter.mjs
-var fE = /* @__PURE__ */ new Map(), pE = !1;
+var uE = /* @__PURE__ */ new Map(), dE = !1;
try {
- pE = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";
+ dE = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";
} catch {}
-var tse = class {
+var rse = class {
constructor(e, t = {}) {
- this.numberFormatter = nse(e, t), this.options = t;
+ this.numberFormatter = ise(e, t), this.options = t;
}
format(e) {
let t = "";
- return t = !pE && this.options.signDisplay != null ? rse(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;
+ return t = !dE && this.options.signDisplay != null ? ase(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;
}
formatToParts(e) {
return this.numberFormatter.formatToParts(e);
@@ -25123,21 +25123,21 @@ var tse = class {
}
resolvedOptions() {
let e = this.numberFormatter.resolvedOptions();
- return !pE && this.options.signDisplay != null && (e = {
+ return !dE && this.options.signDisplay != null && (e = {
...e,
signDisplay: this.options.signDisplay
}), e;
}
};
-function nse(e, t = {}) {
+function ise(e, t = {}) {
let { numberingSystem: n } = t;
n && e.includes("-nu-") && (e.includes("-u-") || (e += "-u-"), e += `-nu-${n}`);
let r = e + (t ? Object.entries(t).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
- if (fE.has(r)) return fE.get(r);
+ if (uE.has(r)) return uE.get(r);
let i = new Intl.NumberFormat(e, t);
- return fE.set(r, i), i;
+ return uE.set(r, i), i;
}
-function rse(e, t, n) {
+function ase(e, t, n) {
if (t === "auto") return e.format(n);
if (t === "never") return e.format(Math.abs(n));
{
@@ -25150,12 +25150,12 @@ function rse(e, t, n) {
}
}
// node_modules/react-aria/dist/private/interactions/useMove.mjs
-function mE(e) {
+function fE(e) {
let { onMoveStart: t, onMove: n, onMoveEnd: r } = e, i = (0, F.useRef)({
didMove: !1,
lastPosition: null,
id: null
- }), { addGlobalListener: a, removeGlobalListener: o } = iT(), s = Nw((0, F.useCallback)((e, r, a, o) => {
+ }), { addGlobalListener: a, removeGlobalListener: o } = nT(), s = jw((0, F.useCallback)((e, r, a, o) => {
(a !== 0 || o !== 0) && (i.current.didMove || (i.current.didMove = !0, t?.({
type: "movestart",
pointerType: r,
@@ -25177,8 +25177,8 @@ function mE(e) {
t,
n,
i
- ])), c = Nw((0, F.useCallback)((e, t) => {
- eT(), i.current.didMove && r?.({
+ ])), c = jw((0, F.useCallback)((e, t) => {
+ Qw(), i.current.didMove && r?.({
type: "moveend",
pointerType: t,
shiftKey: e.shiftKey,
@@ -25189,7 +25189,7 @@ function mE(e) {
}, [r, i]));
return { moveProps: (0, F.useMemo)(() => {
let e = {}, t = () => {
- $w(), i.current.didMove = !1;
+ Zw(), i.current.didMove = !1;
};
{
let n = (e) => {
@@ -25204,7 +25204,7 @@ function mE(e) {
if (e.pointerId === i.current.id) {
let t = e.pointerType || "mouse";
c(e, t), i.current.id = null;
- let a = DS(G(e));
+ let a = ES(G(e));
o(a, "pointermove", n, !1), o(a, "pointerup", r, !1), o(a, "pointercancel", r, !1);
}
};
@@ -25214,7 +25214,7 @@ function mE(e) {
pageX: e.pageX,
pageY: e.pageY
}, i.current.id = e.pointerId;
- let o = DS(G(e));
+ let o = ES(G(e));
a(o, "pointermove", n, !1), a(o, "pointerup", r, !1), a(o, "pointercancel", r, !1);
}
};
@@ -25247,7 +25247,7 @@ function mE(e) {
]) };
}
// node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs
-var hE = {
+var pE = {
border: 0,
clip: "rect(0 0 0 0)",
clipPath: "inset(50%)",
@@ -25259,37 +25259,37 @@ var hE = {
width: "1px",
whiteSpace: "nowrap"
};
-function gE(e = {}) {
- let { style: t, isFocusable: n } = e, [r, i] = (0, F.useState)(!1), { focusWithinProps: a } = oE({
+function mE(e = {}) {
+ let { style: t, isFocusable: n } = e, [r, i] = (0, F.useState)(!1), { focusWithinProps: a } = iE({
isDisabled: !n,
onFocusWithinChange: (e) => i(e)
}), o = (0, F.useMemo)(() => r ? t : t ? {
- ...hE,
+ ...pE,
...t
- } : hE, [r]);
+ } : pE, [r]);
return { visuallyHiddenProps: {
...a,
style: o
} };
}
-function _E(e) {
- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = gE(e);
+function hE(e) {
+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = mE(e);
return /*#__PURE__*/ F.createElement(n, K(a, o), t);
}
// node_modules/react-aria/dist/private/textfield/useTextField.mjs
-function ise(e, t) {
- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = sE(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = aw(e, t), d = QT({
+function ose(e, t) {
+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = aE(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = rw(e, t), d = XT({
...e,
value: c
- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = aE({
+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = rE({
...e,
isInvalid: f,
errorMessage: e.errorMessage || p
- }), y = Yw(e, { labelable: !0 }), b = {
+ }), y = qw(e, { labelable: !0 }), b = {
type: o,
pattern: e.pattern
}, [x] = (0, F.useState)(c);
- return GT(t, e.defaultValue ?? x, l), KT(e, d, t), {
+ return UT(t, e.defaultValue ?? x, l), WT(e, d, t), {
labelProps: h,
inputProps: K(y, n === "input" ? b : void 0, {
disabled: r,
@@ -25335,26 +25335,26 @@ function ise(e, t) {
};
}
// node_modules/react-aria/dist/private/i18n/useNumberFormatter.mjs
-function ase(e = {}) {
- let { locale: t } = Vw();
- return (0, F.useMemo)(() => new tse(t, e), [t, e]);
+function sse(e = {}) {
+ let { locale: t } = zw();
+ return (0, F.useMemo)(() => new rse(t, e), [t, e]);
}
// node_modules/react-aria/dist/private/slider/utils.mjs
-var vE = /* @__PURE__ */ new WeakMap();
-function yE(e, t) {
- let n = vE.get(e);
+var gE = /* @__PURE__ */ new WeakMap();
+function _E(e, t) {
+ let n = gE.get(e);
if (!n) throw Error("Unknown slider state");
return `${n.id}-${t}`;
}
// node_modules/react-aria/dist/private/slider/useSlider.mjs
-function ose(e, t, n) {
- let { labelProps: r, fieldProps: i } = iE(e), a = e.orientation === "vertical";
- vE.set(t, {
+function cse(e, t, n) {
+ let { labelProps: r, fieldProps: i } = nE(e), a = e.orientation === "vertical";
+ gE.set(t, {
id: r.id ?? i.id,
"aria-describedby": e["aria-describedby"],
"aria-details": e["aria-details"]
});
- let { direction: o } = Vw(), { addGlobalListener: s, removeGlobalListener: c } = iT(), l = (0, F.useRef)(null), u = o === "rtl", d = (0, F.useRef)(null), { moveProps: f } = mE({
+ let { direction: o } = zw(), { addGlobalListener: s, removeGlobalListener: c } = nT(), l = (0, F.useRef)(null), u = o === "rtl", d = (0, F.useRef)(null), { moveProps: f } = fE({
onMoveStart() {
d.current = null;
},
@@ -25364,7 +25364,7 @@ function ose(e, t, n) {
d.current == null && l.current != null && (d.current = t.getThumbPercent(l.current) * s);
let c = a ? r : e;
if ((a || u) && (c = -c), d.current += c, l.current != null && n.current) {
- let e = lE(d.current / s, 0, 1);
+ let e = sE(d.current / s, 0, 1);
t.setThumbPercent(l.current, e);
}
},
@@ -25388,7 +25388,7 @@ function ose(e, t, n) {
(e.pointerId ?? e.changedTouches?.[0].identifier) === p.current && (l.current != null && (t.setThumbDragging(l.current, !1), l.current = null), c(window, "mouseup", h, !1), c(window, "touchend", h, !1), c(window, "pointerup", h, !1));
};
return "htmlFor" in r && r.htmlFor && (delete r.htmlFor, r.onClick = () => {
- document.getElementById(yE(t, 0))?.focus(), AC("keyboard");
+ document.getElementById(_E(t, 0))?.focus(), OC("keyboard");
}), {
labelProps: r,
groupProps: {
@@ -25411,26 +25411,26 @@ function ose(e, t, n) {
}
}, f),
outputProps: {
- htmlFor: t.values.map((e, n) => yE(t, n)).join(" "),
+ htmlFor: t.values.map((e, n) => _E(t, n)).join(" "),
"aria-live": "off"
}
};
}
// node_modules/react-aria/dist/private/slider/useSliderThumb.mjs
-function sse(e, t) {
- let { index: n = 0, isRequired: r, validationState: i, isInvalid: a, trackRef: o, inputRef: s, orientation: c = t.orientation, name: l, form: u } = e, d = e.isDisabled || t.isDisabled, f = c === "vertical", { direction: p } = Vw(), { addGlobalListener: m, removeGlobalListener: h } = iT(), g = vE.get(t), { labelProps: _, fieldProps: v } = iE({
+function lse(e, t) {
+ let { index: n = 0, isRequired: r, validationState: i, isInvalid: a, trackRef: o, inputRef: s, orientation: c = t.orientation, name: l, form: u } = e, d = e.isDisabled || t.isDisabled, f = c === "vertical", { direction: p } = zw(), { addGlobalListener: m, removeGlobalListener: h } = nT(), g = gE.get(t), { labelProps: _, fieldProps: v } = nE({
...e,
- id: yE(t, n),
+ id: _E(t, n),
"aria-labelledby": `${g.id} ${e["aria-labelledby"] ?? ""}`.trim()
}), y = t.values[n], b = (0, F.useCallback)(() => {
- s.current && TS(s.current);
+ s.current && wS(s.current);
}, [s]), x = t.focusedThumb === n;
(0, F.useEffect)(() => {
x && b();
}, [x, b]);
let S = p === "rtl", C = (0, F.useRef)(null), w = (e) => {
t.setThumbDragging(n, !0), e(), t.setThumbDragging(n, !1);
- }, { keyboardProps: T } = tw({
+ }, { keyboardProps: T } = $C({
shortcuts: {
PageUp: () => w(() => {
t.incrementThumb(n, t.pageSize);
@@ -25446,7 +25446,7 @@ function sse(e, t) {
})
},
allowRepeats: !0
- }), { moveProps: E } = mE({
+ }), { moveProps: E } = fE({
onMoveStart() {
C.current = null, t.setThumbDragging(n, !0);
},
@@ -25457,7 +25457,7 @@ function sse(e, t) {
if (C.current ??= s(n) * g, i === "keyboard") e > 0 && S || e < 0 && !S || r > 0 ? l(n, a ? p : d) : u(n, a ? p : d);
else {
let t = f ? r : e;
- (f || S) && (t = -t), C.current += t, c(n, lE(C.current / g, 0, 1));
+ (f || S) && (t = -t), C.current += t, c(n, sE(C.current / g, 0, 1));
}
},
onMoveEnd() {
@@ -25465,7 +25465,7 @@ function sse(e, t) {
}
});
t.setThumbEditable(n, !d);
- let { focusableProps: D } = aw(K(e, {
+ let { focusableProps: D } = rw(K(e, {
onFocus: () => t.setFocusedThumb(n),
onBlur: () => t.setFocusedThumb(void 0)
}), s), O = (0, F.useRef)(void 0), k = (e) => {
@@ -25485,7 +25485,7 @@ function sse(e, t) {
k(e.changedTouches[0].identifier);
}
});
- return GT(s, t.defaultValues[n], (e) => {
+ return UT(s, t.defaultValues[n], (e) => {
t.setThumbValue(n, e);
}), {
inputProps: K(D, v, {
@@ -25525,42 +25525,42 @@ function sse(e, t) {
};
}
// node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs
-var cse = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
-function bE(e) {
+var use = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
+function vE(e) {
return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;
}
-var xE = /* @__PURE__ */ new WeakMap(), SE = [];
-function CE(e, t) {
- let n = DS(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && cse, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {
+var yE = /* @__PURE__ */ new WeakMap(), bE = [];
+function xE(e, t) {
+ let n = ES(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && use, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {
a && e instanceof n.HTMLElement ? e.inert = t : t ? e.setAttribute("aria-hidden", "true") : (e.removeAttribute("aria-hidden"), e instanceof n.HTMLElement && (e.inert = !1));
}, u = /* @__PURE__ */ new Set();
- if (MS()) {
+ if (jS()) {
let t = i.getRootNode();
for (let n of e) {
let e = n.getRootNode();
- for (; kS(e) && e !== t;) u.add(e), e = e.host.getRootNode();
+ for (; OS(e) && e !== t;) u.add(e), e = e.host.getRootNode();
}
}
let d = (e) => {
for (let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]")) o.add(t);
let t = (e) => {
if (s.has(e) || o.has(e) || e.parentElement && s.has(e.parentElement) && e.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;
- for (let t of o) if (NS(e, t)) return NodeFilter.FILTER_SKIP;
+ for (let t of o) if (MS(e, t)) return NodeFilter.FILTER_SKIP;
return NodeFilter.FILTER_ACCEPT;
- }, n = hT(ES(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
+ }, n = pT(TS(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
if (r === NodeFilter.FILTER_ACCEPT && f(e), r !== NodeFilter.FILTER_REJECT) {
let e = n.nextNode();
for (; e != null;) f(e), e = n.nextNode();
}
}, f = (e) => {
- let t = xE.get(e) ?? 0;
- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), xE.set(e, t + 1));
+ let t = yE.get(e) ?? 0;
+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), yE.set(e, t + 1));
};
- SE.length && SE[SE.length - 1].disconnect(), d(i);
+ bE.length && bE[bE.length - 1].disconnect(), d(i);
let p = new MutationObserver((e) => {
for (let t of e) if (t.type === "childList") {
- if (t.target.isConnected && ![...o, ...s].some((e) => NS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && bE(e) ? o.add(e) : e instanceof Element && d(e);
- if (MS()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => MS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && vE(e) ? o.add(e) : e instanceof Element && d(e);
+ if (jS()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -25573,11 +25573,11 @@ function CE(e, t) {
subtree: !0
});
let m = /* @__PURE__ */ new Set();
- if (MS()) for (let e of u) {
+ if (jS()) for (let e of u) {
let t = new MutationObserver((e) => {
for (let t of e) if (t.type === "childList") {
- if (t.target.isConnected && ![...o, ...s].some((e) => NS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && bE(e) ? o.add(e) : e instanceof Element && d(e);
- if (MS()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => MS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && vE(e) ? o.add(e) : e instanceof Element && d(e);
+ if (jS()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -25603,56 +25603,56 @@ function CE(e, t) {
p.disconnect();
}
};
- return SE.push(h), () => {
- if (p.disconnect(), MS()) for (let e of m) e.disconnect();
+ return bE.push(h), () => {
+ if (p.disconnect(), jS()) for (let e of m) e.disconnect();
for (let e of s) {
- let t = xE.get(e);
- t != null && (t === 1 ? (l(e, !1), xE.delete(e)) : xE.set(e, t - 1));
+ let t = yE.get(e);
+ t != null && (t === 1 ? (l(e, !1), yE.delete(e)) : yE.set(e, t - 1));
}
- h === SE[SE.length - 1] ? (SE.pop(), SE.length && SE[SE.length - 1].observe()) : SE.splice(SE.indexOf(h), 1);
+ h === bE[bE.length - 1] ? (bE.pop(), bE.length && bE[bE.length - 1].observe()) : bE.splice(bE.indexOf(h), 1);
};
}
-function wE(e) {
- let t = SE[SE.length - 1];
+function SE(e) {
+ let t = bE[bE.length - 1];
if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {
t.visibleNodes.delete(e);
};
}
// node_modules/react-aria/dist/private/listbox/utils.mjs
-var TE = /* @__PURE__ */ new WeakMap();
-function lse(e) {
+var CE = /* @__PURE__ */ new WeakMap();
+function dse(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function use(e, t) {
- let n = TE.get(e);
+function fse(e, t) {
+ let n = CE.get(e);
if (!n) throw Error("Unknown list");
- return `${n.id}-option-${lse(t)}`;
+ return `${n.id}-option-${dse(t)}`;
}
// node_modules/react-aria/dist/private/selection/utils.mjs
-function EE(e) {
- return pae() ? e.altKey : e.ctrlKey;
+function wE(e) {
+ return mae() ? e.altKey : e.ctrlKey;
}
-function DE(e, t) {
+function TE(e, t) {
let n = `[data-key="${CSS.escape(String(t))}"]`, r = e.current?.dataset.collection;
return r && (n = `[data-collection="${CSS.escape(r)}"]${n}`), e.current?.querySelector(n);
}
-var OE = /* @__PURE__ */ new WeakMap();
-function dse(e) {
- let t = GC();
- return OE.set(e, t), t;
+var EE = /* @__PURE__ */ new WeakMap();
+function pse(e) {
+ let t = UC();
+ return EE.set(e, t), t;
}
-function fse(e) {
- return OE.get(e);
+function mse(e) {
+ return EE.get(e);
}
// node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs
-var kE = class {
+var DE = class {
constructor(e) {
this.ref = e;
}
getItemRect(e) {
let t = this.ref.current;
if (!t) return null;
- let n = e == null ? null : DE(this.ref, e);
+ let n = e == null ? null : TE(this.ref, e);
if (!n) return null;
let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();
return {
@@ -25678,12 +25678,12 @@ var kE = class {
height: e?.clientHeight ?? 0
};
}
-}, AE = class {
+}, OE = class {
constructor(...e) {
if (e.length === 1) {
let t = e[0];
- this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new kE(t.ref);
- } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new kE(this.ref);
+ this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new DE(t.ref);
+ } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new DE(this.ref);
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
}
isDisabled(e) {
@@ -25723,14 +25723,14 @@ var kE = class {
return e.x === t.x || e.y !== t.y;
}
isReversed(e) {
- let t = this.getNextKey(e), n = DE(this.ref, e);
+ let t = this.getNextKey(e), n = TE(this.ref, e);
if (t != null) {
- let e = DE(this.ref, t);
+ let e = TE(this.ref, t);
return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;
}
let r = this.getPreviousKey(e);
if (r != null) {
- let e = DE(this.ref, r);
+ let e = TE(this.ref, r);
return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;
}
return !1;
@@ -25764,7 +25764,7 @@ var kE = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !RT(t)) return this.getFirstKey();
+ if (t && !IT(t)) return this.getFirstKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);
@@ -25779,7 +25779,7 @@ var kE = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !RT(t)) return this.getLastKey();
+ if (t && !IT(t)) return this.getLastKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.min(this.layoutDelegate.getContentSize().width, n.x - n.width + this.layoutDelegate.getVisibleRect().width);
@@ -25802,149 +25802,149 @@ var kE = class {
}
return null;
}
-}, jE = {};
-jE = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
+}, kE = {};
+kE = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
// node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs
-var ME = {};
-ME = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
+var AE = {};
+AE = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
// node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs
-var NE = {};
-NE = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
+var jE = {};
+jE = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
// node_modules/react-aria/dist/private/intl/menu/da-DK.mjs
-var PE = {};
-PE = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
+var ME = {};
+ME = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
// node_modules/react-aria/dist/private/intl/menu/de-DE.mjs
-var FE = {};
-FE = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
+var NE = {};
+NE = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
// node_modules/react-aria/dist/private/intl/menu/el-GR.mjs
-var IE = {};
-IE = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
+var PE = {};
+PE = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
// node_modules/react-aria/dist/private/intl/menu/en-US.mjs
-var LE = {};
-LE = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
+var FE = {};
+FE = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
// node_modules/react-aria/dist/private/intl/menu/es-ES.mjs
-var RE = {};
-RE = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
+var IE = {};
+IE = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
// node_modules/react-aria/dist/private/intl/menu/et-EE.mjs
-var zE = {};
-zE = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
+var LE = {};
+LE = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
// node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs
-var BE = {};
-BE = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
+var RE = {};
+RE = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
// node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs
-var VE = {};
-VE = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
+var zE = {};
+zE = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
// node_modules/react-aria/dist/private/intl/menu/he-IL.mjs
-var HE = {};
-HE = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
+var BE = {};
+BE = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
// node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs
-var UE = {};
-UE = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
+var VE = {};
+VE = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
// node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs
-var WE = {};
-WE = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
+var HE = {};
+HE = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
// node_modules/react-aria/dist/private/intl/menu/it-IT.mjs
-var GE = {};
-GE = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
+var UE = {};
+UE = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
// node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs
-var KE = {};
-KE = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
+var WE = {};
+WE = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
// node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs
-var qE = {};
-qE = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
+var GE = {};
+GE = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
// node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs
-var JE = {};
-JE = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
+var KE = {};
+KE = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
// node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs
-var YE = {};
-YE = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
+var qE = {};
+qE = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
// node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs
-var XE = {};
-XE = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
+var JE = {};
+JE = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
// node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs
-var ZE = {};
-ZE = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
+var YE = {};
+YE = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
// node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs
-var QE = {};
-QE = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
+var XE = {};
+XE = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
// node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs
-var $E = {};
-$E = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
+var ZE = {};
+ZE = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
// node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs
-var eD = {};
-eD = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
+var QE = {};
+QE = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
// node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs
-var tD = {};
-tD = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
+var $E = {};
+$E = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
// node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs
-var nD = {};
-nD = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
+var eD = {};
+eD = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
// node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs
-var rD = {};
-rD = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
+var tD = {};
+tD = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
// node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs
-var iD = {};
-iD = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
+var nD = {};
+nD = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
// node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs
-var aD = {};
-aD = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
+var rD = {};
+rD = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
// node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs
-var oD = {};
-oD = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
+var iD = {};
+iD = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
// node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs
-var sD = {};
-sD = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
+var aD = {};
+aD = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
// node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs
-var cD = {};
-cD = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
+var oD = {};
+oD = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
// node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs
-var lD = {};
-lD = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
+var sD = {};
+sD = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
// node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs
-var uD = {};
-uD = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
+var cD = {};
+cD = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
// node_modules/react-aria/dist/private/menu/intlStrings.mjs
-var dD = {};
-dD = {
- "ar-AE": jE,
- "bg-BG": ME,
- "cs-CZ": NE,
- "da-DK": PE,
- "de-DE": FE,
- "el-GR": IE,
- "en-US": LE,
- "es-ES": RE,
- "et-EE": zE,
- "fi-FI": BE,
- "fr-FR": VE,
- "he-IL": HE,
- "hr-HR": UE,
- "hu-HU": WE,
- "it-IT": GE,
- "ja-JP": KE,
- "ko-KR": qE,
- "lt-LT": JE,
- "lv-LV": YE,
- "nb-NO": XE,
- "nl-NL": ZE,
- "pl-PL": QE,
- "pt-BR": $E,
- "pt-PT": eD,
- "ro-RO": tD,
- "ru-RU": nD,
- "sk-SK": rD,
- "sl-SI": iD,
- "sr-SP": aD,
- "sv-SE": oD,
- "tr-TR": sD,
- "uk-UA": cD,
- "zh-CN": lD,
- "zh-TW": uD
+var lD = {};
+lD = {
+ "ar-AE": kE,
+ "bg-BG": AE,
+ "cs-CZ": jE,
+ "da-DK": ME,
+ "de-DE": NE,
+ "el-GR": PE,
+ "en-US": FE,
+ "es-ES": IE,
+ "et-EE": LE,
+ "fi-FI": RE,
+ "fr-FR": zE,
+ "he-IL": BE,
+ "hr-HR": VE,
+ "hu-HU": HE,
+ "it-IT": UE,
+ "ja-JP": WE,
+ "ko-KR": GE,
+ "lt-LT": KE,
+ "lv-LV": qE,
+ "nb-NO": JE,
+ "nl-NL": YE,
+ "pl-PL": XE,
+ "pt-BR": ZE,
+ "pt-PT": QE,
+ "ro-RO": $E,
+ "ru-RU": eD,
+ "sk-SK": tD,
+ "sl-SI": nD,
+ "sr-SP": rD,
+ "sv-SE": iD,
+ "tr-TR": aD,
+ "uk-UA": oD,
+ "zh-CN": sD,
+ "zh-TW": cD
};
// node_modules/react-aria/dist/private/interactions/useLongPress.mjs
-var pse = 500;
-function fD(e) {
- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = pse, accessibilityDescription: s } = e, c = (0, F.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = iT(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = lT({
+var hse = 500;
+function uD(e) {
+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = hse, accessibilityDescription: s } = e, c = (0, F.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = nT(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = sT({
isDisabled: t,
onPressStart(e) {
if (e.continuePropagation(), d(e)) {
@@ -25952,12 +25952,12 @@ function fD(e) {
...e,
type: "longpressstart"
}), c.current = setTimeout(() => {
- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), ES(e.target).activeElement !== e.target && TS(e.target), a && a({
+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), TS(e.target).activeElement !== e.target && wS(e.target), a && a({
...e,
type: "longpress"
}), c.current = void 0;
}, o), e.pointerType === "touch" && l(e.target, "contextmenu", (e) => e.preventDefault(), { once: !0 });
- let t = DS(e.target);
+ let t = ES(e.target);
l(t, "pointerup", () => {
setTimeout(() => {
u();
@@ -25972,11 +25972,11 @@ function fD(e) {
});
}
});
- return { longPressProps: K(f, WT(a && !t ? s : void 0)) };
+ return { longPressProps: K(f, HT(a && !t ? s : void 0)) };
}
// node_modules/react-aria/dist/private/interactions/useContextMenu.mjs
-function mse(e) {
- let { onContextMenu: t } = e, n = (0, F.useRef)(!1), { longPressProps: r } = fD({
+function gse(e) {
+ let { onContextMenu: t } = e, n = (0, F.useRef)(!1), { longPressProps: r } = uD({
onLongPressStart() {
n.current = !1;
},
@@ -25988,7 +25988,7 @@ function mse(e) {
});
}
});
- return t ? { contextMenuProps: K(QS() ? r : {}, {
+ return t ? { contextMenuProps: K(ZS() ? r : {}, {
onContextMenu(e) {
e.stopPropagation(), e.preventDefault(), n.current = !0;
let r = e.currentTarget.getBoundingClientRect();
@@ -25999,7 +25999,7 @@ function mse(e) {
});
},
onKeyDown(e) {
- if (XS() && e.ctrlKey && e.key === "Enter") {
+ if (YS() && e.ctrlKey && e.key === "Enter") {
n.current = !1;
let r = e.currentTarget;
e.stopPropagation(), setTimeout(() => {
@@ -26018,13 +26018,13 @@ function mse(e) {
}) } : { contextMenuProps: {} };
}
// node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs
-var pD = /* @__PURE__ */ new WeakMap();
-function hse(e) {
+var dD = /* @__PURE__ */ new WeakMap();
+function _se(e) {
let { triggerRef: t, isOpen: n, onClose: r } = e;
- (0, F.useEffect)(() => !n || r === null ? void 0 : AS(FS(t.current), "scroll", (e) => {
+ (0, F.useEffect)(() => !n || r === null ? void 0 : kS(PS(t.current), "scroll", (e) => {
let n = G(e);
- if (!t.current || n instanceof Node && !NS(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
- let i = r || pD.get(t.current);
+ if (!t.current || n instanceof Node && !MS(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
+ let i = r || dD.get(t.current);
i && i();
}, !0), [
n,
@@ -26033,14 +26033,14 @@ function hse(e) {
]);
}
// node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs
-function gse(e, t, n) {
+function vse(e, t, n) {
let { type: r } = e, { isOpen: i } = t;
(0, F.useEffect)(() => {
- n && n.current && pD.set(n.current, t.close);
+ n && n.current && dD.set(n.current, t.close);
});
let a;
r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");
- let o = GC();
+ let o = UC();
return {
triggerProps: {
"aria-haspopup": a,
@@ -26052,14 +26052,14 @@ function gse(e, t, n) {
};
}
// node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs
-function _se(e) {
+function yse(e) {
return e && e.__esModule ? e.default : e;
}
-function mD(e, t, n) {
- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = GC(), { triggerProps: s, overlayProps: c } = gse({ type: r }, t, n), l = (e, n, r = "first") => {
+function fD(e, t, n) {
+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = UC(), { triggerProps: s, overlayProps: c } = vse({ type: r }, t, n), l = (e, n, r = "first") => {
if (!e || n.isDefaultPrevented()) return !1;
t.toggle(r);
- }, { keyboardProps: u } = tw({
+ }, { keyboardProps: u } = $C({
isDisabled: i,
shortcuts: {
Enter: (e) => l(a !== "longPress", e, "first"),
@@ -26071,7 +26071,7 @@ function mD(e, t, n) {
"Alt+ArrowDown": (e) => l(!0, e, "first"),
"Alt+ArrowUp": (e) => l(!0, e, "last")
}
- }), d = qw(_se(dD), "@react-aria/menu"), { longPressProps: f } = fD({
+ }), d = Gw(yse(lD), "@react-aria/menu"), { longPressProps: f } = uD({
isDisabled: i || a !== "longPress",
accessibilityDescription: d.format("longPressMessage"),
onLongPressStart() {
@@ -26083,14 +26083,14 @@ function mD(e, t, n) {
}), p = {
preventFocusOnPress: !0,
onPressStart(e) {
- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (TS(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (wS(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
},
onPress(e) {
- e.pointerType === "touch" && !i && (TS(e.target), t.toggle());
+ e.pointerType === "touch" && !i && (wS(e.target), t.toggle());
}
};
delete s.onPress;
- let { contextMenuProps: m } = mse({ onContextMenu(e) {
+ let { contextMenuProps: m } = gse({ onContextMenu(e) {
let n = e.target.getBoundingClientRect();
t.setPoint({
x: n.x + e.x,
@@ -26134,8 +26134,8 @@ function mD(e, t, n) {
};
}
// node_modules/react-aria/dist/private/selection/useTypeSelect.mjs
-var hD = 1e3;
-function gD(e) {
+var pD = 1e3;
+function mD(e) {
let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, F.useRef)({
search: "",
timeout: void 0
@@ -26154,12 +26154,12 @@ function gD(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, hD);
+ }, pD);
}
} : void 0,
onKeyDown: t.getKeyForSearch ? (e) => {
- let a = vse(e.key);
- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !NS(e.currentTarget, G(e)) || i.current.search.length === 0 && a === " ")) {
+ let a = bse(e.key);
+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !MS(e.currentTarget, G(e)) || i.current.search.length === 0 && a === " ")) {
if (i.current.search += a, t.getKeyForSearch != null) {
let a = t.getKeyForSearch(i.current.search, n.focusedKey);
if (a ??= t.getKeyForSearch(i.current.search), a != null) n.setFocusedKey(a), r && r(a), e.preventDefault(), "continuePropagation" in e || e.stopPropagation();
@@ -26170,32 +26170,32 @@ function gD(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, hD);
+ }, pD);
}
} : void 0
} };
}
-function vse(e) {
+function bse(e) {
return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";
}
// node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs
-function _D(e, t) {
+function hD(e, t) {
let n = (0, F.useRef)(!0), r = (0, F.useRef)(null);
- HS(() => (n.current = !0, () => {
+ VS(() => (n.current = !0, () => {
n.current = !1;
- }), []), HS(() => {
+ }), []), VS(() => {
n.current ? n.current = !1 : (!r.current || t.some((e, t) => !Object.is(e, r[t]))) && e(), r.current = t;
}, t);
}
// node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs
-function vD(e) {
- let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = Vw(), _ = rC(), v = (e, n, i) => {
+function gD(e) {
+ let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = zw(), _ = nC(), v = (e, n, i) => {
if (n != null) {
- if (t.isLink(n) && m === "selection" && l && !EE(e)) {
+ if (t.isLink(n) && m === "selection" && l && !wE(e)) {
(0, Lt.flushSync)(() => {
t.setFocusedKey(n, i);
});
- let a = DE(r, n), o = t.getItemProps(n);
+ let a = TE(r, n), o = t.getItemProps(n);
if (a) {
_.open(a, e, o.href, o.routerOptions);
return;
@@ -26207,7 +26207,7 @@ function vD(e) {
t.extendSelection(n);
return;
}
- if (l && !EE(e)) {
+ if (l && !wE(e)) {
t.replaceSelection(n);
return;
}
@@ -26234,9 +26234,9 @@ function vD(e) {
}, x = (e) => {
if (n.getFirstKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getFirstKey(t.focusedKey, jw(e));
+ let r = n.getFirstKey(t.focusedKey, kw(e));
if (t.setFocusedKey(r), r != null) {
- if (jw(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (kw(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -26268,9 +26268,9 @@ function vD(e) {
}, w = (e) => {
if (n.getLastKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getLastKey(t.focusedKey, jw(e));
+ let r = n.getLastKey(t.focusedKey, kw(e));
if (t.setFocusedKey(r), r != null) {
- if (jw(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (kw(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -26301,12 +26301,12 @@ function vD(e) {
else return !1;
}, k = () => {
if (!f && r.current) {
- let e = jT(r.current, { tabbable: !0 }), t, n;
+ let e = kT(r.current, { tabbable: !0 }), t, n;
do
n = e.lastChild(), n && (t = n);
while (n);
- let i = PS();
- t && (!IS(t) || i && !BS(i)) && TS(t);
+ let i = NS();
+ t && (!FS(t) || i && !zS(i)) && wS(t);
}
return {
shouldContinuePropagation: !0,
@@ -26316,11 +26316,11 @@ function vD(e) {
shouldContinuePropagation: !0,
shouldPreventDefault: !1
}), j = (e, t) => ({
- [XS() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
+ [YS() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
[e + "+Shift"]: t,
- [XS() ? e + "+Alt" : e + "+Control"]: t,
+ [YS() ? e + "+Alt" : e + "+Control"]: t,
[e]: t
- }), { keyboardProps: M } = tw({
+ }), { keyboardProps: M } = $C({
shortcuts: {
...j("ArrowDown", y),
...j("ArrowUp", b),
@@ -26330,7 +26330,7 @@ function vD(e) {
...j("PageUp", E)
},
allowRepeats: !0
- }), { keyboardProps: ee } = tw({ shortcuts: {
+ }), { keyboardProps: ee } = $C({ shortcuts: {
...j("Home", x),
...j("End", w),
"Mod+A": D,
@@ -26341,7 +26341,7 @@ function vD(e) {
top: 0,
left: 0
});
- Pw(p, "scroll", () => {
+ Mw(p, "scroll", () => {
N.current = {
top: p.current?.scrollTop ?? 0,
left: p.current?.scrollLeft ?? 0
@@ -26349,11 +26349,11 @@ function vD(e) {
});
let te = (e) => {
if (t.isFocused) {
- NS(e.currentTarget, G(e)) || t.setFocused(!1);
+ MS(e.currentTarget, G(e)) || t.setFocused(!1);
return;
}
- if (!NS(e.currentTarget, G(e))) return;
- let i = kC();
+ if (!MS(e.currentTarget, G(e))) return;
+ let i = DC();
t.setFocused(!0);
let a = (e) => {
e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));
@@ -26364,27 +26364,27 @@ function vD(e) {
r && e.currentTarget.compareDocumentPosition(r) & Node.DOCUMENT_POSITION_FOLLOWING ? a(t.lastSelectedKey ?? n.getLastKey?.()) : a(t.firstSelectedKey ?? n.getFirstKey?.());
} else p.current && (p.current.scrollTop = N.current.top, p.current.scrollLeft = N.current.left);
if (t.focusedKey != null && p.current) {
- let e = DE(r, t.focusedKey);
- e instanceof HTMLElement && (!IS(e) && !d && TS(e), (i === "keyboard" || h && i === "virtual") && HT(e, { containingElement: r.current }));
+ let e = TE(r, t.focusedKey);
+ e instanceof HTMLElement && (!FS(e) && !d && wS(e), (i === "keyboard" || h && i === "virtual") && BT(e, { containingElement: r.current }));
}
}, P = (e) => {
- NS(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
+ MS(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
}, ne = (0, F.useRef)(!1);
- Pw(r, noe, d ? (e) => {
+ Mw(r, ioe, d ? (e) => {
let { detail: n } = e;
e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (ne.current = !0);
} : void 0);
let re = n.getFirstKey?.() ?? null;
- _D(() => {
+ hD(() => {
if (ne.current) {
if (re == null) {
- let e = PS();
- bw(r.current), xw(e, null), t.collection.size > 0 && (ne.current = !1);
+ let e = NS();
+ vw(r.current), yw(e, null), t.collection.size > 0 && (ne.current = !1);
} else t.setFocusedKey(re), ne.current = !1;
}
- }, [re, t.collection.size]), _D(() => {
+ }, [re, t.collection.size]), hD(() => {
t.collection.size > 0 && (ne.current = !1);
- }, [t.focusedKey]), Pw(r, toe, d ? (e) => {
+ }, [t.focusedKey]), Mw(r, roe, d ? (e) => {
e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);
} : void 0);
let I = (0, F.useRef)(i), ie = (0, F.useRef)(!1);
@@ -26399,22 +26399,22 @@ function vD(e) {
break;
}
}
- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && BC(r.current), t.collection.size > 0 && (I.current = !1, ie.current = !0);
+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && RC(r.current), t.collection.size > 0 && (I.current = !1, ie.current = !0);
}
});
let ae = (0, F.useRef)(t.focusedKey), oe = (0, F.useRef)(null);
(0, F.useEffect)(() => {
if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ae.current || ie.current) && p.current && r.current) {
- let e = kC(), n = DE(r, t.focusedKey);
+ let e = DC(), n = TE(r, t.focusedKey);
if (!(n instanceof HTMLElement)) return;
(e === "keyboard" || ie.current) && (oe.current && cancelAnimationFrame(oe.current), oe.current = requestAnimationFrame(() => {
- p.current && (VT(p.current, n), e !== "virtual" && HT(n, { containingElement: r.current }));
+ p.current && (zT(p.current, n), e !== "virtual" && BT(n, { containingElement: r.current }));
}));
}
- !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && BC(r.current), ae.current = t.focusedKey, ie.current = !1;
+ !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && RC(r.current), ae.current = t.focusedKey, ie.current = !1;
}), (0, F.useEffect)(() => () => {
oe.current && cancelAnimationFrame(oe.current);
- }, []), Pw(r, "react-aria-focus-scope-restore", (e) => {
+ }, []), Mw(r, "react-aria-focus-scope-restore", (e) => {
e.preventDefault(), t.setFocused(!0);
});
let se = {
@@ -26424,27 +26424,27 @@ function vD(e) {
onMouseDown(e) {
p.current === G(e) && e.preventDefault();
}
- }, { typeSelectProps: ce } = gD({
+ }, { typeSelectProps: ce } = mD({
keyboardDelegate: n,
selectionManager: t
});
u || (se = K(ce, se));
let le;
d || (le = t.focusedKey == null ? 0 : -1);
- let ue = dse(t.collection);
+ let ue = pse(t.collection);
return { collectionProps: K(se, {
tabIndex: le,
"data-collection": ue
}) };
}
// node_modules/react-stately/dist/private/collections/getChildNodes.mjs
-function yD(e, t) {
+function _D(e, t) {
return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;
}
-function bD(e) {
- return xD(e, 0);
+function vD(e) {
+ return yD(e, 0);
}
-function xD(e, t) {
+function yD(e, t) {
if (t < 0) return;
let n = 0;
for (let r of e) {
@@ -26452,106 +26452,106 @@ function xD(e, t) {
n++;
}
}
-function SD(e) {
+function bD(e) {
let t;
for (let n of e) t = n;
return t;
}
-function CD(e, t, n) {
+function xD(e, t, n) {
if (t.parentKey === n.parentKey) return t.index - n.index;
- let r = [...wD(e, t), t], i = [...wD(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
+ let r = [...SD(e, t), t], i = [...SD(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
return a === -1 ? r.findIndex((e) => e === n) >= 0 ? 1 : (i.findIndex((e) => e === t), -1) : (t = r[a], n = i[a], t.index - n.index);
}
-function wD(e, t) {
+function SD(e, t) {
let n = [], r = t;
for (; r?.parentKey != null;) r = e.getItem(r.parentKey), r && n.unshift(r);
return n;
}
// node_modules/react-stately/dist/private/collections/getItemCount.mjs
-var TD = /* @__PURE__ */ new WeakMap();
-function ED(e) {
- let t = TD.get(e);
+var CD = /* @__PURE__ */ new WeakMap();
+function wD(e) {
+ let t = CD.get(e);
if (t != null) return t;
let n = 0, r = (t) => {
- for (let i of t) i.type === "section" ? r(yD(i, e)) : i.type === "item" && n++;
+ for (let i of t) i.type === "section" ? r(_D(i, e)) : i.type === "item" && n++;
};
- return r(e), TD.set(e, n), n;
+ return r(e), CD.set(e, n), n;
}
// node_modules/react-aria/dist/private/i18n/useCollator.mjs
-var DD = /* @__PURE__ */ new Map();
-function OD(e) {
- let { locale: t } = Vw(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
- if (DD.has(n)) return DD.get(n);
+var TD = /* @__PURE__ */ new Map();
+function ED(e) {
+ let { locale: t } = zw(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
+ if (TD.has(n)) return TD.get(n);
let r = new Intl.Collator(t, e);
- return DD.set(n, r), r;
+ return TD.set(n, r), r;
}
// node_modules/react-aria/dist/private/interactions/PressResponder.mjs
-var yse = /*#__PURE__*/ F.forwardRef(({ children: e, ...t }, n) => {
- let r = (0, F.useRef)(!1), i = (0, F.useContext)(rT), a = K(i || {}, {
+var xse = /*#__PURE__*/ F.forwardRef(({ children: e, ...t }, n) => {
+ let r = (0, F.useRef)(!1), i = (0, F.useContext)(tT), a = K(i || {}, {
...t,
register() {
r.current = !0, i && i.register();
}
});
- return a.ref = nw(n || i?.ref), rw(i, a.ref), (0, F.useEffect)(() => {
+ return a.ref = ew(n || i?.ref), tw(i, a.ref), (0, F.useEffect)(() => {
r.current ||= !0;
- }, []), /*#__PURE__*/ F.createElement(rT.Provider, { value: a }, e);
+ }, []), /*#__PURE__*/ F.createElement(tT.Provider, { value: a }, e);
});
-function bse({ children: e }) {
+function Sse({ children: e }) {
let t = (0, F.useMemo)(() => ({ register: () => {} }), []);
- return /*#__PURE__*/ F.createElement(rT.Provider, { value: t }, e);
+ return /*#__PURE__*/ F.createElement(tT.Provider, { value: t }, e);
}
// node_modules/react-aria/dist/private/overlays/PortalProvider.mjs
-var kD = /*#__PURE__*/ (0, F.createContext)({});
-function AD(e) {
- let { getContainer: t } = e, { getContainer: n } = jD();
- return /*#__PURE__*/ F.createElement(kD.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
+var DD = /*#__PURE__*/ (0, F.createContext)({});
+function OD(e) {
+ let { getContainer: t } = e, { getContainer: n } = kD();
+ return /*#__PURE__*/ F.createElement(DD.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
}
-function jD() {
- return (0, F.useContext)(kD) ?? {};
+function kD() {
+ return (0, F.useContext)(DD) ?? {};
}
// node_modules/react-aria/dist/private/overlays/Overlay.mjs
-var MD = /*#__PURE__*/ F.createContext(null);
-function ND(e) {
- let t = fC(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => ({
+var AD = /*#__PURE__*/ F.createContext(null);
+function jD(e) {
+ let t = uC(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => ({
contain: i,
setContain: a
- }), [i, a]), { getContainer: s } = jD();
+ }), [i, a]), { getContainer: s } = kD();
if (!e.portalContainer && s && (n = s()), !n) return null;
let c = e.children;
- return e.disableFocusManagement || (c = /*#__PURE__*/ F.createElement(yT, {
+ return e.disableFocusManagement || (c = /*#__PURE__*/ F.createElement(_T, {
restoreFocus: !0,
contain: (e.shouldContainFocus || i) && !r
- }, c)), c = /*#__PURE__*/ F.createElement(MD.Provider, { value: o }, /*#__PURE__*/ F.createElement(bse, null, /*#__PURE__*/ F.createElement(iw.Provider, { value: null }, c))), /*#__PURE__*/ Lt.createPortal(c, n);
+ }, c)), c = /*#__PURE__*/ F.createElement(AD.Provider, { value: o }, /*#__PURE__*/ F.createElement(Sse, null, /*#__PURE__*/ F.createElement(nw.Provider, { value: null }, c))), /*#__PURE__*/ Lt.createPortal(c, n);
}
-function PD() {
- let e = (0, F.useContext)(MD)?.setContain;
- HS(() => {
+function MD() {
+ let e = (0, F.useContext)(AD)?.setContain;
+ VS(() => {
e?.(!0);
}, [e]);
}
// node_modules/react-aria/dist/private/dialog/useDialog.mjs
-function xse(e, t) {
- let { role: n = "dialog", isEntering: r } = e, i = KC();
+function Cse(e, t) {
+ let { role: n = "dialog", isEntering: r } = e, i = WC();
i = e["aria-label"] ? void 0 : i;
- let a = KC();
+ let a = WC();
a = n === "alertdialog" && !e["aria-describedby"] ? a : void 0;
let o = (0, F.useRef)(!1);
(0, F.useEffect)(() => {
- if (!r && t.current && !IS(t.current)) {
- BC(t.current);
+ if (!r && t.current && !FS(t.current)) {
+ RC(t.current);
let e = setTimeout(() => {
- (PS() === t.current || PS() === document.body) && (o.current = !0, t.current && (t.current.blur(), BC(t.current)), o.current = !1);
+ (NS() === t.current || NS() === document.body) && (o.current = !0, t.current && (t.current.blur(), RC(t.current)), o.current = !1);
}, 500);
return () => {
clearTimeout(e);
};
}
- }, [t, r]), PD(), (0, F.useRef)(!1), (0, F.useEffect)(() => {});
+ }, [t, r]), MD(), (0, F.useRef)(!1), (0, F.useEffect)(() => {});
let s = e["aria-describedby"] ?? a;
return {
dialogProps: {
- ...Yw(e, { labelable: !0 }),
+ ...qw(e, { labelable: !0 }),
role: n,
tabIndex: -1,
"aria-labelledby": e["aria-labelledby"] ?? i,
@@ -26565,23 +26565,23 @@ function xse(e, t) {
};
}
// node_modules/react-aria/dist/private/focus/useFocusRing.mjs
-function FD(e = {}) {
+function ND(e = {}) {
let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, F.useRef)({
isFocused: !1,
- isFocusVisible: t || OC()
+ isFocusVisible: t || EC()
}), [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, F.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, F.useCallback)((e) => {
- i.current.isFocused = e, i.current.isFocusVisible = OC(), o(e), l();
+ i.current.isFocused = e, i.current.isFocusVisible = EC(), o(e), l();
}, [l]);
- NC((e) => {
+ jC((e) => {
i.current.isFocusVisible = e, l();
}, [n, a], {
enabled: a,
isTextInput: n
});
- let { focusProps: d } = ZC({
+ let { focusProps: d } = YC({
isDisabled: r,
onFocusChange: u
- }), { focusWithinProps: f } = oE({
+ }), { focusWithinProps: f } = iE({
isDisabled: !r,
onFocusWithinChange: u
});
@@ -26592,41 +26592,41 @@ function FD(e = {}) {
};
}
// node_modules/react-aria/dist/private/i18n/useListFormatter.mjs
-function Sse(e = {}) {
- let { locale: t } = Vw();
+function wse(e = {}) {
+ let { locale: t } = zw();
return (0, F.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
}
// node_modules/react-aria/dist/private/interactions/useHover.mjs
-var ID = !1, LD = 0;
-function Cse() {
- ID = !0, setTimeout(() => {
- ID = !1;
+var PD = !1, FD = 0;
+function Tse() {
+ PD = !0, setTimeout(() => {
+ PD = !1;
}, 500);
}
-function RD(e) {
- e.pointerType === "touch" && Cse();
+function ID(e) {
+ e.pointerType === "touch" && Tse();
}
-function wse() {
- let e = ES(null);
- if (e !== void 0) return LD === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", RD), LD++, () => {
- LD--, !(LD > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", RD);
+function Ese() {
+ let e = TS(null);
+ if (e !== void 0) return FD === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", ID), FD++, () => {
+ FD--, !(FD > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", ID);
};
}
-function zD(e) {
+function LD(e) {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, F.useState)(!1), s = (0, F.useRef)({
isHovered: !1,
ignoreEmulatedMouseEvents: !1,
pointerType: "",
target: null
}).current;
- (0, F.useEffect)(wse, []);
- let { addGlobalListener: c, removeAllGlobalListeners: l } = iT(), { hoverProps: u, triggerHoverEnd: d } = (0, F.useMemo)(() => {
+ (0, F.useEffect)(Ese, []);
+ let { addGlobalListener: c, removeAllGlobalListeners: l } = nT(), { hoverProps: u, triggerHoverEnd: d } = (0, F.useMemo)(() => {
let e = (e, r) => {
- if (s.pointerType = r, i || r === "touch" || s.isHovered || !NS(e.currentTarget, G(e))) return;
+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !MS(e.currentTarget, G(e))) return;
s.isHovered = !0;
let l = e.currentTarget;
- s.target = l, c(ES(G(e)), "pointerover", (e) => {
- s.isHovered && s.target && !NS(s.target, G(e)) && a(e, e.pointerType);
+ s.target = l, c(TS(G(e)), "pointerover", (e) => {
+ s.isHovered && s.target && !MS(s.target, G(e)) && a(e, e.pointerType);
}, { capture: !0 }), t && t({
type: "hoverstart",
target: l,
@@ -26641,9 +26641,9 @@ function zD(e) {
}), n && n(!1), o(!1));
}, u = {};
return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {
- ID && t.pointerType === "mouse" || e(t, t.pointerType);
+ PD && t.pointerType === "mouse" || e(t, t.pointerType);
}, u.onPointerLeave = (e) => {
- !i && NS(e.currentTarget, G(e)) && a(e, e.pointerType);
+ !i && MS(e.currentTarget, G(e)) && a(e, e.pointerType);
}), {
hoverProps: u,
triggerHoverEnd: a
@@ -26665,22 +26665,22 @@ function zD(e) {
};
}
// node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs
-function Tse(e) {
+function Dse(e) {
let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, F.useRef)({
isPointerDown: !1,
ignoreEmulatedMouseEvents: !1
- }), o = Nw((e) => {
- n && BD(e, t) && (i && i(e), a.current.isPointerDown = !0);
- }), s = Nw((e) => {
+ }), o = jw((e) => {
+ n && RD(e, t) && (i && i(e), a.current.isPointerDown = !0);
+ }), s = jw((e) => {
n && n(e);
});
(0, F.useEffect)(() => {
let e = a.current;
if (r) return;
- let n = t.current, i = ES(n);
+ let n = t.current, i = TS(n);
if (typeof PointerEvent < "u") {
let n = (n) => {
- e.isPointerDown && BD(n, t) && s(n), e.isPointerDown = !1;
+ e.isPointerDown && RD(n, t) && s(n), e.isPointerDown = !1;
};
return i.addEventListener("pointerdown", o, !0), i.addEventListener("click", n, !0), () => {
i.removeEventListener("pointerdown", o, !0), i.removeEventListener("click", n, !0);
@@ -26688,28 +26688,28 @@ function Tse(e) {
}
}, [t, r]);
}
-function BD(e, t) {
+function RD(e, t) {
if (e.button > 0) return !1;
let n = G(e);
if (n) {
let e = n.ownerDocument;
- if (!e || !NS(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
+ if (!e || !MS(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
}
return t.current ? !e.composedPath().includes(t.current) : !1;
}
// node_modules/react-aria/dist/private/gridlist/utils.mjs
-var VD = /* @__PURE__ */ new WeakMap();
-function HD(e, t) {
- let { id: n } = VD.get(e) ?? {};
+var zD = /* @__PURE__ */ new WeakMap();
+function BD(e, t) {
+ let { id: n } = zD.get(e) ?? {};
if (!n) throw Error("Unknown list");
- return `${n}-${Ese(t)}`;
+ return `${n}-${Ose(t)}`;
}
-function Ese(e) {
+function Ose(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
// node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs
-var UD = {};
-UD = {
+var VD = {};
+VD = {
deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,
longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",
select: "تحديد",
@@ -26722,8 +26722,8 @@ UD = {
selectedItem: (e) => `${e.item} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`
};
// node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs
-var WD = {};
-WD = {
+var HD = {};
+HD = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,
longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",
select: "Изберете",
@@ -26736,8 +26736,8 @@ WD = {
selectedItem: (e) => `${e.item} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`
};
// node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs
-var GD = {};
-GD = {
+var UD = {};
+UD = {
deselectedItem: (e) => `Polo\u{17E}ka ${e.item} nen\xed vybr\xe1na.`,
longPressToSelect: "Dlouhým stisknutím přejdete do režimu výběru.",
select: "Vybrat",
@@ -26750,8 +26750,8 @@ GD = {
selectedItem: (e) => `Vybr\xe1na polo\u{17E}ka ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/da-DK.mjs
-var KD = {};
-KD = {
+var WD = {};
+WD = {
deselectedItem: (e) => `${e.item} ikke valgt.`,
longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",
select: "Vælg",
@@ -26764,8 +26764,8 @@ KD = {
selectedItem: (e) => `${e.item} valgt.`
};
// node_modules/react-aria/dist/private/intl/grid/de-DE.mjs
-var qD = {};
-qD = {
+var GD = {};
+GD = {
deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,
longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",
select: "Auswählen",
@@ -26778,8 +26778,8 @@ qD = {
selectedItem: (e) => `${e.item} ausgew\xe4hlt.`
};
// node_modules/react-aria/dist/private/intl/grid/el-GR.mjs
-var JD = {};
-JD = {
+var KD = {};
+KD = {
deselectedItem: (e) => `\u{394}\u{3B5}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`,
longPressToSelect: "Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",
select: "Επιλογή",
@@ -26792,8 +26792,8 @@ JD = {
selectedItem: (e) => `\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/en-US.mjs
-var YD = {};
-YD = {
+var qD = {};
+qD = {
deselectedItem: (e) => `${e.item} not selected.`,
select: "Select",
selectedCount: (e, t) => `${t.plural(e.count, {
@@ -26806,8 +26806,8 @@ YD = {
longPressToSelect: "Long press to enter selection mode."
};
// node_modules/react-aria/dist/private/intl/grid/es-ES.mjs
-var XD = {};
-XD = {
+var JD = {};
+JD = {
deselectedItem: (e) => `${e.item} no seleccionado.`,
longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",
select: "Seleccionar",
@@ -26820,8 +26820,8 @@ XD = {
selectedItem: (e) => `${e.item} seleccionado.`
};
// node_modules/react-aria/dist/private/intl/grid/et-EE.mjs
-var ZD = {};
-ZD = {
+var YD = {};
+YD = {
deselectedItem: (e) => `${e.item} pole valitud.`,
longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",
select: "Vali",
@@ -26834,8 +26834,8 @@ ZD = {
selectedItem: (e) => `${e.item} valitud.`
};
// node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs
-var QD = {};
-QD = {
+var XD = {};
+XD = {
deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,
longPressToSelect: "Siirry valintatilaan painamalla pitkään.",
select: "Valitse",
@@ -26848,8 +26848,8 @@ QD = {
selectedItem: (e) => `${e.item} valittu.`
};
// node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs
-var $D = {};
-$D = {
+var ZD = {};
+ZD = {
deselectedItem: (e) => `${e.item} non s\xe9lectionn\xe9.`,
longPressToSelect: "Appuyez de manière prolongée pour passer en mode de sélection.",
select: "Sélectionner",
@@ -26862,8 +26862,8 @@ $D = {
selectedItem: (e) => `${e.item} s\xe9lectionn\xe9.`
};
// node_modules/react-aria/dist/private/intl/grid/he-IL.mjs
-var eO = {};
-eO = {
+var QD = {};
+QD = {
deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,
longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",
select: "בחר",
@@ -26876,8 +26876,8 @@ eO = {
selectedItem: (e) => `${e.item} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`
};
// node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs
-var tO = {};
-tO = {
+var $D = {};
+$D = {
deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,
longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",
select: "Odaberite",
@@ -26890,8 +26890,8 @@ tO = {
selectedItem: (e) => `Stavka ${e.item} je odabrana.`
};
// node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs
-var nO = {};
-nO = {
+var eO = {};
+eO = {
deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,
longPressToSelect: "Nyomja hosszan a kijelöléshez.",
select: "Kijelölés",
@@ -26904,8 +26904,8 @@ nO = {
selectedItem: (e) => `${e.item} kijel\xf6lve.`
};
// node_modules/react-aria/dist/private/intl/grid/it-IT.mjs
-var rO = {};
-rO = {
+var tO = {};
+tO = {
deselectedItem: (e) => `${e.item} non selezionato.`,
longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",
select: "Seleziona",
@@ -26918,8 +26918,8 @@ rO = {
selectedItem: (e) => `${e.item} selezionato.`
};
// node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs
-var iO = {};
-iO = {
+var nO = {};
+nO = {
deselectedItem: (e) => `${e.item} \u{304C}\u{9078}\u{629E}\u{3055}\u{308C}\u{3066}\u{3044}\u{307E}\u{305B}\u{3093}\u{3002}`,
longPressToSelect: "長押しして選択モードを開きます。",
select: "選択",
@@ -26932,8 +26932,8 @@ iO = {
selectedItem: (e) => `${e.item} \u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}\u{3002}`
};
// node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs
-var aO = {};
-aO = {
+var rO = {};
+rO = {
deselectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C9C0} \u{C54A}\u{C558}\u{C2B5}\u{B2C8}\u{B2E4}.`,
longPressToSelect: "선택 모드로 들어가려면 길게 누르십시오.",
select: "선택",
@@ -26946,8 +26946,8 @@ aO = {
selectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}.`
};
// node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs
-var oO = {};
-oO = {
+var iO = {};
+iO = {
deselectedItem: (e) => `${e.item} nepasirinkta.`,
longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",
select: "Pasirinkti",
@@ -26960,8 +26960,8 @@ oO = {
selectedItem: (e) => `Pasirinkta: ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs
-var sO = {};
-sO = {
+var aO = {};
+aO = {
deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,
longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",
select: "Atlasīt",
@@ -26974,8 +26974,8 @@ sO = {
selectedItem: (e) => `Atlas\u{12B}ts vienums ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs
-var cO = {};
-cO = {
+var oO = {};
+oO = {
deselectedItem: (e) => `${e.item} er ikke valgt.`,
longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",
select: "Velg",
@@ -26988,8 +26988,8 @@ cO = {
selectedItem: (e) => `${e.item} er valgt.`
};
// node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs
-var lO = {};
-lO = {
+var sO = {};
+sO = {
deselectedItem: (e) => `${e.item} niet geselecteerd.`,
longPressToSelect: "Druk lang om de selectiemodus te openen.",
select: "Selecteren",
@@ -27002,8 +27002,8 @@ lO = {
selectedItem: (e) => `${e.item} geselecteerd.`
};
// node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs
-var uO = {};
-uO = {
+var cO = {};
+cO = {
deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,
longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",
select: "Zaznacz",
@@ -27016,8 +27016,8 @@ uO = {
selectedItem: (e) => `Zaznaczono ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs
-var dO = {};
-dO = {
+var lO = {};
+lO = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",
select: "Selecionar",
@@ -27030,8 +27030,8 @@ dO = {
selectedItem: (e) => `${e.item} selecionado.`
};
// node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs
-var fO = {};
-fO = {
+var uO = {};
+uO = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Prima continuamente para entrar no modo de seleção.",
select: "Selecionar",
@@ -27044,8 +27044,8 @@ fO = {
selectedItem: (e) => `${e.item} selecionado.`
};
// node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs
-var pO = {};
-pO = {
+var dO = {};
+dO = {
deselectedItem: (e) => `${e.item} neselectat.`,
longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",
select: "Selectare",
@@ -27058,8 +27058,8 @@ pO = {
selectedItem: (e) => `${e.item} selectat.`
};
// node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs
-var mO = {};
-mO = {
+var fO = {};
+fO = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",
select: "Выбрать",
@@ -27072,8 +27072,8 @@ mO = {
selectedItem: (e) => `${e.item} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`
};
// node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs
-var hO = {};
-hO = {
+var pO = {};
+pO = {
deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,
longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",
select: "Vybrať",
@@ -27086,8 +27086,8 @@ hO = {
selectedItem: (e) => `Vybrat\xe9 polo\u{17E}ky: ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs
-var gO = {};
-gO = {
+var mO = {};
+mO = {
deselectedItem: (e) => `Element ${e.item} ni izbran.`,
longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",
select: "Izberite",
@@ -27100,8 +27100,8 @@ gO = {
selectedItem: (e) => `Element ${e.item} je izbran.`
};
// node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs
-var _O = {};
-_O = {
+var hO = {};
+hO = {
deselectedItem: (e) => `${e.item} nije izabrano.`,
longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",
select: "Izaberite",
@@ -27114,8 +27114,8 @@ _O = {
selectedItem: (e) => `${e.item} je izabrano.`
};
// node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs
-var vO = {};
-vO = {
+var gO = {};
+gO = {
deselectedItem: (e) => `${e.item} ej markerat.`,
longPressToSelect: "Tryck länge när du vill öppna väljarläge.",
select: "Markera",
@@ -27128,8 +27128,8 @@ vO = {
selectedItem: (e) => `${e.item} markerat.`
};
// node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs
-var yO = {};
-yO = {
+var _O = {};
+_O = {
deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,
longPressToSelect: "Seçim moduna girmek için uzun basın.",
select: "Seç",
@@ -27142,8 +27142,8 @@ yO = {
selectedItem: (e) => `${e.item} se\xe7ildi.`
};
// node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs
-var bO = {};
-bO = {
+var vO = {};
+vO = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",
select: "Вибрати",
@@ -27156,8 +27156,8 @@ bO = {
selectedItem: (e) => `${e.item} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`
};
// node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs
-var xO = {};
-xO = {
+var yO = {};
+yO = {
deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,
longPressToSelect: "长按以进入选择模式。",
select: "选择",
@@ -27170,8 +27170,8 @@ xO = {
selectedItem: (e) => `\u{5DF2}\u{9009}\u{62E9} ${e.item}\u{3002}`
};
// node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs
-var SO = {};
-SO = {
+var bO = {};
+bO = {
deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,
longPressToSelect: "長按以進入選擇模式。",
select: "選取",
@@ -27184,54 +27184,54 @@ SO = {
selectedItem: (e) => `\u{5DF2}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`
};
// node_modules/react-aria/dist/private/grid/intlStrings.mjs
-var CO = {};
-CO = {
- "ar-AE": UD,
- "bg-BG": WD,
- "cs-CZ": GD,
- "da-DK": KD,
- "de-DE": qD,
- "el-GR": JD,
- "en-US": YD,
- "es-ES": XD,
- "et-EE": ZD,
- "fi-FI": QD,
- "fr-FR": $D,
- "he-IL": eO,
- "hr-HR": tO,
- "hu-HU": nO,
- "it-IT": rO,
- "ja-JP": iO,
- "ko-KR": aO,
- "lt-LT": oO,
- "lv-LV": sO,
- "nb-NO": cO,
- "nl-NL": lO,
- "pl-PL": uO,
- "pt-BR": dO,
- "pt-PT": fO,
- "ro-RO": pO,
- "ru-RU": mO,
- "sk-SK": hO,
- "sl-SI": gO,
- "sr-SP": _O,
- "sv-SE": vO,
- "tr-TR": yO,
- "uk-UA": bO,
- "zh-CN": xO,
- "zh-TW": SO
+var xO = {};
+xO = {
+ "ar-AE": VD,
+ "bg-BG": HD,
+ "cs-CZ": UD,
+ "da-DK": WD,
+ "de-DE": GD,
+ "el-GR": KD,
+ "en-US": qD,
+ "es-ES": JD,
+ "et-EE": YD,
+ "fi-FI": XD,
+ "fr-FR": ZD,
+ "he-IL": QD,
+ "hr-HR": $D,
+ "hu-HU": eO,
+ "it-IT": tO,
+ "ja-JP": nO,
+ "ko-KR": rO,
+ "lt-LT": iO,
+ "lv-LV": aO,
+ "nb-NO": oO,
+ "nl-NL": sO,
+ "pl-PL": cO,
+ "pt-BR": lO,
+ "pt-PT": uO,
+ "ro-RO": dO,
+ "ru-RU": fO,
+ "sk-SK": pO,
+ "sl-SI": mO,
+ "sr-SP": hO,
+ "sv-SE": gO,
+ "tr-TR": _O,
+ "uk-UA": vO,
+ "zh-CN": yO,
+ "zh-TW": bO
};
// node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs
-function Dse(e) {
+function kse(e) {
return e && e.__esModule ? e.default : e;
}
-function wO(e, t) {
- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = qw(Dse(CO), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, F.useRef)(i), o = (0, F.useCallback)(() => {
+function SO(e, t) {
+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Gw(kse(xO), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, F.useRef)(i), o = (0, F.useCallback)(() => {
if (!t.selectionManager.isFocused || i === a.current) {
a.current = i;
return;
}
- let e = TO(i, a.current), o = TO(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
+ let e = CO(i, a.current), o = CO(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
if (t.selectionManager.selectedKeys.size === 1 && s) {
let e = t.selectionManager.selectedKeys.keys().next().value;
if (e != null && t.collection.getItem(e)) {
@@ -27251,7 +27251,7 @@ function wO(e, t) {
t && c.push(r.format("deselectedItem", { item: t }));
}
}
- t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && IT(c.join(" ")), a.current = i;
+ t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && PT(c.join(" ")), a.current = i;
}, [
i,
t.selectionManager.selectedKeys,
@@ -27262,7 +27262,7 @@ function wO(e, t) {
n,
r
]);
- LT(() => {
+ FT(() => {
if (t.selectionManager.isFocused) o();
else {
let e = requestAnimationFrame(o);
@@ -27270,20 +27270,20 @@ function wO(e, t) {
}
}, [i, t.selectionManager.isFocused]);
}
-function TO(e, t) {
+function CO(e, t) {
let n = /* @__PURE__ */ new Set();
if (e === "all" || t === "all") return n;
for (let r of e.keys()) t.has(r) || n.add(r);
return n;
}
// node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs
-function EO(e, t) {
+function wO(e, t) {
let n = t?.isDisabled, [r, i] = (0, F.useState)(!1);
- return HS(() => {
+ return VS(() => {
if (e?.current && !n) {
let t = () => {
if (e.current) {
- let t = jT(e.current, { tabbable: !0 });
+ let t = kT(e.current, { tabbable: !0 });
i(!!t.nextNode());
}
};
@@ -27301,12 +27301,12 @@ function EO(e, t) {
}), !n && r;
}
// node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs
-function Ose(e) {
+function Ase(e) {
return e && e.__esModule ? e.default : e;
}
-function DO(e) {
- let t = qw(Ose(CO), "@react-aria/grid"), n = jC(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
- return WT((0, F.useMemo)(() => {
+function TO(e) {
+ let t = Gw(Ase(xO), "@react-aria/grid"), n = kC(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
+ return HT((0, F.useMemo)(() => {
let n = e.selectionManager.selectionMode, i = e.selectionManager.selectionBehavior, a;
return r && (a = t.format("longPressToSelect")), i === "replace" && n !== "none" && e.hasItemActions ? a : void 0;
}, [
@@ -27318,11 +27318,11 @@ function DO(e) {
]));
}
// node_modules/react-aria/dist/private/selection/useSelectableList.mjs
-function OO(e) {
- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = OD({
+function EO(e) {
+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = ED({
usage: "search",
sensitivity: "base"
- }), l = t.disabledBehavior, u = (0, F.useMemo)(() => a || new AE({
+ }), l = t.disabledBehavior, u = (0, F.useMemo)(() => a || new OE({
collection: n,
disabledKeys: r,
disabledBehavior: l,
@@ -27339,7 +27339,7 @@ function OO(e) {
c,
l,
s
- ]), { collectionProps: d } = vD({
+ ]), { collectionProps: d } = gD({
...e,
ref: i,
selectionManager: t,
@@ -27348,10 +27348,10 @@ function OO(e) {
return { listProps: d };
}
// node_modules/react-aria/dist/private/gridlist/useGridList.mjs
-function kse(e, t, n) {
+function jse(e, t, n) {
let { isVirtualized: r, keyboardDelegate: i, layoutDelegate: a, onAction: o, disallowTypeAhead: s, linkBehavior: c = "action", keyboardNavigationBehavior: l = "arrow", escapeKeyBehavior: u = "clearSelection", shouldSelectOnPressUp: d } = e;
!e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
- let { listProps: f } = OO({
+ let { listProps: f } = EO({
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
@@ -27366,30 +27366,30 @@ function kse(e, t, n) {
autoFocus: e.autoFocus,
escapeKeyBehavior: u,
UNSTABLE_focusOnEntry: e.UNSTABLE_focusOnEntry
- }), p = GC(e.id);
- VD.set(t, {
+ }), p = UC(e.id);
+ zD.set(t, {
id: p,
onAction: o,
linkBehavior: c,
keyboardNavigationBehavior: l,
shouldSelectOnPressUp: d
});
- let m = DO({
+ let m = TO({
selectionManager: t.selectionManager,
hasItemActions: !!o
- }), h = EO(n, { isDisabled: t.collection.size !== 0 }), g = K(Yw(e, { labelable: !0 }), {
+ }), h = wO(n, { isDisabled: t.collection.size !== 0 }), g = K(qw(e, { labelable: !0 }), {
role: "grid",
id: p,
"aria-multiselectable": t.selectionManager.selectionMode === "multiple" ? "true" : void 0
}, t.collection.size === 0 ? { tabIndex: h ? -1 : 0 } : f, m);
- return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), wO({}, t), { gridProps: g };
+ return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), SO({}, t), { gridProps: g };
}
// node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
-function kO(e) {
- let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = rC();
- t = GC(t);
+function DO(e) {
+ let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = nC();
+ t = UC(t);
let p = (e) => {
- if (e.pointerType === "keyboard" && EE(e)) n.toggleSelection(r);
+ if (e.pointerType === "keyboard" && wE(e)) n.toggleSelection(r);
else {
if (n.selectionMode === "none") return;
if (n.isLink(r)) {
@@ -27400,11 +27400,11 @@ function kO(e) {
}
if (d === "override" || d === "none") return;
}
- n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (jw(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
+ n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (kw(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
}
};
(0, F.useEffect)(() => {
- r === n.focusedKey && n.isFocused && (o ? bw(i.current) : s ? s() : PS() !== i.current && i.current && BC(i.current));
+ r === n.focusedKey && n.isFocused && (o ? vw(i.current) : s ? s() : NS() !== i.current && i.current && RC(i.current));
}, [
i,
r,
@@ -27432,22 +27432,22 @@ function kO(e) {
l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, D.href, D.routerOptions);
}, k = { ref: i };
a ? (k.onPressStart = (e) => {
- C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || jO(e.key)) && p(e);
+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || kO(e.key)) && p(e);
}, u ? (k.onPressUp = b ? void 0 : (e) => {
e.pointerType === "mouse" && v && p(e);
}, k.onPress = b ? O : (e) => {
e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);
}) : k.onPress = (e) => {
if (b || x && e.pointerType !== "mouse") {
- if (e.pointerType === "keyboard" && !AO(e.key)) return;
+ if (e.pointerType === "keyboard" && !OO(e.key)) return;
O(e);
} else e.pointerType !== "keyboard" && v && p(e);
}) : (k.onPressStart = (e) => {
- C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || jO(e.key))) && p(e);
+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || kO(e.key))) && p(e);
}, k.onPress = (e) => {
- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && AO(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && OO(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
});
- let A = fse(n.collection);
+ let A = mse(n.collection);
if (m["data-collection"] = A, m["data-key"] = r, k.preventFocusOnPress = o, o && (k = K(k, {
onPressStart(e) {
e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));
@@ -27462,10 +27462,10 @@ function kO(e) {
"onPress",
"onPressUp",
"onClick"
- ]) D[e] && (k[e] = VC(k[e], D[e]));
- let { pressProps: j, isPressed: M } = lT(k), ee = x ? (e) => {
+ ]) D[e] && (k[e] = zC(k[e], D[e]));
+ let { pressProps: j, isPressed: M } = sT(k), ee = x ? (e) => {
C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), O(e));
- } : void 0, { longPressProps: N } = fD({
+ } : void 0, { longPressProps: N } = uD({
isDisabled: !w,
onLongPress(e) {
e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));
@@ -27473,7 +27473,7 @@ function kO(e) {
}), te = (e) => {
C.current === "touch" && T.current && e.preventDefault();
}, P = d !== "none" && n.isLink(r) ? (e) => {
- iC.isOpening || e.preventDefault();
+ rC.isOpening || e.preventDefault();
} : void 0, ne = K(m, v || b || o && !c ? j : {}, w ? N : {}, {
onDoubleClick: ee,
onDragStartCapture: te,
@@ -27486,7 +27486,7 @@ function kO(e) {
if (e != null) return e !== A;
t = t.parentElement;
}
- return BS(e);
+ return zS(e);
}, I = ne.onPointerDown;
ne.onPointerDown = (e) => {
let t = G(e);
@@ -27506,14 +27506,14 @@ function kO(e) {
hasAction: S
};
}
-function AO(e) {
+function OO(e) {
return e === "Enter";
}
-function jO(e) {
+function kO(e) {
return e === " ";
}
// node_modules/react-aria/dist/private/gridlist/useGridListItem.mjs
-var MO = {
+var AO = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -27523,18 +27523,18 @@ var MO = {
rtl: "ArrowRight"
}
};
-function Ase(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = Vw(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = VD.get(t), f = KC(), p = (0, F.useRef)(null), m = () => {
+function Mse(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = zw(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = zD.get(t), f = WC(), p = (0, F.useRef)(null), m = () => {
if (n.current !== null) {
if (a === "child") {
- if (IS(n.current) && n.current !== PS(ES(n.current))) return;
- let e = jT(n.current, { tabbable: !0 }).firstChild();
+ if (FS(n.current) && n.current !== NS(TS(n.current))) return;
+ let e = kT(n.current, { tabbable: !0 }).firstChild();
if (e) {
- BC(e), HT(e, { containingElement: zT(e) });
+ RC(e), BT(e, { containingElement: LT(e) });
return;
}
}
- (p.current != null && r.key !== p.current || !IS(n.current)) && BC(n.current);
+ (p.current != null && r.key !== p.current || !FS(n.current)) && RC(n.current);
}
}, h = {}, g = e.hasChildItems, _ = t.selectionManager.isLink(r.key);
if (r != null && "expandedKeys" in t) {
@@ -27544,7 +27544,7 @@ function Ase(e, t, n) {
if (r.level >= 0 && r?.parentKey != null) {
let e = t.collection.getItem(r.parentKey);
if (e) {
- let n = jse(e, t.collection);
+ let n = Nse(e, t.collection);
i = [...n].filter((e) => e.type === "item").length, a > 0 && n[0].type !== "item" && --a;
}
} else i = [...t.collection].filter((e) => e.level === 0 && e.type === "item").length;
@@ -27555,75 +27555,75 @@ function Ase(e, t, n) {
"aria-setsize": i
};
}
- let { itemProps: v, ...y } = kO({
+ let { itemProps: v, ...y } = DO({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
isVirtualized: i,
shouldSelectOnPressUp: e.shouldSelectOnPressUp || d,
- onAction: c || r.props?.onAction ? VC(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,
+ onAction: c || r.props?.onAction ? zC(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,
focus: m,
linkBehavior: l
}), b = (e) => {
- let i = PS(ES(n.current));
- if (!NS(e.currentTarget, G(e)) || !n.current || !i) return;
- let a = jT(n.current);
- if (a.currentNode = i, !NO(e, t, r, g, s, i, n.current, o)) switch (e.key) {
+ let i = NS(TS(n.current));
+ if (!MS(e.currentTarget, G(e)) || !n.current || !i) return;
+ let a = kT(n.current);
+ if (a.currentNode = i, !jO(e, t, r, g, s, i, n.current, o)) switch (e.key) {
case "ArrowLeft":
if (u === "arrow") {
let t = s === "rtl" ? a.nextNode() : a.previousNode();
- if (t) e.preventDefault(), e.stopPropagation(), BC(t), HT(t, { containingElement: zT(n.current) });
- else if (e.preventDefault(), e.stopPropagation(), s === "rtl") BC(n.current), HT(n.current, { containingElement: zT(n.current) });
+ if (t) e.preventDefault(), e.stopPropagation(), RC(t), BT(t, { containingElement: LT(n.current) });
+ else if (e.preventDefault(), e.stopPropagation(), s === "rtl") RC(n.current), BT(n.current, { containingElement: LT(n.current) });
else {
a.currentNode = n.current;
- let e = PO(a);
- e && (BC(e), HT(e, { containingElement: zT(n.current) }));
+ let e = MO(a);
+ e && (RC(e), BT(e, { containingElement: LT(n.current) }));
}
}
break;
case "ArrowRight":
if (u === "arrow") {
let t = s === "rtl" ? a.previousNode() : a.nextNode();
- if (t) e.preventDefault(), e.stopPropagation(), BC(t), HT(t, { containingElement: zT(n.current) });
- else if (e.preventDefault(), e.stopPropagation(), s === "ltr") BC(n.current), HT(n.current, { containingElement: zT(n.current) });
+ if (t) e.preventDefault(), e.stopPropagation(), RC(t), BT(t, { containingElement: LT(n.current) });
+ else if (e.preventDefault(), e.stopPropagation(), s === "ltr") RC(n.current), BT(n.current, { containingElement: LT(n.current) });
else {
a.currentNode = n.current;
- let e = PO(a);
- e && (BC(e), HT(e, { containingElement: zT(n.current) }));
+ let e = MO(a);
+ e && (RC(e), BT(e, { containingElement: LT(n.current) }));
}
}
break;
case "ArrowUp":
- case "ArrowDown": !e.altKey && NS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
+ case "ArrowDown": !e.altKey && MS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
}
}, x = (e) => {
- p.current = r.key, G(e) === n.current ? a === "child" && e.relatedTarget && NS(n.current, e.relatedTarget) || requestAnimationFrame(() => {
- a === "child" && PS(ES(n.current)) === n.current && m();
- }) : OC() || t.selectionManager.setFocusedKey(r.key);
+ p.current = r.key, G(e) === n.current ? a === "child" && e.relatedTarget && MS(n.current, e.relatedTarget) || requestAnimationFrame(() => {
+ a === "child" && NS(TS(n.current)) === n.current && m();
+ }) : EC() || t.selectionManager.setFocusedKey(r.key);
}, S = (e) => {
- let i = PS(ES(n.current));
- if (NS(e.currentTarget, G(e)) && n.current && i) {
+ let i = NS(TS(n.current));
+ if (MS(e.currentTarget, G(e)) && n.current && i) {
if (u === "tab") {
if (G(e) !== n.current && e.key !== "Tab") {
e.stopPropagation();
return;
}
- if (NO(e, t, r, g, s, i, n.current, o)) return;
+ if (jO(e, t, r, g, s, i, n.current, o)) return;
}
if (e.key === "Tab" && u === "tab") {
- let t = jT(n.current, { tabbable: !0 });
+ let t = kT(n.current, { tabbable: !0 });
t.currentNode = i, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
- }, C = aC(r.props), w = K(v, y.hasAction ? C : {}, {
+ }, C = iC(r.props), w = K(v, y.hasAction ? C : {}, {
role: "row",
onKeyDownCapture: u === "arrow" || o ? b : void 0,
onFocus: x,
"aria-label": r["aria-label"] || r.textValue || void 0,
"aria-selected": t.selectionManager.canSelectItem(r.key) ? t.selectionManager.isSelected(r.key) : void 0,
"aria-disabled": t.selectionManager.isDisabled(r.key) || void 0,
- "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${HD(t, r.key)} ${f}` : void 0,
- id: HD(t, r.key)
+ "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${BD(t, r.key)} ${f}` : void 0,
+ id: BD(t, r.key)
});
a === "child" && o && u === "tab" && (w.tabIndex = -1);
let T = w.onKeyDown;
@@ -27644,66 +27644,66 @@ function Ase(e, t, n) {
...y
};
}
-function NO(e, t, n, r, i, a, o, s) {
+function jO(e, t, n, r, i, a, o, s) {
if (!("expandedKeys" in t) || !s && a !== o) return !1;
- if (e.key === MO.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;
- if (e.key === MO.collapse[i] && t.selectionManager.focusedKey === n.key) {
+ if (e.key === AO.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;
+ if (e.key === AO.collapse[i] && t.selectionManager.focusedKey === n.key) {
if (r && t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;
if (!t.expandedKeys.has(n.key) && n.parentKey && t.collection.getItem(n.parentKey)?.type === "item") return t.selectionManager.setFocusedKey(n.parentKey), e.stopPropagation(), !0;
}
return !1;
}
-function PO(e) {
+function MO(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
while (n);
return t;
}
-function jse(e, t) {
+function Nse(e, t) {
let n = t.getChildren?.(e.key), r = n ? Array.from(n) : [], i = r.length > 0 ? r[0] : null, a = [];
for (; i;) a.push(i), i = i.nextKey == null ? null : t.getItem(i.nextKey);
return a;
}
// node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs
-function Mse(e) {
+function Pse(e) {
return e && e.__esModule ? e.default : e;
}
-function FO(e, t) {
- let { key: n } = e, r = t.selectionManager, i = GC(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
+function NO(e, t) {
+ let { key: n } = e, r = t.selectionManager, i = UC(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
return { checkboxProps: {
id: i,
- "aria-label": qw(Mse(CO), "@react-aria/grid").format("select"),
+ "aria-label": Gw(Pse(xO), "@react-aria/grid").format("select"),
isSelected: o,
isDisabled: a,
onChange: () => r.toggleSelection(n)
} };
}
// node_modules/react-aria/dist/private/gridlist/useGridListSelectionCheckbox.mjs
-function Nse(e, t) {
- let { key: n } = e, { checkboxProps: r } = FO(e, t);
+function Fse(e, t) {
+ let { key: n } = e, { checkboxProps: r } = NO(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${HD(t, n)}`
+ "aria-labelledby": `${r.id} ${BD(t, n)}`
} };
}
// node_modules/react-aria/dist/private/listbox/useListBox.mjs
-function Pse(e, t, n) {
- let r = Yw(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
+function Ise(e, t, n) {
+ let r = qw(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
i === "toggle" && o === "action" && (o = "override");
- let { listProps: s } = OO({
+ let { listProps: s } = EO({
...e,
ref: n,
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
linkBehavior: o
- }), { focusWithinProps: c } = oE({
+ }), { focusWithinProps: c } = iE({
onFocusWithin: e.onFocus,
onBlurWithin: e.onBlur,
onFocusWithinChange: e.onFocusChange
- }), l = GC(e.id);
- TE.set(t, {
+ }), l = UC(e.id);
+ CE.set(t, {
id: l,
shouldUseVirtualFocus: e.shouldUseVirtualFocus,
shouldSelectOnPressUp: e.shouldSelectOnPressUp,
@@ -27713,7 +27713,7 @@ function Pse(e, t, n) {
linkBehavior: o,
UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior
});
- let { labelProps: u, fieldProps: d } = iE({
+ let { labelProps: u, fieldProps: d } = nE({
...e,
id: l,
labelElementType: "span"
@@ -27728,8 +27728,8 @@ function Pse(e, t, n) {
};
}
// node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs
-function Fse(e) {
- let { heading: t, "aria-label": n } = e, r = GC();
+function Lse(e) {
+ let { heading: t, "aria-label": n } = e, r = UC();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -27747,8 +27747,8 @@ function Fse(e) {
};
}
// node_modules/react-aria/dist/private/listbox/useOption.mjs
-function Ise(e, t, n) {
- let { key: r } = e, i = TE.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = KC(), f = KC(), p = {
+function Rse(e, t, n) {
+ let { key: r } = e, i = CE.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = WC(), f = WC(), p = {
role: "option",
"aria-disabled": a || void 0,
"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,
@@ -27758,9 +27758,9 @@ function Ise(e, t, n) {
}, m = t.collection.getItem(r);
if (u) {
let e = Number(m?.index);
- p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = ED(t.collection);
+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = wD(t.collection);
}
- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = use(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = kO({
+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = fse(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = DO({
selectionManager: t.selectionManager,
key: r,
ref: n,
@@ -27769,18 +27769,18 @@ function Ise(e, t, n) {
isVirtualized: u,
shouldUseVirtualFocus: l,
isDisabled: a,
- onAction: h || m?.props?.onAction ? VC(m?.props?.onAction, h) : void 0,
+ onAction: h || m?.props?.onAction ? zC(m?.props?.onAction, h) : void 0,
linkBehavior: i?.linkBehavior,
UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,
id: g
- }), { hoverProps: S } = zD({
+ }), { hoverProps: S } = LD({
isDisabled: a || !c,
onHoverStart() {
- OC() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
+ EC() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
}
- }), C = Yw(m?.props);
+ }), C = qw(m?.props);
delete C.id;
- let w = oC(m?.props);
+ let w = aC(m?.props);
return {
optionProps: {
...p,
@@ -27790,7 +27790,7 @@ function Ise(e, t, n) {
labelProps: { id: d },
descriptionProps: { id: f },
isFocused: y,
- isFocusVisible: y && t.selectionManager.isFocused && OC(),
+ isFocusVisible: y && t.selectionManager.isFocused && EC(),
isSelected: o,
isDisabled: a,
isPressed: v,
@@ -27799,12 +27799,12 @@ function Ise(e, t, n) {
};
}
// node_modules/react-aria/dist/private/menu/utils.mjs
-var IO = /* @__PURE__ */ new WeakMap();
+var PO = /* @__PURE__ */ new WeakMap();
// node_modules/react-aria/dist/private/menu/useMenu.mjs
-function Lse(e, t, n) {
+function zse(e, t, n) {
let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;
!e["aria-label"] && e["aria-labelledby"];
- let s = Yw(e, { labelable: !0 }), { listProps: c } = OO({
+ let s = qw(e, { labelable: !0 }), { listProps: c } = EO({
...o,
ref: n,
selectionManager: t.selectionManager,
@@ -27813,7 +27813,7 @@ function Lse(e, t, n) {
shouldFocusWrap: r,
linkBehavior: "override"
});
- return IO.set(t, {
+ return PO.set(t, {
onClose: e.onClose,
onAction: e.onAction,
shouldUseVirtualFocus: e.shouldUseVirtualFocus
@@ -27829,15 +27829,15 @@ function Lse(e, t, n) {
}) };
}
// node_modules/react-aria/dist/private/menu/useMenuItem.mjs
-function Rse(e, t, n) {
- let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = IO.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = rC(), M = () => {
+function Bse(e, t, n) {
+ let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = PO.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = nC(), M = () => {
if (!w && (k?.props?.onAction ? k.props.onAction() : e.onAction && e.onAction(i), O.onAction)) {
let e = O.onAction;
e(i, k?.value);
}
}, ee = "menuitem";
w || (C.selectionMode === "single" ? ee = "menuitemradio" : C.selectionMode === "multiple" && (ee = "menuitemcheckbox"));
- let N = KC(), te = KC(), P = KC(), ne = {
+ let N = WC(), te = WC(), P = WC(), ne = {
id: r,
"aria-disabled": E || void 0,
role: ee,
@@ -27854,17 +27854,17 @@ function Rse(e, t, n) {
};
if (C.selectionMode !== "none" && !w && (ne["aria-checked"] = D), s) {
let e = Number(k?.index);
- ne["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, ne["aria-setsize"] = ED(t.collection);
+ ne["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, ne["aria-setsize"] = wD(t.collection);
}
let re = (0, F.useRef)(!1), I = (e) => {
f?.(e), re.current = e;
}, ie = (0, F.useRef)(null), ae = (e) => {
e.pointerType !== "keyboard" && (ie.current = { pointerType: e.pointerType }), e.pointerType === "mouse" && (re.current || e.target.click()), u?.(e);
}, oe = (e) => {
- m?.(e), M(), yae(e, j, k.props.href, k?.props.routerOptions);
+ m?.(e), M(), bae(e, j, k.props.href, k?.props.routerOptions);
let t = ie.current?.pointerType === "keyboard" ? ie.current?.key === "Enter" || C.selectionMode === "none" || C.isLink(i) : C.selectionMode !== "multiple" || C.isLink(i);
t = o ?? a ?? t, A && !w && t && A(), ie.current = null;
- }, { itemProps: se, isFocused: ce } = kO({
+ }, { itemProps: se, isFocused: ce } = DO({
id: r,
selectionManager: C,
key: i,
@@ -27873,27 +27873,27 @@ function Rse(e, t, n) {
allowsDifferentPressOrigin: !0,
linkBehavior: "none",
shouldUseVirtualFocus: O.shouldUseVirtualFocus
- }), { pressProps: le, isPressed: ue } = lT({
+ }), { pressProps: le, isPressed: ue } = sT({
onPressStart: l,
onPress: d,
onPressUp: ae,
onPressChange: I,
onPressEnd: p,
isDisabled: E
- }), { hoverProps: de } = zD({
+ }), { hoverProps: de } = LD({
isDisabled: E,
onHoverStart(e) {
- !OC() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);
+ !EC() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);
},
onHoverChange: g,
onHoverEnd: _
- }), { keyboardProps: fe } = tw({
+ }), { keyboardProps: fe } = $C({
shortcuts: {
" ": (e) => {
ie.current = {
pointerType: "keyboard",
key: " "
- }, G(e).click(), AC("keyboard");
+ }, G(e).click(), OC("keyboard");
},
Enter: (e) => {
ie.current = {
@@ -27901,8 +27901,8 @@ function Rse(e, t, n) {
key: "Enter"
};
let t = G(e);
- if (t.tagName !== "A") t.click(), AC("keyboard");
- else return AC("keyboard"), {
+ if (t.tagName !== "A") t.click(), OC("keyboard");
+ else return OC("keyboard"), {
shouldPreventDefault: !1,
shouldContinuePropagation: !1
};
@@ -27910,13 +27910,13 @@ function Rse(e, t, n) {
},
onKeyDown: v,
onKeyUp: y
- }), { focusableProps: pe } = aw({
+ }), { focusableProps: pe } = rw({
onBlur: S,
onFocus: b,
onFocusChange: x
- }, n), me = Yw(k?.props);
+ }, n), me = qw(k?.props);
delete me.id;
- let he = oC(k?.props);
+ let he = aC(k?.props);
return {
menuItemProps: {
...ne,
@@ -27931,15 +27931,15 @@ function Rse(e, t, n) {
descriptionProps: { id: te },
keyboardShortcutProps: { id: P },
isFocused: ce,
- isFocusVisible: ce && C.isFocused && OC() && !T,
+ isFocusVisible: ce && C.isFocused && EC() && !T,
isSelected: D,
isPressed: ue,
isDisabled: E
};
}
// node_modules/react-aria/dist/private/menu/useMenuSection.mjs
-function zse(e) {
- let { heading: t, "aria-label": n } = e, r = GC();
+function Vse(e) {
+ let { heading: t, "aria-label": n } = e, r = UC();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -27954,15 +27954,15 @@ function zse(e) {
};
}
// node_modules/react-aria/dist/private/utils/useResizeObserver.mjs
-function Bse() {
+function Hse() {
return window.ResizeObserver !== void 0;
}
-function LO(e) {
- let { ref: t, box: n, onResize: r } = e, i = Nw(r);
+function FO(e) {
+ let { ref: t, box: n, onResize: r } = e, i = jw(r);
(0, F.useEffect)(() => {
let e = t?.current;
if (e) {
- if (Bse()) {
+ if (Hse()) {
let t = new window.ResizeObserver((e) => {
e.length && i();
});
@@ -27977,154 +27977,154 @@ function LO(e) {
}, [t, n]);
}
// node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs
-var RO = {};
-RO = { dismiss: "تجاهل" };
+var IO = {};
+IO = { dismiss: "تجاهل" };
// node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs
-var zO = {};
-zO = { dismiss: "Отхвърляне" };
+var LO = {};
+LO = { dismiss: "Отхвърляне" };
// node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs
-var BO = {};
-BO = { dismiss: "Odstranit" };
+var RO = {};
+RO = { dismiss: "Odstranit" };
// node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs
-var VO = {};
-VO = { dismiss: "Luk" };
+var zO = {};
+zO = { dismiss: "Luk" };
// node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs
-var HO = {};
-HO = { dismiss: "Schließen" };
+var BO = {};
+BO = { dismiss: "Schließen" };
// node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs
-var UO = {};
-UO = { dismiss: "Απόρριψη" };
+var VO = {};
+VO = { dismiss: "Απόρριψη" };
// node_modules/react-aria/dist/private/intl/overlays/en-US.mjs
-var WO = {};
-WO = { dismiss: "Dismiss" };
+var HO = {};
+HO = { dismiss: "Dismiss" };
// node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs
-var GO = {};
-GO = { dismiss: "Descartar" };
+var UO = {};
+UO = { dismiss: "Descartar" };
// node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs
-var KO = {};
-KO = { dismiss: "Lõpeta" };
+var WO = {};
+WO = { dismiss: "Lõpeta" };
// node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs
-var qO = {};
-qO = { dismiss: "Hylkää" };
+var GO = {};
+GO = { dismiss: "Hylkää" };
// node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs
-var JO = {};
-JO = { dismiss: "Rejeter" };
+var KO = {};
+KO = { dismiss: "Rejeter" };
// node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs
-var YO = {};
-YO = { dismiss: "התעלם" };
+var qO = {};
+qO = { dismiss: "התעלם" };
// node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs
-var XO = {};
-XO = { dismiss: "Odbaci" };
+var JO = {};
+JO = { dismiss: "Odbaci" };
// node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs
-var ZO = {};
-ZO = { dismiss: "Elutasítás" };
+var YO = {};
+YO = { dismiss: "Elutasítás" };
// node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs
-var QO = {};
-QO = { dismiss: "Ignora" };
+var XO = {};
+XO = { dismiss: "Ignora" };
// node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs
-var $O = {};
-$O = { dismiss: "閉じる" };
+var ZO = {};
+ZO = { dismiss: "閉じる" };
// node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs
-var ek = {};
-ek = { dismiss: "무시" };
+var QO = {};
+QO = { dismiss: "무시" };
// node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs
-var tk = {};
-tk = { dismiss: "Atmesti" };
+var $O = {};
+$O = { dismiss: "Atmesti" };
// node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs
-var nk = {};
-nk = { dismiss: "Nerādīt" };
+var ek = {};
+ek = { dismiss: "Nerādīt" };
// node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs
-var rk = {};
-rk = { dismiss: "Lukk" };
+var tk = {};
+tk = { dismiss: "Lukk" };
// node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs
-var ik = {};
-ik = { dismiss: "Negeren" };
+var nk = {};
+nk = { dismiss: "Negeren" };
// node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs
-var ak = {};
-ak = { dismiss: "Zignoruj" };
+var rk = {};
+rk = { dismiss: "Zignoruj" };
// node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs
-var ok = {};
-ok = { dismiss: "Descartar" };
+var ik = {};
+ik = { dismiss: "Descartar" };
// node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs
-var sk = {};
-sk = { dismiss: "Dispensar" };
+var ak = {};
+ak = { dismiss: "Dispensar" };
// node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs
-var ck = {};
-ck = { dismiss: "Revocare" };
+var ok = {};
+ok = { dismiss: "Revocare" };
// node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs
-var lk = {};
-lk = { dismiss: "Пропустить" };
+var sk = {};
+sk = { dismiss: "Пропустить" };
// node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs
-var uk = {};
-uk = { dismiss: "Zrušiť" };
+var ck = {};
+ck = { dismiss: "Zrušiť" };
// node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs
-var dk = {};
-dk = { dismiss: "Opusti" };
+var lk = {};
+lk = { dismiss: "Opusti" };
// node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs
-var fk = {};
-fk = { dismiss: "Odbaci" };
+var uk = {};
+uk = { dismiss: "Odbaci" };
// node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs
-var pk = {};
-pk = { dismiss: "Avvisa" };
+var dk = {};
+dk = { dismiss: "Avvisa" };
// node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs
-var mk = {};
-mk = { dismiss: "Kapat" };
+var fk = {};
+fk = { dismiss: "Kapat" };
// node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs
-var hk = {};
-hk = { dismiss: "Скасувати" };
+var pk = {};
+pk = { dismiss: "Скасувати" };
// node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs
-var gk = {};
-gk = { dismiss: "取消" };
+var mk = {};
+mk = { dismiss: "取消" };
// node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs
-var _k = {};
-_k = { dismiss: "關閉" };
+var hk = {};
+hk = { dismiss: "關閉" };
// node_modules/react-aria/dist/private/overlays/intlStrings.mjs
-var vk = {};
-vk = {
- "ar-AE": RO,
- "bg-BG": zO,
- "cs-CZ": BO,
- "da-DK": VO,
- "de-DE": HO,
- "el-GR": UO,
- "en-US": WO,
- "es-ES": GO,
- "et-EE": KO,
- "fi-FI": qO,
- "fr-FR": JO,
- "he-IL": YO,
- "hr-HR": XO,
- "hu-HU": ZO,
- "it-IT": QO,
- "ja-JP": $O,
- "ko-KR": ek,
- "lt-LT": tk,
- "lv-LV": nk,
- "nb-NO": rk,
- "nl-NL": ik,
- "pl-PL": ak,
- "pt-BR": ok,
- "pt-PT": sk,
- "ro-RO": ck,
- "ru-RU": lk,
- "sk-SK": uk,
- "sl-SI": dk,
- "sr-SP": fk,
- "sv-SE": pk,
- "tr-TR": mk,
- "uk-UA": hk,
- "zh-CN": gk,
- "zh-TW": _k
+var gk = {};
+gk = {
+ "ar-AE": IO,
+ "bg-BG": LO,
+ "cs-CZ": RO,
+ "da-DK": zO,
+ "de-DE": BO,
+ "el-GR": VO,
+ "en-US": HO,
+ "es-ES": UO,
+ "et-EE": WO,
+ "fi-FI": GO,
+ "fr-FR": KO,
+ "he-IL": qO,
+ "hr-HR": JO,
+ "hu-HU": YO,
+ "it-IT": XO,
+ "ja-JP": ZO,
+ "ko-KR": QO,
+ "lt-LT": $O,
+ "lv-LV": ek,
+ "nb-NO": tk,
+ "nl-NL": nk,
+ "pl-PL": rk,
+ "pt-BR": ik,
+ "pt-PT": ak,
+ "ro-RO": ok,
+ "ru-RU": sk,
+ "sk-SK": ck,
+ "sl-SI": lk,
+ "sr-SP": uk,
+ "sv-SE": dk,
+ "tr-TR": fk,
+ "uk-UA": pk,
+ "zh-CN": mk,
+ "zh-TW": hk
};
// node_modules/react-aria/dist/private/overlays/DismissButton.mjs
-function Vse(e) {
+function Use(e) {
return e && e.__esModule ? e.default : e;
}
-function yk(e) {
- let { onDismiss: t, ...n } = e, r = Fw(n, qw(Vse(vk), "@react-aria/overlays").format("dismiss")), i = () => {
+function _k(e) {
+ let { onDismiss: t, ...n } = e, r = Nw(n, Gw(Use(gk), "@react-aria/overlays").format("dismiss")), i = () => {
t && t();
};
- return /*#__PURE__*/ F.createElement(_E, null, /*#__PURE__*/ F.createElement("button", {
+ return /*#__PURE__*/ F.createElement(hE, null, /*#__PURE__*/ F.createElement("button", {
...r,
tabIndex: -1,
onClick: i,
@@ -28135,35 +28135,35 @@ function yk(e) {
}));
}
// node_modules/react-aria/dist/private/overlays/useOverlay.mjs
-var bk = [];
-function xk(e, t) {
+var vk = [];
+function yk(e, t) {
let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, F.useRef)(void 0);
(0, F.useEffect)(() => {
- if (i && !bk.includes(t)) return bk.push(t), () => {
- let e = bk.indexOf(t);
- e >= 0 && bk.splice(e, 1);
+ if (i && !vk.includes(t)) return vk.push(t), () => {
+ let e = vk.indexOf(t);
+ e >= 0 && vk.splice(e, 1);
};
}, [i, t]);
let l = () => {
- bk[bk.length - 1] === t && n && n();
+ vk[vk.length - 1] === t && n && n();
}, u = (e) => {
- let n = bk[bk.length - 1];
+ let n = vk[vk.length - 1];
c.current = n, (!s || s(G(e))) && n === t && e.stopPropagation();
}, d = (e) => {
- (!s || s(G(e))) && (bk[bk.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
- }, { keyboardProps: f } = tw({ shortcuts: { Escape: () => {
+ (!s || s(G(e))) && (vk[vk.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
+ }, { keyboardProps: f } = $C({ shortcuts: { Escape: () => {
if (!o) l();
else return !1;
} } });
- Tse({
+ Dse({
ref: t,
onInteractOutside: a && i ? d : void 0,
onInteractOutsideStart: u
});
- let { focusWithinProps: p } = oE({
+ let { focusWithinProps: p } = iE({
isDisabled: !r,
onBlurWithin: (e) => {
- e.relatedTarget && !Loe(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();
+ e.relatedTarget && !zoe(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();
}
});
return {
@@ -28175,87 +28175,87 @@ function xk(e, t) {
};
}
// node_modules/react-aria/dist/private/utils/runAfterKeyboard.mjs
-var Hse = 200, Use = 50, Wse = 600, Sk = /* @__PURE__ */ new WeakMap(), Ck = /* @__PURE__ */ new Set(), wk = /* @__PURE__ */ new Set();
-function Gse(e, t) {
- let n = Mw();
- if (e !== n || t.aborted) for (let e of wk) e(n), wk.delete(e);
- if (!e && n && $S() && !t.aborted) window.clearInterval(Sk.get(window)), Sk.set(window, Tk(Hse));
+var Wse = 200, Gse = 50, Kse = 600, bk = /* @__PURE__ */ new WeakMap(), xk = /* @__PURE__ */ new Set(), Sk = /* @__PURE__ */ new Set();
+function qse(e, t) {
+ let n = Aw();
+ if (e !== n || t.aborted) for (let e of Sk) e(n), Sk.delete(e);
+ if (!e && n && QS() && !t.aborted) window.clearInterval(bk.get(window)), bk.set(window, Ck(Wse));
else {
- if (e !== n || t.aborted) for (let e of Ck) e(n), Ck.delete(e);
- (wk.size + Ck.size <= 0 || t.aborted) && (window.clearInterval(Sk.get(window)), Sk.delete(window));
+ if (e !== n || t.aborted) for (let e of xk) e(n), xk.delete(e);
+ (Sk.size + xk.size <= 0 || t.aborted) && (window.clearInterval(bk.get(window)), bk.delete(window));
}
}
-function Tk(e = Wse) {
- return window.setInterval(Gse, Use, Mw(), AbortSignal.timeout(e));
+function Ck(e = Kse) {
+ return window.setInterval(qse, Gse, Aw(), AbortSignal.timeout(e));
}
-function Ek(e) {
- if (!kw()) return e(!1), () => {};
+function wk(e) {
+ if (!Dw()) return e(!1), () => {};
let t = window.requestAnimationFrame(() => {
t = window.requestAnimationFrame(() => {
- let t = Aw(document.hasFocus() ? PS() : null);
- if (Mw() === t || Mw() && !t) return e(t);
- wk.add(e), Sk.has(window) || Sk.set(window, Tk());
+ let t = Ow(document.hasFocus() ? NS() : null);
+ if (Aw() === t || Aw() && !t) return e(t);
+ Sk.add(e), bk.has(window) || bk.set(window, Ck());
});
});
return () => {
- window.cancelAnimationFrame(t), wk.delete(e);
+ window.cancelAnimationFrame(t), Sk.delete(e);
};
}
-function Kse(e) {
- if (!kw()) return e(!1), () => {};
+function Jse(e) {
+ if (!Dw()) return e(!1), () => {};
let t = window.requestAnimationFrame(() => {
t = window.requestAnimationFrame(() => {
- let t = Aw(document.hasFocus() ? PS() : null);
- if (Mw() === t) return e(t);
- Ck.add(e), Sk.has(window) || Sk.set(window, Tk());
+ let t = Ow(document.hasFocus() ? NS() : null);
+ if (Aw() === t) return e(t);
+ xk.add(e), bk.has(window) || bk.set(window, Ck());
});
});
return () => {
- window.cancelAnimationFrame(t), Ck.delete(e);
+ window.cancelAnimationFrame(t), xk.delete(e);
};
}
// node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs
-var Dk = typeof document < "u" && window.visualViewport, Ok = 0, kk;
-function Ak(e = {}) {
+var Tk = typeof document < "u" && window.visualViewport, Ek = 0, Dk;
+function Ok(e = {}) {
let { isDisabled: t, UNSTABLE_overrideFocus: n } = e;
- HS(() => {
- if (!t) return Ok++, Ok === 1 && (kk = QS() && $S() ? Jse() : qse(n)), () => {
- Ok--, Ok === 0 && kk();
+ VS(() => {
+ if (!t) return Ek++, Ek === 1 && (Dk = ZS() && QS() ? Xse() : Yse(n)), () => {
+ Ek--, Ek === 0 && Dk();
};
}, [t, n]);
}
-function qse(e) {
+function Yse(e) {
let t = window.innerWidth - document.documentElement.clientWidth;
- return VC(t > 0 && ("scrollbarGutter" in document.documentElement.style ? jS(document.documentElement, "scrollbar-gutter", "stable") : jS(document.documentElement, "padding-right", `${t}px`)), jS(document.documentElement, "overflow", "hidden"), e && Mk(), e && kw() && jk());
+ return zC(t > 0 && ("scrollbarGutter" in document.documentElement.style ? AS(document.documentElement, "scrollbar-gutter", "stable") : AS(document.documentElement, "padding-right", `${t}px`)), AS(document.documentElement, "overflow", "hidden"), e && Ak(), e && Dw() && kk());
}
-function Jse() {
- let e = jS(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
+function Xse() {
+ let e = AS(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
let r = G(e);
- t = RT(r, !0) ? r : zT(r, !0), n = !1;
+ t = IT(r, !0) ? r : LT(r, !0), n = !1;
let i = r.ownerDocument.defaultView.getSelection();
i && !i.isCollapsed && i.containsNode(r, !0) && (n = !0), e.composedPath().some((e) => e instanceof HTMLInputElement && e.type === "range") && (n = !0), "selectionStart" in r && "selectionEnd" in r && r.selectionStart < r.selectionEnd && r.ownerDocument.activeElement === r && (n = !0);
- }, i = document.createElement("style"), a = nT();
+ }, i = document.createElement("style"), a = eT();
a && (i.nonce = a), i.textContent = "@layer {\n * {\n overscroll-behavior: contain;\n }\n}", document.head.prepend(i);
let o = (e) => {
e.touches.length === 2 || n || (!t || t === document.documentElement || t === document.body || t.scrollHeight === t.clientHeight && t.scrollWidth === t.clientWidth) && e.preventDefault();
- }, s = Mk(), c = VC(AS(document, "touchstart", r, {
+ }, s = Ak(), c = zC(kS(document, "touchstart", r, {
passive: !1,
capture: !0
- }), AS(document, "touchmove", o, {
+ }), kS(document, "touchmove", o, {
passive: !1,
capture: !0
- }), jk());
+ }), kk());
return () => {
e(), c(), i.remove(), s();
};
}
-function jk() {
- return AS(document, "blur", (e) => {
+function kk() {
+ return kS(document, "blur", (e) => {
let t = G(e), n = e.relatedTarget;
- n && Aw(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
+ n && Ow(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
}, !0);
}
-function Mk() {
+function Ak() {
let e = HTMLElement.prototype.focus;
return Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
@@ -28266,9 +28266,9 @@ function Mk() {
preventScroll: !0
}), !t || !t.preventScroll) {
let e = () => {
- PS() === this && Yse(this);
+ NS() === this && Zse(this);
};
- Ek((t) => t ? e() : Kse(() => e()));
+ wk((t) => t ? e() : Jse(() => e()));
}
}
}), () => {
@@ -28279,15 +28279,15 @@ function Mk() {
});
};
}
-function Yse(e) {
+function Zse(e) {
let t = document.scrollingElement || document.documentElement, n = e;
for (; n && n !== t && n.isConnected;) {
- let e = zT(n);
+ let e = LT(n);
if (e !== document.documentElement && e !== document.body && e !== n) {
let t = e.getBoundingClientRect(), r = n.getBoundingClientRect();
if (r.top < t.top || r.bottom > t.top + n.clientHeight) {
let n = t.bottom;
- Dk && (n = Math.min(n, Dk.offsetTop + Dk.height));
+ Tk && (n = Math.min(n, Tk.offsetTop + Tk.height));
let i = r.top - t.top - ((n - t.top) / 2 - r.height / 2);
e.scrollTo({
top: Math.max(0, Math.min(e.scrollHeight - e.clientHeight, e.scrollTop + i)),
@@ -28299,19 +28299,19 @@ function Yse(e) {
}
}
// node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs
-function Xse(e, t, n) {
- let { overlayProps: r, underlayProps: i } = xk({
+function Qse(e, t, n) {
+ let { overlayProps: r, underlayProps: i } = yk({
...e,
isOpen: t.isOpen,
onClose: t.close
}, n);
- Ak({
+ Ok({
isDisabled: !t.isOpen,
UNSTABLE_overrideFocus: e.UNSTABLE_overrideFocus
- }), PD();
+ }), MD();
let { isEntering: a } = e;
return (0, F.useEffect)(() => {
- if (t.isOpen && n.current) return a ? wE(n.current) : CE([n.current], { shouldUseInert: !0 });
+ if (t.isOpen && n.current) return a ? SE(n.current) : xE([n.current], { shouldUseInert: !0 });
}, [
t.isOpen,
a,
@@ -28322,33 +28322,33 @@ function Xse(e, t, n) {
};
}
// node_modules/react-aria/dist/private/overlays/calculatePosition.mjs
-var Nk = {
+var jk = {
top: "top",
bottom: "top",
left: "left",
right: "left"
-}, Pk = {
+}, Mk = {
top: "bottom",
bottom: "top",
left: "right",
right: "left"
-}, Zse = {
+}, $se = {
top: "left",
left: "top"
-}, Fk = {
+}, Nk = {
top: "height",
left: "width"
-}, Ik = {
+}, Pk = {
width: "totalWidth",
height: "totalHeight"
-}, Lk = {}, Qse = () => typeof document < "u" ? window.visualViewport : null;
-function Rk(e, t) {
+}, Fk = {}, ece = () => typeof document < "u" ? window.visualViewport : null;
+function Ik(e, t) {
let n = 0, r = 0, i = 0, a = 0, o = 0, s = 0, c = {}, l = (t?.scale ?? 1) > 1;
if (e.tagName === "BODY" || e.tagName === "HTML") {
let l = document.documentElement;
i = l.clientWidth, a = l.clientHeight, n = t?.width ?? i, r = t?.height ?? a, c.top = l.scrollTop || e.scrollTop, c.left = l.scrollLeft || e.scrollLeft, t && (o = Math.max(0, t.pageTop - (c.top ?? 0)), s = Math.max(0, t.pageLeft - (c.left ?? 0)));
- } else ({width: n, height: r, top: o, left: s} = Wk(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
- return $S() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {
+ } else ({width: n, height: r, top: o, left: s} = Hk(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
+ return QS() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {
width: n,
height: r,
totalWidth: i,
@@ -28358,7 +28358,7 @@ function Rk(e, t) {
left: s
};
}
-function $se(e) {
+function tce(e) {
return {
top: e.scrollTop,
left: e.scrollLeft,
@@ -28366,11 +28366,11 @@ function $se(e) {
height: e.scrollHeight
};
}
-function zk(e, t, n, r, i, a, o) {
- let s = i.scroll[e] ?? 0, c = r[Fk[e]], l = o[e] + r.scroll[Nk[e]] + a, u = o[e] + r.scroll[Nk[e]] + c - a, d = t - s + r.scroll[Nk[e]] + o[e] - r[Nk[e]], f = t - s + n + r.scroll[Nk[e]] + o[e] - r[Nk[e]];
+function Lk(e, t, n, r, i, a, o) {
+ let s = i.scroll[e] ?? 0, c = r[Nk[e]], l = o[e] + r.scroll[jk[e]] + a, u = o[e] + r.scroll[jk[e]] + c - a, d = t - s + r.scroll[jk[e]] + o[e] - r[jk[e]], f = t - s + n + r.scroll[jk[e]] + o[e] - r[jk[e]];
return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;
}
-function ece(e) {
+function nce(e) {
let t = window.getComputedStyle(e);
return {
top: parseInt(t.marginTop, 10) || 0,
@@ -28379,55 +28379,55 @@ function ece(e) {
right: parseInt(t.marginRight, 10) || 0
};
}
-function Bk(e) {
- if (Lk[e]) return Lk[e];
- let [t, n] = e.split(" "), r = Nk[t] || "right", i = Zse[r];
- Nk[n] || (n = "center");
- let a = Fk[r], o = Fk[i];
- return Lk[e] = {
+function Rk(e) {
+ if (Fk[e]) return Fk[e];
+ let [t, n] = e.split(" "), r = jk[t] || "right", i = $se[r];
+ jk[n] || (n = "center");
+ let a = Nk[r], o = Nk[i];
+ return Fk[e] = {
placement: t,
crossPlacement: n,
axis: r,
crossAxis: i,
size: a,
crossSize: o
- }, Lk[e];
+ }, Fk[e];
}
-function Vk(e, t, n, r, i, a, o, s, c, l, u) {
+function zk(e, t, n, r, i, a, o, s, c, l, u) {
let { placement: d, crossPlacement: f, axis: p, crossAxis: m, size: h, crossSize: g } = r, _ = {};
_[m] = e[m] ?? 0, f === "center" ? _[m] += ((e[g] ?? 0) - (n[g] ?? 0)) / 2 : f !== m && (_[m] += (e[g] ?? 0) - (n[g] ?? 0)), _[m] += a;
let v = e[m] - n[g] + c + l, y = e[m] + e[g] - c - l;
- if (_[m] = lE(_[m], v, y), d === p) {
- let t = s ? u[h] : u[Ik[h]];
- _[Pk[p]] = Math.floor(t - e[p] + i);
+ if (_[m] = sE(_[m], v, y), d === p) {
+ let t = s ? u[h] : u[Pk[h]];
+ _[Mk[p]] = Math.floor(t - e[p] + i);
} else _[p] = Math.floor(e[p] + e[h] + i);
return _;
}
-function tce(e, t, n, r, i, a, o, s, c, l, u) {
- let d = (e.top == null ? c[Ik.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
+function rce(e, t, n, r, i, a, o, s, c, l, u) {
+ let d = (e.top == null ? c[Pk.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
top: Math.max(t.top + f, (u?.offsetTop ?? t.top) + f),
bottom: Math.min(t.top + t.height + f, (u?.offsetTop ?? 0) + (u?.height ?? 0))
};
return s === "top" ? Math.max(0, d + o - p.top - ((i.top ?? 0) + (i.bottom ?? 0) + a)) : Math.max(0, p.bottom - d - ((i.top ?? 0) + (i.bottom ?? 0) + a));
}
-function Hk(e, t, n, r, i, a, o, s) {
+function Bk(e, t, n, r, i, a, o, s) {
let { placement: c, axis: l, size: u } = a;
- return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[Pk[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[Pk[l]] - i);
+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[Mk[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[Mk[l]] - i);
}
-function nce(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
- let v = Bk(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Vk(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Hk(s, l, t, i, a + u, v, c, g);
+function ice(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
+ let v = Rk(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = zk(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Bk(s, l, t, i, a + u, v, c, g);
if (o && n[y] > E) {
- let e = Bk(`${Pk[S]} ${C}`), r = Vk(t, s, n, e, u, d, l, f, m, h, c);
- Hk(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
+ let e = Rk(`${Mk[S]} ${C}`), r = zk(t, s, n, e, u, d, l, f, m, h, c);
+ Bk(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
}
let D = "bottom";
v.axis === "top" ? v.placement === "top" ? D = "top" : v.placement === "bottom" && (D = "bottom") : v.crossAxis === "top" && (v.crossPlacement === "top" ? D = "bottom" : v.crossPlacement === "bottom" && (D = "top"));
- let O = zk(b, w[b], n[x], s, c, a, l);
+ let O = Lk(b, w[b], n[x], s, c, a, l);
w[b] += O;
- let k = tce(w, s, l, f, i, a, n.height, D, c, g, _);
- p && p < k && (k = p), n.height = Math.min(n.height, k), w = Vk(t, s, n, v, T, d, l, f, m, h, c), O = zk(b, w[b], n[x], s, c, a, l), w[b] += O;
- let A = {}, j = t[b] - w[b] - i[Nk[b]], M = j + .5 * t[x], ee = m / 2 + h, N = Nk[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - N - m / 2 - h;
- A[b] = lE(lE(M, t[b] + m / 2 - (w[b] + i[Nk[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Nk[b]])), ee, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
+ let k = rce(w, s, l, f, i, a, n.height, D, c, g, _);
+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = zk(t, s, n, v, T, d, l, f, m, h, c), O = Lk(b, w[b], n[x], s, c, a, l), w[b] += O;
+ let A = {}, j = t[b] - w[b] - i[jk[b]], M = j + .5 * t[x], ee = m / 2 + h, N = jk[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - N - m / 2 - h;
+ A[b] = sE(sE(M, t[b] + m / 2 - (w[b] + i[jk[b]]), t[b] + t[x] - m / 2 - (w[b] + i[jk[b]])), ee, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
let P = S === "left" || S === "top" ? n[y] : 0, ne = {
x: S === "top" || S === "bottom" ? j : P,
y: S === "left" || S === "right" ? j : P
@@ -28441,17 +28441,17 @@ function nce(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
triggerAnchorPoint: ne
};
}
-function rce(e) {
- let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = Qse(), h = r instanceof HTMLElement ? Kk(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Wk(n, !1, p) : Gk(n, h, !1, p);
+function ace(e) {
+ let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = ece(), h = r instanceof HTMLElement ? Wk(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Hk(n, !1, p) : Uk(n, h, !1, p);
if (!g) {
let { marginTop: e, marginLeft: t } = window.getComputedStyle(n);
y.top += parseInt(e, 10) || 0, y.left += parseInt(t, 10) || 0;
}
- let b = Wk(r, !0), x = ece(r);
+ let b = Hk(r, !0), x = nce(r);
b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);
- let S = $se(i), C = Rk(s, m), w = Rk(h, m), T;
+ let S = tce(i), C = Ik(s, m), w = Ik(h, m), T;
if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {
- let e = Uk(h, !1);
+ let e = Vk(h, !1);
T = {
top: -(e.top - C.top),
left: -(e.left - C.left),
@@ -28463,11 +28463,11 @@ function rce(e) {
left: 0,
width: 0,
height: 0
- } : Gk(s, h, !1);
- let E = NS(s, h);
- return nce(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
+ } : Uk(s, h, !1);
+ let E = MS(s, h);
+ return ice(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
}
-function Uk(e, t) {
+function Vk(e, t) {
let { top: n, left: r, width: i, height: a } = e.getBoundingClientRect();
return t && e instanceof e.ownerDocument.defaultView.HTMLElement && (i = e.offsetWidth, a = e.offsetHeight), {
top: n,
@@ -28476,8 +28476,8 @@ function Uk(e, t) {
height: a
};
}
-function Wk(e, t, n) {
- let { top: r, left: i, width: a, height: o } = n || Uk(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
+function Hk(e, t, n) {
+ let { top: r, left: i, width: a, height: o } = n || Vk(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
return {
top: r + s - l,
left: i + c - u,
@@ -28485,29 +28485,29 @@ function Wk(e, t, n) {
height: o
};
}
-function Gk(e, t, n, r) {
+function Uk(e, t, n, r) {
let i = window.getComputedStyle(e), a;
- if (i.position === "fixed") a = r || Uk(e, n);
+ if (i.position === "fixed") a = r || Vk(e, n);
else {
- a = Wk(e, n, r);
- let i = Wk(t, n), o = window.getComputedStyle(t);
+ a = Hk(e, n, r);
+ let i = Hk(t, n), o = window.getComputedStyle(t);
i.top += (parseInt(o.borderTopWidth, 10) || 0) - t.scrollTop, i.left += (parseInt(o.borderLeftWidth, 10) || 0) - t.scrollLeft, a.top -= i.top, a.left -= i.left;
}
return a.top -= parseInt(i.marginTop, 10) || 0, a.left -= parseInt(i.marginLeft, 10) || 0, a;
}
-function Kk(e) {
+function Wk(e) {
let t = e.offsetParent;
- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !qk(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !qk(t);) t = t.parentElement;
+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Gk(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Gk(t);) t = t.parentElement;
return t || document.documentElement;
}
-function qk(e) {
+function Gk(e) {
let t = window.getComputedStyle(e);
return t.transform !== "none" || /transform|perspective/.test(t.willChange) || t.filter !== "none" || t.contain === "paint" || "backdropFilter" in t && t.backdropFilter !== "none" || "WebkitBackdropFilter" in t && t.WebkitBackdropFilter !== "none";
}
// node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs
-var Jk = typeof document < "u" ? window.visualViewport : null;
-function ice(e) {
- let { direction: t } = Vw(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, F.useState)(null), x = [
+var Kk = typeof document < "u" ? window.visualViewport : null;
+function oce(e) {
+ let { direction: t } = zw(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, F.useState)(null), x = [
p,
s,
i.current,
@@ -28524,15 +28524,15 @@ function ice(e) {
g,
_,
n
- ], S = (0, F.useRef)(Jk?.scale);
+ ], S = (0, F.useRef)(Kk?.scale);
(0, F.useEffect)(() => {
- m && (S.current = Jk?.scale);
+ m && (S.current = Kk?.scale);
}, [m]);
let C = (0, F.useCallback)(() => {
- if (p === !1 || !m || !i.current || !r.current || !u || Jk?.scale !== S.current) return;
+ if (p === !1 || !m || !i.current || !r.current || !u || Kk?.scale !== S.current) return;
let e = null;
- if (o.current && IS(o.current)) {
- let t = PS()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
+ if (o.current && FS(o.current)) {
+ let t = NS()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
e = {
type: "top",
offset: (t?.top ?? 0) - n.top
@@ -28540,8 +28540,8 @@ function ice(e) {
}
let h = i.current;
!g && i.current && (h.style.top = "0px", h.style.bottom = "", h.style.maxHeight = (window.visualViewport?.height ?? window.innerHeight) + "px");
- let y = rce({
- placement: oce(s, t),
+ let y = ace({
+ placement: cce(s, t),
overlayNode: i.current,
targetNode: r.current,
scrollNode: o.current || i.current,
@@ -28551,28 +28551,28 @@ function ice(e) {
offset: d,
crossOffset: f,
maxHeight: g,
- arrowSize: n ?? (a?.current ? Uk(a.current, !0).width : 0),
+ arrowSize: n ?? (a?.current ? Vk(a.current, !0).width : 0),
arrowBoundaryOffset: _,
targetRect: v?.(r.current)
});
if (!y.position) return;
h.style.top = "", h.style.bottom = "", h.style.left = "", h.style.right = "", Object.keys(y.position).forEach((e) => h.style[e] = y.position[e] + "px"), h.style.maxHeight = y.maxHeight == null ? "" : y.maxHeight + "px";
- let x = PS();
+ let x = NS();
if (e && x && o.current) {
let t = x.getBoundingClientRect(), n = o.current.getBoundingClientRect(), r = t[e.type] - n[e.type];
o.current.scrollTop += r - e.offset;
}
b(y);
}, x);
- HS(C, x), ace(C), LO({
+ VS(C, x), sce(C), FO({
ref: i,
onResize: C
- }), LO({
+ }), FO({
ref: r,
onResize: C
});
let w = (0, F.useRef)(!1);
- HS(() => {
+ VS(() => {
let e, t = () => {
w.current = !0, clearTimeout(e), e = setTimeout(() => {
w.current = !1;
@@ -28580,16 +28580,16 @@ function ice(e) {
}, n = () => {
w.current && t();
};
- Jk?.addEventListener("resize", t), Jk?.addEventListener("scroll", n);
- let r = AS(FS(window), "scroll", n);
+ Kk?.addEventListener("resize", t), Kk?.addEventListener("scroll", n);
+ let r = kS(PS(window), "scroll", n);
return () => {
- Jk?.removeEventListener("resize", t), Jk?.removeEventListener("scroll", n), r();
+ Kk?.removeEventListener("resize", t), Kk?.removeEventListener("scroll", n), r();
};
}, [C]);
let T = (0, F.useCallback)(() => {
w.current || h?.();
}, [h, w]);
- return hse({
+ return _se({
triggerRef: r,
isOpen: m,
onClose: h && T
@@ -28615,24 +28615,24 @@ function ice(e) {
updatePosition: C
};
}
-function ace(e) {
- HS(() => (window.addEventListener("resize", e, !1), () => {
+function sce(e) {
+ VS(() => (window.addEventListener("resize", e, !1), () => {
window.removeEventListener("resize", e, !1);
}), [e]);
}
-function oce(e, t) {
+function cce(e, t) {
return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");
}
// node_modules/react-aria/dist/private/overlays/usePopover.mjs
-function sce(e, t) {
- let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = xk({
+function lce(e, t) {
+ let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = yk({
isOpen: t.isOpen,
onClose: t.close,
shouldCloseOnBlur: !0,
isDismissable: !a || l,
isKeyboardDismissDisabled: o,
shouldCloseOnInteractOutside: s
- }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = ice({
+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = oce({
...c,
targetRef: n,
overlayRef: r,
@@ -28640,15 +28640,15 @@ function sce(e, t) {
onClose: a && !l ? t.close : null,
getTargetRect: c.getTargetRect ?? (t.point ? () => new DOMRect(t.point.x, t.point.y, 0, 0) : void 0)
});
- Ak({ isDisabled: a || !t.isOpen }), (0, F.useEffect)(() => {
- if (t.isOpen && r.current) return a ? wE(i?.current ?? r.current) : CE([i?.current ?? r.current], { shouldUseInert: !0 });
+ Ok({ isDisabled: a || !t.isOpen }), (0, F.useEffect)(() => {
+ if (t.isOpen && r.current) return a ? SE(i?.current ?? r.current) : xE([i?.current ?? r.current], { shouldUseInert: !0 });
}, [
a,
t.isOpen,
r,
i
]);
- let { focusWithinProps: g } = oE(e);
+ let { focusWithinProps: g } = iE(e);
return {
popoverProps: K(u, f, g),
arrowProps: p,
@@ -28658,12 +28658,12 @@ function sce(e, t) {
};
}
// node_modules/react-aria/dist/private/radio/utils.mjs
-var Yk = /* @__PURE__ */ new WeakMap();
+var qk = /* @__PURE__ */ new WeakMap();
// node_modules/react-aria/dist/private/radio/useRadio.mjs
-function cce(e, t, n) {
+function uce(e, t, n) {
let { value: r, children: i, "aria-label": a, "aria-labelledby": o, onPressStart: s, onPressEnd: c, onPressChange: l, onPress: u, onPressUp: d, onClick: f } = e, p = e.isDisabled || t.isDisabled, m = t.selectedValue === r, h = (e) => {
e.stopPropagation(), t.setSelectedValue(r);
- }, { pressProps: g, isPressed: _ } = lT({
+ }, { pressProps: g, isPressed: _ } = sT({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -28671,7 +28671,7 @@ function cce(e, t, n) {
onPressUp: d,
onClick: f,
isDisabled: p
- }), { pressProps: v, isPressed: y } = lT({
+ }), { pressProps: v, isPressed: y } = sT({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -28681,11 +28681,11 @@ function cce(e, t, n) {
onPress(e) {
u?.(e), t.setSelectedValue(r), n.current?.focus();
}
- }), { focusableProps: b } = aw(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = Yw(e, { labelable: !0 }), C = -1;
+ }), { focusableProps: b } = rw(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = qw(e, { labelable: !0 }), C = -1;
t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (C = 0) : t.selectedValue === r && (C = 0), p && (C = void 0);
- let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = Yk.get(t);
- GT(n, t.defaultSelectedValue, t.setSelectedValue), KT({ validationBehavior: O }, t, n);
- let k = qT();
+ let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = qk.get(t);
+ UT(n, t.defaultSelectedValue, t.setSelectedValue), WT({ validationBehavior: O }, t, n);
+ let k = GT();
return {
labelProps: K(v, (0, F.useMemo)(() => ({
onClick: (e) => e.preventDefault(),
@@ -28716,13 +28716,13 @@ function cce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/radio/useRadioGroup.mjs
-function lce(e, t) {
- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Vw(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = aE({
+function dce(e, t) {
+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = zw(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = rE({
...e,
labelElementType: "span",
isInvalid: t.isInvalid,
errorMessage: e.errorMessage || d
- }), _ = Yw(e, { labelable: !0 }), { focusWithinProps: v } = oE({
+ }), _ = qw(e, { labelable: !0 }), { focusWithinProps: v } = iE({
onBlurWithin(n) {
e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);
},
@@ -28730,13 +28730,13 @@ function lce(e, t) {
onFocusWithinChange: e.onFocusChange
});
function y(e, n) {
- let r = jT(n.currentTarget, {
+ let r = kT(n.currentTarget, {
from: G(n),
- accept: (e) => e instanceof DS(e).HTMLInputElement && e.type === "radio"
+ accept: (e) => e instanceof ES(e).HTMLInputElement && e.type === "radio"
}), i;
return e === "next" ? (i = r.nextNode(), i ||= (r.currentNode = n.currentTarget, r.firstChild())) : (i = r.previousNode(), i ||= (r.currentNode = n.currentTarget, r.lastChild())), i ? (i.focus(), t.setSelectedValue(i.value), !0) : !1;
}
- let { keyboardProps: b } = tw({
+ let { keyboardProps: b } = $C({
shortcuts: {
ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),
ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),
@@ -28744,8 +28744,8 @@ function lce(e, t) {
ArrowUp: (e) => y("prev", e)
},
allowRepeats: !0
- }), x = GC(n);
- return Yk.set(t, {
+ }), x = UC(n);
+ return qk.set(t, {
name: x,
form: r,
descriptionId: h.id,
@@ -28773,21 +28773,21 @@ function lce(e, t) {
};
}
// node_modules/react-aria/dist/private/select/useSelect.mjs
-var Xk = /* @__PURE__ */ new WeakMap();
-function uce(e, t, n) {
- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = OD({
+var Jk = /* @__PURE__ */ new WeakMap();
+function fce(e, t, n) {
+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = ED({
usage: "search",
sensitivity: "base"
- }), u = (0, F.useMemo)(() => r || new AE(t.collection, t.disabledKeys, n, l), [
+ }), u = (0, F.useMemo)(() => r || new OE(t.collection, t.disabledKeys, n, l), [
r,
t.collection,
t.disabledKeys,
l,
n
- ]), { menuTriggerProps: d, menuProps: f } = mD({
+ ]), { menuTriggerProps: d, menuProps: f } = fD({
isDisabled: i,
type: "listbox"
- }, t, n), { keyboardProps: p } = tw({
+ }, t, n), { keyboardProps: p } = $C({
shortcuts: {
ArrowLeft: () => {
if (t.selectionManager.selectionMode === "multiple") return !1;
@@ -28803,21 +28803,21 @@ function uce(e, t, n) {
allowRepeats: !0,
onKeyDown: e.onKeyDown,
onKeyUp: e.onKeyUp
- }), { typeSelectProps: m } = gD({
+ }), { typeSelectProps: m } = mD({
keyboardDelegate: u,
selectionManager: t.selectionManager,
onTypeSelect(e) {
t.setSelectedKey(e);
}
- }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = aE({
+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = rE({
...e,
labelElementType: "span",
isInvalid: h,
errorMessage: e.errorMessage || g
});
t.selectionManager.selectionMode === "multiple" && (m = {});
- let S = Yw(e, { labelable: !0 }), C = K(m, d, y), w = GC();
- return Xk.set(t, {
+ let S = qw(e, { labelable: !0 }), C = K(m, d, y), w = UC();
+ return Jk.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -28827,13 +28827,13 @@ function uce(e, t, n) {
labelProps: {
...v,
onClick: () => {
- e.isDisabled || (n.current?.focus(), AC("keyboard"));
+ e.isDisabled || (n.current?.focus(), OC("keyboard"));
}
},
triggerProps: K(S, {
...C,
isDisabled: i,
- onKeyDown: VC(C.onKeyDown, p.onKeyDown),
+ onKeyDown: zC(C.onKeyDown, p.onKeyDown),
onKeyUp: p.onKeyUp,
"aria-labelledby": [
w,
@@ -28857,7 +28857,7 @@ function uce(e, t, n) {
disallowEmptySelection: !0,
linkBehavior: "selection",
onBlur: (n) => {
- NS(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
+ MS(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
},
"aria-labelledby": [y["aria-labelledby"], C["aria-label"] && !y["aria-labelledby"] ? C.id : null].filter(Boolean).join(" ")
},
@@ -28877,13 +28877,13 @@ function uce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-function dce(e, t, n) {
- let r = Xk.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = gE({ style: {
+function pce(e, t, n) {
+ let r = Jk.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = mE({ style: {
position: "fixed",
top: 0,
left: 0
} });
- GT(e.selectRef, t.defaultValue, t.setValue), KT({
+ UT(e.selectRef, t.defaultValue, t.setValue), WT({
validationBehavior: c,
focus: () => n.current?.focus()
}, t, e.selectRef);
@@ -28913,8 +28913,8 @@ function dce(e, t, n) {
}
};
}
-function fce(e) {
- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, F.useRef)(null), c = (0, F.useRef)(null), { containerProps: l, selectProps: u } = dce({
+function mce(e) {
+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, F.useRef)(null), c = (0, F.useRef)(null), { containerProps: l, selectProps: u } = pce({
...e,
selectRef: t.collection.size <= 300 ? s : c
}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];
@@ -28938,7 +28938,7 @@ function fce(e) {
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = Xk.get(t) || {};
+ let { validationBehavior: e } = Jk.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -28968,8 +28968,8 @@ function fce(e) {
return null;
}
// node_modules/react-aria/dist/private/separator/useSeparator.mjs
-function pce(e) {
- let t = Yw(e, { labelable: !0 }), n;
+function hce(e) {
+ let t = qw(e, { labelable: !0 }), n;
return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {
...t,
role: "separator",
@@ -28977,8 +28977,8 @@ function pce(e) {
} };
}
// node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function mce(e, t, n) {
- let { labelProps: r, inputProps: i, isSelected: a, ...o } = nE(e, t, n);
+function gce(e, t, n) {
+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = eE(e, t, n);
return {
labelProps: r,
inputProps: {
@@ -28991,10 +28991,10 @@ function mce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var Zk = class {
+var Yk = class {
constructor(e) {
if (this.collection = e.collection, this.disabledKeys = e.disabledKeys, this.disabledBehavior = e.disabledBehavior || "all", this.direction = e.direction, this.collator = e.collator, !e.layout && !e.ref) throw Error("Either a layout or a ref must be specified.");
- this.layoutDelegate = e.layoutDelegate || (e.layout ? new hce(e.layout) : new kE(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new _ce(e.layout) : new DE(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -29030,7 +29030,7 @@ var Zk = class {
let n = this.collection.getItem(e);
if (!n) return null;
let r = 0;
- for (let e of yD(n, this.collection)) {
+ for (let e of _D(n, this.collection)) {
if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;
r++;
}
@@ -29064,13 +29064,13 @@ var Zk = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = yD(t, this.collection);
- return (this.direction === "rtl" ? SD(e)?.key : bD(e)?.key) ?? null;
+ let e = _D(t, this.collection);
+ return (this.direction === "rtl" ? bD(e)?.key : vD(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = yD(n, this.collection), i = (this.direction === "rtl" ? xD(r, t.index - 1) : xD(r, t.index + 1)) ?? null;
+ let r = _D(n, this.collection), i = (this.direction === "rtl" ? yD(r, t.index - 1) : yD(r, t.index + 1)) ?? null;
return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getFirstKey(e) : this.getLastKey(e)) ?? null;
}
return null;
@@ -29079,13 +29079,13 @@ var Zk = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = yD(t, this.collection);
- return (this.direction === "rtl" ? bD(e)?.key : SD(e)?.key) ?? null;
+ let e = _D(t, this.collection);
+ return (this.direction === "rtl" ? vD(e)?.key : bD(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = yD(n, this.collection), i = (this.direction === "rtl" ? xD(r, t.index + 1) : xD(r, t.index - 1)) ?? null;
+ let r = _D(n, this.collection), i = (this.direction === "rtl" ? yD(r, t.index + 1) : yD(r, t.index - 1)) ?? null;
return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getLastKey(e) : this.getFirstKey(e)) ?? null;
}
return null;
@@ -29096,13 +29096,13 @@ var Zk = class {
if (r = this.collection.getItem(n), !r) return null;
if (this.isCell(r) && !t && r.parentKey != null) {
let e = this.collection.getItem(r.parentKey);
- return e ? bD(yD(e, this.collection))?.key ?? null : null;
+ return e ? vD(_D(e, this.collection))?.key ?? null : null;
}
}
if (n = this.findNextKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {
let e = this.collection.getItem(n);
if (!e) return null;
- n = bD(yD(e, this.collection))?.key ?? null;
+ n = vD(_D(e, this.collection))?.key ?? null;
}
return n;
}
@@ -29112,13 +29112,13 @@ var Zk = class {
if (r = this.collection.getItem(n), !r) return null;
if (this.isCell(r) && !t && r.parentKey != null) {
let e = this.collection.getItem(r.parentKey);
- return e ? SD(yD(e, this.collection))?.key ?? null : null;
+ return e ? bD(_D(e, this.collection))?.key ?? null : null;
}
}
if (n = this.findPreviousKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {
let e = this.collection.getItem(n);
if (!e) return null;
- n = SD(yD(e, this.collection))?.key ?? null;
+ n = bD(_D(e, this.collection))?.key ?? null;
}
return n;
}
@@ -29154,13 +29154,13 @@ var Zk = class {
if (!t) return null;
if (t.textValue) {
let n = t.textValue.slice(0, e.length);
- if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? bD(yD(t, this.collection))?.key ?? null : t.key;
+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? vD(_D(t, this.collection))?.key ?? null : t.key;
}
n = this.findNextKey(n, (e) => e.type === "item"), n == null && !a && (n = this.getFirstKey(), a = !0);
}
return null;
}
-}, hce = class {
+}, _ce = class {
constructor(e) {
this.layout = e;
}
@@ -29173,15 +29173,15 @@ var Zk = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, Qk = /* @__PURE__ */ new WeakMap();
+}, Xk = /* @__PURE__ */ new WeakMap();
// node_modules/react-aria/dist/private/grid/useGrid.mjs
-function gce(e, t, n) {
+function vce(e, t, n) {
let { isVirtualized: r, disallowTypeAhead: i, keyboardDelegate: a, focusMode: o, scrollRef: s, getRowText: c, onRowAction: l, onCellAction: u, escapeKeyBehavior: d = "clearSelection", shouldSelectOnPressUp: f, keyboardNavigationBehavior: p = "arrow" } = e, { selectionManager: m } = t;
!e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
- let h = OD({
+ let h = ED({
usage: "search",
sensitivity: "base"
- }), { direction: g } = Vw(), _ = t.selectionManager.disabledBehavior, v = (0, F.useMemo)(() => a || new Zk({
+ }), { direction: g } = zw(), _ = t.selectionManager.disabledBehavior, v = (0, F.useMemo)(() => a || new Yk({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -29198,7 +29198,7 @@ function gce(e, t, n) {
g,
h,
o
- ]), { collectionProps: y } = vD({
+ ]), { collectionProps: y } = gD({
ref: n,
selectionManager: m,
keyboardDelegate: v,
@@ -29206,8 +29206,8 @@ function gce(e, t, n) {
scrollRef: s,
disallowTypeAhead: i,
escapeKeyBehavior: d
- }), b = GC(e.id);
- Qk.set(t, {
+ }), b = UC(e.id);
+ Xk.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -29216,42 +29216,42 @@ function gce(e, t, n) {
shouldSelectOnPressUp: f,
keyboardNavigationBehavior: p
});
- let x = DO({
+ let x = TO({
selectionManager: m,
hasItemActions: !!(l || u)
- }), S = Yw(e, { labelable: !0 }), C = (0, F.useCallback)((e) => {
- m.isFocused ? NS(e.currentTarget, G(e)) || m.setFocused(!1) : NS(e.currentTarget, G(e)) && m.setFocused(!0);
+ }), S = qw(e, { labelable: !0 }), C = (0, F.useCallback)((e) => {
+ m.isFocused ? MS(e.currentTarget, G(e)) || m.setFocused(!1) : MS(e.currentTarget, G(e)) && m.setFocused(!0);
}, [m]), w = (0, F.useMemo)(() => ({
onBlur: y.onBlur,
onFocus: C
- }), [C, y.onBlur]), T = EO(n, { isDisabled: t.collection.size !== 0 }), E = K(S, {
+ }), [C, y.onBlur]), T = wO(n, { isDisabled: t.collection.size !== 0 }), E = K(S, {
role: "grid",
id: b,
"aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0
}, t.isKeyboardNavigationDisabled ? w : y, t.collection.size === 0 && { tabIndex: T ? -1 : 0 } || void 0, x);
- return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), wO({ getRowText: c }, t), { gridProps: E };
+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), SO({ getRowText: c }, t), { gridProps: E };
}
// node_modules/react-aria/dist/private/table/utils.mjs
-var $k = /* @__PURE__ */ new WeakMap();
-function eA(e) {
+var Zk = /* @__PURE__ */ new WeakMap();
+function Qk(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function tA(e, t) {
- let n = $k.get(e);
+function $k(e, t) {
+ let n = Zk.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${eA(t)}`;
+ return `${n}-${Qk(t)}`;
}
-function nA(e, t, n) {
- let r = $k.get(e);
+function eA(e, t, n) {
+ let r = Zk.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${eA(t)}-${eA(n)}`;
+ return `${r}-${Qk(t)}-${Qk(n)}`;
}
-function rA(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => nA(e, t, n)).join(" ");
+function tA(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => eA(e, t, n)).join(" ");
}
// node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var iA = {};
-iA = {
+var nA = {};
+nA = {
ascending: "تصاعدي",
ascendingSort: (e) => `\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{635}\u{627}\u{639}\u{62F}\u{64A}`,
collapse: "طي",
@@ -29265,8 +29265,8 @@ iA = {
sortable: "عمود قابل للترتيب"
};
// node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var aA = {};
-aA = {
+var rA = {};
+rA = {
ascending: "възходящ",
ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432}\u{44A}\u{432} \u{432}\u{44A}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,
collapse: "Свиване",
@@ -29280,8 +29280,8 @@ aA = {
sortable: "сортираща колона"
};
// node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var oA = {};
-oA = {
+var iA = {};
+iA = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -29295,8 +29295,8 @@ oA = {
sortable: "sloupec s možností řazení"
};
// node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var sA = {};
-sA = {
+var aA = {};
+aA = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -29310,8 +29310,8 @@ sA = {
sortable: "sorterbar kolonne"
};
// node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var cA = {};
-cA = {
+var oA = {};
+oA = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -29325,8 +29325,8 @@ cA = {
sortable: "sortierbare Spalte"
};
// node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var lA = {};
-lA = {
+var sA = {};
+sA = {
ascending: "αύξουσα",
ascendingSort: (e) => `\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3B1}\u{3CD}\u{3BE}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,
collapse: "Σύμπτυξη",
@@ -29340,8 +29340,8 @@ lA = {
sortable: "Στήλη διαλογής"
};
// node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var uA = {};
-uA = {
+var cA = {};
+cA = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -29355,8 +29355,8 @@ uA = {
collapse: "Collapse"
};
// node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var dA = {};
-dA = {
+var lA = {};
+lA = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -29370,8 +29370,8 @@ dA = {
sortable: "columna ordenable"
};
// node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var fA = {};
-fA = {
+var uA = {};
+uA = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -29385,8 +29385,8 @@ fA = {
sortable: "sorditav veerg"
};
// node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var pA = {};
-pA = {
+var dA = {};
+dA = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -29400,8 +29400,8 @@ pA = {
sortable: "lajiteltava sarake"
};
// node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var mA = {};
-mA = {
+var fA = {};
+fA = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -29415,8 +29415,8 @@ mA = {
sortable: "colonne triable"
};
// node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var hA = {};
-hA = {
+var pA = {};
+pA = {
ascending: "עולה",
ascendingSort: (e) => `\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5E2}\u{5D5}\u{5DC}\u{5D4}`,
collapse: "כווץ",
@@ -29430,8 +29430,8 @@ hA = {
sortable: "עמודה שניתן למיין"
};
// node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var gA = {};
-gA = {
+var mA = {};
+mA = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -29445,8 +29445,8 @@ gA = {
sortable: "stupac koji se može razvrstati"
};
// node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var _A = {};
-_A = {
+var hA = {};
+hA = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -29460,8 +29460,8 @@ _A = {
sortable: "rendezendő oszlop"
};
// node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var vA = {};
-vA = {
+var gA = {};
+gA = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -29475,8 +29475,8 @@ vA = {
sortable: "colonna ordinabile"
};
// node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var yA = {};
-yA = {
+var _A = {};
+_A = {
ascending: "昇順",
ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
collapse: "折りたたむ",
@@ -29490,8 +29490,8 @@ yA = {
sortable: "並べ替え可能な列"
};
// node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var bA = {};
-bA = {
+var vA = {};
+vA = {
ascending: "오름차순",
ascendingSort: (e) => `${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{C624}\u{B984}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,
collapse: "접기",
@@ -29505,8 +29505,8 @@ bA = {
sortable: "정렬 가능한 열"
};
// node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var xA = {};
-xA = {
+var yA = {};
+yA = {
ascending: "didėjančia tvarka",
ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,
collapse: "Sutraukti",
@@ -29520,8 +29520,8 @@ xA = {
sortable: "rikiuojamas stulpelis"
};
// node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var SA = {};
-SA = {
+var bA = {};
+bA = {
ascending: "augošā secībā",
ascendingSort: (e) => `k\u{101}rtots p\u{113}c kolonnas ${e.columnName} augo\u{161}\u{101} sec\u{12B}b\u{101}`,
collapse: "Sakļaut",
@@ -29535,8 +29535,8 @@ SA = {
sortable: "kārtojamā kolonna"
};
// node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var CA = {};
-CA = {
+var xA = {};
+xA = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -29550,8 +29550,8 @@ CA = {
sortable: "kolonne som kan sorteres"
};
// node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var wA = {};
-wA = {
+var SA = {};
+SA = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -29565,8 +29565,8 @@ wA = {
sortable: "sorteerbare kolom"
};
// node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var TA = {};
-TA = {
+var CA = {};
+CA = {
ascending: "rosnąco",
ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,
collapse: "Zwiń",
@@ -29580,8 +29580,8 @@ TA = {
sortable: "kolumna z możliwością sortowania"
};
// node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var EA = {};
-EA = {
+var wA = {};
+wA = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -29595,8 +29595,8 @@ EA = {
sortable: "coluna classificável"
};
// node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var DA = {};
-DA = {
+var TA = {};
+TA = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -29610,8 +29610,8 @@ DA = {
sortable: "Coluna ordenável"
};
// node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var OA = {};
-OA = {
+var EA = {};
+EA = {
ascending: "crescătoare",
ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,
collapse: "Restrângeți",
@@ -29625,8 +29625,8 @@ OA = {
sortable: "coloană sortabilă"
};
// node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var kA = {};
-kA = {
+var DA = {};
+DA = {
ascending: "возрастание",
ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{432}\u{43E}\u{437}\u{440}\u{430}\u{441}\u{442}\u{430}\u{43D}\u{438}\u{44F}`,
collapse: "Свернуть",
@@ -29640,8 +29640,8 @@ kA = {
sortable: "сортируемый столбец"
};
// node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var AA = {};
-AA = {
+var OA = {};
+OA = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -29655,8 +29655,8 @@ AA = {
sortable: "zoraditeľný stĺpec"
};
// node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var jA = {};
-jA = {
+var kA = {};
+kA = {
ascending: "naraščajoče",
ascendingSort: (e) => `razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v nara\u{161}\u{10D}ajo\u{10D}em vrstnem redu`,
collapse: "Strni",
@@ -29670,8 +29670,8 @@ jA = {
sortable: "razvrstljivi stolpec"
};
// node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var MA = {};
-MA = {
+var AA = {};
+AA = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -29685,8 +29685,8 @@ MA = {
sortable: "kolona koja se može sortirati"
};
// node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var NA = {};
-NA = {
+var jA = {};
+jA = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -29700,8 +29700,8 @@ NA = {
sortable: "sorterbar kolumn"
};
// node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var PA = {};
-PA = {
+var MA = {};
+MA = {
ascending: "artan sırada",
ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,
collapse: "Daralt",
@@ -29715,8 +29715,8 @@ PA = {
sortable: "Sıralanabilir sütun"
};
// node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var FA = {};
-FA = {
+var NA = {};
+NA = {
ascending: "висхідний",
ascendingSort: (e) => `\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{432}\u{438}\u{441}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,
collapse: "Згорнути",
@@ -29730,8 +29730,8 @@ FA = {
sortable: "сортувальний стовпець"
};
// node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var IA = {};
-IA = {
+var PA = {};
+PA = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -29745,8 +29745,8 @@ IA = {
sortable: "可排序的列"
};
// node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var LA = {};
-LA = {
+var FA = {};
+FA = {
ascending: "遞增",
ascendingSort: (e) => `\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{589E}\u{6392}\u{5E8F}`,
collapse: "收合",
@@ -29760,45 +29760,45 @@ LA = {
sortable: "可排序的欄"
};
// node_modules/react-aria/dist/private/table/intlStrings.mjs
-var RA = {};
-RA = {
- "ar-AE": iA,
- "bg-BG": aA,
- "cs-CZ": oA,
- "da-DK": sA,
- "de-DE": cA,
- "el-GR": lA,
- "en-US": uA,
- "es-ES": dA,
- "et-EE": fA,
- "fi-FI": pA,
- "fr-FR": mA,
- "he-IL": hA,
- "hr-HR": gA,
- "hu-HU": _A,
- "it-IT": vA,
- "ja-JP": yA,
- "ko-KR": bA,
- "lt-LT": xA,
- "lv-LV": SA,
- "nb-NO": CA,
- "nl-NL": wA,
- "pl-PL": TA,
- "pt-BR": EA,
- "pt-PT": DA,
- "ro-RO": OA,
- "ru-RU": kA,
- "sk-SK": AA,
- "sl-SI": jA,
- "sr-SP": MA,
- "sv-SE": NA,
- "tr-TR": PA,
- "uk-UA": FA,
- "zh-CN": IA,
- "zh-TW": LA
+var IA = {};
+IA = {
+ "ar-AE": nA,
+ "bg-BG": rA,
+ "cs-CZ": iA,
+ "da-DK": aA,
+ "de-DE": oA,
+ "el-GR": sA,
+ "en-US": cA,
+ "es-ES": lA,
+ "et-EE": uA,
+ "fi-FI": dA,
+ "fr-FR": fA,
+ "he-IL": pA,
+ "hr-HR": mA,
+ "hu-HU": hA,
+ "it-IT": gA,
+ "ja-JP": _A,
+ "ko-KR": vA,
+ "lt-LT": yA,
+ "lv-LV": bA,
+ "nb-NO": xA,
+ "nl-NL": SA,
+ "pl-PL": CA,
+ "pt-BR": wA,
+ "pt-PT": TA,
+ "ro-RO": EA,
+ "ru-RU": DA,
+ "sk-SK": OA,
+ "sl-SI": kA,
+ "sr-SP": AA,
+ "sv-SE": jA,
+ "tr-TR": MA,
+ "uk-UA": NA,
+ "zh-CN": PA,
+ "zh-TW": FA
};
// node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var _ce = class extends Zk {
+var yce = class extends Yk {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -29806,7 +29806,7 @@ var _ce = class extends Zk {
let n = this.collection.getItem(e);
if (!n) return null;
if (n.type === "column") {
- let e = bD(yD(n, this.collection));
+ let e = vD(_D(n, this.collection));
if (e) return e.key;
let t = this.getFirstKey();
return t == null || !this.collection.getItem(t) ? null : super.getKeyForItemInRowByIndex(t, n.index);
@@ -29827,13 +29827,13 @@ var _ce = class extends Zk {
let t = this.findNextKey(e.key, (e) => e.type === "column");
if (t != null) return t;
let n = this.collection.headerRows[e.level];
- for (let e of yD(n, this.collection)) if (e.type === "column") return e.key;
+ for (let e of _D(n, this.collection)) if (e.type === "column") return e.key;
return null;
}
findPreviousColumnKey(e) {
let t = this.findPreviousKey(e.key, (e) => e.type === "column");
if (t != null) return t;
- let n = this.collection.headerRows[e.level], r = [...yD(n, this.collection)];
+ let n = this.collection.headerRows[e.level], r = [..._D(n, this.collection)];
for (let e = r.length - 1; e >= 0; e--) {
let t = r[e];
if (t.type === "column") return t.key;
@@ -29862,7 +29862,7 @@ var _ce = class extends Zk {
let t = o.textValue.slice(0, e.length);
if (this.collator.compare(t, e) === 0) return o.key;
}
- for (let r of yD(o, this.collection)) {
+ for (let r of _D(o, this.collection)) {
let a = n.columns[r.index];
if (n.rowHeaderColumnKeys.has(a.key) && r.textValue) {
let a = r.textValue.slice(0, e.length);
@@ -29875,14 +29875,14 @@ var _ce = class extends Zk {
}
};
// node_modules/react-aria/dist/private/table/useTable.mjs
-function vce(e) {
+function bce(e) {
return e && e.__esModule ? e.default : e;
}
-function yce(e, t, n) {
- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = OD({
+function xce(e, t, n) {
+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = ED({
usage: "search",
sensitivity: "base"
- }), { direction: c } = Vw(), l = t.selectionManager.disabledBehavior, u = (0, F.useMemo)(() => r || new _ce({
+ }), { direction: c } = zw(), l = t.selectionManager.disabledBehavior, u = (0, F.useMemo)(() => r || new yce({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -29901,51 +29901,51 @@ function yce(e, t, n) {
s,
a,
o
- ]), d = GC(e.id);
- $k.set(t, d);
- let { gridProps: f } = gce({
+ ]), d = UC(e.id);
+ Zk.set(t, d);
+ let { gridProps: f } = vce({
...e,
id: d,
keyboardDelegate: u
}, t, n);
i && (f["aria-rowcount"] = t.collection.size + t.collection.headerRows.length), t.treeColumn != null && (f.role = "treegrid");
- let { column: p, direction: m } = t.sortDescriptor || {}, h = qw(vce(RA), "@react-aria/table"), g = (0, F.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = Gw(bce(IA), "@react-aria/table"), g = (0, F.useMemo)(() => {
let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";
return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;
}, [
m,
p,
t.collection.columns
- ]), _ = WT(g);
- return LT(() => {
- g && IT(g, "assertive", 500);
+ ]), _ = HT(g);
+ return FT(() => {
+ g && PT(g, "assertive", 500);
}, [g]), { gridProps: K(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };
}
// node_modules/react-aria/dist/private/grid/useGridCell.mjs
-function zA(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Vw(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = Qk.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = () => {
+function LA(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = zw(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = Xk.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = () => {
if (n.current) {
- let e = jT(n.current);
+ let e = kT(n.current);
if (p === "child") {
- let i = PS(ES(n.current));
- if (IS(n.current) && n.current !== i) return;
- let a = ES(n.current);
+ let i = NS(TS(n.current));
+ if (FS(n.current) && n.current !== i) return;
+ let a = TS(n.current);
if (!i || i === a.body || i === n.current) {
let e = h.current;
- if (e && m.current === r.key && NS(n.current, e)) {
- BC(e);
+ if (e && m.current === r.key && MS(n.current, e)) {
+ RC(e);
return;
}
}
- let o = t.selectionManager.childFocusStrategy === "last" ? BA(e) : e.firstChild();
+ let o = t.selectionManager.childFocusStrategy === "last" ? RA(e) : e.firstChild();
if (o) {
- BC(o);
+ RC(o);
return;
}
}
- (m.current != null && r.key !== m.current || !IS(n.current)) && BC(n.current);
+ (m.current != null && r.key !== m.current || !FS(n.current)) && RC(n.current);
}
- }, { itemProps: _, isPressed: v } = kO({
+ }, { itemProps: _, isPressed: v } = DO({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -29957,44 +29957,44 @@ function zA(e, t, n) {
}), y = K(_, {
role: "gridcell",
onKeyDownCapture: f !== "tab" || o ? (e) => {
- let i = PS(ES(n.current));
- if (!NS(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
- let a = jT(n.current);
+ let i = NS(TS(n.current));
+ if (!MS(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
+ let a = kT(n.current);
switch (a.currentNode = i, e.key) {
case "ArrowLeft": {
let t = l === "rtl" ? a.nextNode() : a.previousNode();
- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) BC(t), HT(t, { containingElement: zT(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) RC(t), BT(t, { containingElement: LT(n.current) });
else {
if (u.getKeyLeftOf?.(r.key) !== r.key) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "rtl" ? (BC(n.current), HT(n.current, { containingElement: zT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : BA(a), t && (BC(t), HT(t, { containingElement: zT(n.current) })));
+ p === "cell" && l === "rtl" ? (RC(n.current), BT(n.current, { containingElement: LT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : RA(a), t && (RC(t), BT(t, { containingElement: LT(n.current) })));
}
break;
}
case "ArrowRight": {
let t = l === "rtl" ? a.previousNode() : a.nextNode();
- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) BC(t), HT(t, { containingElement: zT(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) RC(t), BT(t, { containingElement: LT(n.current) });
else {
if (u.getKeyRightOf?.(r.key) !== r.key) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "ltr" ? (BC(n.current), HT(n.current, { containingElement: zT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? BA(a) : a.firstChild(), t && (BC(t), HT(t, { containingElement: zT(n.current) })));
+ p === "cell" && l === "ltr" ? (RC(n.current), BT(n.current, { containingElement: LT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? RA(a) : a.firstChild(), t && (RC(t), BT(t, { containingElement: LT(n.current) })));
}
break;
}
case "ArrowUp":
- case "ArrowDown": !e.altKey && NS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
+ case "ArrowDown": !e.altKey && MS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
}
} : void 0,
onKeyDown: f === "tab" ? (e) => {
- let r = PS(ES(n.current));
- if (NS(e.currentTarget, G(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {
+ let r = NS(TS(n.current));
+ if (MS(e.currentTarget, G(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {
if (f === "tab" && G(e) !== n.current && e.key !== "Tab") e.stopPropagation();
else if (e.key === "Tab" && f === "tab") {
- let t = jT(n.current, { tabbable: !0 });
+ let t = kT(n.current, { tabbable: !0 });
t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
@@ -30005,9 +30005,9 @@ function zA(e, t, n) {
onFocus: (e) => {
if (m.current = r.key, G(e) !== n.current) {
let i = G(e);
- n.current && NS(n.current, i) && (h.current = i), OC() || t.selectionManager.setFocusedKey(r.key);
- } else p === "child" && e.relatedTarget && NS(n.current, e.relatedTarget) || requestAnimationFrame(() => {
- p === "child" && PS(ES(n.current)) === n.current && g();
+ n.current && MS(n.current, i) && (h.current = i), EC() || t.selectionManager.setFocusedKey(r.key);
+ } else p === "child" && e.relatedTarget && MS(n.current, e.relatedTarget) || requestAnimationFrame(() => {
+ p === "child" && NS(TS(n.current)) === n.current && g();
});
},
...p === "child" && f === "tab" ? { tabIndex: -1 } : {}
@@ -30022,7 +30022,7 @@ function zA(e, t, n) {
isPressed: v
};
}
-function BA(e) {
+function RA(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -30030,32 +30030,32 @@ function BA(e) {
return t;
}
// node_modules/react-aria/dist/private/table/useTableCell.mjs
-function bce(e, t, n) {
- let { gridCellProps: r, isPressed: i } = zA(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = nA(t, e.node.parentKey, a)), {
+function Sce(e, t, n) {
+ let { gridCellProps: r, isPressed: i } = LA(e, t, n), a = e.node.column?.key;
+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = eA(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
};
}
// node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function xce(e) {
+function Cce(e) {
return e && e.__esModule ? e.default : e;
}
-function Sce(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = zA({
+function wce(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = LA({
focusMode: "child",
...e
- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = lT({
+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = sT({
isDisabled: !i || o,
onPress() {
t.sort(r.key);
},
ref: n
- }), { focusableProps: l } = aw({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
- r.props.allowsSorting && !tC() && (u = d ? f : "none");
- let p = qw(xce(RA), "@react-aria/table"), m;
- i && (m = `${p.format("sortable")}`, d && f && tC() && (m = `${m}, ${p.format(f)}`));
- let h = WT(m), g = t.collection.size === 0;
+ }), { focusableProps: l } = rw({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
+ r.props.allowsSorting && !eC() && (u = d ? f : "none");
+ let p = Gw(Cce(IA), "@react-aria/table"), m;
+ i && (m = `${p.format("sortable")}`, d && f && eC() && (m = `${m}, ${p.format(f)}`));
+ let h = HT(m), g = t.collection.size === 0;
return (0, F.useEffect)(() => {
g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);
}, [
@@ -30066,7 +30066,7 @@ function Sce(e, t, n) {
columnHeaderProps: {
...K(l, a, s, h, g ? { tabIndex: -1 } : null),
role: "columnheader",
- id: tA(t, r.key),
+ id: $k(t, r.key),
"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
"aria-sort": u
},
@@ -30074,17 +30074,17 @@ function Sce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/table/useTableColumnResize.mjs
-function Cce(e) {
+function Tce(e) {
return e && e.__esModule ? e.default : e;
}
-function wce(e, t, n) {
- let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = qw(Cce(RA), "@react-aria/table"), d = GC(), f = t.resizingColumn === r.key, p = (0, F.useRef)(f), m = (0, F.useRef)(null), h = (0, F.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, F.useState)(!1), { direction: y } = Vw(), b = (0, F.useCallback)((e) => {
+function Ece(e, t, n) {
+ let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = Gw(Tce(IA), "@react-aria/table"), d = UC(), f = t.resizingColumn === r.key, p = (0, F.useRef)(f), m = (0, F.useRef)(null), h = (0, F.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, F.useState)(!1), { direction: y } = zw(), b = (0, F.useCallback)((e) => {
p.current || (m.current = t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.startResize(e.key), t.tableState.setKeyboardNavigationDisabled(!0), o?.(m.current)), p.current = !0;
}, [t, o]), x = (0, F.useCallback)((e, n) => {
let r = t.updateResizedColumns(e.key, n);
s?.(r), m.current = r;
}, [t, s]), S = (0, F.useCallback)((e) => {
- p.current && (m.current ??= t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.endResize(), t.tableState.setKeyboardNavigationDisabled(!1), c?.(m.current), p.current = !1, i?.current && !h.current && BC(i.current)), m.current = null;
+ p.current && (m.current ??= t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.endResize(), t.tableState.setKeyboardNavigationDisabled(!1), c?.(m.current), p.current = !1, i?.current && !h.current && RC(i.current)), m.current = null;
}, [
t,
i,
@@ -30092,14 +30092,14 @@ function wce(e, t, n) {
]), C = () => {
if (g) S(r);
else return !1;
- }, { keyboardProps: w } = tw({ shortcuts: {
+ }, { keyboardProps: w } = $C({ shortcuts: {
Escape: () => C(),
Enter: () => {
g ? S(r) : b(r);
},
" ": () => C(),
Tab: () => C()
- } }), T = (0, F.useRef)(0), { moveProps: E } = mE({
+ } }), T = (0, F.useRef)(0), { moveProps: E } = fE({
onMoveStart(e) {
T.current = t.getColumnWidth(r.key), e.pointerType === "mouse" && v(!0), b(r);
},
@@ -30115,12 +30115,12 @@ function wce(e, t, n) {
g && E.onKeyDown?.(e);
}, [g, E]), O = Math.floor(t.getColumnMinWidth(r.key)), k = Math.floor(t.getColumnMaxWidth(r.key));
k === Infinity && (k = 2 ** 53 - 1);
- let A = Math.floor(t.getColumnWidth(r.key)), j = jC();
+ let A = Math.floor(t.getColumnWidth(r.key)), j = kC();
j === "virtual" && typeof window < "u" && "ontouchstart" in window && (j = "touch");
- let M = WT(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {
+ let M = HT(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {
"aria-label": l,
"aria-orientation": "horizontal",
- "aria-labelledby": `${d} ${tA(t.tableState, r.key)}`,
+ "aria-labelledby": `${d} ${$k(t.tableState, r.key)}`,
"aria-valuetext": u.format("columnSize", { value: A }),
type: "range",
min: O,
@@ -30128,11 +30128,11 @@ function wce(e, t, n) {
value: A,
...M
}, N = (0, F.useCallback)(() => {
- n.current && BC(n.current);
- }, [n]), te = t.resizingColumn, P = (0, F.useRef)(null), ne = Nw(b);
+ n.current && RC(n.current);
+ }, [n]), te = t.resizingColumn, P = (0, F.useRef)(null), ne = jw(b);
(0, F.useEffect)(() => {
if (P.current !== te && te != null && te === r.key) {
- h.current = PS() === n.current, ne(r);
+ h.current = NS() === n.current, ne(r);
let e = setTimeout(() => N(), 0), t = setTimeout(N, 400);
return () => {
clearTimeout(e), clearTimeout(t);
@@ -30148,7 +30148,7 @@ function wce(e, t, n) {
let re = (e) => {
let n = t.getColumnWidth(r.key), i = parseFloat(G(e).value);
i = i > n ? n + 10 : n - 10, x(r, i);
- }, { pressProps: I } = lT({
+ }, { pressProps: I } = sT({
preventFocusOnPress: !0,
onPressStart: (e) => {
e.ctrlKey || e.altKey || e.metaKey || e.shiftKey || e.pointerType === "keyboard" || (e.pointerType === "virtual" && t.resizingColumn != null ? S(r) : (N(), e.pointerType !== "virtual" && b(r)));
@@ -30156,7 +30156,7 @@ function wce(e, t, n) {
onPress: (e) => {
(e.pointerType === "touch" && h.current || e.pointerType === "mouse") && t.resizingColumn != null && S(r);
}
- }), { visuallyHiddenProps: ie } = gE();
+ }), { visuallyHiddenProps: ie } = mE();
return {
resizerProps: K(w, {
...E,
@@ -30175,19 +30175,19 @@ function wce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs
-function Tce(e, t, n) {
+function Dce(e, t, n) {
let { node: r, isVirtualized: i } = e, a = { role: "row" };
return i && t.treeColumn == null && (a["aria-rowindex"] = r.index + 1), { rowProps: a };
}
// node_modules/react-aria/dist/private/grid/useGridRow.mjs
-function Ece(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = Qk.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = kO({
+function Oce(e, t, n) {
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = Xk.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = DO({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
isVirtualized: i,
shouldSelectOnPressUp: c || a,
- onAction: l || r?.props?.onAction ? VC(r?.props?.onAction, l) : void 0,
+ onAction: l || r?.props?.onAction ? zC(r?.props?.onAction, l) : void 0,
isDisabled: t.collection.size === 0
}), f = t.selectionManager.isSelected(r.key), p = {
role: "row",
@@ -30201,10 +30201,10 @@ function Ece(e, t, n) {
};
}
// node_modules/react-aria/dist/private/table/useTableRow.mjs
-function Dce(e) {
+function kce(e) {
return e && e.__esModule ? e.default : e;
}
-var VA = {
+var zA = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -30214,21 +30214,21 @@ var VA = {
rtl: "ArrowRight"
}
};
-function Oce(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Ece(e, t, n), { direction: s } = Vw();
+function Ace(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Oce(e, t, n), { direction: s } = zw();
i && t.treeColumn == null ? a["aria-rowindex"] = r.index + 1 + t.collection.headerRows.length : delete a["aria-rowindex"];
- let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = qw(Dce(RA), "@react-aria/table"), u = Fw({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = Gw(kce(IA), "@react-aria/table"), u = Nw({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": rA(t, r.key)
+ "aria-labelledby": tA(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = HA(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = HA(t.collection, a);
+ let n = BA(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = BA(t.collection, a);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === VA.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === VA.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));
+ n.key === zA.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === zA.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));
},
"aria-expanded": i ? t.expandedKeys === "all" || t.expandedKeys.has(r.key) : void 0,
"aria-level": e.level + 1,
@@ -30246,42 +30246,42 @@ function Oce(e, t, n) {
};
}
}
- let p = aC(r.props), m = o.hasAction ? p : {};
+ let p = iC(r.props), m = o.hasAction ? p : {};
return {
rowProps: {
...K(a, d, m),
- "aria-labelledby": rA(t, r.key)
+ "aria-labelledby": tA(t, r.key)
},
expandButtonProps: f,
...o
};
}
-function HA(e, t) {
+function BA(e, t) {
return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);
}
// node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs
-function kce() {
+function jce() {
return { rowGroupProps: { role: "rowgroup" } };
}
// node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function UA() {
- return kce();
+function VA() {
+ return jce();
}
// node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function Ace(e) {
+function Mce(e) {
return e && e.__esModule ? e.default : e;
}
-function jce(e, t) {
- let { key: n } = e, { checkboxProps: r } = FO(e, t);
+function Nce(e, t) {
+ let { key: n } = e, { checkboxProps: r } = NO(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${rA(t, n)}`
+ "aria-labelledby": `${r.id} ${tA(t, n)}`
} };
}
-function Mce(e) {
+function Pce(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": qw(Ace(RA), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": Gw(Mce(IA), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
isSelected: n,
isDisabled: r !== "multiple" || e.collection.size === 0 || e.collection.rows.length === 1 && e.collection.rows[0].type === "loader",
isIndeterminate: !t && !n,
@@ -30289,22 +30289,22 @@ function Mce(e) {
} };
}
// node_modules/react-aria/dist/private/tabs/utils.mjs
-var WA = /* @__PURE__ */ new WeakMap();
-function GA(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${WA.get(e)}-${n}-${t}`) : "";
+var HA = /* @__PURE__ */ new WeakMap();
+function UA(e, t, n) {
+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${HA.get(e)}-${n}-${t}`) : "";
}
// node_modules/react-aria/dist/private/tabs/useTab.mjs
-function Nce(e, t, n) {
- let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = kO({
+function Fce(e, t, n) {
+ let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = DO({
selectionManager: o,
key: r,
ref: n,
isDisabled: l,
shouldSelectOnPressUp: a ?? u?.props.href != null,
linkBehavior: "selection"
- }), p = GA(t, r, "tab"), m = GA(t, r, "tabpanel"), { tabIndex: h } = d, g = Yw(u?.props, { labelable: !0 });
+ }), p = UA(t, r, "tab"), m = UA(t, r, "tabpanel"), { tabIndex: h } = d, g = qw(u?.props, { labelable: !0 });
delete g.id;
- let _ = oC(u?.props), { focusableProps: v } = aw({
+ let _ = aC(u?.props), { focusableProps: v } = rw({
...u?.props,
isDisabled: l
}, n);
@@ -30323,7 +30323,7 @@ function Nce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var Pce = class {
+var Ice = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -30366,11 +30366,11 @@ var Pce = class {
}
};
// node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function Fce(e, t, n) {
- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Vw(), { collectionProps: l } = vD({
+function Lce(e, t, n) {
+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = zw(), { collectionProps: l } = gD({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, F.useMemo)(() => new Pce(a, c, r, s), [
+ keyboardDelegate: (0, F.useMemo)(() => new Ice(a, c, r, s), [
a,
s,
r,
@@ -30380,9 +30380,9 @@ function Fce(e, t, n) {
disallowEmptySelection: !0,
scrollRef: n,
linkBehavior: "selection"
- }), u = GC();
- return WA.set(t, u), { tabListProps: {
- ...K(l, Fw({
+ }), u = UC();
+ return HA.set(t, u), { tabListProps: {
+ ...K(l, Nw({
...e,
id: u
})),
@@ -30392,12 +30392,12 @@ function Fce(e, t, n) {
} };
}
// node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function Ice(e, t, n) {
- let r = EO(n) ? void 0 : 0, i = GA(t, e.id ?? t?.selectedKey, "tabpanel");
- return { tabPanelProps: K(Fw({
+function Rce(e, t, n) {
+ let r = wO(n) ? void 0 : 0, i = UA(t, e.id ?? t?.selectedKey, "tabpanel");
+ return { tabPanelProps: K(Nw({
...e,
id: i,
- "aria-labelledby": GA(t, t?.selectedKey, "tab")
+ "aria-labelledby": UA(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -30406,265 +30406,265 @@ function Ice(e, t, n) {
}) };
}
// node_modules/react-aria/dist/private/tree/useTree.mjs
-function Lce(e, t, n) {
- let { gridProps: r } = kse(e, t, n);
+function zce(e, t, n) {
+ let { gridProps: r } = jse(e, t, n);
return r.role = "treegrid", { gridProps: r };
}
// node_modules/react-aria/dist/private/intl/tree/ar-AE.mjs
-var KA = {};
-KA = {
+var WA = {};
+WA = {
collapse: "طي",
expand: "تمديد"
};
// node_modules/react-aria/dist/private/intl/tree/bg-BG.mjs
-var qA = {};
-qA = {
+var GA = {};
+GA = {
collapse: "Свиване",
expand: "Разширяване"
};
// node_modules/react-aria/dist/private/intl/tree/cs-CZ.mjs
-var JA = {};
-JA = {
+var KA = {};
+KA = {
collapse: "Sbalit",
expand: "Roztáhnout"
};
// node_modules/react-aria/dist/private/intl/tree/da-DK.mjs
-var YA = {};
-YA = {
+var qA = {};
+qA = {
collapse: "Skjul",
expand: "Udvid"
};
// node_modules/react-aria/dist/private/intl/tree/de-DE.mjs
-var XA = {};
-XA = {
+var JA = {};
+JA = {
collapse: "Reduzieren",
expand: "Erweitern"
};
// node_modules/react-aria/dist/private/intl/tree/el-GR.mjs
-var ZA = {};
-ZA = {
+var YA = {};
+YA = {
collapse: "Σύμπτυξη",
expand: "Ανάπτυξη"
};
// node_modules/react-aria/dist/private/intl/tree/en-US.mjs
-var QA = {};
-QA = {
+var XA = {};
+XA = {
expand: "Expand",
collapse: "Collapse"
};
// node_modules/react-aria/dist/private/intl/tree/es-ES.mjs
-var $A = {};
-$A = {
+var ZA = {};
+ZA = {
collapse: "Contraer",
expand: "Expandir"
};
// node_modules/react-aria/dist/private/intl/tree/et-EE.mjs
-var ej = {};
-ej = {
+var QA = {};
+QA = {
collapse: "Ahenda",
expand: "Laienda"
};
// node_modules/react-aria/dist/private/intl/tree/fi-FI.mjs
-var tj = {};
-tj = {
+var $A = {};
+$A = {
collapse: "Pienennä",
expand: "Laajenna"
};
// node_modules/react-aria/dist/private/intl/tree/fr-FR.mjs
-var nj = {};
-nj = {
+var ej = {};
+ej = {
collapse: "Réduire",
expand: "Développer"
};
// node_modules/react-aria/dist/private/intl/tree/he-IL.mjs
-var rj = {};
-rj = {
+var tj = {};
+tj = {
collapse: "כווץ",
expand: "הרחב"
};
// node_modules/react-aria/dist/private/intl/tree/hr-HR.mjs
-var ij = {};
-ij = {
+var nj = {};
+nj = {
collapse: "Sažmi",
expand: "Proširi"
};
// node_modules/react-aria/dist/private/intl/tree/hu-HU.mjs
-var aj = {};
-aj = {
+var rj = {};
+rj = {
collapse: "Összecsukás",
expand: "Kibontás"
};
// node_modules/react-aria/dist/private/intl/tree/it-IT.mjs
-var oj = {};
-oj = {
+var ij = {};
+ij = {
collapse: "Comprimi",
expand: "Espandi"
};
// node_modules/react-aria/dist/private/intl/tree/ja-JP.mjs
-var sj = {};
-sj = {
+var aj = {};
+aj = {
collapse: "折りたたむ",
expand: "展開"
};
// node_modules/react-aria/dist/private/intl/tree/ko-KR.mjs
-var cj = {};
-cj = {
+var oj = {};
+oj = {
collapse: "접기",
expand: "펼치기"
};
// node_modules/react-aria/dist/private/intl/tree/lt-LT.mjs
-var lj = {};
-lj = {
+var sj = {};
+sj = {
collapse: "Sutraukti",
expand: "Išskleisti"
};
// node_modules/react-aria/dist/private/intl/tree/lv-LV.mjs
-var uj = {};
-uj = {
+var cj = {};
+cj = {
collapse: "Sakļaut",
expand: "Izvērst"
};
// node_modules/react-aria/dist/private/intl/tree/nb-NO.mjs
-var dj = {};
-dj = {
+var lj = {};
+lj = {
collapse: "Skjul",
expand: "Utvid"
};
// node_modules/react-aria/dist/private/intl/tree/nl-NL.mjs
-var fj = {};
-fj = {
+var uj = {};
+uj = {
collapse: "Samenvouwen",
expand: "Uitvouwen"
};
// node_modules/react-aria/dist/private/intl/tree/pl-PL.mjs
-var pj = {};
-pj = {
+var dj = {};
+dj = {
collapse: "Zwiń",
expand: "Rozwiń"
};
// node_modules/react-aria/dist/private/intl/tree/pt-BR.mjs
-var mj = {};
-mj = {
+var fj = {};
+fj = {
collapse: "Recolher",
expand: "Expandir"
};
// node_modules/react-aria/dist/private/intl/tree/pt-PT.mjs
-var hj = {};
-hj = {
+var pj = {};
+pj = {
collapse: "Colapsar",
expand: "Expandir"
};
// node_modules/react-aria/dist/private/intl/tree/ro-RO.mjs
-var gj = {};
-gj = {
+var mj = {};
+mj = {
collapse: "Restrângeți",
expand: "Extindeți"
};
// node_modules/react-aria/dist/private/intl/tree/ru-RU.mjs
-var _j = {};
-_j = {
+var hj = {};
+hj = {
collapse: "Свернуть",
expand: "Развернуть"
};
// node_modules/react-aria/dist/private/intl/tree/sk-SK.mjs
-var vj = {};
-vj = {
+var gj = {};
+gj = {
collapse: "Zbaliť",
expand: "Rozbaliť"
};
// node_modules/react-aria/dist/private/intl/tree/sl-SI.mjs
-var yj = {};
-yj = {
+var _j = {};
+_j = {
collapse: "Strni",
expand: "Razširi"
};
// node_modules/react-aria/dist/private/intl/tree/sr-SP.mjs
-var bj = {};
-bj = {
+var vj = {};
+vj = {
collapse: " Skupi",
expand: "Proširi"
};
// node_modules/react-aria/dist/private/intl/tree/sv-SE.mjs
-var xj = {};
-xj = {
+var yj = {};
+yj = {
collapse: "Dölj",
expand: "Expandera"
};
// node_modules/react-aria/dist/private/intl/tree/tr-TR.mjs
-var Sj = {};
-Sj = {
+var bj = {};
+bj = {
collapse: "Daralt",
expand: "Genişlet"
};
// node_modules/react-aria/dist/private/intl/tree/uk-UA.mjs
-var Cj = {};
-Cj = {
+var xj = {};
+xj = {
collapse: "Згорнути",
expand: "Розгорнути"
};
// node_modules/react-aria/dist/private/intl/tree/zh-CN.mjs
-var wj = {};
-wj = {
+var Sj = {};
+Sj = {
collapse: "折叠",
expand: "扩展"
};
// node_modules/react-aria/dist/private/intl/tree/zh-TW.mjs
-var Tj = {};
-Tj = {
+var Cj = {};
+Cj = {
collapse: "收合",
expand: "展開"
};
// node_modules/react-aria/dist/private/tree/intlStrings.mjs
-var Ej = {};
-Ej = {
- "ar-AE": KA,
- "bg-BG": qA,
- "cs-CZ": JA,
- "da-DK": YA,
- "de-DE": XA,
- "el-GR": ZA,
- "en-US": QA,
- "es-ES": $A,
- "et-EE": ej,
- "fi-FI": tj,
- "fr-FR": nj,
- "he-IL": rj,
- "hr-HR": ij,
- "hu-HU": aj,
- "it-IT": oj,
- "ja-JP": sj,
- "ko-KR": cj,
- "lt-LT": lj,
- "lv-LV": uj,
- "nb-NO": dj,
- "nl-NL": fj,
- "pl-PL": pj,
- "pt-BR": mj,
- "pt-PT": hj,
- "ro-RO": gj,
- "ru-RU": _j,
- "sk-SK": vj,
- "sl-SI": yj,
- "sr-SP": bj,
- "sv-SE": xj,
- "tr-TR": Sj,
- "uk-UA": Cj,
- "zh-CN": wj,
- "zh-TW": Tj
+var wj = {};
+wj = {
+ "ar-AE": WA,
+ "bg-BG": GA,
+ "cs-CZ": KA,
+ "da-DK": qA,
+ "de-DE": JA,
+ "el-GR": YA,
+ "en-US": XA,
+ "es-ES": ZA,
+ "et-EE": QA,
+ "fi-FI": $A,
+ "fr-FR": ej,
+ "he-IL": tj,
+ "hr-HR": nj,
+ "hu-HU": rj,
+ "it-IT": ij,
+ "ja-JP": aj,
+ "ko-KR": oj,
+ "lt-LT": sj,
+ "lv-LV": cj,
+ "nb-NO": lj,
+ "nl-NL": uj,
+ "pl-PL": dj,
+ "pt-BR": fj,
+ "pt-PT": pj,
+ "ro-RO": mj,
+ "ru-RU": hj,
+ "sk-SK": gj,
+ "sl-SI": _j,
+ "sr-SP": vj,
+ "sv-SE": yj,
+ "tr-TR": bj,
+ "uk-UA": xj,
+ "zh-CN": Sj,
+ "zh-TW": Cj
};
// node_modules/react-aria/dist/private/tree/useTreeItem.mjs
-function Rce(e) {
+function Bce(e) {
return e && e.__esModule ? e.default : e;
}
-function Dj(e, t, n) {
- let { node: r } = e, i = Ase(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = qw(Rce(Ej), "@react-aria/tree"), s = {
+function Tj(e, t, n) {
+ let { node: r } = e, i = Mse(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = Gw(Bce(wj), "@react-aria/tree"), s = {
onPress: () => {
i.isDisabled || (t.toggleKey(r.key), t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r.key));
},
excludeFromTabOrder: !0,
preventFocusOnPress: !0,
"data-react-aria-prevent-focus": !0,
- ...Fw({
+ ...Nw({
"aria-label": a ? o.format("collapse") : o.format("expand"),
"aria-labelledby": i.rowProps.id
})
@@ -30675,15 +30675,15 @@ function Dj(e, t, n) {
};
}
// src/react/components/selection-dock.tsx
-var Oj = "(prefers-reduced-motion: reduce)", zce = () => matchMedia(Oj).matches, Bce = (e) => {
- let t = matchMedia(Oj);
+var Ej = "(prefers-reduced-motion: reduce)", Vce = () => matchMedia(Ej).matches, Hce = (e) => {
+ let t = matchMedia(Ej);
return t.addEventListener("change", e), () => t.removeEventListener("change", e);
-}, kj = /* @__PURE__ */ new Map(), Aj = () => {
+}, Dj = /* @__PURE__ */ new Map(), Oj = () => {
let e = document.documentElement;
- kj.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...kj.values())}px`) : e.style.removeProperty("--selection-dock-space");
+ Dj.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...Dj.values())}px`) : e.style.removeProperty("--selection-dock-space");
};
-function Vce({ children: e, count: t, label: n }) {
- let r = (0, F.useRef)(null), i = Ax(), a = (0, F.useSyncExternalStore)(Bce, zce, () => !1), { isFocusVisible: o } = MC(), s = a || o, c = {
+function Uce({ children: e, count: t, label: n }) {
+ let r = (0, F.useRef)(null), i = kx(), a = (0, F.useSyncExternalStore)(Hce, Vce, () => !1), { isFocusVisible: o } = AC(), s = a || o, c = {
opacity: 0,
transform: "translate(-50%, 8px)"
};
@@ -30691,12 +30691,12 @@ function Vce({ children: e, count: t, label: n }) {
let e = r.current;
if (!e || !i) return;
let t = () => {
- kj.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), Aj();
+ Dj.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), Oj();
}, n = new ResizeObserver(t);
return n.observe(e), window.addEventListener("resize", t), t(), () => {
- n.disconnect(), window.removeEventListener("resize", t), kj.delete(e), Aj();
+ n.disconnect(), window.removeEventListener("resize", t), Dj.delete(e), Oj();
};
- }, [i]), /* @__PURE__ */ (0, I.jsxs)(hS.div, {
+ }, [i]), /* @__PURE__ */ (0, I.jsxs)(mS.div, {
ref: r,
role: "group",
"aria-label": n,
@@ -30729,17 +30729,17 @@ function Vce({ children: e, count: t, label: n }) {
}), e]
});
}
-function jj({ visible: e, ...t }) {
- return /* @__PURE__ */ (0, I.jsx)(Nx, { children: e ? /* @__PURE__ */ (0, I.jsx)(Vce, { ...t }, "selection") : null });
+function kj({ visible: e, ...t }) {
+ return /* @__PURE__ */ (0, I.jsx)(Mx, { children: e ? /* @__PURE__ */ (0, I.jsx)(Uce, { ...t }, "selection") : null });
}
// src/react/batch-dock/batch-dock-api.ts
-var Mj = {
+var Aj = {
group: "clear",
operation: "clear",
label: "取消",
glyph: "x"
};
-function Hce(e, t = !1) {
+function Wce(e, t = !1) {
switch (e) {
case "trash": return [
{
@@ -30755,7 +30755,7 @@ function Hce(e, t = !1) {
glyph: "trash",
danger: !0
},
- Mj
+ Aj
];
case "junk": return [
t ? {
@@ -30776,7 +30776,7 @@ function Hce(e, t = !1) {
glyph: "trash",
danger: !0
},
- Mj
+ Aj
];
case "follow": return [
{
@@ -30797,7 +30797,7 @@ function Hce(e, t = !1) {
label: "忽略",
glyph: "eye-off"
},
- Mj
+ Aj
];
default: return [
{
@@ -30831,38 +30831,38 @@ function Hce(e, t = !1) {
glyph: "trash",
danger: !0
},
- Mj
+ Aj
];
}
}
// src/react/batch-dock/batch-dock-island.tsx
-var Nj = null, Pj = {
+var jj = null, Mj = {
count: 0,
context: "catalog",
junkDismissed: !1
-}, Fj = /* @__PURE__ */ new Set();
-function Uce(e) {
- return Fj.add(e), () => {
- Fj.delete(e);
+}, Nj = /* @__PURE__ */ new Set();
+function Gce(e) {
+ return Nj.add(e), () => {
+ Nj.delete(e);
};
}
-function Wce() {
- for (let e of [...Fj]) e();
+function Kce() {
+ for (let e of [...Nj]) e();
}
-var Gce = { render(e) {
- Pj = e, (0, Lt.flushSync)(Wce);
+var qce = { render(e) {
+ Mj = e, (0, Lt.flushSync)(Kce);
} };
-function Kce(e) {
- return Nj = e, Gce;
+function Jce(e) {
+ return jj = e, qce;
}
-function qce() {
- let e = (0, F.useSyncExternalStore)(Uce, () => Pj);
- return Nj ? /* @__PURE__ */ (0, I.jsx)(Jce, {
- host: Nj,
+function Yce() {
+ let e = (0, F.useSyncExternalStore)(Gce, () => Mj);
+ return jj ? /* @__PURE__ */ (0, I.jsx)(Xce, {
+ host: jj,
props: e
}) : null;
}
-function Jce({ host: e, props: t }) {
+function Xce({ host: e, props: t }) {
let n = t.count > 0;
return (0, F.useLayoutEffect)(() => {
document.body.toggleAttribute("data-batch-dock-open", n);
@@ -30872,11 +30872,11 @@ function Jce({ host: e, props: t }) {
className: "peach-react",
"data-batch-scope": "",
"data-context": t.context,
- children: /* @__PURE__ */ (0, I.jsx)(jj, {
+ children: /* @__PURE__ */ (0, I.jsx)(kj, {
label: "所选项目操作",
visible: t.count > 0,
count: `已选 ${t.count.toLocaleString()} 项`,
- children: Hce(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, I.jsxs)("button", {
+ children: Wce(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-batch-group": t.group,
"data-batch-action": t.operation,
@@ -30892,11 +30892,11 @@ function Jce({ host: e, props: t }) {
});
}
// src/number-setting.ts
-function Ij(e, t, n, r) {
+function Pj(e, t, n, r) {
return Number.isInteger(e) && e >= t && e <= n ? e : r;
}
// src/settings-store.ts
-function Yce(e, t) {
+function Zce(e, t) {
let n = /* @__PURE__ */ new Set(), r = 0, i = () => {
r += 1, n.forEach((e) => e());
};
@@ -30915,7 +30915,7 @@ function Yce(e, t) {
};
}
// src/sort-preferences.ts
-var Lj = [
+var Fj = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -30924,7 +30924,7 @@ var Lj = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], Rj = ["release", "发行时间"], zj = [...Lj, Rj].map(([e]) => e), Bj = {
+], Ij = ["release", "发行时间"], Lj = [...Fj, Ij].map(([e]) => e), Rj = {
rating: ["从高到低", "从低到高"],
o: ["从多到少", "从少到多"],
plays: ["从多到少", "从少到多"],
@@ -30933,43 +30933,43 @@ var Lj = [
new: ["从新到旧", "从旧到新"],
played: ["从近到远", "从远到近"],
release: ["从新到旧", "从旧到新"]
-}, Vj = {
+}, zj = {
big: ["size", "desc"],
short: ["dur", "asc"],
long: ["dur", "desc"]
-}, Hj = (e, t, n = Bj) => (n[e] || [])[+(t === "asc")] || "", Uj = (e, t = Bj) => t[e] ? "desc" : "";
-function Wj(e, t, n, r = Bj) {
+}, Bj = (e, t, n = Rj) => (n[e] || [])[+(t === "asc")] || "", Vj = (e, t = Rj) => t[e] ? "desc" : "";
+function Hj(e, t, n, r = Rj) {
return e === t ? r[e] ? {
sort: e,
dir: n === "asc" ? "desc" : "asc"
} : null : {
sort: e,
- dir: Uj(e, r)
+ dir: Vj(e, r)
};
}
-function Gj(e, t, n) {
+function Uj(e, t, n) {
return e === "seed" ? "" : e === t && n === "asc" ? "asc" : "desc";
}
-function Kj(e, t, n, r, i = n) {
- let a = e ? Vj[e] : void 0, o = a ? a[0] : e, s = o && zj.includes(o) ? o : i;
- return Bj[s] ? {
+function Wj(e, t, n, r, i = n) {
+ let a = e ? zj[e] : void 0, o = a ? a[0] : e, s = o && Lj.includes(o) ? o : i;
+ return Rj[s] ? {
sort: s,
- dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Gj(s, n, r)
+ dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Uj(s, n, r)
} : {
sort: s,
dir: ""
};
}
// src/appearance/home-glow.ts
-var qj = [
+var Gj = [
"spot1",
"spot2",
"spot3"
-], Xce = [
+], Qce = [
"光晕一",
"光晕二",
"光晕三"
-], Jj = "native", Yj = [
+], Kj = "native", qj = [
[
"ash",
"灰雾",
@@ -31275,7 +31275,7 @@ var qj = [
"rose"
],
[
- Jj,
+ Kj,
"玻璃原色",
{
spot1: {
@@ -31293,7 +31293,7 @@ var qj = [
},
"blue"
]
-], Xj = (e) => e === Jj, Zj = [...Yj.map(([e, t]) => [e, t]), ["custom", "自定义"]], Zce = (e) => (Zj.find(([t]) => t === e) || Zj[0])[1], Qj = (e) => structuredClone((Yj.find(([t]) => t === e) || Yj[0])[2]), $j = [
+], Jj = (e) => e === Kj, Yj = [...qj.map(([e, t]) => [e, t]), ["custom", "自定义"]], $ce = (e) => (Yj.find(([t]) => t === e) || Yj[0])[1], Xj = (e) => structuredClone((qj.find(([t]) => t === e) || qj[0])[2]), Zj = [
["red", "红"],
["orange", "橙"],
["amber", "琥珀"],
@@ -31306,7 +31306,7 @@ var qj = [
["violet", "紫罗兰"],
["fuchsia", "品红"],
["rose", "玫红"]
-], eM = "blue", tM = (e) => $j.some(([t]) => t === e) ? e : eM, Qce = (e) => (Yj.find(([t]) => t === e) || [])[3] || "blue", $ce = [
+], Qj = "blue", $j = (e) => Zj.some(([t]) => t === e) ? e : Qj, ele = (e) => (qj.find(([t]) => t === e) || [])[3] || "blue", tle = [
["all", "全部"],
["gray", "灰"],
["red", "红"],
@@ -31316,7 +31316,7 @@ var qj = [
["blue", "蓝"],
["purple", "紫"],
["brown", "棕"]
-], ele = [
+], nle = [
[
"gray",
"云灰",
@@ -31712,11 +31712,11 @@ var qj = [
"霁蓝",
"#6686b8"
]
-], nM = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, rM = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, tle = (e, t) => `rgba(${[
+], eM = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, tM = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, rle = (e, t) => `rgba(${[
1,
3,
5
-].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, nle = {
+].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, ile = {
strength: [
0,
100,
@@ -31742,7 +31742,7 @@ var qj = [
100,
50
]
-}, iM = {
+}, nM = {
on: !0,
preset: "ash",
strength: 100,
@@ -31750,56 +31750,56 @@ var qj = [
speed: 100,
soften: 50,
size: 50,
- ...Qj("ash")
+ ...Xj("ash")
};
-function aM(e) {
- let t = e && typeof e == "object" ? e : {}, n = Zj.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = Qj(r === "custom" ? "ash" : r), a = {
+function rM(e) {
+ let t = e && typeof e == "object" ? e : {}, n = Yj.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = Xj(r === "custom" ? "ash" : r), a = {
on: t.on !== !1,
preset: r
};
- for (let [e, [n, r, i]] of Object.entries(nle)) a[e] = nM(+t[e], n, r, i);
- for (let e of qj) {
+ for (let [e, [n, r, i]] of Object.entries(ile)) a[e] = eM(+t[e], n, r, i);
+ for (let e of Gj) {
let r = n && t[e] && typeof t[e] == "object" ? t[e] : {}, o = i[e];
a[e] = {
- color: rM(r.color, o.color),
- alpha: nM(+r.alpha, 0, 100, o.alpha)
+ color: tM(r.color, o.color),
+ alpha: eM(+r.alpha, 0, 100, o.alpha)
};
}
return a;
}
-var rle = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, oM = /* @__PURE__ */ new WeakMap();
-function ile(e, t) {
+var ale = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, iM = /* @__PURE__ */ new WeakMap();
+function ole(e, t) {
if (!e) return;
- let n = oM.get(e);
- n || (n = /* @__PURE__ */ new Map(), oM.set(e, n));
- let r = t.on && !Xj(t.preset), i = (t, r) => {
+ let n = iM.get(e);
+ n || (n = /* @__PURE__ */ new Map(), iM.set(e, n));
+ let r = t.on && !Jj(t.preset), i = (t, r) => {
n.get(t) !== r && (n.set(t, r), e.style.setProperty(t, r));
};
- i("--glow-strength", String(r ? t.strength / 100 : 0)), i("--glow-noise", String(r ? t.noise / 100 : 0)), i("--glow-soften", (.7 + t.soften / 100 * .6).toFixed(3)), i("--glow-size", (.5 + t.size / 100).toFixed(3)), i("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), i("--glow-drift-play", t.speed ? "running" : "paused"), qj.forEach((e, n) => {
+ i("--glow-strength", String(r ? t.strength / 100 : 0)), i("--glow-noise", String(r ? t.noise / 100 : 0)), i("--glow-soften", (.7 + t.soften / 100 * .6).toFixed(3)), i("--glow-size", (.5 + t.size / 100).toFixed(3)), i("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), i("--glow-drift-play", t.speed ? "running" : "paused"), Gj.forEach((e, n) => {
let r = t[e];
- i(`--glow-spot-${n + 1}-color`, tle(r.color, r.alpha));
+ i(`--glow-spot-${n + 1}-color`, rle(r.color, r.alpha));
});
}
-function ale(e, t) {
+function sle(e, t) {
if (!e) return;
- let n = !t.on || Xj(t.preset);
+ let n = !t.on || Jj(t.preset);
e.toggleAttribute("data-glow-native", n), e.style.setProperty("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), e.style.setProperty("--glow-drift-play", t.speed ? "running" : "paused"), n ? (e.style.removeProperty("--glass-tint-a"), e.style.removeProperty("--glass-tint-b")) : (e.style.setProperty("--glass-tint-a", t.spot1.color), e.style.setProperty("--glass-tint-b", t.spot2.color));
}
// src/appearance/settings.ts
-var ole = "peach.settings.v1", sle = [
+var cle = "peach.settings.v1", lle = [
"system",
"light",
"dark"
-], sM = [
+], aM = [
0,
7,
30,
90
-], cle = [
+], ule = [
"feedHideGroupCompilations",
"feedHideSoloCompilations",
"feedHideExcerpts"
-], cM = {
+], oM = {
batchSize: 60,
defaultSort: "seed",
sortDefaultsVersion: 3,
@@ -31820,56 +31820,56 @@ var ole = "peach.settings.v1", sle = [
theme: "system",
groupCollapse: !0,
sidebarOrder: [...Ll],
- homeGlow: iM,
- accent: eM,
+ homeGlow: nM,
+ accent: Qj,
performerNameLanguage: "zh-CN"
-}, lM = (e, t, n) => t.includes(e) ? e : n;
-function lle(e) {
+}, sM = (e, t, n) => t.includes(e) ? e : n;
+function dle(e) {
let t = e && typeof e == "object" ? e : {}, n = {
- ...cM,
+ ...oM,
...t
};
- n.followInitialDays = sM.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;
+ n.followInitialDays = aM.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;
let r = !1, i = +n.sortDefaultsVersion || 0;
i < 2 && n.defaultSort === "new" && (n.defaultSort = "seed", r = !0);
- let a = Vj[n.defaultSort];
- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Ij(+n.batchSize, 1, 200, 60), n.defaultSort = lM(n.defaultSort, zj, "seed"), n.hoverDelaySeconds = Ij(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Ij(+n.seekSeconds, 1, 300, 10), delete n.loginDays, delete n.metadataRefreshDays, n.ambientMode = n.ambientMode !== !1, n.theaterMode = n.theaterMode === !0, n.groupCollapse = n.groupCollapse !== !1, n.detailAutoplay = n.detailAutoplay !== !1, n.miniplayer = n.miniplayer !== !1, n.uiSounds = n.uiSounds !== !1, n.feedAutoScroll = n.feedAutoScroll !== !1, n.feedHideGroupCompilations = n.feedHideGroupCompilations !== !1, n.feedHideSoloCompilations = n.feedHideSoloCompilations === !0, n.feedHideExcerpts = n.feedHideExcerpts !== !1, n.searchHistoryLimit = Ij(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Ij(+n.relatedLimit, 0, 60, 20), n.feedLimit = Ij(+n.feedLimit, 1, 100, 12), Object.assign(n, Qa(n)), n.theme = lM(n.theme, sle, "system"), n.performerNameLanguage = lM(n.performerNameLanguage, ["zh-CN", "ja"], "zh-CN"), n.homeGlow = aM(n.homeGlow), n.accent = tM(n.accent), n.sidebarOrder = Vl(n.sidebarOrder), {
+ let a = zj[n.defaultSort];
+ return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Pj(+n.batchSize, 1, 200, 60), n.defaultSort = sM(n.defaultSort, Lj, "seed"), n.hoverDelaySeconds = Pj(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Pj(+n.seekSeconds, 1, 300, 10), delete n.loginDays, delete n.metadataRefreshDays, n.ambientMode = n.ambientMode !== !1, n.theaterMode = n.theaterMode === !0, n.groupCollapse = n.groupCollapse !== !1, n.detailAutoplay = n.detailAutoplay !== !1, n.miniplayer = n.miniplayer !== !1, n.uiSounds = n.uiSounds !== !1, n.feedAutoScroll = n.feedAutoScroll !== !1, n.feedHideGroupCompilations = n.feedHideGroupCompilations !== !1, n.feedHideSoloCompilations = n.feedHideSoloCompilations === !0, n.feedHideExcerpts = n.feedHideExcerpts !== !1, n.searchHistoryLimit = Pj(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Pj(+n.relatedLimit, 0, 60, 20), n.feedLimit = Pj(+n.feedLimit, 1, 100, 12), Object.assign(n, Qa(n)), n.theme = sM(n.theme, lle, "system"), n.performerNameLanguage = sM(n.performerNameLanguage, ["zh-CN", "ja"], "zh-CN"), n.homeGlow = rM(n.homeGlow), n.accent = $j(n.accent), n.sidebarOrder = Vl(n.sidebarOrder), {
settings: n,
migrated: r
};
}
-function ule(e) {
+function fle(e) {
let t = {};
try {
t = JSON.parse(e.getItem("peach.settings.v1") || "{}");
} catch {}
- return lle(t);
+ return dle(t);
}
-var uM = null;
-function dM() {
- if (uM) return uM;
- let { settings: e, migrated: t } = ule(localStorage);
- return uM = Yce(ole, e), t && uM.save(), uM;
+var cM = null;
+function lM() {
+ if (cM) return cM;
+ let { settings: e, migrated: t } = fle(localStorage);
+ return cM = Zce(cle, e), t && cM.save(), cM;
}
-function fM(e, t, n = dM()) {
+function uM(e, t, n = lM()) {
let r = n.value, i = e?.performerNameLanguage;
(i === "zh-CN" || i === "ja") && i !== r.performerNameLanguage && (r.performerNameLanguage = i, n.save(), t("performerNameLanguage"));
let a = e && e.followInitialDays;
- sM.includes(a) && (r.followInitialDays = a, n.save());
- for (let t of cle) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());
+ aM.includes(a) && (r.followInitialDays = a, n.save());
+ for (let t of ule) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());
let o = e && e.searchHistoryLimit;
- Number.isInteger(o) && o >= 0 && o <= 50 ? o !== r.searchHistoryLimit && (r.searchHistoryLimit = Ij(o, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== cM.searchHistoryLimit && dle(n);
+ Number.isInteger(o) && o >= 0 && o <= 50 ? o !== r.searchHistoryLimit && (r.searchHistoryLimit = Pj(o, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== oM.searchHistoryLimit && ple(n);
let s = Array.isArray(e && e.sidebarOrder) ? e.sidebarOrder : null;
s && s.length && s.join(",") !== r.sidebarOrder.join(",") && (r.sidebarOrder = s, n.save());
}
-function dle(e = dM()) {
+function ple(e = lM()) {
return wn("/api/settings", {
method: "POST",
body: JSON.stringify({ searchHistoryLimit: e.value.searchHistoryLimit })
}).catch(() => {});
}
// src/appearance/theme.ts
-var fle = [
+var mle = [
[
"system",
"跟随系统",
@@ -31885,31 +31885,31 @@ var fle = [
"深色",
"moon"
]
-], ple = null, pM = () => ple ??= matchMedia("(prefers-color-scheme: dark)"), mM = null;
-function mle() {
- return mM || (mM = document.createElement("style"), mM.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), mM.isConnected || document.head.append(mM), () => {
+], hle = null, dM = () => hle ??= matchMedia("(prefers-color-scheme: dark)"), fM = null;
+function gle() {
+ return fM || (fM = document.createElement("style"), fM.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), fM.isConnected || document.head.append(fM), () => {
getComputedStyle(document.documentElement).opacity;
let e = () => {
- cancelAnimationFrame(t), clearTimeout(n), mM?.remove();
+ cancelAnimationFrame(t), clearTimeout(n), fM?.remove();
}, t = requestAnimationFrame(e), n = setTimeout(e, 100);
};
}
-function hM(e = dM().value.theme) {
- let t = mle(), n = document.documentElement;
+function pM(e = lM().value.theme) {
+ let t = gle(), n = document.documentElement;
e === "system" ? delete n.dataset.theme : n.dataset.theme = e;
- let r = e === "dark" || e === "system" && pM().matches;
+ let r = e === "dark" || e === "system" && dM().matches;
n.classList.toggle("dark", r), document.querySelectorAll("[data-board-theme]").forEach((e) => e.setAttribute("aria-pressed", String(e.dataset.boardTheme === "dark" === r))), document.querySelector(".board-theme-toggle")?.classList.toggle("is-dark", r), document.querySelectorAll("meta[data-theme-color]").forEach((e) => {
e.media = e.dataset.themeColor === "dark" === r ? "all" : "not all";
}), t();
}
-var gM = !1;
-function hle() {
- gM || (gM = !0, pM().addEventListener("change", () => {
- dM().value.theme === "system" && hM();
+var mM = !1;
+function _le() {
+ mM || (mM = !0, dM().addEventListener("change", () => {
+ lM().value.theme === "system" && pM();
}));
}
// src/appearance/layout.ts
-var _M = [[
+var hM = [[
"big",
"大图",
"maximize"
@@ -31917,7 +31917,7 @@ var _M = [[
"small",
"小图",
"layout-grid"
-]], vM = [[
+]], gM = [[
"big",
"大图",
"maximize"
@@ -31925,7 +31925,7 @@ var _M = [[
"small",
"小图",
"layout-grid"
-]], yM = [[
+]], _M = [[
"fixed",
"固定比例",
"layout-grid"
@@ -31933,127 +31933,127 @@ var _M = [[
"masonry",
"瀑布流",
"columns-2"
-]], bM = .75, xM = () => dM().value, SM = (e = xM()) => Za(e.javLayout), gle = (e = xM()) => Za(e.homeLayout), CM = (e, t = xM()) => e ? gle(t) : SM(t), wM = vM.map(([e]) => e), TM = yM.map(([e]) => e), EM = (e = xM()) => lM(e.photoSize, wM, "small"), DM = (e = xM()) => lM(e.photoLayout, TM, "masonry"), OM = null;
-function kM(e, t = xM()) {
+]], vM = .75, yM = () => lM().value, bM = (e = yM()) => Za(e.javLayout), vle = (e = yM()) => Za(e.homeLayout), xM = (e, t = yM()) => e ? vle(t) : bM(t), SM = gM.map(([e]) => e), CM = _M.map(([e]) => e), wM = (e = yM()) => sM(e.photoSize, SM, "small"), TM = (e = yM()) => sM(e.photoLayout, CM, "masonry"), EM = null;
+function DM(e, t = yM()) {
let n = {
active: e.active,
- size: CM(e.home, t),
+ size: xM(e.home, t),
portrait: e.portrait,
javImage: t.javImage
- }, r = OM;
- return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (OM = n), OM;
+ }, r = EM;
+ return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (EM = n), EM;
}
-function AM(e) {
- return e.portrait ? 9 / 16 : e.active && e.size === "big" ? bM : 16 / 9;
+function OM(e) {
+ return e.portrait ? 9 / 16 : e.active && e.size === "big" ? vM : 16 / 9;
}
-function _le(e, t = dM()) {
+function yle(e, t = lM()) {
t.value.homeLayout = Za(e), t.save();
}
-function jM(e, t = dM()) {
+function kM(e, t = lM()) {
t.value.javLayout = Za(e), t.save();
}
-function vle(e, t = dM()) {
+function ble(e, t = lM()) {
t.value.homeLayout = t.value.javLayout = Za(e), t.save();
}
-function yle(e, t = dM()) {
- t.value.photoSize = lM(e, wM, "small"), t.save();
+function xle(e, t = lM()) {
+ t.value.photoSize = sM(e, SM, "small"), t.save();
}
-function MM(e, t = dM()) {
- t.value.photoLayout = lM(e, TM, "masonry"), t.save();
+function AM(e, t = lM()) {
+ t.value.photoLayout = sM(e, CM, "masonry"), t.save();
}
// src/appearance/density.ts
-var NM = "density", PM = {
+var jM = "density", MM = {
big: "336px",
dense: "168px"
-}, FM = () => localStorage.getItem(NM) === "dense" ? "dense" : "big";
-function IM(e, t) {
- let [n, r] = vM;
+}, NM = () => localStorage.getItem(jM) === "dense" ? "dense" : "big";
+function PM(e, t) {
+ let [n, r] = gM;
if (e.querySelector("[data-icon-swap]")) Ks(e, t === r[0] ? "b" : "a");
else {
let i = e.querySelector(":scope > [data-glass-drift]");
e.innerHTML = Gs(n[2], r[2], t === r[0] ? "b" : "a"), i && e.append(i);
}
- LM(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");
+ FM(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");
}
-function LM(e, t, n) {
+function FM(e, t, n) {
e.getAttribute(t) !== n && e.setAttribute(t, n);
}
-var RM = () => document.querySelector("#density");
-function zM(e = FM()) {
+var IM = () => document.querySelector("#density");
+function LM(e = NM()) {
let t = document.documentElement;
- t.style.getPropertyValue("--tile") !== PM[e] && t.style.setProperty("--tile", PM[e]), LM(document.body, "data-density", e);
- let n = RM();
- n && (LM(n, "aria-pressed", String(e === "dense")), LM(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), IM(n, e === "big" ? "big" : "small"));
+ t.style.getPropertyValue("--tile") !== MM[e] && t.style.setProperty("--tile", MM[e]), FM(document.body, "data-density", e);
+ let n = IM();
+ n && (FM(n, "aria-pressed", String(e === "dense")), FM(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), PM(n, e === "big" ? "big" : "small"));
}
-function ble() {
- let e = FM() === "big" ? "dense" : "big";
- localStorage.setItem(NM, e), zM(e);
+function Sle() {
+ let e = NM() === "big" ? "dense" : "big";
+ localStorage.setItem(jM, e), LM(e);
}
-function xle(e) {
- let t = RM();
- t && (LM(t, "aria-pressed", String(e === "small")), LM(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), IM(t, e));
+function Cle(e) {
+ let t = IM();
+ t && (FM(t, "aria-pressed", String(e === "small")), FM(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), PM(t, e));
}
// src/appearance/glow.ts
-function BM(e = dM()) {
- ile(document.querySelector(".glowlayer"), e.value.homeGlow);
+function RM(e = lM()) {
+ ole(document.querySelector(".glowlayer"), e.value.homeGlow);
}
-var VM = 0;
-function HM(e = dM()) {
- VM ||= requestAnimationFrame(() => {
- VM = 0, BM(e);
+var zM = 0;
+function BM(e = lM()) {
+ zM ||= requestAnimationFrame(() => {
+ zM = 0, RM(e);
});
}
-function UM(e = dM()) {
- ale(document.documentElement, e.value.homeGlow);
+function VM(e = lM()) {
+ sle(document.documentElement, e.value.homeGlow);
}
-function WM(e = dM()) {
+function HM(e = lM()) {
document.documentElement.dataset.accent = e.value.accent;
}
-var GM = (e, t, n) => ({
+var UM = (e, t, n) => ({
key: e,
label: t,
- native: Xj(e),
- fill: Xj(e) ? "" : rle(n)
+ native: Jj(e),
+ fill: Jj(e) ? "" : ale(n)
});
-function Sle(e) {
- let t = Yj.map(([e, t, n]) => GM(e, t, qj.map((e) => n[e].color)));
- return e.preset === "custom" && t.push(GM("custom", "自定义", qj.map((t) => e[t].color))), t;
+function wle(e) {
+ let t = qj.map(([e, t, n]) => UM(e, t, Gj.map((e) => n[e].color)));
+ return e.preset === "custom" && t.push(UM("custom", "自定义", Gj.map((t) => e[t].color))), t;
}
-var Cle = $j;
-function wle(e, t = dM()) {
+var Tle = Zj;
+function Ele(e, t = lM()) {
if (e === "custom") return;
let n = t.value.homeGlow;
- n.preset = e, Object.assign(n, Qj(e)), t.value.accent = Qce(e), t.save(), HM(t), UM(t), WM(t);
+ n.preset = e, Object.assign(n, Xj(e)), t.value.accent = ele(e), t.save(), BM(t), VM(t), HM(t);
}
-function Tle(e, t = dM()) {
- t.value.accent = tM(e), t.save(), WM(t);
+function Dle(e, t = lM()) {
+ t.value.accent = $j(e), t.save(), HM(t);
}
-function Ele(e = dM()) {
+function Ole(e = lM()) {
let t = e.value.homeGlow;
- t.preset = iM.preset, Object.assign(t, Qj(t.preset)), e.value.accent = eM, e.save(), HM(e), UM(e), WM(e);
+ t.preset = nM.preset, Object.assign(t, Xj(t.preset)), e.value.accent = Qj, e.save(), BM(e), VM(e), HM(e);
}
-function KM(e, t) {
- e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && Xj(t.preset)), e.toggleAttribute("data-glow-off", !t.on);
+function WM(e, t) {
+ e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && Jj(t.preset)), e.toggleAttribute("data-glow-off", !t.on);
}
-function Dle(e, t = dM()) {
- return KM(e, t.value.homeGlow), t.subscribe(() => KM(e, t.value.homeGlow));
+function kle(e, t = lM()) {
+ return WM(e, t.value.homeGlow), t.subscribe(() => WM(e, t.value.homeGlow));
}
// src/react/components/glow-preset-grid.tsx
-function qM({ store: e, label: t, hidden: n }) {
+function GM({ store: e, label: t, hidden: n }) {
let r = e.value.homeGlow;
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-glow-grid": "",
role: "group",
"aria-label": t,
hidden: n,
- children: Sle(r).map((t) => /* @__PURE__ */ (0, I.jsx)("button", {
+ children: wle(r).map((t) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-glow-chip": "",
"data-glow-preset": t.key,
"aria-pressed": t.key === r.preset,
title: t.label,
"aria-label": t.label,
- onClick: () => wle(t.key, e),
+ onClick: () => Ele(t.key, e),
children: /* @__PURE__ */ (0, I.jsx)("span", {
"data-glow-ball": "",
"aria-hidden": "true",
@@ -32064,14 +32064,14 @@ function qM({ store: e, label: t, hidden: n }) {
});
}
// src/react/glow-picker/glow-picker-island.tsx
-var JM = null;
-function Ole(e) {
- JM = e;
+var KM = null;
+function Ale(e) {
+ KM = e;
}
-function kle() {
- return JM ? /* @__PURE__ */ (0, I.jsx)(Ale, { host: JM }) : null;
+function jle() {
+ return KM ? /* @__PURE__ */ (0, I.jsx)(Mle, { host: KM }) : null;
}
-function Ale({ host: e }) {
+function Mle({ host: e }) {
let { store: t } = e;
(0, F.useSyncExternalStore)(t.subscribe, t.version);
let { homeGlow: n, accent: r } = t.value;
@@ -32083,11 +32083,11 @@ function Ale({ host: e }) {
children: [/* @__PURE__ */ (0, I.jsx)("span", { children: "光晕" }), /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-glow-preset-reset": "",
- onClick: () => Ele(t),
+ onClick: () => Ole(t),
children: "重置"
})]
}),
- /* @__PURE__ */ (0, I.jsx)(qM, {
+ /* @__PURE__ */ (0, I.jsx)(GM, {
store: t,
label: "光晕",
hidden: !n.on
@@ -32101,14 +32101,14 @@ function Ale({ host: e }) {
"data-accent-grid": "",
role: "group",
"aria-label": "强调色",
- children: Cle.map(([e, n]) => /* @__PURE__ */ (0, I.jsx)("button", {
+ children: Tle.map(([e, n]) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-glow-chip": "",
"data-accent": e,
"aria-pressed": e === r,
title: n,
"aria-label": n,
- onClick: () => Tle(e, t),
+ onClick: () => Dle(e, t),
children: /* @__PURE__ */ (0, I.jsx)("span", {
"data-glow-ball": "",
"aria-hidden": "true",
@@ -32126,31 +32126,31 @@ function Ale({ host: e }) {
] });
}
// src/player/host.ts
-var YM = null;
-function jle(e) {
- YM = e;
+var qM = null;
+function Nle(e) {
+ qM = e;
}
-function XM() {
- if (!YM) throw Error("播放器还没有接上宿主(configurePlayer)");
- return YM;
+function JM() {
+ if (!qM) throw Error("播放器还没有接上宿主(configurePlayer)");
+ return qM;
}
// src/player/menu.ts
-var ZM = null;
-function Mle(e) {
- ZM = e;
+var YM = null;
+function Ple(e) {
+ YM = e;
}
-function Nle() {
+function Fle() {
let e = document.getElementById("playerMenu");
return e || (e = document.createElement("div"), e.className = "popmenu", e.setAttribute("data-player-context-menu", ""), e.id = "playerMenu", e.setAttribute("role", "menu"), e.setAttribute("aria-label", "播放器菜单"), e.hidden = !0, document.body.append(e)), e;
}
-var QM = null, $M = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
-function eN() {
+var XM = null, ZM = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
+function QM() {
let e = document.getElementById("playerMenu");
e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && cs(e, () => {
e.innerHTML = "";
- }), QM &&= (QM(), null);
+ }), XM &&= (XM(), null);
}
-async function Ple(e) {
+async function Ile(e) {
try {
return await navigator.clipboard.writeText(e), !0;
} catch {
@@ -32163,8 +32163,8 @@ async function Ple(e) {
return t.remove(), n;
}
}
-function Fle(e) {
- let t = !!ZM?.inMiniplayer(e), n = e.peachItem, r = ZM?.kind(e) ?? "item", i = (t) => {
+function Lle(e) {
+ let t = !!YM?.inMiniplayer(e), n = e.peachItem, r = YM?.kind(e) ?? "item", i = (t) => {
let i = new URL(r === "follow" ? `/posts/${n?.id}` : `/assets/${n?.id}`, location.origin);
if (r !== "follow" && location.pathname === i.pathname) {
let e = new URLSearchParams(location.search);
@@ -32180,7 +32180,7 @@ function Fle(e) {
}
return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;
}, a = (e, t) => {
- Ple(i(e)).then((e) => XM().toast(e ? t : "复制失败,请手动复制地址栏", {
+ Ile(i(e)).then((e) => JM().toast(e ? t : "复制失败,请手动复制地址栏", {
timeout: 4e3,
warn: !e
}));
@@ -32192,11 +32192,11 @@ function Fle(e) {
}, t ? {
icon: "maximize-2",
label: "展开",
- run: () => ZM?.expand()
+ run: () => YM?.expand()
} : {
icon: "picture-in-picture-2",
label: "迷你播放器",
- run: () => ZM?.toMiniplayer()
+ run: () => YM?.toMiniplayer()
}];
document.pictureInPictureEnabled && o.push({
icon: "player-pip",
@@ -32219,29 +32219,29 @@ function Fle(e) {
run: () => s.click()
}), o;
}
-function Ile(e, t, n) {
- let r = Nle();
- eN();
- let i = XM().stage();
+function Rle(e, t, n) {
+ let r = Fle();
+ QM();
+ let i = JM().stage();
i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");
- let a = Fle(e);
+ let a = Lle(e);
r.innerHTML = a.map((e, t) => {
let n = e.checked !== void 0;
- return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${$M(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? $M(R("check"), "data-player-menu-check") : ""}</button>`;
+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${ZM(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? ZM(R("check"), "data-player-menu-check") : ""}</button>`;
}).join(""), ss(r), r.showPopover(), r.style.left = `${Math.max(8, Math.min(t, innerWidth - r.offsetWidth - 8))}px`, r.style.top = `${Math.max(8, Math.min(n, innerHeight - r.offsetHeight - 8))}px`;
let o = [...r.querySelectorAll("[data-player-menu]")];
o.forEach((e) => {
e.onclick = (t) => {
t.stopPropagation();
let n = a[Number(e.dataset.playerMenu)];
- eN(), n?.run();
+ QM(), n?.run();
};
});
let s = (e) => {
- r.contains(e.target) || eN();
+ r.contains(e.target) || QM();
}, c = (e) => {
if (e.key === "Escape") {
- e.preventDefault(), e.stopPropagation(), eN();
+ e.preventDefault(), e.stopPropagation(), QM();
return;
}
if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
@@ -32249,49 +32249,49 @@ function Ile(e, t, n) {
let t = o.indexOf(document.activeElement);
o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();
}, l = (t) => {
- us(t, e.el()) && eN();
+ us(t, e.el()) && QM();
};
setTimeout(() => {
document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {
capture: !0,
passive: !0
});
- }, 0), QM = () => {
+ }, 0), XM = () => {
document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);
}, o[0]?.focus();
}
-function Lle(e) {
+function zle(e) {
e.el().addEventListener("contextmenu", (t) => {
- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Ile(e, t.clientX, t.clientY));
- }), e.on("dispose", eN);
+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Rle(e, t.clientX, t.clientY));
+ }), e.on("dispose", QM);
}
// src/player/registry.ts
-var tN = null, nN = () => tN;
-function rN(e) {
- tN = e;
+var $M = null, eN = () => $M;
+function tN(e) {
+ $M = e;
}
-function iN(e) {
+function nN(e) {
e && !e.isDisposed() && requestAnimationFrame(() => {
e.isDisposed() || e.trigger("resize");
});
}
// src/player/stats.ts
-function aN(e) {
+function rN(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 Rle(e) {
+function Ble(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 oN = 3e3;
-function sN(e, t) {
+var iN = 3e3;
+function aN(e, t) {
let n = Number(e) || 0, r = Kn(t) || 0;
return n > 0 && r > 0 ? n * 8 / r : 0;
}
-function zle(e) {
+function Vle(e) {
let t = [], n = null, r = 0, i = 0;
return {
bitrate: Number(e) || 0,
@@ -32306,10 +32306,10 @@ function zle(e) {
},
sample(e) {
if (!e) return i;
- let a = performance.now(), o = Rle(e), s = e.currentTime || 0;
+ let a = performance.now(), o = Ble(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 > oN * 2 && (t.length = 0);
+ !i && c > 0 && (r += c), e * 1e3 > iN * 2 && (t.length = 0);
}
for (n = {
at: a,
@@ -32318,55 +32318,55 @@ function zle(e) {
}, t.push({
at: a,
advanced: r
- }); t.length > 2 && a - t[0].at > oN;) t.shift();
+ }); t.length > 2 && a - t[0].at > iN;) 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 cN = 24;
-function lN(e, t) {
- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > cN && e.splice(0, e.length - cN);
+var oN = 24;
+function sN(e, t) {
+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > oN && e.splice(0, e.length - oN);
}
-var uN = "peach-player-panel";
-function dN(e, t, n, r) {
- let i = [...Array(Math.max(0, cN - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {
+var cN = "peach-player-panel";
+function lN(e, t, n, r) {
+ let i = [...Array(Math.max(0, oN - 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 fN() {
+function uN() {
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 pN(e, t = "") {
+function dN(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 mN(e, t = "") {
- let n = pN(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 fN(e, t = "") {
+ let n = dN(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 hN(e, t, n = "", r = null) {
+function pN(e, t, n = "", r = null) {
let i = 0;
try {
i = Number(e?.bandwidth?.()) || 0;
} catch {}
- return i > 0 ? i : r ? Number(r.bits) || 0 : mN(t, n);
+ return i > 0 ? i : r ? Number(r.bits) || 0 : fN(t, n);
}
-function gN(e) {
+function mN(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 Ble(e, t) {
- return e > 0 ? gN(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : gN(0);
+function Hle(e, t) {
+ return e > 0 ? mN(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : mN(0);
}
// src/player/subtitle-style.ts
-var _N = {
+var hN = {
font: {
label: "字体",
values: [
@@ -32469,7 +32469,7 @@ var _N = {
["shadow", "阴影"]
]
}
-}, vN = {
+}, gN = {
font: "sans",
size: "100",
color: "white",
@@ -32479,7 +32479,7 @@ var _N = {
window: "black",
windowOpacity: "0",
edge: "shadow"
-}, yN = "peach.caption-style.v1", Vle = {
+}, _N = "peach.caption-style.v1", Ule = {
white: "255,255,255",
yellow: "255,255,0",
green: "0,255,0",
@@ -32488,7 +32488,7 @@ var _N = {
magenta: "255,0,255",
red: "255,0,0",
black: "0,0,0"
-}, Hle = {
+}, Wle = {
sans: "Arial,sans-serif",
mono: "Consolas,monospace",
serif: "Georgia,serif",
@@ -32496,28 +32496,28 @@ var _N = {
casual: "\"Comic Sans MS\",sans-serif",
cursive: "cursive",
"small-caps": "Arial,sans-serif"
-}, Ule = {
+}, Gle = {
none: "none",
raised: "-1px -1px 0 #ddd,1px 1px 0 #222",
depressed: "1px 1px 0 #ddd,-1px -1px 0 #222",
outline: "-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000",
shadow: "2px 2px 3px #000"
};
-function Wle() {
+function Kle() {
let e = {};
try {
- e = JSON.parse(localStorage.getItem(yN) || "{}") || {};
+ e = JSON.parse(localStorage.getItem(_N) || "{}") || {};
} catch {}
- return Object.fromEntries(Object.entries(vN).map(([t, n]) => [t, _N[t].values.some(([n]) => n === e[t]) ? e[t] : n]));
+ return Object.fromEntries(Object.entries(gN).map(([t, n]) => [t, hN[t].values.some(([n]) => n === e[t]) ? e[t] : n]));
}
-function bN(e, t, n, r) {
- let i = Wle(), a = /* @__PURE__ */ new Set(), o = document.createElement("div");
+function vN(e, t, n, r) {
+ let i = Kle(), a = /* @__PURE__ */ new Set(), o = document.createElement("div");
o.className = "vjs-peach-captions", o.setAttribute("aria-hidden", "true");
let s = document.createElement("div");
s.className = "vjs-peach-caption-window", o.append(s), e.querySelector("media-container").append(o), e.dataset.peachCaptions = "";
let c = () => {
- let t = (e, t) => `rgba(${Vle[e]},${Number(t) / 100})`;
- e.style.setProperty("--peach-caption-font", Hle[i.font]), e.style.setProperty("--peach-caption-scale", String(Number(i.size) / 100)), e.style.setProperty("--peach-caption-color", t(i.color, i.opacity)), e.style.setProperty("--peach-caption-background", t(i.background, i.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(i.window, i.windowOpacity)), e.style.setProperty("--peach-caption-edge", Ule[i.edge]), e.style.setProperty("--peach-caption-variant", i.font === "small-caps" ? "small-caps" : "normal");
+ let t = (e, t) => `rgba(${Ule[e]},${Number(t) / 100})`;
+ e.style.setProperty("--peach-caption-font", Wle[i.font]), e.style.setProperty("--peach-caption-scale", String(Number(i.size) / 100)), e.style.setProperty("--peach-caption-color", t(i.color, i.opacity)), e.style.setProperty("--peach-caption-background", t(i.background, i.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(i.window, i.windowOpacity)), e.style.setProperty("--peach-caption-edge", Gle[i.edge]), e.style.setProperty("--peach-caption-variant", i.font === "small-caps" ? "small-caps" : "normal");
}, l = () => {
s.replaceChildren();
for (let e of t.textTracks) if (e.mode === "showing" && ["subtitles", "captions"].includes(e.kind)) for (let t of Array.from(e.activeCues || [])) {
@@ -32533,15 +32533,15 @@ function bN(e, t, n, r) {
if (!n.aborted) {
if (e.caption_style) {
let t = {
- ...vN,
+ ...gN,
...e.caption_style
};
- for (let e of Object.keys(vN)) a.has(e) || (i[e] = t[e]);
+ for (let e of Object.keys(gN)) a.has(e) || (i[e] = t[e]);
c();
} else {
let e = !1;
try {
- e = !!localStorage.getItem(yN);
+ e = !!localStorage.getItem(_N);
} catch {}
e && !a.size && r.save({ caption_style: i }).catch(() => {});
}
@@ -32549,18 +32549,18 @@ function bN(e, t, n, r) {
}), {
current: () => i,
set(e, t) {
- _N[e].values.some(([e]) => e === t) && (a.add(e), i = {
+ hN[e].values.some(([e]) => e === t) && (a.add(e), i = {
...i,
[e]: t
}, c(), r?.save({ caption_style: { [e]: t } }).catch(() => {}));
},
reset() {
- Object.keys(vN).forEach((e) => a.add(e)), i = { ...vN }, c(), r?.save({ caption_style: i }).catch(() => {});
+ Object.keys(gN).forEach((e) => a.add(e)), i = { ...gN }, c(), r?.save({ caption_style: i }).catch(() => {});
}
};
}
// src/player/memory.ts
-var xN = /* @__PURE__ */ new Map(), SN = /* @__PURE__ */ new WeakMap(), Gle = class {
+var yN = /* @__PURE__ */ new Map(), bN = /* @__PURE__ */ new WeakMap(), qle = class {
cleanup = new AbortController();
reading;
listeners = /* @__PURE__ */ new Set();
@@ -32588,7 +32588,7 @@ var xN = /* @__PURE__ */ new Map(), SN = /* @__PURE__ */ new WeakMap(), Gle = cl
}
load() {
return this.url ? this.reading ||= (async () => {
- await xN.get(this.url)?.catch(() => {});
+ await yN.get(this.url)?.catch(() => {});
let e = await wn(this.url, { signal: this.cleanup.signal });
return this.cleanup.signal.aborted || (this.restored = e, this.restorers.forEach((t) => t(e)), this.changed()), e;
})().catch((e) => {
@@ -32600,7 +32600,7 @@ var xN = /* @__PURE__ */ new Map(), SN = /* @__PURE__ */ new WeakMap(), Gle = cl
}
save(e) {
if (!this.url) return Promise.resolve();
- let t = (xN.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {
+ let t = (yN.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {
let t = {
...this.unsaved,
...e,
@@ -32627,8 +32627,8 @@ var xN = /* @__PURE__ */ new Map(), SN = /* @__PURE__ */ new WeakMap(), Gle = cl
this.changed();
}
});
- return xN.set(this.url, t), t.finally(() => {
- xN.get(this.url) === t && xN.delete(this.url);
+ return yN.set(this.url, t), t.finally(() => {
+ yN.get(this.url) === t && yN.delete(this.url);
}).catch(() => {}), t;
}
async retry() {
@@ -32637,12 +32637,12 @@ var xN = /* @__PURE__ */ new Map(), SN = /* @__PURE__ */ new WeakMap(), Gle = cl
} catch {}
}
};
-function CN(e) {
- let t = SN.get(e);
- return t || (t = new Gle(e), SN.set(e, t)), t;
+function xN(e) {
+ let t = bN.get(e);
+ return t || (t = new qle(e), bN.set(e, t)), t;
}
-function wN(e, t) {
- let n = CN(e), r = Number(e.playbackRate()) || 1, i = !1, a = () => {
+function SN(e, t) {
+ let n = xN(e), r = Number(e.playbackRate()) || 1, i = !1, a = () => {
t.defaultPlaybackRate = r, Number(e.playbackRate()) !== r && e.playbackRate(r);
};
return n.restore((t) => {
@@ -32655,7 +32655,7 @@ function wN(e, t) {
};
}
// src/player/subtitle-memory.ts
-var TN = class {
+var CN = class {
player;
video;
changed;
@@ -32666,7 +32666,7 @@ var TN = class {
ready;
error = "";
constructor(e, t, n = () => {}) {
- this.player = e, this.video = t, this.changed = n, this.memory = CN(e);
+ this.player = e, this.video = t, this.changed = n, this.memory = xN(e);
let r = this.cleanup.signal;
t.textTracks.addEventListener("addtrack", () => {
this.apply(), this.changed();
@@ -32763,7 +32763,7 @@ var TN = class {
throw a.remove(), URL.revokeObjectURL(i), e;
}
}
-}, EN = () => "<svg viewBox=\"0 0 36 36\" aria-hidden=\"true\"><path d=\"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z\"/></svg>", Kle = class {
+}, wN = () => "<svg viewBox=\"0 0 36 36\" aria-hidden=\"true\"><path d=\"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z\"/></svg>", Jle = class {
player;
video;
panels;
@@ -32782,7 +32782,7 @@ var TN = class {
more = !1;
searched = !1;
constructor(e, t, n) {
- this.player = e, this.video = t, this.panels = n, this.styles = bN(e.el(), t, this.cleanup.signal, CN(e)), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = EN(), this.cc.onclick = () => {
+ this.player = e, this.video = t, this.panels = n, this.styles = vN(e.el(), t, this.cleanup.signal, xN(e)), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = wN(), this.cc.onclick = () => {
let e = this.tracks().find((e) => e.mode === "showing");
e ? (this.last = e, this.select(null)) : this.tracks().length ? this.select(this.last && this.tracks().includes(this.last) ? this.last : this.tracks()[0]) : this.show();
}, this.input.type = "file", this.input.accept = ".srt,.ass,.ssa,.vtt", this.input.hidden = !0, this.input.setAttribute("aria-label", "加载字幕文件"), e.el().append(this.input), this.input.addEventListener("change", () => {
@@ -32792,7 +32792,7 @@ var TN = class {
this.sync(), this.page === "tracks" && this.show(0);
}, { signal: this.cleanup.signal }), e.on("dispose", () => {
this.hide(), this.cleanup.abort();
- }), this.session = new TN(e, t, () => {
+ }), this.session = new CN(e, t, () => {
this.sync(), this.page === "tracks" && this.show(0);
}), this.sync();
}
@@ -32840,7 +32840,7 @@ var TN = class {
}
options(e = 1) {
this.page = "options";
- let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(_N).map(([e, n]) => {
+ let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(hN).map(([e, n]) => {
let r = n.values.find(([n]) => n === t[e])?.[1] || "";
return `<button type="button" class="vjs-peach-caption-setting" data-subtitle-style="${e}"><span>${z(n.label)}</span><b>${z(r)}</b>${R("player-menu-next")}</button>`;
}).join("")}<button type="button" class="vjs-peach-caption-action" data-subtitle-reset>重置</button></div>`, () => this.show(-1), e);
@@ -32852,7 +32852,7 @@ var TN = class {
}
styleOptions(e) {
this.page = "style";
- let t = _N[e];
+ let t = hN[e];
this.panel(this.header(t.label) + `<div class="vjs-peach-panel-menu">${t.values.map(([t, n]) => {
let r = this.styles.current()[e] === t;
return `<button type="button" class="vjs-peach-menu-option" role="menuitemradio" aria-checked="${r}" data-subtitle-value="${z(t)}"><span class="vjs-peach-option-check">${r ? R("check") : ""}</span><span class="vjs-peach-option-label">${z(n)}</span></button>`;
@@ -32968,7 +32968,7 @@ var TN = class {
}
};
// src/player/timeline.ts
-function qle(e, t) {
+function Yle(e, t) {
if (!Number.isFinite(e) || e < 0 || t.frames <= 0) return null;
if (!t.cues?.length) return t.interval > 0 ? Math.min(t.frames - 1, Math.floor(e / t.interval)) : null;
let n = 0, r = t.cues.length;
@@ -32980,8 +32980,8 @@ function qle(e, t) {
return !a || e >= a[1] && (i !== t.cues.length - 1 || e !== a[1]) ? null : i;
}
// src/player/rotation.ts
-function DN(e, t) {
- let n = 0, r = !1, i = CN(e), a = e.el(), o = a.querySelector("media-container") || a, s = [
+function TN(e, t) {
+ let n = 0, r = !1, i = xN(e), a = e.el(), o = a.querySelector("media-container") || a, s = [
"width",
"height",
"inset",
@@ -33009,7 +33009,7 @@ function DN(e, t) {
};
}
// src/player/pip.ts
-function Jle(e, t, n, r) {
+function Xle(e, t, n, r) {
let i = e.el().querySelector("video");
if (!i || !t) return;
let a = t, o = !!document.pictureInPictureEnabled && typeof i.requestPictureInPicture == "function" || typeof i.webkitSetPresentationMode == "function";
@@ -33041,7 +33041,7 @@ function Jle(e, t, n, r) {
});
}
// src/player/controls.ts
-function ON(e, t, n = "") {
+function EN(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));
@@ -33052,27 +33052,27 @@ function ON(e, t, n = "") {
};
return o(), o;
}
-function kN(e, t) {
+function DN(e, t) {
e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();
}
-function Yle(e, t = !0) {
- let n = XM(), r = n.settings();
+function Zle(e, t = !0) {
+ let n = JM(), 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 AN = /* @__PURE__ */ new WeakMap();
-function jN(e) {
+var ON = /* @__PURE__ */ new WeakMap();
+function kN(e) {
if (!e) return;
- let t = XM().settings().theaterMode;
- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), AN.get(e)?.(t ? "默认视图" : "影院模式");
+ let t = JM().settings().theaterMode;
+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), ON.get(e)?.(t ? "默认视图" : "影院模式");
}
-function MN(e, t = !0) {
- let n = XM(), r = n.settings();
+function AN(e, t = !0) {
+ let n = JM(), r = n.settings();
r.theaterMode = !!e, t && n.saveSettings();
let i = n.stage();
- i?.toggleAttribute("data-theater", r.theaterMode), jN(i?.querySelector("[data-player-theater]")), iN(nN());
+ i?.toggleAttribute("data-theater", r.theaterMode), kN(i?.querySelector("[data-player-theater]")), nN(eN());
}
-function Xle(e) {
- let t = XM().stage(), n = t?.querySelector("[data-ambient-canvas]");
+function Qle(e) {
+ let t = JM().stage(), n = t?.querySelector("[data-ambient-canvas]");
if (!t || !n) return () => {};
let r = n.getContext("2d", { alpha: !1 });
if (!r) return () => {};
@@ -33095,9 +33095,9 @@ function Xle(e) {
}, u = (t) => {
e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));
}, d = (t, n) => {
- i || t !== o || (XM().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());
+ i || t !== o || (JM().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());
}, f = () => {
- !i && XM().settings().ambientMode && (l(), e.paused || u(++o));
+ !i && JM().settings().ambientMode && (l(), e.paused || u(++o));
}, p = (e) => {
let n = !!e.detail.enabled;
t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());
@@ -33106,7 +33106,7 @@ function Xle(e) {
i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();
};
}
-function NN(e, t, n = 0, r = null) {
+function jN(e, t, n = 0, r = null) {
let i = e.el().querySelector(".vjs-control-bar");
if (!i || i.querySelector("[data-player-quality]")) return;
let a = document.createElement("div");
@@ -33116,8 +33116,8 @@ function NN(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]");
- ON(s, "设置");
- let l = a.querySelector(".vjs-peach-settings-menu"), u = DN(e, t), d = wN(e, t), f = CN(e), p, m = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, h = r, g = "auto", _ = (e, t) => {
+ EN(s, "设置");
+ let l = a.querySelector(".vjs-peach-settings-menu"), u = TN(e, t), d = SN(e, t), f = xN(e), p, m = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, h = r, g = "auto", _ = (e, t) => {
let n = [Number(e), Number(t)].filter((e) => e > 0);
return n.length ? Math.min(...n) : 0;
}, v = () => {
@@ -33156,11 +33156,11 @@ function NN(e, t, n = 0, r = null) {
active: n
};
}, b = () => l.getAttribute("aria-hidden") !== "true", x = (e) => {
- l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || p?.hide(), e && document.dispatchEvent(new CustomEvent(uN, { detail: "settings" }));
+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || p?.hide(), e && document.dispatchEvent(new CustomEvent(cN, { detail: "settings" }));
}, S = () => x(!1), C = (e) => {
e.detail !== "settings" && S();
};
- document.addEventListener(uN, C);
+ document.addEventListener(cN, C);
let w = null, T = 0, E = (e, t) => {
let n = ++T;
w && (clearTimeout(w), w = null, l.classList.remove("vjs-peach-popup-animating"), l.style.height = ""), l.querySelectorAll(".vjs-peach-panel-leaving").forEach((e) => e.remove()), l.scrollTop = 0;
@@ -33176,15 +33176,15 @@ function NN(e, t, n = 0, r = null) {
}), i;
}, D = (e, t) => e.querySelector(t), O = "main", k = (e = 0) => {
O = "main";
- let { active: t } = y(), n = d.current(), r = E(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${XM().settings().ambientMode}">
+ let { active: t } = y(), n = d.current(), r = E(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${JM().settings().ambientMode}">
${R("player-ambient")}<span>氛围模式</span><i class="vjs-peach-switch" aria-hidden="true"></i></button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-speed>${R("player-speed")}<span>播放速度</span><b>${n === 1 ? "正常" : `${n}×`}</b>${R("player-menu-next")}</button>
- <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-subtitles><span class="vjs-peach-menu-cc" aria-hidden="true">${EN()}</span><span>字幕</span><b>${z(p?.label() || "关闭")}</b>${R("player-menu-next")}</button>
+ <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-subtitles><span class="vjs-peach-menu-cc" aria-hidden="true">${wN()}</span><span>字幕</span><b>${z(p?.label() || "关闭")}</b>${R("player-menu-next")}</button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-rotation>${R("rotate-cw", "vjs-peach-menu-line-icon")}<span>画面旋转</span><b>${u.angle()}°</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(t.label)}</b>${R("player-menu-next")}</button>
<div data-player-memory-error hidden><p class="vjs-peach-subtitle-status" role="status"></p><button type="button" class="vjs-peach-menu-row" data-player-memory-retry>重试保存播放记忆</button></div></div>`, e);
D(r, "[data-player-ambient]").onclick = () => {
- Yle(!XM().settings().ambientMode), k();
+ Zle(!JM().settings().ambientMode), k();
}, D(r, "[data-player-speed]").onclick = () => te(), D(r, "[data-player-subtitles]").onclick = () => p?.show(), D(r, "[data-player-quality-view]").onclick = () => ne(), D(r, "[data-player-rotation]").onclick = () => j(), D(r, "[data-player-memory-retry]").onclick = () => {
f.retry();
}, A();
@@ -33288,8 +33288,8 @@ function NN(e, t, n = 0, r = null) {
A(), re();
});
return e.on("dispose", () => {
- I(), t.removeEventListener("loadedmetadata", re), t.removeEventListener("resize", re), t.removeEventListener("ratechange", re), T++, document.removeEventListener("pointerdown", F), document.removeEventListener(uN, C), w && clearTimeout(w);
- }), p = new Kle(e, t, {
+ I(), t.removeEventListener("loadedmetadata", re), t.removeEventListener("resize", re), t.removeEventListener("ratechange", re), T++, document.removeEventListener("pointerdown", F), document.removeEventListener(cN, C), w && clearTimeout(w);
+ }), p = new Jle(e, t, {
render: E,
open: () => {
O = "subtitles", x(!0);
@@ -33298,21 +33298,21 @@ function NN(e, t, n = 0, r = null) {
back: () => {
p?.hide(), k(-1);
}
- }), y(), Zle(e, a), Qle(e), (e) => {
+ }), y(), $le(e, a), eue(e), (e) => {
h = e?.length ? e : null, re();
};
}
-function Zle(e, t) {
+function $le(e, t) {
let n = e.el().querySelector(".vjs-control-bar");
if (!n || n.querySelector("[data-player-theater]")) return;
- let r = XM().settings().theaterMode, i = document.createElement("div");
+ let r = JM().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");
- AN.set(a, ON(a, "影院模式", "T")), jN(a), a.onclick = (e) => {
- e.stopPropagation(), MN(!XM().settings().theaterMode);
+ ON.set(a, EN(a, "影院模式", "T")), kN(a), a.onclick = (e) => {
+ e.stopPropagation(), AN(!JM().settings().theaterMode);
};
}
-function Qle(e) {
+function eue(e) {
let t = e.el().querySelector(".vjs-control-bar");
if (!t || t.querySelector(".vjs-peach-right-controls")) return;
let n = t.querySelector(":scope>.vjs-play-control");
@@ -33324,7 +33324,7 @@ function Qle(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 = ON(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 = EN(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 ? "播放" : "暂停");
};
@@ -33335,7 +33335,7 @@ function Qle(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 = ON(p, "静音", "M"), g = () => {
+ let h = EN(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 ? "取消静音" : "静音");
};
@@ -33361,7 +33361,7 @@ function Qle(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 = ON(x, "显示剩余时间"), T = () => {
+ let C = x.querySelector(".vjs-peach-time-text"), w = EN(x, "显示剩余时间"), T = () => {
let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = Jn(Math.max(0, n - t));
C.textContent = `${S ? `-${r}` : Jn(t)} / ${Jn(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${Jn(n)};点击显示已播放时间` : `已播放 ${Jn(t)},总时长 ${Jn(n)};点击显示剩余时间`);
};
@@ -33373,10 +33373,10 @@ function Qle(e) {
"loadedmetadata"
], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);
let E = t.querySelector(":scope>.vjs-picture-in-picture-control");
- ON(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), Jle(e, E, ON(E, "画中画"), (e) => XM().toast(e, { warn: !0 }));
- let D = t.querySelector(":scope>.vjs-fullscreen-control"), O = r(D, "player-fullscreen-enter"), k = ON(D, "全屏", "F"), A = () => {
+ EN(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), Xle(e, E, EN(E, "画中画"), (e) => JM().toast(e, { warn: !0 }));
+ let D = t.querySelector(":scope>.vjs-fullscreen-control"), O = r(D, "player-fullscreen-enter"), k = EN(D, "全屏", "F"), A = () => {
let t = !!e.isFullscreen();
- e.el().toggleAttribute("data-peach-fullscreen", t), O?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), k(t ? "退出全屏" : "全屏"), iN(e);
+ e.el().toggleAttribute("data-peach-fullscreen", t), O?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), k(t ? "退出全屏" : "全屏"), nN(e);
};
e.on([
"fullscreenchange",
@@ -33397,7 +33397,7 @@ function Qle(e) {
});
let ee = document.createElement("div");
ee.className = "vjs-peach-expand vjs-control", ee.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${R("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, M.prepend(ee);
- let N = ee.querySelector("button"), te = ON(N, "展开控件"), P = (t) => {
+ let N = ee.querySelector("button"), te = EN(N, "展开控件"), P = (t) => {
e.el().classList.toggle("vjs-peach-right-expanded", t), N.setAttribute("aria-expanded", String(t)), te(t ? "收起控件" : "展开控件");
};
N.onclick = (t) => {
@@ -33409,7 +33409,7 @@ function Qle(e) {
}, re = new ResizeObserver(ne);
re.observe(e.el()), e.on("dispose", () => re.disconnect()), P(!1), ne();
}
-function PN(e, t, n = {}) {
+function MN(e, t, n = {}) {
let r = e.el().querySelector(".vjs-control-bar .vjs-progress-control");
if (!r || r.querySelector("[data-player-seek-preview]")) return;
let i = !!t && n.thumbnail !== !1, a = document.createElement("div");
@@ -33420,7 +33420,7 @@ function PN(e, t, n = {}) {
}).catch(() => {});
let f = (e, n, r, i) => {
if (!t) return;
- let a = n.columns || 10, o = a * (n.rows || 10), s = qle(e, n);
+ let a = n.columns || 10, o = a * (n.rows || 10), s = Yle(e, n);
if (s === null) return !1;
let c = Math.floor(s / o), l = s % o, f = Math.ceil(Math.min(o, n.frames - c * o) / a);
d = !!n.cues;
@@ -33445,13 +33445,13 @@ function PN(e, t, n = {}) {
r.removeEventListener("pointermove", m), r.removeEventListener("pointerleave", h);
});
}
-function $le(e, t) {
+function tue(e, t) {
let n = navigator.mediaSession;
if (!n || typeof n.setActionHandler != "function") return;
let r = () => Kn(e.duration()) || Kn(t.duration) || 0, i = (t) => {
let n = r();
e.currentTime(Math.max(0, n ? Math.min(n, t) : t));
- }, a = () => Math.max(1, Number(XM().settings().seekSeconds) || 10), o = [
+ }, a = () => Math.max(1, Number(JM().settings().seekSeconds) || 10), o = [
["play", () => {
e.play();
}],
@@ -33492,11 +33492,11 @@ function $le(e, t) {
} catch {}
});
}
-function FN(e) {
+function NN(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 IN(e, t) {
+function PN(e, t) {
wn(`/api/assets/${t}/subtitles`).then((t) => {
e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {
e.addRemoteTextTrack({
@@ -33512,35 +33512,35 @@ function IN(e, t) {
}).catch(() => {});
}
// src/player/progress.ts
-var LN = "peach.playback-position.v1", RN = /* @__PURE__ */ new WeakMap();
-function zN(e) {
- RN.get(e)?.(), RN.delete(e);
+var FN = "peach.playback-position.v1", IN = /* @__PURE__ */ new WeakMap();
+function LN(e) {
+ IN.get(e)?.(), IN.delete(e);
}
-function BN(e, t, n = null) {
+function RN(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 eue(e) {
+function nue(e) {
try {
- let t = localStorage.getItem(`${LN}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);
+ let t = localStorage.getItem(`${FN}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);
return Number.isFinite(n) && n >= 0 ? n : null;
} catch {
return null;
}
}
-function tue(e, t) {
- let n = eue(e);
+function rue(e, t) {
+ let n = nue(e);
if (n !== null) return n;
let r = Number(t.leave_ratio);
return r > 0 && r < 1 ? r * Kn(t.duration) : 0;
}
-function nue(e, t) {
- zN(t);
+function iue(e, t) {
+ LN(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(`${LN}:${e}`, String(r));
+ localStorage.setItem(`${FN}:${e}`, String(r));
} catch {}
}, i = () => {
n = !0;
@@ -33554,7 +33554,7 @@ function nue(e, t) {
"pause",
"ended"
]) t.addEventListener(e, r);
- window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), RN.set(t, () => {
+ window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), IN.set(t, () => {
r(), t.removeEventListener("loadedmetadata", i), t.removeEventListener("emptied", a);
for (let e of [
"timeupdate",
@@ -33566,19 +33566,19 @@ function nue(e, t) {
});
}
// src/player/telemetry.ts
-var VN = /* @__PURE__ */ new WeakMap();
-function HN(e) {
- VN.get(e)?.(), VN.delete(e);
+var zN = /* @__PURE__ */ new WeakMap();
+function BN(e) {
+ zN.get(e)?.(), zN.delete(e);
}
-function UN(e, t, n, r) {
+function VN(e, t, n, r) {
let i = () => t(!1), a = () => {
n(), t(!1);
};
- e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), VN.set(e, () => {
+ e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), zN.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 WN(e, t, n = {}) {
+function HN(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 = Kn(e.duration) || Kn(t.duration);
@@ -33619,11 +33619,11 @@ function WN(e, t, n = {}) {
u(), l(!1);
}, t.onended = () => {
u(), l(!0), n.onEnded?.();
- }, UN(t, l, u, () => {
+ }, VN(t, l, u, () => {
a++;
}), c();
}
-function rue(e, t) {
+function aue(e, t) {
let n = 0, r = 0, i = !1, a = null, o = (n) => {
let i = Kn(e.duration) || Kn(t.duration);
(r || n) && (wn("/api/follow/activity", {
@@ -33654,22 +33654,22 @@ function rue(e, t) {
s(), o(!1);
}, t.onended = () => {
s(), o(!0);
- }, UN(t, o, s, () => {});
+ }, VN(t, o, s, () => {});
}
// src/player/dispose.ts
-function GN(e) {
+function UN(e) {
if (!e || e.isDisposed()) return;
let t = e.el()?.querySelector("video");
try {
e.pause();
} catch {}
- t && (zN(t), HN(t));
+ t && (LN(t), BN(t));
try {
e.dispose();
} catch {}
}
// src/core/random-id.ts
-function KN() {
+function WN() {
if (typeof crypto.randomUUID == "function") return crypto.randomUUID();
let e = crypto.getRandomValues(/* @__PURE__ */ new Uint8Array(16));
e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128;
@@ -33677,23 +33677,23 @@ function KN() {
return `${t.slice(0, 8)}-${t.slice(8, 12)}-${t.slice(12, 16)}-${t.slice(16, 20)}-${t.slice(20)}`;
}
// src/player/stream.ts
-function qN() {
- return KN();
+function GN() {
+ return WN();
}
-function JN(e, t) {
+function KN(e, t) {
return {
src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,
type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"
};
}
-function iue(e) {
+function oue(e) {
return e.location === "online" && e.follow_item_id ? {
src: `/follow-stream?id=${e.follow_item_id}`,
type: "video/mp4"
} : null;
}
-async function YN(e, t) {
- let n = iue(e);
+async function qN(e, t) {
+ let n = oue(e);
if (n) return n;
try {
let n = await wn(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);
@@ -33702,9 +33702,9 @@ async function YN(e, t) {
type: n.mime_type || (n.protocol === "hls" ? "application/vnd.apple.mpegurl" : "video/mp4")
};
} catch {}
- return JN(e, t);
+ return KN(e, t);
}
-function XN(e) {
+function JN(e) {
e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {
method: "POST",
credentials: "same-origin",
@@ -33713,22 +33713,22 @@ function XN(e) {
document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);
}).catch(() => {});
}
-var ZN = "";
-function QN() {
- return ZN;
+var YN = "";
+function XN() {
+ return YN;
}
-function $N() {
- return ZN ||= qN(), ZN;
+function ZN() {
+ return YN ||= GN(), YN;
}
-var aue = (e) => JN(e, $N()), oue = (e) => YN(e, $N());
-function eP() {
- let e = ZN;
- e && (ZN = "", XN(e));
+var sue = (e) => KN(e, ZN()), cue = (e) => qN(e, ZN());
+function QN() {
+ let e = YN;
+ e && (YN = "", JN(e));
}
// src/player/v10-player.ts
-var tP = (e) => typeof e == "string" ? [e] : e, sue = (e, t) => {
+var $N = (e) => typeof e == "string" ? [e] : e, lue = (e, t) => {
let n = document.createElement("div"), r = document.createElement("video-player");
- n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${KN()}`, n.setAttribute("lang", "zh-CN");
+ n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${WN()}`, n.setAttribute("lang", "zh-CN");
let i = document.createElement("media-container"), a = document.createElement("hlsjs-video");
e.parentNode?.replaceChild(n, e), e.removeAttribute("id"), e.className = "vjs-tech", e.slot = "media", e.controls = !1, e.preload = t.preload === "auto" ? "auto" : t.preload === "none" ? "none" : "metadata", t.poster && (e.poster = String(t.poster)), a.append(e), i.append(a), r.append(i), n.append(r), t.controls !== !1 && i.insertAdjacentHTML("beforeend", "<div class=\"vjs-loading-spinner\" aria-label=\"正在缓冲\"></div>\n <div class=\"vjs-error-display\"><div class=\"vjs-modal-dialog-content\" role=\"alert\"></div></div>\n <div class=\"vjs-control-bar\">\n <media-play-button class=\"vjs-play-control vjs-control vjs-button\" label=\"播放\"></media-play-button>\n <div class=\"vjs-volume-panel vjs-control vjs-volume-panel-horizontal\">\n <media-mute-button class=\"vjs-mute-control vjs-control vjs-button\" label=\"静音\"></media-mute-button>\n <div class=\"vjs-volume-control vjs-volume-horizontal\"><media-volume-slider class=\"vjs-volume-bar vjs-slider vjs-slider-horizontal\" label=\"音量\">\n <media-slider-track><media-slider-fill class=\"vjs-volume-level\"></media-slider-fill></media-slider-track>\n <media-slider-thumb class=\"vjs-volume-thumb\"></media-slider-thumb>\n <media-slider-value class=\"vjs-volume-tooltip\"></media-slider-value>\n </media-volume-slider></div>\n </div>\n <div class=\"vjs-progress-control vjs-control\"><media-time-slider class=\"vjs-progress-holder vjs-slider vjs-slider-horizontal\" label=\"播放进度\">\n <media-slider-track><media-slider-buffer class=\"vjs-load-progress\"></media-slider-buffer><media-slider-fill class=\"vjs-play-progress\"></media-slider-fill></media-slider-track>\n <media-slider-thumb class=\"vjs-progress-thumb\"></media-slider-thumb>\n </media-time-slider></div>\n <div class=\"vjs-subtitles-control vjs-control\"><button type=\"button\" class=\"vjs-button\" aria-label=\"开启字幕\" aria-pressed=\"false\">CC</button></div>\n <media-pip-button class=\"vjs-picture-in-picture-control vjs-control vjs-button\" label=\"画中画\"></media-pip-button>\n <media-fullscreen-button class=\"vjs-fullscreen-control vjs-control vjs-button\" label=\"全屏\"></media-fullscreen-button>\n </div>");
let o = new EventTarget(), s = new AbortController(), c = s.signal, l = !1, u = 0, d = 0, f = 0, p = {
@@ -33823,9 +33823,9 @@ var tP = (e) => typeof e == "string" ? [e] : e, sue = (e, t) => {
e && Array.isArray(e.levels) && !x.has(e) && (x.add(e), e.on("hlsManifestParsed", w), e.on("hlsLevelSwitched", w)), w();
};
return e.addEventListener("loadedmetadata", T, { signal: c }), {
- on: (e, t) => tP(e).forEach((e) => o.addEventListener(e, t, { signal: c })),
- off: (e, t) => tP(e).forEach((e) => o.removeEventListener(e, t)),
- one: (e, t) => tP(e).forEach((e) => o.addEventListener(e, t, {
+ on: (e, t) => $N(e).forEach((e) => o.addEventListener(e, t, { signal: c })),
+ off: (e, t) => $N(e).forEach((e) => o.removeEventListener(e, t)),
+ one: (e, t) => $N(e).forEach((e) => o.addEventListener(e, t, {
once: !0,
signal: c
})),
@@ -33880,7 +33880,7 @@ var tP = (e) => typeof e == "string" ? [e] : e, sue = (e, t) => {
n.id = String(t.id || ""), t.legacyId && (n.dataset.subtitleAlias = String(t.legacyId)), n.kind = String(t.kind || "subtitles"), n.src = String(t.src || ""), n.srclang = String(t.srclang || ""), n.label = String(t.label || ""), e.append(n);
}
};
-}, cue = "/vendor/videojs/10.2.0/", lue = [
+}, uue = "/vendor/videojs/10.2.0/", due = [
"video-player.js",
"media/hlsjs-video.js",
"media/dash-video.js",
@@ -33898,17 +33898,17 @@ var tP = (e) => typeof e == "string" ? [e] : e, sue = (e, t) => {
"ui/slider-value.js",
"i18n.js",
"locales/zh-CN.js"
-], nP = null;
-function rP() {
- return nP ??= Promise.all(lue.map((e) => import(
+], eP = null;
+function tP() {
+ return eP ??= Promise.all(due.map((e) => import(
/* @vite-ignore */
- `${cue}${e}`
-))).then(() => sue).catch((e) => {
- throw nP = null, e;
- }), nP;
+ `${uue}${e}`
+))).then(() => lue).catch((e) => {
+ throw eP = null, e;
+ }), eP;
}
// src/player/immerse-player.ts
-var uue = {
+var fue = {
controls: !1,
preload: "auto",
posterImage: !1,
@@ -33920,45 +33920,45 @@ var uue = {
errorDisplay: !1,
textTrackSettings: !1
};
-function due(e, t) {
+function pue(e, t) {
let { item: n, session: r } = t, i = null, a = !1;
- return Promise.all([YN(n, r), rP().catch(() => null)]).then(([o, s]) => {
+ return Promise.all([qN(n, r), tP().catch(() => null)]).then(([o, s]) => {
if (a) return;
- let c = JN(n, r), l = String(o.type || "").includes("mpegurl");
+ let c = KN(n, r), l = String(o.type || "").includes("mpegurl");
if (!s) e.src = (l ? c : o).src;
else {
- let t = s(e, uue);
- i = t, t.peachItem = n, t.peachPlaybackKey = BN("item", n);
+ let t = s(e, fue);
+ i = t, t.peachItem = n, t.peachPlaybackKey = RN("item", n);
let r = new AbortController();
- bN(t.el(), e, r.signal, CN(t)), DN(t, e), wN(t, e), t.on("dispose", () => r.abort()), new TN(t, e), IN(t, n.id), l && t.one("error", () => {
+ vN(t.el(), e, r.signal, xN(t)), TN(t, e), SN(t, e), t.on("dispose", () => r.abort()), new CN(t, e), PN(t, n.id), l && t.one("error", () => {
a || t.src(c);
}), t.src(o);
}
- WN(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
+ HN(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
}), () => {
- a || (a = !0, XN(r), i ? GN(i) : (e.pause(), HN(e), e.removeAttribute("src"), e.load()));
+ a || (a = !0, JN(r), i ? UN(i) : (e.pause(), BN(e), e.removeAttribute("src"), e.load()));
};
}
// src/player/guide-preview.ts
-var iP = !1, aP = () => iP;
-function fue() {
- return iP = !0, () => {
- iP = !1;
+var nP = !1, rP = () => nP;
+function mue() {
+ return nP = !0, () => {
+ nP = !1;
};
}
// src/player/detail-player.ts
-var oP = /* @__PURE__ */ new WeakMap(), sP = null, cP = null, lP = null;
-function uP() {
- sP &&= (clearInterval(sP), null), cP &&= (clearInterval(cP), null), lP &&= (clearTimeout(lP), null);
+var iP = /* @__PURE__ */ new WeakMap(), aP = null, oP = null, sP = null;
+function cP() {
+ aP &&= (clearInterval(aP), null), oP &&= (clearInterval(oP), null), sP &&= (clearTimeout(sP), null);
}
-async function pue(e, t, n, r = {}) {
- let i = nN();
+async function hue(e, t, n, r = {}) {
+ let i = eN();
if (i && !i.isDisposed()) return i;
- let a = XM(), o = r.resume ?? null;
+ let a = JM(), o = r.resume ?? null;
o?.autoplay && (n = !0), r.guidePreview && (n = !1);
- let s = () => r.source ? Promise.resolve(r.source) : oue(e), c;
+ let s = () => r.source ? Promise.resolve(r.source) : cue(e), c;
try {
- c = await rP();
+ c = await tP();
} catch {
return t.controls = !0, r.guidePreview || s().then((e) => {
t.addEventListener("loadedmetadata", () => {
@@ -33984,7 +33984,7 @@ async function pue(e, t, n, r = {}) {
} }
}
});
- rN(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || BN("item", e), Lle(l), l.on("loadedmetadata", () => {
+ tN(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || RN("item", e), zle(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}`);
});
@@ -33992,7 +33992,7 @@ async function pue(e, t, n, r = {}) {
speed: [],
activity: [],
buffer: []
- }, f = Number(r.size ?? e.size) || 0, p = zle(sN(f, e.duration)), m = 0, h = !1, g = () => nN() === l && !l.isDisposed(), _ = () => {
+ }, f = Number(r.size ?? e.size) || 0, p = Vle(aN(f, e.duration)), m = 0, h = !1, g = () => eN() === 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(() => {
@@ -34003,15 +34003,15 @@ async function pue(e, t, n, r = {}) {
ready: !1,
updateStats: () => {}
};
- oP.set(l, y), y.updateStats = () => {
+ iP.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 = QN(), h = s ? pN(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 = XN(), h = s ? dN(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 = hN(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 = pN(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 = aN(t);
- lN(d.speed, x), lN(d.activity, C), lN(d.buffer, w);
+ let w = rN(t);
+ sN(d.speed, x), sN(d.activity, C), sN(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 ? [
"网络活动",
`${_ ? Yn(_) : "—"} · ${h.length} 请求`,
@@ -34029,17 +34029,17 @@ async function pue(e, t, n, r = {}) {
[
"连接速度",
D,
- dN(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
+ lN(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
],
[
k[0],
k[1],
- dN(d.activity, "activity", Math.max(1, ...d.activity), k[2])
+ lN(d.activity, "activity", Math.max(1, ...d.activity), k[2])
],
[
"缓冲健康",
`${w.toFixed(1)} 秒`,
- dN(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
+ lN(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
],
["播放时间", `${Jn(t.currentTime)} / ${Jn(u || l.duration())}`],
["日期", (/* @__PURE__ */ new Date()).toLocaleString()]
@@ -34055,15 +34055,15 @@ async function pue(e, t, n, r = {}) {
if (!n || l.isDisposed()) return;
let r = v();
r || p.sample(t);
- let i = hN(l, e.id, QN(), r ? null : p), a = r ? gN(i) : Ble(i, aN(t));
+ let i = pN(l, e.id, XN(), r ? null : p), a = r ? mN(i) : Hle(i, rN(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(), cP && clearInterval(cP), cP = setInterval(S, 500));
+ e && e.isConnected && (e.hidden = !1, S(), oP && clearInterval(oP), oP = setInterval(S, 500));
}, w = () => {
let e = y.chrome?.netBadge;
- e && (lP && clearTimeout(lP), lP = setTimeout(() => {
- e.hidden = !0, cP &&= (clearInterval(cP), null);
+ e && (sP && clearTimeout(sP), sP = setTimeout(() => {
+ e.hidden = !0, oP &&= (clearInterval(oP), null);
}, 1400));
};
return l.on([
@@ -34074,7 +34074,7 @@ async function pue(e, t, n, r = {}) {
], C), l.on(["canplay", "playing"], () => {
S(), w();
}), l.on("error", () => {
- b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(aue(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {
+ b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(sue(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {
t[String(e.root_id || e.location)] !== !1 || l.isDisposed() || l.error({
code: 2,
message: `媒体目录无法访问 · ${a.offlineReason(String(e.root_id || e.location))}`
@@ -34082,13 +34082,13 @@ async function pue(e, t, n, r = {}) {
});
}), l.ready(() => {
_();
- let n = NN(l, t, e.height, r.qualities ?? null);
+ let n = jN(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 = sN(r, e.duration));
- }).catch(() => {}), PN(l, e, { thumbnail: !r.source }), r.guidePreview || $le(l, e), FN(l), r.source || IN(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
+ r > 0 && !f && (f = r, p.bitrate = aN(r, e.duration));
+ }).catch(() => {}), MN(l, e, { thumbnail: !r.source }), r.guidePreview || tue(l, e), NN(l), r.source || PN(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
}), r.guidePreview || s().then((e) => {
g() && (b = String(e.type || "").includes("mpegurl"), o && o.time > 0 && l.one("loadedmetadata", () => {
if (l.isDisposed()) return;
@@ -34097,16 +34097,16 @@ async function pue(e, t, n, r = {}) {
}), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), n && l.play()?.catch(() => {}));
}).catch(() => {}), l;
}
-var mue = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
-function dP(e, t = null) {
- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", mue), e.querySelector("#playerStatsBtn")) return;
+var gue = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
+function lP(e, t = null) {
+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", gue), e.querySelector("#playerStatsBtn")) return;
let n = document.createElement("template");
- n.innerHTML = fN();
+ n.innerHTML = uN();
let r = e.querySelector(":scope > [data-player-toolbar]");
r && (r.querySelector("[data-player-stats-slot]").append(n.content.querySelector("#playerStatsBtn")), r.querySelector("[data-player-net-slot]").append(n.content.querySelector("#playerNet"))), e.insertBefore(n.content, t);
}
-function fP(e, t) {
- let n = oP.get(e);
+function uP(e, t) {
+ let n = iP.get(e);
if (!n || e.isDisposed()) return () => {};
let r = (e) => t.querySelector(`#${e}`), i = {
statsButton: r("playerStatsBtn"),
@@ -34118,30 +34118,30 @@ function fP(e, t) {
if (a && o) {
a.hidden = !n.ready;
let e = () => {
- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), sP &&= (clearInterval(sP), null));
+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), aP &&= (clearInterval(aP), null));
};
a.onclick = () => {
- o.hidden ? (document.dispatchEvent(new CustomEvent(uN, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), sP && clearInterval(sP), sP = setInterval(n.updateStats, 1e3)) : e();
+ o.hidden ? (document.dispatchEvent(new CustomEvent(cN, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), aP && clearInterval(aP), aP = setInterval(n.updateStats, 1e3)) : e();
};
let t = (t) => {
t.detail !== "stats" && e();
};
- document.addEventListener(uN, t), s = () => document.removeEventListener(uN, t);
+ document.addEventListener(cN, t), s = () => document.removeEventListener(cN, t);
}
- let c = e.el().querySelector("video"), l = c ? Xle(c) : () => {}, u = !0, d = () => {
- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, uP()));
+ let c = e.el().querySelector("video"), l = c ? Qle(c) : () => {}, u = !0, d = () => {
+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, cP()));
};
return e.one("dispose", d), d;
}
-function pP(e, t) {
- if (t.kind === "immerse") return due(e, t);
- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = aP(), c = XM(), l = t.chrome === !1 ? null : e.parentElement;
- l && dP(l, e);
- let u = BN(n, r, i?.index ?? null), d = {
+function dP(e, t) {
+ if (t.kind === "immerse") return pue(e, t);
+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = rP(), c = JM(), l = t.chrome === !1 ? null : e.parentElement;
+ l && lP(l, e);
+ let u = RN(n, r, i?.index ?? null), d = {
guidePreview: s,
playbackKey: u,
resume: s ? null : t.resume ?? {
- time: tue(u, r),
+ time: rue(u, r),
autoplay: !1
}
};
@@ -34161,36 +34161,36 @@ function pP(e, t) {
t && (e.poster = t);
}
let f = null, p = !1, m = () => {}, h = e, g = () => {
- m(), !(f && a?.(f)) && (zN(h), f ? (nN() === f && (rN(null), uP()), GN(f)) : HN(h));
+ m(), !(f && a?.(f)) && (LN(h), f ? (eN() === f && (tN(null), cP()), UN(f)) : BN(h));
};
- return pue(r, e, s ? !1 : t.autoplay ?? c.settings().detailAutoplay, d).then((t) => {
- f = t, p ? g() : (h = t?.el().querySelector("video") ?? e, s ? (t?.el().setAttribute("data-player-guide", ""), o?.(t)) : (nue(u, h), n === "follow" ? rue(r, h) : (h.addEventListener("play", () => {
+ return hue(r, e, s ? !1 : t.autoplay ?? c.settings().detailAutoplay, d).then((t) => {
+ f = t, p ? g() : (h = t?.el().querySelector("video") ?? e, s ? (t?.el().setAttribute("data-player-guide", ""), o?.(t)) : (iue(u, h), n === "follow" ? aue(r, h) : (h.addEventListener("play", () => {
wn("/api/play", {
method: "POST",
body: JSON.stringify({ id: r.id })
}).catch(() => {});
- }, { once: !0 }), WN(r, h, {
+ }, { once: !0 }), HN(r, h, {
watched: "#watched",
mark: "#mark",
ratio: "#ratioTxt"
- })), t ? (l && (m = fP(t, l)), o?.(t)) : o?.(null)));
+ })), t ? (l && (m = uP(t, l)), o?.(t)) : o?.(null)));
}), () => {
p = !0, g();
};
}
// src/player/playback.ts
-function mP(e) {
+function fP(e) {
e && (e.paused ? e.play()?.catch(() => {}) : e.pause());
}
-function hP(e, t) {
+function pP(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);
}
// src/player/preview-player.ts
-function hue(e, t, n) {
+function _ue(e, t, n) {
e.controls = !1;
let r = !1, i = null;
- return rP().then((a) => {
+ return tP().then((a) => {
if (r) return;
i = a(e, {
controls: !0,
@@ -34215,30 +34215,30 @@ function hue(e, t, n) {
o.on("error", () => {
r || n();
}), o.ready(() => {
- r || o.isDisposed() || (NN(o, e), PN(o, null, { thumbnail: !1 }), FN(o));
+ r || o.isDisposed() || (jN(o, e), MN(o, null, { thumbnail: !1 }), NN(o));
}), o.src(t);
}).catch(() => {
r || n();
}), () => {
- r = !0, GN(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());
+ r = !0, UN(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());
};
}
-function gP(e, t) {
+function mP(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return t && n.set("exclude_vertical", "1"), n.toString();
}
-var gue = (e, t) => [
+var vue = (e, t) => [
"catalog-grid",
"catalog",
e,
t
-], _ue = (e, t) => [
+], yue = (e, t) => [
"catalog-grid",
"entity",
e,
t
];
-async function vue(e, t, n, r, i) {
+async function bue(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 B(`/api/items?${a}`, i), s = {
@@ -34248,22 +34248,22 @@ async function vue(e, t, n, r, i) {
};
return t || s.items.length || r || (s.libraryEmpty = (await B("/api/items?limit=1&thumb=0", i)).total === 0), s;
}
-var yue = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, bue = (e, t) => {
+var xue = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Sue = (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 xue(e) {
- let t = gP(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
+function Cue(e) {
+ let t = mP(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
return {
- queryKey: gue(t, e.revision || 0),
- queryFn: ({ pageParam: e, signal: i }) => vue(t, e, n, r, i),
+ queryKey: vue(t, e.revision || 0),
+ queryFn: ({ pageParam: e, signal: i }) => bue(t, e, n, r, i),
initialPageParam: 0,
- getNextPageParam: yue(n)
+ getNextPageParam: xue(n)
};
}
-function Sue(e) {
+function wue(e) {
return {
- queryKey: _ue(e.entityKey || "", e.revision || 0),
+ queryKey: yue(e.entityKey || "", e.revision || 0),
queryFn: async ({ pageParam: t, signal: n }) => {
if (!e.fetchPage) return {
items: [],
@@ -34278,14 +34278,14 @@ function Sue(e) {
};
},
initialPageParam: 0,
- getNextPageParam: bue
+ getNextPageParam: Sue
};
}
-function _P(e) {
+function hP(e) {
let t = JSON.stringify(e);
return H.getQueryCache().findAll({ queryKey: e.slice(0, -1) }).filter((e) => JSON.stringify(e.queryKey) !== t && !e.state.isInvalidated && Array.isArray(e.state.data?.pages)).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt)[0]?.state.data;
}
-function vP(e, t, n) {
+function gP(e, t, n) {
return n ? e.filter((e) => {
let n = e.part_group?.key;
if (n) {
@@ -34300,24 +34300,24 @@ function vP(e, t, n) {
return !0;
}) : [...e];
}
-var yP = (e, t) => !!e && !!eo(e, t);
-function Cue(e, t) {
- let n = (e) => yP(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) => yP(e, t)) || e[e.length - 1];
+var _P = (e, t) => !!e && !!eo(e, t);
+function Tue(e, t) {
+ let n = (e) => _P(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) => _P(e, t)) || e[e.length - 1];
}
-function wue(e, { collapse: t, mix: n, javImage: r }) {
+function Eue(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 = vP(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
+ let e = gP(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 = Tue(e, r);
t && l.splice(7, 0, {
kind: "mix",
seed: t
@@ -34330,16 +34330,16 @@ function wue(e, { collapse: t, mix: n, javImage: r }) {
pageStarts: s
};
}
-function Tue(e, t, n) {
+function Due(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 Oue(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 kue(e, t) {
let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;
for (let t of n) r.push({
start: i,
@@ -34352,10 +34352,10 @@ function Due(e, t) {
strip: null
}), r;
}
-function bP(e, t) {
- xP((t) => t.id === e, t);
+function vP(e, t) {
+ yP((t) => t.id === e, t);
}
-function xP(e, t) {
+function yP(e, t) {
H.setQueriesData({ queryKey: ["catalog-short-layout"] }, (n) => !n || !n.cuts.some((t) => t.items.some(e)) ? n : {
...n,
cuts: n.cuts.map((n) => ({
@@ -34385,34 +34385,34 @@ function xP(e, t) {
} : n)
});
}
-var SP = (e) => Math.min(Math.max(e || 0, 0), 100), CP = (e) => Math.round(SP(e) / 20), Oue = (e) => {
- let t = CP(e);
+var bP = (e) => Math.min(Math.max(e || 0, 0), 100), xP = (e) => Math.round(bP(e) / 20), Aue = (e) => {
+ let t = xP(e);
return t ? `${t} 星` : "未评分";
-}, wP = (e, t) => t === CP(e) ? 0 : t * 20, TP = (e) => ["item", e], EP = (e) => [
+}, SP = (e, t) => t === xP(e) ? 0 : t * 20, CP = (e) => ["item", e], wP = (e) => [
"item-queue",
e.kind,
e.kind === "playlist" ? e.playlistId : e.seedId
-], kue = (e, t) => [
+], jue = (e, t) => [
"item-related",
e,
t
-], Aue = (e) => `/api/item?id=${e}`, jue = (e, t) => `/api/related?id=${e}&limit=${t}`, DP = "/api/playlist", OP = "/api/feedback", kP = "/api/item-tag", AP = "/api/watch-later", jP = "/api/quality-goal", MP = "/api/preference", NP = class extends Error {};
-async function PP(e, t) {
- let n = await B(Aue(e), t);
- if (n.error) throw new NP(n.error);
+], Mue = (e) => `/api/item?id=${e}`, Nue = (e, t) => `/api/related?id=${e}&limit=${t}`, TP = "/api/playlist", EP = "/api/feedback", DP = "/api/item-tag", OP = "/api/watch-later", kP = "/api/quality-goal", AP = "/api/preference", jP = class extends Error {};
+async function MP(e, t) {
+ let n = await B(Mue(e), t);
+ if (n.error) throw new jP(n.error);
return n;
}
-async function FP(e, t, n) {
+async function NP(e, t, n) {
if (e.kind === "mix") {
- let r = e.seedId, [i, a] = await Promise.all([PP(r, n), t.mixRelated(r)]);
- return H.setQueryData(TP(i.id), i), {
+ let r = e.seedId, [i, a] = await Promise.all([MP(r, n), t.mixRelated(r)]);
+ return H.setQueryData(CP(i.id), i), {
kind: "mix",
seedId: r,
title: `Mix · ${jo(i, t.tagLabel)}`,
items: [i, ...a.filter((e) => e.id !== i.id)]
};
}
- if (e.kind === "playlist") return IP(await B(`${DP}?id=${e.playlistId}`, n));
+ if (e.kind === "playlist") return PP(await B(`${TP}?id=${e.playlistId}`, n));
let r = await B(`/api/${e.kind}?id=${e.seedId}`, n);
if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");
return {
@@ -34423,19 +34423,19 @@ async function FP(e, t, n) {
versionCount: e.kind === "editions" ? r.count : void 0
};
}
-var IP = (e) => ({
+var PP = (e) => ({
kind: "playlist",
playlistId: e.id,
title: e.name,
items: e.items || [],
currentAssetId: e.current_asset_id
-}), LP = (e) => e.disposal === "vanished";
-function RP(e, t) {
+}), FP = (e) => e.disposal === "vanished";
+function IP(e, t) {
if (e.kind === "mix") return t;
- let n = e.kind === "playlist" ? e.items.filter((e) => !LP(e)) : e.items;
+ let n = e.kind === "playlist" ? e.items.filter((e) => !FP(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 Mue(e, t) {
+function Pue(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 : {
@@ -34443,20 +34443,20 @@ function Mue(e, t) {
part_label: n
};
}
-function zP(e, t) {
+function LP(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 BP(e, t) {
+async function RP(e, t) {
let { queue: n, actions: r } = e, i = null, a = !1;
if (n) {
- let o = EP(n);
+ let o = wP(n);
try {
let r = n.fresh ? void 0 : H.getQueryData(o);
a = !r && n.kind === "mix", i = r || await H.fetchQuery({
queryKey: o,
- queryFn: () => FP(n, e.helpers, t),
+ queryFn: () => NP(n, e.helpers, t),
staleTime: 0
});
} catch (n) {
@@ -34468,21 +34468,21 @@ async function BP(e, t) {
return;
}
}
- let o = i ? RP(i, e.id) : e.id;
+ let o = i ? IP(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 ? H.getQueryData(TP(o)) : void 0;
+ let s, c = a && o === i?.seedId ? H.getQueryData(CP(o)) : void 0;
try {
s = c || await H.fetchQuery({
- queryKey: TP(o),
- queryFn: () => PP(o, t),
+ queryKey: CP(o),
+ queryFn: () => MP(o, t),
staleTime: 0
});
} catch (e) {
if (t.aborted) throw e;
- if (e instanceof NP) {
+ if (e instanceof jP) {
r.redirect({ kind: "gone" });
return;
}
@@ -34493,7 +34493,7 @@ async function BP(e, t) {
id: Number(s.follow_item_id)
});
}
-function Nue(e) {
+function Fue(e) {
let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {
let t = Hn(e.name);
return !e.name || n.has(t) ? !1 : (n.add(t), !0);
@@ -34515,35 +34515,35 @@ function Nue(e) {
unowned: !i.length && !c.length && !String(e.creator || "").trim()
};
}
-function Pue(e, t) {
+function Iue(e, t) {
let n = /* @__PURE__ */ new Map();
return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {
let r = Hn(t.tagLabel(e.k)), i = n.get(r);
(!i || Hn(e.k) === r && Hn(i.k) !== r) && n.set(r, e);
}), [...n.values()].slice(0, 40);
}
-var VP = (e, t) => (e.tags || []).some((e) => Hn(e.k) === Hn(t)), HP = (e, t) => ({
+var zP = (e, t) => (e.tags || []).some((e) => Hn(e.k) === Hn(t)), BP = (e, t) => ({
...e,
tags: (e.tags || []).filter((e) => Hn(e.k) !== Hn(t))
-}), UP = (e, t) => VP(e, t.k) ? e : {
+}), VP = (e, t) => zP(e, t.k) ? e : {
...e,
tags: [...e.tags || [], t]
-}, WP = "peach.recentTags";
-function GP() {
+}, HP = "peach.recentTags";
+function UP() {
try {
- let e = JSON.parse(localStorage.getItem(WP) || "[]");
+ let e = JSON.parse(localStorage.getItem(HP) || "[]");
return Array.isArray(e) ? e.map(String) : [];
} catch {
return [];
}
}
-function KP(e) {
+function WP(e) {
try {
- let t = GP().filter((t) => Hn(t) !== Hn(e));
- localStorage.setItem(WP, JSON.stringify([e, ...t].slice(0, 12)));
+ let t = UP().filter((t) => Hn(t) !== Hn(e));
+ localStorage.setItem(HP, JSON.stringify([e, ...t].slice(0, 12)));
} catch {}
}
-function Fue(e, t, n) {
+function Lue(e, t, n) {
let r = Hn(e), i = new Map(t.map((e) => [Hn(e.k), e])), a = t.filter((e) => !r || Hn(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(Hn(e)) || {
k: e,
n: 0
@@ -34554,72 +34554,72 @@ function Fue(e, t, n) {
create: r && !s ? e.trim() : ""
};
}
-var Iue = {
+var Rue = {
中字: "subtitle",
无码: "uncensored",
无码破解: "cracked",
有码: "censored"
-}, Lue = {
+}, zue = {
mix: "Mix",
parts: "分卷",
editions: "版本",
playlist: "播放列表"
};
-function Rue(e) {
+function Bue(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: Lue[e.kind],
+ title: zue[e.kind],
summary: e.kind === "editions" ? n : `${e.title} · ${n}`
};
}
-var qP = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, zue = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(qP(e.part_label))}</small>` : "";
-function Bue(e, t, n, r) {
+var GP = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Vue = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(GP(e.part_label))}</small>` : "";
+function Hue(e, t, n, r) {
let i = e.filter((e) => e !== t), a = i.indexOf(n);
return i.splice(a + +!!r, 0, t), i;
}
-var Vue = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
-function Hue(e, t) {
+var Uue = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
+function Wue(e, t) {
return t ? "offline" : String(e.name || "").toLowerCase().endsWith(".iso") ? "disc" : e.location === "online" && !e.follow_item_id ? "online" : e.cost === "metered" && e.location !== "online" ? "metered" : "";
}
-function Uue(e) {
+function Gue(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 JP(e, t) {
+function KP(e, t) {
return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";
}
// src/react/immerse/immerse.ts
-var Wue = (e, t, n) => [
+var Kue = (e, t, n) => [
"immerse-list",
e,
t,
n
];
-function Gue(e) {
+function que(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 Kue = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));
-function que(e, t = Math.random) {
+var Jue = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));
+function Yue(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 Jue(e, t) {
- return que(((await B(`/api/items?${e}`)).items || []).filter((e) => Kue(e, t)));
+async function Xue(e, t) {
+ return Yue(((await B(`/api/items?${e}`)).items || []).filter((e) => Jue(e, t)));
}
-var YP = (e) => H.ensureQueryData({
- queryKey: TP(e),
- queryFn: ({ signal: t }) => PP(e, t)
+var qP = (e) => H.ensureQueryData({
+ queryKey: CP(e),
+ queryFn: ({ signal: t }) => MP(e, t)
});
-function Yue(e, t) {
+function Zue(e, t) {
let n = new Set(e.map((e) => e.id));
return e.concat(t.filter((e) => !n.has(e.id)));
}
-function Xue(e) {
+function Que(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,
@@ -34628,306 +34628,306 @@ function Xue(e) {
ref: r && e.entity_refs?.[r]?.[0] || null
};
}
-function Zue(e, t, n) {
+function $ue(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 Que(e, t) {
+function ede(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 $ue = 15e3, XP = {
+var tde = 15e3, JP = {
open: !1,
idle: !1,
wide: !1,
loading: null,
shown: null
-}, ZP = null, QP = null, $P = XP, eF = /* @__PURE__ */ new Set(), tF = 0, nF = 0, rF = 0, iF = "", aF = [], oF = 0, sF = !1, cF = !1, lF = null, uF = /* @__PURE__ */ new Set(), dF = "", fF = null, pF = 0, mF = null, hF = !1;
-function gF() {
- if (!ZP) throw Error("沉浸模式还没有接上宿主(configureImmerse)");
- return ZP;
+}, YP = null, XP = null, ZP = JP, QP = /* @__PURE__ */ new Set(), $P = 0, eF = 0, tF = 0, nF = "", rF = [], iF = 0, aF = !1, oF = !1, sF = null, cF = /* @__PURE__ */ new Set(), lF = "", uF = null, dF = 0, fF = null, pF = !1;
+function mF() {
+ if (!YP) throw Error("沉浸模式还没有接上宿主(configureImmerse)");
+ return YP;
}
-function ede(e) {
- return eF.add(e), () => {
- eF.delete(e);
+function nde(e) {
+ return QP.add(e), () => {
+ QP.delete(e);
};
}
-function tde() {
- for (let e of [...eF]) e();
+function rde() {
+ for (let e of [...QP]) e();
}
-function _F() {
- (0, Lt.flushSync)(tde);
+function hF() {
+ (0, Lt.flushSync)(rde);
}
-function vF() {
- let e = fF ? mN(fF.id) : 0;
- return e ? `${dF} · ${gN(e)}` : dF;
+function gF() {
+ let e = uF ? fN(uF.id) : 0;
+ return e ? `${lF} · ${mN(e)}` : lF;
}
-function yF(e, t = null) {
- clearInterval(pF), pF = 0, e === null ? ($P = {
- ...$P,
+function _F(e, t = null) {
+ clearInterval(dF), dF = 0, e === null ? (ZP = {
+ ...ZP,
loading: null
- }, _F()) : (dF = e, fF = t, $P = {
- ...$P,
- loading: vF()
- }, _F(), pF = window.setInterval(() => {
- fF = aF[oF] ?? null, $P = {
- ...$P,
- loading: vF()
- }, _F();
+ }, hF()) : (lF = e, uF = t, ZP = {
+ ...ZP,
+ loading: gF()
+ }, hF(), dF = window.setInterval(() => {
+ uF = rF[iF] ?? null, ZP = {
+ ...ZP,
+ loading: gF()
+ }, hF();
}, 500));
}
-function nde(e) {
+function ide(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), QP.track.append(t);
- let r = qN(), i = () => {}, a = {
+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), XP.track.append(t);
+ let r = GN(), i = () => {}, a = {
el: t,
video: n,
session: r,
- release: () => XN(r),
+ release: () => JN(r),
disposed: !1,
gone: new Promise((e) => {
i = e;
}),
leave: i
};
- return uF.add(a), a;
+ return cF.add(a), a;
}
-function rde(e, t) {
+function ade(e, t) {
return new Promise((n) => {
- e.release = pP(e.video, {
+ e.release = dP(e.video, {
kind: "immerse",
item: t,
session: e.session,
onLoaded: n,
onEnded: () => {
- $P.open && EF(1);
+ ZP.open && wF(1);
}
}), e.gone.then(n);
});
}
-function bF(e) {
- e && !e.disposed && (e.disposed = !0, uF.delete(e), e.leave(), e.release(), e.el.remove(), lF === e && (lF = null));
+function vF(e) {
+ e && !e.disposed && (e.disposed = !0, cF.delete(e), e.leave(), e.release(), e.el.remove(), sF === e && (sF = null));
}
-var xF = [
+var yF = [
"loadeddata",
"canplay",
"error"
];
-function ide(e) {
+function ode(e) {
let { video: t } = e;
return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {
let r = !1, i = () => {
- r || (r = !0, clearTimeout(a), xF.forEach((e) => t.removeEventListener(e, i)), n());
+ r || (r = !0, clearTimeout(a), yF.forEach((e) => t.removeEventListener(e, i)), n());
};
- xF.forEach((e) => t.addEventListener(e, i, { once: !0 }));
- let a = setTimeout(i, $ue);
+ yF.forEach((e) => t.addEventListener(e, i, { once: !0 }));
+ let a = setTimeout(i, tde);
e.gone.then(i);
});
}
-function SF(e) {
- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Zue(e.videoWidth, e.videoHeight, n);
+function bF(e) {
+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = $ue(e.videoWidth, e.videoHeight, n);
r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;
}
-var CF = () => QP?.track.querySelectorAll("video").forEach(SF);
-function ade(e) {
- delete e.dataset.fit, e.readyState >= 1 ? SF(e) : e.addEventListener("loadedmetadata", () => SF(e), { once: !0 });
+var xF = () => XP?.track.querySelectorAll("video").forEach(bF);
+function sde(e) {
+ delete e.dataset.fit, e.readyState >= 1 ? bF(e) : e.addEventListener("loadedmetadata", () => bF(e), { once: !0 });
}
-function ode(e) {
- $P = {
- ...$P,
+function cde(e) {
+ ZP = {
+ ...ZP,
wide: e
- }, _F(), CF();
+ }, hF(), xF();
}
-var wF = () => {
- let e = iF;
+var SF = () => {
+ let e = nF;
return H.fetchQuery({
- queryKey: Wue(e, nF, rF),
- queryFn: () => Jue(e, gF().sourceOffline),
+ queryKey: Kue(e, eF, tF),
+ queryFn: () => Xue(e, mF().sourceOffline),
staleTime: Infinity
});
};
-function sde(e, t) {
+function lde(e, t) {
let n = () => Kn(e.duration) || Kn(t.duration);
e.addEventListener("timeupdate", () => {
let t = n();
- t && QP && (QP.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
- }), mF = {
+ t && XP && (XP.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
+ }), fF = {
video: e,
duration: n
};
}
-async function TF(e = 0) {
- let t = aF[oF];
- if (!t || sF) return;
- let n = tF;
- gF().route(t.id), sF = !0, yF(e ? "切换中" : "加载中", t);
+async function CF(e = 0) {
+ let t = rF[iF];
+ if (!t || aF) return;
+ let n = $P;
+ mF().route(t.id), aF = !0, _F(e ? "切换中" : "加载中", t);
let r = null;
try {
- if (await YP(t.id).catch((e) => {
- if (!(e instanceof NP)) throw e;
- }), n !== tF) return;
- let i = lF, a = !!(e && i);
- a || bF(i);
- let o = nde(a ? e > 0 ? 100 : -100 : 0);
- if (r = o, ade(o.video), await rde(o, t), await ide(o), o.disposed || (ode(Que(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {
+ if (await qP(t.id).catch((e) => {
+ if (!(e instanceof jP)) throw e;
+ }), n !== $P) return;
+ let i = sF, a = !!(e && i);
+ a || vF(i);
+ let o = ide(a ? e > 0 ? 100 : -100 : 0);
+ if (r = o, sde(o.video), await ade(o, t), await ode(o), o.disposed || (cde(ede(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)), bF(i), o.el.style.transform = ""), o.disposed)) return;
- lF = o, r = null, o.video.play()?.catch(() => {}), $P = {
- ...$P,
+ })), await new Promise((e) => setTimeout(e, 210)), vF(i), o.el.style.transform = ""), o.disposed)) return;
+ sF = o, r = null, o.video.play()?.catch(() => {}), ZP = {
+ ...ZP,
idle: !1,
shown: {
item: t,
- index: oF,
- length: aF.length
+ index: iF,
+ length: rF.length
}
- }, sde(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), yF(null);
+ }, lde(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), _F(null);
} catch {
- bF(r), n === tF && yF(null);
+ vF(r), n === $P && _F(null);
} finally {
- n === tF && (sF = !1);
+ n === $P && (aF = !1);
}
}
-async function EF(e) {
- if (sF || !$P.open) return;
- let t = tF;
- if (oF += e, yF("切换中", aF[oF] ?? null), oF >= aF.length - 3 && !cF) {
- cF = !0;
+async function wF(e) {
+ if (aF || !ZP.open) return;
+ let t = $P;
+ if (iF += e, _F("切换中", rF[iF] ?? null), iF >= rF.length - 3 && !oF) {
+ oF = !0;
try {
- rF += 1;
- let e = await wF();
- t === tF && (aF = Yue(aF, e));
+ tF += 1;
+ let e = await SF();
+ t === $P && (rF = Zue(rF, e));
} catch {} finally {
- cF = !1;
+ oF = !1;
}
}
- t === tF && (oF >= aF.length && (oF = 0), oF < 0 && (oF = aF.length - 1), await TF(e));
+ t === $P && (iF >= rF.length && (iF = 0), iF < 0 && (iF = rF.length - 1), await CF(e));
}
-async function cde(e) {
- let t = ++tF;
- DF(), nF += 1, rF = 0, iF = Gue(gF().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), $P = {
- ...$P,
+async function ude(e) {
+ let t = ++$P;
+ TF(), eF += 1, tF = 0, nF = que(mF().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), ZP = {
+ ...ZP,
open: !0,
idle: !0,
shown: null
- }, document.body.setAttribute("data-immerse-open", ""), yF("加载内容");
+ }, document.body.setAttribute("data-immerse-open", ""), _F("加载内容");
try {
- let n = await wF();
+ let n = await SF();
if (e && !n.some((t) => t.id === e)) {
- let t = await YP(e).catch((e) => {
- if (e instanceof NP) return null;
+ let t = await qP(e).catch((e) => {
+ if (e instanceof jP) return null;
throw e;
});
t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);
}
- if (t !== tF) return;
- if (aF = n, !aF.length) {
- OF(), gF().warn("当前筛选下没有可直接播放的内容");
+ if (t !== $P) return;
+ if (rF = n, !rF.length) {
+ EF(), mF().warn("当前筛选下没有可直接播放的内容");
return;
}
- oF = Math.max(0, aF.findIndex((t) => t.id === e)), await TF();
+ iF = Math.max(0, rF.findIndex((t) => t.id === e)), await CF();
} catch {
- if (t !== tF) return;
- yF(null), OF();
+ if (t !== $P) return;
+ _F(null), EF();
}
}
-function DF() {
- clearInterval(pF), pF = 0, PF(), MF = null, mF = null, hF = !1, [...uF].forEach(bF), sF = !1;
+function TF() {
+ clearInterval(dF), dF = 0, MF(), AF = null, fF = null, pF = !1, [...cF].forEach(vF), aF = !1;
}
-function OF() {
- $P.open && (tF++, DF(), $P = XP, document.body.removeAttribute("data-immerse-open"), _F(), gF().closed());
+function EF() {
+ ZP.open && ($P++, TF(), ZP = JP, document.body.removeAttribute("data-immerse-open"), hF(), mF().closed());
}
-var kF = 0, AF = null, jF = 0, MF = null, NF = 0;
-function PF() {
- clearTimeout(kF), kF = 0, AF = null;
+var DF = 0, OF = null, kF = 0, AF = null, jF = 0;
+function MF() {
+ clearTimeout(DF), DF = 0, OF = null;
}
-function lde(e) {
- let t = lF?.video;
+function dde(e) {
+ let t = sF?.video;
if (!t) return;
let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();
- AF && AF.side === n && r - AF.at <= 280 ? (PF(), hP(t, gF().seekSeconds() * n)) : (kF && (clearTimeout(kF), kF = 0, mP(t)), AF = {
+ OF && OF.side === n && r - OF.at <= 280 ? (MF(), pP(t, mF().seekSeconds() * n)) : (DF && (clearTimeout(DF), DF = 0, fP(t)), OF = {
side: n,
at: r
- }, kF = window.setTimeout(() => {
- kF = 0, AF = null, $P.open && mP(lF?.video);
+ }, DF = window.setTimeout(() => {
+ DF = 0, OF = null, ZP.open && fP(sF?.video);
}, 280));
}
-function ude() {
- Date.now() < jF || mP(lF?.video);
+function fde() {
+ Date.now() < kF || fP(sF?.video);
}
-var FF = (e) => QP?.bar.toggleAttribute("data-scrubbing", e);
-function IF(e) {
- QP && (QP.progress.style.width = `${(e * 100).toFixed(2)}%`);
+var NF = (e) => XP?.bar.toggleAttribute("data-scrubbing", e);
+function PF(e) {
+ XP && (XP.progress.style.width = `${(e * 100).toFixed(2)}%`);
}
-function LF(e) {
+function FF(e) {
let t = e.target;
if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {
- MF = null;
+ AF = null;
return;
}
- let n = lF?.video;
- MF = {
+ let n = sF?.video;
+ AF = {
x: e.touches[0].clientX,
y: e.touches[0].clientY,
axis: "",
from: n && n.currentTime || 0
};
}
-function RF(e) {
- if (!MF || e.touches.length !== 1) return;
- let t = e.touches[0].clientX - MF.x, n = e.touches[0].clientY - MF.y;
- if (!MF.axis) {
+function IF(e) {
+ if (!AF || e.touches.length !== 1) return;
+ let t = e.touches[0].clientX - AF.x, n = e.touches[0].clientY - AF.y;
+ if (!AF.axis) {
if (Math.abs(t) < 12 && Math.abs(n) < 12) return;
- MF.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", MF.axis === "x" && FF(!0);
+ AF.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", AF.axis === "x" && NF(!0);
}
- if (MF.axis !== "x") return;
- let r = lF?.video, i = r && r.duration || 0;
- i && (e.preventDefault(), MF.to = Math.min(i, Math.max(0, MF.from + t / window.innerWidth * i)), IF(MF.to / i));
+ if (AF.axis !== "x") return;
+ let r = sF?.video, i = r && r.duration || 0;
+ i && (e.preventDefault(), AF.to = Math.min(i, Math.max(0, AF.from + t / window.innerWidth * i)), PF(AF.to / i));
}
-function zF(e) {
- if (!MF) return;
- let t = MF;
- if (MF = null, jF = Date.now() + 700, FF(!1), t.axis === "x") {
- let e = lF?.video;
+function LF(e) {
+ if (!AF) return;
+ let t = AF;
+ if (AF = null, kF = Date.now() + 700, NF(!1), t.axis === "x") {
+ let e = sF?.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 ? (PF(), EF(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), lde(n.clientX));
+ Math.abs(i) > 60 ? (MF(), wF(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), dde(n.clientX));
}
-function BF() {
- MF = null, FF(!1);
+function RF() {
+ AF = null, NF(!1);
}
-function VF(e) {
+function zF(e) {
let t = Date.now();
- t - NF < 260 || (NF = t, EF(e.deltaY > 0 ? 1 : -1));
+ t - jF < 260 || (jF = t, wF(e.deltaY > 0 ? 1 : -1));
}
-function HF(e) {
- let t = QP.bar.getBoundingClientRect();
+function BF(e) {
+ let t = XP.bar.getBoundingClientRect();
return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));
}
-function dde(e) {
- mF?.duration() && (hF = !0, FF(!0), e.currentTarget.setPointerCapture(e.pointerId), IF(HF(e)), e.preventDefault());
+function pde(e) {
+ fF?.duration() && (pF = !0, NF(!0), e.currentTarget.setPointerCapture(e.pointerId), PF(BF(e)), e.preventDefault());
}
-function fde(e) {
- hF && IF(HF(e));
+function mde(e) {
+ pF && PF(BF(e));
}
-function pde(e) {
- if (!hF) return;
- hF = !1, FF(!1);
- let t = mF?.duration();
- mF && t && (mF.video.currentTime = t * HF(e));
+function hde(e) {
+ if (!pF) return;
+ pF = !1, NF(!1);
+ let t = fF?.duration();
+ fF && t && (fF.video.currentTime = t * BF(e));
}
-function mde() {
- hF = !1, FF(!1);
+function gde() {
+ pF = !1, NF(!1);
}
-async function UF(e, t) {
- let n = await V(OP, {
+async function VF(e, t) {
+ let n = await V(EP, {
id: e,
kind: t
- }), r = H.getQueryData(TP(e));
- if (!r) return bP(e, {
+ }), r = H.getQueryData(CP(e));
+ if (!r) return vP(e, {
feedback: n.feedback ?? void 0,
o_count: n.o_count
}), n;
@@ -34936,7 +34936,7 @@ async function UF(e, t) {
feedback: n.feedback ?? void 0,
o_count: n.o_count
};
- return H.setQueryData(TP(e), i), bP(e, {
+ return H.setQueryData(CP(e), i), vP(e, {
feedback: i.feedback,
disposal: i.disposal,
watch_later: i.watch_later,
@@ -34944,7 +34944,7 @@ async function UF(e, t) {
o_count: i.o_count
}), n;
}
-var hde = [
+var _de = [
{
kind: "dislike",
glyph: "thumbs-down",
@@ -34961,31 +34961,31 @@ var hde = [
label: "记一次高潮"
}
];
-function WF(e) {
+function HF(e) {
return Pt({
- queryKey: TP(e ?? 0),
- queryFn: ({ signal: t }) => PP(e, t),
+ queryKey: CP(e ?? 0),
+ queryFn: ({ signal: t }) => MP(e, t),
enabled: e != null,
staleTime: Infinity
}).data;
}
-function gde({ kind: e, glyph: t, label: n, id: r }) {
- let i = WF(r), a = Ft({
+function vde({ kind: e, glyph: t, label: n, id: r }) {
+ let i = HF(r), a = Ft({
mutationFn: async (t) => {
- let n = H.getQueryData(TP(t))?.feedback || null;
+ let n = H.getQueryData(CP(t))?.feedback || null;
return {
- result: await UF(t, e),
+ result: await VF(t, e),
before: n
};
},
onSuccess: ({ result: t, before: n }, r) => {
- gF().toast(JP(e, t), { undo: async () => {
- e === "o" ? await UF(r, "o-undo") : (t.feedback && await UF(r, t.feedback), n && await UF(r, n));
+ mF().toast(KP(e, t), { undo: async () => {
+ e === "o" ? await VF(r, "o-undo") : (t.feedback && await VF(r, t.feedback), n && await VF(r, n));
} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {
- EF(1);
+ wF(1);
}, 260);
},
- onError: (e) => gF().failure("更新反馈", e)
+ onError: (e) => mF().failure("更新反馈", e)
}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-immerse-action": "",
@@ -35016,11 +35016,11 @@ function gde({ kind: e, glyph: t, label: n, id: r }) {
})]
});
}
-function _de({ shown: e }) {
- let t = e?.item ?? null, n = WF(t?.id ?? null), r = n ? Xue(n) : null, i = gF(), a = (e) => {
- e.preventDefault(), n && (OF(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
+function yde({ shown: e }) {
+ let t = e?.item ?? null, n = HF(t?.id ?? null), r = n ? Que(n) : null, i = mF(), a = (e) => {
+ e.preventDefault(), n && (EF(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
}, o = () => {
- t && (OF(), i.openItem(t.id));
+ t && (EF(), i.openItem(t.id));
}, s = r ? go(r.name, r.ref, Xa(r.name), r.kind || "performer") : "";
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-immerse-ui": "",
@@ -35049,18 +35049,18 @@ function _de({ shown: e }) {
})]
});
}
-var vde = { __html: zs("媒体加载中") };
-function yde({ view: e }) {
+var bde = { __html: zs("媒体加载中") };
+function xde({ view: e }) {
let t = (0, F.useRef)(null), n = (0, F.useRef)(null), r = (0, F.useRef)(null), i = (0, F.useRef)(null);
(0, F.useLayoutEffect)(() => {
let e = t.current;
- return QP = {
+ return XP = {
root: e,
track: n.current,
bar: r.current,
progress: i.current
- }, e.addEventListener("touchstart", LF, { passive: !0 }), e.addEventListener("touchmove", RF, { passive: !1 }), e.addEventListener("touchend", zF, { passive: !1 }), e.addEventListener("touchcancel", BF, { passive: !0 }), e.addEventListener("wheel", VF, { passive: !0 }), () => {
- e.removeEventListener("touchstart", LF), e.removeEventListener("touchmove", RF), e.removeEventListener("touchend", zF), e.removeEventListener("touchcancel", BF), e.removeEventListener("wheel", VF), QP = null;
+ }, e.addEventListener("touchstart", FF, { passive: !0 }), e.addEventListener("touchmove", IF, { passive: !1 }), e.addEventListener("touchend", LF, { passive: !1 }), e.addEventListener("touchcancel", RF, { passive: !0 }), e.addEventListener("wheel", zF, { passive: !0 }), () => {
+ e.removeEventListener("touchstart", FF), e.removeEventListener("touchmove", IF), e.removeEventListener("touchend", LF), e.removeEventListener("touchcancel", RF), e.removeEventListener("wheel", zF), XP = null;
};
}, []);
let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;
@@ -35077,10 +35077,10 @@ function yde({ view: e }) {
children: [/* @__PURE__ */ (0, I.jsx)("div", {
ref: n,
"data-immerse-track": "",
- onClick: ude
+ onClick: fde
}), /* @__PURE__ */ (0, I.jsx)("div", {
"data-immerse-actions": "",
- children: hde.map((e) => /* @__PURE__ */ (0, I.jsx)(gde, {
+ children: _de.map((e) => /* @__PURE__ */ (0, I.jsx)(vde, {
...e,
id: a
}, e.kind))
@@ -35093,7 +35093,7 @@ function yde({ view: e }) {
hidden: e.loading === null,
children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-immerse-spinner": "",
- dangerouslySetInnerHTML: vde
+ dangerouslySetInnerHTML: bde
}), /* @__PURE__ */ (0, I.jsx)("span", { children: e.loading ?? "" })]
}),
/* @__PURE__ */ (0, I.jsx)("button", {
@@ -35101,7 +35101,7 @@ function yde({ view: e }) {
"data-immerse-close": "",
title: "关闭",
"aria-label": "关闭",
- onClick: OF,
+ onClick: EF,
children: /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-x" })
@@ -35110,41 +35110,41 @@ function yde({ view: e }) {
/* @__PURE__ */ (0, I.jsx)("div", {
ref: r,
"data-immerse-bar": "",
- onPointerDown: dde,
- onPointerMove: fde,
- onPointerUp: pde,
- onPointerCancel: mde,
+ onPointerDown: pde,
+ onPointerMove: mde,
+ onPointerUp: hde,
+ onPointerCancel: gde,
children: /* @__PURE__ */ (0, I.jsx)("i", { ref: i })
}),
- /* @__PURE__ */ (0, I.jsx)(_de, { shown: e.shown })
+ /* @__PURE__ */ (0, I.jsx)(yde, { shown: e.shown })
]
});
}
-var bde = {
- open: cde,
- close: OF,
- isOpen: () => $P.open,
- activeVideo: () => $P.open ? lF?.video ?? null : null
+var Sde = {
+ open: ude,
+ close: EF,
+ isOpen: () => ZP.open,
+ activeVideo: () => ZP.open ? sF?.video ?? null : null
};
-function xde(e) {
- if (!$P.open) return;
+function Cde(e) {
+ if (!ZP.open) return;
let t = e.target;
- t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && EF(1), e.key === "ArrowUp" && EF(-1));
+ t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && wF(1), e.key === "ArrowUp" && wF(-1));
}
-function Sde(e) {
- let t = !ZP;
- return ZP = e, t && (document.addEventListener("keydown", xde), addEventListener("resize", () => {
- $P.open && CF();
+function wde(e) {
+ let t = !YP;
+ return YP = e, t && (document.addEventListener("keydown", Cde), addEventListener("resize", () => {
+ ZP.open && xF();
}), addEventListener("pagehide", () => {
- uF.forEach((e) => XN(e.session));
- })), bde;
+ cF.forEach((e) => JN(e.session));
+ })), Sde;
}
-function Cde() {
- let e = (0, F.useSyncExternalStore)(ede, () => $P);
- return ZP ? /* @__PURE__ */ (0, I.jsx)(yde, { view: e }) : null;
+function Tde() {
+ let e = (0, F.useSyncExternalStore)(nde, () => ZP);
+ return YP ? /* @__PURE__ */ (0, I.jsx)(xde, { view: e }) : null;
}
// src/manage-header.ts
-var GF = {
+var UF = {
...Jf,
"/junk-files": "垃圾文件",
"/duplicates": "重复文件",
@@ -35152,47 +35152,47 @@ var GF = {
"/trash": "回收站",
"/quality-goals": "高清版",
"/sources": "来源和凭证"
-}, wde = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);
-function Tde(e) {
- let t = GF[e.path] ? "cleanup" : e.section;
+}, Ede = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);
+function Dde(e) {
+ let t = UF[e.path] ? "cleanup" : e.section;
return e.menu.some(([e]) => e === t) ? t : "";
}
-var Ede = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;
-function KF(e) {
+var Ode = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;
+function WF(e) {
let t = e.sections.find(([t]) => t === e.section);
if (!t) return null;
- let n = GF[e.path] ?? "";
+ let n = UF[e.path] ?? "";
return {
title: e.section === "cleanup" && n || t[1],
- pressed: Tde(e),
+ pressed: Dde(e),
crumb: n,
- compact: wde.has(e.path) || e.section === "configuration",
+ compact: Ede.has(e.path) || e.section === "configuration",
lede: e.section === "trash" ? e.trash ? {
kind: "count",
- text: Ede(e.trash),
+ text: Ode(e.trash),
total: e.trash.total
} : { kind: "skeleton" } : { kind: "none" }
};
}
-var qF = (e) => e.replace(/[&<>"']/g, (e) => ({
+var GF = (e) => e.replace(/[&<>"']/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;",
"'": "&#39;"
-})[e]), JF = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${qF(e)}"/></svg>`, YF = "<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 Dde(e) {
- let t = KF(e);
+})[e]), KF = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${GF(e)}"/></svg>`, qF = "<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 kde(e) {
+ let t = WF(e);
if (!t) return "";
let n = e.menu.map(([e, n, r]) => {
let i = e === t.pressed;
- return `<button type="button" data-manage="${qF(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${JF(r)}<span>${qF(n)}</span></button>`;
- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${JF("chevron-right")}</li><li aria-current="true"><span>${qF(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? YF : `<span data-lede-text="">${qF(t.lede.text)}</span>${t.lede.total ? Ode : ""}`}</p>`;
- return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="" data-pill-nav="" role="group">${n}</div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${qF(t.title)}</h2>` + i;
+ return `<button type="button" data-manage="${GF(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${KF(r)}<span>${GF(n)}</span></button>`;
+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${KF("chevron-right")}</li><li aria-current="true"><span>${GF(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? qF : `<span data-lede-text="">${GF(t.lede.text)}</span>${t.lede.total ? Ade : ""}`}</p>`;
+ return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="" data-pill-nav="" role="group">${n}</div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${GF(t.title)}</h2>` + i;
}
-var Ode = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
+var Ade = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
// src/react/settings-panel/icon.tsx
-function XF({ name: e }) {
+function JF({ name: e }) {
let { wide: t, viewBox: n } = Sn(e);
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: n,
@@ -35201,7 +35201,7 @@ function XF({ name: e }) {
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
}
-function kde({ name: e }) {
+function jde({ name: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -35209,88 +35209,88 @@ function kde({ name: e }) {
});
}
// node_modules/tailwind-merge/dist/bundle-mjs.mjs
-var Ade = (e, t) => {
+var Mde = (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;
-}, jde = (e, t) => ({
+}, Nde = (e, t) => ({
classGroupId: e,
validator: t
-}), ZF = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
+}), YF = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
nextPart: e,
validators: t,
classGroupId: n
-}), QF = "-", $F = [], Mde = "arbitrary..", Nde = (e) => {
- let t = Fde(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), XF = "-", ZF = [], Pde = "arbitrary..", Fde = (e) => {
+ let t = Lde(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return Pde(e);
- let n = e.split(QF);
- return eI(n, +(n[0] === "" && n.length > 1), t);
+ if (e.startsWith("[") && e.endsWith("]")) return Ide(e);
+ let n = e.split(XF);
+ return QF(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
let t = r[e], i = n[e];
- return t ? i ? Ade(i, t) : t : i || $F;
+ return t ? i ? Mde(i, t) : t : i || ZF;
}
- return n[e] || $F;
+ return n[e] || ZF;
}
};
-}, eI = (e, t, n) => {
+}, QF = (e, t, n) => {
if (e.length - t === 0) return n.classGroupId;
let r = e[t], i = n.nextPart.get(r);
if (i) {
- let n = eI(e, t + 1, i);
+ let n = QF(e, t + 1, i);
if (n) return n;
}
let a = n.validators;
if (a === null) return;
- let o = t === 0 ? e.join(QF) : e.slice(t).join(QF), s = a.length;
+ let o = t === 0 ? e.join(XF) : e.slice(t).join(XF), s = a.length;
for (let e = 0; e < s; e++) {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, Pde = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, Ide = (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 ? Mde + r : void 0;
-})(), Fde = (e) => {
+ return r ? Pde + r : void 0;
+})(), Lde = (e) => {
let { theme: t, classGroups: n } = e;
- return Ide(n, t);
-}, Ide = (e, t) => {
- let n = ZF();
+ return Rde(n, t);
+}, Rde = (e, t) => {
+ let n = YF();
for (let r in e) {
let i = e[r];
- tI(i, n, r, t);
+ $F(i, n, r, t);
}
return n;
-}, tI = (e, t, n, r) => {
+}, $F = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- Lde(i, t, n, r);
+ zde(i, t, n, r);
}
-}, Lde = (e, t, n, r) => {
- typeof e == "string" ? Rde(e, t, n) : typeof e == "function" ? zde(e, t, n, r) : Bde(e, t, n, r);
-}, Rde = (e, t, n) => {
- let r = e === "" ? t : nI(t, e);
- r.classGroupId = n;
}, zde = (e, t, n, r) => {
- Vde(e) ? tI(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(jde(n, e)));
-}, Bde = (e, t, n, r) => {
+ typeof e == "string" ? Bde(e, t, n) : typeof e == "function" ? Vde(e, t, n, r) : Hde(e, t, n, r);
+}, Bde = (e, t, n) => {
+ let r = e === "" ? t : eI(t, e);
+ r.classGroupId = n;
+}, Vde = (e, t, n, r) => {
+ Ude(e) ? $F(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Nde(n, e)));
+}, Hde = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- tI(o, nI(t, a), n, r);
+ $F(o, eI(t, a), n, r);
}
-}, nI = (e, t) => {
- let n = e, r = t.split(QF), i = r.length;
+}, eI = (e, t) => {
+ let n = e, r = t.split(XF), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
- i || (i = ZF(), n.nextPart.set(t, i)), n = i;
+ i || (i = YF(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, Vde = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Hde = (e) => {
+}, Ude = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Wde = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -35308,19 +35308,19 @@ var Ade = (e, t) => {
e in n ? n[e] = t : i(e, t);
}
};
-}, rI = "!", iI = ":", Ude = [], aI = (e, t, n, r, i) => ({
+}, tI = "!", nI = ":", Gde = [], rI = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), Wde = (e) => {
+}), Kde = (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 === iI) {
+ if (o === nI) {
t.push(e.slice(i, s)), i = s + 1;
continue;
}
@@ -35332,13 +35332,13 @@ var Ade = (e, t) => {
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
}
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
- s.endsWith(rI) ? (c = s.slice(0, -1), l = !0) : s.startsWith(rI) && (c = s.slice(1), l = !0);
+ s.endsWith(tI) ? (c = s.slice(0, -1), l = !0) : s.startsWith(tI) && (c = s.slice(1), l = !0);
let u = a && a > i ? a - i : void 0;
- return aI(t, l, c, u);
+ return rI(t, l, c, u);
};
if (t) {
- let e = t + iI, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : aI(Ude, !1, t, void 0, !0);
+ let e = t + nI, n = r;
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : rI(Gde, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -35348,7 +35348,7 @@ var Ade = (e, t) => {
});
}
return r;
-}, Gde = (e) => {
+}, qde = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -35360,18 +35360,18 @@ var Ade = (e, t) => {
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, Kde = (e) => ({
- cache: Hde(e.cacheSize),
- parseClassName: Wde(e),
- sortModifiers: Gde(e),
- postfixLookupClassGroupIds: qde(e),
- ...Nde(e)
-}), qde = (e) => {
+}, Jde = (e) => ({
+ cache: Wde(e.cacheSize),
+ parseClassName: Kde(e),
+ sortModifiers: qde(e),
+ postfixLookupClassGroupIds: Yde(e),
+ ...Fde(e)
+}), Yde = (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;
-}, Jde = /\s+/, Yde = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Jde), l = "";
+}, Xde = /\s+/, Zde = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Xde), 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) {
@@ -35391,7 +35391,7 @@ var Ade = (e, t) => {
}
h = !1;
}
- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + rI : _, y = v + g;
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + tI : _, y = v + g;
if (s.indexOf(y) > -1) continue;
s.push(y);
let b = i(g, h);
@@ -35402,34 +35402,34 @@ var Ade = (e, t) => {
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, Xde = (...e) => {
+}, Qde = (...e) => {
let t = 0, n, r, i = "";
- for (; t < e.length;) (n = e[t++]) && (r = oI(n)) && (i && (i += " "), i += r);
+ for (; t < e.length;) (n = e[t++]) && (r = iI(n)) && (i && (i += " "), i += r);
return i;
-}, oI = (e) => {
+}, iI = (e) => {
if (typeof e == "string") return e;
let t, n = "";
- for (let r = 0; r < e.length; r++) e[r] && (t = oI(e[r])) && (n && (n += " "), n += t);
+ for (let r = 0; r < e.length; r++) e[r] && (t = iI(e[r])) && (n && (n += " "), n += t);
return n;
-}, sI = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = Kde(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+}, aI = (e, ...t) => {
+ let n, r, i, a, o = (o) => (n = Jde(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 = Yde(e, n);
+ let a = Zde(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(Xde(...e));
-}, Zde = [], cI = (e) => {
- let t = (t) => t[e] || Zde;
+ return a = o, (...e) => a(Qde(...e));
+}, $de = [], oI = (e) => {
+ let t = (t) => t[e] || $de;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, lI = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, uI = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Qde = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, $de = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, efe = /\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$/, tfe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, nfe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, rfe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, dI = (e) => Qde.test(e), fI = (e) => !!e && !Number.isNaN(Number(e)), pI = (e) => !!e && Number.isInteger(Number(e)), mI = (e) => e.endsWith("%") && fI(e.slice(0, -1)), hI = (e) => $de.test(e), gI = () => !0, _I = (e) => efe.test(e) && !tfe.test(e), vI = () => !1, yI = (e) => nfe.test(e), bI = (e) => rfe.test(e), xI = (e) => !wI(e) && !AI(e), SI = (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)), CI = (e) => PI(e, RI, vI), wI = (e) => lI.test(e), TI = (e) => PI(e, zI, _I), EI = (e) => PI(e, ufe, fI), DI = (e) => PI(e, VI, gI), ife = (e) => PI(e, BI, vI), OI = (e) => PI(e, II, vI), afe = (e) => PI(e, LI, bI), kI = (e) => PI(e, HI, yI), AI = (e) => uI.test(e), jI = (e) => FI(e, zI), ofe = (e) => FI(e, BI), MI = (e) => FI(e, II), sfe = (e) => FI(e, RI), cfe = (e) => FI(e, LI), NI = (e) => FI(e, HI, !0), lfe = (e) => FI(e, VI, !0), PI = (e, t, n) => {
- let r = lI.exec(e);
+}, sI = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, cI = /^\((?:(\w[\w-]*):)?(.+)\)$/i, efe = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, tfe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, nfe = /\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$/, rfe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, ife = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, afe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, lI = (e) => efe.test(e), uI = (e) => !!e && !Number.isNaN(Number(e)), dI = (e) => !!e && Number.isInteger(Number(e)), fI = (e) => e.endsWith("%") && uI(e.slice(0, -1)), pI = (e) => tfe.test(e), mI = () => !0, hI = (e) => nfe.test(e) && !rfe.test(e), gI = () => !1, _I = (e) => ife.test(e), vI = (e) => afe.test(e), yI = (e) => !SI(e) && !kI(e), bI = (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)), xI = (e) => NI(e, LI, gI), SI = (e) => sI.test(e), CI = (e) => NI(e, RI, hI), wI = (e) => NI(e, dfe, uI), TI = (e) => NI(e, BI, mI), EI = (e) => NI(e, zI, gI), DI = (e) => NI(e, FI, gI), ofe = (e) => NI(e, II, vI), OI = (e) => NI(e, VI, _I), kI = (e) => cI.test(e), AI = (e) => PI(e, RI), sfe = (e) => PI(e, zI), jI = (e) => PI(e, FI), cfe = (e) => PI(e, LI), lfe = (e) => PI(e, II), MI = (e) => PI(e, VI, !0), ufe = (e) => PI(e, BI, !0), NI = (e, t, n) => {
+ let r = sI.exec(e);
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, FI = (e, t, n = !1) => {
- let r = uI.exec(e);
+}, PI = (e, t, n = !1) => {
+ let r = cI.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, II = (e) => e === "position" || e === "percentage", LI = (e) => e === "image" || e === "url", RI = (e) => e === "length" || e === "size" || e === "bg-size", zI = (e) => e === "length", ufe = (e) => e === "number", BI = (e) => e === "family-name", VI = (e) => e === "number" || e === "weight", HI = (e) => e === "shadow", UI = () => {
- let e = cI("color"), t = cI("font"), n = cI("text"), r = cI("font-weight"), i = cI("tracking"), a = cI("leading"), o = cI("breakpoint"), s = cI("container"), c = cI("spacing"), l = cI("radius"), u = cI("shadow"), d = cI("inset-shadow"), f = cI("text-shadow"), p = cI("drop-shadow"), m = cI("blur"), h = cI("perspective"), g = cI("aspect"), _ = cI("ease"), v = cI("animate"), y = () => [
+}, FI = (e) => e === "position" || e === "percentage", II = (e) => e === "image" || e === "url", LI = (e) => e === "length" || e === "size" || e === "bg-size", RI = (e) => e === "length", dfe = (e) => e === "number", zI = (e) => e === "family-name", BI = (e) => e === "number" || e === "weight", VI = (e) => e === "shadow", HI = () => {
+ let e = oI("color"), t = oI("font"), n = oI("text"), r = oI("font-weight"), i = oI("tracking"), a = oI("leading"), o = oI("breakpoint"), s = oI("container"), c = oI("spacing"), l = oI("radius"), u = oI("shadow"), d = oI("inset-shadow"), f = oI("text-shadow"), p = oI("drop-shadow"), m = oI("blur"), h = oI("perspective"), g = oI("aspect"), _ = oI("ease"), v = oI("animate"), y = () => [
"auto",
"avoid",
"all",
@@ -35454,8 +35454,8 @@ var Ade = (e, t) => {
"left-bottom"
], x = () => [
...b(),
- AI,
- wI
+ kI,
+ SI
], S = () => [
"auto",
"hidden",
@@ -35467,43 +35467,43 @@ var Ade = (e, t) => {
"contain",
"none"
], w = () => [
- AI,
- wI,
+ kI,
+ SI,
c
], T = () => [
- dI,
+ lI,
"full",
"auto",
...w()
], E = () => [
- pI,
+ dI,
"none",
"subgrid",
- AI,
- wI
+ kI,
+ SI
], D = () => [
"auto",
{ span: [
"full",
- pI,
- AI,
- wI
+ dI,
+ kI,
+ SI
] },
- pI,
- AI,
- wI
+ dI,
+ kI,
+ SI
], O = () => [
- pI,
+ dI,
"auto",
- AI,
- wI
+ kI,
+ SI
], k = () => [
"auto",
"min",
"max",
"fr",
- AI,
- wI
+ kI,
+ SI
], A = () => [
"start",
"end",
@@ -35523,7 +35523,7 @@ var Ade = (e, t) => {
"center-safe",
"end-safe"
], M = () => ["auto", ...w()], ee = () => [
- dI,
+ lI,
"auto",
"full",
"dvw",
@@ -35538,7 +35538,7 @@ var Ade = (e, t) => {
...w()
], N = () => [
s,
- dI,
+ lI,
"screen",
"full",
"dvw",
@@ -35549,7 +35549,7 @@ var Ade = (e, t) => {
"fit",
...w()
], te = () => [
- dI,
+ lI,
"screen",
"full",
"lh",
@@ -35562,13 +35562,13 @@ var Ade = (e, t) => {
...w()
], P = () => [
e,
- AI,
- wI
+ kI,
+ SI
], ne = () => [
...b(),
- MI,
- OI,
- { position: [AI, wI] }
+ jI,
+ DI,
+ { position: [kI, SI] }
], re = () => ["no-repeat", { repeat: [
"",
"x",
@@ -35579,25 +35579,25 @@ var Ade = (e, t) => {
"auto",
"cover",
"contain",
- sfe,
- CI,
- { size: [AI, wI] }
+ cfe,
+ xI,
+ { size: [kI, SI] }
], I = () => [
- mI,
- jI,
- TI
+ fI,
+ AI,
+ CI
], ie = () => [
"",
"none",
"full",
l,
- AI,
- wI
+ kI,
+ SI
], ae = () => [
"",
- fI,
- jI,
- TI
+ uI,
+ AI,
+ CI
], oe = () => [
"solid",
"dashed",
@@ -35621,32 +35621,32 @@ var Ade = (e, t) => {
"color",
"luminosity"
], ce = () => [
+ uI,
fI,
- mI,
- MI,
- OI
+ jI,
+ DI
], le = () => [
"",
"none",
m,
- AI,
- wI
+ kI,
+ SI
], ue = () => [
"none",
- fI,
- AI,
- wI
+ uI,
+ kI,
+ SI
], de = () => [
"none",
- fI,
- AI,
- wI
+ uI,
+ kI,
+ SI
], fe = () => [
- fI,
- AI,
- wI
+ uI,
+ kI,
+ SI
], pe = () => [
- dI,
+ lI,
"full",
...w()
];
@@ -35660,17 +35660,17 @@ var Ade = (e, t) => {
"bounce"
],
aspect: ["video"],
- blur: [hI],
- breakpoint: [hI],
- color: [gI],
- container: [hI],
- "drop-shadow": [hI],
+ blur: [pI],
+ breakpoint: [pI],
+ color: [mI],
+ container: [pI],
+ "drop-shadow": [pI],
ease: [
"in",
"out",
"in-out"
],
- font: [xI],
+ font: [yI],
"font-weight": [
"thin",
"extralight",
@@ -35682,7 +35682,7 @@ var Ade = (e, t) => {
"extrabold",
"black"
],
- "inset-shadow": [hI],
+ "inset-shadow": [pI],
leading: [
"none",
"tight",
@@ -35699,11 +35699,11 @@ var Ade = (e, t) => {
"distant",
"none"
],
- radius: [hI],
- shadow: [hI],
- spacing: ["px", fI],
- text: [hI],
- "text-shadow": [hI],
+ radius: [pI],
+ shadow: [pI],
+ spacing: ["px", uI],
+ text: [pI],
+ "text-shadow": [pI],
tracking: [
"tighter",
"tight",
@@ -35717,9 +35717,9 @@ var Ade = (e, t) => {
aspect: [{ aspect: [
"auto",
"square",
- dI,
- wI,
- AI,
+ lI,
+ SI,
+ kI,
g
] }],
container: ["container"],
@@ -35727,15 +35727,15 @@ var Ade = (e, t) => {
"",
"normal",
"size",
- AI,
- wI
+ kI,
+ SI
] }],
- "container-named": [SI],
+ "container-named": [bI],
columns: [{ columns: [
- fI,
+ uI,
"auto",
- wI,
- AI,
+ SI,
+ kI,
s
] }],
"break-after": [{ "break-after": y() }],
@@ -35832,13 +35832,13 @@ var Ade = (e, t) => {
"collapse"
],
z: [{ z: [
- pI,
+ dI,
"auto",
- AI,
- wI
+ kI,
+ SI
] }],
basis: [{ basis: [
- dI,
+ lI,
"full",
"auto",
s,
@@ -35856,32 +35856,32 @@ var Ade = (e, t) => {
"wrap-reverse"
] }],
flex: [{ flex: [
- fI,
- dI,
+ uI,
+ lI,
"auto",
"initial",
"none",
- wI
+ SI
] }],
grow: [{ grow: [
"",
- fI,
- AI,
- wI
+ uI,
+ kI,
+ SI
] }],
shrink: [{ shrink: [
"",
- fI,
- AI,
- wI
+ uI,
+ kI,
+ SI
] }],
order: [{ order: [
- pI,
+ dI,
"first",
"last",
"none",
- AI,
- wI
+ kI,
+ SI
] }],
"grid-cols": [{ "grid-cols": E() }],
"col-start-end": [{ col: D() }],
@@ -35988,15 +35988,15 @@ var Ade = (e, t) => {
"font-size": [{ text: [
"base",
n,
- jI,
- TI
+ AI,
+ CI
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- lfe,
- DI
+ ufe,
+ TI
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -36008,15 +36008,15 @@ var Ade = (e, t) => {
"expanded",
"extra-expanded",
"ultra-expanded",
- mI,
- wI
+ fI,
+ SI
] }],
"font-family": [{ font: [
- ofe,
- ife,
+ sfe,
+ EI,
t
] }],
- "font-features": [{ "font-features": [wI] }],
+ "font-features": [{ "font-features": [SI] }],
"fvn-normal": ["normal-nums"],
"fvn-ordinal": ["ordinal"],
"fvn-slashed-zero": ["slashed-zero"],
@@ -36025,14 +36025,14 @@ var Ade = (e, t) => {
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
tracking: [{ tracking: [
i,
- AI,
- wI
+ kI,
+ SI
] }],
"line-clamp": [{ "line-clamp": [
- fI,
+ uI,
"none",
- AI,
- EI
+ kI,
+ wI
] }],
leading: [{ leading: [
"none",
@@ -36041,16 +36041,16 @@ var Ade = (e, t) => {
] }],
"list-image": [{ "list-image": [
"none",
- AI,
- wI
+ kI,
+ SI
] }],
"list-style-position": [{ list: ["inside", "outside"] }],
"list-style-type": [{ list: [
"disc",
"decimal",
"none",
- AI,
- wI
+ kI,
+ SI
] }],
"text-alignment": [{ text: [
"left",
@@ -36070,18 +36070,18 @@ var Ade = (e, t) => {
],
"text-decoration-style": [{ decoration: [...oe(), "wavy"] }],
"text-decoration-thickness": [{ decoration: [
- fI,
+ uI,
"from-font",
"auto",
- AI,
- TI
+ kI,
+ CI
] }],
"text-decoration-color": [{ decoration: P() }],
"underline-offset": [{ "underline-offset": [
- fI,
+ uI,
"auto",
- AI,
- wI
+ kI,
+ SI
] }],
"text-transform": [
"uppercase",
@@ -36102,9 +36102,9 @@ var Ade = (e, t) => {
] }],
indent: [{ indent: w() }],
"tab-size": [{ tab: [
- pI,
- AI,
- wI
+ dI,
+ kI,
+ SI
] }],
"vertical-align": [{ align: [
"baseline",
@@ -36115,8 +36115,8 @@ var Ade = (e, t) => {
"text-bottom",
"sub",
"super",
- AI,
- wI
+ kI,
+ SI
] }],
whitespace: [{ whitespace: [
"normal",
@@ -36144,8 +36144,8 @@ var Ade = (e, t) => {
] }],
content: [{ content: [
"none",
- AI,
- wI
+ kI,
+ SI
] }],
"bg-attachment": [{ bg: [
"fixed",
@@ -36180,24 +36180,24 @@ var Ade = (e, t) => {
"l",
"tl"
] },
- pI,
- AI,
- wI
+ dI,
+ kI,
+ SI
],
radial: [
"",
- AI,
- wI
+ kI,
+ SI
],
conic: [
"",
- pI,
- AI,
- wI
+ dI,
+ kI,
+ SI
]
},
- cfe,
- afe
+ lfe,
+ ofe
] }],
"bg-color": [{ bg: P() }],
"gradient-from-pos": [{ from: I() }],
@@ -36264,15 +36264,15 @@ var Ade = (e, t) => {
"hidden"
] }],
"outline-offset": [{ "outline-offset": [
- fI,
- AI,
- wI
+ uI,
+ kI,
+ SI
] }],
"outline-w": [{ outline: [
"",
- fI,
- jI,
- TI
+ uI,
+ AI,
+ CI
] }],
"outline-color": [{ outline: P() }],
shadow: [{ shadow: [
@@ -36280,35 +36280,35 @@ var Ade = (e, t) => {
"inner",
"none",
u,
- NI,
- kI
+ MI,
+ OI
] }],
"shadow-color": [{ shadow: P() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- NI,
- kI
+ MI,
+ OI
] }],
"inset-shadow-color": [{ "inset-shadow": P() }],
"ring-w": [{ ring: ae() }],
"ring-w-inset": ["ring-inset"],
"ring-color": [{ ring: P() }],
- "ring-offset-w": [{ "ring-offset": [fI, TI] }],
+ "ring-offset-w": [{ "ring-offset": [uI, CI] }],
"ring-offset-color": [{ "ring-offset": P() }],
"inset-ring-w": [{ "inset-ring": ae() }],
"inset-ring-color": [{ "inset-ring": P() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
- NI,
- kI
+ MI,
+ OI
] }],
"text-shadow-color": [{ "text-shadow": P() }],
opacity: [{ opacity: [
- fI,
- AI,
- wI
+ uI,
+ kI,
+ SI
] }],
"mix-blend": [{ "mix-blend": [
...se(),
@@ -36330,7 +36330,7 @@ var Ade = (e, t) => {
"intersect",
"exclude"
] }],
- "mask-image-linear-pos": [{ "mask-linear": [fI] }],
+ "mask-image-linear-pos": [{ "mask-linear": [uI] }],
"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": P() }],
@@ -36359,7 +36359,7 @@ var Ade = (e, t) => {
"mask-image-y-to-pos": [{ "mask-y-to": ce() }],
"mask-image-y-from-color": [{ "mask-y-from": P() }],
"mask-image-y-to-color": [{ "mask-y-to": P() }],
- "mask-image-radial": [{ "mask-radial": [AI, wI] }],
+ "mask-image-radial": [{ "mask-radial": [kI, SI] }],
"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": P() }],
@@ -36370,7 +36370,7 @@ var Ade = (e, t) => {
farthest: ["side", "corner"]
}] }],
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
- "mask-image-conic-pos": [{ "mask-conic": [fI] }],
+ "mask-image-conic-pos": [{ "mask-conic": [uI] }],
"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": P() }],
@@ -36394,111 +36394,111 @@ var Ade = (e, t) => {
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
"mask-image": [{ mask: [
"none",
- AI,
- wI
+ kI,
+ SI
] }],
filter: [{ filter: [
"",
"none",
- AI,
- wI
+ kI,
+ SI
] }],
blur: [{ blur: le() }],
brightness: [{ brightness: [
- fI,
- AI,
- wI
+ uI,
+ kI,
+ SI
] }],
contrast: [{ contrast: [
- fI,
- AI,
- wI
+ uI,
+ kI,
+ SI
] }],
"drop-shadow": [{ "drop-shadow": [
"",
"none",
p,
- NI,
- kI
+ MI,
+ OI
] }],
"drop-shadow-color": [{ "drop-shadow": P() }],
grayscale: [{ grayscale: [
"",
- fI,
- AI,
- wI
+ uI,
+ kI,
+ SI
] }],
"hue-rotate": [{ "hue-rotate": [
- fI,
- AI,
- wI
+ uI,
+ kI,
+ SI
] }],
invert: [{ invert: [
"",
- fI,
- AI,
- wI
+ uI,
+ kI,
+ SI
] }],
saturate: [{ saturate: [
- fI,
- AI,
- wI
+ uI,
+ kI,
+ SI
] }],
sepia: [{ sepia: [
"",
- fI,
- AI,
- wI
+ uI,
+ kI,
+ SI
] }],
"backdrop-filter": [{ "backdrop-filter": [
"",
"none",
- AI,
- wI
+ kI,
+ SI
] }],
"backdrop-blur": [{ "backdrop-blur": le() }],
"backdrop-brightness": [{ "backdrop-brightness": [
- fI,
- AI,
- wI
+ uI,
+ kI,
+ SI
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
- fI,
- AI,
- wI
+ uI,
+ kI,
+ SI
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
- fI,
- AI,
- wI
+ uI,
+ kI,
+ SI
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
- fI,
- AI,
- wI
+ uI,
+ kI,
+ SI
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
- fI,
- AI,
- wI
+ uI,
+ kI,
+ SI
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
- fI,
- AI,
- wI
+ uI,
+ kI,
+ SI
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
- fI,
- AI,
- wI
+ uI,
+ kI,
+ SI
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
- fI,
- AI,
- wI
+ uI,
+ kI,
+ SI
] }],
"border-collapse": [{ border: ["collapse", "separate"] }],
"border-spacing": [{ "border-spacing": w() }],
@@ -36514,39 +36514,39 @@ var Ade = (e, t) => {
"shadow",
"transform",
"none",
- AI,
- wI
+ kI,
+ SI
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
- fI,
+ uI,
"initial",
- AI,
- wI
+ kI,
+ SI
] }],
ease: [{ ease: [
"linear",
"initial",
_,
- AI,
- wI
+ kI,
+ SI
] }],
delay: [{ delay: [
- fI,
- AI,
- wI
+ uI,
+ kI,
+ SI
] }],
animate: [{ animate: [
"none",
v,
- AI,
- wI
+ kI,
+ SI
] }],
backface: [{ backface: ["hidden", "visible"] }],
perspective: [{ perspective: [
h,
- AI,
- wI
+ kI,
+ SI
] }],
"perspective-origin": [{ "perspective-origin": x() }],
rotate: [{ rotate: ue() }],
@@ -36562,8 +36562,8 @@ var Ade = (e, t) => {
"skew-x": [{ "skew-x": fe() }],
"skew-y": [{ "skew-y": fe() }],
transform: [{ transform: [
- AI,
- wI,
+ kI,
+ SI,
"",
"none",
"gpu",
@@ -36577,9 +36577,9 @@ var Ade = (e, t) => {
"translate-z": [{ "translate-z": pe() }],
"translate-none": ["translate-none"],
zoom: [{ zoom: [
- pI,
- AI,
- wI
+ dI,
+ kI,
+ SI
] }],
accent: [{ accent: P() }],
appearance: [{ appearance: ["none", "auto"] }],
@@ -36629,8 +36629,8 @@ var Ade = (e, t) => {
"nwse-resize",
"zoom-in",
"zoom-out",
- AI,
- wI
+ kI,
+ SI
] }],
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
@@ -36716,15 +36716,15 @@ var Ade = (e, t) => {
"scroll",
"contents",
"transform",
- AI,
- wI
+ kI,
+ SI
] }],
fill: [{ fill: ["none", ...P()] }],
"stroke-w": [{ stroke: [
- fI,
- jI,
- TI,
- EI
+ uI,
+ AI,
+ CI,
+ wI
] }],
stroke: [{ stroke: ["none", ...P()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
@@ -36982,16 +36982,16 @@ var Ade = (e, t) => {
"selection"
]
};
-}, dfe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (WI(e, "cacheSize", t), WI(e, "prefix", n), WI(e, "experimentalParseClassName", r), GI(e.theme, a.theme), GI(e.classGroups, a.classGroups), GI(e.conflictingClassGroups, a.conflictingClassGroups), GI(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), WI(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), WI(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), KI(e.theme, i.theme), KI(e.classGroups, i.classGroups), KI(e.conflictingClassGroups, i.conflictingClassGroups), KI(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), qI(e, i, "postfixLookupClassGroups"), qI(e, i, "orderSensitiveModifiers"), e), WI = (e, t, n) => {
+}, ffe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (UI(e, "cacheSize", t), UI(e, "prefix", n), UI(e, "experimentalParseClassName", r), WI(e.theme, a.theme), WI(e.classGroups, a.classGroups), WI(e.conflictingClassGroups, a.conflictingClassGroups), WI(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), UI(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), UI(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), GI(e.theme, i.theme), GI(e.classGroups, i.classGroups), GI(e.conflictingClassGroups, i.conflictingClassGroups), GI(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), KI(e, i, "postfixLookupClassGroups"), KI(e, i, "orderSensitiveModifiers"), e), UI = (e, t, n) => {
n !== void 0 && (e[t] = n);
+}, WI = (e, t) => {
+ if (t) for (let n in t) UI(e, n, t[n]);
}, GI = (e, t) => {
- if (t) for (let n in t) WI(e, n, t[n]);
-}, KI = (e, t) => {
- if (t) for (let n in t) qI(e, t, n);
-}, qI = (e, t, n) => {
+ if (t) for (let n in t) KI(e, t, n);
+}, KI = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, ffe = (e, ...t) => typeof e == "function" ? sI(UI, e, ...t) : sI(() => dfe(UI(), e), ...t), pfe = [
+}, pfe = (e, ...t) => typeof e == "function" ? aI(HI, e, ...t) : aI(() => ffe(HI(), e), ...t), mfe = [
"large-title",
"display-1",
"display-2",
@@ -37005,17 +37005,17 @@ var Ade = (e, t) => {
"body-2",
"caption-1",
"caption-2"
-], mfe = [
+], hfe = [
"regular",
"medium",
"semibold",
"bold"
-], q = ffe({ extend: { classGroups: { "font-size": [{ text: pfe.flatMap((e) => mfe.map((t) => `${e}-${t}`)) }] } } });
-function JI(e) {
+], q = pfe({ extend: { classGroups: { "font-size": [{ text: mfe.flatMap((e) => hfe.map((t) => `${e}-${t}`)) }] } } });
+function qI(e) {
return e;
}
// src/react/components/pill-tab.tsx
-var hfe = typeof window < "u" ? F.useLayoutEffect : F.useEffect, YI = JI({
+var gfe = typeof window < "u" ? F.useLayoutEffect : F.useEffect, JI = qI({
radius: {
blue: "rounded-full",
gray: "rounded-2lg"
@@ -37037,9 +37037,9 @@ var hfe = typeof window < "u" ? F.useLayoutEffect : F.useEffect, YI = JI({
gray: "text-text-primary"
}
});
-function XI({ children: e, className: t, ref: n, container: r, ...i }) {
+function YI({ children: e, className: t, ref: n, container: r, ...i }) {
let a = (0, F.useRef)(null), [o, s] = (0, F.useState)(null);
- hfe(() => {
+ gfe(() => {
let e = r === void 0 ? a.current : r;
if (!e) return;
let t = () => {
@@ -37075,7 +37075,7 @@ function XI({ children: e, className: t, ref: n, container: r, ...i }) {
}, l = o && /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
"data-pill-thumb": "",
- className: q("pointer-events-none absolute left-0 top-0", YI.radius[o.variant], YI.thumb[o.variant]),
+ className: q("pointer-events-none absolute left-0 top-0", JI.radius[o.variant], JI.thumb[o.variant]),
style: {
"--pill-left": `${o.left}px`,
"--pill-top": `${o.top}px`,
@@ -37092,37 +37092,37 @@ function XI({ children: e, className: t, ref: n, container: r, ...i }) {
}) : r ? (0, Lt.createPortal)(l, r) : null;
}
// src/react/manage-header/manage-header-island.tsx
-var ZI = null, QI = null, $I = /* @__PURE__ */ new Set();
-function gfe(e) {
- return $I.add(e), () => {
- $I.delete(e);
+var XI = null, ZI = null, QI = /* @__PURE__ */ new Set();
+function _fe(e) {
+ return QI.add(e), () => {
+ QI.delete(e);
};
}
-function _fe() {
- for (let e of [...$I]) e();
+function vfe() {
+ for (let e of [...QI]) e();
}
-var vfe = { render(e) {
- QI = e, (0, Lt.flushSync)(_fe);
+var yfe = { render(e) {
+ ZI = e, (0, Lt.flushSync)(vfe);
} };
-function yfe(e) {
- return ZI = e, QI = null, vfe;
+function bfe(e) {
+ return XI = e, ZI = null, yfe;
}
-function bfe() {
- let e = (0, F.useSyncExternalStore)(gfe, () => QI);
- return ZI && e ? /* @__PURE__ */ (0, I.jsx)(xfe, {
- host: ZI,
+function xfe() {
+ let e = (0, F.useSyncExternalStore)(_fe, () => ZI);
+ return XI && e ? /* @__PURE__ */ (0, I.jsx)(Sfe, {
+ host: XI,
props: e
}) : null;
}
-function xfe({ host: e, props: t }) {
- let n = KF(t);
+function Sfe({ host: e, props: t }) {
+ let n = WF(t);
return n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(Sfe, {
+ /* @__PURE__ */ (0, I.jsx)(Cfe, {
host: e,
pressed: n.pressed,
menu: t.menu
}),
- n.crumb ? /* @__PURE__ */ (0, I.jsx)(Cfe, {
+ n.crumb ? /* @__PURE__ */ (0, I.jsx)(wfe, {
host: e,
label: n.crumb
}) : null,
@@ -37131,13 +37131,13 @@ function xfe({ host: e, props: t }) {
"data-compact": n.compact ? "" : void 0,
children: n.title
}),
- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, I.jsx)(wfe, {
+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, I.jsx)(Tfe, {
host: e,
lede: n.lede
})
] }) : null;
}
-function Sfe({ host: e, pressed: t, menu: n }) {
+function Cfe({ host: e, pressed: t, menu: n }) {
let r = (0, F.useRef)(null);
return (0, F.useLayoutEffect)(() => {
let e = r.current, t = e?.querySelector("button[aria-pressed=\"true\"]");
@@ -37147,7 +37147,7 @@ function Sfe({ host: e, pressed: t, menu: n }) {
}, [t, n]), /* @__PURE__ */ (0, I.jsx)("nav", {
"data-manage-bar": "",
"aria-label": "管理",
- children: /* @__PURE__ */ (0, I.jsx)(XI, {
+ children: /* @__PURE__ */ (0, I.jsx)(YI, {
ref: r,
"data-manage-menu": "",
"data-pill-nav": "",
@@ -37161,13 +37161,13 @@ function Sfe({ host: e, pressed: t, menu: n }) {
"data-pill-selected": a ? "" : void 0,
"data-pill-variant": "gray",
onClick: () => e.openManage(n),
- children: [/* @__PURE__ */ (0, I.jsx)(XF, { name: i }), /* @__PURE__ */ (0, I.jsx)("span", { children: r })]
+ children: [/* @__PURE__ */ (0, I.jsx)(JF, { name: i }), /* @__PURE__ */ (0, I.jsx)("span", { children: r })]
}, n);
})
})
});
}
-function Cfe({ host: e, label: t }) {
+function wfe({ host: e, label: t }) {
return /* @__PURE__ */ (0, I.jsx)("nav", {
"data-manage-crumb": "",
"aria-label": "当前位置",
@@ -37177,20 +37177,20 @@ function Cfe({ host: e, label: t }) {
t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());
},
children: "数据管理"
- }), /* @__PURE__ */ (0, I.jsx)(XF, { name: "chevron-right" })] }), /* @__PURE__ */ (0, I.jsx)("li", {
+ }), /* @__PURE__ */ (0, I.jsx)(JF, { name: "chevron-right" })] }), /* @__PURE__ */ (0, I.jsx)("li", {
"aria-current": "true",
children: /* @__PURE__ */ (0, I.jsx)("span", { children: t })
})] })
});
}
-function wfe({ host: e, lede: t }) {
+function Tfe({ host: e, lede: t }) {
return /* @__PURE__ */ (0, I.jsx)("p", {
className: "mono",
"data-manage-lede": "",
children: t.kind === "skeleton" ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-trash-lede-skeletons": "",
- dangerouslySetInnerHTML: { __html: YF }
- }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Tfe, { text: t.text }), t.total ? /* @__PURE__ */ (0, I.jsx)("button", {
+ dangerouslySetInnerHTML: { __html: qF }
+ }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Efe, { text: t.text }), t.total ? /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-empty-trash": "",
"data-danger": "",
@@ -37200,7 +37200,7 @@ function wfe({ host: e, lede: t }) {
}) : null] })
});
}
-function Tfe({ text: e }) {
+function Efe({ text: e }) {
let t = (0, F.useRef)(null);
return (0, F.useLayoutEffect)(() => {
qs(t.current, e);
@@ -37210,29 +37210,29 @@ function Tfe({ text: e }) {
});
}
// src/core/text-lang.ts
-var Efe = /[぀-ヿㇰ-ㇿヲ-゚]/, Dfe = /[㐀-鿿豈-﫿]/, Ofe = /[A-Za-z]/;
-function eL(e) {
+var Dfe = /[぀-ヿㇰ-ㇿヲ-゚]/, Ofe = /[㐀-鿿豈-﫿]/, kfe = /[A-Za-z]/;
+function $I(e) {
let t = String(e ?? "");
- if (Efe.test(t)) return "ja";
- if (!Dfe.test(t) && Ofe.test(t)) return "en";
+ if (Dfe.test(t)) return "ja";
+ if (!Ofe.test(t) && kfe.test(t)) return "en";
}
-var kfe = (e) => {
- let t = eL(e);
+var Afe = (e) => {
+ let t = $I(e);
return t ? ` lang="${t}"` : "";
-}, Afe = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, jfe = (e, t = e?.name) => {
+}, jfe = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Mfe = (e, t = e?.name) => {
let n = String(t || "").trim();
- return e?.is_jav ? n.replace(Afe, "") : n;
-}, Mfe = (e) => /[぀-ヿ㐀-鿿]/.test(String(e || "")), Nfe = (e) => {
+ return e?.is_jav ? n.replace(jfe, "") : n;
+}, Nfe = (e) => /[぀-ヿ㐀-鿿]/.test(String(e || "")), Pfe = (e) => {
let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);
- return t.find(Mfe) || t[0] || "";
+ return t.find(Nfe) || t[0] || "";
};
-function tL(e, t = e?.name) {
- let n = jfe(e, t), r = String(e?.code || "").trim().toUpperCase();
+function eL(e, t = e?.name) {
+ let n = Mfe(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 = Nfe(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 = Pfe(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) => [
"中字",
"无码",
"无码破解"
@@ -37243,23 +37243,23 @@ function tL(e, t = e?.name) {
badges: f
};
}
-var nL = (e, t = e?.name) => {
- let { code: n, title: r, badges: i = [] } = tL(e, t);
+var tL = (e, t = e?.name) => {
+ let { code: n, title: r, badges: i = [] } = eL(e, t);
return n ? [
n,
...i,
r
].filter(Boolean).join(" ") : r;
};
-function rL(e, t = e?.name) {
- let { code: n, title: r, badges: i = [] } = tL(e, t);
+function nL(e, t = e?.name) {
+ let { code: n, title: r, badges: i = [] } = eL(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"${kfe(r)}>${z(r)}</span>` : ""}`;
+ return `<span class="ui-javidentity"><strong class="ui-javcode">${z(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle"${Afe(r)}>${z(r)}</span>` : ""}`;
}
// src/react/activity/tasks.ts
-var iL = "/api/tasks", aL = ["tasks"];
-function Pfe(e, t) {
+var rL = "/api/tasks", iL = ["tasks"];
+function Ffe(e, t) {
let n = 0, r = 0, i = 0, a = 0;
for (let o of t) for (let [t, s] of Object.entries(e?.[String(o.id)] || {})) n += s, (t === "pending" || t === "running") && (r += s), (t === "failed" || t === "interrupted") && (i += s), t === "cancelled" && (a += s);
return {
@@ -37270,7 +37270,7 @@ function Pfe(e, t) {
settled: n - r
};
}
-function Ffe(e) {
+function Ife(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
let e = t.get(n.task_key);
@@ -37281,11 +37281,11 @@ function Ffe(e) {
}
return [...t.values()];
}
-var Ife = (e, t) => B(`${iL}?${new URLSearchParams({
+var Lfe = (e, t) => B(`${rL}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function Lfe(...e) {
+function Rfe(...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) => {
@@ -37293,26 +37293,26 @@ function Lfe(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var Rfe = 2e3, zfe = 1e4, oL = (e) => e?.running?.length ? Rfe : zfe, sL = (e) => B(iL, e), Bfe = (e, t, n) => V(`${iL}/${e}/control`, { action: t }, "POST", n);
-async function Vfe(e) {
+var zfe = 2e3, Bfe = 1e4, aL = (e) => e?.running?.length ? zfe : Bfe, oL = (e) => B(rL, e), Vfe = (e, t, n) => V(`${rL}/${e}/control`, { action: t }, "POST", n);
+async function Hfe(e) {
await H.fetchQuery({
- queryKey: aL,
- queryFn: () => sL(e)
+ queryKey: iL,
+ queryFn: () => oL(e)
});
}
-var Hfe = {
+var Ufe = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, Ufe = {
+}, Wfe = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "意外中断"
-}, Wfe = (e) => Ufe[e] || e, cL = {
+}, Gfe = (e) => Wfe[e] || e, sL = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -37389,7 +37389,7 @@ var Hfe = {
without_code: "未识别番号",
incomplete: "资料或封面未取得",
result: "结果"
-}, Gfe = [
+}, Kfe = [
"gone_count",
"unclear_count",
"source_failed",
@@ -37411,14 +37411,14 @@ var Hfe = {
"paused_count",
"miss",
"incomplete"
-], Kfe = ["face_match_unavailable"], lL = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || Kfe.some((t) => e.result_summary?.[t] === !0) || Gfe.some((t) => Number(e.result_summary?.[t]) > 0);
-function qfe(e) {
+], qfe = ["face_match_unavailable"], cL = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || qfe.some((t) => e.result_summary?.[t] === !0) || Kfe.some((t) => Number(e.result_summary?.[t]) > 0);
+function Jfe(e) {
let t = e.result_summary?.issues;
return Array.isArray(t) ? t.filter((e) => !!e && typeof e == "object" && typeof e.error == "string" && typeof e.label == "string") : [];
}
-var uL = /* @__PURE__ */ new Set(["library-processing"]);
-function Jfe(e, t = !0) {
- if (!lL(e) && e.status !== "failed" || uL.has(e.task_key) && !t) return null;
+var lL = /* @__PURE__ */ new Set(["library-processing"]);
+function Yfe(e, t = !0) {
+ if (!cL(e) && e.status !== "failed" || lL.has(e.task_key) && !t) return null;
let n = {
"link-check": ["/data-cleanup#link-manager", "查看有问题的链接"],
"link-prune": ["/data-cleanup#link-manager", "查看有问题的链接"],
@@ -37436,19 +37436,19 @@ function Jfe(e, t = !0) {
label: n[1]
} : null;
}
-function Yfe(e) {
+function Xfe(e) {
let t = e.result_summary?.asset_id, n = e.result_summary?.name;
return typeof t == "number" && Number.isInteger(t) && t > 0 && typeof n == "string" && n ? {
href: `/assets/${t}`,
label: n
} : null;
}
-function Xfe(e) {
+function Zfe(e) {
let t = /* @__PURE__ */ new Map();
- for (let n of e) uL.has(n.task_key) && !n.followup_key && n.id > (t.get(n.task_key) ?? 0) && t.set(n.task_key, n.id);
+ for (let n of e) lL.has(n.task_key) && !n.followup_key && n.id > (t.get(n.task_key) ?? 0) && t.set(n.task_key, n.id);
return new Set(t.values());
}
-function Zfe(e) {
+function Qfe(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
if (!n.followup_key || n.parent_run_id == null) continue;
@@ -37457,7 +37457,7 @@ function Zfe(e) {
}
return t;
}
-function Qfe(e, t) {
+function $fe(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -37479,12 +37479,12 @@ function Qfe(e, t) {
}
return n;
}
-var $fe = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !lL(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), dL = (e) => e.status === "pending" || e.status === "running";
-function epe(e) {
+var epe = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !cL(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), uL = (e) => e.status === "pending" || e.status === "running";
+function tpe(e) {
let t = `${e.task_label}:`, n = e.progress_label || "", r = String(e.result_summary?.name || "") || (n.startsWith(t) ? n.slice(t.length) : n === e.task_label ? "" : n), i = e.progress_total || 0, { name: a, ...o } = e.result_summary || {};
- return [r, mL(e.error) || spe(o) || (dL(e) && i > 0 ? `${pL(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
+ return [r, pL(e.error) || cpe(o) || (uL(e) && i > 0 ? `${fL(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
}
-function fL(e) {
+function dL(e) {
if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";
let t = Math.floor(e);
if (t < 60) return `${t} 秒`;
@@ -37493,19 +37493,19 @@ function fL(e) {
let r = Math.floor(n / 60);
return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;
}
-function pL(e, t) {
+function fL(e, t) {
let n = Math.max(0, Number(t) || 0);
return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;
}
-function tpe(e) {
+function npe(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 mL(e) {
- let t = tpe(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);
+function pL(e) {
+ let t = npe(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);
return n ? bn(n[1]) : t;
}
-var npe = {
+var rpe = {
partial: "处理已结束,部分项目需处理",
complete: "处理完成",
interrupted: "处理已中断",
@@ -37523,11 +37523,11 @@ var npe = {
三站都没对上她: "三个来源均未找到与该人物相符的资料页",
已有身份: "已有创作者分类",
已变: "资料已被其他操作修改,本次未保存"
-}, hL = {
+}, mL = {
avwikidb: "AVWikiDB",
javdb: "JavDB",
"minnano-av": "みんなのAV"
-}, rpe = {
+}, ipe = {
like: "标记喜欢",
seen: "标记看过",
later: "加入稍后看",
@@ -37538,8 +37538,8 @@ var npe = {
"dismiss-junk": "确认不是垃圾",
"reconsider-junk": "重新判定垃圾",
region: "判定产地"
-}, ipe = (e) => npe[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${hL[t.toLowerCase()]} 资料页` : `已保存来自 ${hL[t.toLowerCase()]} 的资料`);
-function gL(e) {
+}, ape = (e) => rpe[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${mL[t.toLowerCase()]} 资料页` : `已保存来自 ${mL[t.toLowerCase()]} 的资料`);
+function hL(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -37549,7 +37549,7 @@ function gL(e) {
minute: "2-digit"
});
}
-var ape = /* @__PURE__ */ new Set([
+var ope = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -37558,20 +37558,20 @@ var ape = /* @__PURE__ */ new Set([
"completed_at",
"finished_at"
]);
-function _L(e) {
- let t = ope(e);
+function gL(e) {
+ let t = spe(e);
return e?.face_match_unavailable === !0 && !t.some((e) => /不可用|未生效/.test(e)) && t.push("人脸模型不可用,未做人脸核对"), t;
}
-function ope(e) {
- return Object.entries(e || {}).filter(([e, t]) => !ape.has(e) && (e in cL || e === "outcome" || e === "followups" || e === "error") && (typeof t == "number" || typeof t == "string") && String(t) !== "" && (t !== 0 || e === "checked" || e === "total")).map(([e, t]) => e === "followups" ? `已安排 ${Number(t).toLocaleString()} 项补充任务` : e === "error" ? mL(String(t)) : e === "outcome" || e === "result" ? ipe(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${cL[e]} ${Yn(Number(t))}` : e === "operation" ? `操作:${rpe[String(t)] || "批量操作"}` : `${cL[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);
+function spe(e) {
+ return Object.entries(e || {}).filter(([e, t]) => !ope.has(e) && (e in sL || e === "outcome" || e === "followups" || e === "error") && (typeof t == "number" || typeof t == "string") && String(t) !== "" && (t !== 0 || e === "checked" || e === "total")).map(([e, t]) => e === "followups" ? `已安排 ${Number(t).toLocaleString()} 项补充任务` : e === "error" ? pL(String(t)) : e === "outcome" || e === "result" ? ape(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${sL[e]} ${Yn(Number(t))}` : e === "operation" ? `操作:${ipe[String(t)] || "批量操作"}` : `${sL[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);
}
-var spe = (e) => _L(e).join(" · ");
+var cpe = (e) => gL(e).join(" · ");
// src/react/use-entity-names.ts
-function vL() {
+function _L() {
return (0, F.useSyncExternalStore)(Jt, qt, qt);
}
// src/react/components/async-text.tsx
-function yL({ text: e, busy: t, placeholder: n }) {
+function vL({ text: e, busy: t, placeholder: n }) {
let r = (0, F.useRef)(null), i = (0, F.useRef)(e), a = e ?? i.current;
return (0, F.useLayoutEffect)(() => {
e === void 0 ? a === void 0 && uc(r.current) : i.current = e;
@@ -37592,7 +37592,7 @@ function yL({ text: e, busy: t, placeholder: n }) {
});
}
// src/react/boardui/components/base/buttons/icon-button.tsx
-var bL = JI({
+var yL = qI({
base: "relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg bg-background-primary-default text-foreground-icon-primary border border-border-button-default shadow-xs select-none cursor-pointer transition-[background-color,border-color,box-shadow,color] duration-150 ease outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring hover:bg-background-primary-hover hover:border-border-button-hover active:bg-background-primary-active active:border-border-button-active disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:border-border-button-default disabled:text-icon-button-disabled-foreground disabled:opacity-60 disabled:shadow-none",
size: {
medium: "size-9",
@@ -37603,20 +37603,20 @@ var bL = JI({
small: "size-4 shrink-0"
}
});
-function xL({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function bL({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, I.jsx)("button", {
ref: i,
type: r,
- className: q(bL.base, bL.size[t], n),
+ className: q(yL.base, yL.size[t], n),
...a,
children: /* @__PURE__ */ (0, I.jsx)(e, {
- className: bL.icon[t],
+ className: yL.icon[t],
"aria-hidden": !0
})
});
}
// src/react/components/glass-drift.tsx
-function SL() {
+function xL() {
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-glass-drift": "",
"aria-hidden": "true",
@@ -37630,7 +37630,7 @@ function SL() {
});
}
// src/react/components/use-stuck.ts
-function CL(e) {
+function SL(e) {
(0, F.useEffect)(() => {
let t = e.current;
if (!t) return;
@@ -37647,7 +37647,7 @@ function CL(e) {
}, [e]);
}
// src/react/components/use-horizontal-scroller.ts
-function wL(e, t = !0) {
+function CL(e, t = !0) {
let [n, r] = (0, F.useState)(null), i = (0, F.useCallback)((t) => {
r(t), typeof e == "function" ? e(t) : e && (e.current = t);
}, [e]);
@@ -37661,17 +37661,17 @@ function wL(e, t = !0) {
}, [n, t]), i;
}
// src/react/components/filter-glass.tsx
-var cpe = ({ className: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var lpe = ({ className: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
className: e,
dangerouslySetInnerHTML: { __html: zs("正在处理") }
});
-function TL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {
- return /* @__PURE__ */ (0, I.jsx)(xL, {
+function wL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {
+ return /* @__PURE__ */ (0, I.jsx)(bL, {
...a,
"data-filter-action": "",
size: "small",
- icon: n && r === "spinner" ? cpe : t,
+ icon: n && r === "spinner" ? lpe : t,
"aria-label": e,
title: a.title || e,
"aria-busy": n || void 0,
@@ -37681,9 +37681,9 @@ function TL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress
}
});
}
-function lpe({ title: e, children: t }) {
+function upe({ title: e, children: t }) {
let n = (0, F.useRef)(null);
- return CL(n), /* @__PURE__ */ (0, I.jsxs)("div", {
+ return SL(n), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: n,
role: "group",
"aria-label": e,
@@ -37696,13 +37696,13 @@ function lpe({ title: e, children: t }) {
children: e
}),
t,
- /* @__PURE__ */ (0, I.jsx)(SL, {})
+ /* @__PURE__ */ (0, I.jsx)(xL, {})
]
});
}
-function EL({ 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, F.useRef)(null), f = wL(), p = wL(u);
- return CL(d), /* @__PURE__ */ (0, I.jsxs)("div", {
+function TL({ 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, F.useRef)(null), f = CL(), p = CL(u);
+ return SL(d), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: d,
role: "group",
"aria-label": e,
@@ -37727,27 +37727,27 @@ function EL({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNa
className: q("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
children: r
}),
- /* @__PURE__ */ (0, I.jsx)(SL, {})
+ /* @__PURE__ */ (0, I.jsx)(xL, {})
]
});
}
-var upe = "flex h-8 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 DL({ children: e, pressed: t, onPress: n, className: r, ...i }) {
+var dpe = "flex h-8 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 EL({ children: e, pressed: t, onPress: n, className: r, ...i }) {
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
...i,
"aria-pressed": t,
- className: q(upe, r),
+ className: q(dpe, r),
onClick: n,
children: e
});
}
-var dpe = "h-8 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 OL({ children: e, onPress: t, busy: n = !1 }) {
+var fpe = "h-8 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 DL({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-glass-pill": "",
- className: dpe,
+ className: fpe,
"aria-busy": n || void 0,
"aria-disabled": n || void 0,
onClick: () => {
@@ -37757,13 +37757,13 @@ function OL({ children: e, onPress: t, busy: n = !1 }) {
});
}
// src/react/components/use-view-glide.ts
-var kL = (e, t) => [
+var OL = (e, t) => [
"x",
"y",
"w",
"h"
].every((n) => e[n] === t[n]);
-function AL(e, t, n) {
+function kL(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;
@@ -37787,17 +37787,17 @@ function AL(e, t, n) {
h: e.offsetHeight
};
}
-function jL(e, t, n, r, { axis: i = "x" } = {}) {
+function AL(e, t, n, r, { axis: i = "x" } = {}) {
let a = (0, F.useRef)(null), o = (0, F.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 ? AL(u, l, i) : null;
+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? kL(u, l, i) : null;
if (!d || !d.w || !d.h) {
Uc(s), s.hidden = !0, a.current = null;
return;
}
let f = s.hidden ? null : a.current;
- s.hidden = !1, a.current = d, !(o && f && kL(f, d)) && Vc(s, o ? f : null, d, i);
+ s.hidden = !1, a.current = d, !(o && f && OL(f, d)) && Vc(s, o ? f : null, d, i);
}, [
e,
t,
@@ -37818,8 +37818,8 @@ function jL(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 ? AL(o, r, i) : null, l = a.current;
- s && l && kL(s, l) || c();
+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? kL(o, r, i) : null, l = a.current;
+ s && l && OL(s, l) || c();
}), u = t.current;
if (u && r) {
l.observe(u);
@@ -37850,7 +37850,7 @@ function jL(e, t, n, r, { axis: i = "x" } = {}) {
};
}
// src/react/boardui/components/base/buttons/button.tsx
-var ML = JI({
+var jL = qI({
base: "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans select-none cursor-pointer button-press-motion outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring disabled:cursor-not-allowed aria-disabled:cursor-not-allowed",
size: {
medium: "h-9 rounded-2lg p-2 text-body-medium",
@@ -37883,52 +37883,52 @@ function J({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, I.jsxs)("button", {
ref: c,
type: s,
- className: q(ML.base, ML.size[t], ML.variant[e], n && ML.iconOnlySize[t], o),
+ className: q(jL.base, jL.size[t], jL.variant[e], n && jL.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, I.jsx)(r, {
- className: ML.icon[t],
+ className: jL.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, I.jsx)("span", {
- className: ML.label[t],
+ className: jL.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, I.jsx)(i, {
- className: ML.icon[t],
+ className: jL.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function NL({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
+function ML({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
return /* @__PURE__ */ (0, I.jsxs)("a", {
ref: s,
- className: q(ML.base, ML.size[t], ML.variant[e], n && ML.iconOnlySize[t], o),
+ className: q(jL.base, jL.size[t], jL.variant[e], n && jL.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, I.jsx)(r, {
- className: ML.icon[t],
+ className: jL.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, I.jsx)("span", {
- className: ML.label[t],
+ className: jL.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, I.jsx)(i, {
- className: ML.icon[t],
+ className: jL.icon[t],
"aria-hidden": !0
}) : null
]
});
}
// node_modules/react-aria-components/dist/private/utils.mjs
-var PL = Symbol("default");
-function FL({ values: e, children: t }) {
+var NL = Symbol("default");
+function PL({ values: e, children: t }) {
for (let [n, r] of e) t = /*#__PURE__*/ F.createElement(n.Provider, { value: r }, t);
return t;
}
-function IL(e) {
+function FL(e) {
let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;
return (0, F.useMemo)(() => {
let e, l, u;
@@ -37962,11 +37962,11 @@ function IL(e) {
c
]);
}
-function LL(e, t) {
+function IL(e, t) {
let n = (0, F.useContext)(e);
if (t === null) return null;
if (n && typeof n == "object" && "slots" in n && n.slots) {
- let e = t || PL;
+ let e = t || NL;
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}.`);
@@ -37975,8 +37975,8 @@ function LL(e, t) {
}
return n;
}
-function RL(e, t, n) {
- let { ref: r, ...i } = LL(n, e.slot) || {}, a = nw((0, F.useMemo)(() => qC(t, r), [t, r])), o = K(i, e);
+function LL(e, t, n) {
+ let { ref: r, ...i } = IL(n, e.slot) || {}, a = ew((0, F.useMemo)(() => GC(t, r), [t, r])), o = K(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,
@@ -37994,42 +37994,42 @@ function RL(e, t, n) {
...e.style
}), [o, a];
}
-function zL(e = !0) {
+function RL(e = !0) {
let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(!1), i = (0, F.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
- return HS(() => {
+ return VS(() => {
r.current || n(!1);
}, []), [i, t];
}
-function BL(e) {
+function zL(e) {
let t = /^(data-.*)$/, n = {};
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function fpe(e, t, n) {
- let { render: r, ...i } = t, a = (0, F.useRef)(null), o = (0, F.useMemo)(() => qC(n, a), [n, a]);
- HS(() => {}, [e, r]);
+function ppe(e, t, n) {
+ let { render: r, ...i } = t, a = (0, F.useRef)(null), o = (0, F.useMemo)(() => GC(n, a), [n, a]);
+ VS(() => {}, [e, r]);
let s = {
...i,
ref: o
};
return r ? r(s, void 0) : /*#__PURE__*/ F.createElement(e, s);
}
-var VL = {}, HL = new Proxy({}, { get(e, t) {
+var BL = {}, VL = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
- let n = VL[t];
- return n || (n = /*#__PURE__*/ (0, F.forwardRef)(fpe.bind(null, t)), VL[t] = n), n;
-} }), UL = /*#__PURE__*/ (0, F.createContext)(null), WL = /*#__PURE__*/ (0, F.createContext)(null), GL = /*#__PURE__*/ (0, F.createContext)(null), KL = {
+ let n = BL[t];
+ return n || (n = /*#__PURE__*/ (0, F.forwardRef)(ppe.bind(null, t)), BL[t] = n), n;
+} }), HL = /*#__PURE__*/ (0, F.createContext)(null), UL = /*#__PURE__*/ (0, F.createContext)(null), WL = /*#__PURE__*/ (0, F.createContext)(null), GL = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
- return qL(e, null, t);
+ return KL(e, null, t);
},
CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {
- return qL(e, t, n);
+ return KL(e, t, n);
}
};
-function qL(e, t, n) {
- return wS({
+function KL(e, t, n) {
+ return CS({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
children(t) {
@@ -38039,11 +38039,11 @@ function qL(e, t, n) {
type: "item",
key: t.key,
dropPosition: "before"
- }), r, ppe(e, t, n));
+ }), r, mpe(e, t, n));
}
});
}
-function ppe(e, t, n) {
+function mpe(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);
@@ -38062,24 +38062,24 @@ function ppe(e, t, n) {
}
return s;
}
-var JL = /*#__PURE__*/ (0, F.createContext)(KL);
-function YL(e) {
+var qL = /*#__PURE__*/ (0, F.createContext)(GL);
+function JL(e) {
return (0, F.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);
}
// node_modules/react-aria-components/dist/private/Label.mjs
-var XL = /*#__PURE__*/ (0, F.createContext)({}), ZL = /*#__PURE__*/ sw(function(e, t) {
- [e, t] = RL(e, t, XL);
- let { elementType: n = "label", ...r } = e, i = HL[n];
+var YL = /*#__PURE__*/ (0, F.createContext)({}), XL = /*#__PURE__*/ aw(function(e, t) {
+ [e, t] = LL(e, t, YL);
+ let { elementType: n = "label", ...r } = e, i = VL[n];
return /*#__PURE__*/ F.createElement(i, {
className: "react-aria-Label",
...r,
ref: t
});
-}), mpe = /*#__PURE__*/ (0, F.createContext)(null), QL = /*#__PURE__*/ (0, F.createContext)({}), $L = /*#__PURE__*/ sw(function(e, t) {
- [e, t] = RL(e, t, QL);
- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = joe(e, t);
- i = gpe(i, r);
- let { focusProps: o, isFocused: s, isFocusVisible: c } = FD(e), { hoverProps: l, isHovered: u } = zD({
+}), hpe = /*#__PURE__*/ (0, F.createContext)(null), ZL = /*#__PURE__*/ (0, F.createContext)({}), QL = /*#__PURE__*/ aw(function(e, t) {
+ [e, t] = LL(e, t, ZL);
+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Noe(e, t);
+ i = _pe(i, r);
+ let { focusProps: o, isFocused: s, isFocusVisible: c } = ND(e), { hoverProps: l, isHovered: u } = LD({
...e,
isDisabled: e.isDisabled || r
}), d = {
@@ -38089,24 +38089,24 @@ var XL = /*#__PURE__*/ (0, F.createContext)({}), ZL = /*#__PURE__*/ sw(function(
isFocusVisible: c,
isDisabled: e.isDisabled || !1,
isPending: r ?? !1
- }, f = IL({
+ }, f = FL({
...e,
values: d,
defaultClassName: "react-aria-Button"
- }), p = GC(i.id), m = GC(), h = i["aria-labelledby"];
+ }), p = UC(i.id), m = UC(), h = i["aria-labelledby"];
r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));
let g = (0, F.useRef)(r);
(0, F.useEffect)(() => {
let e = { "aria-labelledby": h || p };
- (!g.current && s && r || g.current && s && !r) && IT(e, "assertive"), g.current = r;
+ (!g.current && s && r || g.current && s && !r) && PT(e, "assertive"), g.current = r;
}, [
r,
s,
h,
p
]);
- let _ = Yw(e, { global: !0 });
- return delete _.onClick, /*#__PURE__*/ F.createElement(HL.button, {
+ let _ = qw(e, { global: !0 });
+ return delete _.onClick, /*#__PURE__*/ F.createElement(VL.button, {
...K(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
@@ -38120,61 +38120,61 @@ var XL = /*#__PURE__*/ (0, F.createContext)({}), ZL = /*#__PURE__*/ sw(function(
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ F.createElement(mpe.Provider, { value: { id: m } }, f.children));
-}), hpe = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
-function gpe(e, t) {
+ }, /*#__PURE__*/ F.createElement(hpe.Provider, { value: { id: m } }, f.children));
+}), gpe = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
+function _pe(e, t) {
if (t) {
- for (let t in e) t.startsWith("on") && !hpe.test(t) && (e[t] = void 0);
+ for (let t in e) t.startsWith("on") && !gpe.test(t) && (e[t] = void 0);
e.href = void 0, e.target = void 0;
}
return e;
}
// node_modules/react-aria-components/dist/private/Heading.mjs
-var eR = /*#__PURE__*/ (0, F.createContext)({}), tR = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = RL(e, t, eR);
- let { children: n, level: r = 3, className: i, ...a } = e, o = HL[`h${r}`];
+var $L = /*#__PURE__*/ (0, F.createContext)({}), eR = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = LL(e, t, $L);
+ let { children: n, level: r = 3, className: i, ...a } = e, o = VL[`h${r}`];
return /*#__PURE__*/ F.createElement(o, {
...a,
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), nR = /*#__PURE__*/ (0, F.createContext)({}), _pe = /*#__PURE__*/ sw(function(e, t) {
- [e, t] = RL(e, t, nR);
- let { elementType: n = "span", ...r } = e, i = HL[n];
+}), tR = /*#__PURE__*/ (0, F.createContext)({}), vpe = /*#__PURE__*/ aw(function(e, t) {
+ [e, t] = LL(e, t, tR);
+ let { elementType: n = "span", ...r } = e, i = VL[n];
return /*#__PURE__*/ F.createElement(i, {
className: "react-aria-Text",
...r,
ref: t
});
-}), rR = /*#__PURE__*/ (0, F.createContext)(null), iR = /*#__PURE__*/ (0, F.createContext)(null), aR = /*#__PURE__*/ (0, F.createContext)(null), oR = /*#__PURE__*/ (0, F.createContext)(null), vpe = /*#__PURE__*/ (0, F.createContext)(null), sR = /*#__PURE__*/ (0, F.createContext)(null);
-function ype(e, t) {
- let { validationBehavior: n } = LL(iR) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useContext)(vpe), a = nw((0, F.useMemo)(() => qC(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
- ...BL(e),
+}), nR = /*#__PURE__*/ (0, F.createContext)(null), rR = /*#__PURE__*/ (0, F.createContext)(null), iR = /*#__PURE__*/ (0, F.createContext)(null), aR = /*#__PURE__*/ (0, F.createContext)(null), ype = /*#__PURE__*/ (0, F.createContext)(null), oR = /*#__PURE__*/ (0, F.createContext)(null);
+function bpe(e, t) {
+ let { validationBehavior: n } = IL(rR) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useContext)(ype), a = ew((0, F.useMemo)(() => GC(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+ ...zL(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
- return [i ? ese(o, i, a) : rE(o, cE(e), a), a];
+ return [i ? nse(o, i, a) : tE(o, oE(e), a), a];
}
-var bpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+var xpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = RL(r, t, aR);
- let [i, a] = ype(e, n);
- return /*#__PURE__*/ F.createElement(sR.Provider, { value: {
+ [e, t] = LL(r, t, iR);
+ let [i, a] = bpe(e, n);
+ return /*#__PURE__*/ F.createElement(oR.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
isIndeterminate: e.isIndeterminate,
isRequired: e.isRequired
- } }, /*#__PURE__*/ F.createElement(xpe, {
+ } }, /*#__PURE__*/ F.createElement(Spe, {
...e,
ref: t
}));
-}), xpe = /*#__PURE__*/ (0, F.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, F.useContext)(sR), { isFocused: p, isFocusVisible: m, focusProps: h } = FD(), g = a || o, { hoverProps: _, isHovered: v } = zD({
+}), Spe = /*#__PURE__*/ (0, F.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, F.useContext)(oR), { isFocused: p, isFocusVisible: m, focusProps: h } = ND(), g = a || o, { hoverProps: _, isHovered: v } = LD({
...e,
isDisabled: g
- }), y = IL({
+ }), y = FL({
...e,
defaultClassName: u,
values: {
@@ -38189,8 +38189,8 @@ var bpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
isInvalid: c,
isRequired: f || !1
}
- }), b = Yw(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(HL.label, {
+ }), b = qw(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(VL.label, {
...K(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -38204,20 +38204,20 @@ var bpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": f || void 0
- }, /*#__PURE__*/ F.createElement(_E, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {
+ }, /*#__PURE__*/ F.createElement(hE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {
...K(r, h),
ref: l
})), y.children);
-}), cR = /*#__PURE__*/ (0, F.createContext)({}), lR = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = RL(e, t, cR);
+}), sR = /*#__PURE__*/ (0, F.createContext)({}), cR = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = LL(e, t, sR);
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 } = zD({
+ let { hoverProps: l, isHovered: u } = LD({
onHoverStart: a,
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = FD({ within: !0 }), m = IL({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = ND({ within: !0 }), m = FL({
...e,
values: {
isHovered: u,
@@ -38228,7 +38228,7 @@ var bpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Group"
});
- return /*#__PURE__*/ F.createElement(HL.div, {
+ return /*#__PURE__*/ F.createElement(VL.div, {
...K(c, p, l),
...m,
ref: t,
@@ -38241,18 +38241,18 @@ var bpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), uR = /*#__PURE__*/ (0, F.createContext)({}), Spe = (e) => {
+}), lR = /*#__PURE__*/ (0, F.createContext)({}), Cpe = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, Cpe = /*#__PURE__*/ sw(function(e, t) {
- [e, t] = RL(e, t, uR);
- let { hoverProps: n, isHovered: r } = zD({
+}, wpe = /*#__PURE__*/ aw(function(e, t) {
+ [e, t] = LL(e, t, lR);
+ let { hoverProps: n, isHovered: r } = LD({
...e,
isDisabled: e.disabled
- }), { isFocused: i, isFocusVisible: a, focusProps: o } = FD({
+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = ND({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = IL({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = FL({
...e,
values: {
isHovered: r,
@@ -38263,8 +38263,8 @@ var bpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Input"
});
- return /*#__PURE__*/ F.createElement(HL.input, {
- ...K(Spe(e), o, n),
+ return /*#__PURE__*/ F.createElement(VL.input, {
+ ...K(Cpe(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -38273,24 +38273,24 @@ var bpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), wpe = 0, Tpe = 100, Epe = 1;
-function Dpe(e) {
- let { isDisabled: t = !1, minValue: n = wpe, maxValue: r = Tpe, numberFormatter: i, step: a = Epe, orientation: o = "horizontal" } = e, s = (0, F.useMemo)(() => {
+}), Tpe = 0, Epe = 100, Dpe = 1;
+function Ope(e) {
+ let { isDisabled: t = !1, minValue: n = Tpe, maxValue: r = Epe, numberFormatter: i, step: a = Dpe, orientation: o = "horizontal" } = e, s = (0, F.useMemo)(() => {
let e = (r - n) / 10;
- return e = dE(e, 0, e + a, a), Math.max(e, a);
+ return e = lE(e, 0, e + a, a), Math.max(e, a);
}, [
a,
r,
n
- ]), c = (0, F.useCallback)((e) => e?.map((t, i) => dE(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [
+ ]), c = (0, F.useCallback)((e) => e?.map((t, i) => lE(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [
n,
r,
a
- ]), l = (0, F.useMemo)(() => c(fR(e.value)), [e.value, c]), u = (0, F.useMemo)(() => c(fR(e.defaultValue) ?? [n]), [
+ ]), l = (0, F.useMemo)(() => c(dR(e.value)), [e.value, c]), u = (0, F.useMemo)(() => c(dR(e.defaultValue) ?? [n]), [
e.defaultValue,
n,
c
- ]), d = pR(e.value, e.defaultValue, e.onChange), f = pR(e.value, e.defaultValue, e.onChangeEnd), [p, m] = sE(l, u, d), [h] = (0, F.useState)(p), [g, _] = (0, F.useState)(Array(p.length).fill(!1)), v = (0, F.useRef)(Array(p.length).fill(!0)), [y, b] = (0, F.useState)(void 0), x = (0, F.useRef)(p), S = (0, F.useRef)(g), C = (e) => {
+ ]), d = fR(e.value, e.defaultValue, e.onChange), f = fR(e.value, e.defaultValue, e.onChangeEnd), [p, m] = aE(l, u, d), [h] = (0, F.useState)(p), [g, _] = (0, F.useState)(Array(p.length).fill(!1)), v = (0, F.useRef)(Array(p.length).fill(!0)), [y, b] = (0, F.useState)(void 0), x = (0, F.useRef)(p), S = (0, F.useRef)(g), C = (e) => {
x.current = e, m(e);
}, w = (e) => {
S.current = e, _(e);
@@ -38313,15 +38313,15 @@ function Dpe(e) {
function A(e, n) {
if (t || !O(e)) return;
let r = E(e), i = D(e);
- n = dE(n, r, i, a);
- let o = dR(x.current, e, n);
+ n = lE(n, r, i, a);
+ let o = uR(x.current, e, n);
C(o);
}
function j(e, n) {
if (t || !O(e)) return;
n && (x.current = p);
let r = S.current[e];
- S.current = dR(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);
+ S.current = uR(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);
}
let M = (0, F.useRef)(null);
function ee(e = p) {
@@ -38342,15 +38342,15 @@ function Dpe(e) {
return Math.round((e - n) / a) * a + n;
}
function P(e) {
- return lE(te(e * (r - n) + n), n, r);
+ return sE(te(e * (r - n) + n), n, r);
}
function ne(e, t = 1) {
let i = Math.max(t, a);
- A(e, dE(p[e] + i, n, r, a));
+ A(e, lE(p[e] + i, n, r, a));
}
function re(e, t = 1) {
let i = Math.max(t, a);
- A(e, dE(p[e] - i, n, r, a));
+ A(e, lE(p[e] - i, n, r, a));
}
return {
values: p,
@@ -38379,31 +38379,31 @@ function Dpe(e) {
isDisabled: t
};
}
-function dR(e, t, n) {
+function uR(e, t, n) {
return e[t] === n ? e : [
...e.slice(0, t),
n,
...e.slice(t + 1)
];
}
-function fR(e) {
+function dR(e) {
if (e != null) return Array.isArray(e) ? e : [e];
}
-function pR(e, t, n) {
+function fR(e, t, n) {
return (r) => {
typeof e == "number" || typeof t == "number" ? n?.(r[0]) : n?.(r);
};
}
// node_modules/react-aria-components/dist/private/Slider.mjs
-var Ope = /*#__PURE__*/ (0, F.createContext)(null), mR = /*#__PURE__*/ (0, F.createContext)(null), hR = /*#__PURE__*/ (0, F.createContext)(null), kpe = /*#__PURE__*/ (0, F.createContext)(null), Ape = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = RL(e, t, Ope);
- let n = (0, F.useRef)(null), r = ase(e.formatOptions), i = Dpe({
+var kpe = /*#__PURE__*/ (0, F.createContext)(null), pR = /*#__PURE__*/ (0, F.createContext)(null), mR = /*#__PURE__*/ (0, F.createContext)(null), Ape = /*#__PURE__*/ (0, F.createContext)(null), jpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = LL(e, t, kpe);
+ let n = (0, F.useRef)(null), r = sse(e.formatOptions), i = Ope({
...e,
numberFormatter: r
- }), [a, o] = zL(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = ose({
+ }), [a, o] = RL(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = cse({
...e,
label: o
- }, i, n), d = IL({
+ }, i, n), d = FL({
...e,
values: {
orientation: i.orientation,
@@ -38411,32 +38411,32 @@ var Ope = /*#__PURE__*/ (0, F.createContext)(null), mR = /*#__PURE__*/ (0, F.cre
state: i
},
defaultClassName: "react-aria-Slider"
- }), f = Yw(e, { global: !0 });
- return delete f.id, /*#__PURE__*/ F.createElement(FL, { values: [
- [mR, i],
- [hR, {
+ }), f = qw(e, { global: !0 });
+ return delete f.id, /*#__PURE__*/ F.createElement(PL, { values: [
+ [pR, i],
+ [mR, {
...c,
ref: n
}],
- [kpe, u],
- [XL, {
+ [Ape, u],
+ [YL, {
...l,
ref: a
}]
- ] }, /*#__PURE__*/ F.createElement(HL.div, {
+ ] }, /*#__PURE__*/ F.createElement(VL.div, {
...K(f, d, s),
ref: t,
slot: e.slot || void 0,
"data-orientation": i.orientation,
"data-disabled": i.isDisabled || void 0
}));
-}), jpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = RL(e, t, hR);
- let n = (0, F.useContext)(mR), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = zD({
+}), Mpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = LL(e, t, mR);
+ let n = (0, F.useContext)(pR), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = LD({
onHoverStart: r,
onHoverEnd: i,
onHoverChange: a
- }), l = IL({
+ }), l = FL({
...e,
defaultClassName: "react-aria-SliderTrack",
values: {
@@ -38446,7 +38446,7 @@ var Ope = /*#__PURE__*/ (0, F.createContext)(null), mR = /*#__PURE__*/ (0, F.cre
state: n
}
});
- return /*#__PURE__*/ F.createElement(HL.div, {
+ return /*#__PURE__*/ F.createElement(VL.div, {
...K(o, s),
...l,
ref: t,
@@ -38454,14 +38454,14 @@ var Ope = /*#__PURE__*/ (0, F.createContext)(null), mR = /*#__PURE__*/ (0, F.cre
"data-orientation": n.orientation || void 0,
"data-disabled": n.isDisabled || void 0
});
-}), Mpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { inputRef: n = null } = e, r = (0, F.useContext)(mR), { ref: i } = LL(hR), { index: a = 0 } = e, o = (0, F.useRef)(null), s = n || o, [c, l] = zL(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = sse({
+}), Npe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { inputRef: n = null } = e, r = (0, F.useContext)(pR), { ref: i } = IL(mR), { index: a = 0 } = e, o = (0, F.useRef)(null), s = n || o, [c, l] = RL(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = lse({
...e,
index: a,
trackRef: i,
inputRef: s,
label: l
- }, r), { focusProps: g, isFocusVisible: _ } = FD(), { hoverProps: v, isHovered: y } = zD(e), b = IL({
+ }, r), { focusProps: g, isFocusVisible: _ } = ND(), { hoverProps: v, isHovered: y } = LD(e), b = FL({
...e,
defaultClassName: "react-aria-SliderThumb",
values: {
@@ -38472,8 +38472,8 @@ var Ope = /*#__PURE__*/ (0, F.createContext)(null), mR = /*#__PURE__*/ (0, F.cre
isFocusVisible: _,
isDisabled: h
}
- }), x = Yw(e, { global: !0 });
- return delete x.id, /*#__PURE__*/ F.createElement(HL.div, {
+ }), x = qw(e, { global: !0 });
+ return delete x.id, /*#__PURE__*/ F.createElement(VL.div, {
...K(x, u, v),
...b,
ref: t,
@@ -38486,330 +38486,330 @@ var Ope = /*#__PURE__*/ (0, F.createContext)(null), mR = /*#__PURE__*/ (0, F.cre
"data-focused": m || void 0,
"data-focus-visible": _ || void 0,
"data-disabled": h || void 0
- }, /*#__PURE__*/ F.createElement(_E, null, /*#__PURE__*/ F.createElement("input", {
+ }, /*#__PURE__*/ F.createElement(hE, null, /*#__PURE__*/ F.createElement("input", {
ref: s,
...K(d, g)
- })), /*#__PURE__*/ F.createElement(FL, { values: [[XL, {
+ })), /*#__PURE__*/ F.createElement(PL, { values: [[YL, {
...f,
ref: c
}]] }, b.children));
-}), gR = {};
-gR = {
+}), hR = {};
+hR = {
colorSwatchPicker: "تغييرات الألوان",
dropzoneLabel: "DropZone",
selectPlaceholder: "حدد عنصرًا",
tableResizer: "أداة تغيير الحجم"
};
// node_modules/react-aria-components/dist/private/intl/bg-BG.mjs
-var _R = {};
-_R = {
+var gR = {};
+gR = {
colorSwatchPicker: "Цветови мостри",
dropzoneLabel: "DropZone",
selectPlaceholder: "Изберете предмет",
tableResizer: "Преоразмерител"
};
// node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs
-var vR = {};
-vR = {
+var _R = {};
+_R = {
colorSwatchPicker: "Vzorky barev",
dropzoneLabel: "Místo pro přetažení",
selectPlaceholder: "Vyberte položku",
tableResizer: "Změna velikosti"
};
// node_modules/react-aria-components/dist/private/intl/da-DK.mjs
-var yR = {};
-yR = {
+var vR = {};
+vR = {
colorSwatchPicker: "Farveprøver",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vælg et element",
tableResizer: "Størrelsesændring"
};
// node_modules/react-aria-components/dist/private/intl/de-DE.mjs
-var bR = {};
-bR = {
+var yR = {};
+yR = {
colorSwatchPicker: "Farbfelder",
dropzoneLabel: "Ablegebereich",
selectPlaceholder: "Element wählen",
tableResizer: "Größenanpassung"
};
// node_modules/react-aria-components/dist/private/intl/el-GR.mjs
-var xR = {};
-xR = {
+var bR = {};
+bR = {
colorSwatchPicker: "Χρωματικά δείγματα",
dropzoneLabel: "DropZone",
selectPlaceholder: "Επιλέξτε ένα αντικείμενο",
tableResizer: "Αλλαγή μεγέθους"
};
// node_modules/react-aria-components/dist/private/intl/en-US.mjs
-var SR = {};
-SR = {
+var xR = {};
+xR = {
selectPlaceholder: "Select an item",
tableResizer: "Resizer",
dropzoneLabel: "DropZone",
colorSwatchPicker: "Color swatches"
};
// node_modules/react-aria-components/dist/private/intl/es-ES.mjs
-var CR = {};
-CR = {
+var SR = {};
+SR = {
colorSwatchPicker: "Muestras de colores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Seleccionar un artículo",
tableResizer: "Cambiador de tamaño"
};
// node_modules/react-aria-components/dist/private/intl/et-EE.mjs
-var wR = {};
-wR = {
+var CR = {};
+CR = {
colorSwatchPicker: "Värvinäidised",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valige üksus",
tableResizer: "Suuruse muutja"
};
// node_modules/react-aria-components/dist/private/intl/fi-FI.mjs
-var TR = {};
-TR = {
+var wR = {};
+wR = {
colorSwatchPicker: "Värimallit",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valitse kohde",
tableResizer: "Koon muuttaja"
};
// node_modules/react-aria-components/dist/private/intl/fr-FR.mjs
-var ER = {};
-ER = {
+var TR = {};
+TR = {
colorSwatchPicker: "Échantillons de couleurs",
dropzoneLabel: "DropZone",
selectPlaceholder: "Sélectionner un élément",
tableResizer: "Redimensionneur"
};
// node_modules/react-aria-components/dist/private/intl/he-IL.mjs
-var DR = {};
-DR = {
+var ER = {};
+ER = {
colorSwatchPicker: "דוגמיות צבע",
dropzoneLabel: "DropZone",
selectPlaceholder: "בחר פריט",
tableResizer: "שינוי גודל"
};
// node_modules/react-aria-components/dist/private/intl/hr-HR.mjs
-var OR = {};
-OR = {
+var DR = {};
+DR = {
colorSwatchPicker: "Uzorci boja",
dropzoneLabel: "Zona spuštanja",
selectPlaceholder: "Odaberite stavku",
tableResizer: "Promjena veličine"
};
// node_modules/react-aria-components/dist/private/intl/hu-HU.mjs
-var kR = {};
-kR = {
+var OR = {};
+OR = {
colorSwatchPicker: "Színtárak",
dropzoneLabel: "DropZone",
selectPlaceholder: "Válasszon ki egy elemet",
tableResizer: "Átméretező"
};
// node_modules/react-aria-components/dist/private/intl/it-IT.mjs
-var AR = {};
-AR = {
+var kR = {};
+kR = {
colorSwatchPicker: "Campioni di colore",
dropzoneLabel: "Zona di rilascio",
selectPlaceholder: "Seleziona un elemento",
tableResizer: "Ridimensionamento"
};
// node_modules/react-aria-components/dist/private/intl/ja-JP.mjs
-var jR = {};
-jR = {
+var AR = {};
+AR = {
colorSwatchPicker: "カラースウォッチ",
dropzoneLabel: "ドロップゾーン",
selectPlaceholder: "項目を選択",
tableResizer: "サイズ変更ツール"
};
// node_modules/react-aria-components/dist/private/intl/ko-KR.mjs
-var MR = {};
-MR = {
+var jR = {};
+jR = {
colorSwatchPicker: "색상 견본",
dropzoneLabel: "드롭 영역",
selectPlaceholder: "항목 선택",
tableResizer: "크기 조정기"
};
// node_modules/react-aria-components/dist/private/intl/lt-LT.mjs
-var NR = {};
-NR = {
+var MR = {};
+MR = {
colorSwatchPicker: "Spalvų pavyzdžiai",
dropzoneLabel: "„DropZone“",
selectPlaceholder: "Pasirinkite elementą",
tableResizer: "Dydžio keitiklis"
};
// node_modules/react-aria-components/dist/private/intl/lv-LV.mjs
-var PR = {};
-PR = {
+var NR = {};
+NR = {
colorSwatchPicker: "Krāsu paraugi",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izvēlēties vienumu",
tableResizer: "Izmēra mainītājs"
};
// node_modules/react-aria-components/dist/private/intl/nb-NO.mjs
-var FR = {};
-FR = {
+var PR = {};
+PR = {
colorSwatchPicker: "Fargekart",
dropzoneLabel: "Droppsone",
selectPlaceholder: "Velg et element",
tableResizer: "Størrelsesendrer"
};
// node_modules/react-aria-components/dist/private/intl/nl-NL.mjs
-var IR = {};
-IR = {
+var FR = {};
+FR = {
colorSwatchPicker: "kleurstalen",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecteer een item",
tableResizer: "Resizer"
};
// node_modules/react-aria-components/dist/private/intl/pl-PL.mjs
-var LR = {};
-LR = {
+var IR = {};
+IR = {
colorSwatchPicker: "Próbki kolorów",
dropzoneLabel: "Strefa upuszczania",
selectPlaceholder: "Wybierz element",
tableResizer: "Zmiana rozmiaru"
};
// node_modules/react-aria-components/dist/private/intl/pt-BR.mjs
-var RR = {};
-RR = {
+var LR = {};
+LR = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
tableResizer: "Redimensionador"
};
// node_modules/react-aria-components/dist/private/intl/pt-PT.mjs
-var zR = {};
-zR = {
+var RR = {};
+RR = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
tableResizer: "Redimensionador"
};
// node_modules/react-aria-components/dist/private/intl/ro-RO.mjs
-var BR = {};
-BR = {
+var zR = {};
+zR = {
colorSwatchPicker: "Specimene de culoare",
dropzoneLabel: "Zonă de plasare",
selectPlaceholder: "Selectați un element",
tableResizer: "Instrument de redimensionare"
};
// node_modules/react-aria-components/dist/private/intl/ru-RU.mjs
-var VR = {};
-VR = {
+var BR = {};
+BR = {
colorSwatchPicker: "Цветовые образцы",
dropzoneLabel: "DropZone",
selectPlaceholder: "Выберите элемент",
tableResizer: "Средство изменения размера"
};
// node_modules/react-aria-components/dist/private/intl/sk-SK.mjs
-var HR = {};
-HR = {
+var VR = {};
+VR = {
colorSwatchPicker: "Vzorkovníky farieb",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vyberte položku",
tableResizer: "Nástroj na zmenu veľkosti"
};
// node_modules/react-aria-components/dist/private/intl/sl-SI.mjs
-var UR = {};
-UR = {
+var HR = {};
+HR = {
colorSwatchPicker: "Barvne palete",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izberite element",
tableResizer: "Spreminjanje velikosti"
};
// node_modules/react-aria-components/dist/private/intl/sr-SP.mjs
-var WR = {};
-WR = {
+var UR = {};
+UR = {
colorSwatchPicker: "Uzorci boje",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izaberite stavku",
tableResizer: "Promena veličine"
};
// node_modules/react-aria-components/dist/private/intl/sv-SE.mjs
-var GR = {};
-GR = {
+var WR = {};
+WR = {
colorSwatchPicker: "Färgrutor",
dropzoneLabel: "DropZone",
selectPlaceholder: "Välj en artikel",
tableResizer: "Storleksändrare"
};
// node_modules/react-aria-components/dist/private/intl/tr-TR.mjs
-var KR = {};
-KR = {
+var GR = {};
+GR = {
colorSwatchPicker: "Renk örnekleri",
dropzoneLabel: "Bırakma Bölgesi",
selectPlaceholder: "Bir öğe seçin",
tableResizer: "Yeniden boyutlandırıcı"
};
// node_modules/react-aria-components/dist/private/intl/uk-UA.mjs
-var qR = {};
-qR = {
+var KR = {};
+KR = {
colorSwatchPicker: "Зразки кольорів",
dropzoneLabel: "DropZone",
selectPlaceholder: "Виберіть елемент",
tableResizer: "Засіб змінення розміру"
};
// node_modules/react-aria-components/dist/private/intl/zh-CN.mjs
-var JR = {};
-JR = {
+var qR = {};
+qR = {
colorSwatchPicker: "颜色色板",
dropzoneLabel: "放置区域",
selectPlaceholder: "选择一个项目",
tableResizer: "尺寸调整器"
};
// node_modules/react-aria-components/dist/private/intl/zh-TW.mjs
-var YR = {};
-YR = {
+var JR = {};
+JR = {
colorSwatchPicker: "色票",
dropzoneLabel: "放置區",
selectPlaceholder: "選取項目",
tableResizer: "大小調整器"
};
// node_modules/react-aria-components/dist/private/intlStrings.mjs
-var XR = {};
-XR = {
- "ar-AE": gR,
- "bg-BG": _R,
- "cs-CZ": vR,
- "da-DK": yR,
- "de-DE": bR,
- "el-GR": xR,
- "en-US": SR,
- "es-ES": CR,
- "et-EE": wR,
- "fi-FI": TR,
- "fr-FR": ER,
- "he-IL": DR,
- "hr-HR": OR,
- "hu-HU": kR,
- "it-IT": AR,
- "ja-JP": jR,
- "ko-KR": MR,
- "lt-LT": NR,
- "lv-LV": PR,
- "nb-NO": FR,
- "nl-NL": IR,
- "pl-PL": LR,
- "pt-BR": RR,
- "pt-PT": zR,
- "ro-RO": BR,
- "ru-RU": VR,
- "sk-SK": HR,
- "sl-SI": UR,
- "sr-SP": WR,
- "sv-SE": GR,
- "tr-TR": KR,
- "uk-UA": qR,
- "zh-CN": JR,
- "zh-TW": YR
+var YR = {};
+YR = {
+ "ar-AE": hR,
+ "bg-BG": gR,
+ "cs-CZ": _R,
+ "da-DK": vR,
+ "de-DE": yR,
+ "el-GR": bR,
+ "en-US": xR,
+ "es-ES": SR,
+ "et-EE": CR,
+ "fi-FI": wR,
+ "fr-FR": TR,
+ "he-IL": ER,
+ "hr-HR": DR,
+ "hu-HU": OR,
+ "it-IT": kR,
+ "ja-JP": AR,
+ "ko-KR": jR,
+ "lt-LT": MR,
+ "lv-LV": NR,
+ "nb-NO": PR,
+ "nl-NL": FR,
+ "pl-PL": IR,
+ "pt-BR": LR,
+ "pt-PT": RR,
+ "ro-RO": zR,
+ "ru-RU": BR,
+ "sk-SK": VR,
+ "sl-SI": HR,
+ "sr-SP": UR,
+ "sv-SE": WR,
+ "tr-TR": GR,
+ "uk-UA": KR,
+ "zh-CN": qR,
+ "zh-TW": JR
};
// node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var ZR = /*#__PURE__*/ (0, F.createContext)({}), QR = /*#__PURE__*/ (0, F.createContext)(null), Npe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { render: n } = (0, F.useContext)(QR);
+var XR = /*#__PURE__*/ (0, F.createContext)({}), ZR = /*#__PURE__*/ (0, F.createContext)(null), Ppe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { render: n } = (0, F.useContext)(ZR);
return /*#__PURE__*/ F.createElement(F.Fragment, null, n(e, t));
});
-function $R(e, t) {
+function QR(e, t) {
let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, F.useCallback)((e) => {
- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ F.createElement(Npe, { target: e });
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ F.createElement(Ppe, { target: e });
}, [
t?.target,
r,
@@ -38817,7 +38817,7 @@ function $R(e, t) {
]);
return e?.useDropIndicator ? i : void 0;
}
-function ez(e, t, n) {
+function $R(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;
@@ -38838,13 +38838,13 @@ function ez(e, t, n) {
return (0, F.useMemo)(() => new Set([r, i].filter((e) => e != null)), [r, i]);
}
// node_modules/react-aria-components/dist/private/Header.mjs
-var tz = /*#__PURE__*/ (0, F.createContext)({}), Ppe = /*#__PURE__*/ (0, F.createContext)(null);
-function nz(e) {
+var ez = /*#__PURE__*/ (0, F.createContext)({}), Fpe = /*#__PURE__*/ (0, F.createContext)(null);
+function tz(e) {
let t = (0, F.useRef)({});
- return /*#__PURE__*/ F.createElement(Ppe.Provider, { value: t }, e.children);
+ return /*#__PURE__*/ F.createElement(Fpe.Provider, { value: t }, e.children);
}
// node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var rz = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), iz = /*#__PURE__*/ (0, F.createContext)({}), Fpe = /*#__PURE__*/ hw(class extends gS {
+var nz = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), rz = /*#__PURE__*/ (0, F.createContext)({}), Ipe = /*#__PURE__*/ pw(class extends hS {
static {
this.type = "separator";
}
@@ -38857,14 +38857,14 @@ var rz = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), iz = /*#__PURE_
return null;
}
}, function(e, t) {
- [e, t] = RL(e, t, iz);
+ [e, t] = LL(e, t, rz);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = HL[c], { separatorProps: u } = pce({
+ let l = VL[c], { separatorProps: u } = hce({
...s,
elementType: n,
orientation: r
- }), d = Yw(e, { global: !0 });
+ }), d = qw(e, { global: !0 });
return /*#__PURE__*/ F.createElement(l, {
render: e.render,
...K(d, u),
@@ -38875,12 +38875,12 @@ var rz = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), iz = /*#__PURE_
});
});
// node_modules/react-aria/dist/private/utils/inertValue.mjs
-function az(e) {
+function iz(e) {
let t = F.version.split(".");
return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;
}
// node_modules/react-stately/dist/private/list/ListCollection.mjs
-var oz = class {
+var az = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;
let t = (e) => {
@@ -38924,19 +38924,19 @@ var oz = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, sz = class e extends Set {
+}, oz = 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);
}
};
// node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs
-function Ipe(e, t) {
+function Lpe(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function cz(e) {
- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, F.useRef)(!1), [, s] = (0, F.useState)(!1), c = (0, F.useRef)(null), l = (0, F.useRef)(null), [, u] = (0, F.useState)(null), [d, f] = sE((0, F.useMemo)(() => lz(e.selectedKeys), [e.selectedKeys]), (0, F.useMemo)(() => lz(e.defaultSelectedKeys, new sz()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, F.useState)(i);
+function sz(e) {
+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, F.useRef)(!1), [, s] = (0, F.useState)(!1), c = (0, F.useRef)(null), l = (0, F.useRef)(null), [, u] = (0, F.useState)(null), [d, f] = aE((0, F.useMemo)(() => cz(e.selectedKeys), [e.selectedKeys]), (0, F.useMemo)(() => cz(e.defaultSelectedKeys, new oz()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, F.useState)(i);
i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");
let g = (0, F.useRef)(i);
return (0, F.useEffect)(() => {
@@ -38963,17 +38963,17 @@ function cz(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !Ipe(e, d)) && f(e);
+ (r || !Lpe(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
};
}
-function lz(e, t) {
- return e ? e === "all" ? "all" : new sz(e) : t;
+function cz(e, t) {
+ return e ? e === "all" ? "all" : new oz(e) : t;
}
// node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var uz = class e {
+var lz = 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;
}
@@ -39029,7 +39029,7 @@ var uz = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && CD(this.collection, n, e) < 0) && (e = n);
+ (!e || n && xD(this.collection, n, e) < 0) && (e = n);
}
return e?.key ?? null;
}
@@ -39037,7 +39037,7 @@ var uz = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && CD(this.collection, n, e) > 0) && (e = n);
+ (!e || n && xD(this.collection, n, e) > 0) && (e = n);
}
return e?.key ?? null;
}
@@ -39056,10 +39056,10 @@ var uz = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new sz([t], t, t);
+ if (this.state.selectedKeys === "all") n = new oz([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new sz(e, r, t);
+ n = new oz(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);
}
@@ -39067,7 +39067,7 @@ var uz = class e {
}
getKeyRange(e, t) {
let n = this.collection.getItem(e), r = this.collection.getItem(t);
- return n && r ? CD(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
+ return n && r ? xD(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
}
getKeyRangeInternal(e, t) {
if (this.layoutDelegate?.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);
@@ -39093,19 +39093,19 @@ var uz = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new sz(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new oz(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 sz([t], t, t) : new sz();
+ let n = this.canSelectItem(t) ? new oz([t], t, t) : new oz();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new sz();
+ let t = new oz();
for (let n of e) {
let e = this.getKey(n);
if (e != null && (t.add(e), this.selectionMode === "single")) break;
@@ -39117,7 +39117,7 @@ var uz = class e {
for (; r != null;) {
if (this.canSelectItemIn(r, e)) {
let i = e.getItem(r);
- i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(bD(yD(i, e))?.key ?? null);
+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(vD(_D(i, e))?.key ?? null);
}
r = e.getKeyAfter(r);
}
@@ -39128,7 +39128,7 @@ var uz = 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 sz());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new oz());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -39169,9 +39169,9 @@ var uz = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, Lpe = class {
+}, Rpe = class {
build(e, t) {
- return this.context = t, dz(() => this.iterateCollection(e));
+ return this.context = t, uz(() => this.iterateCollection(e));
}
*iterateCollection(e) {
let { children: t, items: n } = e;
@@ -39253,10 +39253,10 @@ var uz = class e {
...a,
key: l,
index: s,
- wrapper: Rpe(e.wrapper, a.wrapper)
+ wrapper: zpe(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 <${fz(t.type)}> in <${fz(r?.type ?? "unknown parent type")}>. Only <${fz(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 <${dz(t.type)}> in <${dz(r?.type ?? "unknown parent type")}>. Only <${dz(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -39278,7 +39278,7 @@ var uz = class e {
wrapper: e.wrapper,
shouldInvalidate: e.shouldInvalidate,
hasChildNodes: e.hasChildNodes || !1,
- childNodes: dz(function* () {
+ childNodes: uz(function* () {
if (!e.hasChildNodes || !e.childNodes) return;
let n = 0;
for (let r of e.childNodes()) {
@@ -39297,7 +39297,7 @@ var uz = class e {
this.cache = /* @__PURE__ */ new WeakMap();
}
};
-function dz(e) {
+function uz(e) {
let t = [], n = null;
return { *[Symbol.iterator]() {
for (let e of t) yield e;
@@ -39305,17 +39305,17 @@ function dz(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function Rpe(e, t) {
+function zpe(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
}
-function fz(e) {
+function dz(e) {
return e[0].toUpperCase() + e.slice(1);
}
// node_modules/react-stately/dist/private/collections/useCollection.mjs
-function pz(e, t, n) {
- let r = (0, F.useMemo)(() => new Lpe(), []), { children: i, items: a, collection: o } = e;
+function fz(e, t, n) {
+ let r = (0, F.useMemo)(() => new Rpe(), []), { children: i, items: a, collection: o } = e;
return (0, F.useMemo)(() => o || t(r.build({
children: i,
items: a
@@ -39329,27 +39329,27 @@ function pz(e, t, n) {
]);
}
// node_modules/react-stately/dist/private/list/useListState.mjs
-function mz(e) {
- let { filter: t, layoutDelegate: n } = e, r = cz(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = pz(e, (0, F.useCallback)((e) => t ? new oz(t(e)) : new oz(e), [t]), (0, F.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, F.useMemo)(() => new uz(a, r, { layoutDelegate: n }), [
+function pz(e) {
+ let { filter: t, layoutDelegate: n } = e, r = sz(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = fz(e, (0, F.useCallback)((e) => t ? new az(t(e)) : new az(e), [t]), (0, F.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, F.useMemo)(() => new lz(a, r, { layoutDelegate: n }), [
a,
r,
n
]);
- return hz(a, o), {
+ return mz(a, o), {
collection: a,
disabledKeys: i,
selectionManager: o
};
}
-function zpe(e, t) {
+function Bpe(e, t) {
let n = (0, F.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
- return hz(n, r), {
+ return mz(n, r), {
collection: n,
selectionManager: r,
disabledKeys: e.disabledKeys
};
}
-function hz(e, t) {
+function mz(e, t) {
let n = (0, F.useRef)(null);
(0, F.useEffect)(() => {
if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {
@@ -39376,15 +39376,15 @@ function hz(e, t) {
}, [e, t]);
}
// node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function gz(e, t) {
- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, F.useRef)(null), s = Nw((e) => {
+function hz(e, t) {
+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, F.useRef)(null), s = jw((e) => {
for (let t of e) t.isIntersecting && r && r();
});
- HS(() => {
+ VS(() => {
if (t.current) {
let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;
o.current = new IntersectionObserver(s, {
- root: zT(t?.current),
+ root: LT(t?.current),
rootMargin: n
}), o.current.observe(t.current);
}
@@ -39399,42 +39399,42 @@ function gz(e, t) {
]);
}
// node_modules/react-aria-components/dist/private/ListBox.mjs
-var _z = /*#__PURE__*/ (0, F.createContext)(null), vz = /*#__PURE__*/ (0, F.createContext)(null), Bpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = RL(e, t, _z);
- let n = (0, F.useContext)(vz);
- return n ? /*#__PURE__*/ F.createElement(yz, {
+var gz = /*#__PURE__*/ (0, F.createContext)(null), _z = /*#__PURE__*/ (0, F.createContext)(null), Vpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = LL(e, t, gz);
+ let n = (0, F.useContext)(_z);
+ return n ? /*#__PURE__*/ F.createElement(vz, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ F.createElement(fw, { content: /*#__PURE__*/ F.createElement(yw, e) }, (n) => /*#__PURE__*/ F.createElement(Vpe, {
+ }) : /*#__PURE__*/ F.createElement(uw, { content: /*#__PURE__*/ F.createElement(_w, e) }, (n) => /*#__PURE__*/ F.createElement(Hpe, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function Vpe({ props: e, listBoxRef: t, collection: n }) {
+function Hpe({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
children: null,
items: null
};
- let { layoutDelegate: r } = (0, F.useContext)(JL), i = mz({
+ let { layoutDelegate: r } = (0, F.useContext)(qL), i = pz({
...e,
layoutDelegate: r
});
- return /*#__PURE__*/ F.createElement(yz, {
+ return /*#__PURE__*/ F.createElement(vz, {
state: i,
props: e,
listBoxRef: t
});
}
-function yz({ state: e, props: t, listBoxRef: n }) {
- [t, n] = RL(t, n, UL);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = zpe(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Vw(), { disabledBehavior: p, disabledKeys: m } = l, h = OD({
+function vz({ state: e, props: t, listBoxRef: n }) {
+ [t, n] = LL(t, n, HL);
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Bpe(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = zw(), { disabledBehavior: p, disabledKeys: m } = l, h = ED({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, F.useContext)(JL), b = (0, F.useMemo)(() => t.keyboardDelegate || new AE({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, F.useContext)(qL), b = (0, F.useMemo)(() => t.keyboardDelegate || new OE({
collection: c,
collator: h,
ref: n,
@@ -39455,7 +39455,7 @@ function yz({ state: e, props: t, listBoxRef: n }) {
t.keyboardDelegate,
i,
_
- ]), { listBoxProps: x } = Pse({
+ ]), { listBoxProps: x } = Ise({
...t,
shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,
keyboardDelegate: b,
@@ -39487,7 +39487,7 @@ function yz({ state: e, props: t, listBoxRef: n }) {
dropTargetDelegate: e
}, C, n), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: O, isFocused: k, isFocusVisible: A } = FD(), j = s.collection.size === 0, M = {
+ let { focusProps: O, isFocused: k, isFocusVisible: A } = ND(), j = s.collection.size === 0, M = {
isDropTarget: T,
isEmpty: j,
isFocused: k,
@@ -39495,7 +39495,7 @@ function yz({ state: e, props: t, listBoxRef: n }) {
layout: t.layout || "stack",
orientation: a,
state: s
- }, ee = IL({
+ }, ee = FL({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
@@ -39505,8 +39505,8 @@ function yz({ state: e, props: t, listBoxRef: n }) {
role: "option",
style: { display: "contents" }
}, t.renderEmptyState(M)));
- let te = Yw(t, { global: !0 });
- return /*#__PURE__*/ F.createElement(yT, null, /*#__PURE__*/ F.createElement(HL.div, {
+ let te = qw(t, { global: !0 });
+ return /*#__PURE__*/ F.createElement(_T, null, /*#__PURE__*/ F.createElement(VL.div, {
...K(te, ee, x, O, w?.collectionProps),
ref: n,
slot: t.slot || void 0,
@@ -39517,60 +39517,60 @@ function yz({ state: e, props: t, listBoxRef: n }) {
"data-focus-visible": A || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
- }, /*#__PURE__*/ F.createElement(FL, { values: [
- [_z, t],
- [vz, s],
- [ZR, {
+ }, /*#__PURE__*/ F.createElement(PL, { values: [
+ [gz, t],
+ [_z, s],
+ [XR, {
dragAndDropHooks: r,
dragState: S,
dropState: C
}],
- [iz, { elementType: "div" }],
- [QR, { render: Wpe }],
- [GL, {
+ [rz, { elementType: "div" }],
+ [ZR, { render: Gpe }],
+ [WL, {
name: "ListBoxSection",
- render: Hpe
+ render: Upe
}]
- ] }, /*#__PURE__*/ F.createElement(nz, null, /*#__PURE__*/ F.createElement(y, {
+ ] }, /*#__PURE__*/ F.createElement(tz, null, /*#__PURE__*/ F.createElement(y, {
collection: c,
scrollRef: n,
- persistedKeys: ez(l, r, C),
- renderDropIndicator: $R(r, C)
+ persistedKeys: $R(l, r, C),
+ renderDropIndicator: QR(r, C)
}))), N, E));
}
-function Hpe(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, F.useContext)(vz), { dragAndDropHooks: a, dropState: o } = (0, F.useContext)(ZR), { CollectionBranch: s } = (0, F.useContext)(JL), [c, l] = zL(), { headingProps: u, groupProps: d } = Fse({
+function Upe(e, t, n, r = "react-aria-ListBoxSection") {
+ let i = (0, F.useContext)(_z), { dragAndDropHooks: a, dropState: o } = (0, F.useContext)(XR), { CollectionBranch: s } = (0, F.useContext)(qL), [c, l] = RL(), { headingProps: u, groupProps: d } = Lse({
heading: l,
"aria-label": e["aria-label"] ?? void 0
- }), f = IL({
+ }), f = FL({
...e,
id: void 0,
children: void 0,
defaultClassName: r,
values: void 0
- }), p = Yw(e, { global: !0 });
- return delete p.id, /*#__PURE__*/ F.createElement(HL.section, {
+ }), p = qw(e, { global: !0 });
+ return delete p.id, /*#__PURE__*/ F.createElement(VL.section, {
...K(p, f, d),
ref: t
- }, /*#__PURE__*/ F.createElement(tz.Provider, { value: {
+ }, /*#__PURE__*/ F.createElement(ez.Provider, { value: {
...u,
ref: c
} }, /*#__PURE__*/ F.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: $R(a, o)
+ renderDropIndicator: QR(a, o)
})));
}
-var Upe = /*#__PURE__*/ hw(yS, function(e, t, n) {
- let r = nw(t), i = (0, F.useContext)(vz), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(ZR), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Ise({
+var Wpe = /*#__PURE__*/ pw(vS, function(e, t, n) {
+ let r = ew(t), i = (0, F.useContext)(_z), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(XR), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Rse({
key: n.key,
"aria-label": e?.["aria-label"]
- }, i, r), { hoverProps: p, isHovered: m } = zD({
+ }, i, r), { hoverProps: p, isHovered: m } = LD({
isDisabled: !f.allowsSelection && !f.hasAction && !c,
onHoverStart: n.props.onHoverStart,
onHoverChange: n.props.onHoverChange,
onHoverEnd: n.props.onHoverEnd
- }), { keyboardProps: h } = tw(e), { focusProps: g } = ZC(e), _ = null;
+ }), { keyboardProps: h } = $C(e), { focusProps: g } = YC(e), _ = null;
o && a && (_ = a.useDraggableItem({
key: n.key,
hasAction: f.hasAction
@@ -39581,7 +39581,7 @@ var Upe = /*#__PURE__*/ hw(yS, function(e, t, n) {
key: n.key,
dropPosition: "on"
} }, s, r));
- let y = o && o.isDragging(n.key), b = IL({
+ let y = o && o.isDragging(n.key), b = FL({
...e,
id: void 0,
children: e.children,
@@ -39599,7 +39599,7 @@ var Upe = /*#__PURE__*/ hw(yS, function(e, t, n) {
(0, F.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let x = e.href ? HL.a : HL.div, S = Yw(e, { global: !0 });
+ let x = e.href ? VL.a : VL.div, S = qw(e, { global: !0 });
return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ F.createElement(x, {
...K(S, b, l, p, h, g, _?.dragProps, v?.dropProps),
ref: r,
@@ -39613,29 +39613,29 @@ var Upe = /*#__PURE__*/ hw(yS, 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__*/ F.createElement(FL, { values: [[nR, { slots: {
- [PL]: u,
+ }, /*#__PURE__*/ F.createElement(PL, { values: [[tR, { slots: {
+ [NL]: u,
label: u,
description: d
- } }], [rz, { isSelected: f.isSelected }]] }, b.children));
+ } }], [nz, { isSelected: f.isSelected }]] }, b.children));
});
-function Wpe(e, t) {
- t = nw(t);
- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(ZR), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ F.createElement(Kpe, {
+function Gpe(e, t) {
+ t = ew(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(XR), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
+ return a ? null : /*#__PURE__*/ F.createElement(qpe, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function Gpe(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = IL({
+function Kpe(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = FL({
...i,
defaultClassName: "react-aria-DropIndicator",
values: { isDropTarget: r }
});
- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(HL.div, {
+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(VL.div, {
...n,
...a,
role: "option",
@@ -39643,10 +39643,10 @@ function Gpe(e, t) {
"data-drop-target": r || void 0
}));
}
-var Kpe = /*#__PURE__*/ (0, F.forwardRef)(Gpe);
-hw(vS, function(e, t, n) {
- let r = (0, F.useContext)(vz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);
- gz((0, F.useMemo)(() => ({
+var qpe = /*#__PURE__*/ (0, F.forwardRef)(Kpe);
+pw(_S, function(e, t, n) {
+ let r = (0, F.useContext)(_z), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);
+ hz((0, F.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -39656,7 +39656,7 @@ hw(vS, function(e, t, n) {
o,
r?.collection
]), c);
- let l = IL({
+ let l = FL({
...s,
id: void 0,
children: n.rendered,
@@ -39669,7 +39669,7 @@ hw(vS, function(e, t, n) {
width: 0,
height: 0
},
- inert: az(!0)
+ inert: iz(!0)
}, /*#__PURE__*/ F.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -39678,18 +39678,18 @@ hw(vS, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(HL.div, {
- ...K(Yw(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(VL.div, {
+ ...K(qw(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
ref: t
}, l.children)));
});
// node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var qpe = /*#__PURE__*/ (0, F.createContext)({ placement: "bottom" });
+var Jpe = /*#__PURE__*/ (0, F.createContext)({ placement: "bottom" });
// node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function bz(e) {
- let [t, n] = sE(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, F.useState)(null);
+function yz(e) {
+ let [t, n] = aE(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, F.useState)(null);
return {
isOpen: t,
setOpen: n,
@@ -39707,15 +39707,15 @@ function bz(e) {
};
}
// node_modules/react-aria/dist/private/utils/animation.mjs
-function xz(e, t = !0, n) {
+function bz(e, t = !0, n) {
let [r, i] = (0, F.useState)(!0), a = r && t;
- return HS(() => {
- if (!t && e.current) return VC(jS(e.current, "opacity", "0"), jS(e.current, "clip", "rect(0 0 0 0)"), jS(e.current, "clip-path", "inset(50%)"), jS(e.current, "mask-image", "linear-gradient(#0000, #0000)"));
- }, [e, t]), HS(() => {
+ return VS(() => {
+ if (!t && e.current) return zC(AS(e.current, "opacity", "0"), AS(e.current, "clip", "rect(0 0 0 0)"), AS(e.current, "clip-path", "inset(50%)"), AS(e.current, "mask-image", "linear-gradient(#0000, #0000)"));
+ }, [e, t]), VS(() => {
if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
- }, [e, a]), Cz(e, a, n, (0, F.useCallback)(() => i(!1), [])), a;
+ }, [e, a]), Sz(e, a, n, (0, F.useCallback)(() => i(!1), [])), a;
}
-function Sz(e, t, n) {
+function xz(e, t, n) {
let [r, i] = (0, F.useState)(t ? "open" : "closed");
switch (r) {
case "open":
@@ -39725,13 +39725,13 @@ function Sz(e, t, n) {
case "exiting": t && i("open");
}
let a = r === "exiting";
- return Cz(e, a, n, (0, F.useCallback)(() => {
+ return Sz(e, a, n, (0, F.useCallback)(() => {
i((e) => e === "exiting" ? "closed" : e);
}, [])), a;
}
-function Cz(e, t, n, r) {
- let i = (0, F.useRef)(null), a = Nw(n);
- HS(() => {
+function Sz(e, t, n, r) {
+ let i = (0, F.useRef)(null), a = jw(n);
+ VS(() => {
if (t && e.current && i.current !== t) {
if (i.current = t, !("getAnimations" in e.current)) {
r();
@@ -39756,9 +39756,9 @@ function Cz(e, t, n, r) {
]);
}
// node_modules/react-aria-components/dist/private/Popover.mjs
-var wz = /*#__PURE__*/ (0, F.createContext)(null), Tz = /*#__PURE__*/ (0, F.createContext)(null), Ez = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = RL(e, t, wz);
- let n = (0, F.useContext)(Rz), r = bz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Sz(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = cw(), { direction: c } = Vw();
+var Cz = /*#__PURE__*/ (0, F.createContext)(null), wz = /*#__PURE__*/ (0, F.createContext)(null), Tz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = LL(e, t, Cz);
+ let n = (0, F.useContext)(Lz), r = yz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = xz(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = ow(), { direction: c } = zw();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -39769,7 +39769,7 @@ var wz = /*#__PURE__*/ (0, F.createContext)(null), Tz = /*#__PURE__*/ (0, F.crea
defaultChildren: null
})), /*#__PURE__*/ F.createElement(F.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ F.createElement(Jpe, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ F.createElement(Ype, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -39778,13 +39778,13 @@ var wz = /*#__PURE__*/ (0, F.createContext)(null), Tz = /*#__PURE__*/ (0, F.crea
dir: c
});
});
-function Jpe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
- let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useContext)(Tz), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, F.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = sce({
+function Ype({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
+ let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useContext)(wz), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, F.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = lce({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), g = i.popoverRef, _ = xz(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = IL({
+ }, e), g = i.popoverRef, _ = bz(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = FL({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -39794,10 +39794,10 @@ function Jpe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
isExiting: t
}
}), b = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [x, S] = (0, F.useState)(i.trigger === "PreviewTrigger");
- HS(() => {
+ VS(() => {
g.current && S(b && !g.current.querySelector("[role=dialog]"));
}, [g, b]), (0, F.useEffect)(() => {
- x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || kC() !== "pointer") && g.current && !IS(g.current) && BC(g.current);
+ x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || DC() !== "pointer") && g.current && !FS(g.current) && RC(g.current);
}, [
x,
g,
@@ -39805,12 +39805,12 @@ function Jpe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
]);
let C = (0, F.useMemo)(() => {
let e = y.children;
- for (let t of [wz, ...r ?? []]) e = /*#__PURE__*/ F.createElement(t.Provider, { value: null }, e);
+ for (let t of [Cz, ...r ?? []]) e = /*#__PURE__*/ F.createElement(t.Provider, { value: null }, e);
return e;
}, [y.children, r]), [w, T] = (0, F.useState)(null), E = (0, F.useCallback)(() => {
i.triggerRef.current && T(i.triggerRef.current.getBoundingClientRect().width + "px");
}, [i.triggerRef]);
- HS(E, [E]), LO({
+ VS(E, [E]), FO({
ref: y.style?.["--trigger-width"] ? void 0 : i.triggerRef,
onResize: E
});
@@ -39820,9 +39820,9 @@ function Jpe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
...y.style,
"--trigger-width": y.style?.["--trigger-width"] || w
};
- HS(() => Ek(() => u(!0)), []);
- let O = /*#__PURE__*/ F.createElement(HL.div, {
- ...K(Yw(i, { global: !0 }), d),
+ VS(() => wk(() => u(!0)), []);
+ let O = /*#__PURE__*/ F.createElement(VL.div, {
+ ...K(qw(i, { global: !0 }), d),
...y,
id: x ? i.id : void 0,
role: x ? "dialog" : void 0,
@@ -39837,17 +39837,17 @@ function Jpe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"data-placement": m,
"data-entering": v || void 0,
"data-exiting": t || void 0
- }, !i.isNonModal && /*#__PURE__*/ F.createElement(yk, { onDismiss: e.close }), /*#__PURE__*/ F.createElement(qpe.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ F.createElement(_k, { onDismiss: e.close }), /*#__PURE__*/ F.createElement(Jpe.Provider, { value: {
...p,
placement: m,
ref: a
- } }, C), /*#__PURE__*/ F.createElement(yk, { onDismiss: e.close }));
- return c ? /*#__PURE__*/ F.createElement(ND, {
+ } }, C), /*#__PURE__*/ F.createElement(_k, { onDismiss: e.close }));
+ return c ? /*#__PURE__*/ F.createElement(jD, {
...i,
shouldContainFocus: x && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n ?? s?.current ?? void 0
- }, O) : /*#__PURE__*/ F.createElement(ND, {
+ }, O) : /*#__PURE__*/ F.createElement(jD, {
...i,
shouldContainFocus: x && i.trigger !== "PreviewTrigger",
isExiting: t,
@@ -39862,13 +39862,13 @@ function Jpe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}), /*#__PURE__*/ F.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ F.createElement(Tz.Provider, { value: o }, O)));
+ }, /*#__PURE__*/ F.createElement(wz.Provider, { value: o }, O)));
}
// node_modules/react-aria-components/dist/private/Keyboard.mjs
-var Ype = /*#__PURE__*/ (0, F.createContext)({});
+var Xpe = /*#__PURE__*/ (0, F.createContext)({});
// node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs
-function Dz(e) {
- let t = bz(e), [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)([]), o = () => {
+function Ez(e) {
+ let t = yz(e), [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)([]), o = () => {
a([]), t.close();
}, s = (e, t) => {
a((n) => t > n.length ? n : [...n.slice(0, t), e]);
@@ -39893,7 +39893,7 @@ function Dz(e) {
};
}
// node_modules/react-stately/dist/private/tree/TreeCollection.mjs
-var Xpe = class {
+var Zpe = 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) => {
@@ -39936,8 +39936,8 @@ var Xpe = class {
}
};
// node_modules/react-stately/dist/private/tree/useTreeState.mjs
-function Oz(e) {
- let { onExpandedChange: t } = e, [n, r] = sE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = cz(e), a = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = pz(e, (0, F.useCallback)((e) => new Xpe(e, { expandedKeys: n }), [n]), null);
+function Dz(e) {
+ let { onExpandedChange: t } = e, [n, r] = aE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = sz(e), a = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = fz(e, (0, F.useCallback)((e) => new Zpe(e, { expandedKeys: n }), [n]), null);
return (0, F.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -39945,31 +39945,31 @@ function Oz(e) {
expandedKeys: n,
disabledKeys: a,
toggleKey: (e) => {
- r(Zpe(n, e));
+ r(Qpe(n, e));
},
setExpandedKeys: r,
- selectionManager: new uz(o, i)
+ selectionManager: new lz(o, i)
};
}
-function Zpe(e, t) {
+function Qpe(e, t) {
let n = new Set(e);
return n.has(t) ? n.delete(t) : n.add(t), n;
}
// node_modules/react-aria-components/dist/private/Menu.mjs
-var kz = /*#__PURE__*/ (0, F.createContext)(null), Az = /*#__PURE__*/ (0, F.createContext)(null), jz = /*#__PURE__*/ (0, F.createContext)(null), Mz = /*#__PURE__*/ (0, F.createContext)(null);
-function Qpe(e) {
- let t = Dz(e), n = (0, F.useRef)(null), { menuTriggerProps: r, menuProps: i } = mD({
+var Oz = /*#__PURE__*/ (0, F.createContext)(null), kz = /*#__PURE__*/ (0, F.createContext)(null), Az = /*#__PURE__*/ (0, F.createContext)(null), jz = /*#__PURE__*/ (0, F.createContext)(null);
+function $pe(e) {
+ let t = Ez(e), n = (0, F.useRef)(null), { menuTriggerProps: r, menuProps: i } = fD({
...e,
type: "menu"
}, t, n), a = (0, F.useRef)(null);
- return cw() ? null : /*#__PURE__*/ F.createElement(FL, { values: [
- [kz, {
+ return ow() ? null : /*#__PURE__*/ F.createElement(PL, { values: [
+ [Oz, {
...i,
ref: a
}],
- [Rz, t],
- [jz, t],
- [wz, {
+ [Lz, t],
+ [Az, t],
+ [Cz, {
trigger: "MenuTrigger",
triggerRef: n,
scrollRef: a,
@@ -39977,14 +39977,14 @@ function Qpe(e) {
"aria-labelledby": i["aria-labelledby"],
offset: e.trigger === "contextMenu" ? 0 : void 0
}]
- ] }, /*#__PURE__*/ F.createElement(yse, {
+ ] }, /*#__PURE__*/ F.createElement(xse, {
...r,
ref: n,
isPressed: t.isOpen
}, e.children));
}
-var $pe = /*#__PURE__*/ (0, F.createContext)(null);
-(class extends gS {
+var eme = /*#__PURE__*/ (0, F.createContext)(null);
+(class extends hS {
static {
this.type = "submenutrigger";
}
@@ -39997,24 +39997,24 @@ var $pe = /*#__PURE__*/ (0, F.createContext)(null);
return null;
}
});
-var eme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- return [e, t] = RL(e, t, kz), /*#__PURE__*/ F.createElement(fw, { content: /*#__PURE__*/ F.createElement(yw, e) }, (n) => /*#__PURE__*/ F.createElement(tme, {
+var tme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ return [e, t] = LL(e, t, Oz), /*#__PURE__*/ F.createElement(uw, { content: /*#__PURE__*/ F.createElement(_w, e) }, (n) => /*#__PURE__*/ F.createElement(nme, {
props: e,
collection: n,
menuRef: t
}));
});
-function tme({ props: e, collection: t, menuRef: n }) {
- [e, n] = RL(e, n, UL);
- let { filter: r, ...i } = e, a = (0, F.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = Oz({
+function nme({ props: e, collection: t, menuRef: n }) {
+ [e, n] = LL(e, n, HL);
+ let { filter: r, ...i } = e, a = (0, F.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = Dz({
...e,
collection: a,
children: void 0
- }), s = (0, F.useContext)(jz), { isVirtualized: c, CollectionRoot: l } = (0, F.useContext)(JL), { menuProps: u } = Lse({
+ }), s = (0, F.useContext)(Az), { isVirtualized: c, CollectionRoot: l } = (0, F.useContext)(qL), { menuProps: u } = zse({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
- }, o, n), d = IL({
+ }, o, n), d = FL({
...e,
children: void 0,
defaultClassName: "react-aria-Menu",
@@ -40024,36 +40024,36 @@ function tme({ props: e, collection: t, menuRef: n }) {
role: "menuitem",
style: { display: "contents" }
}, e.renderEmptyState()));
- let p = Yw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(yT, null, /*#__PURE__*/ F.createElement(HL.div, {
+ let p = qw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(_T, null, /*#__PURE__*/ F.createElement(VL.div, {
...K(p, d, u),
ref: n,
slot: e.slot || void 0,
"data-empty": o.collection.size === 0 || void 0,
onScroll: e.onScroll
- }, /*#__PURE__*/ F.createElement(FL, { values: [
- [Az, o],
- [iz, { elementType: "div" }],
- [GL, {
+ }, /*#__PURE__*/ F.createElement(PL, { values: [
+ [kz, o],
+ [rz, { elementType: "div" }],
+ [WL, {
name: "MenuSection",
- render: Nz
+ render: Mz
}],
- [$pe, {
+ [eme, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
- [Fz, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
+ [Pz, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
+ [HL, null],
[UL, null],
- [WL, null],
- [Mz, o.selectionManager],
- [jz, s ?? Dz({})]
- ] }, /*#__PURE__*/ F.createElement(nz, null, /*#__PURE__*/ F.createElement(l, {
+ [jz, o.selectionManager],
+ [Az, s ?? Ez({})]
+ ] }, /*#__PURE__*/ F.createElement(tz, null, /*#__PURE__*/ F.createElement(l, {
collection: o.collection,
- persistedKeys: YL(o.selectionManager.focusedKey),
+ persistedKeys: JL(o.selectionManager.focusedKey),
scrollRef: n
}))), f));
}
-var nme = class extends uz {
+var rme = class extends lz {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -40073,11 +40073,11 @@ var nme = class extends uz {
return this.parent.childFocusStrategy;
}
};
-function Nz(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, F.useContext)(Az), { CollectionBranch: a } = (0, F.useContext)(JL), [o, s] = zL(), { headingProps: c, groupProps: l } = zse({
+function Mz(e, t, n, r = "react-aria-MenuSection") {
+ let i = (0, F.useContext)(kz), { CollectionBranch: a } = (0, F.useContext)(qL), [o, s] = RL(), { headingProps: c, groupProps: l } = Vse({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
- }), u = IL({
+ }), u = FL({
...e,
id: void 0,
children: void 0,
@@ -40085,31 +40085,31 @@ function Nz(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, F.useContext)(Mz), f = cz(e), p = e.selectionMode == null ? d : new nme(d, f), m = LL(Fz)?.shouldCloseOnSelect, h = Yw(e, { global: !0 });
- return delete h.id, /*#__PURE__*/ F.createElement(HL.section, {
+ }), d = (0, F.useContext)(jz), f = sz(e), p = e.selectionMode == null ? d : new rme(d, f), m = IL(Pz)?.shouldCloseOnSelect, h = qw(e, { global: !0 });
+ return delete h.id, /*#__PURE__*/ F.createElement(VL.section, {
...K(h, u, l),
ref: t
- }, /*#__PURE__*/ F.createElement(FL, { values: [
- [tz, {
+ }, /*#__PURE__*/ F.createElement(PL, { values: [
+ [ez, {
...c,
ref: o
}],
- [Mz, p],
- [Fz, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
+ [jz, p],
+ [Pz, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
] }, /*#__PURE__*/ F.createElement(a, {
collection: i.collection,
parent: n
})));
}
-var Pz = /*#__PURE__*/ gw(eae, Nz), Fz = /*#__PURE__*/ (0, F.createContext)(null), Iz = /*#__PURE__*/ hw(yS, function(e, t, n) {
- [e, t] = RL(e, t, Fz);
- let r = LL(Fz)?.id, i = (0, F.useContext)(Az), a = nw(t), o = (0, F.useContext)(Mz), { isVirtualized: s } = (0, F.useContext)(JL), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Rse({
+var Nz = /*#__PURE__*/ mw(tae, Mz), Pz = /*#__PURE__*/ (0, F.createContext)(null), Fz = /*#__PURE__*/ pw(vS, function(e, t, n) {
+ [e, t] = LL(e, t, Pz);
+ let r = IL(Pz)?.id, i = (0, F.useContext)(kz), a = ew(t), o = (0, F.useContext)(jz), { isVirtualized: s } = (0, F.useContext)(qL), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Bse({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = zD({ isDisabled: f.isDisabled }), h = IL({
+ }, i, a), { hoverProps: p, isHovered: m } = LD({ isDisabled: f.isDisabled }), h = FL({
...e,
id: void 0,
children: n.rendered,
@@ -40123,7 +40123,7 @@ var Pz = /*#__PURE__*/ gw(eae, Nz), Fz = /*#__PURE__*/ (0, F.createContext)(null
hasSubmenu: !!e["aria-haspopup"],
isOpen: e["aria-expanded"] === "true"
}
- }), g = e.href ? HL.a : HL.div, _ = Yw(e, { global: !0 });
+ }), g = e.href ? VL.a : VL.div, _ = qw(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(g, {
...K(_, h, c, p),
ref: a,
@@ -40136,19 +40136,19 @@ var Pz = /*#__PURE__*/ gw(eae, Nz), Fz = /*#__PURE__*/ (0, F.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__*/ F.createElement(FL, { values: [
- [nR, { slots: {
- [PL]: l,
+ }, /*#__PURE__*/ F.createElement(PL, { values: [
+ [tR, { slots: {
+ [NL]: l,
label: l,
description: u
} }],
- [Ype, d],
- [rz, { isSelected: f.isSelected }]
+ [Xpe, d],
+ [nz, { isSelected: f.isSelected }]
] }, h.children));
});
-hw(vS, function(e, t, n) {
- let r = (0, F.useContext)(Az), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);
- gz((0, F.useMemo)(() => ({
+pw(_S, function(e, t, n) {
+ let r = (0, F.useContext)(kz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);
+ hz((0, F.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -40158,7 +40158,7 @@ hw(vS, function(e, t, n) {
o,
r?.collection
]), c);
- let l = IL({
+ let l = FL({
...s,
id: void 0,
children: n.rendered,
@@ -40171,7 +40171,7 @@ hw(vS, function(e, t, n) {
width: 0,
height: 0
},
- inert: az(!0)
+ inert: iz(!0)
}, /*#__PURE__*/ F.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -40180,89 +40180,89 @@ hw(vS, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(HL.div, {
- ...K(Yw(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(VL.div, {
+ ...K(qw(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "menuitem",
ref: t
}, l.children)));
});
// node_modules/react-aria-components/dist/private/Dialog.mjs
-var Lz = /*#__PURE__*/ (0, F.createContext)(null), Rz = /*#__PURE__*/ (0, F.createContext)(null), zz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+var Iz = /*#__PURE__*/ (0, F.createContext)(null), Lz = /*#__PURE__*/ (0, F.createContext)(null), Rz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = RL(e, t, Lz);
- let { dialogProps: r, titleProps: i, contentProps: a } = xse({
+ [e, t] = LL(e, t, Iz);
+ let { dialogProps: r, titleProps: i, contentProps: a } = Cse({
...e,
"aria-labelledby": n
- }, t), o = (0, F.useContext)(Rz);
+ }, t), o = (0, F.useContext)(Lz);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
- let s = IL({
+ let s = FL({
defaultClassName: "react-aria-Dialog",
className: e.className,
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
- }), c = Yw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(HL.section, {
+ }), c = qw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(VL.section, {
...K(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
- }, /*#__PURE__*/ F.createElement(FL, { values: [
- [eR, { slots: {
- [PL]: {},
+ }, /*#__PURE__*/ F.createElement(PL, { values: [
+ [$L, { slots: {
+ [NL]: {},
title: {
...i,
level: 2
}
} }],
- [nR, { slots: {
- [PL]: {},
+ [tR, { slots: {
+ [NL]: {},
description: a
} }],
- [QL, { slots: {
- [PL]: {},
+ [ZL, { slots: {
+ [NL]: {},
close: { onPress: () => o?.close() }
} }]
] }, s.children));
-}), Bz = typeof document < "u" && window.visualViewport;
-function rme() {
- let e = fC(), t = (0, F.useRef)(null), [n, r] = (0, F.useState)(() => e ? {
+}), zz = typeof document < "u" && window.visualViewport;
+function ime() {
+ let e = uC(), t = (0, F.useRef)(null), [n, r] = (0, F.useState)(() => e ? {
width: 0,
height: 0
- } : Vz());
+ } : Bz());
return (0, F.useEffect)(() => {
let e = (e) => {
r((t) => e.width === t.width && e.height === t.height ? t : e);
}, n = () => {
- Bz && Bz.scale > 1 || e(Vz());
+ zz && zz.scale > 1 || e(Bz());
}, i = (n) => {
- Bz && Bz.scale > 1 || Aw(G(n)) && (t.current = Ek((t) => {
+ zz && zz.scale > 1 || Ow(G(n)) && (t.current = wk((t) => {
t || e({
width: document.documentElement.clientWidth,
height: document.documentElement.clientHeight
});
}));
};
- return e(Vz()), QS() && $S() && window.addEventListener("blur", i, !0), Bz ? Bz.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
- t.current?.(), QS() && $S() && window.removeEventListener("blur", i, !0), Bz ? Bz.removeEventListener("resize", n) : window.removeEventListener("resize", n);
+ return e(Bz()), ZS() && QS() && window.addEventListener("blur", i, !0), zz ? zz.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
+ t.current?.(), ZS() && QS() && window.removeEventListener("blur", i, !0), zz ? zz.removeEventListener("resize", n) : window.removeEventListener("resize", n);
};
}, []), n;
}
-function Vz() {
+function Bz() {
return {
- width: Bz ? Math.min(Bz.width * Bz.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
- height: Bz ? Bz.height * Bz.scale : document.documentElement.clientHeight
+ width: zz ? Math.min(zz.width * zz.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
+ height: zz ? zz.height * zz.scale : document.documentElement.clientHeight
};
}
// node_modules/react-aria-components/dist/private/Modal.mjs
-var ime = /*#__PURE__*/ (0, F.createContext)(null), Hz = /*#__PURE__*/ (0, F.createContext)(null), ame = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- if ((0, F.useContext)(Hz)) return /*#__PURE__*/ F.createElement(Wz, {
+var ame = /*#__PURE__*/ (0, F.createContext)(null), Vz = /*#__PURE__*/ (0, F.createContext)(null), ome = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ if ((0, F.useContext)(Vz)) return /*#__PURE__*/ F.createElement(Uz, {
...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__*/ F.createElement(Uz, {
+ return /*#__PURE__*/ F.createElement(Hz, {
isDismissable: n,
isKeyboardDismissDisabled: r,
isOpen: i,
@@ -40272,15 +40272,15 @@ var ime = /*#__PURE__*/ (0, F.createContext)(null), Hz = /*#__PURE__*/ (0, F.cre
isExiting: l,
UNSTABLE_portalContainer: u,
shouldCloseOnInteractOutside: d
- }, /*#__PURE__*/ F.createElement(Wz, {
+ }, /*#__PURE__*/ F.createElement(Uz, {
...f,
modalRef: t
}, s));
});
-function ome(e, t) {
- [e, t] = RL(e, t, ime);
- let n = (0, F.useContext)(Rz), r = bz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = nw(t), o = (0, F.useRef)(null), s = Sz(a, i.isOpen, e.onExit), c = (0, F.useRef)(null), l = Sz(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = fC();
- return !i.isOpen && !u || d ? null : /*#__PURE__*/ F.createElement(sme, {
+function sme(e, t) {
+ [e, t] = LL(e, t, ame);
+ let n = (0, F.useContext)(Lz), r = yz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = ew(t), o = (0, F.useRef)(null), s = xz(a, i.isOpen, e.onExit), c = (0, F.useRef)(null), l = xz(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = uC();
+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ F.createElement(cme, {
...e,
state: i,
isExiting: u,
@@ -40289,12 +40289,12 @@ function ome(e, t) {
onExitRef: c
});
}
-var Uz = /*#__PURE__*/ (0, F.forwardRef)(ome);
-function sme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
- let r = n.modalRef, { state: i } = n, [a, o] = (0, F.useState)(!1), s = xz(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = Xse({
+var Hz = /*#__PURE__*/ (0, F.forwardRef)(sme);
+function cme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
+ let r = n.modalRef, { state: i } = n, [a, o] = (0, F.useState)(!1), s = bz(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = Qse({
...n,
isEntering: c
- }, i, r), d = (0, F.useContext)(Lz), f = t ? cme(d, { isEntering: c }) : d, p = IL({
+ }, i, r), d = (0, F.useContext)(Iz), f = t ? lme(d, { isEntering: c }) : d, p = FL({
...n,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -40302,9 +40302,9 @@ function sme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isExiting: n.isExiting,
state: i
}
- }), m = rme(), h, g;
+ }), m = ime(), h, g;
if (typeof document < "u") {
- let e = RT(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
+ let e = IT(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;
}
let _ = {
@@ -40314,18 +40314,18 @@ function sme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
"--page-width": h === void 0 ? void 0 : h + "px",
"--page-height": g === void 0 ? void 0 : g + "px"
};
- return HS(() => Ek(() => o(!0)), []), /*#__PURE__*/ F.createElement(ND, {
+ return VS(() => wk(() => o(!0)), []), /*#__PURE__*/ F.createElement(jD, {
isExiting: n.isExiting,
portalContainer: e
- }, /*#__PURE__*/ F.createElement(HL.div, {
- ...K(Yw(n, { global: !0 }), u),
+ }, /*#__PURE__*/ F.createElement(VL.div, {
+ ...K(qw(n, { global: !0 }), u),
...p,
style: _,
ref: n.overlayRef,
"data-entering": s || void 0,
"data-exiting": n.isExiting || void 0
- }, /*#__PURE__*/ F.createElement(FL, { values: [
- [Hz, {
+ }, /*#__PURE__*/ F.createElement(PL, { values: [
+ [Vz, {
modalProps: l,
modalRef: r,
isExiting: n.isExiting,
@@ -40333,11 +40333,11 @@ function sme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isOpen: a,
isDismissable: n.isDismissable
}],
- [Rz, i],
- [Lz, f]
+ [Lz, i],
+ [Iz, f]
] }, p.children)));
}
-function cme(e, t) {
+function lme(e, t) {
if (e && "slots" in e && e.slots) {
let n = {};
for (let r in e.slots) n[r] = {
@@ -40354,8 +40354,8 @@ function cme(e, t) {
...t
};
}
-function Wz(e) {
- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, F.useContext)(Hz), s = (0, F.useContext)(Rz), c = nw((0, F.useMemo)(() => qC(e.modalRef, n), [e.modalRef, n])), l = xz(c, o, e.onEnter), u = IL({
+function Uz(e) {
+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, F.useContext)(Vz), s = (0, F.useContext)(Lz), c = ew((0, F.useMemo)(() => GC(e.modalRef, n), [e.modalRef, n])), l = bz(c, o, e.onEnter), u = FL({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -40364,20 +40364,20 @@ function Wz(e) {
state: s
}
});
- return HS(() => {
+ return VS(() => {
i && (i.current = e.onExit);
- }), /*#__PURE__*/ F.createElement(HL.div, {
- ...K(Yw(e, { global: !0 }), t),
+ }), /*#__PURE__*/ F.createElement(VL.div, {
+ ...K(qw(e, { global: !0 }), t),
...u,
ref: c,
"data-entering": l || void 0,
"data-exiting": r || void 0
- }, a && /*#__PURE__*/ F.createElement(yk, { onDismiss: s.close }), u.children);
+ }, a && /*#__PURE__*/ F.createElement(_k, { onDismiss: s.close }), u.children);
}
// node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var lme = Math.round(Math.random() * 1e10), ume = 0;
-function dme(e) {
- let t = (0, F.useMemo)(() => e.name || `radio-group-${lme}-${++ume}`, [e.name]), [n, r] = sE(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, F.useState)(n), [a, o] = (0, F.useState)(null), s = QT({
+var ume = Math.round(Math.random() * 1e10), dme = 0;
+function fme(e) {
+ let t = (0, F.useMemo)(() => e.name || `radio-group-${ume}-${++dme}`, [e.name]), [n, r] = aE(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, F.useState)(n), [a, o] = (0, F.useState)(null), s = XT({
...e,
value: n
}), c = (t) => {
@@ -40399,16 +40399,16 @@ function dme(e) {
};
}
// node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var fme = /*#__PURE__*/ (0, F.createContext)(null), pme = /*#__PURE__*/ (0, F.createContext)(null), Gz = /*#__PURE__*/ (0, F.createContext)(null), Kz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = RL(e, t, fme);
- let { validationBehavior: n } = LL(iR) || {}, r = e.validationBehavior ?? n ?? "native", i = dme({
+var pme = /*#__PURE__*/ (0, F.createContext)(null), mme = /*#__PURE__*/ (0, F.createContext)(null), Wz = /*#__PURE__*/ (0, F.createContext)(null), Gz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = LL(e, t, pme);
+ let { validationBehavior: n } = IL(rR) || {}, r = e.validationBehavior ?? n ?? "native", i = fme({
...e,
validationBehavior: r
- }), [a, o] = zL(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = lce({
+ }), [a, o] = RL(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = dce({
...e,
label: o,
validationBehavior: r
- }, i), f = IL({
+ }, i), f = FL({
...e,
values: {
orientation: e.orientation || "vertical",
@@ -40419,8 +40419,8 @@ var fme = /*#__PURE__*/ (0, F.createContext)(null), pme = /*#__PURE__*/ (0, F.cr
state: i
},
defaultClassName: "react-aria-RadioGroup"
- }), p = Yw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(HL.div, {
+ }), p = qw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(VL.div, {
...K(p, f, s),
ref: t,
slot: e.slot || void 0,
@@ -40429,39 +40429,39 @@ var fme = /*#__PURE__*/ (0, F.createContext)(null), pme = /*#__PURE__*/ (0, F.cr
"data-disabled": i.isDisabled || void 0,
"data-readonly": i.isReadOnly || void 0,
"data-required": i.isRequired || void 0
- }, /*#__PURE__*/ F.createElement(FL, { values: [
- [Gz, i],
- [XL, {
+ }, /*#__PURE__*/ F.createElement(PL, { values: [
+ [Wz, i],
+ [YL, {
...c,
ref: a,
elementType: "span"
}],
- [nR, { slots: {
+ [tR, { slots: {
description: l,
errorMessage: u
} }],
- [rR, d]
- ] }, /*#__PURE__*/ F.createElement(nz, null, f.children)));
-}), qz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [nR, d]
+ ] }, /*#__PURE__*/ F.createElement(tz, null, f.children)));
+}), Kz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = RL(r, t, pme);
- let i = F.useContext(Gz), a = nw((0, F.useMemo)(() => qC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = cce({
- ...BL(e),
+ [e, t] = LL(r, t, mme);
+ let i = F.useContext(Wz), a = ew((0, F.useMemo)(() => GC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = uce({
+ ...zL(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ F.createElement(Jz.Provider, { value: {
+ return /*#__PURE__*/ F.createElement(qz.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ F.createElement(mme, {
+ } }, /*#__PURE__*/ F.createElement(hme, {
...e,
ref: t
}));
-}), Jz = /*#__PURE__*/ (0, F.createContext)(null), mme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, F.useContext)(Jz), l = F.useContext(Gz), { isFocused: u, isFocusVisible: d, focusProps: f } = FD(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = zD({
+}), qz = /*#__PURE__*/ (0, F.createContext)(null), hme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, F.useContext)(qz), l = F.useContext(Wz), { isFocused: u, isFocusVisible: d, focusProps: f } = ND(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = LD({
...e,
isDisabled: p
- }), g = IL({
+ }), g = FL({
...e,
defaultClassName: s,
values: {
@@ -40475,8 +40475,8 @@ var fme = /*#__PURE__*/ (0, F.createContext)(null), pme = /*#__PURE__*/ (0, F.cr
isInvalid: l.isInvalid,
isRequired: l.isRequired
}
- }), _ = Yw(e, { global: !0 });
- return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(HL.label, {
+ }), _ = qw(e, { global: !0 });
+ return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(VL.label, {
...K(_, n, m, g),
ref: t,
"data-selected": i || void 0,
@@ -40488,18 +40488,18 @@ var fme = /*#__PURE__*/ (0, F.createContext)(null), pme = /*#__PURE__*/ (0, F.cr
"data-readonly": l.isReadOnly || void 0,
"data-invalid": l.isInvalid || void 0,
"data-required": l.isRequired || void 0
- }, /*#__PURE__*/ F.createElement(_E, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {
+ }, /*#__PURE__*/ F.createElement(hE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {
...K(r, f),
ref: c
})), g.children);
});
// node_modules/react-stately/dist/private/select/useSelectState.mjs
-function hme(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = bz(e), [i, a] = (0, F.useState)(null), o = (0, F.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+function gme(e) {
+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = yz(e), [i, a] = (0, F.useState)(null), o = (0, F.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
t
- ]), [s, c] = sE((0, F.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
+ ]), [s, c] = aE((0, F.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
e.value,
e.selectedKey,
t
@@ -40511,12 +40511,12 @@ function hme(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = mz({
+ }, d = pz({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, F.useMemo)(() => gme(l), [l]),
+ selectedKeys: (0, F.useMemo)(() => _me(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -40526,7 +40526,7 @@ function hme(e) {
n && r.close(), m.commitValidation();
}
}
- }), f = d.selectionManager.firstSelectedKey, p = (0, F.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = QT({
+ }), f = d.selectionManager.firstSelectedKey, p = (0, F.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = XT({
...e,
value: Array.isArray(l) && l.length === 0 ? null : l
}), [h, g] = (0, F.useState)(!1), [_] = (0, F.useState)(l);
@@ -40553,15 +40553,15 @@ function hme(e) {
setFocused: g
};
}
-function gme(e) {
+function _me(e) {
if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];
}
// node_modules/react-aria-components/dist/private/Select.mjs
-function _me(e) {
+function vme(e) {
return e && e.__esModule ? e.default : e;
}
-var Yz = /*#__PURE__*/ (0, F.createContext)(null), Xz = /*#__PURE__*/ (0, F.createContext)(null), vme = /*#__PURE__*/ sw(function(e, t) {
- [e, t] = RL(e, t, Yz);
+var Jz = /*#__PURE__*/ (0, F.createContext)(null), Yz = /*#__PURE__*/ (0, F.createContext)(null), yme = /*#__PURE__*/ aw(function(e, t) {
+ [e, t] = LL(e, t, Jz);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, F.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
isDisabled: r,
@@ -40576,24 +40576,24 @@ var Yz = /*#__PURE__*/ (0, F.createContext)(null), Xz = /*#__PURE__*/ (0, F.crea
i,
a
]);
- return /*#__PURE__*/ F.createElement(fw, { content: o }, (n) => /*#__PURE__*/ F.createElement(bme, {
+ return /*#__PURE__*/ F.createElement(uw, { content: o }, (n) => /*#__PURE__*/ F.createElement(xme, {
props: e,
collection: n,
selectRef: t
}));
-}), yme = [
- XL,
- QL,
- nR
+}), bme = [
+ YL,
+ ZL,
+ tR
];
-function bme({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = LL(iR) || {}, i = e.validationBehavior ?? r ?? "native", a = hme({
+function xme({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = IL(rR) || {}, i = e.validationBehavior ?? r ?? "native", a = gme({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = FD({ within: !0 }), c = (0, F.useRef)(null), [l, u] = zL(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = uce({
- ...BL(e),
+ }), { isFocusVisible: o, focusProps: s } = ND({ within: !0 }), c = (0, F.useRef)(null), [l, u] = RL(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = fce({
+ ...zL(e),
label: u,
validationBehavior: i
}, a, c), y = (0, F.useMemo)(() => ({
@@ -40610,48 +40610,48 @@ function bme({ props: e, selectRef: t, collection: n }) {
e.isDisabled,
v.isInvalid,
e.isRequired
- ]), b = IL({
+ ]), b = FL({
...e,
values: y,
defaultClassName: "react-aria-Select"
- }), x = Yw(e, { global: !0 });
+ }), x = qw(e, { global: !0 });
delete x.id;
let S = (0, F.useRef)(null);
- return /*#__PURE__*/ F.createElement(FL, { values: [
- [Yz, e],
- [Xz, a],
- [Zz, p],
- [XL, {
+ return /*#__PURE__*/ F.createElement(PL, { values: [
+ [Jz, e],
+ [Yz, a],
+ [Xz, p],
+ [YL, {
...d,
ref: l,
elementType: "span"
}],
- [QL, {
+ [ZL, {
...f,
ref: c,
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [Rz, a],
- [wz, {
+ [Lz, a],
+ [Cz, {
trigger: "Select",
triggerRef: c,
scrollRef: S,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: yme
+ clearContexts: bme
}],
- [_z, {
+ [gz, {
...m,
ref: S
}],
- [vz, a],
- [nR, { slots: {
+ [_z, a],
+ [tR, { slots: {
description: h,
errorMessage: g
} }],
- [rR, v]
- ] }, /*#__PURE__*/ F.createElement(HL.div, {
+ [nR, v]
+ ] }, /*#__PURE__*/ F.createElement(VL.div, {
...K(x, b, s),
ref: t,
slot: e.slot || void 0,
@@ -40661,14 +40661,14 @@ function bme({ props: e, selectRef: t, collection: n }) {
"data-disabled": e.isDisabled || void 0,
"data-invalid": v.isInvalid || void 0,
"data-required": e.isRequired || void 0
- }, b.children, /*#__PURE__*/ F.createElement(fce, {
+ }, b.children, /*#__PURE__*/ F.createElement(mce, {
..._,
autoComplete: e.autoComplete
})));
}
-for (var Zz = /*#__PURE__*/ (0, F.createContext)(null), xme = /*#__PURE__*/ sw(function(e, t) {
- [e, t] = RL(e, t, Zz);
- let n = (0, F.useContext)(Xz), { placeholder: r } = LL(Yz), i = n.selectedItems.map((e) => {
+for (var Xz = /*#__PURE__*/ (0, F.createContext)(null), Sme = /*#__PURE__*/ aw(function(e, t) {
+ [e, t] = LL(e, t, Xz);
+ let n = (0, F.useContext)(Yz), { placeholder: r } = IL(Jz), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -40680,7 +40680,7 @@ for (var Zz = /*#__PURE__*/ (0, F.createContext)(null), xme = /*#__PURE__*/ sw(f
selectionMode: "single",
selectionBehavior: "toggle"
})), t;
- }), a = Sse(), o = (0, F.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, F.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
+ }), a = wse(), o = (0, F.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, F.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
s,
a,
o
@@ -40695,7 +40695,7 @@ for (var Zz = /*#__PURE__*/ (0, F.createContext)(null), xme = /*#__PURE__*/ sw(f
a,
o,
i
- ]), u = qw(_me(XR), "react-aria-components"), d = IL({
+ ]), u = Gw(vme(YR), "react-aria-components"), d = FL({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -40706,33 +40706,33 @@ for (var Zz = /*#__PURE__*/ (0, F.createContext)(null), xme = /*#__PURE__*/ sw(f
isPlaceholder: n.selectedItems.length === 0,
state: n
}
- }), f = Yw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(HL.span, {
+ }), f = qw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(VL.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
- }, /*#__PURE__*/ F.createElement(nR.Provider, { value: void 0 }, d.children));
-}), Sme = /*#__PURE__*/ (0, F.createContext)(null), Qz = /*#__PURE__*/ (0, F.createContext)(null), Cme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ }, /*#__PURE__*/ F.createElement(tR.Provider, { value: void 0 }, d.children));
+}), Cme = /*#__PURE__*/ (0, F.createContext)(null), Zz = /*#__PURE__*/ (0, F.createContext)(null), wme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = RL(r, t, Sme);
- let i = nw((0, F.useMemo)(() => qC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = cE(e), o = mce({
- ...BL(e),
+ [e, t] = LL(r, t, Cme);
+ let i = ew((0, F.useMemo)(() => GC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = oE(e), o = gce({
+ ...zL(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ F.createElement(FL, { values: [[Qz, a], [$z, {
+ return /*#__PURE__*/ F.createElement(PL, { values: [[Zz, a], [Qz, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ F.createElement(wme, {
+ }]] }, /*#__PURE__*/ F.createElement(Tme, {
...e,
ref: t
}));
-}), $z = /*#__PURE__*/ (0, F.createContext)(null), wme = /*#__PURE__*/ (0, F.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, F.useContext)($z), { isFocused: f, isFocusVisible: p, focusProps: m } = FD(), h = a || o, g = (0, F.useContext)(Qz), { hoverProps: _, isHovered: v } = zD({
+}), Qz = /*#__PURE__*/ (0, F.createContext)(null), Tme = /*#__PURE__*/ (0, F.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, F.useContext)(Qz), { isFocused: f, isFocusVisible: p, focusProps: m } = ND(), h = a || o, g = (0, F.useContext)(Zz), { hoverProps: _, isHovered: v } = LD({
...e,
isDisabled: h
- }), y = IL({
+ }), y = FL({
...e,
defaultClassName: u,
values: {
@@ -40747,8 +40747,8 @@ for (var Zz = /*#__PURE__*/ (0, F.createContext)(null), xme = /*#__PURE__*/ sw(f
isRequired: d || !1,
state: g
}
- }), b = Yw(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(HL.label, {
+ }), b = qw(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(VL.label, {
...K(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -40761,11 +40761,11 @@ for (var Zz = /*#__PURE__*/ (0, F.createContext)(null), xme = /*#__PURE__*/ sw(f
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": d || void 0
- }, /*#__PURE__*/ F.createElement(_E, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {
+ }, /*#__PURE__*/ F.createElement(hE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {
...K(r, m),
ref: l
})), y.children);
-}), eB = 10, tB = 5, nB = class {
+}), $z = 10, eB = 5, tB = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -40775,7 +40775,7 @@ for (var Zz = /*#__PURE__*/ (0, F.createContext)(null), xme = /*#__PURE__*/ sw(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) > tB && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > eB && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ if (Math.abs(a) > eB && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > $z && (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);
@@ -40854,11 +40854,11 @@ for (var Zz = /*#__PURE__*/ (0, F.createContext)(null), xme = /*#__PURE__*/ sw(f
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > tB && i) {
+ if (Math.abs(r - c.lastSwitchY) > eB && 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 > eB && a) {
+ if (l > $z && 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;
}
@@ -40873,7 +40873,7 @@ for (var Zz = /*#__PURE__*/ (0, F.createContext)(null), xme = /*#__PURE__*/ sw(f
boundaryContext: null
};
}
-}, Tme = class {
+}, Eme = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -40943,8 +40943,8 @@ for (var Zz = /*#__PURE__*/ (0, F.createContext)(null), xme = /*#__PURE__*/ sw(f
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, rB = "row-header-column-" + Math.random().toString(36).slice(2), iB = "row-header-column-" + Math.random().toString(36).slice(2); rB === iB;) iB = "row-header-column-" + Math.random().toString(36).slice(2);
-function aB(e, t) {
+}, nB = "row-header-column-" + Math.random().toString(36).slice(2), rB = "row-header-column-" + Math.random().toString(36).slice(2); nB === rB;) rB = "row-header-column-" + Math.random().toString(36).slice(2);
+function iB(e, t) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -41028,13 +41028,13 @@ function aB(e, t) {
textValue: ""
}));
}
-var Eme = class extends Tme {
+var Dme = class extends Eme {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: rB,
+ key: nB,
value: null,
textValue: "",
level: 0,
@@ -41049,7 +41049,7 @@ var Eme = class extends Tme {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: iB,
+ key: rB,
value: null,
textValue: "",
level: 0,
@@ -41076,7 +41076,7 @@ var Eme = class extends Tme {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = aB(s, a);
+ let l = iB(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -41102,10 +41102,10 @@ var Eme = class extends Tme {
return this.keyMap.get(e)?.nextKey ?? null;
}
getFirstKey() {
- return bD(this.body.childNodes)?.key ?? null;
+ return vD(this.body.childNodes)?.key ?? null;
}
getLastKey() {
- return SD(this.body.childNodes)?.key ?? null;
+ return bD(this.body.childNodes)?.key ?? null;
}
getItem(e) {
return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;
@@ -41136,15 +41136,15 @@ var Eme = class extends Tme {
}
};
// node_modules/react-stately/dist/private/table/TableUtils.mjs
-function Dme(e) {
+function Ome(e) {
return e != null && (!isNaN(e) || String(e).match(/^(\d+)(?=%$)/) !== null);
}
-function Ome(e) {
+function kme(e) {
if (!e || typeof e == "number") return 1;
let t = e.match(/^(.+)(?=fr$)/);
return t ? parseFloat(t[0]) : 1;
}
-function oB(e, t) {
+function aB(e, t) {
if (typeof e == "string") {
let n = e.match(/^(\d+)(?=%$)/);
if (!n) throw Error("Only percentages or numbers are supported for static column widths");
@@ -41152,19 +41152,19 @@ function oB(e, t) {
}
return e;
}
-function sB(e, t) {
- return e == null ? 2 ** 53 - 1 : oB(e, t);
+function oB(e, t) {
+ return e == null ? 2 ** 53 - 1 : aB(e, t);
}
-function cB(e, t) {
- return e == null ? 0 : oB(e, t);
+function sB(e, t) {
+ return e == null ? 0 : aB(e, t);
}
-function kme(e, t, n, r, i) {
+function Ame(e, t, n, r, i) {
let a = e, o = Math.floor(e), s = e - o > 0;
e = o;
let c = !1, l = t.map((t, a) => {
let o = n.get(t.key) == null ? t.width ?? t.defaultWidth ?? r?.(a) ?? "1fr" : n.get(t.key) ?? "1fr", s = !1, l = 0, u = 0, d = 0;
- Dme(o) ? (l = oB(o, e), s = !0) : (u = Ome(o), u <= 0 && (s = !0));
- let f = cB(t.minWidth ?? i?.(a) ?? 0, e), p = sB(t.maxWidth, e), m = Math.max(f, Math.min(l, p));
+ Ome(o) ? (l = aB(o, e), s = !0) : (u = kme(o), u <= 0 && (s = !0));
+ let f = sB(t.minWidth ?? i?.(a) ?? 0, e), p = oB(t.maxWidth, e), m = Math.max(f, Math.min(l, p));
return s ? d = m : l > m && (s = !0, d = m), s || (c = !0), {
frozen: s,
baseSize: l,
@@ -41198,14 +41198,14 @@ function kme(e, t, n, r, i) {
i === 0 || Math.sign(i) === Math.sign(e.violation) ? e.frozen = !0 : e.frozen || (c = !0);
});
}
- let u = Ame(l);
+ let u = jme(l);
if (s && u.length > 0) {
let e = a.toString().split(".")[1], t = u[u.length - 1].toString();
u[u.length - 1] = Number(t + "." + e);
}
return u;
}
-function Ame(e) {
+function jme(e) {
let t = 0, n = 0, r = [];
return e.forEach(function(e) {
let i = e.targetMainSize, a = Math.round(i + t) - n;
@@ -41213,7 +41213,7 @@ function Ame(e) {
}), r;
}
// node_modules/react-stately/dist/private/table/TableColumnLayout.mjs
-var jme = class {
+var Mme = class {
constructor(e) {
this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), this.getDefaultWidth = e?.getDefaultWidth ?? (() => "1fr"), this.getDefaultMinWidth = e?.getDefaultMinWidth ?? (() => 75);
}
@@ -41242,18 +41242,18 @@ var jme = class {
}), o;
}
buildColumnWidths(e, t, n) {
- return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), kme(e, t.columns.map((e) => ({
+ return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Ame(e, t.columns.map((e) => ({
...e.props,
key: e.key
})), n, (e) => this.getDefaultWidth(t.columns[e]), (e) => this.getDefaultMinWidth(t.columns[e])).forEach((n, r) => {
let i = t.columns[r].key, a = t.columns[r];
- this.columnWidths.set(i, n), this.columnMinWidths.set(i, cB(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, sB(a.props.maxWidth, e));
+ this.columnWidths.set(i, n), this.columnMinWidths.set(i, sB(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, oB(a.props.maxWidth, e));
}), this.columnWidths;
}
};
// node_modules/react-stately/dist/private/table/useTableColumnResizeState.mjs
-function Mme(e, t) {
- let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, F.useState)(null), s = (0, F.useMemo)(() => new jme({
+function Nme(e, t) {
+ let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, F.useState)(null), s = (0, F.useMemo)(() => new Mme({
getDefaultWidth: n,
getDefaultMinWidth: r
}), [n, r]), [c, l] = (0, F.useMemo)(() => s.splitColumnsIntoControlledAndUncontrolled(t.collection.columns), [t.collection.columns, s]), [u, d] = (0, F.useState)(() => s.getInitialUncontrolledWidths(l)), [f, p] = (0, F.useState)(t.collection.columns);
@@ -41304,19 +41304,19 @@ function Mme(e, t) {
]);
}
// node_modules/react-stately/dist/private/grid/useGridState.mjs
-function Nme(e) {
- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || cz(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
+function Pme(e) {
+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || sz(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
r.setFocusedKey = (e, r) => {
if (n === "cell" && e != null) {
let n = t.getItem(e);
if (n?.type === "item") {
- let i = yD(n, t);
- e = r === "last" ? SD(i)?.key ?? null : bD(i)?.key ?? null;
+ let i = _D(n, t);
+ e = r === "last" ? bD(i)?.key ?? null : vD(i)?.key ?? null;
}
}
a(e, r);
};
- let o = (0, F.useMemo)(() => new uz(t, r), [t, r]), s = (0, F.useRef)(null);
+ let o = (0, F.useMemo)(() => new lz(t, r), [t, r]), s = (0, F.useRef)(null);
return (0, F.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;
@@ -41336,7 +41336,7 @@ function Nme(e) {
}
}
if (u) {
- let i = u.hasChildNodes ? [...yD(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
+ let i = u.hasChildNodes ? [..._D(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
r.setFocusedKey(a);
} else r.setFocusedKey(null);
}
@@ -41354,11 +41354,11 @@ function Nme(e) {
};
}
// node_modules/react-stately/dist/private/table/useTableState.mjs
-var Pme = {
+var Fme = {
ascending: "descending",
descending: "ascending"
};
-function Fme(e) {
+function Ime(e) {
let [t, n] = (0, F.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, F.useMemo)(() => ({
showSelectionCheckboxes: i && r !== "none",
showDragButtons: a,
@@ -41369,11 +41369,11 @@ function Fme(e) {
i,
r,
a
- ]), c = pz(e, (0, F.useCallback)((e) => new Eme(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Nme({
+ ]), c = fz(e, (0, F.useCallback)((e) => new Dme(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Pme({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
- }), [d, f] = sE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ }), [d, f] = aE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
return {
collection: c,
disabledKeys: l,
@@ -41385,7 +41385,7 @@ function Fme(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? Pme[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? Fme[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -41398,7 +41398,7 @@ function Fme(e) {
treeColumn: o
};
}
-function Ime(e, t) {
+function Lme(e, t) {
let n = (0, F.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
@@ -41407,10 +41407,10 @@ function Ime(e, t) {
};
}
// node_modules/react-aria-components/dist/private/Table.mjs
-function Lme(e) {
+function Rme(e) {
return e && e.__esModule ? e.default : e;
}
-var Rme = class extends bS {
+var zme = class extends yS {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -41425,7 +41425,7 @@ var Rme = class extends bS {
}
get body() {
for (let e of this) if (e.type === "tablebody") return e;
- return new _B(-2);
+ return new gB(-2);
}
commit(e, t, n = !1) {
this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];
@@ -41451,7 +41451,7 @@ var Rme = class extends bS {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = aB(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 = iB(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;
@@ -41532,28 +41532,28 @@ var Rme = class extends bS {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new pB(-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 fB(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, lB = /*#__PURE__*/ (0, F.createContext)(null), zme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let n = nw(t), r = (0, F.useRef)(null), i = (0, F.useRef)(null), [a, o] = (0, F.useState)(0);
- HS(() => {
+}, cB = /*#__PURE__*/ (0, F.createContext)(null), Bme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let n = ew(t), r = (0, F.useRef)(null), i = (0, F.useRef)(null), [a, o] = (0, F.useState)(0);
+ VS(() => {
let e = r.current;
- for (; e && e !== n.current && !RT(e);) e = e.parentElement;
+ for (; e && e !== n.current && !IT(e);) e = e.parentElement;
i.current = e;
- }, [n]), LO({
+ }, [n]), FO({
ref: i,
box: "border-box",
onResize() {
o(i.current?.clientWidth ?? 0);
}
- }), HS(() => {
+ }), VS(() => {
o(i.current?.clientWidth ?? 0);
}, []);
let s = (0, F.useMemo)(() => ({
tableRef: r,
scrollRef: i,
tableWidth: a,
- useTableColumnResizeState: Mme,
+ useTableColumnResizeState: Nme,
onResizeStart: e.onResizeStart,
onResize: e.onResize,
onResizeEnd: e.onResizeEnd
@@ -41564,17 +41564,17 @@ var Rme = class extends bS {
e.onResize,
e.onResizeEnd
]);
- return /*#__PURE__*/ F.createElement(HL.div, {
+ return /*#__PURE__*/ F.createElement(VL.div, {
render: e.render,
- ...Yw(e, { global: !0 }),
+ ...qw(e, { global: !0 }),
ref: n,
className: e.className || "react-aria-ResizableTableContainer",
style: e.style,
onScroll: e.onScroll
- }, /*#__PURE__*/ F.createElement(lB.Provider, { value: s }, e.children));
-}), Bme = /*#__PURE__*/ (0, F.createContext)(null), uB = /*#__PURE__*/ (0, F.createContext)(null), dB = /*#__PURE__*/ (0, F.createContext)(null), Vme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = RL(e, t, Bme);
- let n = cz(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, F.useMemo)(() => ({
+ }, /*#__PURE__*/ F.createElement(cB.Provider, { value: s }, e.children));
+}), Vme = /*#__PURE__*/ (0, F.createContext)(null), lB = /*#__PURE__*/ (0, F.createContext)(null), uB = /*#__PURE__*/ (0, F.createContext)(null), Hme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = LL(e, t, Vme);
+ let n = sz(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, F.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
disallowEmptySelection: a,
@@ -41584,26 +41584,26 @@ var Rme = class extends bS {
i,
a,
o
- ]), c = /*#__PURE__*/ F.createElement(Wme.Provider, { value: s }, /*#__PURE__*/ F.createElement(yw, e));
- return /*#__PURE__*/ F.createElement(fw, {
+ ]), c = /*#__PURE__*/ F.createElement(Gme.Provider, { value: s }, /*#__PURE__*/ F.createElement(_w, e));
+ return /*#__PURE__*/ F.createElement(uw, {
content: c,
- createCollection: () => new Rme()
- }, (r) => /*#__PURE__*/ F.createElement(Ume, {
+ createCollection: () => new zme()
+ }, (r) => /*#__PURE__*/ F.createElement(Wme, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), Hme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(JL);
- return n ? /*#__PURE__*/ F.createElement(HL.div, {
+}), Ume = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(qL);
+ return n ? /*#__PURE__*/ F.createElement(VL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(HL.table, {
+ }) : /*#__PURE__*/ F.createElement(VL.table, {
...e,
ref: t
});
-}), fB = {
+}), dB = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -41613,26 +41613,26 @@ var Rme = class extends bS {
rtl: "ArrowRight"
}
};
-function Ume({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
- [e, t] = RL(e, t, UL);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, F.useContext)(lB);
- t = nw((0, F.useMemo)(() => qC(t, c?.tableRef), [t, c?.tableRef]));
- let [l, u] = sE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+function Wme({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+ [e, t] = LL(e, t, HL);
+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, F.useContext)(cB);
+ t = ew((0, F.useMemo)(() => GC(t, c?.tableRef), [t, c?.tableRef]));
+ let [l, u] = aE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
r = (0, F.useMemo)(() => r.withExpandedKeys(l), [r, l]);
- let d = Fme({
+ let d = Ime({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = Ime(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, F.useContext)(JL), { dragAndDropHooks: _ } = e, { gridProps: v } = yce({
+ }), f = Lme(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, F.useContext)(qL), { dragAndDropHooks: _ } = e, { gridProps: v } = xce({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;
(0, F.useRef)(b), (0, F.useRef)(x), (0, F.useEffect)(() => {}, [b, x]);
- let S, C, w, T = !1, E = null, D = (0, F.useRef)(null), { direction: O } = Vw(), [k] = (0, F.useState)(() => new nB());
+ let S, C, w, T = !1, E = null, D = (0, F.useRef)(null), { direction: O } = zw(), [k] = (0, F.useState)(() => new tB());
if (b && _) {
S = _.useDraggableCollectionState({
collection: f.collection,
@@ -41647,7 +41647,7 @@ function Ume({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
collection: f.collection,
selectionManager: y
});
- let e = new AE({
+ let e = new OE({
collection: f.collection,
disabledKeys: y.disabledKeys,
disabledBehavior: y.disabledBehavior,
@@ -41667,12 +41667,12 @@ function Ume({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
let t = C?.target;
if (t && t.type === "item" && t.dropPosition === "on") {
let n = d.collection.getItem(t.key);
- (e.key === fB.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === fB.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
+ (e.key === dB.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === dB.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
}
}
}, C, t), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: A, isFocused: j, isFocusVisible: M } = FD(), ee = IL({
+ let { focusProps: A, isFocused: j, isFocusVisible: M } = ND(), ee = FL({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -41688,19 +41688,19 @@ function Ume({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
tableLayout: "fixed",
width: "min-content"
}));
- let ne = Yw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(FL, { values: [
- [uB, f],
- [dB, P],
- [ZR, {
+ let ne = qw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(PL, { values: [
+ [lB, f],
+ [uB, P],
+ [XR, {
dragAndDropHooks: _,
dragState: S,
dropState: C
}],
- [QR, { render: ehe }],
- [UL, null],
- [WL, null]
- ] }, /*#__PURE__*/ F.createElement(yT, null, /*#__PURE__*/ F.createElement(Hme, {
+ [ZR, { render: the }],
+ [HL, null],
+ [UL, null]
+ ] }, /*#__PURE__*/ F.createElement(_T, null, /*#__PURE__*/ F.createElement(Ume, {
...K(ne, ee, v, A, w?.collectionProps),
style: te,
ref: t,
@@ -41710,55 +41710,55 @@ function Ume({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
"data-drop-target": T || void 0,
"data-focused": j || void 0,
"data-focus-visible": M || void 0
- }, /*#__PURE__*/ F.createElement(nz, null, /*#__PURE__*/ F.createElement(g, {
+ }, /*#__PURE__*/ F.createElement(tz, null, /*#__PURE__*/ F.createElement(g, {
collection: f.collection,
scrollRef: c?.scrollRef ?? t,
- persistedKeys: ez(y, _, C)
+ persistedKeys: $R(y, _, C)
})))), E);
}
-var Wme = /*#__PURE__*/ (0, F.createContext)(null), pB = class extends gS {
+var Gme = /*#__PURE__*/ (0, F.createContext)(null), fB = class extends hS {
static {
this.type = "tableheader";
}
-}, Gme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(JL);
- return n ? /*#__PURE__*/ F.createElement(HL.div, {
+}, Kme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(qL);
+ return n ? /*#__PURE__*/ F.createElement(VL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(HL.thead, {
+ }) : /*#__PURE__*/ F.createElement(VL.thead, {
...e,
ref: t
});
-}), mB = /*#__PURE__*/ gw(pB, (e, t) => {
- let n = (0, F.useContext)(uB).collection, r = wS({
+}), pB = /*#__PURE__*/ mw(fB, (e, t) => {
+ let n = (0, F.useContext)(lB).collection, r = CS({
items: n.headerRows,
children: (0, F.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ F.createElement(qme, { item: e });
+ case "headerrow": return /*#__PURE__*/ F.createElement(Jme, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = UA(), { hoverProps: a, isHovered: o } = zD({
+ }), { rowGroupProps: i } = VA(), { hoverProps: a, isHovered: o } = LD({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), s = IL({
+ }), s = FL({
...e,
children: void 0,
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ F.createElement(Gme, {
- ...K(Yw(e, { global: !0 }), i, a),
+ return /*#__PURE__*/ F.createElement(Kme, {
+ ...K(qw(e, { global: !0 }), i, a),
...s,
ref: t,
"data-hovered": o || void 0
}, r);
-}, (e) => /*#__PURE__*/ F.createElement(yw, {
+}, (e) => /*#__PURE__*/ F.createElement(_w, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), Kme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(JL);
+}, e.children)), qme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(qL);
return n ? /*#__PURE__*/ F.createElement("div", {
...e,
ref: t
@@ -41767,41 +41767,41 @@ var Wme = /*#__PURE__*/ (0, F.createContext)(null), pB = class extends gS {
ref: t
});
});
-function qme({ item: e }) {
- let t = (0, F.useRef)(null), n = (0, F.useContext)(uB), { isVirtualized: r, CollectionBranch: i } = (0, F.useContext)(JL), { rowProps: a } = Tce({
+function Jme({ item: e }) {
+ let t = (0, F.useRef)(null), n = (0, F.useContext)(lB), { isVirtualized: r, CollectionBranch: i } = (0, F.useContext)(qL), { rowProps: a } = Dce({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = Mce(n);
- return /*#__PURE__*/ F.createElement(Kme, {
+ }, n, t), { checkboxProps: o } = Pce(n);
+ return /*#__PURE__*/ F.createElement(qme, {
...a,
ref: t
- }, /*#__PURE__*/ F.createElement(FL, { values: [[aR, { slots: { selection: o } }], [oR, { slots: { selection: o } }]] }, /*#__PURE__*/ F.createElement(i, {
+ }, /*#__PURE__*/ F.createElement(PL, { values: [[iR, { slots: { selection: o } }], [aR, { slots: { selection: o } }]] }, /*#__PURE__*/ F.createElement(i, {
collection: n.collection,
parent: e
})));
}
-var Jme = class extends gS {
+var Yme = class extends hS {
static {
this.type = "column";
}
-}, Yme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(JL);
- return n ? /*#__PURE__*/ F.createElement(HL.div, {
+}, Xme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(qL);
+ return n ? /*#__PURE__*/ F.createElement(VL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(HL.th, {
+ }) : /*#__PURE__*/ F.createElement(VL.th, {
...e,
ref: t
});
-}), hB = /*#__PURE__*/ hw(Jme, (e, t, n) => {
- let r = nw(t), i = (0, F.useContext)(uB), { isVirtualized: a } = (0, F.useContext)(JL), { columnHeaderProps: o, isPressed: s } = Sce({
+}), mB = /*#__PURE__*/ pw(Yme, (e, t, n) => {
+ let r = ew(t), i = (0, F.useContext)(lB), { isVirtualized: a } = (0, F.useContext)(qL), { columnHeaderProps: o, isPressed: s } = wce({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = FD(), d = (0, F.useContext)(dB), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = ND(), d = (0, F.useContext)(uB), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = zD({ isDisabled: !e.allowsSorting }), h = IL({
+ let { hoverProps: p, isHovered: m } = LD({ isDisabled: !e.allowsSorting }), h = FL({
...e,
id: void 0,
children: n.rendered,
@@ -41827,8 +41827,8 @@ var Jme = class extends gS {
...g,
width: d.getColumnWidth(n.key)
});
- let _ = Yw(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ F.createElement(Yme, {
+ let _ = qw(e, { global: !0 });
+ return delete _.id, /*#__PURE__*/ F.createElement(Xme, {
...K(_, o, u, p),
...h,
style: g,
@@ -41840,29 +41840,29 @@ var Jme = class extends gS {
"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__*/ F.createElement(FL, { values: [[gB, {
+ }, /*#__PURE__*/ F.createElement(PL, { values: [[hB, {
column: n,
triggerRef: r
- }], [JL, KL]] }, h.children));
-}), gB = /*#__PURE__*/ (0, F.createContext)(null), Xme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let n = (0, F.useContext)(dB);
+ }], [qL, GL]] }, h.children));
+}), hB = /*#__PURE__*/ (0, F.createContext)(null), Zme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let n = (0, F.useContext)(uB);
if (!n) throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");
- let r = qw(Lme(XR), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, F.useContext)(lB), { column: s, triggerRef: c } = (0, F.useContext)(gB), l = (0, F.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = wce({
+ let r = Gw(Rme(YR), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, F.useContext)(cB), { column: s, triggerRef: c } = (0, F.useContext)(hB), l = (0, F.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Ece({
column: s,
"aria-label": e["aria-label"] || r.format("tableResizer"),
onResizeStart: i,
onResize: a,
onResizeEnd: o,
triggerRef: c
- }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = FD(), { hoverProps: _, isHovered: v } = zD(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = Vw(), S = "both";
+ }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = ND(), { hoverProps: _, isHovered: v } = LD(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = zw(), S = "both";
S = y ? x === "rtl" ? "right" : "left" : b ? x === "rtl" ? "left" : "right" : "both";
- let C = nw(t), [w, T] = (0, F.useState)("");
+ let C = ew(t), [w, T] = (0, F.useState)("");
(0, F.useEffect)(() => {
if (!C.current) return;
let e = window.getComputedStyle(C.current);
T(e.cursor);
}, [C, S]);
- let E = IL({
+ let E = FL({
...e,
defaultClassName: "react-aria-ColumnResizer",
values: {
@@ -41872,8 +41872,8 @@ var Jme = class extends gS {
isHovered: v,
resizableDirection: S
}
- }), D = Yw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(HL.div, {
+ }), D = qw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(VL.div, {
ref: C,
role: "presentation",
...K(D, E, u, _),
@@ -41896,24 +41896,24 @@ var Jme = class extends gS {
},
"data-testid": "cursor-overlay"
}), document.body));
-}), _B = class extends _S {
+}), gB = class extends gS {
static {
this.type = "tablebody";
}
-}, Zme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(JL);
- return n ? /*#__PURE__*/ F.createElement(HL.div, {
+}, Qme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(qL);
+ return n ? /*#__PURE__*/ F.createElement(VL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(HL.tbody, {
+ }) : /*#__PURE__*/ F.createElement(VL.tbody, {
...e,
ref: t
});
-}), vB = /*#__PURE__*/ gw(_B, (e, t, n) => {
- let r = (0, F.useContext)(uB), { isVirtualized: i } = (0, F.useContext)(JL), a = r.collection, { CollectionBranch: o } = (0, F.useContext)(JL), { dragAndDropHooks: s, dropState: c } = (0, F.useContext)(ZR), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), _B = /*#__PURE__*/ mw(gB, (e, t, n) => {
+ let r = (0, F.useContext)(lB), { isVirtualized: i } = (0, F.useContext)(qL), a = r.collection, { CollectionBranch: o } = (0, F.useContext)(qL), { dragAndDropHooks: s, dropState: c } = (0, F.useContext)(XR), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
- }, p = IL({
+ }, p = FL({
...e,
id: void 0,
children: void 0,
@@ -41922,33 +41922,33 @@ var Jme = class extends gS {
}), 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__*/ F.createElement(bB, {
+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ F.createElement(yB, {
role: "row",
...t,
style: r
- }, /*#__PURE__*/ F.createElement(SB, {
+ }, /*#__PURE__*/ F.createElement(xB, {
role: "rowheader",
...n,
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = UA(), _ = Yw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(Zme, {
+ let { rowGroupProps: g } = VA(), _ = qw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(Qme, {
...K(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ F.createElement(ahe, null), /*#__PURE__*/ F.createElement(o, {
+ }, l && /*#__PURE__*/ F.createElement(ohe, null), /*#__PURE__*/ F.createElement(o, {
collection: a,
parent: n,
- renderDropIndicator: $R(s, c)
+ renderDropIndicator: QR(s, c)
}), m);
});
-(class extends _S {
+(class extends gS {
static {
this.type = "tablefooter";
}
});
-var yB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Qme = class extends gS {
+var vB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), $me = class extends hS {
static {
this.type = "item";
}
@@ -41960,31 +41960,31 @@ var yB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Qm
}
return null;
}
-}, bB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(JL);
- return n ? /*#__PURE__*/ F.createElement(HL.div, {
+}, yB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(qL);
+ return n ? /*#__PURE__*/ F.createElement(VL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(HL.tr, {
+ }) : /*#__PURE__*/ F.createElement(VL.tr, {
...e,
ref: t
});
-}), xB = /*#__PURE__*/ gw(Qme, (e, t, n) => {
- let r = nw(t), i = (0, F.useContext)(uB), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(ZR), { isVirtualized: c, CollectionBranch: l } = (0, F.useContext)(JL), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Oce({
+}), bB = /*#__PURE__*/ mw($me, (e, t, n) => {
+ let r = ew(t), i = (0, F.useContext)(lB), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(XR), { isVirtualized: c, CollectionBranch: l } = (0, F.useContext)(qL), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Ace({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = FD(), { isFocusVisible: _, focusProps: v } = FD({ within: !0 }), { hoverProps: y, isHovered: b } = zD({
+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = ND(), { isFocusVisible: _, focusProps: v } = ND({ within: !0 }), { hoverProps: y, isHovered: b } = LD({
isDisabled: !p.allowsSelection && !p.hasAction && !u,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: x } = jce({ key: n.key }, i), S;
+ }), { checkboxProps: x } = Nce({ key: n.key }, i), S;
o && a && (S = a.useDraggableItem({
key: n.key,
hasDragButton: !0
}, o));
- let C, w = (0, F.useRef)(null), { visuallyHiddenProps: T } = gE();
+ let C, w = (0, F.useRef)(null), { visuallyHiddenProps: T } = mE();
s && a && (C = a.useDropIndicator({ target: {
type: "item",
key: n.key,
@@ -41994,7 +41994,7 @@ var yB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Qm
(0, F.useEffect)(() => {
o && E.current;
}, []);
- let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = IL({
+ let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = FL({
...k,
id: void 0,
defaultClassName: "react-aria-Row",
@@ -42015,11 +42015,11 @@ var yB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Qm
isExpanded: j,
level: n.level + 1
}
- }), ee = Yw(e, { global: !0 });
- return delete ee.id, delete ee.onClick, /*#__PURE__*/ F.createElement(F.Fragment, null, C && !C.isHidden && /*#__PURE__*/ F.createElement(bB, {
+ }), ee = qw(e, { global: !0 });
+ return delete ee.id, delete ee.onClick, /*#__PURE__*/ F.createElement(F.Fragment, null, C && !C.isHidden && /*#__PURE__*/ F.createElement(yB, {
role: "row",
style: { height: 0 }
- }, /*#__PURE__*/ F.createElement(SB, {
+ }, /*#__PURE__*/ F.createElement(xB, {
role: "gridcell",
colSpan: i.collection.columnCount,
style: { padding: 0 }
@@ -42028,7 +42028,7 @@ var yB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Qm
...T,
...C.dropIndicatorProps,
ref: w
- }))), /*#__PURE__*/ F.createElement(bB, {
+ }))), /*#__PURE__*/ F.createElement(yB, {
...K(ee, M, d, g, y, S?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
@@ -42044,17 +42044,17 @@ var yB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Qm
"data-expanded": j || void 0,
"data-has-child-items": A || void 0,
"data-level": n.level + 1
- }, /*#__PURE__*/ F.createElement(FL, { values: [
- [aR, { slots: {
- [PL]: {},
+ }, /*#__PURE__*/ F.createElement(PL, { values: [
+ [iR, { slots: {
+ [NL]: {},
selection: x
} }],
- [oR, { slots: {
- [PL]: {},
+ [aR, { slots: {
+ [NL]: {},
selection: x
} }],
- [QL, { slots: {
- [PL]: {},
+ [ZL, { slots: {
+ [NL]: {},
chevron: f,
drag: {
...S?.dragButtonProps,
@@ -42062,8 +42062,8 @@ var yB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Qm
style: { pointerEvents: "none" }
}
} }],
- [rz, { isSelected: p.isSelected }],
- [yB, { isFocusVisibleWithinRow: _ }]
+ [nz, { isSelected: p.isSelected }],
+ [vB, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ F.createElement(l, {
collection: i.collection,
parent: n
@@ -42071,34 +42071,34 @@ var yB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Qm
}, (e) => {
if (e.id == null && typeof e.children == "function") throw Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");
let t = [e.value].concat(e.dependencies);
- return /*#__PURE__*/ F.createElement(yw, {
+ return /*#__PURE__*/ F.createElement(_w, {
dependencies: t,
items: e.columns,
idScope: e.id
}, e.children);
-}), $me = class extends gS {
+}), ehe = class extends hS {
static {
this.type = "cell";
}
-}, SB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(JL);
- return n ? /*#__PURE__*/ F.createElement(HL.div, {
+}, xB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(qL);
+ return n ? /*#__PURE__*/ F.createElement(VL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(HL.td, {
+ }) : /*#__PURE__*/ F.createElement(VL.td, {
...e,
ref: t
});
-}), CB = /*#__PURE__*/ hw($me, (e, t, n) => {
- let r = nw(t), i = (0, F.useContext)(uB), { dragState: a } = (0, F.useContext)(ZR), { isVirtualized: o } = (0, F.useContext)(JL);
+}), SB = /*#__PURE__*/ pw(ehe, (e, t, n) => {
+ let r = ew(t), i = (0, F.useContext)(lB), { dragState: a } = (0, F.useContext)(XR), { isVirtualized: o } = (0, F.useContext)(qL);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = bce({
+ let { gridCellProps: s, isPressed: c } = Sce({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = FD(), { hoverProps: f, isHovered: p } = zD({}), { isFocusVisibleWithinRow: m } = (0, F.useContext)(yB), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = IL({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = ND(), { hoverProps: f, isHovered: p } = LD({}), { isFocusVisibleWithinRow: m } = (0, F.useContext)(vB), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = FL({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -42117,8 +42117,8 @@ var yB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Qm
level: _.level + 1,
isTreeColumn: n.column.key === i.treeColumn
}
- }), S = Yw(e, { global: !0 });
- return delete S.id, /*#__PURE__*/ F.createElement(SB, {
+ }), S = qw(e, { global: !0 });
+ return delete S.id, /*#__PURE__*/ F.createElement(xB, {
...K(S, x, s, d, f),
ref: r,
"data-focused": l || void 0,
@@ -42132,14 +42132,14 @@ var yB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Qm
"data-level": _.level + 1,
"data-tree-column": n.column.key === i.treeColumn || void 0,
"data-disabled": b || void 0
- }, /*#__PURE__*/ F.createElement(JL.Provider, { value: KL }, x.children));
+ }, /*#__PURE__*/ F.createElement(qL.Provider, { value: GL }, x.children));
});
-function ehe(e, t) {
- t = nw(t);
- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(ZR), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+function the(e, t) {
+ t = ew(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(XR), i = (0, F.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__*/ F.createElement(ihe, {
+ return /*#__PURE__*/ F.createElement(ahe, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -42148,40 +42148,40 @@ function ehe(e, t) {
ref: t
});
}
-var the = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(JL);
- return n ? /*#__PURE__*/ F.createElement(HL.div, {
+var nhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(qL);
+ return n ? /*#__PURE__*/ F.createElement(VL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(HL.tr, {
+ }) : /*#__PURE__*/ F.createElement(VL.tr, {
...e,
ref: t
});
-}), nhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(JL);
- return n ? /*#__PURE__*/ F.createElement(HL.div, {
+}), rhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(qL);
+ return n ? /*#__PURE__*/ F.createElement(VL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(HL.td, {
+ }) : /*#__PURE__*/ F.createElement(VL.td, {
...e,
ref: t
});
});
-function rhe(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, F.useContext)(uB), { visuallyHiddenProps: c } = gE(), l = IL({
+function ihe(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, F.useContext)(lB), { visuallyHiddenProps: c } = mE(), l = FL({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ F.createElement(the, {
- ...Yw(e, { global: !0 }),
+ return /*#__PURE__*/ F.createElement(nhe, {
+ ...qw(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ F.createElement(nhe, {
+ }, /*#__PURE__*/ F.createElement(rhe, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -42192,14 +42192,14 @@ function rhe(e, t) {
ref: i
}), l.children));
}
-var ihe = /*#__PURE__*/ (0, F.forwardRef)(rhe);
-function ahe() {
- let e = (0, F.useContext)(uB), { dragAndDropHooks: t, dropState: n } = (0, F.useContext)(ZR), r = (0, F.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = gE();
- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ F.createElement(bB, {
+var ahe = /*#__PURE__*/ (0, F.forwardRef)(ihe);
+function ohe() {
+ let e = (0, F.useContext)(lB), { dragAndDropHooks: t, dropState: n } = (0, F.useContext)(XR), r = (0, F.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = mE();
+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ F.createElement(yB, {
role: "row",
"aria-hidden": i["aria-hidden"],
style: { height: 0 }
- }, /*#__PURE__*/ F.createElement(SB, {
+ }, /*#__PURE__*/ F.createElement(xB, {
role: "gridcell",
colSpan: e.collection.columnCount,
style: { padding: 0 }
@@ -42210,9 +42210,9 @@ function ahe() {
ref: r
})));
}
-hw(vS, function(e, t, n) {
- let r = (0, F.useContext)(uB), { isVirtualized: i } = (0, F.useContext)(JL), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, F.useRef)(null);
- gz((0, F.useMemo)(() => ({
+pw(_S, function(e, t, n) {
+ let r = (0, F.useContext)(lB), { isVirtualized: i } = (0, F.useContext)(qL), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, F.useRef)(null);
+ hz((0, F.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
sentinelRef: u,
@@ -42222,7 +42222,7 @@ hw(vS, function(e, t, n) {
s,
r?.collection
]), u);
- let d = IL({
+ let d = FL({
...c,
id: void 0,
children: n.rendered,
@@ -42230,10 +42230,10 @@ hw(vS, 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__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(bB, {
+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(yB, {
style: { height: 0 },
- inert: az(!0)
- }, /*#__PURE__*/ F.createElement(SB, { style: {
+ inert: iz(!0)
+ }, /*#__PURE__*/ F.createElement(xB, { style: {
padding: 0,
border: 0
} }, /*#__PURE__*/ F.createElement("div", {
@@ -42244,22 +42244,22 @@ hw(vS, function(e, t, n) {
height: 1,
width: 1
}
- }))), a && d.children && /*#__PURE__*/ F.createElement(bB, {
- ...K(Yw(e, { global: !0 }), f),
+ }))), a && d.children && /*#__PURE__*/ F.createElement(yB, {
+ ...K(qw(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
"aria-level": n.level + 1,
"data-level": n.level + 1
- }, /*#__PURE__*/ F.createElement(SB, {
+ }, /*#__PURE__*/ F.createElement(xB, {
role: "rowheader",
...p,
style: m
}, d.children)));
});
// node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function ohe(e) {
- let [t, n] = sE(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, F.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = mz({
+function she(e) {
+ let [t, n] = aE(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, F.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = pz({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -42281,24 +42281,24 @@ function ohe(e) {
};
}
// node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function she(e) {
- let t = ohe({
+function che(e) {
+ let t = she({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? wB(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ defaultSelectedKey: e.defaultSelectedKey ?? CB(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, F.useRef)(i);
return (0, F.useEffect)(() => {
let o = i;
- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = wB(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 = CB(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 wB(e, t) {
+function CB(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);
@@ -42307,24 +42307,24 @@ function wB(e, t) {
return n;
}
// node_modules/react-aria-components/dist/private/Tabs.mjs
-var TB = /*#__PURE__*/ (0, F.createContext)(null), EB = /*#__PURE__*/ (0, F.createContext)(null), che = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = RL(e, t, TB);
+var wB = /*#__PURE__*/ (0, F.createContext)(null), TB = /*#__PURE__*/ (0, F.createContext)(null), lhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = LL(e, t, wB);
let { children: n, orientation: r = "horizontal" } = e;
return n = (0, F.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ F.createElement(fw, { content: n }, (n) => /*#__PURE__*/ F.createElement(lhe, {
+ }) : n, [n, r]), /*#__PURE__*/ F.createElement(uw, { content: n }, (n) => /*#__PURE__*/ F.createElement(uhe, {
props: e,
collection: n,
tabsRef: t
}));
});
-function lhe({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = she({
+function uhe({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = che({
...e,
collection: n,
children: void 0
- }), { focusProps: a, isFocused: o, isFocusVisible: s } = FD({ within: !0 }), c = (0, F.useMemo)(() => ({
+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = ND({ within: !0 }), c = (0, F.useMemo)(() => ({
orientation: r,
isFocusWithin: o,
isFocusVisible: s
@@ -42332,12 +42332,12 @@ function lhe({ props: e, tabsRef: t, collection: n }) {
r,
o,
s
- ]), l = IL({
+ ]), l = FL({
...e,
defaultClassName: "react-aria-Tabs",
values: c
- }), u = Yw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(HL.div, {
+ }), u = qw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(VL.div, {
...K(u, l, a),
ref: t,
slot: e.slot || void 0,
@@ -42345,20 +42345,20 @@ function lhe({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ F.createElement(FL, { values: [[TB, e], [EB, i]] }, l.children));
+ }, /*#__PURE__*/ F.createElement(PL, { values: [[wB, e], [TB, i]] }, l.children));
}
-var DB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- return (0, F.useContext)(EB) ? /*#__PURE__*/ F.createElement(uhe, {
+var EB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ return (0, F.useContext)(TB) ? /*#__PURE__*/ F.createElement(dhe, {
props: e,
forwardedRef: t
- }) : /*#__PURE__*/ F.createElement(yw, e);
+ }) : /*#__PURE__*/ F.createElement(_w, e);
});
-function uhe({ props: e, forwardedRef: t }) {
- let n = (0, F.useContext)(EB), { CollectionRoot: r } = (0, F.useContext)(JL), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = LL(TB), o = nw(t), { tabListProps: s } = Fce({
+function dhe({ props: e, forwardedRef: t }) {
+ let n = (0, F.useContext)(TB), { CollectionRoot: r } = (0, F.useContext)(qL), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = IL(wB), o = ew(t), { tabListProps: s } = Lce({
...e,
orientation: i,
keyboardActivation: a
- }, n, o), c = IL({
+ }, n, o), c = FL({
...e,
children: null,
defaultClassName: "react-aria-TabList",
@@ -42366,30 +42366,30 @@ function uhe({ props: e, forwardedRef: t }) {
orientation: i,
state: n
}
- }), l = Yw(e, { global: !0 });
- return delete l.id, /*#__PURE__*/ F.createElement(HL.div, {
+ }), l = qw(e, { global: !0 });
+ return delete l.id, /*#__PURE__*/ F.createElement(VL.div, {
...K(l, c, s),
ref: o,
"data-orientation": i || void 0
- }, /*#__PURE__*/ F.createElement(nz, null, /*#__PURE__*/ F.createElement(r, {
+ }, /*#__PURE__*/ F.createElement(tz, null, /*#__PURE__*/ F.createElement(r, {
collection: n.collection,
- persistedKeys: YL(n.selectionManager.focusedKey)
+ persistedKeys: JL(n.selectionManager.focusedKey)
})));
}
-var dhe = /*#__PURE__*/ hw(class extends gS {
+var fhe = /*#__PURE__*/ pw(class extends hS {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, F.useContext)(EB), i = nw(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Nce({
+ let r = (0, F.useContext)(TB), i = ew(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Fce({
key: n.key,
...e
- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = FD(), { hoverProps: f, isHovered: p } = zD({
+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = ND(), { hoverProps: f, isHovered: p } = LD({
isDisabled: s,
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
onHoverChange: e.onHoverChange
- }), m = IL({
+ }), m = FL({
...e,
id: void 0,
children: n.rendered,
@@ -42402,7 +42402,7 @@ var dhe = /*#__PURE__*/ hw(class extends gS {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? HL.a : HL.div, g = Yw(e, { global: !0 });
+ }), h = n.props.href ? VL.a : VL.div, g = qw(e, { global: !0 });
return delete g.id, delete g.onClick, /*#__PURE__*/ F.createElement(h, {
...K(g, m, a, l, f),
ref: i,
@@ -42412,54 +42412,54 @@ var dhe = /*#__PURE__*/ hw(class extends gS {
"data-focus-visible": d || void 0,
"data-pressed": c || void 0,
"data-hovered": p || void 0
- }, /*#__PURE__*/ F.createElement(rz.Provider, { value: { isSelected: o } }, m.children));
-}), fhe = /*#__PURE__*/ sw(function(e, t) {
- let n = (0, F.useContext)(EB), r = nw(t), i = n.selectedKey === e.id, [a, o] = (0, F.useState)(n.selectedKey == null ? null : i);
+ }, /*#__PURE__*/ F.createElement(nz.Provider, { value: { isSelected: o } }, m.children));
+}), phe = /*#__PURE__*/ aw(function(e, t) {
+ let n = (0, F.useContext)(TB), r = ew(t), i = n.selectedKey === e.id, [a, o] = (0, F.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
- let s = Sz(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ F.createElement(phe, {
+ let s = xz(r, i);
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ F.createElement(mhe, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function phe(e) {
- let t = (0, F.useContext)(EB), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Ice(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = FD(), d = t.selectedKey === e.id, f = xz(r) && !i, p = IL({
+function mhe(e) {
+ let t = (0, F.useContext)(TB), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Rce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = ND(), d = t.selectedKey === e.id, f = bz(r) && !i, p = FL({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
isFocused: l,
isFocusVisible: u,
- isInert: az(!d),
+ isInert: iz(!d),
isEntering: f,
isExiting: a,
state: t
}
- }), m = Yw(o, { global: !0 });
+ }), m = qw(o, { global: !0 });
delete m.id;
let h = d ? K(m, s, c, p) : K(m, p);
- return /*#__PURE__*/ F.createElement(HL.div, {
+ return /*#__PURE__*/ F.createElement(VL.div, {
...h,
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
- inert: az(!d || e.inert),
+ inert: iz(!d || e.inert),
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ F.createElement(FL, { values: [[TB, null], [EB, null]] }, /*#__PURE__*/ F.createElement(JL.Provider, { value: KL }, p.children)));
+ }, /*#__PURE__*/ F.createElement(PL, { values: [[wB, null], [TB, null]] }, /*#__PURE__*/ F.createElement(qL.Provider, { value: GL }, p.children)));
}
// node_modules/react-aria-components/dist/private/TextArea.mjs
-var OB = /*#__PURE__*/ (0, F.createContext)({}), mhe = (e) => {
+var DB = /*#__PURE__*/ (0, F.createContext)({}), hhe = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, hhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = RL(e, t, OB);
- let { hoverProps: n, isHovered: r } = zD(e), { isFocused: i, isFocusVisible: a, focusProps: o } = FD({
+}, ghe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = LL(e, t, DB);
+ let { hoverProps: n, isHovered: r } = LD(e), { isFocused: i, isFocusVisible: a, focusProps: o } = ND({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = IL({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = FL({
...e,
values: {
isHovered: r,
@@ -42470,8 +42470,8 @@ var OB = /*#__PURE__*/ (0, F.createContext)({}), mhe = (e) => {
},
defaultClassName: "react-aria-TextArea"
});
- return /*#__PURE__*/ F.createElement(HL.textarea, {
- ...K(mhe(e), o, n),
+ return /*#__PURE__*/ F.createElement(VL.textarea, {
+ ...K(hhe(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -42480,18 +42480,18 @@ var OB = /*#__PURE__*/ (0, F.createContext)({}), mhe = (e) => {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), ghe = /*#__PURE__*/ (0, F.createContext)(null), _he = /*#__PURE__*/ sw(function(e, t) {
- [e, t] = RL(e, t, ghe);
- let { validationBehavior: n } = LL(iR) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useRef)(null);
- [e, i] = RL(e, i, WL);
- let [a, o] = zL(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, F.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = ise({
- ...BL(e),
+}), _he = /*#__PURE__*/ (0, F.createContext)(null), vhe = /*#__PURE__*/ aw(function(e, t) {
+ [e, t] = LL(e, t, _he);
+ let { validationBehavior: n } = IL(rR) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useRef)(null);
+ [e, i] = LL(e, i, UL);
+ let [a, o] = RL(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, F.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = ose({
+ ...zL(e),
inputElementType: s,
label: o,
validationBehavior: r
}, i), m = (0, F.useCallback)((e) => {
i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");
- }, [i]), h = IL({
+ }, [i]), h = FL({
...e,
values: {
isDisabled: e.isDisabled || !1,
@@ -42500,8 +42500,8 @@ var OB = /*#__PURE__*/ (0, F.createContext)({}), mhe = (e) => {
isRequired: e.isRequired || !1
},
defaultClassName: "react-aria-TextField"
- }), g = Yw(e, { global: !0 });
- return delete g.id, /*#__PURE__*/ F.createElement(HL.div, {
+ }), g = qw(e, { global: !0 });
+ return delete g.id, /*#__PURE__*/ F.createElement(VL.div, {
...g,
...h,
ref: t,
@@ -42510,31 +42510,31 @@ var OB = /*#__PURE__*/ (0, F.createContext)({}), mhe = (e) => {
"data-invalid": p.isInvalid || void 0,
"data-readonly": e.isReadOnly || void 0,
"data-required": e.isRequired || void 0
- }, /*#__PURE__*/ F.createElement(FL, { values: [
- [XL, {
+ }, /*#__PURE__*/ F.createElement(PL, { values: [
+ [YL, {
...l,
ref: a
}],
- [uR, {
+ [lR, {
...u,
ref: m
}],
- [OB, {
+ [DB, {
...u,
ref: m
}],
- [cR, {
+ [sR, {
role: "presentation",
isInvalid: p.isInvalid,
isDisabled: e.isDisabled || !1
}],
- [nR, { slots: {
+ [tR, { slots: {
description: d,
errorMessage: f
} }],
- [rR, p]
+ [nR, p]
] }, h.children));
-}), vhe = class e extends bS {
+}), yhe = class e extends yS {
withExpandedKeys(t, n) {
let r = this.clone();
return r.expandedKeys = n, e.cloneAncestorSections(n, t, r), e.cloneAncestorSections(t, n, r), r.frozen = this.frozen, r;
@@ -42606,16 +42606,16 @@ var OB = /*#__PURE__*/ (0, F.createContext)({}), mhe = (e) => {
constructor(...e) {
super(...e), this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, yhe = /*#__PURE__*/ (0, F.createContext)(null), kB = /*#__PURE__*/ (0, F.createContext)(null), bhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- return [e, t] = RL(e, t, yhe), /*#__PURE__*/ F.createElement(fw, {
- content: /*#__PURE__*/ F.createElement(yw, e),
- createCollection: () => new vhe()
- }, (n) => /*#__PURE__*/ F.createElement(xhe, {
+}, bhe = /*#__PURE__*/ (0, F.createContext)(null), OB = /*#__PURE__*/ (0, F.createContext)(null), xhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ return [e, t] = LL(e, t, bhe), /*#__PURE__*/ F.createElement(uw, {
+ content: /*#__PURE__*/ F.createElement(_w, e),
+ createCollection: () => new yhe()
+ }, (n) => /*#__PURE__*/ F.createElement(She, {
props: e,
collection: n,
treeRef: t
}));
-}), AB = {
+}), kB = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -42625,17 +42625,17 @@ var OB = /*#__PURE__*/ (0, F.createContext)({}), mhe = (e) => {
rtl: "ArrowRight"
}
};
-function xhe({ props: e, collection: t, treeRef: n }) {
- let { dragAndDropHooks: r } = e, { direction: i } = Vw(), a = OD({
+function She({ props: e, collection: t, treeRef: n }) {
+ let { dragAndDropHooks: r } = e, { direction: i } = zw(), a = ED({
usage: "search",
sensitivity: "base"
}), o = !!r?.useDraggableCollectionState, s = !!r?.useDroppableCollectionState, c = (0, F.useRef)(o), l = (0, F.useRef)(s);
(0, F.useEffect)(() => {
c.current !== o && console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."), l.current !== s && console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.");
}, [o, s]);
- let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, F.useContext)(JL), [y, b] = sE(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, F.useState)(t), [C, w] = (0, F.useState)(y), [T, E] = (0, F.useState)(() => t.withExpandedKeys(C, y));
- Ohe(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));
- let D = Oz({
+ let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, F.useContext)(qL), [y, b] = aE(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, F.useState)(t), [C, w] = (0, F.useState)(y), [T, E] = (0, F.useState)(() => t.withExpandedKeys(C, y));
+ khe(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));
+ let D = Dz({
...e,
selectionMode: u,
expandedKeys: y,
@@ -42643,7 +42643,7 @@ function xhe({ props: e, collection: t, treeRef: n }) {
collection: T,
children: void 0,
disabledBehavior: m
- }), { gridProps: O } = Lce({
+ }), { gridProps: O } = zce({
...e,
isVirtualized: g,
layoutDelegate: _
@@ -42657,7 +42657,7 @@ function xhe({ props: e, collection: t, treeRef: n }) {
let e = r.DragPreview;
ee = r.renderDragPreview ? /*#__PURE__*/ F.createElement(e, { ref: N }, r.renderDragPreview) : null;
}
- let [te] = (0, F.useState)(() => new nB());
+ let [te] = (0, F.useState)(() => new tB());
if (s && r) {
A = r.useDroppableCollectionState({
collection: D.collection,
@@ -42665,7 +42665,7 @@ function xhe({ props: e, collection: t, treeRef: n }) {
});
let e = r.dropTargetDelegate || v || new r.ListDropTargetDelegate(D.collection, n, { direction: i });
te.setup(e, D, i);
- let t = new AE({
+ let t = new OE({
collection: D.collection,
collator: a,
ref: n,
@@ -42687,12 +42687,12 @@ function xhe({ props: e, collection: t, treeRef: n }) {
let t = A?.target;
if (t && t.type === "item" && t.dropPosition === "on") {
let n = D.collection.getItem(t.key);
- (e.key === AB.expand[i] && n?.hasChildNodes && !D.expandedKeys.has(t.key) || e.key === AB.collapse[i] && n?.hasChildNodes && D.expandedKeys.has(t.key)) && D.toggleKey(t.key);
+ (e.key === kB.expand[i] && n?.hasChildNodes && !D.expandedKeys.has(t.key) || e.key === kB.collapse[i] && n?.hasChildNodes && D.expandedKeys.has(t.key)) && D.toggleKey(t.key);
}
}
}, A, n), M = A.isDropTarget({ type: "root" });
}
- let P = !(!o || k?.isDisabled), { focusProps: ne, isFocused: re, isFocusVisible: I } = FD(), ie = {
+ let P = !(!o || k?.isDisabled), { focusProps: ne, isFocused: re, isFocusVisible: I } = ND(), ie = {
isEmpty: D.collection.size === 0,
isFocused: re,
isFocusVisible: I,
@@ -42700,7 +42700,7 @@ function xhe({ props: e, collection: t, treeRef: n }) {
selectionMode: D.selectionManager.selectionMode,
allowsDragging: !!P,
state: D
- }, ae = IL({
+ }, ae = FL({
...e,
children: void 0,
defaultClassName: "react-aria-Tree",
@@ -42717,8 +42717,8 @@ function xhe({ props: e, collection: t, treeRef: n }) {
style: { display: "contents" }
}, r));
}
- let se = Yw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(yT, null, /*#__PURE__*/ F.createElement(HL.div, {
+ let se = qw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(_T, null, /*#__PURE__*/ F.createElement(VL.div, {
...K(se, ae, O, ne, j?.collectionProps),
ref: n,
slot: e.slot || void 0,
@@ -42728,54 +42728,54 @@ function xhe({ props: e, collection: t, treeRef: n }) {
"data-focus-visible": I || void 0,
"data-selection-mode": D.selectionManager.selectionMode === "none" ? void 0 : D.selectionManager.selectionMode,
"data-allows-dragging": !!P || void 0
- }, /*#__PURE__*/ F.createElement(FL, { values: [
- [kB, D],
- [ZR, {
+ }, /*#__PURE__*/ F.createElement(PL, { values: [
+ [OB, D],
+ [XR, {
dragAndDropHooks: r,
dragState: k,
dropState: A
}],
- [QR, { render: whe }]
- ] }, s && /*#__PURE__*/ F.createElement(Dhe, null), /*#__PURE__*/ F.createElement(nz, null, /*#__PURE__*/ F.createElement(h, {
+ [ZR, { render: The }]
+ ] }, s && /*#__PURE__*/ F.createElement(Ohe, null), /*#__PURE__*/ F.createElement(tz, null, /*#__PURE__*/ F.createElement(h, {
collection: D.collection,
- persistedKeys: ez(D.selectionManager, r, A),
+ persistedKeys: $R(D.selectionManager, r, A),
scrollRef: n,
- renderDropIndicator: $R(r, A)
+ renderDropIndicator: QR(r, A)
}))), oe)), ee);
}
-var She = /*#__PURE__*/ hw(class extends gS {
+var Che = /*#__PURE__*/ pw(class extends hS {
static {
this.type = "content";
}
}, function(e) {
- let t = (0, F.useContext)(jB), n = IL({
+ let t = (0, F.useContext)(AB), n = FL({
children: e.children,
values: t
});
- return /*#__PURE__*/ F.createElement(JL.Provider, { value: KL }, n.children);
-}), jB = /*#__PURE__*/ (0, F.createContext)(null), Che = /*#__PURE__*/ gw(class extends gS {
+ return /*#__PURE__*/ F.createElement(qL.Provider, { value: GL }, n.children);
+}), AB = /*#__PURE__*/ (0, F.createContext)(null), whe = /*#__PURE__*/ mw(class extends hS {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, F.useContext)(kB);
- t = nw(t);
- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, F.useContext)(ZR), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Dj({
+ let r = (0, F.useContext)(OB);
+ t = ew(t);
+ let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, F.useContext)(XR), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Tj({
node: n,
shouldSelectOnPressUp: !!a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, r, t), p = c["aria-expanded"] === !0, m = e.hasChildItems || [...r.collection.getChildren(n.key)].length > 1, h = c["aria-level"] || 1, { hoverProps: g, isHovered: _ } = zD({
+ }, r, t), p = c["aria-expanded"] === !0, m = e.hasChildItems || [...r.collection.getChildren(n.key)].length > 1, h = c["aria-level"] || 1, { hoverProps: g, isHovered: _ } = LD({
isDisabled: !f.allowsSelection && !f.hasAction && !s,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { isFocusVisible: v, focusProps: y } = FD(), { isFocusVisible: b, focusProps: x } = FD({ within: !0 }), { checkboxProps: S } = Nse({ key: n.key }, r), C = null;
+ }), { isFocusVisible: v, focusProps: y } = ND(), { isFocusVisible: b, focusProps: x } = ND({ within: !0 }), { checkboxProps: S } = Fse({ key: n.key }, r), C = null;
a && i && (C = i.useDraggableItem({
key: n.key,
hasDragButton: !0
}, a));
- let w = null, T = (0, F.useRef)(null), E = (0, F.useRef)(null), D = (0, F.useRef)(null), { visuallyHiddenProps: O } = gE();
+ let w = null, T = (0, F.useRef)(null), E = (0, F.useRef)(null), D = (0, F.useRef)(null), { visuallyHiddenProps: O } = mE();
o && i && (w = i.useDropIndicator({
target: {
type: "item",
@@ -42814,7 +42814,7 @@ var She = /*#__PURE__*/ hw(class extends gS {
A,
M,
j
- ]), N = IL({
+ ]), N = FL({
...e,
id: void 0,
children: n.rendered,
@@ -42831,7 +42831,7 @@ var She = /*#__PURE__*/ hw(class extends gS {
(0, F.useEffect)(() => {
a && te.current;
}, []);
- let P = wS({
+ let P = CS({
items: r.collection.getChildren(n.key),
children: (e) => {
switch (e.type) {
@@ -42841,7 +42841,7 @@ var She = /*#__PURE__*/ hw(class extends gS {
default: throw Error("Unsupported element type in TreeRow: " + e.type);
}
}
- }), ne = GC(), re = Yw(e, { global: !0 });
+ }), ne = UC(), re = qw(e, { global: !0 });
return delete re.id, delete re.onClick, /*#__PURE__*/ F.createElement(F.Fragment, null, w && !w.isHidden && /*#__PURE__*/ F.createElement("div", {
role: "row",
"aria-level": c["aria-level"],
@@ -42864,7 +42864,7 @@ var She = /*#__PURE__*/ hw(class extends gS {
"aria-labelledby": `${ne} ${c.id}`,
tabIndex: -1,
ref: D
- }))), /*#__PURE__*/ F.createElement(HL.div, {
+ }))), /*#__PURE__*/ F.createElement(VL.div, {
...K(re, c, y, g, x, C?.dragProps),
...N,
ref: t,
@@ -42884,17 +42884,17 @@ var She = /*#__PURE__*/ hw(class extends gS {
}, /*#__PURE__*/ F.createElement("div", {
...l,
style: { display: "contents" }
- }, /*#__PURE__*/ F.createElement(FL, { values: [
- [aR, { slots: {
- [PL]: {},
+ }, /*#__PURE__*/ F.createElement(PL, { values: [
+ [iR, { slots: {
+ [NL]: {},
selection: S
} }],
- [oR, { slots: {
- [PL]: {},
+ [aR, { slots: {
+ [NL]: {},
selection: S
} }],
- [QL, { slots: {
- [PL]: {},
+ [ZL, { slots: {
+ [NL]: {},
chevron: {
...u,
ref: T
@@ -42905,13 +42905,13 @@ var She = /*#__PURE__*/ hw(class extends gS {
style: { pointerEvents: "none" }
}
} }],
- [jB, { ...ee }],
- [rz, { isSelected: f.isSelected }]
+ [AB, { ...ee }],
+ [nz, { isSelected: f.isSelected }]
] }, P))));
});
-hw(vS, function(e, t, n) {
- let { isVirtualized: r } = (0, F.useContext)(JL), i = (0, F.useContext)(kB), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, F.useRef)(null);
- gz((0, F.useMemo)(() => ({
+pw(_S, function(e, t, n) {
+ let { isVirtualized: r } = (0, F.useContext)(qL), i = (0, F.useContext)(OB), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, F.useRef)(null);
+ hz((0, F.useMemo)(() => ({
onLoadMore: o,
collection: i?.collection,
sentinelRef: l,
@@ -42920,11 +42920,11 @@ hw(vS, function(e, t, n) {
o,
s,
i?.collection
- ]), l), t = nw(t);
- let { rowProps: u, gridCellProps: d } = Dj({ node: n }, i, t), f = u["aria-level"] || 1, p = {
+ ]), l), t = ew(t);
+ let { rowProps: u, gridCellProps: d } = Tj({ node: n }, i, t), f = u["aria-level"] || 1, p = {
role: "row",
"aria-level": u["aria-level"]
- }, m = IL({
+ }, m = FL({
...c,
id: void 0,
children: n.rendered,
@@ -42937,7 +42937,7 @@ hw(vS, function(e, t, n) {
width: 0,
height: 0
},
- inert: az(!0)
+ inert: iz(!0)
}, /*#__PURE__*/ F.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: l,
@@ -42946,9 +42946,9 @@ hw(vS, function(e, t, n) {
height: 1,
width: 1
}
- })), a && m.children && /*#__PURE__*/ F.createElement(HL.div, {
+ })), a && m.children && /*#__PURE__*/ F.createElement(VL.div, {
ref: t,
- ...K(Yw(e), p),
+ ...K(qw(e), p),
...m,
"data-level": f
}, /*#__PURE__*/ F.createElement("div", {
@@ -42956,12 +42956,12 @@ hw(vS, function(e, t, n) {
style: h
}, m.children)));
});
-function whe(e, t) {
- t = nw(t);
- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(ZR), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+function The(e, t) {
+ t = ew(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(XR), i = (0, F.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__*/ F.createElement(Ehe, {
+ return /*#__PURE__*/ F.createElement(Dhe, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -42970,8 +42970,8 @@ function whe(e, t) {
level: c
});
}
-function The(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = gE(), c = IL({
+function Ehe(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = mE(), c = FL({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: {
@@ -42980,7 +42980,7 @@ function The(e, t) {
},
values: { isDropTarget: r }
});
- return /*#__PURE__*/ F.createElement(HL.div, {
+ return /*#__PURE__*/ F.createElement(VL.div, {
...c,
role: "row",
"aria-level": a,
@@ -42993,9 +42993,9 @@ function The(e, t) {
ref: i
}), c.children));
}
-var Ehe = /*#__PURE__*/ (0, F.forwardRef)(The);
-function Dhe() {
- let { dragAndDropHooks: e, dropState: t } = (0, F.useContext)(ZR), n = (0, F.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = gE();
+var Dhe = /*#__PURE__*/ (0, F.forwardRef)(Ehe);
+function Ohe() {
+ let { dragAndDropHooks: e, dropState: t } = (0, F.useContext)(XR), n = (0, F.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = mE();
return !i && r["aria-hidden"] ? null : /*#__PURE__*/ F.createElement("div", {
role: "row",
"aria-hidden": r["aria-hidden"],
@@ -43007,13 +43007,13 @@ function Dhe() {
ref: n
})));
}
-function Ohe(e, t) {
+function khe(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
// node_modules/@remixicon/react/index.mjs
-var khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+var Ahe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43021,7 +43021,7 @@ var khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Ahe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), jhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43029,7 +43029,7 @@ var khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), MB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), jB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43037,7 +43037,7 @@ var khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), NB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), MB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43045,7 +43045,7 @@ var khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), PB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), NB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43053,7 +43053,7 @@ var khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), jhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), Mhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43061,7 +43061,7 @@ var khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), Mhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), PB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43648,7 +43648,7 @@ var khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
}, F.createElement("path", { d: "M8.00008 6V9H5.00008V6H8.00008ZM3.00008 4V11H10.0001V4H3.00008ZM13.0001 4H21.0001V6H13.0001V4ZM13.0001 11H21.0001V13H13.0001V11ZM13.0001 18H21.0001V20H13.0001V18ZM10.7072 16.2071L9.29297 14.7929L6.00008 18.0858L4.20718 16.2929L2.79297 17.7071L6.00008 20.9142L10.7072 16.2071Z" }));
// src/react/boardui/components/base/input/label.tsx
function mV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, I.jsxs)(ZL, {
+ return /* @__PURE__ */ (0, I.jsxs)(XL, {
"data-label": "true",
...a,
className: q("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
@@ -43668,7 +43668,7 @@ function mV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
}
// src/react/boardui/components/base/input/hint-text.tsx
function hV({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, I.jsx)(_pe, {
+ return /* @__PURE__ */ (0, I.jsx)(vpe, {
slot: e ? "errorMessage" : "description",
...n,
className: q("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
@@ -43683,7 +43683,7 @@ function _V({ size: e = "medium", fieldClassName: t, inputClassName: n, classNam
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, I.jsx)(_he, {
+ children: /* @__PURE__ */ (0, I.jsx)(vhe, {
...a,
"data-input-size": e,
className: q("group flex h-max w-full flex-col items-start gap-1", r),
@@ -43692,7 +43692,7 @@ function _V({ size: e = "medium", fieldClassName: t, inputClassName: n, classNam
});
}
_V.displayName = "TextField";
-var vV = JI({
+var vV = qI({
field: "relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent transition-[background-color,box-shadow,color] duration-[var(--input-transition-ms)] ease",
fieldSize: {
medium: "p-2",
@@ -43709,7 +43709,7 @@ var vV = JI({
});
function yV({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
let l = (0, F.useContext)(gV), u = e ?? l.size ?? "medium", d = r != null;
- return /* @__PURE__ */ (0, I.jsx)(lR, {
+ return /* @__PURE__ */ (0, I.jsx)(cR, {
ref: s,
className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => q(vV.field, d ? vV.fieldWithAddonSize[u] : vV.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, I.jsxs)("div", {
@@ -43719,7 +43719,7 @@ function yV({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldCl
children: [d ? r : t ? /* @__PURE__ */ (0, I.jsx)(t, {
className: vV.icon,
"aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, I.jsx)(Cpe, {
+ }) : null, /* @__PURE__ */ (0, I.jsx)(wpe, {
ref: o,
...c,
className: q(vV.input, l.inputClassName, a)
@@ -43770,8 +43770,8 @@ var vge = {
tutorial: "max-w-2xl"
};
function xV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfaceClassName: a = "" }) {
- let { isFocusVisible: o } = MC();
- return /* @__PURE__ */ (0, I.jsx)(Uz, {
+ let { isFocusVisible: o } = AC();
+ return /* @__PURE__ */ (0, I.jsx)(Hz, {
isOpen: e,
onOpenChange: t,
isDismissable: !0,
@@ -43779,11 +43779,11 @@ function xV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfa
"data-modal-kind": n,
"data-motion-instant": o || void 0,
className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
- children: /* @__PURE__ */ (0, I.jsx)(ame, {
+ children: /* @__PURE__ */ (0, I.jsx)(ome, {
"data-modal-surface": "",
"data-modal-width": n,
className: q("flex max-h-full w-full flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown", vge[n], a),
- children: /* @__PURE__ */ (0, I.jsx)(zz, {
+ children: /* @__PURE__ */ (0, I.jsx)(Rz, {
"aria-label": r,
className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",
children: i
@@ -43992,7 +43992,7 @@ function BV({ item: e }) {
return /* @__PURE__ */ (0, I.jsx)(Cge, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);
}
function Cge({ item: e }) {
- vL();
+ _L();
let t = jV(!1), n = (0, F.useRef)(t.data), r = MV(), i = t.data && t.data !== n.current ? NV(t.data.favorites || [], e) : e.favorite ?? (t.data ? NV(t.data.favorites || [], e) : !1);
return /* @__PURE__ */ (0, I.jsxs)("span", {
className: "inline-flex min-w-0 flex-col gap-1",
@@ -44032,7 +44032,7 @@ function VV({ currentHref: e, kind: t }) {
let [n, r] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-shortcuts-entry": "",
- children: /* @__PURE__ */ (0, I.jsx)(TL, {
+ children: /* @__PURE__ */ (0, I.jsx)(wL, {
"data-shortcuts-trigger": "",
label: "我的收藏",
icon: PV,
@@ -44053,13 +44053,13 @@ function VV({ currentHref: e, kind: t }) {
})] });
}
function wge({ currentHref: e, kind: t, close: n }) {
- vL();
+ _L();
let r = jV(), i = MV(), [a, o] = (0, F.useState)(""), [s, c] = (0, F.useState)(t || "all"), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), p = (0, F.useId)(), [m, h] = (0, F.useState)(() => matchMedia("(max-width: 760px)").matches);
(0, F.useEffect)(() => {
let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
}, []);
- let g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(s), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = jL(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });
+ let g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(s), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = AL(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });
(0, F.useLayoutEffect)(() => {
b.current && (x.current = Lo(b.current) || null);
}, []), (0, F.useLayoutEffect)(() => {
@@ -44205,7 +44205,7 @@ function wge({ currentHref: e, kind: t, close: n }) {
size: "compact",
icon: EV("list-filter"),
title: "还没有保存的筛选",
- actions: /* @__PURE__ */ (0, I.jsx)(NL, {
+ actions: /* @__PURE__ */ (0, I.jsx)(ML, {
size: "small",
href: "/",
onClick: n,
@@ -44278,7 +44278,7 @@ function wge({ currentHref: e, kind: t, close: n }) {
size: "small",
onClick: () => c("all"),
children: "查看全部收藏"
- }) : /* @__PURE__ */ (0, I.jsx)(NL, {
+ }) : /* @__PURE__ */ (0, I.jsx)(ML, {
size: "small",
href: "/",
onClick: n,
@@ -44434,13 +44434,13 @@ function UV({ children: e, icon: t, href: n, onClick: r, current: i = !1, classN
}
// src/react/boardui/components/foundations/direction/direction.tsx
function WV() {
- return Vw().direction;
+ return zw().direction;
}
// src/react/boardui/components/base/dropdown/menu-styles.ts
var GV = "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 data-[entering]:opacity-0 data-[entering]:scale-95 data-[entering]:blur-[2px] 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", Age = "w-[266px]", jge = "flex w-full flex-col gap-1 outline-none", KV = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", qV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
// src/react/boardui/components/base/tree-view/tree-view.tsx
function Mge({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {
- let c = WV(), l = (0, F.useContext)(JL), u = l === KL && !s.dragAndDropHooks ? YV : l;
+ let c = WV(), l = (0, F.useContext)(qL), u = l === GL && !s.dragAndDropHooks ? YV : l;
return /* @__PURE__ */ (0, I.jsx)("div", {
className: "contents",
onKeyDownCapture: (e) => {
@@ -44457,9 +44457,9 @@ function Mge({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",
}
}
},
- children: /* @__PURE__ */ (0, I.jsx)(JL.Provider, {
+ children: /* @__PURE__ */ (0, I.jsx)(qL.Provider, {
value: u,
- children: /* @__PURE__ */ (0, I.jsx)(bhe, {
+ children: /* @__PURE__ */ (0, I.jsx)(xhe, {
...s,
ref: o,
selectionMode: n,
@@ -44473,7 +44473,7 @@ function Mge({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",
}
function JV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {
let d = WV();
- return /* @__PURE__ */ (0, I.jsxs)(Che, {
+ return /* @__PURE__ */ (0, I.jsxs)(whe, {
...u,
ref: l,
textValue: t,
@@ -44482,7 +44482,7 @@ function JV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
...typeof c == "function" ? c(e) : c
}),
className: (e) => q("relative flex min-h-9 min-w-0 cursor-pointer items-center gap-2 rounded-xl pe-2 text-body-regular text-text-primary outline-none", "transition-[background-color,color,box-shadow] duration-150 motion-reduce:transition-none", "group-data-[size=sm]/tree-view:min-h-8 group-data-[size=sm]/tree-view:text-body-2-regular", (e.isHovered || e.isPressed || e.isFocusVisible) && !e.isDisabled && "bg-dropdown-item-hover-background", e.isSelected && "bg-dropdown-item-hover-background", e.isFocusVisible && "ring-2 ring-inset ring-border-focus-ring", e.isDisabled && "cursor-default text-text-placeholder", typeof s == "function" ? s(e) : s),
- children: [/* @__PURE__ */ (0, I.jsx)(She, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {
+ children: [/* @__PURE__ */ (0, I.jsx)(Che, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {
let f = n === null ? null : o && r ? r : n ?? (t ? o ? qB : GB : Ghe);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsx)(Pge, {
@@ -44495,11 +44495,11 @@ function JV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
}),
/* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
- children: [t ? /* @__PURE__ */ (0, I.jsx)($L, {
+ children: [t ? /* @__PURE__ */ (0, I.jsx)(QL, {
slot: "chevron",
isDisabled: s,
className: "flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-md text-foreground-icon-tertiary outline-none transition-colors hover:text-foreground-icon-primary data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, I.jsx)(PB, {
+ children: /* @__PURE__ */ (0, I.jsx)(NB, {
"aria-hidden": !0,
className: q("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")
})
@@ -44524,18 +44524,18 @@ function JV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
});
}
var YV = {
- ...KL,
+ ...GL,
CollectionRoot: Nge
};
function Nge({ collection: e, ...t }) {
- let n = (0, F.useContext)(kB);
- return n ? /* @__PURE__ */ (0, I.jsx)(Nx, {
+ let n = (0, F.useContext)(OB);
+ return n ? /* @__PURE__ */ (0, I.jsx)(Mx, {
initial: !1,
children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, I.jsx)(Fge, {
state: n,
children: e.render?.(e)
}, e.key))
- }) : /* @__PURE__ */ (0, I.jsx)(KL.CollectionRoot, {
+ }) : /* @__PURE__ */ (0, I.jsx)(GL.CollectionRoot, {
collection: e,
...t
});
@@ -44600,8 +44600,8 @@ function Pge({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction
});
}
function Fge({ state: e, children: t }) {
- let n = Ax(), r = rS(), [i, a] = (0, F.useState)(e);
- return n && i !== e && a(e), /* @__PURE__ */ (0, I.jsx)(hS.div, {
+ let n = kx(), r = nS(), [i, a] = (0, F.useState)(e);
+ return n && i !== e && a(e), /* @__PURE__ */ (0, I.jsx)(mS.div, {
role: "presentation",
className: "relative min-w-0 shrink-0 overflow-hidden",
"data-tree-view-exiting": !n || void 0,
@@ -44640,7 +44640,7 @@ function Fge({ state: e, children: t }) {
1
]
},
- children: /* @__PURE__ */ (0, I.jsx)(kB.Provider, {
+ children: /* @__PURE__ */ (0, I.jsx)(OB.Provider, {
value: n ? e : i,
children: t
})
@@ -44690,7 +44690,7 @@ function ZV({ state: e, size: t = "md" }) {
// src/react/boardui/components/base/checkbox/checkbox.tsx
function QV({ className: e, children: t, size: n = "md", ref: r, ...i }) {
let a = XV[n];
- return /* @__PURE__ */ (0, I.jsx)(bpe, {
+ return /* @__PURE__ */ (0, I.jsx)(xpe, {
ref: r,
...i,
className: (t) => q("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
@@ -44723,9 +44723,9 @@ function Ige() {
function tH({ children: e }) {
return /* @__PURE__ */ (0, I.jsx)(oe, {
client: H,
- children: /* @__PURE__ */ (0, I.jsx)(Kre, {
+ children: /* @__PURE__ */ (0, I.jsx)(qre, {
reducedMotion: "user",
- children: /* @__PURE__ */ (0, I.jsx)(AD, {
+ children: /* @__PURE__ */ (0, I.jsx)(OD, {
getContainer: Ige,
children: e
})
@@ -45434,11 +45434,11 @@ function h_e(e) {
function g_e(e) {
if (e.status === "paused") return "已暂停";
if (e.status === "pausing") return "正在暂停";
- let t = m_e[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${fL(e.waited_seconds)}` : "";
+ let t = m_e[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${dL(e.waited_seconds)}` : "";
return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;
}
function __e(e) {
- let t = e.total ? `${pL(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";
+ let t = e.total ? `${fL(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";
return g_e(e) + (t ? ` · ${t}` : "");
}
function v_e(e) {
@@ -45470,7 +45470,7 @@ function b_e(e, t, n) {
}
}
// src/react/boardui/components/base/buttons/link-button.tsx
-var EH = JI({
+var EH = qI({
base: "inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans select-none cursor-pointer rounded-sm underline-offset-3 hover:underline transition-colors duration-150 ease outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring disabled:cursor-not-allowed disabled:no-underline aria-disabled:cursor-not-allowed aria-disabled:no-underline",
size: {
medium: "text-body-medium",
@@ -45636,7 +45636,7 @@ function AH(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 = $ie(n, { transform: [r, E] }, C_e[e]);
+ l = eae(n, { transform: [r, E] }, C_e[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -45674,7 +45674,7 @@ function AH(e) {
// src/react/components/menu-dialog.tsx
function jH(e) {
let t = AH("hover");
- return /* @__PURE__ */ (0, I.jsx)(zz, {
+ return /* @__PURE__ */ (0, I.jsx)(Rz, {
...e,
ref: t
});
@@ -45789,7 +45789,7 @@ function LH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
})
]
}),
- /* @__PURE__ */ (0, I.jsxs)(Ape, {
+ /* @__PURE__ */ (0, I.jsxs)(jpe, {
"aria-label": "处理速度",
minValue: 0,
maxValue: 2,
@@ -45801,7 +45801,7 @@ function LH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
e !== i && n(MH[e]);
},
className: "processing-effort-slider",
- children: [/* @__PURE__ */ (0, I.jsx)(ZL, {
+ children: [/* @__PURE__ */ (0, I.jsx)(XL, {
className: "processing-effort-label",
children: "处理速度"
}), /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -45822,9 +45822,9 @@ function LH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
]
}),
a === 2 ? /* @__PURE__ */ (0, I.jsx)(T_e, { animate: r }) : null,
- /* @__PURE__ */ (0, I.jsx)(jpe, {
+ /* @__PURE__ */ (0, I.jsx)(Mpe, {
className: "processing-effort-hit",
- children: /* @__PURE__ */ (0, I.jsx)(Mpe, {
+ children: /* @__PURE__ */ (0, I.jsx)(Npe, {
"aria-label": NH[a],
className: "processing-effort-thumb"
})
@@ -45853,13 +45853,13 @@ function E_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {
"aria-expanded": a,
"aria-disabled": t,
leadingIcon: w_e[s],
- trailingIcon: MB,
+ trailingIcon: jB,
onClick: () => {
t || o(!a);
},
children: NH[s]
})
- }), /* @__PURE__ */ (0, I.jsx)(Ez, {
+ }), /* @__PURE__ */ (0, I.jsx)(Tz, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
@@ -46239,7 +46239,7 @@ function L_e() {
return /* @__PURE__ */ (0, I.jsx)(DH, {
href: "/tasks",
size: "small",
- trailingIcon: NB,
+ trailingIcon: MB,
className: "self-start",
children: "在任务中心查看进度"
});
@@ -46278,12 +46278,12 @@ function QH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:
},
className: `${i ? "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: [
- i ? null : /* @__PURE__ */ (0, I.jsx)(PB, {
+ i ? null : /* @__PURE__ */ (0, I.jsx)(NB, {
"aria-hidden": !0,
className: d ? "size-(--icon-inline) shrink-0 rotate-90 transition-transform" : "size-(--icon-inline) shrink-0 transition-transform"
}),
e,
- i ? /* @__PURE__ */ (0, I.jsx)(PB, {
+ i ? /* @__PURE__ */ (0, I.jsx)(NB, {
"aria-hidden": !0,
className: d ? "ml-auto size-(--icon-inline) shrink-0 -rotate-90 transition-transform" : "ml-auto size-(--icon-inline) shrink-0 rotate-90 transition-transform"
}) : null
@@ -46473,7 +46473,7 @@ function oU({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe
className: "self-start",
"aria-expanded": l,
"aria-controls": c,
- trailingIcon: l ? Mhe : MB,
+ trailingIcon: l ? PB : jB,
onClick: () => {
s(!l), i?.(!l);
},
@@ -46713,7 +46713,7 @@ function lU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
"aria-hidden": !0,
className: q("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")
}),
- /* @__PURE__ */ (0, I.jsx)(_E, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),
+ /* @__PURE__ */ (0, I.jsx)(hE, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),
e.status === "complete" ? /* @__PURE__ */ (0, I.jsx)("s", {
className: "wrap-anywhere",
children: e.label
@@ -46748,13 +46748,13 @@ function lU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
href: "/data-cleanup#libraryProcessing",
variant: "secondary",
size: "small",
- trailingIcon: NB,
+ trailingIcon: MB,
children: t || _ || g ? "打开扫描与采集" : "任务详情"
}),
g ? /* @__PURE__ */ (0, I.jsx)(DH, {
href: _H,
size: "small",
- trailingIcon: NB,
+ trailingIcon: MB,
children: "查看全部内容"
}) : null,
v ? /* @__PURE__ */ (0, I.jsx)(RH, {
@@ -46869,15 +46869,15 @@ function $_e() {
}
// src/react/components/segmented.tsx
function eve(e) {
- let t = wL(AH("selection"));
- return /* @__PURE__ */ (0, I.jsx)(DB, {
+ let t = CL(AH("selection"));
+ return /* @__PURE__ */ (0, I.jsx)(EB, {
...e,
ref: t
});
}
function gU(e) {
- let t = wL(AH("selection"));
- return /* @__PURE__ */ (0, I.jsx)(Kz, {
+ let t = CL(AH("selection"));
+ return /* @__PURE__ */ (0, I.jsx)(Gz, {
...e,
ref: t
});
@@ -47834,7 +47834,7 @@ function RU({ chapter: e, progress: t, loading: n, start: r }) {
" 步"
]
}),
- /* @__PURE__ */ (0, I.jsx)(PB, {
+ /* @__PURE__ */ (0, I.jsx)(NB, {
"aria-hidden": !0,
className: "size-(--icon-inline) shrink-0 text-text-secondary"
})
@@ -48113,7 +48113,7 @@ function Dve({ step: e, position: t, total: n, missing: r, next: i, previous: a,
className: "flex flex-wrap items-center gap-x-1 gap-y-1 text-body-2-medium text-text-primary",
children: l.path.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("li", {
className: "inline-flex items-center gap-1",
- children: [t ? /* @__PURE__ */ (0, I.jsx)(PB, {
+ children: [t ? /* @__PURE__ */ (0, I.jsx)(NB, {
className: "size-4 shrink-0 text-text-secondary",
"aria-hidden": "true"
}) : null, /* @__PURE__ */ (0, I.jsx)("span", { children: e })]
@@ -48496,7 +48496,7 @@ function kve({ actions: e }) {
g("请先关闭当前详情或对话框,再开始导览。");
return;
}
- if (t.steps.some((e) => e.surface) && t8()?.miniplayerActive()) {
+ if (t.steps.some((e) => e.surface) && n8()?.miniplayerActive()) {
g("请先关闭正在播放的小窗,再开始播放器导览。");
return;
}
@@ -48605,7 +48605,7 @@ function kve({ actions: e }) {
["start", "开始使用"],
["interface", "界面导览"],
["settings", "设置导览"]
- ].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(qz, {
+ ].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Kz, {
value: e,
className: vU,
children: t
@@ -48753,7 +48753,7 @@ function Nve({ navigate: e }) {
}
// src/react/router/pages/settings.tsx
function Pve() {
- let e = (0, F.useContext)(nG), { pathname: t } = Qd();
+ let e = (0, F.useContext)(tG), { pathname: t } = Qd();
return (0, F.useEffect)(() => {
e?.openSettings?.(jf(t));
}, [e, t]), (0, F.useEffect)(() => () => {
@@ -48864,25 +48864,25 @@ function nW({ className: e, triggerClassName: t, popoverClassName: n, size: r =
let l = (0, F.useRef)(null), u = (0, F.useRef)(null), [d, f] = (0, F.useState)(!1);
Lve(d, () => f(!1), [l, u]);
let p = Rve(d, l);
- return /* @__PURE__ */ (0, I.jsx)(vme, {
+ return /* @__PURE__ */ (0, I.jsx)(yme, {
ref: s,
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
className: q("group flex flex-col", e),
- children: ({ isOpen: e }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)($L, {
+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)(QL, {
ref: l,
className: q("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, I.jsx)(xme, {
+ children: [/* @__PURE__ */ (0, I.jsx)(Sme, {
className: q("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
}), /* @__PURE__ */ (0, I.jsx)(Dge, { className: q("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
- }), /* @__PURE__ */ (0, I.jsx)(Ez, {
+ }), /* @__PURE__ */ (0, I.jsx)(Tz, {
ref: u,
isNonModal: !0,
offset: 4,
className: q(Age, GV, "p-2", n),
- children: /* @__PURE__ */ (0, I.jsx)(Bpe, {
+ children: /* @__PURE__ */ (0, I.jsx)(Vpe, {
items: a,
className: q(jge, "max-h-[240px] overflow-auto"),
children: /* @__PURE__ */ (0, I.jsx)(tW.Provider, {
@@ -48895,14 +48895,14 @@ function nW({ className: e, triggerClassName: t, popoverClassName: n, size: r =
}
function rW({ className: e, children: t, ...n }) {
let r = (0, F.useContext)(tW);
- return /* @__PURE__ */ (0, I.jsx)(Upe, {
+ return /* @__PURE__ */ (0, I.jsx)(Wpe, {
...n,
className: (t) => q(KV, 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
});
}
// src/react/boardui/components/base/badges/chip.tsx
-var iW = JI({
+var iW = qI({
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",
@@ -48958,7 +48958,7 @@ var sW = "/api/downloads", cW = ["downloads"], zve = "/api/downloads/cancel", Bv
landed: "lime",
submitted: "neutral"
}, uW = (e) => {
- let t = e.display_code || e.code || "", { title: n } = tL({
+ let t = e.display_code || e.code || "", { title: n } = eL({
is_jav: !!t,
code: t,
name: e.display_title ?? e.title ?? e.display_name ?? e.remote_name
@@ -48998,7 +48998,7 @@ function Uve() {
t.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: MB,
+ leadingIcon: jB,
className: "self-start",
...OV(t.isFetchingNextPage),
onClick: () => {
@@ -49010,11 +49010,11 @@ function Uve() {
});
}
function Wve({ task: e, writable: t }) {
- vL();
+ _L();
let n = ae(), r = OH(), [i, a] = (0, F.useState)(!1), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = dW(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), u = e.artwork, d = u?.performer_entities || [], f = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, p = e.state === "failed" || e.postprocess_state === "failed", m = [
e.display_code || e.code ? "" : "番号未识别",
e.target,
- gL(e.submitted_at)
+ hL(e.submitted_at)
].filter(Boolean).join(" · "), h = () => {
n.invalidateQueries({ queryKey: cW });
}, g = () => {
@@ -49048,7 +49048,7 @@ function Wve({ task: e, writable: t }) {
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-download-cover": "",
"data-media-pic": "",
- style: { "--card-ratio": String(bM) },
+ style: { "--card-ratio": String(vM) },
className: "w-20 shrink-0 self-start text-caption-1-regular text-text-secondary sm:w-32",
children: [
u?.has_cover ? null : /* @__PURE__ */ (0, I.jsx)("span", {
@@ -49384,7 +49384,7 @@ function Yve({ prefill: e, close: t, receipt: n, provider: r }) {
refetchInterval: (e) => lW(e.state.data)
}), a = i.data, o = /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex items-center justify-between gap-4 px-5 pt-5",
- children: [/* @__PURE__ */ (0, I.jsx)(tR, {
+ children: [/* @__PURE__ */ (0, I.jsx)(eR, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "查找资源"
@@ -49602,21 +49602,21 @@ var eye = (e, t) => B(`${hW}?follow=${encodeURIComponent(e)}`, t), vW = (e, t) =
}, "POST", t), yW = (e, t) => V(hW, {
action: "remove",
ids: e
-}, "POST", t), bW = (e, t) => V(hW, {
+}, "POST", t), tye = (e, t) => V(hW, {
action: "reset",
ids: e
-}, "POST", t), xW = () => H.invalidateQueries({ queryKey: gW }), SW = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
-function CW(e) {
+}, "POST", t), bW = () => H.invalidateQueries({ queryKey: gW }), xW = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
+function SW(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} 次` : "还没查过";
}
// src/react/jav/jav.ts
-var wW = (e, t = "taste", n = "desc") => [
+var CW = (e, t = "taste", n = "desc") => [
"jav-discoveries",
e,
t,
n
];
-function TW(e, t, n = {}) {
+function wW(e, t, n = {}) {
let r = new URLSearchParams({
scope: e,
limit: "100",
@@ -49625,7 +49625,7 @@ function TW(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"), B(`/api/jav/discoveries?${r}`, t);
}
-function EW(e, t, n) {
+function TW(e, t, n) {
let r = Co({
...e,
is_jav: !0
@@ -49634,30 +49634,30 @@ function EW(e, t, n) {
let i = z(uo(e));
return xo(e, t).replace(/ src="[^"]*"/, ` src="${i}" data-jav-image="${e.id}" data-jav-cover="${i}" data-jav-thumb="" data-jav-image-layout="${t}"${t === "big" ? " data-panel-prior=\"1\"" : ""}`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"media-nopic\"");
}
-async function DW(e, t) {
+async function EW(e, t) {
e === "wants" ? await H.ensureQueryData({
queryKey: gW,
queryFn: () => _W(t),
staleTime: 3e4,
revalidateIfStale: !0
}) : e === "discover" && await H.ensureQueryData({
- queryKey: wW("external"),
- queryFn: () => TW("external", t),
+ queryKey: CW("external"),
+ queryFn: () => wW("external", t),
staleTime: 3e4,
revalidateIfStale: !0
});
}
// src/react/components/board-tabs.tsx
-function OW({ value: e }) {
+function DW({ value: e }) {
return /* @__PURE__ */ (0, I.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 kW = "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 AW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
- let a = (0, F.useRef)(null), o = wL(a);
+var OW = "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 kW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
+ let a = (0, F.useRef)(null), o = CL(a);
return (0, F.useLayoutEffect)(() => {
let e = a.current;
e && (() => {
@@ -49666,7 +49666,7 @@ function AW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
let n = t.offsetLeft, r = n + t.offsetWidth;
n < e.scrollLeft ? e.scrollLeft = n : r > e.scrollLeft + e.clientWidth && (e.scrollLeft = r - e.clientWidth);
})();
- }, [t]), /* @__PURE__ */ (0, I.jsx)(XI, {
+ }, [t]), /* @__PURE__ */ (0, I.jsx)(YI, {
ref: o,
role: "tablist",
"aria-label": n,
@@ -49690,7 +49690,7 @@ function AW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
"data-pill-selected": i ? "" : void 0,
"data-pill-variant": "gray",
tabIndex: i ? 0 : -1,
- className: kW,
+ className: OW,
onClick: () => {
i || r(e.value);
},
@@ -49700,7 +49700,7 @@ function AW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
});
}
// src/react/jav/jav-header.tsx
-function jW({ tab: e, navigate: t, find: n }) {
+function AW({ tab: e, navigate: t, find: n }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex w-full flex-col gap-4",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -49714,7 +49714,7 @@ function jW({ tab: e, navigate: t, find: n }) {
onClick: n,
children: "查找资源"
})]
- }), /* @__PURE__ */ (0, I.jsx)(AW, {
+ }), /* @__PURE__ */ (0, I.jsx)(kW, {
tabs: xU.map(([e, t]) => ({
value: e,
label: t
@@ -49726,9 +49726,9 @@ function jW({ tab: e, navigate: t, find: n }) {
})]
});
}
-function MW({ navigate: e, receipt: t }) {
+function jW({ navigate: e, receipt: t }) {
let [n, r] = (0, F.useState)(null);
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(jW, {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(AW, {
tab: "library",
navigate: e,
find: () => r({})
@@ -49739,20 +49739,20 @@ function MW({ navigate: e, receipt: t }) {
})] });
}
// src/react/router/pages/catalog.tsx
-var NW = () => uu, PW = W.navigation.seq, FW = W.navigation.openEpoch, IW = W.navigation.location.pathname, LW = {
- seq: PW,
+var MW = () => uu, NW = W.navigation.seq, PW = W.navigation.openEpoch, FW = W.navigation.location.pathname, IW = {
+ seq: NW,
claimed: !0,
- from: IW
+ from: FW
};
W.listen((e) => {
- LW = {
+ IW = {
seq: e.seq,
- claimed: e.openEpoch === FW,
- from: IW
- }, FW = e.openEpoch, IW = e.location.pathname;
+ claimed: e.openEpoch === PW,
+ from: FW
+ }, PW = e.openEpoch, FW = e.location.pathname;
});
-var RW = !1;
-function zW(e) {
+var LW = !1;
+function RW(e) {
let { seq: t, openEpoch: n, location: r } = W.navigation, i = Rf(r.pathname), a = Op() ?? r, o = U ?? {};
return {
seq: t,
@@ -49764,7 +49764,7 @@ function zW(e) {
opened: e
};
}
-function BW(e, t, n, r) {
+function zW(e, t, n, r) {
let i = { ...U }, a = om("catalog");
if (a) return { ...a };
if (e === "/trash") return {
@@ -49776,7 +49776,7 @@ function BW(e, t, n, r) {
state: "trash",
q: ""
};
- let o = new URLSearchParams(t), { defaultSort: s, defaultSortDirection: c } = dM().value;
+ let o = new URLSearchParams(t), { defaultSort: s, defaultSortDirection: c } = lM().value;
return {
...i,
loc: o.get("loc") ?? r.defaultLoc(),
@@ -49790,7 +49790,7 @@ function BW(e, t, n, r) {
dur_max: o.get("dur_max") || "",
orient: o.get("orient") || "",
state: On[e] || o.get("state") || "",
- ...Kj(o.get("sort"), o.get("dir"), s, c),
+ ...Wj(o.get("sort"), o.get("dir"), s, c),
seed: o.get("seed") || (n ? rr() : i.seed || rr()),
q: o.get("q") || "",
jav: o.get("jav") || "",
@@ -49801,14 +49801,14 @@ function BW(e, t, n, r) {
folder_recursive: o.get("folder_recursive") === "0" ? "0" : ""
};
}
-function VW(e) {
+function BW(e) {
let t = W.navigation.seq;
am("catalog", { ...U });
let n = e(), r = () => W.navigation.seq === t, i = () => document.querySelector("#grid");
lm(r, i(), { pending: !0 }), Promise.resolve(n).then(() => lm(r, i()));
}
-function HW(e, t) {
- let n = { ...e }, r = zW(n.opened);
+function VW(e, t) {
+ let n = { ...e }, r = RW(n.opened);
Object.assign(e, r);
let i = t.catalog;
if (!i || r.opens === 0) return;
@@ -49820,39 +49820,39 @@ function HW(e, t) {
if (r.opens === n.opens) {
if (r.epoch === n.epoch && n.opened) {
if (r.seq === n.seq || n.covered && r.address === n.address && r.filters === n.filters) return;
- VW(() => i.load());
+ BW(() => i.load());
return;
}
- r.epoch !== n.epoch && (a = W.navigation.action === "POP" && LW.from !== "/");
+ r.epoch !== n.epoch && (a = W.navigation.action === "POP" && IW.from !== "/");
}
let { pathname: o, search: s } = W.navigation.location;
if (o === "/" && new URLSearchParams(s).get("state") === "ads") {
let { kind: e, view: t } = XU(s);
- RW = !0, Ep(ZU(e, t), { replace: !0 });
+ LW = !0, Ep(ZU(e, t), { replace: !0 });
return;
}
- let c = RW;
- RW = !1, a &&= o === "/" && !sm(), e.opened = !0, yu({ state: BW(o, s, a, i) }), VW(() => i.open(o, {
+ let c = LW;
+ LW = !1, a &&= o === "/" && !sm(), e.opened = !0, yu({ state: zW(o, s, a, i) }), BW(() => i.open(o, {
entering: a,
retitle: c
}));
}
-function UW() {
- let e = (0, F.useContext)(nG), t = tG(), n = (0, F.useSyncExternalStore)(xu, NW), r = Qd(), i = (0, F.useRef)(null), a = (0, F.useRef)({
+function HW() {
+ let e = (0, F.useContext)(tG), t = eG(), n = (0, F.useSyncExternalStore)(xu, MW), r = Qd(), i = (0, F.useRef)(null), a = (0, F.useRef)({
mounted: !0,
queued: !1
});
return (0, F.useEffect)(() => {
let e = a.current;
e.mounted = !0;
- let t = zW(!Rf(W.navigation.location.pathname));
- return !t.covered && t.opens > 0 && (RW || LW.seq === PW ? t.opens = -1 : LW.claimed ? t.seq = -1 : t.epoch = -1), i.current = t, () => {
+ let t = RW(!Rf(W.navigation.location.pathname));
+ return !t.covered && t.opens > 0 && (LW || IW.seq === NW ? t.opens = -1 : IW.claimed ? t.seq = -1 : t.epoch = -1), i.current = t, () => {
e.mounted = !1;
};
}, []), (0, F.useEffect)(() => {
let t = a.current;
!t.queued && e && (t.queued = !0, queueMicrotask(() => {
- t.queued = !1, t.mounted && i.current && HW(i.current, e);
+ t.queued = !1, t.mounted && i.current && VW(i.current, e);
}));
}, [
t,
@@ -49861,7 +49861,7 @@ function UW() {
e
]), null;
}
-function WW() {
+function UW() {
let { pathname: e } = Qd();
return (0, F.useLayoutEffect)(() => {
if (e !== "/wall") return;
@@ -49874,19 +49874,19 @@ function WW() {
e.inert = n[t] || !1;
});
};
- }, [e]), Rf(e) && !Lf(e) ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(UW, {}, e === "/junk-files" ? "/junk-files" : "/"), An(e) ? /* @__PURE__ */ (0, I.jsx)(lG, {}) : null] });
+ }, [e]), Rf(e) && !Lf(e) ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(HW, {}, e === "/junk-files" ? "/junk-files" : "/"), An(e) ? /* @__PURE__ */ (0, I.jsx)(cG, {}) : null] });
}
-function GW() {
- let e = (0, F.useContext)(nG), t = document.getElementById("javLibraryHeader");
- return t && e ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(MW, {
+function WW() {
+ let e = (0, F.useContext)(tG), t = document.getElementById("javLibraryHeader");
+ return t && e ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(jW, {
navigate: e.navigate,
receipt: (t) => e.receipt(t)
}), t) : null;
}
// src/react/router/pages/overlay.tsx
-var KW = () => uu, qW = () => du;
-function JW() {
- let e = (0, F.useContext)(nG), t = (0, F.useSyncExternalStore)(xu, qW), n = (0, F.useSyncExternalStore)(xu, KW);
+var GW = () => uu, KW = () => du;
+function qW() {
+ let e = (0, F.useContext)(tG), t = (0, F.useSyncExternalStore)(xu, KW), n = (0, F.useSyncExternalStore)(xu, GW);
return (0, F.useEffect)(() => {
if (!t || !n) return;
let r = !0;
@@ -49901,8 +49901,8 @@ function JW() {
e
]), null;
}
-function YW(e, t = !1) {
- let n = (0, F.useSyncExternalStore)(xu, KW), r = (0, F.useRef)(void 0);
+function JW(e, t = !1) {
+ let n = (0, F.useSyncExternalStore)(xu, GW), r = (0, F.useRef)(void 0);
if (r.current === void 0) {
let { claimed: e } = W.navigation;
r.current = uu === 0 || Dp() ? "boot" : e && !t ? null : "history";
@@ -49921,11 +49921,11 @@ function YW(e, t = !1) {
}));
}, [n]);
}
-function XW() {
- let e = (0, F.useContext)(nG), t = (0, F.useRef)(e);
+function YW() {
+ let e = (0, F.useContext)(tG), t = (0, F.useRef)(e);
return (0, F.useLayoutEffect)(() => {
t.current = e;
- }, [e]), YW((t) => {
+ }, [e]), JW((t) => {
let n = W.navigation.location, { pathname: r, search: i } = Af(n.pathname) && Nf(n.state) || n, a = Lf(r, i);
e && a && (Uf(), t || Wf(W.navigation.location.state), e.openOverlay(a));
}, !0), (0, F.useEffect)(() => () => {
@@ -49934,8 +49934,8 @@ function XW() {
});
}, []), null;
}
-function ZW({ path: e }) {
- tG();
+function XW({ path: e }) {
+ eG();
let { location: t, seq: n, action: r } = W.navigation, i = Af(t.pathname) ? Nf(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, F.useRef)({
identity: a,
seq: i?.seq ?? n,
@@ -49947,24 +49947,24 @@ function ZW({ path: e }) {
seq: n,
navigationSeq: n,
settings: !1
- }), /* @__PURE__ */ (0, I.jsx)(XW, {}, `${e} ${o.current.seq}`);
+ }), /* @__PURE__ */ (0, I.jsx)(YW, {}, `${e} ${o.current.seq}`);
}
-function QW() {
- let e = (0, F.useContext)(nG);
- return YW(() => {
+function ZW() {
+ let e = (0, F.useContext)(tG);
+ return JW(() => {
e?.follow?.ground();
}), null;
}
-function $W() {
- return /* @__PURE__ */ (0, I.jsx)(QW, {}, tG());
+function QW() {
+ return /* @__PURE__ */ (0, I.jsx)(ZW, {}, eG());
}
// src/react/router/router.tsx
-var eG = (0, F.createContext)(0), tG = () => (0, F.useContext)(eG), nG = (0, F.createContext)(null);
-function rG({ children: e }) {
+var $W = (0, F.createContext)(0), eG = () => (0, F.useContext)($W), tG = (0, F.createContext)(null);
+function nG({ children: e }) {
let [t, n] = (0, F.useState)(() => W.navigation);
return (0, F.useLayoutEffect)(() => (n(W.navigation), W.listen((e) => {
(0, Lt.flushSync)(() => n(e));
- })), []), /* @__PURE__ */ (0, I.jsx)(eG.Provider, {
+ })), []), /* @__PURE__ */ (0, I.jsx)($W.Provider, {
value: t.openEpoch,
children: /* @__PURE__ */ (0, I.jsx)(Cf, {
location: t.location,
@@ -49974,34 +49974,34 @@ function rG({ children: e }) {
})
});
}
-function iG({ target: e }) {
+function rG({ target: e }) {
let t = ef();
return (0, F.useLayoutEffect)(() => {
e.current = t;
}), null;
}
-function tye(e, t, n) {
+function nye(e, t, n) {
let r = new URL(e, window.location.href);
- j6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);
+ M6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);
}
-function nye() {
- let e = (0, F.useContext)(nG), [t, n] = (0, F.useState)(lp), r = (0, F.useRef)(null);
+function rye() {
+ let e = (0, F.useContext)(tG), [t, n] = (0, F.useState)(lp), r = (0, F.useRef)(null);
(0, F.useLayoutEffect)(() => (n(lp()), up((e, t) => {
t ? (0, Lt.flushSync)(() => n(e)) : n(e);
})), []);
let i = (0, F.useMemo)(() => (t) => {
- e && r.current && tye(t, e, r.current);
+ e && r.current && nye(t, e, r.current);
}, [e]);
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(iG, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, I.jsx)(rye, {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(rG, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, I.jsx)(iye, {
entry: t,
- children: /* @__PURE__ */ (0, I.jsx)(iye, {
+ children: /* @__PURE__ */ (0, I.jsx)(aye, {
entry: t,
actions: e,
go: i
})
}, t.revision)) : null] });
}
-var rye = class extends F.Component {
+var iye = class extends F.Component {
state = { failed: !1 };
static getDerivedStateFromError() {
return { failed: !0 };
@@ -50012,48 +50012,48 @@ var rye = class extends F.Component {
render() {
return this.state.failed ? null : this.props.children;
}
-}, iye = (0, F.memo)(function({ entry: e, actions: t, go: n }) {
- return G6(e.path) ? (0, Lt.createPortal)(EFe(e.path, e.props, t, n), e.host, String(e.revision)) : null;
+}, aye = (0, F.memo)(function({ entry: e, actions: t, go: n }) {
+ return K6(e.path) ? (0, Lt.createPortal)(AFe(e.path, e.props, t, n), e.host, String(e.revision)) : null;
});
-function aye({ children: e }) {
+function oye({ children: e }) {
let t = Qd();
- tG();
+ eG();
let n = Op(), r = Af(t.pathname) && !Dp() ? Nf(t.state) : null;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsxs)(wf, {
location: n ?? t,
children: [
- Object.entries(A6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {
+ Object.entries(j6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {
path: e,
element: t.element
}, e)),
- Object.entries(SFe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {
+ Object.entries(EFe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {
path: e,
element: t.element
}, e)),
- Object.entries(M6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {
+ Object.entries(N6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {
path: e,
element: t.element
}, e)),
- Object.entries(F6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {
+ Object.entries(I6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {
path: e,
element: t.element
}, e)),
- Object.entries(L6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {
+ Object.entries(R6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {
path: e,
element: t.element
}, e)),
- W6.map((e) => /* @__PURE__ */ (0, I.jsx)(Sf, {
+ G6.map((e) => /* @__PURE__ */ (0, I.jsx)(Sf, {
path: e,
- element: R6["/"].element
+ element: z6["/"].element
}, e)),
- Object.entries(CFe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {
+ Object.entries(DFe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {
path: e,
element: t.element
}, e)),
Pf.map((e) => /* @__PURE__ */ (0, I.jsx)(Sf, {
path: e,
- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, I.jsx)($W, {}) : R6["/"].element
+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, I.jsx)(QW, {}) : z6["/"].element
}, e)),
kf.map((e) => /* @__PURE__ */ (0, I.jsx)(Sf, {
path: e,
@@ -50069,7 +50069,7 @@ function aye({ children: e }) {
location: r ?? t,
children: [Pf.map((e) => /* @__PURE__ */ (0, I.jsx)(Sf, {
path: e,
- element: /* @__PURE__ */ (0, I.jsx)(ZW, { path: e })
+ element: /* @__PURE__ */ (0, I.jsx)(XW, { path: e })
}, e)), /* @__PURE__ */ (0, I.jsx)(Sf, {
path: "*",
element: null
@@ -50084,31 +50084,31 @@ function aye({ children: e }) {
})] })
] });
}
-function oye({ children: e, actions: t = null, background: n, processing: r = !1 }) {
- return /* @__PURE__ */ (0, I.jsxs)(tH, { children: [n, /* @__PURE__ */ (0, I.jsx)(nG.Provider, {
+function sye({ children: e, actions: t = null, background: n, processing: r = !1 }) {
+ return /* @__PURE__ */ (0, I.jsxs)(tH, { children: [n, /* @__PURE__ */ (0, I.jsx)(tG.Provider, {
value: t,
- children: /* @__PURE__ */ (0, I.jsxs)(rG, { children: [
- /* @__PURE__ */ (0, I.jsx)(nye, {}),
- /* @__PURE__ */ (0, I.jsx)(GW, {}),
- /* @__PURE__ */ (0, I.jsx)(JW, {}),
+ children: /* @__PURE__ */ (0, I.jsxs)(nG, { children: [
+ /* @__PURE__ */ (0, I.jsx)(rye, {}),
+ /* @__PURE__ */ (0, I.jsx)(WW, {}),
+ /* @__PURE__ */ (0, I.jsx)(qW, {}),
r && t ? /* @__PURE__ */ (0, I.jsx)(Y_e, { toast: t.toast }) : null,
r && t ? /* @__PURE__ */ (0, I.jsx)($_e, {}) : null,
r && t ? /* @__PURE__ */ (0, I.jsx)(Nve, { navigate: t.navigate }) : null,
r && t ? /* @__PURE__ */ (0, I.jsx)(kve, { actions: t }) : null,
- /* @__PURE__ */ (0, I.jsx)(aye, { children: e })
+ /* @__PURE__ */ (0, I.jsx)(oye, { children: e })
] })
})] });
}
-var sye = { onCaughtError: (e) => {
+var cye = { onCaughtError: (e) => {
globalThis.reportError?.(e);
-} }, aG = {
+} }, iG = {
category: "个人分类",
creator: "创作者/账号",
performer: "人物",
seller: "卖家",
studio: "厂牌"
};
-function oG(e, t = "", n = "") {
+function aG(e, t = "", n = "") {
let r = new URLSearchParams({
...e,
folder: t,
@@ -50120,14 +50120,14 @@ function oG(e, t = "", n = "") {
queryFn: ({ signal: e }) => B(`/api/folders?${r}`, e)
};
}
-function sG(e, t) {
+function oG(e, t) {
let n = new URLSearchParams(e.search);
for (let [e, r] of Object.entries(t)) r ? n.set(e, r) : n.delete(e);
return e.pathname + (n.size ? `?${n}` : "");
}
// src/react/catalog-folders/folder-rule-dialog.tsx
-function cye({ folder: e, rule: t, revision: n, close: r }) {
- let i = (0, F.useContext)(nG), a = OH(), [o, s] = (0, F.useState)(t?.purpose || "category"), [c, l] = (0, F.useState)(t?.name || ""), [u, d] = (0, F.useState)(t?.recursive ?? !0), [f, p] = (0, F.useState)(t?.future ?? !1), [m, h] = (0, F.useState)(null), [g, _] = (0, F.useState)(!1), v = {
+function lye({ folder: e, rule: t, revision: n, close: r }) {
+ let i = (0, F.useContext)(tG), a = OH(), [o, s] = (0, F.useState)(t?.purpose || "category"), [c, l] = (0, F.useState)(t?.name || ""), [u, d] = (0, F.useState)(t?.recursive ?? !0), [f, p] = (0, F.useState)(t?.future ?? !1), [m, h] = (0, F.useState)(null), [g, _] = (0, F.useState)(!1), v = {
folder: e.id,
purpose: o,
name: c,
@@ -50170,7 +50170,7 @@ function cye({ folder: e, rule: t, revision: n, close: r }) {
className: "flex items-start justify-between gap-4 border-b border-separator-border p-5",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
className: "min-w-0",
- children: [/* @__PURE__ */ (0, I.jsx)(tR, {
+ children: [/* @__PURE__ */ (0, I.jsx)(eR, {
slot: "title",
className: "text-title-2-medium",
children: "设置目录用途"
@@ -50197,7 +50197,7 @@ function cye({ folder: e, rule: t, revision: n, close: r }) {
onSelectionChange: (e) => {
s(e), y();
},
- children: Object.entries(aG).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(rW, {
+ children: Object.entries(iG).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(rW, {
id: e,
children: t
}, e))
@@ -50325,7 +50325,7 @@ function cye({ folder: e, rule: t, revision: n, close: r }) {
});
}
// src/react/catalog-folders/use-folder-sticky-offset.ts
-function lye(e, t) {
+function uye(e, t) {
(0, F.useLayoutEffect)(() => {
if (!e) return;
let n = t ? document.getElementById("index") : document.getElementById("catalogFilter"), r = null, i = 0, a = new ResizeObserver(() => s()), o = () => {
@@ -50348,34 +50348,34 @@ function lye(e, t) {
}, [e, t]);
}
// src/react/catalog-folders/catalog-folders-page.tsx
-function cG() {
- return Zd() ? /* @__PURE__ */ (0, I.jsx)(uye, {}) : null;
+function sG() {
+ return Zd() ? /* @__PURE__ */ (0, I.jsx)(dye, {}) : null;
}
-function uye() {
- let e = Qd(), t = (0, F.useContext)(nG);
+function dye() {
+ let e = Qd(), t = (0, F.useContext)(tG);
if (!An(e.pathname) && !/^\/(performers|creators|studios|series|agencies|tags)\/[^/]+$/.test(e.pathname)) return null;
let n = new URLSearchParams(e.search), r = n.get("browse") === "folders" || !!n.get("folder");
- return /* @__PURE__ */ (0, I.jsx)(xL, {
+ return /* @__PURE__ */ (0, I.jsx)(bL, {
size: "small",
"data-folder-mode-toggle": "",
"aria-label": "文件夹模式",
title: "文件夹模式",
"aria-pressed": r,
icon: GB,
- onClick: () => t?.navigate(sG(e, r ? {
+ onClick: () => t?.navigate(oG(e, r ? {
browse: null,
folder: null,
folder_recursive: null
} : { browse: "folders" }))
});
}
-function dye({ children: e, enabled: t }) {
- return Zd() ? /* @__PURE__ */ (0, I.jsx)(fye, {
+function fye({ children: e, enabled: t }) {
+ return Zd() ? /* @__PURE__ */ (0, I.jsx)(pye, {
enabled: t,
children: e
}) : /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: e });
}
-function fye({ children: e, enabled: t }) {
+function pye({ children: e, enabled: t }) {
let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(null), o = Qd(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "entity-folder-workspace",
@@ -50395,7 +50395,7 @@ function fye({ children: e, enabled: t }) {
hidden: !c
}), e]
}),
- n && i ? /* @__PURE__ */ (0, I.jsx)(lG, {
+ n && i ? /* @__PURE__ */ (0, I.jsx)(cG, {
treeTarget: n,
headerTarget: i,
enabled: t
@@ -50403,14 +50403,14 @@ function fye({ children: e, enabled: t }) {
]
});
}
-function lG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
- let r = Qd(), i = (0, F.useContext)(nG), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {
+function cG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
+ let r = Qd(), i = (0, F.useContext)(tG), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {
loc: a.get("loc") ?? "",
library: a.get("library") ?? ""
};
- lye(o, e);
+ uye(o, e);
let c = a.get("folder") || "", l = Pt({
- ...oG(s, c),
+ ...aG(s, c),
enabled: o
}), [u, d] = (0, F.useState)(!1), [f, p] = (0, F.useState)(!1), m = e ?? document.getElementById("catalogFoldersTree"), h = t ?? document.getElementById("catalogFolderHeader");
if ((0, F.useLayoutEffect)(() => (m && (m.hidden = !o), h && (h.hidden = !o), e || document.body.toggleAttribute("data-folder-browse", o), () => {
@@ -50424,11 +50424,11 @@ function lG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
d(!1), p(!1);
}, [c, o]), !o || !m || !h || !i) return null;
let g = (e) => {
- d(!1), i.navigate(sG(r, {
+ d(!1), i.navigate(oG(r, {
browse: "folders",
folder: e
}));
- }, _ = l.data, v = /* @__PURE__ */ (0, I.jsx)(mye, {
+ }, _ = l.data, v = /* @__PURE__ */ (0, I.jsx)(hye, {
scope: s,
selected: c,
current: _,
@@ -50445,7 +50445,7 @@ function lG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
children: [
/* @__PURE__ */ (0, I.jsx)("span", {
className: "folder-drawer-trigger",
- children: /* @__PURE__ */ (0, I.jsx)(xL, {
+ children: /* @__PURE__ */ (0, I.jsx)(bL, {
"aria-label": "打开文件夹目录",
icon: lge,
size: "small",
@@ -50469,7 +50469,7 @@ function lG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
})
}, e.id))]
}),
- _?.selected ? /* @__PURE__ */ (0, I.jsx)(xL, {
+ _?.selected ? /* @__PURE__ */ (0, I.jsx)(bL, {
"aria-label": "设置目录用途",
icon: Xhe,
size: "small",
@@ -50504,11 +50504,11 @@ function lG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
children: [/* @__PURE__ */ (0, I.jsx)(QV, {
size: "sm",
isSelected: a.get("folder_recursive") !== "0",
- onChange: (e) => i.navigate(sG(r, { folder_recursive: e ? null : "0" })),
+ onChange: (e) => i.navigate(oG(r, { folder_recursive: e ? null : "0" })),
children: "包含子文件夹"
}), /* @__PURE__ */ (0, I.jsx)("span", {
className: "text-caption-1-regular text-text-tertiary",
- children: _.rule ? `${aG[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"
+ children: _.rule ? `${iG[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"
})]
}) : null,
l.isPending ? /* @__PURE__ */ (0, I.jsx)("div", {
@@ -50518,7 +50518,7 @@ function lG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
className: "folder-children",
children: Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsx)("span", { className: "skeleton-sheen h-8 w-28 rounded-lg" }, t))
}) : null,
- _?.children.length ? /* @__PURE__ */ (0, I.jsx)(pye, {
+ _?.children.length ? /* @__PURE__ */ (0, I.jsx)(mye, {
nodes: _.children,
go: g
}, c) : null
@@ -50543,7 +50543,7 @@ function lG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
children: u ? v : null
})]
}),
- f && _?.selected ? /* @__PURE__ */ (0, I.jsx)(cye, {
+ f && _?.selected ? /* @__PURE__ */ (0, I.jsx)(lye, {
folder: _.selected,
rule: _.rule,
revision: _.rules_revision,
@@ -50551,7 +50551,7 @@ function lG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
}, _.selected.id) : null
] });
}
-function pye({ nodes: e, go: t }) {
+function mye({ nodes: e, go: t }) {
let [n, r] = (0, F.useState)(!1), i = (0, F.useId)(), a = n ? e : e.slice(0, 12);
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 flex-col items-start gap-2",
@@ -50579,15 +50579,15 @@ function pye({ nodes: e, go: t }) {
}) : null]
});
}
-function mye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
- let a = Pt(oG(e)), [o, s] = (0, F.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, F.useState)(""), u = (0, F.useDeferredValue)(c), d = Pt({
- ...oG(e, "", u),
+function hye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
+ let a = Pt(aG(e)), [o, s] = (0, F.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, F.useState)(""), u = (0, F.useDeferredValue)(c), d = Pt({
+ ...aG(e, "", u),
enabled: !!u.trim()
}), f = $V();
(0, F.useEffect)(() => {
n?.ancestors.length && s((e) => /* @__PURE__ */ new Set([...e, ...n.ancestors.filter((e) => e.has_children).map((e) => e.id)]));
}, [n?.ancestors]);
- let p = [...o].map(String), m = Mt({ queries: p.map((t) => oG(e, t)) }), h = /* @__PURE__ */ new Map();
+ let p = [...o].map(String), m = Mt({ queries: p.map((t) => aG(e, t)) }), h = /* @__PURE__ */ new Map();
m.forEach((e, t) => {
e.data && h.set(p[t], e.data.children);
}), n?.selected && h.set(n.selected.id, n.children);
@@ -50693,7 +50693,7 @@ function mye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
size: "compact",
icon: GB,
title: "尚未添加媒体目录",
- actions: /* @__PURE__ */ (0, I.jsx)(NL, {
+ actions: /* @__PURE__ */ (0, I.jsx)(ML, {
size: "small",
href: "/settings/library",
children: "添加媒体"
@@ -50706,42 +50706,42 @@ function mye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
});
}
// src/react/catalog-grid/catalog-view.ts
-var uG = "peach.catalog-view.v1", dG = /* @__PURE__ */ new Set(), fG = "cards";
-function pG() {
+var lG = "peach.catalog-view.v1", uG = /* @__PURE__ */ new Set(), dG = "cards";
+function fG() {
try {
- return localStorage.getItem(uG) === "list" ? "list" : "cards";
+ return localStorage.getItem(lG) === "list" ? "list" : "cards";
} catch {
- return fG;
+ return dG;
}
}
-function hye(e) {
- fG = e === "list" ? "list" : "cards";
+function gye(e) {
+ dG = e === "list" ? "list" : "cards";
try {
- localStorage.setItem(uG, fG);
+ localStorage.setItem(lG, dG);
} catch {}
- dG.forEach((e) => e());
+ uG.forEach((e) => e());
}
-function gye(e) {
- dG.add(e);
+function _ye(e) {
+ uG.add(e);
let t = (t) => {
- (t.key === uG || t.key === null) && e();
+ (t.key === lG || t.key === null) && e();
};
return addEventListener("storage", t), () => {
- dG.delete(e), removeEventListener("storage", t);
+ uG.delete(e), removeEventListener("storage", t);
};
}
-var mG = () => (0, F.useSyncExternalStore)(gye, pG, () => "cards");
+var pG = () => (0, F.useSyncExternalStore)(_ye, fG, () => "cards");
// src/react/catalog-grid/catalog-view-toggle.tsx
-function hG() {
- let e = mG();
- return /* @__PURE__ */ (0, I.jsxs)(Kz, {
+function mG() {
+ let e = pG();
+ return /* @__PURE__ */ (0, I.jsxs)(Gz, {
"aria-label": "馆藏显示方式",
orientation: "horizontal",
value: e,
- onChange: hye,
+ onChange: gye,
"data-entity-layout": "",
className: yU,
- children: [/* @__PURE__ */ (0, I.jsx)(qz, {
+ children: [/* @__PURE__ */ (0, I.jsx)(Kz, {
value: "cards",
"aria-label": "卡片",
className: bU,
@@ -50754,7 +50754,7 @@ function hG() {
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, I.jsx)(qz, {
+ }), /* @__PURE__ */ (0, I.jsx)(Kz, {
value: "list",
"aria-label": "列表",
className: bU,
@@ -50771,8 +50771,8 @@ function hG() {
});
}
// src/react/components/icon-swap.tsx
-function gG({ a: e, b: t, state: n, className: r }) {
- let { isFocusVisible: i } = MC();
+function hG({ a: e, b: t, state: n, className: r }) {
+ let { isFocusVisible: i } = AC();
return /* @__PURE__ */ (0, I.jsxs)("span", {
"aria-hidden": !0,
className: `iconswap ${r || ""}`,
@@ -50788,114 +50788,114 @@ function gG({ a: e, b: t, state: n, className: r }) {
})]
});
}
-function _G({ className: e }) {
- return /* @__PURE__ */ (0, I.jsx)(gG, {
- a: jhe,
- b: Ahe,
+function gG({ className: e }) {
+ return /* @__PURE__ */ (0, I.jsx)(hG, {
+ a: Mhe,
+ b: jhe,
className: e
});
}
// src/react/follow-feed/follow-marks.ts
-var vG = (e) => typeof e == "string" ? e : "", yG = (e) => e.aliases;
-function bG(e, t = "") {
+var _G = (e) => typeof e == "string" ? e : "", vG = (e) => e.aliases;
+function yG(e, t = "") {
let n = qi(e);
return n ? `<img data-follow-site-icon="" src="${n}" alt="${z(t)}"${t ? ` title="${z(t)}"` : ""} loading="lazy" data-drop="self">` : "";
}
-function xG(e, t = "") {
+function bG(e, t = "") {
let n = z(oi(t || e)), r = qi(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 SG = (e) => vG(e.title).trim() || "未命名内容", CG = (e, t) => ai(e, yG(t));
-function wG(e) {
+var xG = (e) => _G(e.title).trim() || "未命名内容", SG = (e, t) => ai(e, vG(t));
+function CG(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 = vG(n.entity_name);
+ let n = t[0], r = _G(n.entity_name);
return cn("creator", r, n.entity_id), r;
}
-function TG(e, t) {
+function wG(e, t) {
let { src: n, fallback: r } = si(e), i = oi(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 EG(e, t, n) {
- let r = yG(n), i = e.credit, a = i?.poster;
+function TG(e, t, n) {
+ let r = vG(n), i = e.credit, a = i?.poster;
if (!a) {
let n = ai(t, r);
return {
- author: n || vG(e.author) || vG(e.source_label) || "创作者未取得",
- avatar: TG(t, n),
+ author: n || _G(e.author) || _G(e.source_label) || "创作者未取得",
+ avatar: wG(t, n),
credited: "",
- entityName: wG(t)
+ entityName: CG(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 && ai(c, r) || a;
return {
author: l,
- avatar: TG(c, l),
+ avatar: wG(c, l),
credited: i.credited || "",
- entityName: wG(c)
+ entityName: CG(c)
};
}
-function DG(e, t = e.primary) {
+function EG(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 = vG(e.primary.version);
+ let i = _G(e.primary.version);
i && n.push(r("version", z(i)));
- let a = vG(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
+ let a = _G(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
return o && n.push(r(a, o)), n.join("");
}
-function OG(e, t = e.primary) {
+function DG(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]) => bG(e, t) || `<span>${z(t)}</span>`).join("");
+ let r = [...n].map(([e, t]) => yG(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 kG(e, t) {
- let n = vG(e.media_error);
+function OG(e, t) {
+ let n = _G(e.media_error);
return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";
}
-var _ye = 864e5, vye = (e, t) => {
+var vye = 864e5, yye = (e, t) => {
let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();
- return Number.isFinite(n) && n - t > _ye;
+ return Number.isFinite(n) && n - t > vye;
};
-function AG(e, t) {
- let n = vG(e.published_at);
+function kG(e, t) {
+ let n = _G(e.published_at);
if (!n) return null;
let r = e.published_precision === "approximate", i = Sr(n);
return {
prefix: r ? "约 " : "",
full: r ? i.slice(0, 10) : i,
- suffix: vye(n, t) ? " · 晚于现在" : ""
+ suffix: yye(n, t) ? " · 晚于现在" : ""
};
}
-function jG(e, t = Date.now()) {
- let n = AG(e, t);
+function AG(e, t = Date.now()) {
+ let n = kG(e, t);
return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";
}
-function yye(e, t = Date.now()) {
- let n = AG(e, t);
+function bye(e, t = Date.now()) {
+ let n = kG(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 MG = /* @__PURE__ */ new Set(), NG = [], PG = null;
-function FG() {
- if (PG = null, !NG.length) return;
- let e = NG.splice(0, 200);
+var jG = /* @__PURE__ */ new Set(), MG = [], NG = null;
+function PG() {
+ if (NG = null, !MG.length) return;
+ let e = MG.splice(0, 200);
wn("/api/follow/image-dims", {
method: "POST",
body: JSON.stringify({ entries: e })
- }).catch(() => {}), NG.length && (PG = setTimeout(FG, 800));
+ }).catch(() => {}), MG.length && (NG = setTimeout(PG, 800));
}
-function bye(e, t, n, r) {
+function xye(e, t, n, r) {
let i = `${e}:${t ?? ""}`;
- MG.has(i) || (MG.add(i), NG.push(t === null ? {
+ jG.has(i) || (jG.add(i), MG.push(t === null ? {
item: e,
width: n,
height: r
@@ -50904,25 +50904,25 @@ function bye(e, t, n, r) {
width: n,
height: r,
media: t
- }), PG ||= setTimeout(FG, 800));
+ }), NG ||= setTimeout(PG, 800));
}
// src/react/entity-filter/entity-filter.ts
-var xye = (e) => e === "videos", IG = () => /* @__PURE__ */ (0, I.jsx)("span", {
+var Sye = (e) => e === "videos", FG = () => /* @__PURE__ */ (0, I.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), Sye = EV("shuffle"), Cye = EV("arrow-up"), wye = EV("arrow-down");
-function Tye(e) {
- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = xye(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({
+}), Cye = EV("shuffle"), wye = EV("arrow-up"), Tye = EV("arrow-down");
+function Eye(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]) => ({
k: e,
label: t
- })) : i, m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = jL(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = jL(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, F.useRef)(null), w = (0, F.useRef)(null), T = u?.mediaCounts ? u : null, E = jL(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);
+ })) : i, m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = AL(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = AL(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, F.useRef)(null), w = (0, F.useRef)(null), T = u?.mediaCounts ? u : null, E = AL(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);
return (0, F.useEffect)(() => {
c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(b.current);
- }, [c]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(LG, {
+ }, [c]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(IG, {
items: o,
hidden: !l,
actions: s
- }), /* @__PURE__ */ (0, I.jsx)(EL, {
+ }), /* @__PURE__ */ (0, I.jsx)(TL, {
label: "筛选与排序",
topLabel: "媒体与标签",
attrs: {
@@ -50951,19 +50951,19 @@ function Tye(e) {
})
] }),
top: !n && !d ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(kye, {
+ n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Aye, {
keys: n,
view: t,
row: _,
glide: S,
onView: s.setView
- }), d ? /* @__PURE__ */ (0, I.jsx)(IG, {}) : null] }) : null,
- T ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Dye, {
+ }), d ? /* @__PURE__ */ (0, I.jsx)(FG, {}) : null] }) : null,
+ T ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Oye, {
head: T,
row: w,
glide: E,
onMedia: s.onlineMedia
- }), /* @__PURE__ */ (0, I.jsx)(IG, {})] }) : null,
+ }), /* @__PURE__ */ (0, I.jsx)(FG, {})] }) : null,
/* @__PURE__ */ (0, I.jsxs)("div", {
ref: v,
"data-entity-scroll": "",
@@ -50984,11 +50984,11 @@ function Tye(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, I.jsx)(IG, {}) : null]
+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, I.jsx)(FG, {}) : null]
}), /* @__PURE__ */ (0, I.jsx)("div", {
ref: y,
"data-entity-tags": "",
- children: l ? a.map((e) => /* @__PURE__ */ (0, I.jsxs)(DL, {
+ children: l ? a.map((e) => /* @__PURE__ */ (0, I.jsxs)(EL, {
"data-entity-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -50997,17 +50997,17 @@ function Tye(e) {
"data-count-badge": e.k,
children: e.n.toLocaleString()
})]
- }, e.k)) : u ? /* @__PURE__ */ (0, I.jsx)(Oye, {
+ }, e.k)) : u ? /* @__PURE__ */ (0, I.jsx)(kye, {
head: u,
actions: s
}) : null
})]
})
] }),
- bottom: /* @__PURE__ */ (0, I.jsx)(Aye, { ...e })
+ bottom: /* @__PURE__ */ (0, I.jsx)(jye, { ...e })
})] });
}
-var Eye = [[
+var Dye = [[
"videos",
"视频",
"play",
@@ -51018,7 +51018,7 @@ var Eye = [[
"pics",
"image"
]];
-function Dye({ head: e, row: t, glide: n, onMedia: r }) {
+function Oye({ head: e, row: t, glide: n, onMedia: r }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
ref: t,
role: "group",
@@ -51026,7 +51026,7 @@ function Dye({ head: e, row: t, glide: n, onMedia: r }) {
"data-entity-media": "",
"data-online-media": "",
onPointerLeave: n.leave,
- children: Eye.map(([t, i, a, o]) => {
+ children: Dye.map(([t, i, a, o]) => {
let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -51044,7 +51044,7 @@ function Dye({ head: e, row: t, glide: n, onMedia: r }) {
})
});
}
-function Oye({ head: e, actions: t }) {
+function kye({ head: e, actions: t }) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
e.providers.map(([n, r]) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -51054,10 +51054,10 @@ function Oye({ head: e, actions: t }) {
title: r,
"aria-label": `来源:${r}`,
onClick: () => t.onlineProvider(n),
- dangerouslySetInnerHTML: { __html: bG(n) }
+ dangerouslySetInnerHTML: { __html: yG(n) }
}, n)),
- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, I.jsx)(IG, {}) : null,
- e.tags.map((e) => /* @__PURE__ */ (0, I.jsxs)(DL, {
+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, I.jsx)(FG, {}) : null,
+ e.tags.map((e) => /* @__PURE__ */ (0, I.jsxs)(EL, {
"data-follow-tag": e.k,
"data-entity-press": "",
"data-tag-cat": `r34-${e.cat}`,
@@ -51070,7 +51070,7 @@ function Oye({ head: e, actions: t }) {
}, e.k))
] });
}
-function kye({ keys: e, view: t, row: n, glide: r, onView: i }) {
+function Aye({ keys: e, view: t, row: n, glide: r, onView: i }) {
let a = [];
return e.people && a.push({
value: "people",
@@ -51118,7 +51118,7 @@ function kye({ keys: e, view: t, row: n, glide: r, onView: i }) {
})
});
}
-function LG({ items: e, hidden: t, actions: n }) {
+function IG({ items: e, hidden: t, actions: n }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-entity-combo": "",
hidden: t,
@@ -51138,7 +51138,7 @@ function LG({ items: e, hidden: t, actions: n }) {
})] }) : null
});
}
-function Aye(e) {
+function jye(e) {
let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
t === "photos" && a?.back ? /* @__PURE__ */ (0, I.jsxs)("button", {
@@ -51150,30 +51150,30 @@ function Aye(e) {
dangerouslySetInnerHTML: { __html: R("chevron-left") }
}), /* @__PURE__ */ (0, I.jsx)("span", { children: "全部照片" })]
}) : null,
- /* @__PURE__ */ (0, I.jsx)(jye, {
+ /* @__PURE__ */ (0, I.jsx)(Mye, {
text: n,
busy: r
}),
/* @__PURE__ */ (0, I.jsx)(VV, { currentHref: () => location.pathname + location.search }),
- t === "videos" && i ? /* @__PURE__ */ (0, I.jsx)(Mye, {
+ t === "videos" && i ? /* @__PURE__ */ (0, I.jsx)(Nye, {
head: i,
actions: o
}) : null,
- t === "photos" && a ? /* @__PURE__ */ (0, I.jsx)(Pye, {
+ t === "photos" && a ? /* @__PURE__ */ (0, I.jsx)(Fye, {
head: a,
actions: o,
helpers: s
}) : null,
- t === "online" && e.online ? /* @__PURE__ */ (0, I.jsx)(Nye, {
+ t === "online" && e.online ? /* @__PURE__ */ (0, I.jsx)(Pye, {
head: e.online,
actions: o
}) : null
] });
}
-function jye({ text: e, busy: t }) {
+function Mye({ text: e, busy: t }) {
return /* @__PURE__ */ (0, I.jsx)("h3", {
"data-entity-readout": "",
- children: /* @__PURE__ */ (0, I.jsx)(yL, {
+ children: /* @__PURE__ */ (0, I.jsx)(vL, {
text: t ? void 0 : e,
busy: t,
placeholder: /* @__PURE__ */ (0, I.jsx)("span", {
@@ -51184,8 +51184,8 @@ function jye({ text: e, busy: t }) {
})
});
}
-function RG({ name: e, label: t, value: n, options: r, onChange: i }) {
- return /* @__PURE__ */ (0, I.jsx)(Kz, {
+function LG({ name: e, label: t, value: n, options: r, onChange: i }) {
+ return /* @__PURE__ */ (0, I.jsx)(Gz, {
name: e,
"aria-label": t,
orientation: "horizontal",
@@ -51195,7 +51195,7 @@ function RG({ name: e, label: t, value: n, options: r, onChange: i }) {
className: yU,
children: r.map(([e, t, n]) => {
let r = EV(n);
- return /* @__PURE__ */ (0, I.jsx)(qz, {
+ return /* @__PURE__ */ (0, I.jsx)(Kz, {
value: e,
"aria-label": t,
"data-glass-segment": "",
@@ -51209,38 +51209,38 @@ function RG({ name: e, label: t, value: n, options: r, onChange: i }) {
})
});
}
-function zG({ onPress: e, busy: t = !1 }) {
- return /* @__PURE__ */ (0, I.jsx)(TL, {
+function RG({ onPress: e, busy: t = !1 }) {
+ return /* @__PURE__ */ (0, I.jsx)(wL, {
"data-entity-batch": "",
label: "换一批",
busy: t,
busyStyle: "strand",
- icon: Sye,
+ icon: Cye,
onPress: e
});
}
-function Mye({ head: e, actions: t }) {
- let n = mG();
+function Nye({ head: e, actions: t }) {
+ let n = pG();
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(zG, { onPress: () => void t.reshuffle() }),
- e.jav && n === "cards" ? /* @__PURE__ */ (0, I.jsx)(RG, {
+ /* @__PURE__ */ (0, I.jsx)(RG, { onPress: () => void t.reshuffle() }),
+ e.jav && n === "cards" ? /* @__PURE__ */ (0, I.jsx)(LG, {
label: "JAV 卡片版式",
value: e.jav.layout,
options: e.jav.options,
onChange: t.setJavLayout
}) : null,
- /* @__PURE__ */ (0, I.jsx)(hG, {}),
- /* @__PURE__ */ (0, I.jsx)(cG, {}),
- /* @__PURE__ */ (0, I.jsx)(BG, {
+ /* @__PURE__ */ (0, I.jsx)(mG, {}),
+ /* @__PURE__ */ (0, I.jsx)(sG, {}),
+ /* @__PURE__ */ (0, I.jsx)(zG, {
sorts: e.sorts,
onSort: t.setSort
})
]
});
}
-function BG({ sorts: e, onSort: t }) {
+function zG({ sorts: e, onSort: t }) {
return /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-entity-sort": e.key,
@@ -51248,20 +51248,20 @@ function BG({ sorts: e, onSort: t }) {
"aria-pressed": e.pressed,
"aria-label": e.ariaLabel || void 0,
onClick: () => t(e.key),
- children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, I.jsx)(gG, {
- a: Cye,
- b: wye,
+ children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, I.jsx)(hG, {
+ a: wye,
+ b: Tye,
state: e.dir === "asc" ? "a" : "b",
className: "size-(--icon-inline)"
}) : null]
}, e.key)) });
}
-function Nye({ head: e, actions: t }) {
+function Pye({ head: e, actions: t }) {
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(zG, { onPress: t.onlineShuffle }),
- e.media === "images" ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(RG, {
+ /* @__PURE__ */ (0, I.jsx)(RG, { onPress: t.onlineShuffle }),
+ e.media === "images" ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(LG, {
label: "图片布局",
value: e.photoLayout,
options: e.photoLayouts,
@@ -51281,27 +51281,27 @@ function Nye({ head: e, actions: t }) {
dangerouslySetInnerHTML: { __html: R("captions-off") }
})]
})] }) : null,
- /* @__PURE__ */ (0, I.jsx)(BG, {
+ /* @__PURE__ */ (0, I.jsx)(zG, {
sorts: e.sorts,
onSort: t.onlineSort
})
]
});
}
-function Pye({ head: e, actions: t, helpers: n }) {
+function Fye({ head: e, actions: t, helpers: n }) {
let [r, i] = (0, F.useState)(!1), a = (0, F.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";
return (0, F.useEffect)(() => {
a.current && o && n.wireSourceTools(a.current);
}, [n, o]), /* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
children: [
- e.shuffle ? /* @__PURE__ */ (0, I.jsx)(zG, {
+ e.shuffle ? /* @__PURE__ */ (0, I.jsx)(RG, {
onPress: () => {
i(!0), t.reshuffle().finally(() => i(!1));
},
busy: r
}) : null,
- /* @__PURE__ */ (0, I.jsx)(RG, {
+ /* @__PURE__ */ (0, I.jsx)(LG, {
label: "图片布局",
value: e.layout,
options: e.layouts,
@@ -51316,8 +51316,8 @@ function Pye({ head: e, actions: t, helpers: n }) {
});
}
// src/react/catalog-filter/catalog-filter.ts
-var Fye = "peach.catalog.tiers.v1";
-function VG() {
+var Iye = "peach.catalog.tiers.v1";
+function BG() {
try {
let e = JSON.parse(localStorage.getItem("peach.catalog.tiers.v1") || "{}");
return {
@@ -51331,40 +51331,40 @@ function VG() {
};
}
}
-function Iye(e) {
+function Lye(e) {
try {
let t = JSON.stringify({
performers: e.performers,
studios: e.studios
});
- localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(Fye, t);
+ localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(Iye, t);
} catch {}
}
// src/react/catalog-filter/catalog-filter-page.tsx
-function Lye(e) {
- let t = !e.tiers, n = Wye(e.comboHost);
+function Rye(e) {
+ let t = !e.tiers, n = Gye(e.comboHost);
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-catalog-root": "",
"data-loading": t || void 0,
"data-refreshing": e.refreshing || void 0,
className: "contents",
children: [
- n ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(LG, {
+ n ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(IG, {
items: e.combo,
hidden: e.comboHidden,
actions: e.actions
}), n) : null,
- /* @__PURE__ */ (0, I.jsx)(Bye, { ...e }),
- e.offscreen ? null : /* @__PURE__ */ (0, I.jsx)(Rye, { ...e })
+ /* @__PURE__ */ (0, I.jsx)(Vye, { ...e }),
+ e.offscreen ? null : /* @__PURE__ */ (0, I.jsx)(zye, { ...e })
]
});
}
-function Rye(e) {
- let { actions: t, helpers: n } = e, r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(!1), u = jL(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
+function zye(e) {
+ let { actions: t, helpers: n } = e, r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(!1), u = AL(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
(0, F.useEffect)(() => {
n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);
}, [n]);
- let d = !e.tiers, f = UG(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
+ let d = !e.tiers, f = HG(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
return (0, F.useLayoutEffect)(() => {
if (d) {
l(!1);
@@ -51388,7 +51388,7 @@ function Rye(e) {
e.sorts
]), (0, F.useLayoutEffect)(() => {
Zs(o.current, "tagbar");
- }, [f]), /* @__PURE__ */ (0, I.jsx)(EL, {
+ }, [f]), /* @__PURE__ */ (0, I.jsx)(TL, {
label: "筛选与排序",
topLabel: "视图与标签",
attrs: {
@@ -51432,23 +51432,23 @@ function Rye(e) {
}), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: o,
"data-catalog-tags": "",
- children: [e.empty || d ? /* @__PURE__ */ (0, I.jsx)(HG, { kind: "tag" }) : null, f.map((n) => /* @__PURE__ */ (0, I.jsx)(zye, {
+ children: [e.empty || d ? /* @__PURE__ */ (0, I.jsx)(VG, { kind: "tag" }) : null, f.map((n) => /* @__PURE__ */ (0, I.jsx)(Bye, {
tag: n,
pending: e.tiersPending,
onPress: t.toggleTag
}, n.k))]
})]
}),
- bottom: e.trash ? null : /* @__PURE__ */ (0, I.jsx)(Hye, { ...e })
+ bottom: e.trash ? null : /* @__PURE__ */ (0, I.jsx)(Uye, { ...e })
});
}
-function zye({ tag: e, pending: t, onPress: n }) {
- return /* @__PURE__ */ (0, I.jsxs)(DL, {
+function Bye({ tag: e, pending: t, onPress: n }) {
+ return /* @__PURE__ */ (0, I.jsxs)(EL, {
"data-catalog-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
onPress: () => n(e.k),
- children: [/* @__PURE__ */ (0, I.jsx)(yL, {
+ children: [/* @__PURE__ */ (0, I.jsx)(vL, {
text: e.label,
busy: t
}), e.n == null ? null : /* @__PURE__ */ (0, I.jsx)("span", {
@@ -51457,15 +51457,15 @@ function zye({ tag: e, pending: t, onPress: n }) {
})]
});
}
-function Bye(e) {
- vL();
+function Vye(e) {
+ _L();
let { actions: t, helpers: n } = e, r = e.tiers ?? {
key: "",
performers: [],
studios: []
- }, i = !e.tiers, a = e.empty || i, o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useCallback)((e) => () => t.moreTops(e), [t]), l = UG(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = UG(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, F.useMemo)(() => i ? VG() : null, [i]), f = d ? d.performers : e.empty || r.performers.length > 0, p = d ? d.studios : e.empty || r.studios.length > 0;
+ }, i = !e.tiers, a = e.empty || i, o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useCallback)((e) => () => t.moreTops(e), [t]), l = HG(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = HG(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, F.useMemo)(() => i ? BG() : null, [i]), f = d ? d.performers : e.empty || r.performers.length > 0, p = d ? d.studios : e.empty || r.studios.length > 0;
return (0, F.useEffect)(() => {
- i || Iye({
+ i || Lye({
performers: f,
studios: p
});
@@ -51486,7 +51486,7 @@ function Bye(e) {
children: [f ? /* @__PURE__ */ (0, I.jsx)("div", {
ref: o,
"data-catalog-tier": "performers",
- children: a ? /* @__PURE__ */ (0, I.jsx)(HG, { kind: "performer" }) : l.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {
+ children: a ? /* @__PURE__ */ (0, I.jsx)(VG, { kind: "performer" }) : l.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-tier-performer": "",
"data-entity-kind": "performer",
@@ -51497,7 +51497,7 @@ function Bye(e) {
dangerouslySetInnerHTML: { __html: n.ringHtml }
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-tier-name": "",
- children: /* @__PURE__ */ (0, I.jsx)(yL, {
+ children: /* @__PURE__ */ (0, I.jsx)(vL, {
text: tn("performer", n.name),
busy: e.tiersPending
})
@@ -51506,13 +51506,13 @@ function Bye(e) {
}) : null, p ? /* @__PURE__ */ (0, I.jsx)("div", {
ref: s,
"data-catalog-tier": "studios",
- children: a ? /* @__PURE__ */ (0, I.jsx)(HG, { kind: "studio" }) : u.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {
+ children: a ? /* @__PURE__ */ (0, I.jsx)(VG, { kind: "studio" }) : u.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-tier-studio": "",
"data-entity-kind": "studio",
"data-entity-name": n.name,
onClick: () => t.openEntity("studio", n.name),
- children: [/* @__PURE__ */ (0, I.jsx)(Vye, { studio: n }), /* @__PURE__ */ (0, I.jsx)(yL, {
+ children: [/* @__PURE__ */ (0, I.jsx)(Hye, { studio: n }), /* @__PURE__ */ (0, I.jsx)(vL, {
text: n.name,
busy: e.tiersPending
})]
@@ -51520,7 +51520,7 @@ function Bye(e) {
}) : null]
});
}
-function Vye({ studio: e }) {
+function Hye({ studio: e }) {
let [t, n] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsx)("span", {
"data-tier-mark": "",
@@ -51538,7 +51538,7 @@ function Vye({ studio: e }) {
}) : e.fallback
});
}
-function HG({ kind: e }) {
+function VG({ kind: e }) {
let t = Array.from({ length: 64 }, (e, t) => t);
return e === "tag" ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-catalog-placeholder": "tag",
@@ -51554,43 +51554,43 @@ function HG({ kind: e }) {
children: [/* @__PURE__ */ (0, I.jsx)("span", {}), /* @__PURE__ */ (0, I.jsx)("span", { children: "\xA0" })]
}, t)) });
}
-function Hye({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
- let a = mG(), [o, s] = (0, F.useState)(!1);
+function Uye({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
+ let a = pG(), [o, s] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("span", {
"data-catalog-summary": "",
- children: [/* @__PURE__ */ (0, I.jsx)(Uye, { count: e }), /* @__PURE__ */ (0, I.jsx)(VV, { currentHref: i.currentHref })]
+ children: [/* @__PURE__ */ (0, I.jsx)(Wye, { count: e }), /* @__PURE__ */ (0, I.jsx)(VV, { currentHref: i.currentHref })]
}), /* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(zG, {
+ /* @__PURE__ */ (0, I.jsx)(RG, {
onPress: () => {
s(!0), i.reshuffle().finally(() => s(!1));
},
busy: o || t
}),
- n && a === "cards" ? /* @__PURE__ */ (0, I.jsx)(RG, {
+ n && a === "cards" ? /* @__PURE__ */ (0, I.jsx)(LG, {
name: n.name,
label: n.label,
value: n.value,
options: n.options,
onChange: i.setLayout
}, n.name) : null,
- /* @__PURE__ */ (0, I.jsx)(hG, {}),
- /* @__PURE__ */ (0, I.jsx)(cG, {}),
- /* @__PURE__ */ (0, I.jsx)(BG, {
+ /* @__PURE__ */ (0, I.jsx)(mG, {}),
+ /* @__PURE__ */ (0, I.jsx)(sG, {}),
+ /* @__PURE__ */ (0, I.jsx)(zG, {
sorts: r,
onSort: i.setSort
})
]
})] });
}
-function Uye({ count: e }) {
+function Wye({ count: e }) {
let t = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : e === !1 ? "" : void 0;
return /* @__PURE__ */ (0, I.jsx)("span", {
"data-catalog-readout": "",
"data-count-readout": "",
role: "status",
- children: /* @__PURE__ */ (0, I.jsx)(yL, {
+ children: /* @__PURE__ */ (0, I.jsx)(vL, {
text: t,
busy: e === null,
placeholder: /* @__PURE__ */ (0, I.jsx)("span", {
@@ -51601,7 +51601,7 @@ function Uye({ count: e }) {
})
});
}
-function Wye(e) {
+function Gye(e) {
let [t, n] = (0, F.useState)(null);
return (0, F.useLayoutEffect)(() => {
if (!e) return;
@@ -51611,7 +51611,7 @@ function Wye(e) {
};
}, [e]), t;
}
-function UG(e, t, n, r, i) {
+function HG(e, t, n, r, i) {
let a = () => ({
key: n,
limit: r,
@@ -51654,8 +51654,8 @@ function UG(e, t, n, r, i) {
}), l.slice(0, c.limit);
}
// src/react/components/grid-reveal.tsx
-var WG = "100% 0px";
-function Gye(e, t) {
+var UG = "100% 0px";
+function Kye(e, t) {
let [n, r] = (0, F.useState)(e ? "skeleton" : "none"), [i] = (0, F.useState)(() => e ? t() : ""), a = (0, F.useRef)(null);
return (0, F.useLayoutEffect)(() => {
a.current && uc(a.current);
@@ -51681,7 +51681,7 @@ function Gye(e, t) {
fading: n === "fade"
};
}
-function GG({ message: e, onRetry: t }) {
+function WG({ message: e, onRetry: t }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-media-error": "",
onClick: (e) => {
@@ -51694,7 +51694,7 @@ function GG({ message: e, onRetry: t }) {
});
}
// src/react/components/skeleton-content.tsx
-function KG({ pending: e, skeletonHtml: t, children: n }) {
+function GG({ pending: e, skeletonHtml: t, children: n }) {
let r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = t();
return (0, F.useLayoutEffect)(() => {
e || (r.current = n);
@@ -51717,9 +51717,46 @@ function KG({ pending: e, skeletonHtml: t, children: n }) {
})]
});
}
+// src/react/components/recommendation-reason.tsx
+var qye = 3;
+function Jye(e, t, n = qye) {
+ return [...e, t.slice(0, n).join("、")].filter(Boolean).join(" · ");
+}
+function KG({ reasons: e, tags: t = [] }) {
+ let n = (0, F.useRef)(null), [r, i] = (0, F.useState)(!1), a = Jye(e, t);
+ if (!a) return null;
+ let o = [e.join(" · "), t.length ? `共同标签:${t.join("、")}` : ""].filter(Boolean).join("\n");
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {
+ ref: n,
+ type: "button",
+ "data-media-next-reason": "",
+ title: o,
+ "aria-label": `查看推荐理由:${o}`,
+ "aria-haspopup": "dialog",
+ "aria-expanded": r,
+ onClick: (e) => {
+ e.stopPropagation(), i(!0);
+ },
+ children: a
+ }), /* @__PURE__ */ (0, I.jsx)(Tz, {
+ triggerRef: n,
+ isOpen: r,
+ onOpenChange: i,
+ placement: "top",
+ offset: 8,
+ containerPadding: 12,
+ className: GV,
+ children: /* @__PURE__ */ (0, I.jsx)(Rz, {
+ "data-media-reason-dialog": "",
+ "aria-label": "推荐理由",
+ className: "w-64 max-w-full p-2 text-body-regular whitespace-pre-line break-words text-text-primary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
+ children: o
+ })
+ })] });
+}
// src/library-catalog.ts
var qG = "peach.library-colors.v1", JG = null, YG = /* @__PURE__ */ new Set();
-function Kye() {
+function Yye() {
try {
let e = JSON.parse(localStorage.getItem(qG) || "{}");
return e && typeof e == "object" ? e : {};
@@ -51737,14 +51774,14 @@ function XG(e) {
function ZG() {
return JG;
}
-function qye(e) {
+function Xye(e) {
return YG.add(e), () => {
YG.delete(e);
};
}
// src/react/components/library-tint.ts
var QG = /* @__PURE__ */ new Map(), $G = !1, eK = /* @__PURE__ */ new Set();
-function Jye(e) {
+function Zye(e) {
let t = document.createElement("span");
t.setAttribute("data-accent-ball", e), t.hidden = !0, document.body.append(t);
let n = getComputedStyle(t).getPropertyValue("--color-accent-500").trim();
@@ -51753,7 +51790,7 @@ function Jye(e) {
function tK(e) {
QG = e;
let t = document.getElementById("peach-library-tints");
- t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...QG.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${Jye(e.color)}}`).join("\n");
+ t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...QG.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${Zye(e.color)}}`).join("\n");
}
function nK(e) {
tK(e), eK.forEach((e) => e());
@@ -51765,15 +51802,15 @@ var rK = (e) => new Map(e.map((e) => [e.id, {
location: e.roots?.[0]?.location || "",
color: e.color || ""
}])), iK = !1;
-function Yye() {
+function Qye() {
if (iK) return;
- iK = !0, qye((e) => nK(rK(e)));
+ iK = !0, Xye((e) => nK(rK(e)));
let e = ZG();
if (e) {
tK(rK(e));
return;
}
- let t = Object.entries(Kye()).filter(([, e]) => e);
+ let t = Object.entries(Yye()).filter(([, e]) => e);
t.length && tK(new Map(t.map(([e, t]) => [e, {
id: e,
name: "",
@@ -51782,12 +51819,12 @@ function Yye() {
color: t
}])));
}
-function Xye() {
+function $ye() {
$G || ZG() || ($G = !0, B("/api/libraries").then((e) => XG(e.libraries || [])).catch(() => {
$G = !1;
}));
}
-function Zye(e, t) {
+function ebe(e, t) {
let n = QG.get(e) ?? {
id: e,
name: "",
@@ -51800,20 +51837,20 @@ function Zye(e, t) {
color: t
}]]));
}
-function Qye(e) {
+function tbe(e) {
return eK.add(e), () => {
eK.delete(e);
};
}
function aK({ names: e = !1 } = {}) {
- return Yye(), e && Xye(), (0, F.useSyncExternalStore)(Qye, () => QG, () => QG);
+ return Qye(), e && $ye(), (0, F.useSyncExternalStore)(tbe, () => QG, () => QG);
}
// src/react/components/row-click.ts
-var $ye = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";
+var nbe = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";
function oK(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest($ye);
+ let r = n.closest(nbe);
return !r || !t.contains(r) || r === t;
}
function sK(e) {
@@ -51828,18 +51865,18 @@ function uK({ name: e }) {
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
}
-var ebe = {
+var rbe = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
-}, tbe = {
+}, ibe = {
manual: "手动",
junk: "垃圾",
duplicate: "重复",
missing: "文件缺失"
};
-function nbe(e) {
+function abe(e) {
if (Number(e.duration) < 0) return {
key: "unavailable",
label: "探查错误"
@@ -51869,7 +51906,7 @@ function nbe(e) {
}
function dK({ item: e }) {
if (e.disposal !== "trash") return null;
- let t = e.disposal_reason && tbe[e.disposal_reason] || "原因未记录";
+ let t = e.disposal_reason && ibe[e.disposal_reason] || "原因未记录";
return /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-disposal-reason": "",
title: `归入原因:${t}`,
@@ -51896,7 +51933,7 @@ function fK({ item: e, actions: t }) {
}) : null] });
}
function pK(e, t, n) {
- return t === "short" ? cK : AM(n);
+ return t === "short" ? cK : OM(n);
}
function mK(e) {
let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = ko(e), s = i[0] || "", c = mo(e);
@@ -51949,7 +51986,7 @@ function mK(e) {
})
};
}
-function rbe() {
+function obe() {
return /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -51968,7 +52005,7 @@ function rbe() {
})]
});
}
-function ibe({ item: e, actions: t, on: n, onChange: r }) {
+function sbe({ item: e, actions: t, on: n, onChange: r }) {
let [i, a] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-media-later": "",
@@ -51987,48 +52024,18 @@ function ibe({ item: e, actions: t, on: n, onChange: r }) {
})
});
}
-function abe({ reason: e }) {
- let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1);
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {
- ref: t,
- type: "button",
- "data-media-next-reason": "",
- title: e,
- "aria-label": `查看推荐理由:${e}`,
- "aria-haspopup": "dialog",
- "aria-expanded": n,
- onClick: (e) => {
- e.stopPropagation(), r(!0);
- },
- children: e
- }), /* @__PURE__ */ (0, I.jsx)(Ez, {
- triggerRef: t,
- isOpen: n,
- onOpenChange: r,
- placement: "top",
- offset: 8,
- containerPadding: 12,
- className: GV,
- children: /* @__PURE__ */ (0, I.jsx)(zz, {
- "data-media-reason-dialog": "",
- "aria-label": "推荐理由",
- className: "w-64 max-w-full p-2 text-body-regular whitespace-normal break-words text-text-primary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: e
- })
- })] });
-}
function hK(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 obe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {
- vL();
+function cbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {
+ _L();
let u = (0, F.useRef)(null), [d, f] = (0, F.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = aK(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, F.useRef)(e);
_.current = e;
let v = (0, F.useCallback)((e) => {
let t = _.current;
u.current && u.current !== e && jl(u.current), u.current = e, e && (!t.medium || t.medium === "video") && Nl(e, t);
- }, []), y = l && Number(e.part_group?.count) > 1 && e.part_group || null, b = l && Number(e.edition_group?.count) > 1 && e.edition_group || null, x = !!(y || b), S = n.active && !!e.is_jav, C = pK(e, t, n), w = S ? n.size : "small", T = C === cK && !!e.is_jav, E = T ? Eo(e, !1) : wo(e, w, !1, n.javImage), D = T || w === "small" ? E.html : wo(e, "small", !1, n.javImage).html, O = y?.title || e.name || "", k = o.displayName(e, O).trim() || lK, A = o.titleHtml(e, O).trim() || z(lK), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = Number(M) > 0 ? null : nbe(e), N = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: P } = mK(e), ne = (e.follow_tags || e.tags || []).slice(0, 3), re = (t) => {
+ }, []), y = l && Number(e.part_group?.count) > 1 && e.part_group || null, b = l && Number(e.edition_group?.count) > 1 && e.edition_group || null, x = !!(y || b), S = n.active && !!e.is_jav, C = pK(e, t, n), w = S ? n.size : "small", T = C === cK && !!e.is_jav, E = T ? Eo(e, !1) : wo(e, w, !1, n.javImage), D = T || w === "small" ? E.html : wo(e, "small", !1, n.javImage).html, O = y?.title || e.name || "", k = o.displayName(e, O).trim() || lK, A = o.titleHtml(e, O).trim() || z(lK), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = Number(M) > 0 ? null : abe(e), N = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: P } = mK(e), ne = (e.follow_tags || e.tags || []).slice(0, 3), re = (t) => {
let n = t.target;
if (n.closest("[data-media-reason-dialog]")) return;
let r = u.current;
@@ -52108,7 +52115,7 @@ function obe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-media-scrub": "",
children: /* @__PURE__ */ (0, I.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })
}),
- /* @__PURE__ */ (0, I.jsx)(rbe, {}),
+ /* @__PURE__ */ (0, I.jsx)(obe, {}),
p || g.length ? /* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-status": "",
children: [p ? /* @__PURE__ */ (0, I.jsx)("span", {
@@ -52123,7 +52130,7 @@ function obe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
children: /* @__PURE__ */ (0, I.jsx)(uK, { name: "heart" })
}) : null]
}) : null,
- i ? null : /* @__PURE__ */ (0, I.jsx)(ibe, {
+ i ? null : /* @__PURE__ */ (0, I.jsx)(sbe, {
item: e,
actions: s,
on: p,
@@ -52228,7 +52235,10 @@ function obe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
})
]
}),
- t === "next" ? e.why ? /* @__PURE__ */ (0, I.jsx)(abe, { reason: e.why }) : null : ne.length || e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)("div", {
+ t === "next" ? /* @__PURE__ */ (0, I.jsx)(KG, {
+ reasons: e.why ? e.why.split(" · ") : [],
+ tags: (e.why_tags || []).map(o.tagLabel)
+ }) : ne.length || e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-media-tags": "",
children: ne.map((t) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -52245,8 +52255,8 @@ function obe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
]
});
}
-function sbe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
- let o = (0, F.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : ebe[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";
+function lbe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
+ let o = (0, F.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : rbe[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";
return /* @__PURE__ */ (0, I.jsxs)("article", {
ref: o,
"data-media-card": "",
@@ -52328,17 +52338,17 @@ function sbe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
})]
});
}
-function cbe(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, I.jsx)(sbe, { ...e }) : /* @__PURE__ */ (0, I.jsx)(obe, { ...e });
+function ube(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, I.jsx)(lbe, { ...e }) : /* @__PURE__ */ (0, I.jsx)(cbe, { ...e });
}
-var gK = (0, F.memo)(cbe), lbe = 1100, ube = 340, dbe = 5e3;
-function fbe(e, t, n) {
+var gK = (0, F.memo)(ube), dbe = 1100, fbe = 340, pbe = 5e3;
+function mbe(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, dbe);
+ }, s = () => o(!1), c = setTimeout(s, pbe);
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;
@@ -52386,11 +52396,11 @@ function _K({ load: e, canFlip: t, referrerPolicy: n }) {
return;
}
if (!r() || !u.current.canFlip() || a.length < 2) return;
- let s = await Promise.all(a.map((t) => fbe(t, e, n)));
+ let s = await Promise.all(a.map((t) => mbe(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, lbe);
+ p(), e.cycle = setInterval(p, dbe);
}));
};
return (0, F.useEffect)(() => d, [d]), {
@@ -52399,7 +52409,7 @@ function _K({ 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(ube, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(fbe, () => {
e.armed = null, m();
});
},
@@ -52410,7 +52420,7 @@ function _K({ load: e, canFlip: t, referrerPolicy: n }) {
}
// src/react/components/mix-card.tsx
var vK = EV("play");
-function pbe({ src: e }) {
+function hbe({ src: e }) {
let [t, n] = (0, F.useState)(!1);
return t ? null : /* @__PURE__ */ (0, I.jsx)("img", {
"data-mix-poster": "",
@@ -52424,7 +52434,7 @@ function pbe({ src: e }) {
});
}
var yK = "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 mbe({ faces: e, fallback: t, onOpenEntity: n }) {
+function gbe({ faces: e, fallback: t, onOpenEntity: n }) {
return e.length ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-mix-avatars": "",
children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, I.jsx)("button", {
@@ -52474,7 +52484,7 @@ function bK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
artwork: f,
identity: p,
relayout: m
- }) : r ? /* @__PURE__ */ (0, I.jsx)(pbe, { src: r }, r) : /* @__PURE__ */ (0, I.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, I.jsx)(hbe, { src: r }, r) : /* @__PURE__ */ (0, I.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -52518,7 +52528,7 @@ function bK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
"data-mix-glyph": "",
"aria-hidden": !0,
children: /* @__PURE__ */ (0, I.jsx)(vK, {})
- }) : /* @__PURE__ */ (0, I.jsx)(mbe, {
+ }) : /* @__PURE__ */ (0, I.jsx)(gbe, {
faces: o,
fallback: $n(e),
onOpenEntity: s
@@ -52541,7 +52551,7 @@ function bK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
});
}
// src/react/video-wall/folia/blockReflows.ts
-var hbe = [
+var _be = [
[
[
{
@@ -56410,15 +56420,15 @@ var hbe = [
SK,
CK,
(e) => SK(CK(e))
-], TK = xK.flatMap((e) => wK.map((t) => t(e))), gbe = hbe.flatMap((e) => wK.map((t) => e.map(t)));
+], TK = xK.flatMap((e) => wK.map((t) => t(e))), vbe = _be.flatMap((e) => wK.map((t) => e.map(t)));
TK.length;
-var _be = (e, t) => {
+var ybe = (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;
}, EK = (e, t) => {
let n = xK.length;
- return ((e + t * 2) % n + n) % n * wK.length + _be(e, t) % wK.length;
-}, vbe = (e, t) => TK[EK(e, t)], ybe = (e, t, n) => n < 0 || n >= 12 ? null : gbe[EK(e, t)][n], DK = 103.36, OK = 6.08, kK = 12 * DK, AK = 8 * DK, jK = 12, MK = (e, t) => (e % t + t) % t, bbe = (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;
+ return ((e + t * 2) % n + n) % n * wK.length + ybe(e, t) % wK.length;
+}, bbe = (e, t) => TK[EK(e, t)], xbe = (e, t, n) => n < 0 || n >= 12 ? null : vbe[EK(e, t)][n], DK = 103.36, OK = 6.08, kK = 12 * DK, AK = 8 * DK, jK = 12, MK = (e, t) => (e % t + t) % t, Sbe = (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 NK(e, t) {
let n = Math.max(1, Math.ceil(e / jK)), r = t ? 3 : Math.min(3, n);
return {
@@ -56428,7 +56438,7 @@ function NK(e, t) {
};
}
function PK(e, t, n) {
- let { x: r, y: i, cols: a, rows: o } = vbe(e, t)[n];
+ let { x: r, y: i, cols: a, rows: o } = bbe(e, t)[n];
return {
x: e * kK + r * DK,
y: t * AK + i * DK,
@@ -56436,7 +56446,7 @@ function PK(e, t, n) {
height: o * DK - OK
};
}
-function xbe(e) {
+function Cbe(e) {
return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);
}
function FK(e, t, n) {
@@ -56456,13 +56466,13 @@ function FK(e, t, n) {
key: n
};
}
-function Sbe(e, t) {
+function wbe(e, t) {
if (t < 0 || t >= e) return null;
let n = Math.floor(t / jK);
return FK(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % jK}`);
}
function IK(e, t, n) {
- let [r, i, a] = n.key.split(":").map(Number), o = ybe(r, i, a);
+ let [r, i, a] = n.key.split(":").map(Number), o = xbe(r, i, a);
return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {
x: r * kK + e.x * DK,
y: i * AK + e.y * DK,
@@ -56470,7 +56480,7 @@ function IK(e, t, n) {
height: e.rows * DK - OK
}]));
}
-function Cbe(e) {
+function Tbe(e) {
let t = 0, n = 0;
for (let r = Math.max(0, e - 36); r < e; r += 1) {
let e = Math.floor(r / jK), i = PK(e % 3, Math.floor(e / 3), r % jK);
@@ -56481,7 +56491,7 @@ function Cbe(e) {
height: n
};
}
-function wbe(e, t, n, r) {
+function Ebe(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 {
@@ -56490,7 +56500,7 @@ function wbe(e, t, n, r) {
y: i(e.y, n.height, t.height)
};
}
-function Tbe(e, t, n, r) {
+function Dbe(e, t, n, r) {
if (!e || !r.width || !r.height) return [];
let i = 180 / n.scale, a = {
x: -n.x / n.scale - i,
@@ -56505,7 +56515,7 @@ function Tbe(e, t, n, r) {
let u = (l * o.columns + i) * jK + s;
if (t && u >= e) continue;
let d = PK(r, n, s);
- bbe(d, a) && c.push({
+ Sbe(d, a) && c.push({
...d,
index: u % e,
key: `${r}:${n}:${s}`
@@ -56514,7 +56524,7 @@ function Tbe(e, t, n, r) {
}
return c;
}
-var Ebe = class {
+var Obe = class {
positions = /* @__PURE__ */ new Map();
used = /* @__PURE__ */ new Set();
cursor = 0;
@@ -56587,7 +56597,7 @@ var Ebe = class {
"dur_max",
"region"
];
-function Dbe(e = {}) {
+function kbe(e = {}) {
return LK.some((t) => !!e[t]);
}
// src/react/video-wall/use-wall-camera.ts
@@ -56596,7 +56606,7 @@ var RK = {
y: 16,
scale: 1
};
-function Obe(e, t, n = RK, r = !1) {
+function Abe(e, t, n = RK, r = !1) {
let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)({
width: 0,
height: 0
@@ -56616,7 +56626,7 @@ function Obe(e, t, n = RK, r = !1) {
let f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = (0, F.useRef)(!1), h = (0, F.useRef)(null), g = (0, F.useCallback)(() => {
p.current?.stop(), p.current = null, f.current !== null && cancelAnimationFrame(f.current), f.current = null;
}, []), _ = (0, F.useCallback)((e, t = !1, n = !1) => {
- let { count: r, finite: c, focused: f } = d.current, p = wbe(e, o.current, Cbe(r), c && !f && !n);
+ let { count: r, finite: c, focused: f } = d.current, p = Ebe(e, o.current, Tbe(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));
@@ -56687,7 +56697,7 @@ function Obe(e, t, n = RK, r = !1) {
x: o.current.width / 2 - (e.x + e.width / 2) * i,
y: o.current.height / 2 - (e.y + e.height / 2) * i
};
- !t || v() ? _(a, !0, n) : p.current = mS(0, 1, {
+ !t || v() ? _(a, !0, n) : p.current = pS(0, 1, {
duration: .42,
ease: [
.22,
@@ -56777,16 +56787,16 @@ function Obe(e, t, n = RK, r = !1) {
};
}
// src/react/video-wall/wall-motion.ts
-var kbe = {
+var jbe = {
type: "spring",
stiffness: 300,
damping: 34
-}, Abe = {
+}, Mbe = {
delay: .14,
duration: .24
};
// src/react/video-wall/use-wall-playback.ts
-function jbe(e, t, n) {
+function Nbe(e, t, n) {
let [r, i] = (0, F.useState)({
paused: !0,
time: 0,
@@ -56827,15 +56837,15 @@ function jbe(e, t, n) {
};
}
// src/react/video-wall/wall-controls.tsx
-function Mbe({ 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 = rS(), x = jbe(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {
+function Pbe({ 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 = nS(), x = Nbe(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {
if (!(C || a && !s)) try {
t === e.id ? await x.toggle() : await f();
} catch (e) {
y(bn(e));
}
};
- return /* @__PURE__ */ (0, I.jsxs)(hS.div, {
+ return /* @__PURE__ */ (0, I.jsxs)(mS.div, {
"data-wall-focus-actions": "",
initial: !b && {
opacity: 0,
@@ -56845,7 +56855,7 @@ function Mbe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
opacity: 1,
transform: "translateY(0px)"
},
- transition: b ? { duration: 0 } : Abe,
+ transition: b ? { duration: 0 } : Mbe,
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-wall-control-row": "",
children: [
@@ -57008,7 +57018,7 @@ function BK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }
}), r]
});
}
-var Nbe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {
+var Fbe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {
"data-mix-group-label": "",
children: [
e,
@@ -57017,7 +57027,7 @@ var Nbe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {
]
});
// src/react/video-wall/wall-queue.tsx
-function Pbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {
+function Ibe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-wall-queue": "",
id: "wall-queue",
@@ -57031,14 +57041,14 @@ function Pbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })
"data-wall-source": e.id,
"aria-label": [
e.edition_label,
- e.part_label ? qP(e.part_label) : "",
+ e.part_label ? GP(e.part_label) : "",
r(e)
].filter(Boolean).join(" · "),
onClick: () => i(e),
pic: /* @__PURE__ */ (0, I.jsx)(oW, { artwork: wo(e, "small", !0, "cover") }),
children: [/* @__PURE__ */ (0, I.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, I.jsx)("span", { children: [
e.edition_label,
- e.part_label ? qP(e.part_label) : "",
+ e.part_label ? GP(e.part_label) : "",
qn(e.duration)
].filter(Boolean).join(" · ") })]
}, e.id))
@@ -57046,7 +57056,7 @@ function Pbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })
});
}
// src/react/video-wall/wall-route.ts
-function Fbe(e = `${location.pathname}${location.search}`, t = {}) {
+function Lbe(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",
@@ -57092,31 +57102,31 @@ var UK = /* @__PURE__ */ new Map(), WK = (0, F.memo)(function({ item: e, image:
})
});
});
-function Ibe({ 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 Rbe({ 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, F.useState)(() => {
let e = UK.get(f);
return e && (i || t || e.pool === p) ? e : void 0;
- }), [h] = (0, F.useState)(() => m?.exploration || new Ebe()), g = (0, F.useRef)(!1), [_, v] = (0, F.useState)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(null), C = (0, F.useRef)(null), [w, T] = (0, F.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, F.useState)(m?.selectedKey || ""), [O, k] = (0, F.useState)(m?.sourceId || null), [A, j] = (0, F.useState)(!1), M = w?.edition_group ? {
+ }), [h] = (0, F.useState)(() => m?.exploration || new Obe()), g = (0, F.useRef)(!1), [_, v] = (0, F.useState)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(null), C = (0, F.useRef)(null), [w, T] = (0, F.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, F.useState)(m?.selectedKey || ""), [O, k] = (0, F.useState)(m?.sourceId || null), [A, j] = (0, F.useState)(!1), M = w?.edition_group ? {
kind: "editions",
seedId: w.edition_group.seed_id
} : w?.part_group ? {
kind: "parts",
seedId: w.part_group.seed_id
} : null, ee = Pt({
- queryKey: EP(M || {
+ queryKey: wP(M || {
kind: "parts",
seedId: 0
}),
enabled: !!M,
- queryFn: ({ signal: e }) => FP(M, {
+ queryFn: ({ signal: e }) => NP(M, {
tagLabel: u.tagLabel,
mixRelated: async () => []
}, e)
- }), N = M ? ee.data : void 0, te = N?.items.find((e) => e.id === RP(N, O || w?.id || null)) || w, P = Obe(e.length, t && !!e.length, m?.camera || {
+ }), N = M ? ee.data : void 0, te = N?.items.find((e) => e.id === IP(N, O || w?.id || null)) || w, P = Abe(e.length, t && !!e.length, m?.camera || {
x: 0,
y: 0,
scale: innerWidth < 640 ? .68 : 1
- }, !!w), ne = rS(), [re, ie] = (0, F.useState)(!!m);
+ }, !!w), ne = nS(), [re, ie] = (0, F.useState)(!!m);
(0, F.useEffect)(() => {
if (!e.length || re || ne) return;
let t = setTimeout(() => ie(!0), 1100);
@@ -57157,7 +57167,7 @@ function Ibe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}), UK.size > 8 && UK.delete(UK.keys().next().value));
};
(0, F.useLayoutEffect)(je);
- let Me = Tbe(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, P.view.camera, P.view.size), Ne = i ? Me.map((e) => ({
+ let Me = Dbe(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, P.view.camera, P.view.size), Ne = i ? Me.map((e) => ({
...e,
index: -1
})) : t ? Me : h.assign(Me, e.length, n), Pe = w && (t ? FK(e.length, !0, E) : h.tile(E, e.length)), Fe = Pe ? IK(e.length, t, Pe) : /* @__PURE__ */ new Map();
@@ -57221,7 +57231,7 @@ function Ibe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
C.current === t && de(!1);
}
}, Ve = () => {
- let e = zP(N || null, oe || 0);
+ let e = LP(N || null, oe || 0);
e && (k(e.id), Be(e));
};
(0, F.useEffect)(() => {
@@ -57243,7 +57253,7 @@ function Ibe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
let r = P.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {
x: (P.view.size.width / 2 - r.x) / r.scale,
y: (P.view.size.height / 2 - r.y) / r.scale
- }, o = t ? Sbe(e.length, i) : h.nearest(e.length, i, a);
+ }, o = t ? wbe(e.length, i) : h.nearest(e.length, i, a);
o && (Re(n, o), le(n.id));
}, Ge = async () => {
if (!(r || g.current)) {
@@ -57372,7 +57382,7 @@ function Ibe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
Xe.code ? /* @__PURE__ */ (0, I.jsx)("strong", { children: Ye(Xe).startsWith(Xe.code) ? Ye(Xe).slice(Xe.code.length).trim() : Ye(Xe) }) : null,
/* @__PURE__ */ (0, I.jsx)("span", { children: Xe.performers?.join(" · ") || Xe.creator || "未归属" }),
- N ? /* @__PURE__ */ (0, I.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? qP(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null
+ N ? /* @__PURE__ */ (0, I.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? GP(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null
]
}),
/* @__PURE__ */ (0, I.jsx)("button", {
@@ -57399,7 +57409,7 @@ function Ibe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
children: "立即重试"
}) : null]
}) : null,
- /* @__PURE__ */ (0, I.jsx)(Mbe, {
+ /* @__PURE__ */ (0, I.jsx)(Pbe, {
item: Xe,
playing: oe,
frame: b,
@@ -57421,7 +57431,7 @@ function Ibe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
ended: Ve,
error: pe
}),
- A ? /* @__PURE__ */ (0, I.jsx)(Pbe, {
+ A ? /* @__PURE__ */ (0, I.jsx)(Ibe, {
items: He,
activeId: Xe.id,
kind: N?.kind || "wall",
@@ -57494,11 +57504,11 @@ function Ibe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
value: Te,
onChange: Ee,
className: _U,
- children: [/* @__PURE__ */ (0, I.jsx)(qz, {
+ children: [/* @__PURE__ */ (0, I.jsx)(Kz, {
value: "cover",
className: vU,
children: "封面"
- }), /* @__PURE__ */ (0, I.jsx)(qz, {
+ }), /* @__PURE__ */ (0, I.jsx)(Kz, {
value: "thumbnail",
className: vU,
children: "缩略图"
@@ -57572,7 +57582,7 @@ function Ibe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}
}, t.key);
let n = e[t.index], r = !!w && t.key === E, i = Fe.get(t.key) || t, a = !re && !r, o = a ? Math.min(.34, (Math.max(0, t.x + P.view.camera.x / P.view.camera.scale) + Math.max(0, t.y + P.view.camera.y / P.view.camera.scale)) / 103.36 * .03) : 0;
- return /* @__PURE__ */ (0, I.jsx)(hS.article, {
+ return /* @__PURE__ */ (0, I.jsx)(mS.article, {
layout: !0,
layoutDependency: `${i.x}:${i.y}:${i.width}:${i.height}`,
"data-wall-tile": t.key,
@@ -57593,7 +57603,7 @@ function Ibe({ 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: kbe,
+ layout: jbe,
transform: a ? {
type: "spring",
stiffness: 360,
@@ -57652,7 +57662,7 @@ function Ibe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
style: { "--wall-progress": `${Math.min(100, Number(n.leave_ratio) * 100)}%` },
"aria-label": "观看进度"
}) : null,
- /* @__PURE__ */ (0, I.jsx)(hS.span, {
+ /* @__PURE__ */ (0, I.jsx)(mS.span, {
"data-wall-dim": "",
animate: { opacity: w ? .65 : 0 },
transition: { duration: ne ? 0 : .24 }
@@ -57691,7 +57701,7 @@ function Ibe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}) : null,
!t && (n || e.length > 0) ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-wall-refresh": "",
- children: /* @__PURE__ */ (0, I.jsx)(zG, {
+ children: /* @__PURE__ */ (0, I.jsx)(RG, {
busy: r,
onPress: () => void qe()
})
@@ -57756,7 +57766,7 @@ var GK = [
"jav",
"thumb"
];
-function Lbe(e = typeof location > "u" ? "/" : location.href) {
+function zbe(e = typeof location > "u" ? "/" : location.href) {
let t = new URL(e, "http://localhost");
for (let e of [
...GK,
@@ -57766,7 +57776,7 @@ function Lbe(e = typeof location > "u" ? "/" : location.href) {
]) t.searchParams.delete(e);
return t.searchParams.set("thumb", "0"), t.pathname + (t.search ? t.search : "") + t.hash;
}
-async function Rbe(e, t) {
+async function Bbe(e, t) {
let n = new URLSearchParams();
for (let t of GK) e[t] && n.set(t, e[t]);
let [r, i] = await Promise.all([t("/api/facets?" + n), t("/api/items?" + n + "&limit=5")]), a = [...new Set([
@@ -57781,7 +57791,7 @@ async function Rbe(e, t) {
}
function KK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {
let a = "<a class=\"geist-button primary\" href=\"/settings/library\">添加媒体</a>", o = "<a class=\"geist-button" + (i ? " primary" : "") + "\" href=\"/subscriptions?tab=add\">添加关注</a>";
- if (t || n) return Us("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: n ? "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a><a class=\"geist-button\" href=\"/data-cleanup#libraryProcessing\">补全影片资料</a>" : `<a class="geist-button primary" href="${t ? z(Lbe()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });
+ if (t || n) return Us("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: n ? "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a><a class=\"geist-button\" href=\"/data-cleanup#libraryProcessing\">补全影片资料</a>" : `<a class="geist-button primary" href="${t ? z(zbe()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });
if (e !== "catalog") {
let t = (i ? {
tags: "标签",
@@ -57799,7 +57809,7 @@ function KK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:
return Us("play", "还没有视频", "添加媒体目录或关注来源,开始建立你的馆藏。", { actions: a + o });
}
// src/react/video-wall/wall-empty.ts
-function zbe({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {
+function Vbe({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {
return e ? r || KK() : t ? Us("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : Us("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${VK()}">清除筛选</a>` });
}
// src/react/library-processing/processing-actions.tsx
@@ -57831,7 +57841,7 @@ function JK({ option: e, metadataOnly: t, onRun: n }) {
})
});
}
-function Bbe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
+function Hbe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
let [a, o] = (0, F.useState)(t), [s, c] = (0, F.useState)(), [l, u] = (0, F.useState)("");
(0, F.useEffect)(() => {
let t = new AbortController(), r, i = async (a) => {
@@ -57964,7 +57974,7 @@ function YK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
});
};
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- u ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(Bbe, {
+ u ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(Hbe, {
command: u.command,
dialog: u.dialog,
speed: i,
@@ -57977,7 +57987,7 @@ function YK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
href: "/settings/library",
size: "small",
variant: "primary",
- trailingIcon: NB,
+ trailingIcon: MB,
disabled: v,
onClick: (e) => {
u.dialog.confirmButton.getAttribute("aria-busy") === "true" ? e.preventDefault() : u.dialog.close();
@@ -57995,7 +58005,7 @@ function YK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
}), /* @__PURE__ */ (0, I.jsx)(J, {
ref: c,
iconOnly: !0,
- leadingIcon: MB,
+ leadingIcon: jB,
"aria-label": "更多同步方式",
"aria-haspopup": "dialog",
"aria-expanded": p,
@@ -58005,14 +58015,14 @@ function YK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
}
})]
}),
- /* @__PURE__ */ (0, I.jsx)(Ez, {
+ /* @__PURE__ */ (0, I.jsx)(Tz, {
triggerRef: c,
isOpen: p,
onOpenChange: m,
placement: "bottom end",
offset: 4,
className: GV,
- children: /* @__PURE__ */ (0, I.jsxs)(zz, {
+ children: /* @__PURE__ */ (0, I.jsxs)(Rz, {
"aria-label": "同步方式",
className: "flex w-80 flex-col gap-1 outline-none",
children: [n ? /* @__PURE__ */ (0, I.jsxs)(qK, {
@@ -58052,13 +58062,13 @@ function XK(e, t) {
return [...new Set(e.filter((e) => (!e.medium || e.medium === "video") && (!/\.(strm|iso)$/i.test(e.name || "") || !!e.code) && !e.disposal && e.location !== "online" && (e.location === "local" || !!e.code) && !wo(e, "small", !1, t).html).map((e) => e.id))];
}
function ZK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {
- return e.length ? /* @__PURE__ */ (0, I.jsx)(Vbe, {
+ return e.length ? /* @__PURE__ */ (0, I.jsx)(Ube, {
assetIds: e,
onComplete: t,
className: n
}) : null;
}
-function Vbe({ assetIds: e, onComplete: t, className: n }) {
+function Ube({ assetIds: e, onComplete: t, className: n }) {
let r = Pt({
queryKey: dH,
queryFn: ({ signal: e }) => yH(e),
@@ -58103,7 +58113,7 @@ function Vbe({ assetIds: e, onComplete: t, className: n }) {
/* @__PURE__ */ (0, I.jsx)(DH, {
href: "/data-cleanup#libraryProcessing",
size: "small",
- trailingIcon: NB,
+ trailingIcon: MB,
children: f ? "打开扫描与采集" : "查看处理详情"
})
]
@@ -58111,22 +58121,22 @@ function Vbe({ assetIds: e, onComplete: t, className: n }) {
});
}
// node_modules/@tanstack/react-table/dist/FlexRender.js
-function Hbe(e) {
- return Ube(e) || typeof e == "function" || Wbe(e);
+function Wbe(e) {
+ return Gbe(e) || typeof e == "function" || Kbe(e);
}
-function Ube(e) {
+function Gbe(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function Wbe(e) {
+function Kbe(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
function QK(e, t) {
- return e == null ? null : Hbe(e) ? /* @__PURE__ */ F.createElement(e, t) : e;
+ return e == null ? null : Wbe(e) ? /* @__PURE__ */ F.createElement(e, t) : e;
}
-function Gbe(e) {
+function qbe(e) {
if ("cell" in e && e.cell) {
let t = e.cell, n = t.column.columnDef, r = t, i = n;
return r.getIsAggregated?.() ? QK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : QK(n.cell, t.getContext());
@@ -58135,7 +58145,7 @@ function Gbe(e) {
}
// node_modules/@tanstack/store/dist/alien.js
/* @__NO_SIDE_EFFECTS__ */
-function Kbe({ update: e, notify: t, unwatched: n }) {
+function Jbe({ update: e, notify: t, unwatched: n }) {
return {
link: r,
unlink: i,
@@ -58252,7 +58262,7 @@ function Kbe({ update: e, notify: t, unwatched: n }) {
}
}
// node_modules/@tanstack/store/dist/atom.js
-function qbe(e, t, n) {
+function Ybe(e, t, n) {
let r = typeof e == "object", i = r ? e : void 0;
return {
next: (r ? e.next : e)?.bind(i),
@@ -58260,7 +58270,7 @@ function qbe(e, t, n) {
complete: (r ? e.complete : n)?.bind(i)
};
}
-var $K = [], eq = 0, { link: tq, unlink: Jbe, propagate: Ybe, checkDirty: nq, shallowPropagate: rq } = /* @__PURE__ */ Kbe({
+var $K = [], eq = 0, { link: tq, unlink: Xbe, propagate: Zbe, checkDirty: nq, shallowPropagate: rq } = /* @__PURE__ */ Jbe({
update(e) {
return e._update();
},
@@ -58271,7 +58281,7 @@ var $K = [], eq = 0, { link: tq, unlink: Jbe, propagate: Ybe, checkDirty: nq, sh
e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, cq(e));
}
}), iq = 0, aq = 0, oq, sq = 0;
-function Xbe(e) {
+function Qbe(e) {
try {
++sq, e();
} finally {
@@ -58280,7 +58290,7 @@ function Xbe(e) {
}
function cq(e) {
let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;
- for (; n !== void 0;) n = Jbe(n, e);
+ for (; n !== void 0;) n = Xbe(n, e);
}
function lq() {
if (!(sq > 0)) {
@@ -58291,7 +58301,7 @@ function lq() {
iq = 0, aq = 0;
}
}
-function Zbe(e, t) {
+function $be(e, t) {
let n = typeof e == "function", r = e, i = {
_snapshot: n ? void 0 : e,
subs: void 0,
@@ -58303,7 +58313,7 @@ function Zbe(e, t) {
return oq !== void 0 && tq(i, oq, eq), i._snapshot;
},
subscribe(e) {
- let t = qbe(e), n = { current: !1 }, r = Qbe(() => {
+ let t = Ybe(e), n = { current: !1 }, r = exe(() => {
i.get(), n.current ? (oq = void 0, t.next?.(i._snapshot)) : n.current = !0;
});
return { unsubscribe: () => {
@@ -58335,11 +58345,11 @@ function Zbe(e, t) {
}) : i.set = function(e) {
if (i._update(e)) {
let e = i.subs;
- e !== void 0 && (Ybe(e), rq(e), lq());
+ e !== void 0 && (Zbe(e), rq(e), lq());
}
}, i;
}
-function Qbe(e) {
+function exe(e) {
let t = () => {
let t = oq;
oq = n, ++eq, n.depsTail = void 0, n.flags = 6;
@@ -58388,8 +58398,8 @@ function dq(e) {
return Object.keys(e).concat(Object.getOwnPropertySymbols(e));
}
// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var $be = /* @__PURE__ */ o(((e) => {
- var t = A(), n = lw();
+var txe = /* @__PURE__ */ o(((e) => {
+ var t = A(), n = sw();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
}
@@ -58434,32 +58444,32 @@ var $be = /* @__PURE__ */ o(((e) => {
}, [p]), l(p), p;
};
})), fq = /* @__PURE__ */ o(((e, t) => {
- t.exports = $be();
-})), exe = fq();
-function txe(e, t) {
+ t.exports = txe();
+})), nxe = fq();
+function rxe(e, t) {
return e === t;
}
function pq(e, t = (e) => e, n) {
- let r = n?.compare ?? txe, i = (0, F.useCallback)((t) => {
+ let r = n?.compare ?? rxe, i = (0, F.useCallback)((t) => {
let { unsubscribe: n } = e.subscribe(t);
return n;
}, [e]), a = (0, F.useCallback)(() => e.get(), [e]);
- return (0, exe.useSyncExternalStoreWithSelector)(i, a, a, t, r);
+ return (0, nxe.useSyncExternalStoreWithSelector)(i, a, a, t, r);
}
// node_modules/@tanstack/react-table/dist/Subscribe.js
-function nxe(e) {
+function ixe(e) {
let t = pq(e.source, e.selector, { compare: uq });
return typeof e.children == "function" ? e.children(t) : e.children;
}
// node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.utils.js
-function rxe(e) {
+function axe(e) {
let t = e;
return Object.defineProperty(e, "state", { get() {
return e.get();
} }), "set" in e && (t.setState = e.set.bind(e)), t;
}
// node_modules/@tanstack/table-core/dist/core/reactivity/renderPhaseReactivity.js
-function ixe(e) {
+function oxe(e) {
let { createAtom: t, batch: n } = e, r = t(0);
return {
createOptionsStore: !1,
@@ -58489,7 +58499,7 @@ function ixe(e) {
}
};
}
-function axe(e, t = Object.is) {
+function sxe(e, t = Object.is) {
let n = !1, r;
return {
get: e.get,
@@ -58502,10 +58512,10 @@ function axe(e, t = Object.is) {
};
}
// node_modules/@tanstack/react-table/dist/reactivity.js
-function oxe() {
- return ixe({
- createAtom: Zbe,
- batch: Xbe
+function cxe() {
+ return oxe({
+ createAtom: $be,
+ batch: Qbe
});
}
// node_modules/@tanstack/table-core/dist/utils.js
@@ -58559,9 +58569,9 @@ function bq(e) {
function xq(e) {
return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
-var sxe = 3;
-function cxe(e, t) {
- return Sq(e, t, sxe);
+var lxe = 3;
+function uxe(e, t) {
+ return Sq(e, t, lxe);
}
function Sq(e, t, n) {
if (Object.is(e, t)) return !0;
@@ -58575,17 +58585,17 @@ function Sq(e, t, n) {
}
return !0;
}
-function Cq(e, t, n, r = cxe) {
+function Cq(e, t, n, r = uxe) {
let i = `on${t.charAt(0).toUpperCase()}${t.slice(1)}Change`, a = e.options[i];
a && a((e) => {
let t = mq(n, e);
return r(e, t) ? e : t;
});
}
-function lxe(e) {
+function dxe(e) {
return e instanceof Function;
}
-function uxe(e, t) {
+function fxe(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -58595,7 +58605,7 @@ function uxe(e, t) {
};
return r(e), n;
}
-var dxe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {
+var pxe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {
let o = [], s;
return (c) => {
i?.();
@@ -58620,7 +58630,7 @@ function Tq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ..
let { schedule: e, untrack: t } = i._reactivity;
e(() => t(() => r()));
} : void 0 };
- return dxe({
+ return pxe({
...a,
...o
});
@@ -58673,13 +58683,13 @@ function kq(e, t, n, ...r) {
return e[t]?.(...r) ?? n(e, ...r);
}
// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.utils.js
-function fxe(e) {
+function mxe(e) {
return e.row.getValue(e.column.id);
}
-function pxe(e) {
+function hxe(e) {
return e.getValue() ?? e.table.options.renderFallbackValue;
}
-function mxe(e) {
+function gxe(e) {
return {
table: e.table,
column: e.column,
@@ -58690,18 +58700,18 @@ function mxe(e) {
};
}
// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.js
-var hxe = { assignCellPrototype: (e, t) => {
+var _xe = { assignCellPrototype: (e, t) => {
Oq("coreCellsFeature", e, t, {
- cell_getValue: { fn: (e) => fxe(e) },
- cell_renderValue: { fn: (e) => pxe(e) },
+ cell_getValue: { fn: (e) => mxe(e) },
+ cell_renderValue: { fn: (e) => hxe(e) },
cell_getContext: {
- fn: (e) => mxe(e),
+ fn: (e) => gxe(e),
memoDeps: (e) => [e]
}
});
} };
// node_modules/@tanstack/table-core/dist/core/columns/constructColumn.js
-function gxe(e) {
+function vxe(e) {
if (!e._columnPrototype) {
e._columnPrototype = { table: e };
let t = Object.values(e._features);
@@ -58709,7 +58719,7 @@ function gxe(e) {
}
return e._columnPrototype;
}
-function _xe(e, t, n, r) {
+function yxe(e, t, n, r) {
let i = {
...e.getDefaultColumnDef(),
...t
@@ -58729,7 +58739,7 @@ function _xe(e, t, n, r) {
} else c = (e) => e[i.accessorKey];
}
if (!s) throw Error();
- let l = gxe(e), u = Object.create(l);
+ let l = vxe(e), u = Object.create(l);
u.accessorFn = c, u.columnDef = i, u.columns = [], u.depth = n, u.id = `${String(s)}`, u.parent = r;
let d = e._columnInstanceInitFns;
for (let e = 0; e < d.length; e++) d[e](u);
@@ -58739,7 +58749,7 @@ function _xe(e, t, n, r) {
function Aq(e) {
return e.getIsVisible?.() ?? !0;
}
-function vxe(e) {
+function bxe(e) {
return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();
}
function jq(e, t) {
@@ -58752,30 +58762,30 @@ function Mq(e, t, n, r) {
function Nq(e, t) {
return e._expandRows?.(t) ?? t;
}
-function yxe(e) {
+function xxe(e) {
e.autoResetExpanded?.();
}
function Pq(e) {
e.autoResetPageIndex?.();
}
-function bxe(e) {
+function Sxe(e) {
e.autoResetSorting?.();
}
-function xxe(e) {
+function Cxe(e) {
e.autoResetCellSelection?.();
}
// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.utils.js
-function Sxe(e) {
+function wxe(e) {
return [e, ...e.columns.flatMap((e) => e.getFlatColumns())];
}
-function Cxe(e) {
+function Txe(e) {
if (e.columns.length) {
let t = e.columns.flatMap((e) => e.getLeafColumns());
return jq(e.table, t);
}
return [e];
}
-function wxe(e) {
+function Exe(e) {
return {
header: (e) => {
let t = e.header.column.columnDef;
@@ -58790,18 +58800,18 @@ function Fq(e, t, n, r = 0) {
let i = Array(t.length);
for (let a = 0; a < t.length; a++) {
if (!(a in t)) continue;
- let o = t[a], s = _xe(e, o, r, n), c = o;
+ let o = t[a], s = yxe(e, o, r, n), c = o;
s.columns = c.columns ? Fq(e, c.columns, s, r + 1) : [], i[a] = s;
}
return i;
}
-function Txe(e) {
+function Dxe(e) {
return Fq(e, e.options.columns);
}
-function Exe(e) {
+function Oxe(e) {
return e.getAllColumns().flatMap((e) => e.getFlatColumns());
}
-function Dxe(e) {
+function kxe(e) {
let t = _q(), n = e.getAllFlatColumns();
for (let e = 0; e < n.length; e++) {
let r = n[e];
@@ -58809,10 +58819,10 @@ function Dxe(e) {
}
return t;
}
-function Oxe(e) {
+function Axe(e) {
return jq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));
}
-function kxe(e) {
+function jxe(e) {
let t = _q(), n = e.getAllLeafColumns();
for (let e = 0; e < n.length; e++) {
let r = n[e];
@@ -58820,19 +58830,19 @@ function kxe(e) {
}
return t;
}
-function Axe(e, t) {
+function Mxe(e, t) {
return e.getAllFlatColumnsById()[t];
}
// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.js
-var jxe = {
+var Nxe = {
assignColumnPrototype: (e, t) => {
Oq("coreColumnsFeature", e, t, {
column_getFlatColumns: {
- fn: (e) => Sxe(e),
+ fn: (e) => wxe(e),
memoDeps: (e) => [e.table.options.columns]
},
column_getLeafColumns: {
- fn: (e) => Cxe(e),
+ fn: (e) => Txe(e),
memoDeps: (e) => [
e.table.atoms.columnOrder?.get(),
e.table.atoms.grouping?.get(),
@@ -58845,23 +58855,23 @@ var jxe = {
constructTableAPIs: (e) => {
Dq("coreColumnsFeature", e, {
table_getDefaultColumnDef: {
- fn: () => wxe(e),
+ fn: () => Exe(e),
memoDeps: () => [e.options.defaultColumn]
},
table_getAllColumns: {
- fn: () => Txe(e),
+ fn: () => Dxe(e),
memoDeps: () => [e.options.columns]
},
table_getAllFlatColumns: {
- fn: () => Exe(e),
+ fn: () => Oxe(e),
memoDeps: () => [e.options.columns]
},
table_getAllFlatColumnsById: {
- fn: () => Dxe(e),
+ fn: () => kxe(e),
memoDeps: () => [e.options.columns]
},
table_getAllLeafColumns: {
- fn: () => Oxe(e),
+ fn: () => Axe(e),
memoDeps: () => [
e.atoms.columnOrder?.get(),
e.atoms.grouping?.get(),
@@ -58870,15 +58880,15 @@ var jxe = {
]
},
table_getAllLeafColumnsById: {
- fn: () => kxe(e),
+ fn: () => jxe(e),
memoDeps: () => [e.getAllLeafColumns()]
},
- table_getColumn: { fn: (t) => Axe(e, t) }
+ table_getColumn: { fn: (t) => Mxe(e, t) }
});
}
};
// node_modules/@tanstack/table-core/dist/core/headers/constructHeader.js
-function Mxe(e) {
+function Pxe(e) {
if (!e._headerPrototype) {
e._headerPrototype = { table: e };
let t = Object.values(e._features);
@@ -58887,7 +58897,7 @@ function Mxe(e) {
return e._headerPrototype;
}
function Iq(e, t, n) {
- let r = Mxe(e), i = Object.create(r);
+ let r = Pxe(e), i = Object.create(r);
i.colSpan = 0, i.column = t, i.depth = n.depth, i.headerGroup = null, i.id = n.id ?? t.id, i.index = n.index, i.isPlaceholder = !!n.isPlaceholder, i.placeholderId = n.placeholderId, i.rowSpan = 0, i.subHeaders = [];
let a = e._headerInstanceInitFns;
for (let e = 0; e < a.length; e++) a[e](i);
@@ -58902,14 +58912,14 @@ function Lq(e, t = 1) {
}
return n;
}
-function Nxe(e, t) {
+function Fxe(e, t) {
return e ? `${e}_${t}` : String(t);
}
-function Pxe(e, t, n, r) {
+function Ixe(e, t, n, r) {
let i = e ?? "";
return t && (i = i ? `${i}_${t}` : String(t)), n && (i = i ? `${i}_${n}` : n), r && (i = i ? `${i}_${r}` : r), i;
}
-function Fxe(e, t) {
+function Lxe(e, t) {
let n = 0;
for (let r = 0; r < e.length; r++) e[r].column === t && n++;
return n;
@@ -58917,7 +58927,7 @@ function Fxe(e, t) {
function Rq(e, t, n, r, i, a) {
let o = {
depth: t,
- id: Nxe(r, t),
+ id: Fxe(r, t),
headers: []
}, s = [];
for (let i = 0; i < e.length; i++) {
@@ -58926,9 +58936,9 @@ function Rq(e, t, n, r, i, a) {
if (l && a.column.parent ? u = a.column.parent : (u = a.column, d = !0), c && c.column === u) c.subHeaders.push(a);
else {
let e = Iq(n, u, {
- id: Pxe(r, t, u.id, a.id),
+ id: Ixe(r, t, u.id, a.id),
isPlaceholder: d,
- placeholderId: d ? String(Fxe(s, u)) : void 0,
+ placeholderId: d ? String(Lxe(s, u)) : void 0,
depth: t,
index: s.length
});
@@ -58958,7 +58968,7 @@ function zq(e) {
} else n.rowSpan = 1;
}
}
-function Ixe(e, t, n, r) {
+function Rxe(e, t, n, r) {
let i = Lq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);
for (let e = 0; e < t.length; e++) e in t && (s[e] = Iq(n, t[e], {
depth: i,
@@ -58971,24 +58981,24 @@ function Bq(e, t) {
for (let n = 0; n < e.subHeaders.length; n++) Bq(e.subHeaders[n], t);
t.push(e);
}
-function Lxe(e) {
+function zxe(e) {
let t = [];
return Bq(e, t), t;
}
-function Rxe(e) {
+function Bxe(e) {
return {
column: e.column,
header: e,
table: e.column.table
};
}
-function zxe(e) {
- return Ixe(e.getAllColumns(), Mq(e, vxe(e), (e) => e.id), e);
+function Vxe(e) {
+ return Rxe(e.getAllColumns(), Mq(e, bxe(e), (e) => e.id), e);
}
-function Bxe(e) {
+function Hxe(e) {
return [...e.getHeaderGroups()].reverse();
}
-function Vxe(e) {
+function Uxe(e) {
let t = e.getHeaderGroups(), n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e].headers;
@@ -58996,7 +59006,7 @@ function Vxe(e) {
}
return n;
}
-function Hxe(e) {
+function Wxe(e) {
let t = e.getHeaderGroups()[0]?.headers ?? [], n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e].getLeafHeaders();
@@ -59005,15 +59015,15 @@ function Hxe(e) {
return n;
}
// node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.js
-var Uxe = {
+var Gxe = {
assignHeaderPrototype: (e, t) => {
Oq("coreHeadersFeature", e, t, {
header_getLeafHeaders: {
- fn: (e) => Lxe(e),
+ fn: (e) => zxe(e),
memoDeps: (e) => [e.column.table.options.columns]
},
header_getContext: {
- fn: (e) => Rxe(e),
+ fn: (e) => Bxe(e),
memoDeps: (e) => [e.column.table.options.columns]
}
});
@@ -59021,7 +59031,7 @@ var Uxe = {
constructTableAPIs: (e) => {
Dq("coreHeadersFeature", e, {
table_getHeaderGroups: {
- fn: () => zxe(e),
+ fn: () => Vxe(e),
memoDeps: () => [
e.options.columns,
e.atoms.columnOrder?.get(),
@@ -59032,22 +59042,22 @@ var Uxe = {
]
},
table_getFooterGroups: {
- fn: () => Bxe(e),
+ fn: () => Hxe(e),
memoDeps: () => [e.getHeaderGroups()]
},
table_getFlatHeaders: {
- fn: () => Vxe(e),
+ fn: () => Uxe(e),
memoDeps: () => [e.getHeaderGroups()]
},
table_getLeafHeaders: {
- fn: () => Hxe(e),
+ fn: () => Wxe(e),
memoDeps: () => [e.getHeaderGroups()]
}
});
}
};
// node_modules/@tanstack/table-core/dist/core/rows/constructRow.js
-function Wxe(e) {
+function Kxe(e) {
if (!e._rowPrototype) {
e._rowPrototype = { table: e };
let t = Object.values(e._features);
@@ -59055,35 +59065,35 @@ function Wxe(e) {
}
return e._rowPrototype;
}
-var Gxe = (e, t, n, r, i, a, o) => {
- let s = Wxe(e), c = Object.create(s);
+var qxe = (e, t, n, r, i, a, o) => {
+ let s = Kxe(e), c = Object.create(s);
c._displayIndexCache = -1, c._uniqueValuesCache = _q(), c._valuesCache = _q(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];
let l = e._rowInstanceInitFns;
for (let e = 0; e < l.length; e++) l[e](c);
return c;
};
// node_modules/@tanstack/table-core/dist/core/row-models/createCoreRowModel.js
-function Kxe() {
+function Jxe() {
return (e) => Tq({
feature: "coreRowModelsFeature",
table: e,
fnName: "table.getCoreRowModel",
memoDeps: () => [e.options.data],
- fn: () => qxe(e, e.options.data),
+ fn: () => Yxe(e, e.options.data),
onAfterUpdate: wq(() => {
- yxe(e), Pq(e), bxe(e), xxe(e);
+ xxe(e), Pq(e), Sxe(e), Cxe(e);
})
});
}
function Vq(e, t, n, r = 0, i) {
let a = [];
for (let o = 0; o < n.length; o++) {
- let s = n[o], c = Gxe(e, e.getRowId(s, o, i), s, o, r, void 0, i?.id);
+ let s = n[o], c = qxe(e, e.getRowId(s, o, i), s, o, r, void 0, i?.id);
t.flatRows.push(c), t.rowsById[c.id] = c, a.push(c), e.options.getSubRows && (c.originalSubRows = e.options.getSubRows(s, o), c.originalSubRows?.length && (c.subRows = Vq(e, t, c.originalSubRows, r + 1, c)));
}
return a;
}
-function qxe(e, t) {
+function Yxe(e, t) {
let n = {
rows: [],
flatRows: [],
@@ -59092,61 +59102,61 @@ function qxe(e, t) {
return n.rows = Vq(e, n, t), n;
}
// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.js
-function Jxe(e) {
- return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? Kxe()(e)), e._rowModels.coreRowModel();
+function Xxe(e) {
+ return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? Jxe()(e)), e._rowModels.coreRowModel();
}
-function Yxe(e) {
+function Zxe(e) {
return e.getCoreRowModel();
}
-function Xxe(e) {
+function Qxe(e) {
return e._rowModels.filteredRowModel || (e._rowModels.filteredRowModel = e.options.features.filteredRowModel?.(e)), e.options.manualFiltering || !e._rowModels.filteredRowModel ? e.getPreFilteredRowModel() : e._rowModels.filteredRowModel();
}
-function Zxe(e) {
+function $xe(e) {
return e.getFilteredRowModel();
}
-function Qxe(e) {
+function eSe(e) {
return e._rowModels.groupedRowModel || (e._rowModels.groupedRowModel = e.options.features.groupedRowModel?.(e)), e.options.manualGrouping || !e._rowModels.groupedRowModel ? e.getPreGroupedRowModel() : e._rowModels.groupedRowModel();
}
-function $xe(e) {
+function tSe(e) {
return e.getGroupedRowModel();
}
-function eSe(e) {
+function nSe(e) {
return e._rowModels.sortedRowModel || (e._rowModels.sortedRowModel = e.options.features.sortedRowModel?.(e)), e.options.manualSorting || !e._rowModels.sortedRowModel ? e.getPreSortedRowModel() : e._rowModels.sortedRowModel();
}
-function tSe(e) {
+function rSe(e) {
return e.getSortedRowModel();
}
-function nSe(e) {
+function iSe(e) {
return e._rowModels.expandedRowModel || (e._rowModels.expandedRowModel = e.options.features.expandedRowModel?.(e)), e.options.manualExpanding || !e._rowModels.expandedRowModel ? e.getPreExpandedRowModel() : e._rowModels.expandedRowModel();
}
-function rSe(e) {
+function aSe(e) {
return e.getExpandedRowModel();
}
-function iSe(e) {
+function oSe(e) {
return e._rowModels.paginatedRowModel || (e._rowModels.paginatedRowModel = e.options.features.paginatedRowModel?.(e)), e.options.manualPagination || !e._rowModels.paginatedRowModel ? e.getPrePaginatedRowModel() : e._rowModels.paginatedRowModel();
}
-function aSe(e) {
+function sSe(e) {
return e.getPaginatedRowModel();
}
// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.js
-var oSe = { constructTableAPIs: (e) => {
+var cSe = { constructTableAPIs: (e) => {
Dq("coreRowModelsFeature", e, {
- table_getCoreRowModel: { fn: () => Jxe(e) },
- table_getPreFilteredRowModel: { fn: () => Yxe(e) },
- table_getFilteredRowModel: { fn: () => Xxe(e) },
- table_getPreGroupedRowModel: { fn: () => Zxe(e) },
- table_getGroupedRowModel: { fn: () => Qxe(e) },
- table_getPreSortedRowModel: { fn: () => $xe(e) },
- table_getSortedRowModel: { fn: () => eSe(e) },
- table_getPreExpandedRowModel: { fn: () => tSe(e) },
- table_getExpandedRowModel: { fn: () => nSe(e) },
- table_getPrePaginatedRowModel: { fn: () => rSe(e) },
- table_getPaginatedRowModel: { fn: () => iSe(e) },
- table_getRowModel: { fn: () => aSe(e) }
+ table_getCoreRowModel: { fn: () => Xxe(e) },
+ table_getPreFilteredRowModel: { fn: () => Zxe(e) },
+ table_getFilteredRowModel: { fn: () => Qxe(e) },
+ table_getPreGroupedRowModel: { fn: () => $xe(e) },
+ table_getGroupedRowModel: { fn: () => eSe(e) },
+ table_getPreSortedRowModel: { fn: () => tSe(e) },
+ table_getSortedRowModel: { fn: () => nSe(e) },
+ table_getPreExpandedRowModel: { fn: () => rSe(e) },
+ table_getExpandedRowModel: { fn: () => iSe(e) },
+ table_getPrePaginatedRowModel: { fn: () => aSe(e) },
+ table_getPaginatedRowModel: { fn: () => oSe(e) },
+ table_getRowModel: { fn: () => sSe(e) }
});
} };
// node_modules/@tanstack/table-core/dist/core/cells/constructCell.js
-function sSe(e) {
+function lSe(e) {
if (!e._cellPrototype) {
e._cellPrototype = { table: e };
let t = Object.values(e._features);
@@ -59154,48 +59164,48 @@ function sSe(e) {
}
return e._cellPrototype;
}
-function cSe(e, t, n) {
- let r = sSe(n), i = Object.create(r);
+function uSe(e, t, n) {
+ let r = lSe(n), i = Object.create(r);
i.column = e, i.id = `${t.id}_${e.id}`, i.row = t;
let a = n._cellInstanceInitFns;
for (let e = 0; e < a.length; e++) a[e](i);
return i;
}
// node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.utils.js
-function lSe(e) {
+function dSe(e) {
let t = e.table.getRowsInDisplayOrder(), n = e._displayIndexCache;
return t[n] === e ? n : -1;
}
-function uSe(e) {
+function fSe(e) {
let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? Nq(e, t).rows : t.rows;
for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;
return n;
}
-function dSe(e, t) {
+function pSe(e, t) {
if (vq(e._valuesCache, t)) return e._valuesCache[t];
let n = e.table.getColumn(t);
if (n?.accessorFn) return e._valuesCache[t] = n.accessorFn(e.original, e.index), e._valuesCache[t];
}
-function fSe(e, t) {
+function mSe(e, t) {
if (vq(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];
let n = e.table.getColumn(t);
if (n?.accessorFn) return n.columnDef.getUniqueValues ? (e._uniqueValuesCache[t] = n.columnDef.getUniqueValues(e.original, e.index), e._uniqueValuesCache[t]) : (e._uniqueValuesCache[t] = [e.getValue(t)], e._uniqueValuesCache[t]);
}
-function pSe(e, t) {
+function hSe(e, t) {
return e.getValue(t) ?? e.table.options.renderFallbackValue;
}
-function mSe(e) {
- return uxe(e.subRows, (e) => e.subRows);
+function gSe(e) {
+ return fxe(e.subRows, (e) => e.subRows);
}
-function hSe(e) {
+function _Se(e) {
let t = e.getCoreRowModel().flatRows, n = 0;
for (let e = 0; e < t.length; e++) n = Math.max(n, t[e].depth);
return n;
}
-function gSe(e) {
+function vSe(e) {
if (e.parentId) return e.table.getCoreRowModel().rowsById[e.parentId] ?? e.table.getRow(e.parentId, !0);
}
-function _Se(e) {
+function ySe(e) {
let t = [], n = e;
for (;;) {
let e = n.getParentRow();
@@ -59204,17 +59214,17 @@ function _Se(e) {
}
return t.reverse();
}
-function vSe(e) {
+function bSe(e) {
let t = e.table.getAllLeafColumns(), n = e._cellsCache;
n ||= e._cellsCache = /* @__PURE__ */ new WeakMap();
let r = Array(t.length);
for (let i = 0; i < t.length; i++) {
let a = t[i], o = n.get(a);
- o || (o = cSe(a, e, e.table), n.set(a, o)), r[i] = o;
+ o || (o = uSe(a, e, e.table), n.set(a, o)), r[i] = o;
}
return r;
}
-function ySe(e) {
+function xSe(e) {
let t = _q(), n = e.getAllCells();
for (let e = 0; e < n.length; e++) {
let r = n[e];
@@ -59222,52 +59232,52 @@ function ySe(e) {
}
return t;
}
-function bSe(e, t, n, r) {
+function SSe(e, t, n, r) {
return t.options.getRowId?.(e, n, r) ?? (r ? `${r.id}.${n}` : String(n));
}
-function xSe(e, t, n) {
+function CSe(e, t, n) {
let r = (n ? e.getPrePaginatedRowModel() : e.getRowModel()).rowsById[t];
if (!r && (r = e.getCoreRowModel().rowsById[t], !r)) throw Error();
return r;
}
// node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.js
-var SSe = {
+var wSe = {
assignRowPrototype: (e, t) => {
Oq("coreRowsFeature", e, t, {
- row_getDisplayIndex: { fn: (e) => lSe(e) },
+ row_getDisplayIndex: { fn: (e) => dSe(e) },
row_getAllCellsByColumnId: {
- fn: (e) => ySe(e),
+ fn: (e) => xSe(e),
memoDeps: (e) => [e.getAllCells()]
},
row_getAllCells: {
- fn: (e) => vSe(e),
+ fn: (e) => bSe(e),
memoDeps: (e) => [e.table.getAllLeafColumns()]
},
row_getLeafRows: {
- fn: (e) => mSe(e),
+ fn: (e) => gSe(e),
memoDeps: (e) => [e.subRows]
},
- row_getParentRow: { fn: (e) => gSe(e) },
- row_getParentRows: { fn: (e) => _Se(e) },
- row_getUniqueValues: { fn: (e, t) => fSe(e, t) },
- row_getValue: { fn: (e, t) => dSe(e, t) },
- row_renderValue: { fn: (e, t) => pSe(e, t) }
+ row_getParentRow: { fn: (e) => vSe(e) },
+ row_getParentRows: { fn: (e) => ySe(e) },
+ row_getUniqueValues: { fn: (e, t) => mSe(e, t) },
+ row_getValue: { fn: (e, t) => pSe(e, t) },
+ row_renderValue: { fn: (e, t) => hSe(e, t) }
});
},
constructTableAPIs: (e) => {
Dq("coreRowsFeature", e, {
table_getRowsInDisplayOrder: {
- fn: () => uSe(e),
+ fn: () => fSe(e),
memoDeps: () => [
e.getPrePaginatedRowModel().rows,
e.options.paginateExpandedRows,
e.options.paginateExpandedRows === !1 ? e.atoms.expanded?.get() : void 0
]
},
- table_getRowId: { fn: (t, n, r) => bSe(t, e, n, r) },
- table_getRow: { fn: (t, n) => xSe(e, t, n) },
+ table_getRowId: { fn: (t, n, r) => SSe(t, e, n, r) },
+ table_getRow: { fn: (t, n) => CSe(e, t, n) },
table_getMaxSubRowDepth: {
- fn: () => hSe(e),
+ fn: () => _Se(e),
memoDeps: () => [e.getCoreRowModel()]
}
});
@@ -59290,7 +59300,7 @@ function Uq(e, t, n = (e, t) => e === t) {
Hq(e, t, n), e._reactivity.commit?.();
});
}
-function CSe(e) {
+function TSe(e) {
let t = hq(e.initialState);
e._reactivity.batch(() => {
let n = Object.keys(t);
@@ -59302,7 +59312,7 @@ function CSe(e) {
let n = Object.values(e._features);
for (let t = 0; t < n.length; t++) n[t].resetTableInstanceData?.(e);
}
-function wSe(e, t) {
+function ESe(e, t) {
let { features: n, atoms: r, initialState: i } = e.options;
if (!e.options.mergeOptions) return {
...e.options,
@@ -59335,19 +59345,19 @@ function wSe(e, t) {
});
}
function Wq(e, t, n) {
- let r = wSe(e, mq(t, e.options));
+ let r = ESe(e, mq(t, e.options));
e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Uq(e, r.state ?? null);
}
// node_modules/@tanstack/table-core/dist/core/coreFeatures.js
-var TSe = {
- coreCellsFeature: hxe,
- coreColumnsFeature: jxe,
- coreHeadersFeature: Uxe,
- coreRowModelsFeature: oSe,
- coreRowsFeature: SSe,
+var DSe = {
+ coreCellsFeature: _xe,
+ coreColumnsFeature: Nxe,
+ coreHeadersFeature: Gxe,
+ coreRowModelsFeature: cSe,
+ coreRowsFeature: wSe,
coreTablesFeature: { constructTableAPIs: (e) => {
Dq("coreTablesFeature", e, {
- table_reset: { fn: () => CSe(e) },
+ table_reset: { fn: () => TSe(e) },
table_setOptions: { fn: (t) => Wq(e, t) }
});
} }
@@ -59372,17 +59382,17 @@ function Kq(e) {
return e;
}
// node_modules/@tanstack/table-core/dist/core/table/constructTable.js
-function ESe(e, t = {}) {
+function OSe(e, t = {}) {
return Object.values(e).forEach((e) => {
t = e.getInitialState?.(t) ?? t;
}), hq(t);
}
-function DSe(e) {
+function kSe(e) {
let t = e.features.coreReactivityFeature, { aggregationFns: n, columnMeta: r, coreRowModel: i, expandedRowModel: a, facetedMinMaxValues: o, facetedRowModel: s, facetedUniqueValues: c, filterFns: l, filterMeta: u, filteredRowModel: d, groupedRowModel: f, paginatedRowModel: p, sortFns: m, sortedRowModel: h, tableMeta: g, ..._ } = e.features, v = {
_cellInstanceInitFns: [],
_columnInstanceInitFns: [],
_features: {
- ...TSe,
+ ...DSe,
..._
},
_headerGroupInstanceInitFns: [],
@@ -59420,7 +59430,7 @@ function DSe(e) {
set(e) {
v.optionsStore.set(() => e);
}
- })) : v.options = b, v.initialState = ESe(v._features, v.options.initialState);
+ })) : v.options = b, v.initialState = OSe(v._features, v.options.initialState);
let x = Object.keys(v.initialState);
for (let e = 0; e < x.length; e++) {
let n = x[e];
@@ -59435,7 +59445,7 @@ function DSe(e) {
return r;
}, { debugName: `table/atoms/${n}` });
}
- Hq(v), v.store = rxe(t.createReadonlyAtom(() => {
+ Hq(v), v.store = axe(t.createReadonlyAtom(() => {
let e = {};
for (let t = 0; t < x.length; t++) {
let n = x[t];
@@ -59453,7 +59463,7 @@ function DSe(e) {
return v;
}
// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.utils.js
-function OSe() {
+function ASe() {
return _q();
}
function qq(e, t) {
@@ -59475,12 +59485,12 @@ function Jq(e) {
function Yq(e) {
return (e.columnDef.enableHiding ?? !0) && (e.table.options.enableHiding ?? !0);
}
-function kSe(e) {
+function jSe(e) {
return (t) => {
qq(e, t.target.checked);
};
}
-function ASe(e) {
+function MSe(e) {
let t = e.getAllCells(), n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e];
@@ -59496,16 +59506,16 @@ function Xq(e) {
}
return t;
}
-function jSe(e) {
+function NSe(e) {
return e.getAllFlatColumns().filter((e) => kq(e, "getIsVisible", Jq));
}
-function MSe(e) {
+function PSe(e) {
return e.getAllLeafColumns().filter((e) => kq(e, "getIsVisible", Jq));
}
function Zq(e, t) {
Cq(e, "columnVisibility", t);
}
-function NSe(e, t) {
+function FSe(e, t) {
Zq(e, t ? _q() : Object.assign(_q(), hq(e.initialState.columnVisibility ?? {})));
}
function Qq(e, t) {
@@ -59520,10 +59530,10 @@ function Qq(e, t) {
function $q(e) {
return !e.getAllLeafColumns().some((e) => !kq(e, "getIsVisible", Jq));
}
-function PSe(e) {
+function ISe(e) {
return e.getAllLeafColumns().some((e) => kq(e, "getIsVisible", Jq));
}
-function FSe(e) {
+function LSe(e) {
return (t) => {
Qq(e, t.target.checked);
};
@@ -59531,7 +59541,7 @@ function FSe(e) {
// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.js
var eJ = {
getInitialState: (e) => ({
- columnVisibility: OSe(),
+ columnVisibility: ASe(),
...e
}),
getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: yq("columnVisibility", e) }),
@@ -59546,14 +59556,14 @@ var eJ = {
]
},
column_getCanHide: { fn: (e) => Yq(e) },
- column_getToggleVisibilityHandler: { fn: (e) => kSe(e) },
+ column_getToggleVisibilityHandler: { fn: (e) => jSe(e) },
column_toggleVisibility: { fn: (e, t) => qq(e, t) }
});
},
assignRowPrototype: (e, t) => {
Oq("columnVisibilityFeature", e, t, {
row_getVisibleCells: {
- fn: (e) => ASe(e),
+ fn: (e) => MSe(e),
memoDeps: (e) => [
e.getAllCells(),
t.atoms.columnPinning?.get(),
@@ -59569,7 +59579,7 @@ var eJ = {
constructTableAPIs: (e) => {
Dq("columnVisibilityFeature", e, {
table_getVisibleFlatColumns: {
- fn: () => jSe(e),
+ fn: () => NSe(e),
memoDeps: () => [
e.atoms.columnVisibility?.get(),
e.atoms.columnOrder?.get(),
@@ -59579,7 +59589,7 @@ var eJ = {
]
},
table_getVisibleLeafColumns: {
- fn: () => MSe(e),
+ fn: () => PSe(e),
memoDeps: () => [
e.atoms.columnVisibility?.get(),
e.atoms.columnOrder?.get(),
@@ -59589,11 +59599,11 @@ var eJ = {
]
},
table_setColumnVisibility: { fn: (t) => Zq(e, t) },
- table_resetColumnVisibility: { fn: (t) => NSe(e, t) },
+ table_resetColumnVisibility: { fn: (t) => FSe(e, t) },
table_toggleAllColumnsVisible: { fn: (t) => Qq(e, t) },
table_getIsAllColumnsVisible: { fn: () => $q(e) },
- table_getIsSomeColumnsVisible: { fn: () => PSe(e) },
- table_getToggleAllColumnsVisibilityHandler: { fn: () => FSe(e) }
+ table_getIsSomeColumnsVisible: { fn: () => ISe(e) },
+ table_getToggleAllColumnsVisibilityHandler: { fn: () => LSe(e) }
});
}
}, tJ = 0, nJ = 10;
@@ -59603,7 +59613,7 @@ function rJ() {
pageSize: nJ
};
}
-function ISe(e) {
+function RSe(e) {
if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {
if ((e.atoms.pagination?.get()?.pageIndex ?? tJ) === tJ) return;
oJ(e, !0);
@@ -59612,7 +59622,7 @@ function ISe(e) {
function iJ(e, t) {
Cq(e, "pagination", t);
}
-function LSe(e, t) {
+function zSe(e, t) {
iJ(e, t ? rJ() : hq(e.initialState.pagination ?? rJ()));
}
function aJ(e, t) {
@@ -59627,7 +59637,7 @@ function aJ(e, t) {
function oJ(e, t) {
aJ(e, t ? tJ : e.initialState.pagination?.pageIndex ?? tJ);
}
-function RSe(e, t) {
+function BSe(e, t) {
sJ(e, t ? nJ : e.initialState.pagination?.pageSize ?? nJ);
}
function sJ(e, t) {
@@ -59640,31 +59650,31 @@ function sJ(e, t) {
};
});
}
-function zSe(e) {
+function VSe(e) {
let t = cJ(e), n = [];
return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;
}
-function BSe(e) {
+function HSe(e) {
return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;
}
-function VSe(e) {
+function USe(e) {
let t = e.atoms.pagination?.get()?.pageIndex ?? tJ, n = cJ(e);
return n === -1 || n !== 0 && t < n - 1;
}
-function HSe(e) {
+function WSe(e) {
let t = e.atoms.pagination?.get()?.pageIndex ?? tJ, n = cJ(e);
return Number.isFinite(n) && n > 0 && t < n - 1;
}
-function USe(e) {
+function GSe(e) {
return aJ(e, (e) => e - 1);
}
-function WSe(e) {
+function KSe(e) {
return aJ(e, (e) => e + 1);
}
-function GSe(e) {
+function qSe(e) {
return aJ(e, 0);
}
-function KSe(e) {
+function JSe(e) {
let t = cJ(e);
if (!(!Number.isFinite(t) || t <= 0)) return aJ(e, t - 1);
}
@@ -59689,34 +59699,34 @@ var uJ = {
getDefaultTableOptions: (e) => ({ onPaginationChange: yq("pagination", e) }),
constructTableAPIs: (e) => {
Dq("rowPaginationFeature", e, {
- table_autoResetPageIndex: { fn: () => ISe(e) },
+ table_autoResetPageIndex: { fn: () => RSe(e) },
table_setPagination: { fn: (t) => iJ(e, t) },
- table_resetPagination: { fn: (t) => LSe(e, t) },
+ table_resetPagination: { fn: (t) => zSe(e, t) },
table_setPageIndex: { fn: (t) => aJ(e, t) },
table_resetPageIndex: { fn: (t) => oJ(e, t) },
table_setPageSize: { fn: (t) => sJ(e, t) },
table_getPageCount: { fn: () => cJ(e) },
- table_resetPageSize: { fn: (t) => RSe(e, t) },
- table_getPageOptions: { fn: () => zSe(e) },
- table_getCanPreviousPage: { fn: () => BSe(e) },
- table_getCanNextPage: { fn: () => VSe(e) },
- table_getCanLastPage: { fn: () => HSe(e) },
- table_previousPage: { fn: () => USe(e) },
- table_nextPage: { fn: () => WSe(e) },
- table_firstPage: { fn: () => GSe(e) },
- table_lastPage: { fn: () => KSe(e) },
+ table_resetPageSize: { fn: (t) => BSe(e, t) },
+ table_getPageOptions: { fn: () => VSe(e) },
+ table_getCanPreviousPage: { fn: () => HSe(e) },
+ table_getCanNextPage: { fn: () => USe(e) },
+ table_getCanLastPage: { fn: () => WSe(e) },
+ table_previousPage: { fn: () => GSe(e) },
+ table_nextPage: { fn: () => KSe(e) },
+ table_firstPage: { fn: () => qSe(e) },
+ table_lastPage: { fn: () => JSe(e) },
table_getRowCount: { fn: () => lJ(e) }
});
}
};
// node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.js
-function qSe() {
+function YSe() {
return _q();
}
function dJ(e, t) {
e.options.onRowSelectionChange?.(t);
}
-function JSe(e, t) {
+function XSe(e, t) {
e._lastSelectedRowId = null, dJ(e, t ? _q() : Object.assign(_q(), hq(e.initialState.rowSelection ?? {})));
}
function fJ(e, t, n) {
@@ -59744,10 +59754,10 @@ function pJ(e, t, n) {
}), a;
});
}
-function YSe(e) {
+function ZSe(e) {
return e.getCoreRowModel();
}
-function XSe(e) {
+function QSe(e) {
let t = e.getCoreRowModel();
return kq(e, "getIsSomeRowsSelected", _J) ? OJ(t, e) : {
rows: [],
@@ -59755,7 +59765,7 @@ function XSe(e) {
rowsById: _q()
};
}
-function ZSe(e) {
+function $Se(e) {
let t = e.getFilteredRowModel();
return kq(e, "getIsSomeRowsSelected", _J) ? OJ(t, e) : {
rows: [],
@@ -59763,7 +59773,7 @@ function ZSe(e) {
rowsById: _q()
};
}
-function QSe(e) {
+function eCe(e) {
let t = e.getSortedRowModel();
return kq(e, "getIsSomeRowsSelected", _J) ? OJ(t, e) : {
rows: [],
@@ -59794,15 +59804,15 @@ function gJ(e) {
function _J(e) {
return kq(e, "getSelectedRowIds", mJ).length > 0;
}
-function $Se(e) {
+function tCe(e) {
return e.getPaginatedRowModel().flatRows.filter((e) => xJ(e)).some((e) => yJ(e) || kq(e, "getIsSomeSelected", bJ));
}
-function eCe(e) {
+function nCe(e) {
return (t) => {
fJ(e, t.target.checked);
};
}
-function tCe(e) {
+function rCe(e) {
return (t) => {
pJ(e, t.target.checked);
};
@@ -59821,7 +59831,7 @@ function yJ(e) {
function bJ(e) {
return AJ(e) === "some";
}
-function nCe(e) {
+function iCe(e) {
return AJ(e) === "all";
}
function xJ(e) {
@@ -59836,15 +59846,15 @@ function CJ(e) {
let t = e.table.options;
return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;
}
-function rCe(e, t) {
+function aCe(e, t) {
let n = xJ(e);
return (r) => {
if (!n) return;
let i = r, a = e.table, o = i.target.checked, s = a._lastSelectedRowId;
- a.options.enableRowRangeSelection !== !1 && s !== null && CJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && iCe(e, s, o, t) || vJ(e, o, t), a._lastSelectedRowId = e.id;
+ a.options.enableRowRangeSelection !== !1 && s !== null && CJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && oCe(e, s, o, t) || vJ(e, o, t), a._lastSelectedRowId = e.id;
};
}
-function iCe(e, t, n, r) {
+function oCe(e, t, n, r) {
let i = r?.selectChildren ?? !0, a = e.table, o = a.getRowsInDisplayOrder(), s = a.getPrePaginatedRowModel().rowsById[t] ?? a.getCoreRowModel().rowsById[t];
if (!s) return !1;
let c = s.getDisplayIndex(), l = e.getDisplayIndex(), u = o[c], d = o[l];
@@ -59939,7 +59949,7 @@ var jJ = {
e._lastSelectedRowId = null;
},
getInitialState: (e) => ({
- rowSelection: qSe(),
+ rowSelection: YSe(),
...e
}),
getDefaultTableOptions: (e) => ({
@@ -59966,7 +59976,7 @@ var jJ = {
]
},
row_getIsAllSubRowsSelected: {
- fn: (e) => nCe(e),
+ fn: (e) => iCe(e),
memoDeps: (e) => [
e.subRows,
e.table.atoms.rowSelection?.get(),
@@ -59976,26 +59986,26 @@ var jJ = {
row_getCanSelect: { fn: (e) => xJ(e) },
row_getCanSelectSubRows: { fn: (e) => SJ(e) },
row_getCanMultiSelect: { fn: (e) => CJ(e) },
- row_getToggleSelectedHandler: { fn: (e, t) => rCe(e, t) }
+ row_getToggleSelectedHandler: { fn: (e, t) => aCe(e, t) }
});
},
constructTableAPIs: (e) => {
Dq("rowSelectionFeature", e, {
table_setRowSelection: { fn: (t) => dJ(e, t) },
- table_resetRowSelection: { fn: (t) => JSe(e, t) },
+ table_resetRowSelection: { fn: (t) => XSe(e, t) },
table_toggleAllRowsSelected: { fn: (t, n) => fJ(e, t, n) },
table_toggleAllPageRowsSelected: { fn: (t, n) => pJ(e, t, n) },
- table_getPreSelectedRowModel: { fn: () => YSe(e) },
+ table_getPreSelectedRowModel: { fn: () => ZSe(e) },
table_getSelectedRowModel: {
- fn: () => XSe(e),
+ fn: () => QSe(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getCoreRowModel()]
},
table_getFilteredSelectedRowModel: {
- fn: () => ZSe(e),
+ fn: () => $Se(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getFilteredRowModel()]
},
table_getGroupedSelectedRowModel: {
- fn: () => QSe(e),
+ fn: () => eCe(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]
},
table_getSelectedRowIds: {
@@ -60025,32 +60035,32 @@ var jJ = {
memoDeps: () => [e.atoms.rowSelection?.get()]
},
table_getIsSomePageRowsSelected: {
- fn: () => $Se(e),
+ fn: () => tCe(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getPaginatedRowModel(),
e.options.enableRowSelection
]
},
- table_getToggleAllRowsSelectedHandler: { fn: () => eCe(e) },
- table_getToggleAllPageRowsSelectedHandler: { fn: () => tCe(e) }
+ table_getToggleAllRowsSelectedHandler: { fn: () => nCe(e) },
+ table_getToggleAllPageRowsSelectedHandler: { fn: () => rCe(e) }
});
}
-}, aCe = /([0-9]+)/gm;
+}, sCe = /([0-9]+)/gm;
/* @__NO_SIDE_EFFECTS__ */
-function oCe(e) {
+function cCe(e) {
let t = Object.assign((e, n, r) => {
let i = e.getValue(r), a = n.getValue(r), o = t.resolveDataValue;
return o && (i = o(i), a = o(a)), t.sort(i, a, e, n, r);
}, e);
return t;
}
-var MJ = /* @__PURE__ */ oCe({ sort: (e, t) => sCe(e, t) });
-function sCe(e, t) {
+var MJ = /* @__PURE__ */ cCe({ sort: (e, t) => lCe(e, t) });
+function lCe(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
// node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.utils.js
-function cCe() {
+function uCe() {
return [];
}
function NJ(e, t) {
@@ -60059,7 +60069,7 @@ function NJ(e, t) {
function PJ(e, t) {
NJ(e, t ? [] : hq(e.initialState.sorting ?? []));
}
-function lCe(e) {
+function dCe(e) {
e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && PJ(e);
}
function FJ(e) {
@@ -60070,7 +60080,7 @@ function FJ(e) {
r = "datetime";
break;
}
- if (typeof a == "string" && (i = !0, a.split(aCe).length > 1)) {
+ if (typeof a == "string" && (i = !0, a.split(sCe).length > 1)) {
r = "alphanumeric";
break;
}
@@ -60091,7 +60101,7 @@ function IJ(e) {
}
function LJ(e) {
let t = e.table._rowModelFns.sortFns;
- return lxe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? FJ(e) : t?.[e.columnDef.sortFn] ?? MJ;
+ return dxe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? FJ(e) : t?.[e.columnDef.sortFn] ?? MJ;
}
function RJ(e, t, n) {
let r = BJ(e, n && HJ(e)), i = t !== void 0;
@@ -60129,13 +60139,13 @@ function UJ(e) {
let t = e.table.atoms.sorting?.get()?.find((t) => t.id === e.id);
return t ? t.desc ? "desc" : "asc" : !1;
}
-function uCe(e) {
+function fCe(e) {
return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;
}
-function dCe(e) {
+function pCe(e) {
NJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);
}
-function fCe(e) {
+function mCe(e) {
let t = VJ(e);
return (n) => {
t && RJ(e, void 0, HJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);
@@ -60145,7 +60155,7 @@ function fCe(e) {
var WJ = {
getInitialState(e) {
return {
- sorting: cCe(),
+ sorting: uCe(),
...e
};
},
@@ -60173,34 +60183,34 @@ var WJ = {
column_getCanSort: { fn: (e) => VJ(e) },
column_getCanMultiSort: { fn: (e) => HJ(e) },
column_getIsSorted: { fn: (e) => UJ(e) },
- column_getSortIndex: { fn: (e) => uCe(e) },
- column_clearSorting: { fn: (e) => dCe(e) },
- column_getToggleSortingHandler: { fn: (e) => fCe(e) }
+ column_getSortIndex: { fn: (e) => fCe(e) },
+ column_clearSorting: { fn: (e) => pCe(e) },
+ column_getToggleSortingHandler: { fn: (e) => mCe(e) }
});
},
constructTableAPIs(e) {
Dq("rowSortingFeature", e, {
- table_autoResetSorting: { fn: () => lCe(e) },
+ table_autoResetSorting: { fn: () => dCe(e) },
table_setSorting: { fn: (t) => NJ(e, t) },
table_resetSorting: { fn: (t) => PJ(e, t) }
});
}
-}, pCe = typeof window > "u" ? F.useEffect : F.useLayoutEffect;
+}, hCe = typeof window > "u" ? F.useEffect : F.useLayoutEffect;
function GJ(e, t) {
let [{ table: n, rootSource: r }] = (0, F.useState)(() => {
- let t = DSe({
+ let t = kSe({
...e,
features: {
- coreReactivityFeature: oxe(),
+ coreReactivityFeature: cxe(),
...e.features
}
});
- return t.Subscribe = ((e) => nxe({
+ return t.Subscribe = ((e) => ixe({
...e,
source: e.source ?? t.store
- })), t.FlexRender = Gbe, {
+ })), t.FlexRender = qbe, {
table: t,
- rootSource: axe(t.store, uq)
+ rootSource: sxe(t.store, uq)
};
}), i = n;
Wq(i, (t) => ({
@@ -60208,7 +60218,7 @@ function GJ(e, t) {
...e
}), { syncExternalState: !1 });
let a = i.options.state, o = r.get(), s = pq(r, t, { compare: uq });
- return pCe(() => {
+ return hCe(() => {
r.markCommitted(o), Uq(i, a ?? null, uq);
}), (0, F.useMemo)(() => ({
...n,
@@ -60224,7 +60234,7 @@ function GJ(e, t) {
function KJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
className: q("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, I.jsx)(Vme, {
+ children: /* @__PURE__ */ (0, I.jsx)(Hme, {
ref: r,
...i,
className: q("bui-table", e === "sm" && "bui-table-sm", t)
@@ -60232,7 +60242,7 @@ function KJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i
});
}
// src/react/catalog-grid/catalog-table-columns.ts
-var qJ = "peach.catalog-column-widths.v1", JJ = "peach.catalog-column-visibility.v1", mCe = {
+var qJ = "peach.catalog-column-widths.v1", JJ = "peach.catalog-column-visibility.v1", gCe = {
select: {
width: 48,
min: 48,
@@ -60298,13 +60308,13 @@ var qJ = "peach.catalog-column-widths.v1", JJ = "peach.catalog-column-visibility
min: 144,
max: 560
}
-}, hCe = {
+}, _Ce = {
code: !1,
o: !1,
new: !1,
played: !1,
release: !1
-}, gCe = {
+}, vCe = {
select: "选择",
name: "作品",
dur: "时长",
@@ -60334,11 +60344,11 @@ var qJ = "peach.catalog-column-widths.v1", JJ = "peach.catalog-column-visibility
"release"
].map((e) => ({
id: e,
- label: gCe[e],
- ...mCe[e],
+ label: vCe[e],
+ ...gCe[e],
flex: e === "name",
required: e === "select" || e === "name",
- visible: hCe[e] !== !1
+ visible: _Ce[e] !== !1
}));
function XJ(e) {
try {
@@ -60348,7 +60358,7 @@ function XJ(e) {
return {};
}
}
-function _Ce() {
+function yCe() {
let e = XJ(qJ), t = XJ(JJ);
return YJ.filter((e) => e.id !== "select" && (e.required || (typeof t[e.id] == "boolean" ? t[e.id] === !0 : e.visible))).map((t) => {
let n = e[t.id], r = typeof n == "number" && Number.isFinite(n) && !(t.flex && n === t.width);
@@ -60369,22 +60379,22 @@ function QJ() {
return !1;
}
}
-function vCe(e) {
+function bCe(e) {
try {
e ? localStorage.setItem(ZJ, "1") : localStorage.removeItem(ZJ);
} catch {}
}
-var yCe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";
+var xCe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";
// src/catalog-content-skeleton.ts
function $J(e) {
return e === "name" ? "<span data-list-skeleton-name><i class=\"skeleton-sheen\"></i><b class=\"skeleton-sheen\"></b><span><i class=\"skeleton-sheen\"></i><i class=\"skeleton-sheen\"></i></span></span>" : "<i data-list-skeleton-bar class=\"skeleton-sheen\"></i>";
}
-function bCe(e) {
- let t = _Ce(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${z(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${$J(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;
- return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${z(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (QJ() ? yCe : "") + `<div data-board-data-table><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="table-layout:fixed;min-width:${r}px"><colgroup>${i}</colgroup><thead><tr>${a}</tr></thead><tbody>${o.repeat(6)}</tbody></table></div></div></div></div>`;
+function SCe(e) {
+ let t = yCe(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${z(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${$J(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;
+ return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${z(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (QJ() ? xCe : "") + `<div data-board-data-table><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="table-layout:fixed;min-width:${r}px"><colgroup>${i}</colgroup><thead><tr>${a}</tr></thead><tbody>${o.repeat(6)}</tbody></table></div></div></div></div>`;
}
function eY(e, t) {
- return pG() === "list" ? bCe(e) : nc(e, {
+ return fG() === "list" ? SCe(e) : nc(e, {
variant: "cards",
className: "catalog-skeleton postercard-skeleton",
cardRatio: t
@@ -60407,7 +60417,7 @@ function tY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {
let r = t.closest("[role=\"row\"][data-key]");
r && oK(e, r) && n(r.dataset.key);
} : void 0,
- children: r ? /* @__PURE__ */ (0, I.jsx)(zme, {
+ children: r ? /* @__PURE__ */ (0, I.jsx)(Bme, {
className: "relative min-w-0",
onResize: r.resize,
onResizeEnd: r.save,
@@ -60498,7 +60508,7 @@ function iY({ label: e, options: t, sorting: n, onChange: r }) {
variant: "secondary",
iconOnly: !0,
disabled: !i,
- leadingIcon: _G,
+ leadingIcon: gG,
"data-icon-state": i?.desc ? "b" : "a",
"aria-label": `${e}改为${i?.desc ? "升序" : "降序"}`,
onClick: () => {
@@ -60565,7 +60575,7 @@ function sY(e, t) {
localStorage.setItem(e, JSON.stringify(t));
} catch {}
}
-function xCe(e, t) {
+function CCe(e, t) {
let n = (e) => Object.fromEntries(Object.entries(t).map(([t, n]) => {
let r = e[t];
return [t, typeof r == "number" && Number.isFinite(r) ? Math.max(n.min, Math.min(n.max, r)) : n.flex ? "1fr" : n.width];
@@ -60597,7 +60607,7 @@ function xCe(e, t) {
}
};
}
-function SCe(e, t, n, r = {}) {
+function wCe(e, t, n, r = {}) {
let i = (e) => ({
...r,
...Object.fromEntries(t.filter((t) => !n.includes(t) && typeof e[t] == "boolean").map((t) => [t, e[t] === !0]))
@@ -60616,7 +60626,7 @@ function cY(e, t, n) {
min: e.min ?? 96,
max: e.max ?? (e.flex ? 2e3 : 800),
flex: e.flex
- }])), [t]), i = xCe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = SCe(n?.visibility ?? `peach.table.${e}.visibility.v1`, t.map((e) => e.id), t.filter((e) => e.required).map((e) => e.id), Object.fromEntries(t.filter((e) => e.visible === !1).map((e) => [e.id, !1]))), o = t.some((e) => e.flex && a.visibility[e.id] !== !1 && i.widths[e.id] === "1fr");
+ }])), [t]), i = CCe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = wCe(n?.visibility ?? `peach.table.${e}.visibility.v1`, t.map((e) => e.id), t.filter((e) => e.required).map((e) => e.id), Object.fromEntries(t.filter((e) => e.visible === !1).map((e) => [e.id, !1]))), o = t.some((e) => e.flex && a.visibility[e.id] !== !1 && i.widths[e.id] === "1fr");
return {
...i,
...a,
@@ -60635,7 +60645,7 @@ function cY(e, t, n) {
};
}
// src/react/catalog-grid/catalog-column-widths.ts
-function CCe() {
+function TCe() {
return cY("catalog", YJ, {
widths: qJ,
visibility: JJ
@@ -60682,9 +60692,9 @@ function uY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {
});
}
// src/react/catalog-grid/catalog-table-controls.tsx
-function wCe({ item: e, actions: t }) {
- let { rating: n } = e, r = OH(), i = (0, F.useRef)(0), a = CP(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {
- bP(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {
+function ECe({ item: e, actions: t }) {
+ let { rating: n } = e, r = OH(), i = (0, F.useRef)(0), a = xP(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {
+ vP(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {
...e,
rating: t
});
@@ -60743,7 +60753,7 @@ function fY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {
}, e.label) : /* @__PURE__ */ (0, I.jsx)(DH, {
size: "small",
href: e.href,
- trailingIcon: NB,
+ trailingIcon: MB,
className: t === "inline" ? "shrink-0" : "w-full",
disabled: e.disabled,
onClick: r,
@@ -60780,7 +60790,7 @@ function pY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,
"aria-label": t,
onClick: () => u(!0),
children: t
- }), /* @__PURE__ */ (0, I.jsx)(Ez, {
+ }), /* @__PURE__ */ (0, I.jsx)(Tz, {
triggerRef: c,
isOpen: l,
onOpenChange: u,
@@ -60832,7 +60842,7 @@ function mY({ preferences: e, label: t = "表格" }) {
}
function hY({ preferences: e, id: t }) {
let n = e.columns.find((e) => e.id === t);
- return e.canResize(t) ? /* @__PURE__ */ (0, I.jsx)(Xme, { "aria-label": `调整${n.label}列宽` }) : null;
+ return e.canResize(t) ? /* @__PURE__ */ (0, I.jsx)(Zme, { "aria-label": `调整${n.label}列宽` }) : null;
}
// src/react/components/table-selection-header.tsx
function gY(e, t) {
@@ -60857,12 +60867,12 @@ function _Y({ table: e, label: t, page: n = !1, disabled: r = !1 }) {
});
}
// src/react/catalog-grid/catalog-list-page.tsx
-var TCe = Kq({
+var DCe = Kq({
rowSortingFeature: WJ,
rowSelectionFeature: jJ,
rowPaginationFeature: uJ,
columnVisibilityFeature: eJ
-}), ECe = [
+}), OCe = [
{
id: "name",
label: "名称"
@@ -60900,8 +60910,8 @@ var TCe = Kq({
label: "观看时间"
}
], vY = /* @__PURE__ */ new Map();
-function DCe(e) {
- let t = CCe(), n = aK(), r = gP(e.filters || {}, !1), [i] = (0, F.useState)(() => {
+function kCe(e) {
+ let t = TCe(), n = aK(), r = mP(e.filters || {}, !1), [i] = (0, F.useState)(() => {
let t = new URLSearchParams(r);
return new URLSearchParams(location.search).has("seed") || t.delete("seed"), `${e.mode}:${e.listScope || e.entityKey || ""}:${t}`;
}), [a, o] = (0, F.useState)(() => vY.get(i) || {
@@ -60940,7 +60950,7 @@ function DCe(e) {
}
}), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : XK(f, e.layout.javImage), [h] = (0, F.useState)(QJ);
(0, F.useEffect)(() => {
- d.data && !d.isPlaceholderData && vCe(m.length > 0);
+ d.data && !d.isPlaceholderData && bCe(m.length > 0);
}, [
d.data,
d.isPlaceholderData,
@@ -60973,7 +60983,7 @@ function DCe(e) {
c.pageIndex
]);
let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = GJ({
- features: TCe,
+ features: DCe,
columns: (0, F.useMemo)(() => {
let t = Gq();
return t.columns([
@@ -60996,7 +61006,7 @@ function DCe(e) {
id: "name",
header: "作品",
enableSorting: !0,
- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(OCe, {
+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(ACe, {
item: t.original,
props: e,
disabled: d.isPlaceholderData
@@ -61053,7 +61063,7 @@ function DCe(e) {
id: "rating",
header: "评分",
enableSorting: !0,
- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(wCe, {
+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(ECe, {
item: t.original,
actions: e.actions
})
@@ -61142,7 +61152,7 @@ function DCe(e) {
"data-toolbar-actions": "",
children: [/* @__PURE__ */ (0, I.jsx)(mY, { preferences: t }), /* @__PURE__ */ (0, I.jsx)(iY, {
label: "作品列表",
- options: ECe,
+ options: OCe,
sorting: s,
onChange: (e) => _.setSorting(e)
})]
@@ -61156,7 +61166,7 @@ function DCe(e) {
className: "",
assetIds: m
}),
- d.isError ? /* @__PURE__ */ (0, I.jsx)(GG, {
+ d.isError ? /* @__PURE__ */ (0, I.jsx)(WG, {
message: bn(d.error),
onRetry: () => void d.refetch()
}) : null,
@@ -61177,7 +61187,7 @@ function DCe(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, I.jsxs)(mB, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(hB, {
+ children: [/* @__PURE__ */ (0, I.jsxs)(pB, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(mB, {
id: e.id,
isRowHeader: e.id === "name",
allowsSorting: e.column.getCanSort(),
@@ -61193,27 +61203,27 @@ function DCe(e) {
preferences: t,
id: e.id
})] })
- }, e.id)), /* @__PURE__ */ (0, I.jsx)(hB, {
+ }, e.id)), /* @__PURE__ */ (0, I.jsx)(mB, {
id: "remaining-space",
"aria-label": "行空白区域",
"data-table-space": "",
width: t.spaceWidth,
minWidth: 0
- })] }), /* @__PURE__ */ (0, I.jsx)(vB, {
+ })] }), /* @__PURE__ */ (0, I.jsx)(_B, {
renderEmptyState: () => d.isError ? "作品列表未取得" : "没有符合的作品",
- children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsxs)(xB, {
+ children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsxs)(bB, {
id: `skeleton-${t}`,
"data-list-skeleton-row": "",
"aria-hidden": "true",
- children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(CB, { children: /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: $J(e.id) } }) }, e.id)), /* @__PURE__ */ (0, I.jsx)(CB, { "data-table-space": "" })]
- }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, I.jsxs)(xB, {
+ children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(SB, { children: /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: $J(e.id) } }) }, e.id)), /* @__PURE__ */ (0, I.jsx)(SB, { "data-table-space": "" })]
+ }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, I.jsxs)(bB, {
id: e.id,
"data-catalog-row": "",
"data-id": e.original.id,
"data-guide-video": (!e.original.medium || e.original.medium === "video") && e.original.location !== "online" && !String(e.original.name || "").toLowerCase().endsWith(".iso") ? "" : void 0,
"data-library": n.get(e.original.library_id || "")?.color ? e.original.library_id : void 0,
"data-board-selected": e.getIsSelected() || void 0,
- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, I.jsx)(CB, { children: QK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, I.jsx)(CB, { "data-table-space": "" })]
+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, I.jsx)(SB, { children: QK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, I.jsx)(SB, { "data-table-space": "" })]
}, e.id))
})]
})
@@ -61229,9 +61239,9 @@ function DCe(e) {
]
});
}
-function OCe({ item: e, props: t, disabled: n }) {
+function ACe({ item: e, props: t, disabled: n }) {
let r = wo(e, "small", !1, t.layout.javImage), i = Number(e.part_group?.count) > 1 && e.part_group || null, a = Number(e.edition_group?.count) > 1 && e.edition_group || null, o = i?.title || e.name || "", s = t.helpers.displayName(e, o).trim() || "未命名作品", c = t.helpers.titleHtml(e, o).trim() || "未命名作品";
- vL();
+ _L();
let { avatar: l, who: u } = mK(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = aK({ names: !0 }), p = e.library_id ? f.get(e.library_id) : void 0, m = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), h = (e) => /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -61321,14 +61331,14 @@ function OCe({ item: e, props: t, disabled: n }) {
}
// src/react/catalog-grid/catalog-grid-page.tsx
function yY(e) {
- let t = mG();
- if (e.mode === "items") return /* @__PURE__ */ (0, I.jsx)(ACe, { ...e });
- let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${gP(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- if (t === "list" && !e.wall) return /* @__PURE__ */ (0, I.jsx)(DCe, { ...e }, n);
+ let t = pG();
+ if (e.mode === "items") return /* @__PURE__ */ (0, I.jsx)(MCe, { ...e });
+ let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${mP(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
+ if (t === "list" && !e.wall) return /* @__PURE__ */ (0, I.jsx)(kCe, { ...e }, n);
let r = e.mode === "entity" ? "entity" : `catalog:${!!e.wall}`;
- return /* @__PURE__ */ (0, I.jsx)(jCe, { ...e }, r);
+ return /* @__PURE__ */ (0, I.jsx)(NCe, { ...e }, r);
}
-function kCe({ name: e }) {
+function jCe({ name: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -61351,7 +61361,7 @@ function bY({ children: e, selectMode: t }) {
children: e
});
}
-function ACe(e) {
+function MCe(e) {
let { actions: t } = e, n = (0, F.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, I.jsx)(gK, {
item: i,
variant: r,
@@ -61371,8 +61381,8 @@ function ACe(e) {
children: i
});
}
-function jCe(e) {
- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Sue(e) : xue(e), [s] = (0, F.useState)(() => e.wall ? _P(o.queryKey) : void 0), c = JSON.stringify(o.queryKey), l = (0, F.useMemo)(() => e.restoreNavigation ? _P(o.queryKey) : void 0, [c, e.restoreNavigation]) || s || (i && e.initial ? {
+function NCe(e) {
+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? wue(e) : Cue(e), [s] = (0, F.useState)(() => e.wall ? hP(o.queryKey) : void 0), c = JSON.stringify(o.queryKey), l = (0, F.useMemo)(() => e.restoreNavigation ? hP(o.queryKey) : void 0, [c, e.restoreNavigation]) || s || (i && e.initial ? {
pages: [{
...e.initial,
items: e.initial.items || [],
@@ -61398,7 +61408,7 @@ function jCe(e) {
u.isPlaceholderData,
e.revision
]);
- let { tiles: f, pageStarts: p } = (0, F.useMemo)(() => wue(u.data?.pages || [], {
+ let { tiles: f, pageStarts: p } = (0, F.useMemo)(() => Eue(u.data?.pages || [], {
collapse: e.groupCollapse !== !1,
mix: !!e.mix && !a,
javImage: r.javImage
@@ -61408,7 +61418,7 @@ function jCe(e) {
e.mix,
a,
r.javImage
- ]), m = f.reduce((e, t) => e + +(t.kind === "card"), 0), h = Number(u.data?.pages[0]?.total || 0), g = i || Dbe(e.filters), _ = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, v = f.flatMap((e) => e.kind === "card" && xbe(e.item) ? [e.item] : []), y = a ? [] : XK(f.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), b = (0, F.useRef)(null), x = MCe(e, u.isPlaceholderData ? void 0 : u.data, f, p, b);
+ ]), m = f.reduce((e, t) => e + +(t.kind === "card"), 0), h = Number(u.data?.pages[0]?.total || 0), g = i || kbe(e.filters), _ = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, v = f.flatMap((e) => e.kind === "card" && Cbe(e.item) ? [e.item] : []), y = a ? [] : XK(f.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), b = (0, F.useRef)(null), x = PCe(e, u.isPlaceholderData ? void 0 : u.data, f, p, b);
(0, F.useLayoutEffect)(() => {
if (!u.data || u.isPlaceholderData) return;
let t = !0;
@@ -61436,7 +61446,7 @@ function jCe(e) {
let C = (0, F.useCallback)((e, t) => n.open(e, t), [n]), w = (0, F.useCallback)((e, t) => n.openResource(e, t), [n]), T = (0, F.useCallback)((e) => n.openShort(e), [n]), E = (0, F.useCallback)(async () => {
let e = await u.fetchNextPage();
if (e.isFetchNextPageError) throw e.error;
- }, [u.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)(PCe, {
+ }, [u.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)(ICe, {
seed: i.seed,
layout: r,
helpers: t,
@@ -61453,8 +61463,8 @@ function jCe(e) {
actions: n,
onOpen: a ? w : C
}, i.item.id), O = () => {
- if (_ && e.wall) return /* @__PURE__ */ (0, I.jsx)(Ibe, {
- sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${gP(e.filters || {}, !!e.excludeVertical)}`,
+ if (_ && e.wall) return /* @__PURE__ */ (0, I.jsx)(Rbe, {
+ sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${mP(e.filters || {}, !!e.excludeVertical)}`,
items: v,
finite: g,
hasMore: !!u.hasNextPage,
@@ -61462,7 +61472,7 @@ function jCe(e) {
loading: u.isPending || !u.data && u.isFetching,
error: !u.data && !u.isPending ? bn(u.error) : "",
retry: () => void u.refetch(),
- emptyHtml: u.data && !v.length ? zbe({
+ emptyHtml: u.data && !v.length ? Vbe({
libraryEmpty: !!u.data.pages[0]?.libraryEmpty,
matches: h,
hasMore: !!u.hasNextPage,
@@ -61477,7 +61487,7 @@ function jCe(e) {
javImage: r.javImage
}, g ? "finite" : "explore");
if (u.isPending) return null;
- if (!u.data) return /* @__PURE__ */ (0, I.jsx)(GG, {
+ if (!u.data) return /* @__PURE__ */ (0, I.jsx)(WG, {
message: bn(u.error),
onRetry: () => void u.refetch()
});
@@ -61494,7 +61504,7 @@ function jCe(e) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("div", {
"data-media-sections": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: Due(f, x).map((t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(bY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, I.jsx)(NCe, {
+ children: kue(f, x).map((t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(bY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, I.jsx)(FCe, {
cut: t.strip,
props: e,
onOpen: T
@@ -61509,7 +61519,7 @@ function jCe(e) {
ref: b,
"data-media-body": "",
"aria-busy": u.isFetching && !u.isFetchingNextPage,
- children: [/* @__PURE__ */ (0, I.jsx)(ZK, { assetIds: y }), e.wall ? O() : /* @__PURE__ */ (0, I.jsx)(KG, {
+ children: [/* @__PURE__ */ (0, I.jsx)(ZK, { assetIds: y }), e.wall ? O() : /* @__PURE__ */ (0, I.jsx)(GG, {
pending: u.isPending,
skeletonHtml: e.skeletonHtml,
children: O()
@@ -61558,7 +61568,7 @@ function xY({ entity: e, load: t, enabled: n, children: r }) {
if (!e) return;
let t = new IntersectionObserver((e) => {
e.some((e) => e.isIntersecting) && d(!1);
- }, { rootMargin: WG });
+ }, { rootMargin: UG });
return a.current = t, t.observe(e), () => {
t.disconnect(), a.current = null;
};
@@ -61581,18 +61591,18 @@ function xY({ entity: e, load: t, enabled: n, children: r }) {
hidden: !!c.error,
onClick: () => void d(!0),
dangerouslySetInnerHTML: { __html: Vs(Bs) }
- }), c.error ? /* @__PURE__ */ (0, I.jsx)(GG, {
+ }), c.error ? /* @__PURE__ */ (0, I.jsx)(WG, {
message: c.error,
onRetry: () => void d(!0)
}) : null] });
}
-function MCe(e, t, n, r, i) {
- let a = ["catalog-short-layout", gP(e.filters || {}, !!e.excludeVertical)], o = `${a[1]}:${e.revision}`, s = () => {
+function PCe(e, t, n, r, i) {
+ let a = ["catalog-short-layout", mP(e.filters || {}, !!e.excludeVertical)], o = `${a[1]}:${e.revision}`, s = () => {
let t = e.restoreNavigation ? H.getQueryData(a) : void 0, n = {
parts: /* @__PURE__ */ new Set(),
editions: /* @__PURE__ */ new Set()
};
- return t && vP(t.cuts.flatMap((e) => e.items), n, e.groupCollapse !== !1), {
+ return t && gP(t.cuts.flatMap((e) => e.items), n, e.groupCollapse !== !1), {
stamp: o,
cuts: t?.cuts || [],
offset: t?.offset || 0,
@@ -61618,7 +61628,7 @@ function MCe(e, t, n, r, i) {
let r = new AbortController();
p.controllers.push(r);
let i = n - 1;
- B(`/api/items?${Eue(e.filters || {}, p.offset)}`, r.signal).then((e) => {
+ B(`/api/items?${Oue(e.filters || {}, p.offset)}`, r.signal).then((e) => {
if (c.current !== p || r.signal.aborted) return;
let t = e.items || [];
t.length ? f({
@@ -61632,9 +61642,9 @@ function MCe(e, t, n, r, i) {
}, [t, p]), (0, F.useLayoutEffect)(() => {
if (!d || d.stamp !== o) return;
f(null);
- let t = m.reduce((e, t) => Math.max(e, t.at), 0), s = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), c = s?.[s.length - 1], l = c ? Math.max(1, getComputedStyle(c).gridTemplateColumns.split(" ").length) : 1, h = Math.max(0, (r[d.page] ?? 0) - t), g = Tue(n.length - t, h, l);
+ let t = m.reduce((e, t) => Math.max(e, t.at), 0), s = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), c = s?.[s.length - 1], l = c ? Math.max(1, getComputedStyle(c).gridTemplateColumns.split(" ").length) : 1, h = Math.max(0, (r[d.page] ?? 0) - t), g = Due(n.length - t, h, l);
if (!g.length) return;
- let _ = vP(d.items, p.groups, e.groupCollapse !== !1);
+ let _ = gP(d.items, p.groups, e.groupCollapse !== !1);
if (p.offset = d.more ? p.offset + 18 : 0, !_.length) return;
let v = t + (g[Math.floor(Math.random() * g.length)] ?? 0), y = [...m, {
at: v,
@@ -61651,7 +61661,7 @@ function MCe(e, t, n, r, i) {
});
}, [d]), m;
}
-function NCe({ cut: e, props: t, onOpen: n }) {
+function FCe({ cut: e, props: t, onOpen: n }) {
let r = (0, F.useRef)(null), { wireDrag: i } = t;
return (0, F.useEffect)(() => {
r.current && i(r.current);
@@ -61667,7 +61677,7 @@ function NCe({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, I.jsx)(kCe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, I.jsx)(jCe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "进入沉浸模式" })]
})
] }), /* @__PURE__ */ (0, I.jsx)("div", {
ref: r,
@@ -61690,11 +61700,11 @@ function NCe({ cut: e, props: t, onOpen: n }) {
function SY(e, t, n) {
return To(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);
}
-function PCe({ seed: e, layout: t, helpers: n, actions: r }) {
+function ICe({ seed: e, layout: t, helpers: n, actions: r }) {
let i = (0, F.useRef)(/* @__PURE__ */ new Map()), a = (0, F.useRef)(t);
a.current = t;
let o = jo(e, n.tagLabel), s = (0, F.useCallback)(async () => {
- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => yP(e, t.javImage)).slice(0, 9);
+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => _P(e, t.javImage)).slice(0, 9);
return i.current = new Map(n.map((e) => [String(e.id), SY(e, t, !0).html])), n.map((e) => String(e.id));
}, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = SY(e, t, !1);
return /* @__PURE__ */ (0, I.jsx)(bK, {
@@ -61729,31 +61739,31 @@ async function CY(e) {
queryFn: () => yr(e)
});
}
-var FCe = (e) => (e?.sources ?? []).filter((e) => _n.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), ICe = "/api/duplicates?limit=120", wY = ["duplicates"], TY = "/api/batch", EY = (e) => B(ICe, e), LCe = /[\s\-_.()[\]【】/\\]/;
-function RCe(e) {
+var LCe = (e) => (e?.sources ?? []).filter((e) => _n.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), RCe = "/api/duplicates?limit=120", wY = ["duplicates"], TY = "/api/batch", EY = (e) => B(RCe, e), zCe = /[\s\-_.()[\]【】/\\]/;
+function BCe(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 && !LCe.test(n[r - 1]);) --r;
+ for (; r > 0 && !zCe.test(n[r - 1]);) --r;
return r >= 8 ? n.slice(0, r) : "";
}
-var zCe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
-async function BCe(e) {
+var VCe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
+async function HCe(e) {
await Promise.all([H.fetchQuery({
queryKey: wY,
queryFn: () => EY(e)
}), CY(e)]);
}
-var VCe = {
+var UCe = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, HCe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), DY = (e, t) => HCe(e, t).filter((t) => e.some((e) => e.location !== t)), UCe = (e, t) => t.filter((t) => e.some((e) => DY(e.files, [t]).length));
-function WCe(e, t) {
+}, WCe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), DY = (e, t) => WCe(e, t).filter((t) => e.some((e) => e.location !== t)), GCe = (e, t) => t.filter((t) => e.some((e) => DY(e.files, [t]).length));
+function KCe(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -61772,11 +61782,11 @@ function WCe(e, t) {
}
return n;
}
-function GCe(e, t) {
+function qCe(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 KCe(e, t) {
+async function JCe(e, t) {
for (let n = 0; n < e.length; n += 200) await V(TY, {
ids: e.slice(n, n + 200),
operation: t,
@@ -61784,7 +61794,7 @@ async function KCe(e, t) {
});
}
// src/react/media-repair/media-repair.ts
-var OY = "/api/media-repair", kY = ["media-repair"], AY = ["media-repair", "libraries"], qCe = {
+var OY = "/api/media-repair", kY = ["media-repair"], AY = ["media-repair", "libraries"], YCe = {
status: "idle",
library: "",
stage: "",
@@ -61797,7 +61807,7 @@ var OY = "/api/media-repair", kY = ["media-repair"], AY = ["media-repair", "libr
skipped: 0,
message: ""
}, jY = (e) => B(OY, e), MY = async (e) => (await B("/api/libraries", e)).libraries || [];
-async function JCe(e) {
+async function XCe(e) {
await Promise.all([H.fetchQuery({
queryKey: kY,
queryFn: () => jY(e)
@@ -61807,28 +61817,28 @@ async function JCe(e) {
})]);
}
var NY = (e) => Number(e).toLocaleString();
-function YCe(e) {
+function ZCe(e) {
if (e.status === "running") {
let t = e.total ? `${NY(Math.min(e.checked || 0, e.total))} / ${NY(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${NY(e.repaired)} 部,${NY(e.failed)} 部修不了` : `修好 ${NY(e.repaired)} 部` : "";
}
-var XCe = (e) => `${NY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, ZCe = "/api/quality-goals?limit=200", PY = ["quality-goals"], FY = (e) => B(ZCe, e);
-async function QCe(e) {
+var QCe = (e) => `${NY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, $Ce = "/api/quality-goals?limit=200", PY = ["quality-goals"], FY = (e) => B($Ce, e);
+async function ewe(e) {
await H.fetchQuery({
queryKey: PY,
queryFn: () => FY(e)
});
}
-var $Ce = (e) => e.has_cover ? co(e) : `/poster?id=${e.id}&c=4`;
+var twe = (e) => e.has_cover ? co(e) : `/poster?id=${e.id}&c=4`;
// src/selection.ts
function IY(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;
}
// src/react/review/review.ts
-var ewe = "/api/review", twe = "/api/review/decision", nwe = "/api/review/genre", LY = ["review"], RY = {
+var nwe = "/api/review", rwe = "/api/review/decision", iwe = "/api/review/genre", LY = ["review"], RY = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -61838,7 +61848,7 @@ var ewe = "/api/review", twe = "/api/review/decision", nwe = "/api/review/genre"
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, rwe = Object.keys(RY), iwe = "metadata_fields", zY = (e) => typeof e == "string" && Object.hasOwn(RY, e), awe = {
+}, awe = Object.keys(RY), owe = "metadata_fields", zY = (e) => typeof e == "string" && Object.hasOwn(RY, e), swe = {
creator_tags: "creator",
western_identity: "creator"
}, BY = [
@@ -61849,7 +61859,7 @@ var ewe = "/api/review", twe = "/api/review/decision", nwe = "/api/review/genre"
pending: "待处理",
later: "稍后处理",
ignored: "已忽略"
-}, owe = {
+}, cwe = {
approved: "已通过",
rejected: "已忽略",
skipped: "稍后处理"
@@ -61857,7 +61867,7 @@ var ewe = "/api/review", twe = "/api/review/decision", nwe = "/api/review/genre"
sections: e.sections,
counts: e.counts
} : e.queues[t];
-function swe(e, t) {
+function lwe(e, t) {
return {
...e,
...t(UY(e, "pending")),
@@ -61867,7 +61877,7 @@ function swe(e, t) {
}
};
}
-function cwe(e, t) {
+function uwe(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;
}
@@ -61888,10 +61898,10 @@ function WY(e, t) {
}
return [...n.values()];
}
-function lwe(e, t, n) {
+function dwe(e, t, n) {
return n && WY(e, t).find((e) => e.key === n)?.rows || e;
}
-function uwe(e, t) {
+function fwe(e, t) {
let n = hr(e.length, 20), r = gr(t, n);
return {
page: r,
@@ -61899,32 +61909,32 @@ function uwe(e, t) {
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function dwe(e) {
+function pwe(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 fwe(e, t, n, r, i, a) {
+function mwe(e, t, n, r, i, a) {
return IY(e, t, n, r, i, a);
}
-function pwe(e, t) {
+function hwe(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
function GY(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
var KY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function mwe(e, t) {
+function gwe(e, t) {
let n = GY(e, t), r = KY(e, t);
return r ? `${n} · ${r}` : n;
}
-var hwe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", gwe = (e) => String(e.tags || "").split("|").filter(Boolean), _we = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function vwe(e) {
+var _we = (e) => e.reason || e.evidence || e.note || e.decision_note || "", vwe = (e) => String(e.tags || "").split("|").filter(Boolean), ywe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function bwe(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function ywe(e, t, n, r) {
+function xwe(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -61940,22 +61950,22 @@ function ywe(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var bwe = (e) => ({
+var Swe = (e) => ({
approved: "已通过资料",
rejected: "已忽略资料",
skipped: "已移至稍后处理",
restore: "已恢复待处理"
})[e];
async function qY(e) {
- let t = await B(ewe, e);
+ let t = await B(nwe, e);
for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${VY[e]}状态未取得,请刷新或更新写入端`);
return t;
}
-async function xwe(e) {
- let t = await V(twe, e);
+async function Cwe(e) {
+ let t = await V(rwe, e);
if (t.ok && t.asset_revisions) {
let e = t.asset_revisions;
- H.setQueryData(LY, (t) => t && swe(t, (t) => ({
+ H.setQueryData(LY, (t) => t && lwe(t, (t) => ({
...t,
sections: {
...t.sections,
@@ -61971,21 +61981,21 @@ async function xwe(e) {
}
return t;
}
-function Swe(e, t) {
+function wwe(e, t) {
let n = H.getQueryData(LY);
return n && BY.flatMap((t) => UY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;
}
-var Cwe = (e, t) => V(nwe, {
+var Twe = (e, t) => V(iwe, {
genre: e,
tag: t
});
-async function wwe(e) {
+async function Ewe(e) {
await H.fetchQuery({
queryKey: LY,
queryFn: () => qY(e)
});
}
-function Twe(e, t, n) {
+function Dwe(e, t, n) {
let r = new Set(t);
r.size && H.setQueryData(LY, (t) => {
if (!t) return t;
@@ -62024,15 +62034,15 @@ function Twe(e, t, n) {
};
});
}
-var Ewe = () => H.invalidateQueries({
+var Owe = () => H.invalidateQueries({
queryKey: LY,
exact: !0
});
-function Dwe(e, t) {
+function kwe(e, t) {
return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Sr(e.fetched_at)} 的缓存` : e?.error || t;
}
// src/react/data-cleanup/links.ts
-var Owe = "/api/links", JY = "/api/links/check", YY = "/api/links/prune", XY = ["links"], ZY = ["links", "check"], QY = ["links", "prune"], kwe = {
+var Awe = "/api/links", JY = "/api/links/check", YY = "/api/links/prune", XY = ["links"], ZY = ["links", "check"], QY = ["links", "prune"], jwe = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
@@ -62043,22 +62053,22 @@ async function $Y(e) {
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var eX = (e) => B(Owe, e), tX = (e) => V(JY, { status_only: !0 }, "POST", e), Awe = ({ retry: e, checkId: t }) => $Y(V(JY, e ? {
+var eX = (e) => B(Awe, e), tX = (e) => V(JY, { status_only: !0 }, "POST", e), Mwe = ({ retry: e, checkId: t }) => $Y(V(JY, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), nX = (e) => B(YY, e), jwe = ({ checkId: e, ids: t }) => $Y(V(YY, {
+} : { restart: !0 })), nX = (e) => B(YY, e), Nwe = ({ checkId: e, ids: t }) => $Y(V(YY, {
confirm: !0,
check_id: e,
background: !0,
...t ? { ids: t } : {}
-})), rX = (e) => Number(e || 0).toLocaleString(), Mwe = (e) => `已删除 ${rX(e.removed)} 条;${e.marked ? `已隐退女优的 ${rX(e.marked)} 条留作不可点的记录;` : ""}保留 ${rX(e.recovered)} 条未确认失效的链接。`;
-function Nwe(e) {
+})), rX = (e) => Number(e || 0).toLocaleString(), Pwe = (e) => `已删除 ${rX(e.removed)} 条;${e.marked ? `已隐退女优的 ${rX(e.marked)} 条留作不可点的记录;` : ""}保留 ${rX(e.recovered)} 条未确认失效的链接。`;
+function Fwe(e) {
let t = e.scope === "retry";
return e.total ? `${t ? "已重验" : "已检查"} ${rX(e.checked)} / ${rX(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
// src/configuration-endpoints.ts
-var iX = "/api/configuration", aX = "/api/pick-folder", oX = "/api/settings", sX = "/api/follow/schedule", cX = "/api/feeds/schedule", lX = "/api/thumbnail-jobs", uX = ["settings"], dX = ["follow-schedule"], fX = ["feed-schedule"], pX = ["thumbnail-jobs"], mX = "/api/media-processing", Pwe = ["media-processing"], Fwe = (e) => B(mX, e), hX = (e) => B(oX, e), Iwe = (e) => B(sX, e), Lwe = (e) => B(cX, e), Rwe = (e) => B(lX, e);
-function zwe(e = H) {
+var iX = "/api/configuration", aX = "/api/pick-folder", oX = "/api/settings", sX = "/api/follow/schedule", cX = "/api/feeds/schedule", lX = "/api/thumbnail-jobs", uX = ["settings"], dX = ["follow-schedule"], fX = ["feed-schedule"], pX = ["thumbnail-jobs"], mX = "/api/media-processing", Iwe = ["media-processing"], Lwe = (e) => B(mX, e), hX = (e) => B(oX, e), Rwe = (e) => B(sX, e), zwe = (e) => B(cX, e), Bwe = (e) => B(lX, e);
+function Vwe(e = H) {
return e.fetchQuery({
queryKey: uX,
queryFn: ({ signal: e }) => hX(e),
@@ -62071,7 +62081,7 @@ function gX() {
onSuccess: (e) => H.setQueryData(uX, e)
});
}
-function Bwe() {
+function Hwe() {
return Ft({
mutationFn: (e) => V(sX, {
enabled: e > 0,
@@ -62080,7 +62090,7 @@ function Bwe() {
onSuccess: (e) => H.setQueryData(dX, e)
});
}
-var Vwe = {
+var Uwe = {
follow: {
url: `${sX}/run`,
key: dX
@@ -62090,37 +62100,37 @@ var Vwe = {
key: fX
}
};
-function Hwe(e) {
- let { url: t, key: n } = Vwe[e];
+function Wwe(e) {
+ let { url: t, key: n } = Uwe[e];
return Ft({
mutationFn: () => V(t, {}),
onSuccess: (e) => H.setQueryData(n, e)
});
}
-var Uwe = (e) => e?.running ? 3e3 : !1;
-function Wwe() {
+var Gwe = (e) => e?.running ? 3e3 : !1;
+function Kwe() {
return Ft({
mutationFn: (e) => V(lX, { mode: e }),
onSuccess: (e) => H.setQueryData(pX, e)
});
}
// src/react/data-cleanup/organize.ts
-var Gwe = "/api/organize", Kwe = "/api/organize/preview", qwe = "/api/organize/apply", Jwe = "/api/organize/rollback", _X = ["organize"], Ywe = "/api/organize/example", Xwe = (e, t, n) => B(`${Ywe}?${new URLSearchParams({
+var qwe = "/api/organize", Jwe = "/api/organize/preview", _X = "/api/organize/apply", Ywe = "/api/organize/rollback", vX = ["organize"], Xwe = "/api/organize/example", Zwe = (e, t, n) => B(`${Xwe}?${new URLSearchParams({
file_template: e,
dir_template: t
-})}`, n), vX = (e) => B(Gwe, e);
-async function Zwe(e) {
+})}`, n), yX = (e) => B(qwe, e);
+async function Qwe(e) {
await H.fetchQuery({
- queryKey: _X,
- queryFn: () => vX(e)
+ queryKey: vX,
+ queryFn: () => yX(e)
});
}
-var Qwe = (e) => V(Kwe, e), $we = (e) => V(aX, { initial: e }), eTe = (e) => e.kind === "apply" ? V(qwe, {
+var $we = (e) => V(Jwe, e), eTe = (e) => V(aX, { initial: e }), tTe = (e) => e.kind === "apply" ? V(_X, {
...e.request,
confirm: !0
-}) : V(Jwe, { confirm: !0 });
-async function tTe(e) {
- H.setQueryData(_X, (t) => t && {
+}) : V(Ywe, { confirm: !0 });
+async function nTe(e) {
+ H.setQueryData(vX, (t) => t && {
...t,
templates: e
});
@@ -62128,147 +62138,147 @@ async function tTe(e) {
await V(oX, { organizeTemplates: e });
} catch {}
}
-var nTe = (e, t) => e && {
+var rTe = (e, t) => e && {
...e,
...t
-}, rTe = /目录模板|分隔符|盘符|`\.`/;
-function iTe(e) {
+}, iTe = /目录模板|分隔符|盘符|`\.`/;
+function aTe(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var yX = (e) => Number(e || 0).toLocaleString();
-function aTe(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${yX(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${yX(e.counts.change)} 个文件会改名或移动,${yX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
-}
+var bX = (e) => Number(e || 0).toLocaleString();
function oTe(e) {
+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${bX(t)}`).join(" · ");
+ return Number(e.counts?.change || 0) ? `${bX(e.counts.change)} 个文件会改名或移动,${bX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+}
+function sTe(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
- text: t ? `已退回 ${yX(r)} 个文件${n ? `,${yX(n)} 行未能退回` : ""}。` : `已整理 ${yX(r)} 个文件${n ? `,${yX(n)} 行未能处理` : ""}。`,
+ text: t ? `已退回 ${bX(r)} 个文件${n ? `,${bX(n)} 行未能退回` : ""}。` : `已整理 ${bX(r)} 个文件${n ? `,${bX(n)} 行未能处理` : ""}。`,
failed: n,
rollback: t
};
}
// src/react/data-cleanup/orphan-records.ts
-var sTe = "/api/orphan-records", cTe = "/api/orphan-records/attach", bX = ["orphan-records"], lTe = [
+var cTe = "/api/orphan-records", lTe = "/api/orphan-records/attach", xX = ["orphan-records"], uTe = [
["asset_preference", "喜欢与理由"],
["watch_queue", "稍后看"],
["playlist_item", "播放列表"],
["asset_quality_goal", "寻找更好版本"],
["activity_event", "观看历史"],
["asset_tag_preference", "隐藏标签"]
-], xX = (e) => B(sTe, e), uTe = (e, t) => V(cTe, {
+], SX = (e) => B(cTe, e), dTe = (e, t) => V(lTe, {
id: e,
target: t
-}), dTe = (e) => V(TY, {
+}), fTe = (e) => V(TY, {
ids: Array.isArray(e) ? e : [e],
operation: "delete"
-}), fTe = (e) => [
+}), pTe = (e) => [
e.rating ? `评分 ${e.rating}` : "",
e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",
e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""
-], pTe = (e) => [...lTe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...fTe(e)].filter(Boolean).join(" · "), mTe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", hTe = (e) => [e.name, mTe(e.duration)].filter(Boolean).join(" · "), SX = "/api/resource-sync/scan", CX = "/api/resource-sync/apply", wX = ["resource-sync", "scan"], TX = ["resource-sync", "apply"], EX = (e) => V(SX, {
+], mTe = (e) => [...uTe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...pTe(e)].filter(Boolean).join(" · "), hTe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", gTe = (e) => [e.name, hTe(e.duration)].filter(Boolean).join(" · "), CX = "/api/resource-sync/scan", wX = "/api/resource-sync/apply", TX = ["resource-sync", "scan"], EX = ["resource-sync", "apply"], DX = (e) => V(CX, {
background: !0,
status_only: !0
-}, "POST", e), gTe = () => V(SX, {
+}, "POST", e), _Te = () => V(CX, {
background: !0,
restart: !0
-}), DX = (e) => B(CX, e), _Te = (e) => V(CX, {
+}), OX = (e) => B(wX, e), vTe = (e) => V(wX, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), OX = (e) => (e?.sources ?? []).some((e) => gn.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function vTe(e) {
- OX(H.getQueryData(vr)) && await Promise.all([H.fetchQuery({
- queryKey: wX,
- queryFn: () => EX(e)
- }), H.fetchQuery({
+}), kX = (e) => (e?.sources ?? []).some((e) => gn.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function yTe(e) {
+ kX(H.getQueryData(vr)) && await Promise.all([H.fetchQuery({
queryKey: TX,
queryFn: () => DX(e)
+ }), H.fetchQuery({
+ queryKey: EX,
+ queryFn: () => OX(e)
})]);
}
-var yTe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), kX = (e) => Number(e || 0).toLocaleString(), bTe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", AX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), jX = (e) => e.vanish ? `${kX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", MX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", xTe = (e) => `将永久删除文件已不在盘上的 ${kX(AX(e))} 条记录和 ${kX(e.empty)} 个空文件夹,并清理 ${kX(e.cache?.files)} 个闲置缓存。${MX(e)}${jX(e)}`, STe = (e) => `将永久删除文件已不在盘上的 ${kX(AX(e))} 条记录(含回收站里的)、${kX(e.empty)} 个空文件夹,并清理 ${kX(e.cache?.files)} 个闲置缓存。来源根目录保留。${MX(e)}${jX(e)}`, CTe = (e) => e.online ? [
- `找不到文件 · 共 ${kX(e.total)} 项`,
- e.vanish ? `${kX(e.vanish)} 项带个人记录` : "",
- e.empty ? `空文件夹 ${kX(e.empty)} 个` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${kX(e.total)} 项`;
-function NX(e) {
+var bTe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), AX = (e) => Number(e || 0).toLocaleString(), xTe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", jX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), MX = (e) => e.vanish ? `${AX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", NX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", STe = (e) => `将永久删除文件已不在盘上的 ${AX(jX(e))} 条记录和 ${AX(e.empty)} 个空文件夹,并清理 ${AX(e.cache?.files)} 个闲置缓存。${NX(e)}${MX(e)}`, CTe = (e) => `将永久删除文件已不在盘上的 ${AX(jX(e))} 条记录(含回收站里的)、${AX(e.empty)} 个空文件夹,并清理 ${AX(e.cache?.files)} 个闲置缓存。来源根目录保留。${NX(e)}${MX(e)}`, wTe = (e) => e.online ? [
+ `找不到文件 · 共 ${AX(e.total)} 项`,
+ e.vanish ? `${AX(e.vanish)} 项带个人记录` : "",
+ e.empty ? `空文件夹 ${AX(e.empty)} 个` : ""
+].filter(Boolean).join(" · ") : `馆藏中有 ${AX(e.total)} 项`;
+function PX(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 ? `${kX(t.length)} 条记录没有删除(${o})` : "",
- n ? `${kX(n)} 个文件夹没有删除` : "",
- r.length ? `${kX(r.length)} 个缓存没有清理` : ""
+ t.length ? `${AX(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${AX(n)} 个文件夹没有删除` : "",
+ r.length ? `${AX(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
-var wTe = (e, t) => {
- let { rest: n } = NX(e), r = `已永久删除 ${kX(e.purged)} 条失效记录和 ${kX(e.dirs_removed)} 个空文件夹,清理 ${kX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${kX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${kX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
+var TTe = (e, t) => {
+ let { rest: n } = PX(e), r = `已永久删除 ${AX(e.purged)} 条失效记录和 ${AX(e.dirs_removed)} 个空文件夹,清理 ${AX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${AX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${AX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
return n ? `${r}${n},重新检查后可再试。` : r;
-}, PX = ["performer-delete-candidates"], FX = (e) => B("/api/performer/delete-candidates", e), TTe = (e, t) => B(`/api/performer/delete-plan?${new URLSearchParams({ ids: e.join(",") })}`, t), ETe = (e) => V("/api/performer/delete", {
+}, FX = ["performer-delete-candidates"], IX = (e) => B("/api/performer/delete-candidates", e), ETe = (e, t) => B(`/api/performer/delete-plan?${new URLSearchParams({ ids: e.join(",") })}`, t), DTe = (e) => V("/api/performer/delete", {
entity_ids: e.entity_ids,
plan: e.plan
-}), DTe = "/api/review?counts=1", IX = ["review", "counts"], OTe = "/api/ads?limit=1", LX = ["junk-summary"], RX = "/api/items?state=trash&limit=1", zX = ["trash-summary"], kTe = [
+}), OTe = "/api/review?counts=1", LX = ["review", "counts"], kTe = "/api/ads?limit=1", RX = ["junk-summary"], zX = "/api/items?state=trash&limit=1", BX = ["trash-summary"], ATe = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], BX = (e) => B(DTe, e), VX = (e) => B(OTe, e), HX = (e) => {
+], VX = (e) => B(OTe, e), HX = (e) => B(kTe, e), UX = (e) => {
let t = sessionStorage.getItem("peach.library");
- return B(t ? `${RX}&library=${encodeURIComponent(t)}` : RX, e);
-}, UX = (e) => Number(e || 0).toLocaleString();
-function ATe(e) {
+ return B(t ? `${zX}&library=${encodeURIComponent(t)}` : zX, e);
+}, WX = (e) => Number(e || 0).toLocaleString();
+function jTe(e) {
let t = RY, 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 jTe(e) {
+function MTe(e) {
if (!e) return "";
- let t = kTe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${UX(e.counts[t])}`);
- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${UX(e.dismissed_total)}`), t.join(" · ");
+ let t = ATe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${WX(e.counts[t])}`);
+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${WX(e.dismissed_total)}`), t.join(" · ");
}
-var MTe = [
- [IX, ({ signal: e }) => BX(e)],
- [PY, ({ signal: e }) => FY(e)],
- [zX, ({ signal: e }) => HX(e)],
+var NTe = [
[LX, ({ signal: e }) => VX(e)],
+ [PY, ({ signal: e }) => FY(e)],
+ [BX, ({ signal: e }) => UX(e)],
+ [RX, ({ signal: e }) => HX(e)],
[wY, ({ signal: e }) => EY(e)]
];
-async function NTe(e) {
- for (let [t, n] of MTe) H.prefetchQuery({
+async function PTe(e) {
+ for (let [t, n] of NTe) H.prefetchQuery({
queryKey: t,
queryFn: () => n({ signal: e })
});
await bH(e);
}
-async function PTe(e, t) {
+async function FTe(e, t) {
switch (e) {
case "organize":
- await Zwe(t);
+ await Qwe(t);
break;
case "media-repair":
- await JCe(t);
+ await XCe(t);
break;
case "resource-sync":
- await CY(t), await vTe(t);
+ await CY(t), await yTe(t);
break;
case "orphan-records":
await H.prefetchQuery({
- queryKey: bX,
- queryFn: () => xX(t)
+ queryKey: xX,
+ queryFn: () => SX(t)
});
break;
case "batch-delete":
await H.prefetchQuery({
- queryKey: PX,
- queryFn: () => FX(t)
+ queryKey: FX,
+ queryFn: () => IX(t)
});
break;
case "links": await Promise.all([
@@ -62288,8 +62298,8 @@ async function PTe(e, t) {
}
}
// src/react/feed-new/feed-new.ts
-var WX = (e) => ["feed-new", e ?? "home"], FTe = 8, ITe = 1500;
-function LTe(e, t, n) {
+var GX = (e) => ["feed-new", e ?? "home"], ITe = 8, LTe = 1500;
+function RTe(e, t, n) {
let r = document.createElement("template");
r.innerHTML = e;
let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {
@@ -62300,33 +62310,33 @@ function LTe(e, t, n) {
setTimeout(e, n);
})]);
}
-async function RTe(e, t, n) {
- let r = new URLSearchParams({ limit: String(dM().value.feedLimit) });
+async function zTe(e, t, n) {
+ let r = new URLSearchParams({ limit: String(lM().value.feedLimit) });
e && r.set("entity", String(e));
let i = await wn(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);
- return n && o.length && await LTe(s, FTe, ITe), {
+ return n && o.length && await RTe(s, ITe, LTe), {
items: o,
html: s,
fetching: o.some((e) => e.cover_fetching && !e.has_cover)
};
}
-var GX = (e, t, n = !1) => ({
- queryKey: WX(e),
- queryFn: () => RTe(e, t, n),
+var KX = (e, t, n = !1) => ({
+ queryKey: GX(e),
+ queryFn: () => zTe(e, t, n),
staleTime: Infinity,
refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1
-}), KX = (e, t) => wn("/api/feeds/discovery", {
+}), qX = (e, t) => wn("/api/feeds/discovery", {
method: "POST",
body: JSON.stringify({
action: t,
ids: [e]
})
}).then(() => void 0, () => void 0);
-async function zTe(e) {
- H.removeQueries({ queryKey: WX(null) }), await H.fetchQuery(GX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
+async function BTe(e) {
+ H.removeQueries({ queryKey: GX(null) }), await H.fetchQuery(KX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
}
// src/react/entity-page/entity-page.ts
-var qX = [
+var JX = [
"loc",
"creator",
"tag",
@@ -62340,52 +62350,52 @@ var qX = [
"browse",
"folder",
"folder_recursive"
-], JX = {
+], YX = {
media: "videos",
set: 0
-}, YX = (e, t) => [
+}, XX = (e, t) => [
"entity",
e,
t
-], BTe = (e, t, n, r) => [
+], VTe = (e, t, n, r) => [
"entity-items",
e,
t,
n,
r
-], XX = (e, t, n, r) => [
+], ZX = (e, t, n, r) => [
"entity-photos",
e,
t,
n,
r
-], ZX = (e) => String(e || "").split(",").filter(Boolean), VTe = (e, t) => ZX(e).includes(t);
-function QX(e, t, n, r, i = 0) {
+], QX = (e) => String(e || "").split(",").filter(Boolean), HTe = (e, t) => QX(e).includes(t);
+function $X(e, t, n, r, i = 0) {
let a = new URLSearchParams();
- a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...ZX(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 qX) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
+ a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...QX(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 JX) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
return r.jav && a.set("jav", "1"), a;
}
-async function $X(e, t, n, r, i, a, o) {
- let s = QX(e, t, n, r, i);
+async function eZ(e, t, n, r, i, a, o) {
+ let s = $X(e, t, n, r, i);
return o && (s.set("limit", String(o.limit)), s.delete("count"), o.sort && s.set("sort", o.sort), o.dir && s.set("dir", o.dir)), await wn(`/api/items?${s}`, a ? { signal: a } : {});
}
-var eZ = (e) => {
+var tZ = (e) => {
let t = {
jav: e.jav,
seed: e.seed
- }, n = QX(e.kind, e.name, e.filters, t).toString();
+ }, n = $X(e.kind, e.name, e.filters, t).toString();
return {
- queryKey: BTe(e.kind, e.name, n, e.revision),
- queryFn: ({ signal: n }) => $X(e.kind, e.name, e.filters, t, 0, n),
+ queryKey: VTe(e.kind, e.name, n, e.revision),
+ queryFn: ({ signal: n }) => eZ(e.kind, e.name, e.filters, t, 0, n),
staleTime: Infinity
};
-}, tZ = (e, t) => ({
- queryKey: YX(e, t),
+}, nZ = (e, t) => ({
+ queryKey: XX(e, t),
queryFn: ({ signal: n }) => wn(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),
staleTime: Infinity
});
-function HTe(e, t, n, r, i, a) {
+function UTe(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)}` : ""}`;
@@ -62394,10 +62404,10 @@ function HTe(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 nZ = (e, t, n, r) => ({
- queryKey: XX(e, t, n, r),
+var rZ = (e, t, n, r) => ({
+ queryKey: ZX(e, t, n, r),
queryFn: async ({ pageParam: i }) => {
- let a = await wn(HTe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
+ let a = await wn(UTe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
if (i) throw e;
return { error: String(e) };
});
@@ -62410,8 +62420,8 @@ var nZ = (e, t, n, r) => ({
seed: t[0]?.seed || ""
} : void 0,
staleTime: Infinity
-}), rZ = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
-async function UTe(e) {
+}), iZ = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
+async function WTe(e) {
let { kind: t, name: n } = e;
if (!e.restoreNavigation) for (let e of [
"entity",
@@ -62422,25 +62432,25 @@ async function UTe(e) {
t,
n
] });
- e.resolvedEntity?.id && H.setQueryData(YX(t, n), e.resolvedEntity), await Promise.all([
- H.fetchQuery(tZ(t, n)).then((t) => !t || t.error || !t.id ? null : (e.restoreNavigation || H.removeQueries({ queryKey: WX(Number(t.id)) }), H.fetchQuery(GX(Number(t.id), e.helpers.feedRowHtml, !0)))),
- H.fetchQuery(eZ(e)),
- H.fetchInfiniteQuery(nZ(t, n, 0, "")),
- e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(nZ(t, n, e.media.set, "")) : null
+ e.resolvedEntity?.id && H.setQueryData(XX(t, n), e.resolvedEntity), await Promise.all([
+ H.fetchQuery(nZ(t, n)).then((t) => !t || t.error || !t.id ? null : (e.restoreNavigation || H.removeQueries({ queryKey: GX(Number(t.id)) }), H.fetchQuery(KX(Number(t.id), e.helpers.feedRowHtml, !0)))),
+ H.fetchQuery(tZ(e)),
+ H.fetchInfiniteQuery(rZ(t, n, 0, "")),
+ e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(rZ(t, n, e.media.set, "")) : null
]);
}
// src/identity-filter.ts
-var iZ = [
+var aZ = [
["all", "全部"],
["japanese_av", "女优"],
["amateur", "素人"],
["western", "西方"],
["blogger", "网黄博主"],
["animation", "动画作者"]
-], aZ = "mb-4 flex flex-wrap gap-2";
-function WTe(e) {
- let t = iZ.some(([t]) => t === e) ? e : "all";
- return `<div class="peach-react"><div aria-label="身份分类" class="${aZ}">${iZ.map(([e, n]) => Ds({
+], oZ = "mb-4 flex flex-wrap gap-2";
+function GTe(e) {
+ let t = aZ.some(([t]) => t === e) ? e : "all";
+ return `<div class="peach-react"><div aria-label="身份分类" class="${oZ}">${aZ.map(([e, n]) => Ds({
variant: e === t ? "primary" : "secondary",
size: "small",
label: n,
@@ -62448,45 +62458,45 @@ function WTe(e) {
})).join("")}</div></div>`;
}
// src/react/follow/online-vocab.ts
-var GTe = "/api/follow/authors", KTe = "/api/follow/tags", qTe = (e) => [
+var KTe = "/api/follow/authors", qTe = "/api/follow/tags", JTe = (e) => [
"follow",
"authors",
e
-], JTe = (e, t) => [
+], YTe = (e, t) => [
"follow",
"tags",
e,
t
];
-function YTe(e, t, n) {
+function XTe(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${GTe}?${r}`;
+ return e && r.set("q", e), `${KTe}?${r}`;
}
-function XTe(e, t, n, r) {
+function ZTe(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), `${KTe}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${qTe}?${i}`;
}
-var ZTe = (e, t, n, r) => B(YTe(e, t, n), r), QTe = (e, t, n, r, i) => B(XTe(e, t, n, r), i), $Te = "/api/index", oZ = {
+var QTe = (e, t, n, r) => B(XTe(e, t, n), r), $Te = (e, t, n, r, i) => B(ZTe(e, t, n, r), i), eEe = "/api/index", sZ = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
series: "系列",
tags: "标签"
-}, eEe = {
+}, tEe = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency",
series: "series"
-}, sZ = [
+}, cZ = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -62496,31 +62506,31 @@ var ZTe = (e, t, n, r) => B(YTe(e, t, n), r), QTe = (e, t, n, r, i) => B(XTe(e,
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], cZ = [
+], lZ = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], lZ = {
+], uZ = {
people: 120,
tags: 100
-}, uZ = (e) => e !== "tags", dZ = (e) => e === "studios" || e === "agencies";
-function fZ(e) {
- if (e.kind === "creators" && e.category === "animation") return fZ({
+}, dZ = (e) => e !== "tags", fZ = (e) => e === "studios" || e === "agencies";
+function pZ(e) {
+ if (e.kind === "creators" && e.category === "animation") return pZ({
...e,
kind: "performers",
scope: "local"
});
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? cZ : sZ : e.kind === "performers" && t === "local" ? iZ : []).some(([t]) => t === e.category);
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? lZ : cZ : e.kind === "performers" && t === "local" ? aZ : []).some(([t]) => t === e.category);
return {
...e,
scope: t,
category: n ? e.category : "all"
};
}
-function pZ(e) {
+function mZ(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -62540,50 +62550,50 @@ function pZ(e) {
...i && i !== "all" ? { category: i } : {}
};
}
-var mZ = (e, t, n = "all") => [
+var hZ = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" || n !== "all" ? [n] : []
];
-function hZ(e, t, n, r, i) {
+function gZ(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), `${$Te}?${a}`;
+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${eEe}?${a}`;
}
-function gZ(e, t = lZ.tags) {
- let n = e.what === "people" || e.what === "online-authors" ? lZ.people : t, r = {
+function _Z(e, t = uZ.tags) {
+ let n = e.what === "people" || e.what === "online-authors" ? uZ.people : t, r = {
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 {
...r,
- queryKey: mZ(e.kind, e.q, e.category || "all"),
- queryFn: ({ pageParam: t, signal: r }) => B(hZ(e.kind, e.q, e.category || "all", n, t), r)
+ queryKey: hZ(e.kind, e.q, e.category || "all"),
+ queryFn: ({ pageParam: t, signal: r }) => B(gZ(e.kind, e.q, e.category || "all", n, t), r)
};
case "tags": return {
...r,
- queryKey: mZ("tags", e.q, e.category),
- queryFn: ({ pageParam: t, signal: r }) => B(hZ("tags", e.q, e.category, n, t), r)
+ queryKey: hZ("tags", e.q, e.category),
+ queryFn: ({ pageParam: t, signal: r }) => B(gZ("tags", e.q, e.category, n, t), r)
};
case "online-authors": return {
...r,
- queryKey: qTe(e.q),
- queryFn: ({ pageParam: t, signal: r }) => ZTe(e.q, n, t, r)
+ queryKey: JTe(e.q),
+ queryFn: ({ pageParam: t, signal: r }) => QTe(e.q, n, t, r)
};
case "online-tags": return {
...r,
- queryKey: JTe(e.q, e.category),
- queryFn: ({ pageParam: t, signal: r }) => QTe(e.q, e.category, n, t, r)
+ queryKey: YTe(e.q, e.category),
+ queryFn: ({ pageParam: t, signal: r }) => $Te(e.q, e.category, n, t, r)
};
}
}
-async function tEe(e, t) {
- let n = gZ(pZ(fZ(e)));
+async function nEe(e, t) {
+ let n = _Z(mZ(pZ(e)));
await H.fetchInfiniteQuery({
queryKey: n.queryKey,
queryFn: ({ pageParam: e }) => n.queryFn({
@@ -62595,20 +62605,20 @@ async function tEe(e, t) {
staleTime: Infinity
});
}
-var nEe = (e) => e ? e.pages.flatMap((e) => e.items) : [], rEe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, _Z = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", iEe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, aEe = {
+var rEe = (e) => e ? e.pages.flatMap((e) => e.items) : [], iEe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, vZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", aEe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, oEe = {
numeric: !0,
sensitivity: "base"
};
-function vZ(e, t) {
+function yZ(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", aEe))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", oEe))) {
let e = $n(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]);
}
return [...n].sort(([e], [t]) => e.localeCompare(t, "zh-CN"));
}
// src/react/index/index-people.tsx
-function yZ({ html: e, face: t, company: n, big: r }) {
+function bZ({ html: e, face: t, company: n, big: r }) {
let i = (0, F.useRef)(null);
return (0, F.useLayoutEffect)(() => {
t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");
@@ -62620,8 +62630,8 @@ function yZ({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var oEe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", sEe = EV("rss");
-function bZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
+var sEe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", cEe = EV("rss");
+function xZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
return /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
...o,
@@ -62631,7 +62641,7 @@ function bZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a
radius: "plain",
padding: "none",
interactive: !0,
- className: `${oEe} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${sEe} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -62643,7 +62653,7 @@ function bZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a
children: /* @__PURE__ */ (0, I.jsx)(aW, {
variant: "caption",
color: "soft",
- children: /* @__PURE__ */ (0, I.jsx)(sEe, {})
+ children: /* @__PURE__ */ (0, I.jsx)(cEe, {})
})
}) : null,
/* @__PURE__ */ (0, I.jsx)("span", {
@@ -62659,9 +62669,9 @@ function bZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a
]
});
}
-function xZ({ kind: e, items: t, layout: n, props: r }) {
- let i = dZ(e) || e === "series";
- vL();
+function SZ({ kind: e, items: t, layout: n, props: r }) {
+ let i = fZ(e) || e === "series";
+ _L();
let a = n === "big";
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-index-grid": "",
@@ -62669,16 +62679,16 @@ function xZ({ kind: e, items: t, layout: n, props: r }) {
"data-cells": i ? "company" : "people",
className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,
children: t.map((t) => {
- let n = t.entity_kind || eEe[e], o = r.personAvatar(t, n, a);
- return /* @__PURE__ */ (0, I.jsx)(bZ, {
+ let n = t.entity_kind || tEe[e], o = r.personAvatar(t, n, a);
+ return /* @__PURE__ */ (0, I.jsx)(xZ, {
"data-k": t.k,
"data-kind": n,
name: tn(n, t.k, t.entity_id),
- readout: `${iEe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
+ readout: `${aEe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
big: a,
following: t.following,
onPress: () => r.openEntity(n, t.k),
- children: /* @__PURE__ */ (0, I.jsx)(yZ, {
+ children: /* @__PURE__ */ (0, I.jsx)(bZ, {
html: o.html,
face: o.face,
company: i,
@@ -62688,15 +62698,15 @@ function xZ({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function cEe({ items: e, layout: t, props: n }) {
- vL();
+function lEe({ items: e, layout: t, props: n }) {
+ _L();
let r = t === "big";
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-index-grid": "",
"data-layout": t,
"data-cells": "people",
className: "index-grid-person gap-3",
- children: e.map((e) => /* @__PURE__ */ (0, I.jsx)(bZ, {
+ children: e.map((e) => /* @__PURE__ */ (0, I.jsx)(xZ, {
"data-follow-author": e.key,
"data-kind": "performer",
name: tn("creator", e.k, e.entity_id),
@@ -62705,7 +62715,7 @@ function cEe({ 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, I.jsx)(yZ, {
+ children: /* @__PURE__ */ (0, I.jsx)(bZ, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -62714,8 +62724,8 @@ function cEe({ items: e, layout: t, props: n }) {
});
}
// src/board-tooltip.ts
-var SZ = (e) => e.replace(/\s+/g, " ").trim();
-function CZ(e) {
+var CZ = (e) => e.replace(/\s+/g, " ").trim();
+function wZ(e) {
let t = document.createTreeWalker(e, NodeFilter.SHOW_TEXT), n = "", r;
for (; r = t.nextNode();) {
let e = r.parentElement;
@@ -62723,12 +62733,12 @@ function CZ(e) {
let t = document.createRange();
t.selectNodeContents(r), [...t.getClientRects()].some((e) => e.width > 0 && e.height > 0) && getComputedStyle(e).visibility === "visible" && (n += r.textContent);
}
- return SZ(n);
+ return CZ(n);
}
-function wZ(e) {
+function TZ(e) {
let t = e.getBoundingClientRect();
if (t.width && t.height) {
- if (e.matches("a") && CZ(e) && !TZ(e)) {
+ if (e.matches("a") && wZ(e) && !EZ(e)) {
let t = document.createRange();
t.selectNodeContents(e);
let n = t.getBoundingClientRect();
@@ -62741,7 +62751,7 @@ function wZ(e) {
let r = Math.min(...n.map((e) => e.left)), i = Math.min(...n.map((e) => e.top));
return new DOMRect(r, i, Math.max(...n.map((e) => e.right)) - r, Math.max(...n.map((e) => e.bottom)) - i);
}
-function TZ(e) {
+function EZ(e) {
if (e.matches(".middle-truncated") || e.querySelector(".middle-truncated") || [e, ...e.querySelectorAll("*")].some((e) => e.clientWidth > 0 && (e.scrollWidth > e.clientWidth + 1 || e.scrollHeight > e.clientHeight + 1))) return !0;
let t = document.createRange();
t.selectNodeContents(e);
@@ -62752,19 +62762,19 @@ function TZ(e) {
}
return !1;
}
-function lEe() {
+function uEe() {
let e = document.createElement("div");
e.className = "ui-board-tooltip", e.id = "board-control-tooltip", e.role = "tooltip", e.popover = "manual", e.hidden = !0, document.body.append(e);
let t = null, n = "", r = null, i, a, o = !1, s = () => e.hasAttribute("data-copy-key") && !!document.querySelector("[data-copy-bar]"), c = () => s() && (o || !!e.querySelector("[data-copy-inline],[contenteditable]") || !!document.querySelector("[data-copy-choice],[data-copy-bar][aria-busy=\"true\"]")), l = (t) => {
- let n = wZ(t), r = e.getBoundingClientRect();
+ let n = TZ(t), r = e.getBoundingClientRect();
n && (e.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left + (n.width - r.width) / 2))}px`, e.style.top = `${n.top >= r.height + 16 ? n.top - r.height - 8 : Math.min(innerHeight - r.height - 8, n.bottom + 8)}px`);
}, u = () => {
clearTimeout(a), !c() && (clearTimeout(i), e.matches(":popover-open") && e.hidePopover(), e.hidden = !0, e.removeAttribute("data-copy-key"), t && (t.hasAttribute("title") || (t.title = n), r === null ? t.removeAttribute("aria-describedby") : t.setAttribute("aria-describedby", r)), t = null);
}, d = (a, o) => {
if (c() || !(a instanceof Element)) return;
let d = a.closest("[title]");
- (!t?.contains(a) || d && !d.contains(t)) && d && !d.closest(".vjs-control") && d.title.trim() && (u(), t = d, n = d.title, r = d.getAttribute("aria-describedby"), d.removeAttribute("title"), (CZ(d) !== SZ(n) || TZ(d)) && (i = setTimeout(() => {
- if (t !== d || !d.isConnected || !wZ(d)) return;
+ (!t?.contains(a) || d && !d.contains(t)) && d && !d.closest(".vjs-control") && d.title.trim() && (u(), t = d, n = d.title, r = d.getAttribute("aria-describedby"), d.removeAttribute("title"), (wZ(d) !== CZ(n) || EZ(d)) && (i = setTimeout(() => {
+ if (t !== d || !d.isConnected || !TZ(d)) return;
(d.closest("dialog[open]") ?? document.body).append(e), e.textContent = n;
let i = d.getAttribute("data-tooltip-copy-key");
i ? e.setAttribute("data-copy-key", i) : e.removeAttribute("data-copy-key"), e.style.pointerEvents = s() ? "auto" : "", e.hidden = !1, e.showPopover(), l(d), d.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" "));
@@ -62789,32 +62799,32 @@ function lEe() {
e.key === "Escape" && !c() && u();
}), document.addEventListener("scroll", (n) => {
if (!t || !us(n, t)) return;
- let r = wZ(t);
+ let r = TZ(t);
t.matches(":focus-visible") && r && r.bottom > 0 && r.top < innerHeight ? e.matches(":popover-open") && l(t) : u();
}, !0), window.addEventListener("resize", u);
}
// src/board-controls.ts
-function EZ(e) {
+function DZ(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 DZ = /* @__PURE__ */ new WeakSet();
-function uEe() {
- if (DZ.has(document)) return;
- DZ.add(document);
+var OZ = /* @__PURE__ */ new WeakSet();
+function dEe() {
+ if (OZ.has(document)) return;
+ OZ.add(document);
let e = (e) => {
- e.querySelectorAll("input[type=range]").forEach(EZ), fEe(e), dEe(e);
+ e.querySelectorAll("input[type=range]").forEach(DZ), pEe(e), fEe(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]") && EZ(t), e(t));
+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && DZ(t), e(t));
}).observe(document.body, {
subtree: !0,
childList: !0
}), document.addEventListener("input", (e) => {
- e.target instanceof HTMLInputElement && e.target.type === "range" && EZ(e.target);
- }), lEe();
+ e.target instanceof HTMLInputElement && e.target.type === "range" && DZ(e.target);
+ }), uEe();
}
-function dEe(e) {
+function fEe(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;
@@ -62838,15 +62848,15 @@ function dEe(e) {
r.observe(e);
});
}
-var OZ = /* @__PURE__ */ new Map();
-function fEe(e) {
+var kZ = /* @__PURE__ */ new Map();
+function pEe(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 = OZ.get(n) ?? null, i = () => {
+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = kZ.get(n) ?? null, i = () => {
let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");
if (!i || !i.offsetWidth) return;
let a = {
@@ -62855,7 +62865,7 @@ function fEe(e) {
w: i.offsetWidth,
h: i.offsetHeight
};
- Vc(t, r, a, "x"), r = a, OZ.set(n, a);
+ Vc(t, r, a, "x"), r = a, kZ.set(n, a);
};
e.addEventListener("change", i);
let a = new MutationObserver(i);
@@ -62871,8 +62881,8 @@ function fEe(e) {
});
}
// src/react/photo-lightbox/photo-lightbox.ts
-var kZ = "/vendor/swiper/14.4.0/", AZ = null, pEe = () => AZ ??= Promise.all([new Promise((e, t) => {
- let n = `${kZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
+var AZ = "/vendor/swiper/14.4.0/", jZ = null, mEe = () => jZ ??= Promise.all([new Promise((e, t) => {
+ let n = `${AZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
if (r?.sheet) {
e();
return;
@@ -62886,11 +62896,11 @@ var kZ = "/vendor/swiper/14.4.0/", AZ = null, pEe = () => AZ ??= Promise.all([ne
return;
}
let r = document.createElement("script");
- r.src = `${kZ}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
+ r.src = `${AZ}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 AZ = null, e;
+ throw jZ = null, e;
});
-function mEe(e, t, n) {
+function hEe(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);
@@ -62911,46 +62921,46 @@ function mEe(e, t, n) {
}
};
}
-var jZ = (e) => {
+var MZ = (e) => {
let t = Number(e) || 0;
return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : Yn(t)).replace(" ", "\xA0") : "大小未知";
-}, hEe = (e) => e.asset?.name || e.name || "未命名图片";
-function gEe(e, t) {
+}, gEe = (e) => e.asset?.name || e.name || "未命名图片";
+function _Ee(e, t) {
let n = e.asset;
- if (n) return [tr[n.location ?? ""] || n.location || "来源未知", jZ(n.size)].join(" · ");
+ if (n) return [tr[n.location ?? ""] || n.location || "来源未知", MZ(n.size)].join(" · ");
let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";
return [
e.source || "在线图片",
r,
- e.size ? jZ(e.size) : ""
+ e.size ? MZ(e.size) : ""
].filter(Boolean).join(" · ");
}
// src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var MZ = null, NZ = null, _Ee = 0;
-function vEe() {
- return NZ && MZ?.isConnected || (NZ?.unmount(), MZ = document.createElement("div"), MZ.className = "peach-react", MZ.dataset.photoLightboxHost = "", document.body.append(MZ), NZ = (0, Rt.createRoot)(MZ)), NZ;
+var NZ = null, PZ = null, vEe = 0;
+function yEe() {
+ return PZ && NZ?.isConnected || (PZ?.unmount(), NZ = document.createElement("div"), NZ.className = "peach-react", NZ.dataset.photoLightboxHost = "", document.body.append(NZ), PZ = (0, Rt.createRoot)(NZ)), PZ;
}
-async function PZ(e, t, n) {
+async function FZ(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
- r = await pEe();
+ r = await mEe();
} catch {
window.open(t[e].src, "_blank", "noopener");
return;
}
- let i = vEe();
- (0, Lt.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(yEe, {
+ let i = yEe();
+ (0, Lt.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(bEe, {
slides: t,
index: e,
Swiper: r,
host: n ?? null
- }, ++_Ee)));
+ }, ++vEe)));
}
-function FZ() {
- NZ && (0, Lt.flushSync)(() => NZ.render(null));
+function IZ() {
+ PZ && (0, Lt.flushSync)(() => PZ.render(null));
}
-function yEe({ slides: e, index: t, Swiper: n, host: r }) {
+function bEe({ slides: e, index: t, Swiper: n, host: r }) {
let i = e.length > 1, a = (0, F.useId)(), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), [_, v] = (0, F.useState)(t), [y, b] = (0, F.useState)(100), [x, S] = (0, F.useState)({}), [C, w] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [T, E] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [D, O] = (0, F.useState)(!1), [k, A] = (0, F.useState)({
at: t,
text: ""
@@ -62993,7 +63003,7 @@ function yEe({ slides: e, index: t, Swiper: n, host: r }) {
v(this.activeIndex), i(this.activeIndex);
} }
});
- i(t, 0), h.current = mEe(e, a, b);
+ i(t, 0), h.current = hEe(e, a, b);
let m = tl(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();
};
@@ -63010,13 +63020,13 @@ function yEe({ slides: e, index: t, Swiper: n, host: r }) {
});
y.observe(e);
let x = (e) => {
- e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : FZ());
+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : IZ());
};
return document.addEventListener("keydown", x, !0), () => {
document.removeEventListener("keydown", x, !0), _(), y.disconnect(), a.destroy(!0, !0), r.destroy(!0, !0), h.current = null, g.current = null, e.close(), document.body.classList.remove("photolight-open");
};
}, []), (0, F.useLayoutEffect)(() => {
- m.current && EZ(m.current);
+ m.current && DZ(m.current);
}, [y]);
let j = e[_], M = j.asset ?? null, ee = async (e) => {
if (!M || !r || e.getAttribute("aria-busy") === "true") return;
@@ -63047,18 +63057,18 @@ function yEe({ slides: e, index: t, Swiper: n, host: r }) {
"data-photo-lightbox": "",
"data-has-strip": i ? "" : void 0,
onCancel: (e) => {
- e.preventDefault(), FZ();
+ e.preventDefault(), IZ();
},
onClick: (e) => {
let t = e.target;
- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && FZ();
+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && IZ();
},
children: [
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-photo-close": "",
"aria-label": "关闭",
- onClick: FZ,
+ onClick: IZ,
dangerouslySetInnerHTML: { __html: R("x") }
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -63194,10 +63204,10 @@ function yEe({ slides: e, index: t, Swiper: n, host: r }) {
id: `${a}-title`,
"data-middle-truncate": "",
tabIndex: -1,
- children: hEe(j)
+ children: gEe(j)
}, _), /* @__PURE__ */ (0, I.jsx)("span", {
"data-photo-detail-meta": "",
- children: gEe(j, x[_])
+ children: _Ee(j, x[_])
})]
}),
/* @__PURE__ */ (0, I.jsx)("button", {
@@ -63235,24 +63245,24 @@ function yEe({ slides: e, index: t, Swiper: n, host: r }) {
});
}
// src/react/entity-body/entity-body-page.tsx
-function bEe(e) {
- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, I.jsx)(xEe, {
+function xEe(e) {
+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, I.jsx)(SEe, {
roster: e.roster,
props: e
- }) : e.view === "videos" ? /* @__PURE__ */ (0, I.jsx)(SEe, { ...e }) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, I.jsx)(TEe, {
+ }) : e.view === "videos" ? /* @__PURE__ */ (0, I.jsx)(CEe, { ...e }) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, I.jsx)(EEe, {
photos: e.photos,
props: e
}, e.photos.revision) : null;
}
-var IZ = lZ.people;
-function xEe({ roster: e, props: t }) {
+var LZ = uZ.people;
+function SEe({ roster: e, props: t }) {
let { helpers: n, actions: r } = t, i = (0, F.useMemo)(() => ({
personAvatar: n.personAvatar,
openEntity: r.openEntity
- }), [n, r]), [a, o] = (0, F.useState)(IZ), s = (0, F.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, F.useCallback)(async () => {
- o((e) => e + IZ);
+ }), [n, r]), [a, o] = (0, F.useState)(LZ), s = (0, F.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, F.useCallback)(async () => {
+ o((e) => e + LZ);
}, []);
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(xZ, {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(SZ, {
kind: e.kind,
items: s,
layout: e.layout,
@@ -63263,10 +63273,10 @@ function xEe({ roster: e, props: t }) {
enabled: () => !0
}, a) : null] });
}
-function SEe(e) {
+function CEe(e) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-entity-grid": "",
- children: /* @__PURE__ */ (0, I.jsx)(KG, {
+ children: /* @__PURE__ */ (0, I.jsx)(GG, {
pending: !e.items,
skeletonHtml: e.skeletonHtml,
children: e.items ? /* @__PURE__ */ (0, I.jsx)(yY, {
@@ -63291,33 +63301,33 @@ function SEe(e) {
})
});
}
-var CEe = (e) => Array.from({ length: e.n }, (t, n) => ({
+var wEe = (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 || "官方样张"
-})), LZ = (e) => e.sample === !0, RZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, zZ = (e) => LZ(e) ? `/sample-thumb?${RZ(e)}` : `/photo-thumb?id=${e.id}`, wEe = (e) => LZ(e) ? {
- src: `/sample-image?${RZ(e)}`,
- thumb: zZ(e),
+})), RZ = (e) => e.sample === !0, zZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, BZ = (e) => RZ(e) ? `/sample-thumb?${zZ(e)}` : `/photo-thumb?id=${e.id}`, TEe = (e) => RZ(e) ? {
+ src: `/sample-image?${zZ(e)}`,
+ thumb: BZ(e),
name: e.name,
asset: null,
source: e.source
} : {
src: `/photo?id=${e.id}`,
- thumb: zZ(e),
+ thumb: BZ(e),
name: e.name || "",
asset: e
};
-function TEe({ photos: e, props: t }) {
- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, F.useMemo)(() => [...e.codeSets.flatMap(CEe), ...e.items], [e]), [s, c] = (0, F.useState)(() => /* @__PURE__ */ new Set()), l = (0, F.useCallback)((e) => c((t) => {
+function EEe({ photos: e, props: t }) {
+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, F.useMemo)(() => [...e.codeSets.flatMap(wEe), ...e.items], [e]), [s, c] = (0, F.useState)(() => /* @__PURE__ */ new Set()), l = (0, F.useCallback)((e) => c((t) => {
if (t.has(e)) return t;
let n = new Set(t);
return n.add(e), n;
}), []), u = (0, F.useCallback)((e) => {
- PZ(e, o.map(wEe), { revealSource: i.revealSource });
- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, I.jsx)(EEe, {
+ FZ(e, o.map(TEe), { revealSource: i.revealSource });
+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, I.jsx)(DEe, {
item: e,
index: t,
lost: s.has(t),
@@ -63335,7 +63345,7 @@ function TEe({ photos: e, props: t }) {
};
}), h = p;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(BZ, {
+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(VZ, {
label: e.code,
title: e.name,
meta: [
@@ -63347,7 +63357,7 @@ function TEe({ 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, I.jsx)(BZ, {
+ m.length && e.total ? /* @__PURE__ */ (0, I.jsx)(VZ, {
label: "本地图片",
meta: `${e.total.toLocaleString()} 张`
}) : null,
@@ -63363,7 +63373,7 @@ function TEe({ photos: e, props: t }) {
}, e.items.length) : null
] });
}
-function BZ({ label: e, title: t, meta: n }) {
+function VZ({ label: e, title: t, meta: n }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-photo-group": "",
children: [
@@ -63380,7 +63390,7 @@ function BZ({ label: e, title: t, meta: n }) {
]
});
}
-function EEe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
+function DEe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
let a = e.name ?? "";
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -63389,7 +63399,7 @@ function EEe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
title: a,
onClick: () => i(t),
children: n ? null : /* @__PURE__ */ (0, I.jsx)("img", {
- src: zZ(e),
+ src: BZ(e),
alt: a,
loading: "lazy",
decoding: "async",
@@ -63399,9 +63409,9 @@ function EEe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
});
}
// src/react/background-job.ts
-var DEe = 2e3, OEe = (e) => e, kEe = (e, t) => t;
-function VZ(e) {
- let { queryKey: t, jobOf: n = OEe, withJob: r = kEe, idlePollMs: i } = e, [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(null), l = (0, F.useRef)(e);
+var OEe = 2e3, kEe = (e) => e, AEe = (e, t) => t;
+function HZ(e) {
+ let { queryKey: t, jobOf: n = kEe, withJob: r = AEe, idlePollMs: i } = e, [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(null), l = (0, F.useRef)(e);
(0, F.useEffect)(() => {
l.current = e;
});
@@ -63410,7 +63420,7 @@ function VZ(e) {
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? DEe : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? OEe : i ?? !1;
}
}), d = Ft({
mutationFn: (e) => l.current.start(e),
@@ -63434,13 +63444,13 @@ function VZ(e) {
};
}
// src/react/follow-feed/follow-check.ts
-var HZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);
-function AEe(e, t) {
- return t ? HZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];
+var UZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);
+function jEe(e, t) {
+ return t ? UZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];
}
// src/react/follow-feed/follow-check-button.tsx
-function jEe({ sources: e, report: t }) {
- let n = HZ(e), [r, i] = (0, F.useState)(""), { running: a, start: o } = VZ({
+function MEe({ sources: e, report: t }) {
+ let n = UZ(e), [r, i] = (0, F.useState)(""), { running: a, start: o } = HZ({
queryKey: Rr,
queryFn: ({ signal: e }) => _i(e),
start: (e) => bi(e),
@@ -63466,8 +63476,8 @@ function jEe({ sources: e, report: t }) {
});
}
// src/react/follow-feed/follow-card.tsx
-var MEe = (e) => Number(e) > 0;
-function UZ({ name: e, actions: t, children: n, ...r }) {
+var NEe = (e) => Number(e) > 0;
+function WZ({ name: e, actions: t, children: n, ...r }) {
return /* @__PURE__ */ (0, I.jsx)("a", {
...r,
href: Nn("creator", e),
@@ -63477,15 +63487,15 @@ function UZ({ name: e, actions: t, children: n, ...r }) {
children: n
});
}
-var WZ = ({ provider: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var GZ = ({ provider: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-nothumb": "",
- dangerouslySetInnerHTML: { __html: xG(e) }
+ dangerouslySetInnerHTML: { __html: bG(e) }
});
-function NEe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {
+function PEe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {
let [s, c] = (0, F.useState)(!1), [l, u] = (0, F.useState)(!1), [d, f] = (0, F.useState)(null);
return (0, F.useEffect)(() => {
c(!1);
- }, [o]), s ? /* @__PURE__ */ (0, I.jsx)(WZ, { provider: i }) : /* @__PURE__ */ (0, I.jsx)("img", {
+ }, [o]), s ? /* @__PURE__ */ (0, I.jsx)(GZ, { provider: i }) : /* @__PURE__ */ (0, I.jsx)("img", {
src: l ? t : e,
alt: "",
loading: "lazy",
@@ -63504,8 +63514,8 @@ function NEe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a
} : void 0
});
}
-function PEe(e) {
- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = ha(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) => bye(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? _a(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = ya({
+function FEe(e) {
+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = ha(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) => xye(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? _a(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = ya({
cover: p,
coverFace: (f?.thumb_url ? f : u).face,
stack: t.stack,
@@ -63521,7 +63531,7 @@ function PEe(e) {
w.current = C.onPointerLeave;
let T = (0, F.useCallback)((e) => {
e && (e._stopHover = () => w.current());
- }, []), E = EG(u, n, i), D = SG(u), O = u.resource_provider || u.provider, k = (u.tags || []).slice(0, 3), A = kG(u, i), j = OG(t, u), M = u.status === "saved", ee = (e) => {
+ }, []), E = TG(u, n, i), D = xG(u), O = u.resource_provider || u.provider, k = (u.tags || []).slice(0, 3), A = OG(u, i), j = DG(t, u), M = 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));
}, N = (e, t) => {
e.stopPropagation(), t();
@@ -63550,7 +63560,7 @@ function PEe(e) {
}), /* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-pic": "",
children: [
- p ? /* @__PURE__ */ (0, I.jsx)(NEe, {
+ p ? /* @__PURE__ */ (0, I.jsx)(PEe, {
src: p,
fallback: m,
width: _?.width,
@@ -63558,7 +63568,7 @@ function PEe(e) {
provider: O,
onLearn: v,
retryKey: e.retryKey
- }, p) : /* @__PURE__ */ (0, I.jsx)(WZ, { provider: O }),
+ }, p) : /* @__PURE__ */ (0, I.jsx)(GZ, { provider: O }),
x.faces.length > 1 ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-mix-faces": "",
hidden: !C.faces.length,
@@ -63578,7 +63588,7 @@ function PEe(e) {
"data-media-badge": "",
title: u.provider_label || u.provider,
"aria-label": `来源:${u.provider_label || u.provider}`,
- dangerouslySetInnerHTML: { __html: xG(u.provider, u.provider_label) }
+ dangerouslySetInnerHTML: { __html: bG(u.provider, u.provider_label) }
}), j ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: j }
@@ -63591,7 +63601,7 @@ function PEe(e) {
},
dangerouslySetInnerHTML: { __html: R("check") }
}) : null,
- MEe(u.duration) ? /* @__PURE__ */ (0, I.jsx)("span", {
+ NEe(u.duration) ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-duration": "",
children: qn(u.duration)
}) : null,
@@ -63663,7 +63673,7 @@ function PEe(e) {
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-meta": "",
children: [
- E.entityName ? /* @__PURE__ */ (0, I.jsx)(UZ, {
+ E.entityName ? /* @__PURE__ */ (0, I.jsx)(WZ, {
name: E.entityName,
actions: l,
"data-media-avatar": "",
@@ -63682,12 +63692,12 @@ function PEe(e) {
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-media-title": "",
- dangerouslySetInnerHTML: { __html: DG(t, u) + z(D) }
+ dangerouslySetInnerHTML: { __html: EG(t, u) + z(D) }
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-follow-byline": "",
children: [
- E.entityName ? /* @__PURE__ */ (0, I.jsx)(UZ, {
+ E.entityName ? /* @__PURE__ */ (0, I.jsx)(WZ, {
name: E.entityName,
actions: l,
"data-follow-author": "",
@@ -63700,8 +63710,8 @@ function PEe(e) {
}),
/* @__PURE__ */ (0, I.jsx)("time", {
dateTime: u.published_at || "",
- title: jG(u),
- children: yye(u)
+ title: AG(u),
+ children: bye(u)
}),
E.credited ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-credit": "",
@@ -63713,10 +63723,14 @@ function PEe(e) {
A ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-issue": "",
children: A
+ }) : null,
+ e.variant === "next" && e.reason ? /* @__PURE__ */ (0, I.jsx)(KG, {
+ reasons: e.reason.reasons,
+ tags: e.reason.tags.map((e) => Pl(e))
}) : null
]
}),
- /* @__PURE__ */ (0, I.jsx)("div", {
+ e.variant === "next" ? null : /* @__PURE__ */ (0, I.jsx)("div", {
"data-media-tags": "",
"data-follow-labels": "",
children: k.map((e) => /* @__PURE__ */ (0, I.jsx)("span", {
@@ -63736,9 +63750,9 @@ function PEe(e) {
]
});
}
-var GZ = (0, F.memo)(PEe);
+var KZ = (0, F.memo)(FEe);
// src/react/components/use-masonry-grid.ts
-function FEe(e, t) {
+function IEe(e, t) {
let n = (0, F.useRef)(null);
return (0, F.useLayoutEffect)(() => {
let t = n.current;
@@ -63773,37 +63787,37 @@ function FEe(e, t) {
}, [e, t]), n;
}
// src/react/follow-manage/manage-route.ts
-var KZ = [
+var qZ = [
["list", "关注列表"],
["add", "添加关注"],
["tags", "标签管理"]
-], qZ = KZ.map(([e]) => e);
-function JZ(e) {
+], JZ = qZ.map(([e]) => e);
+function YZ(e) {
let t = new URLSearchParams(e), n = t.get("tab");
return {
- tab: qZ.find((e) => e === n) || "list",
+ tab: JZ.find((e) => e === n) || "list",
page: Math.max(1, Math.floor(Number(t.get("page"))) || 1),
sort: t.get("sort") || "",
dir: t.get("dir") || ""
};
}
-function YZ(e) {
+function XZ(e) {
let t = new URLSearchParams();
return e.tab !== "list" && t.set("tab", e.tab), e.page > 1 && t.set("page", String(e.page)), e.sort && t.set("sort", e.sort), e.dir && t.set("dir", e.dir), "/subscriptions" + (t.size ? `?${t}` : "");
}
-function XZ(e, t) {
- return !t && new URLSearchParams(e).get("tab") === "wants" ? "/jav?tab=wants" : !t && new URLSearchParams(e).get("tab") === "source" ? "/settings/library?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85" : YZ({
- tab: t || JZ(e).tab,
+function ZZ(e, t) {
+ return !t && new URLSearchParams(e).get("tab") === "wants" ? "/jav?tab=wants" : !t && new URLSearchParams(e).get("tab") === "source" ? "/settings/library?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85" : XZ({
+ tab: t || YZ(e).tab,
page: 1,
sort: "",
dir: ""
});
}
// src/react/follow-feed/follow-feed-page.tsx
-var ZZ = () => /* @__PURE__ */ (0, I.jsx)("span", {
+var QZ = () => /* @__PURE__ */ (0, I.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), IEe = EV("settings"), QZ = EV("chevron-down"), LEe = EV("history"), REe = EV("arrow-up"), zEe = EV("arrow-down"), BEe = [[
+}), LEe = EV("settings"), $Z = EV("chevron-down"), REe = EV("history"), zEe = EV("arrow-up"), BEe = EV("arrow-down"), VEe = [[
"fixed",
"固定比例",
"layout-grid"
@@ -63812,7 +63826,7 @@ var ZZ = () => /* @__PURE__ */ (0, I.jsx)("span", {
"瀑布流",
"columns-2"
]];
-function VEe(e, t, n) {
+function HEe(e, t, n) {
return (0, F.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) => {
@@ -63860,7 +63874,7 @@ function VEe(e, t, n) {
n
]);
}
-function HEe(e) {
+function UEe(e) {
let { view: t, seed: n, revision: r, actions: i } = e, a = It(na(t, r)), o = Pt({
queryKey: ra,
queryFn: ({ signal: e }) => ia(e)
@@ -63868,7 +63882,7 @@ function HEe(e) {
sources: s?.sources || [],
aliases: s?.author_aliases || [],
credentials: c
- }), [s, c]), u = VEe(s, t, n), d = a.isPending || a.isPlaceholderData, f = !d && !!s;
+ }), [s, c]), u = HEe(s, t, n), d = a.isPending || a.isPlaceholderData, f = !d && !!s;
(0, F.useEffect)(() => {
lm(() => location.pathname === "/follow", document.querySelector("#stats [data-filter-frame]"), { pending: d });
}, [
@@ -63902,10 +63916,10 @@ function HEe(e) {
p,
i
]);
- let m = WEe(e, !!s);
+ let m = GEe(e, !!s);
if (!s) return a.isError ? /* @__PURE__ */ (0, I.jsxs)("div", {
"data-follow-feed": "",
- children: [/* @__PURE__ */ (0, I.jsx)($Z, {}), /* @__PURE__ */ (0, I.jsx)(GG, {
+ children: [/* @__PURE__ */ (0, I.jsx)(eQ, {}), /* @__PURE__ */ (0, I.jsx)(WG, {
message: bn(a.error),
onRetry: () => void a.refetch()
})]
@@ -63918,7 +63932,7 @@ function HEe(e) {
author: u.author,
provider: u.provider
}, {
- authors: new Map([...u.authorSources].map(([e, t]) => [e, CG(t, l)])),
+ authors: new Map([...u.authorSources].map(([e, t]) => [e, SG(t, l)])),
providers: u.providers,
works: u.workNames
}), _ = t.status ? u.counts[t.status] || 0 : u.allCount, v = u.sources.some((e) => e.can_backfill);
@@ -63936,7 +63950,7 @@ function HEe(e) {
"data-follow-feed": "",
"data-select-mode": e.selectMode ? "" : void 0,
children: [
- /* @__PURE__ */ (0, I.jsx)($Z, { children: u.sources.length ? /* @__PURE__ */ (0, I.jsx)(J, {
+ /* @__PURE__ */ (0, I.jsx)(eQ, { children: u.sources.length ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "primary",
"data-follow-recheck": "",
"aria-label": "检查每个来源的更新",
@@ -63947,20 +63961,20 @@ function HEe(e) {
dangerouslySetInnerHTML: { __html: zs("检查中") }
}) : "检查更新"
}) : null }),
- /* @__PURE__ */ (0, I.jsx)(GEe, {
+ /* @__PURE__ */ (0, I.jsx)(KEe, {
facets: u,
pressed: u.author,
context: l,
props: e,
onPick: (e) => h({ author: u.author === e ? "" : e })
}),
- /* @__PURE__ */ (0, I.jsx)(KEe, {
+ /* @__PURE__ */ (0, I.jsx)(qEe, {
rows: u.workRows,
pressed: t.work,
props: e,
onPick: (e) => h({ work: t.work === e ? "" : e })
}),
- /* @__PURE__ */ (0, I.jsx)(qEe, {
+ /* @__PURE__ */ (0, I.jsx)(JEe, {
facets: u,
view: t,
total: _,
@@ -63968,7 +63982,7 @@ function HEe(e) {
props: e,
route: h
}),
- /* @__PURE__ */ (0, I.jsx)(JEe, {
+ /* @__PURE__ */ (0, I.jsx)(YEe, {
conditions: g,
onDrop: (e) => i.route(Ta(t, e)),
onClear: () => h({
@@ -63980,8 +63994,8 @@ function HEe(e) {
durMax: 0
})
}),
- u.broken.length ? /* @__PURE__ */ (0, I.jsx)(YEe, { count: u.broken.length }) : null,
- /* @__PURE__ */ (0, I.jsx)(XEe, {
+ u.broken.length ? /* @__PURE__ */ (0, I.jsx)(XEe, { count: u.broken.length }) : null,
+ /* @__PURE__ */ (0, I.jsx)(ZEe, {
retryKey: a.dataUpdatedAt,
pending: d,
facets: u,
@@ -64010,8 +64024,8 @@ function HEe(e) {
load: async () => {
await a.fetchNextPage({ throwOnError: !0 });
},
- children: [/* @__PURE__ */ (0, I.jsx)(QZ, { className: "size-(--icon-inline)" }), "加载更多"]
- }, a.data?.pages.length) : /* @__PURE__ */ (0, I.jsx)(UEe, {
+ children: [/* @__PURE__ */ (0, I.jsx)($Z, { className: "size-(--icon-inline)" }), "加载更多"]
+ }, a.data?.pages.length) : /* @__PURE__ */ (0, I.jsx)(WEe, {
busy: a.isFetchingNextPage,
error: a.isFetchNextPageError ? bn(a.error) : "",
load: () => {
@@ -64022,7 +64036,7 @@ function HEe(e) {
"data-follow-page-action": "",
children: [/* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
- leadingIcon: m.olderBusy ? void 0 : LEe,
+ leadingIcon: m.olderBusy ? void 0 : REe,
"data-follow-older": "",
"aria-busy": m.busy || void 0,
onClick: () => void m.start(!0),
@@ -64040,7 +64054,7 @@ function HEe(e) {
})
] });
}
-function $Z({ children: e }) {
+function eQ({ children: e }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-follow-head": "",
children: [/* @__PURE__ */ (0, I.jsx)("h2", {
@@ -64048,30 +64062,30 @@ function $Z({ children: e }) {
children: "关注"
}), /* @__PURE__ */ (0, I.jsxs)("span", {
"data-follow-head-actions": "",
- children: [/* @__PURE__ */ (0, I.jsx)(NL, {
+ children: [/* @__PURE__ */ (0, I.jsx)(ML, {
variant: "secondary",
- leadingIcon: IEe,
+ leadingIcon: LEe,
"data-follow-manage": "",
- href: eQ(),
+ href: tQ(),
children: "管理关注"
}), e]
})]
});
}
-function UEe({ busy: e, error: t, load: n }) {
+function WEe({ busy: e, error: t, load: n }) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-entity-more": "",
"aria-busy": e || void 0,
"aria-disabled": e || void 0,
onClick: n,
- children: [/* @__PURE__ */ (0, I.jsx)(QZ, { className: "size-(--icon-inline)" }), "加载更多"]
- }), t ? /* @__PURE__ */ (0, I.jsx)(GG, {
+ children: [/* @__PURE__ */ (0, I.jsx)($Z, { className: "size-(--icon-inline)" }), "加载更多"]
+ }), t ? /* @__PURE__ */ (0, I.jsx)(WG, {
message: t,
onRetry: n
}) : null] });
}
-function WEe(e, t) {
+function GEe(e, t) {
let { helpers: n, actions: r } = e, [i, a] = (0, F.useState)(0), [o, s] = (0, F.useState)(!1), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(""), [f, p] = (0, F.useState)(!1), m = (0, F.useRef)(!1), h = (0, F.useRef)(null), g = (0, F.useRef)({
helpers: n,
actions: r
@@ -64133,12 +64147,12 @@ function WEe(e, t) {
olderBusy: c === "older" || f && o
};
}
-function GEe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
+function KEe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
let a = (0, F.useRef)(null);
(0, F.useEffect)(() => {
r.helpers.wireDrag(a.current);
}, [r.helpers]);
- let o = (t) => CG(e.authorSources.get(t) || [], n);
+ let o = (t) => SG(e.authorSources.get(t) || [], n);
return e.authorOrder.length ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-authors-bar": "",
children: /* @__PURE__ */ (0, I.jsx)("div", {
@@ -64146,14 +64160,14 @@ function GEe({ 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 = wG(a), c = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
+ let a = e.authorSources.get(n) || [], s = CG(a), c = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-ring": "",
- dangerouslySetInnerHTML: { __html: TG(a, o(n)) }
+ dangerouslySetInnerHTML: { __html: wG(a, o(n)) }
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-name": "",
children: o(n)
})] });
- return s ? /* @__PURE__ */ (0, I.jsx)(UZ, {
+ return s ? /* @__PURE__ */ (0, I.jsx)(WZ, {
name: s,
actions: r.actions,
"data-follow-author": n,
@@ -64170,7 +64184,7 @@ function GEe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
})
}) : null;
}
-function KEe({ rows: e, pressed: t, props: n, onPick: r }) {
+function qEe({ rows: e, pressed: t, props: n, onPick: r }) {
let i = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
n.helpers.wireDrag(i.current);
@@ -64191,13 +64205,13 @@ function KEe({ rows: e, pressed: t, props: n, onPick: r }) {
}, e[0]))
}) : null;
}
-function qEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
- let { helpers: o, actions: s } = i, c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = jL(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = jL(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
+function JEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
+ let { helpers: o, actions: s } = i, c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = AL(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = AL(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
(0, F.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, I.jsx)(EL, {
+ return /* @__PURE__ */ (0, I.jsx)(TL, {
label: "筛选与排序",
topLabel: m ? "媒体与关注筛选" : "关注筛选",
attrs: {
@@ -64249,7 +64263,7 @@ function qEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: R(i) }
}, e);
})
- }), /* @__PURE__ */ (0, I.jsx)(ZZ, {})] }) : null, /* @__PURE__ */ (0, I.jsxs)("div", {
+ }), /* @__PURE__ */ (0, I.jsx)(QZ, {})] }) : null, /* @__PURE__ */ (0, I.jsxs)("div", {
ref: f,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -64269,7 +64283,7 @@ function qEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
t.status !== e && a({ status: e });
},
children: n
- }, e)), v ? /* @__PURE__ */ (0, I.jsx)(ZZ, {}) : null]
+ }, e)), v ? /* @__PURE__ */ (0, I.jsx)(QZ, {}) : null]
}), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: p,
"data-entity-tags": "",
@@ -64282,10 +64296,10 @@ function qEe({ 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: xG(t, n) }
+ dangerouslySetInnerHTML: { __html: bG(t, n) }
}, t)),
- _.length && e.tagRows.length ? /* @__PURE__ */ (0, I.jsx)(ZZ, {}) : null,
- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, I.jsxs)(DL, {
+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, I.jsx)(QZ, {}) : null,
+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, I.jsxs)(EL, {
"data-follow-tag": n,
"data-entity-press": "",
"data-tag-cat": `r34-${Ea(e.groups, n)}`,
@@ -64303,7 +64317,7 @@ function qEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
/* @__PURE__ */ (0, I.jsx)("h3", {
"data-entity-readout": "",
"data-follow-readout": "",
- children: /* @__PURE__ */ (0, I.jsx)(yL, {
+ children: /* @__PURE__ */ (0, I.jsx)(vL, {
text: `${n.toLocaleString()} 项更新 · 显示 ${e.visible.length.toLocaleString()}`,
busy: r
})
@@ -64315,11 +64329,11 @@ function qEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(zG, { onPress: s.shuffle }),
- y ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(RG, {
+ /* @__PURE__ */ (0, I.jsx)(RG, { onPress: s.shuffle }),
+ y ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(LG, {
label: "图片布局",
value: i.photoLayout,
- options: BEe,
+ options: VEe,
onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")
}), /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
@@ -64349,9 +64363,9 @@ function qEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
let n = xa(e, t.sort, t.dir);
n && a(n);
},
- children: [n, r ? /* @__PURE__ */ (0, I.jsx)(gG, {
- a: REe,
- b: zEe,
+ children: [n, r ? /* @__PURE__ */ (0, I.jsx)(hG, {
+ a: zEe,
+ b: BEe,
state: t.dir === "asc" ? "a" : "b",
className: "size-(--icon-inline)"
}) : null]
@@ -64362,7 +64376,7 @@ function qEe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
] })
});
}
-function JEe({ conditions: e, onDrop: t, onClear: n }) {
+function YEe({ conditions: e, onDrop: t, onClear: n }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-entity-combo": "",
"data-follow-combo": "",
@@ -64387,21 +64401,21 @@ function JEe({ conditions: e, onDrop: t, onClear: n }) {
})] }) : null
});
}
-function YEe({ count: e }) {
+function XEe({ count: e }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-broken": "",
- dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${R("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${z(eQ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }
+ dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${R("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${z(tQ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }
});
}
-var eQ = () => XZ(window.location.search);
-function XEe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {
+var tQ = () => ZZ(window.location.search);
+function ZEe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {
let { view: s, helpers: c } = i, l = s.media === "images";
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-list-body": "",
- children: /* @__PURE__ */ (0, I.jsx)(KG, {
+ children: /* @__PURE__ */ (0, I.jsx)(GG, {
pending: e,
skeletonHtml: () => c.listSkeletonHtml(s.media),
- children: e ? null : /* @__PURE__ */ (0, I.jsx)(ZEe, {
+ children: e ? null : /* @__PURE__ */ (0, I.jsx)(QEe, {
facets: t,
data: n,
context: r,
@@ -64413,29 +64427,29 @@ function XEe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a
})
});
}
-function ZEe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {
- let { view: s, actions: c } = r, l = nQ(r), u = i ? {
+function QEe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {
+ let { view: s, actions: c } = r, l = rQ(r), u = i ? {
"data-size": r.photoSize,
"data-layout": r.photoLayout,
"data-images-only": String(r.imagesOnly)
- } : {}, d = FEe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;
+ } : {}, d = IEe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;
return f = e.visible.length ? e.visible.map((t) => {
let i = e.byId.get(t.primary?.source_id), o = i?.author_key && e.authorSources.get(i.author_key) || [], u = t.primary.id;
- return /* @__PURE__ */ (0, I.jsx)(GZ, {
+ return /* @__PURE__ */ (0, I.jsx)(KZ, {
group: t,
authorSources: o,
media: s.media,
retryKey: a,
context: n,
- selected: r.selected.has(tQ(t, s)),
+ selected: r.selected.has(nQ(t, s)),
selectMode: r.selectMode,
- busy: l.busy.get(tQ(t, s)) || "",
- failure: l.failures.get(tQ(t, s)) || "",
+ busy: l.busy.get(nQ(t, s)) || "",
+ failure: l.failures.get(nQ(t, s)) || "",
actions: c,
onStatus: l.status,
onSave: l.save
}, `${u}:${s.media}`);
- }) : /* @__PURE__ */ (0, I.jsx)(QEe, {
+ }) : /* @__PURE__ */ (0, I.jsx)($Ee, {
data: t,
filtered: !!(s.status || e.author || e.provider || s.work || s.tags.length || s.durMin || s.durMax),
checkAction: o,
@@ -64458,10 +64472,10 @@ function ZEe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,
children: f
});
}
-function tQ(e, t) {
+function nQ(e, t) {
return ha(e, t.media).id;
}
-function QEe({ data: e, filtered: t, clear: n, checkAction: r }) {
+function $Ee({ data: e, filtered: t, clear: n, checkAction: r }) {
let i = !!e.groups.length || t, a = !!e.sources.length;
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-empty": "",
@@ -64473,7 +64487,7 @@ function QEe({ data: e, filtered: t, clear: n, checkAction: r }) {
size: "small",
onClick: n,
children: "清除筛选"
- }) : a ? r : /* @__PURE__ */ (0, I.jsx)(NL, {
+ }) : a ? r : /* @__PURE__ */ (0, I.jsx)(ML, {
size: "small",
href: "/subscriptions?tab=add",
children: "添加关注"
@@ -64482,12 +64496,12 @@ function QEe({ data: e, filtered: t, clear: n, checkAction: r }) {
})
});
}
-var $Ee = {
+var eDe = {
new: "已恢复未看",
seen: "已标记已看",
ignored: "已忽略"
};
-function nQ(e) {
+function rQ(e) {
let { view: t, revision: n, actions: r } = e, [i, a] = (0, F.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, F.useState)(() => /* @__PURE__ */ new Map()), c = na(t, n).queryKey, l = (e, t, n) => n((n) => {
let r = new Map(n);
return t ? r.set(e, t) : r.delete(e), r;
@@ -64510,7 +64524,7 @@ function nQ(e) {
to: t
}),
onSuccess: (e, { id: t, to: n, was: i }) => {
- u(t, n), d(), r.toast($Ee[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
+ u(t, n), d(), r.toast(eDe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
await V(jr, {
item: t,
to: i
@@ -64555,9 +64569,9 @@ function nQ(e) {
};
}
// src/react/entity-body/entity-online.tsx
-function eDe(e) {
+function tDe(e) {
let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData;
- return !n && t.isError ? /* @__PURE__ */ (0, I.jsx)(GG, {
+ return !n && t.isError ? /* @__PURE__ */ (0, I.jsx)(WG, {
message: bn(t.error),
onRetry: () => {
t.refetch();
@@ -64565,10 +64579,10 @@ function eDe(e) {
}) : /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-list-body": "",
"data-entity-online": "",
- children: /* @__PURE__ */ (0, I.jsxs)(KG, {
+ children: /* @__PURE__ */ (0, I.jsxs)(GG, {
pending: a,
skeletonHtml: () => i.listSkeletonHtml(r),
- children: [a || !n ? null : /* @__PURE__ */ (0, I.jsx)(tDe, {
+ children: [a || !n ? null : /* @__PURE__ */ (0, I.jsx)(nDe, {
...e,
data: n
}), !a && n?.has_more ? /* @__PURE__ */ (0, I.jsx)(xY, {
@@ -64581,8 +64595,8 @@ function eDe(e) {
})
});
}
-function tDe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {
- let u = nQ({
+function nDe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {
+ let u = rQ({
view: e,
revision: 0,
actions: c
@@ -64600,7 +64614,7 @@ function tDe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
"data-images-only": String(s)
} : {}, m = r.length ? r.map((e) => {
let n = ha(e, t).id, r = d.byId.get(e.primary?.source_id)?.author_key;
- return /* @__PURE__ */ (0, I.jsx)(GZ, {
+ return /* @__PURE__ */ (0, I.jsx)(KZ, {
group: e,
authorSources: r && d.byAuthor.get(r) || [],
media: t,
@@ -64613,11 +64627,11 @@ function tDe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
onStatus: u.status,
onSave: u.save
}, `${e.primary.id}:${t}`);
- }) : /* @__PURE__ */ (0, I.jsx)(nDe, {
+ }) : /* @__PURE__ */ (0, I.jsx)(rDe, {
searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length || e.durMin || e.durMax),
clear: l,
actions: c,
- sources: AEe(n.sources || [], e.author)
+ sources: jEe(n.sources || [], e.author)
});
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-list": "",
@@ -64626,7 +64640,7 @@ function tDe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
children: m
});
}
-function nDe({ searched: e, clear: t, actions: n, sources: r }) {
+function rDe({ searched: e, clear: t, actions: n, sources: r }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-empty": "",
className: "contents",
@@ -64637,10 +64651,10 @@ function nDe({ searched: e, clear: t, actions: n, sources: r }) {
size: "small",
onClick: t,
children: "清除筛选"
- }) : r.length ? /* @__PURE__ */ (0, I.jsx)(jEe, {
+ }) : r.length ? /* @__PURE__ */ (0, I.jsx)(MEe, {
sources: r,
report: n.checkReport
- }) : /* @__PURE__ */ (0, I.jsx)(NL, {
+ }) : /* @__PURE__ */ (0, I.jsx)(ML, {
size: "small",
href: "/subscriptions?tab=add",
children: "添加关注"
@@ -64649,7 +64663,7 @@ function nDe({ searched: e, clear: t, actions: n, sources: r }) {
})
});
}
-function rQ(e) {
+function iQ(e) {
return {
x0: 0,
y0: 0,
@@ -64657,7 +64671,7 @@ function rQ(e) {
y1: e.height
};
}
-function iQ(e) {
+function aQ(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -64665,40 +64679,40 @@ function iQ(e) {
y1: Math.round(e.y1)
};
}
-function aQ(e) {
+function oQ(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function oQ(e, t) {
- if (!aQ(e)) return {
+function sQ(e, t) {
+ if (!oQ(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return rQ(e);
+ if (t == null || !(t > 0)) return iQ(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 iQ({
+ return aQ({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function rDe(e, t) {
- if (!aQ(e) || !(t > 0)) return rQ(e);
+function iDe(e, t) {
+ if (!oQ(e) || !(t > 0)) return iQ(e);
let n = Math.min(e.width, e.height * t);
- return iQ({
+ return aQ({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function iDe(e, t, n) {
- if (!aQ(t) || !(n > 0)) return rQ(t);
- let r = sQ(e, t), i = oQ({
+function aDe(e, t, n) {
+ if (!oQ(t) || !(n > 0)) return iQ(t);
+ let r = cQ(e, t), i = sQ({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -64709,8 +64723,8 @@ function iDe(e, t, n) {
y1: r.y0 + i.y1
};
}
-function sQ(e, t, n = null, r = "width") {
- if (!aQ(t)) return {
+function cQ(e, t, n = null, r = "width") {
+ if (!oQ(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -64719,43 +64733,43 @@ function sQ(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 iQ({
+ return aQ({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function cQ(e, t, n, r) {
+function lQ(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 iQ({
+ return aQ({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function lQ(e, t, n, r = null) {
- if (!aQ(n) || !(t > 0)) return e;
+function uQ(e, t, n, r = null) {
+ if (!oQ(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 sQ({
+ return cQ({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function aDe(e, t, n, r, i = null) {
+function oDe(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 sQ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return cQ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function oDe(e, t) {
- return aQ(t) ? {
+function sDe(e, t) {
+ return oQ(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -64767,8 +64781,8 @@ function oDe(e, t) {
height: 0
};
}
-function sDe(e, t) {
- if (!aQ(t)) return {
+function cDe(e, t) {
+ if (!oQ(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -64778,7 +64792,7 @@ function sDe(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function cDe(e, t) {
+function lDe(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}%`,
@@ -64787,15 +64801,15 @@ function cDe(e, t) {
height: `${t.height / r * 100}%`
};
}
-function uQ(e, t, n) {
+function dQ(e, t, n) {
return t > 0 ? e * n / t : 0;
}
-function lDe(e, t) {
+function uDe(e, t) {
return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;
}
// src/react/crop/crop-frame.tsx
-var uDe = .02, dQ = 1.08;
-function fQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var dDe = .02, fQ = 1.08;
+function pQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, F.useRef)(null), c = (0, F.useRef)(null), [l, u] = (0, F.useState)(!1), [d, f] = (0, F.useState)(null);
(0, F.useEffect)(() => {
u(!1);
@@ -64814,8 +64828,8 @@ function fQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: uQ(e, n.clientWidth, r.width),
- dy: uQ(t, n.clientHeight, r.height)
+ dx: dQ(e, n.clientWidth, r.width),
+ dy: dQ(t, n.clientHeight, r.height)
};
}, [r]);
function m(e) {
@@ -64832,22 +64846,22 @@ function fQ({ 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(cQ(n.box, o.dx, o.dy, r)) : i(aDe(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(lQ(n.box, o.dx, o.dy, r)) : i(oDe(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) * uDe), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * dDe), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
- o[e.key] ? (e.preventDefault(), i(cQ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(lQ(n, e.key === "-" ? 1 / dQ : dQ, r, t)));
+ o[e.key] ? (e.preventDefault(), i(lQ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(uQ(n, e.key === "-" ? 1 / fQ : fQ, r, t)));
}
- let v = n && r ? oDe(sQ(n, r, t), r) : null, y = v ? lDe(v, d) : !1, b = v ? {
+ let v = n && r ? sDe(cQ(n, r, t), r) : null, y = v ? uDe(v, d) : !1, b = v ? {
"--crop-l": `${v.left}%`,
"--crop-t": `${v.top}%`,
"--crop-w": `${v.width}%`,
@@ -64866,7 +64880,7 @@ function fQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- aQ({
+ oQ({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -64905,7 +64919,7 @@ function fQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: g,
onKeyDown: _,
onWheel: (e) => {
- n && r && i(lQ(n, e.deltaY > 0 ? dQ : 1 / dQ, r, t));
+ n && r && i(uQ(n, e.deltaY > 0 ? fQ : 1 / fQ, 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, I.jsx)("span", {
@@ -64927,13 +64941,13 @@ function fQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
});
}
// src/react/avatar-picker/avatar-picker.ts
-var dDe = "/api/avatar-choices", pQ = "/api/avatar-pick", fDe = "/api/avatar-code-cover", mQ = "/api/avatar-frame", pDe = "/avatar-choice", hQ = (e, t) => [
+var fDe = "/api/avatar-choices", mQ = "/api/avatar-pick", pDe = "/api/avatar-code-cover", hQ = "/api/avatar-frame", mDe = "/avatar-choice", gQ = (e, t) => [
"avatar-choices",
e,
t
-], gQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, _Q = (e, t, n, r = "") => `${pDe}${gQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), vQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", mDe = (e, t, n) => B(dDe + gQ(e, t), n), hDe = (e) => V(fDe, { code: e });
-async function gDe(e, t, n) {
- let r = await V(mQ, {
+], _Q = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, vQ = (e, t, n, r = "") => `${mDe}${_Q(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), yQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", hDe = (e, t, n) => B(fDe + _Q(e, t), n), gDe = (e) => V(pDe, { code: e });
+async function _De(e, t, n) {
+ let r = await V(hQ, {
kind: e,
id: t,
ref: n.ref
@@ -64946,12 +64960,12 @@ async function gDe(e, t, n) {
bases: r.bases
};
}
-var _De = (e, t, n) => V(mQ, {
+var vDe = (e, t, n) => V(hQ, {
kind: e,
id: t,
url: n
-}), vDe = (e, t, n) => yQ(`${mQ}${gQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);
-async function yQ(e, t) {
+}), yDe = (e, t, n) => bQ(`${hQ}${_Q(e, t)}&name=${encodeURIComponent(n.name)}`, n);
+async function bQ(e, t) {
let n = await fetch(e, {
method: "POST",
credentials: "same-origin",
@@ -64960,17 +64974,17 @@ async function yQ(e, t) {
if (n.ok) return r;
throw new or(r?.error || `请求失败(${n.status})`, n.status, r);
}
-function bQ(e, t, n) {
+function xQ(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? iDe(e.focus, t, n) : oQ(t, n);
+ return e.focus && r ? aDe(e.focus, t, n) : sQ(t, n);
}
-var yDe = (e) => e.crop && aQ({
+var bDe = (e) => e.crop && oQ({
width: e.width,
height: e.height
});
-async function bDe(e, t, n) {
+async function xDe(e, t, n) {
if (!("file" in n)) {
- await V(pQ, {
+ await V(mQ, {
kind: e,
id: t,
...n
@@ -64983,19 +64997,19 @@ async function bDe(e, t, n) {
i.x1,
i.y1
].join(",")}` : "";
- await yQ(`${pQ}${gQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
+ await bQ(`${mQ}${_Q(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
}
-var xQ = 2;
-function xDe(e, t) {
+var SQ = 2;
+function SDe(e, t) {
if (!t) return e;
let n = t.matched_names.filter((t) => t !== e);
- return n.length ? `${e}:图库里按${`「${n.slice(0, xQ).join("」「")}」`}${n.length > xQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;
+ return n.length ? `${e}:图库里按${`「${n.slice(0, SQ).join("」「")}」`}${n.length > SQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;
}
-var SDe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function CDe(e) {
- return e?.index_refreshing ? "正在更新图库索引,候选图片会自动显示。" : e?.index_error && e.index_stale ? "图库索引未取得:" + e.index_error : !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${SDe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var CDe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function wDe(e) {
+ return e?.index_refreshing ? "正在更新图库索引,候选图片会自动显示。" : e?.index_error && e.index_stale ? "图库索引未取得:" + e.index_error : !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${CDe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var SQ = (e) => e.cast > 1, wDe = (e) => SQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, TDe = {
+var CQ = (e) => e.cast > 1, TDe = (e) => CQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, EDe = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
@@ -65005,7 +65019,7 @@ var SQ = (e) => e.cast > 1, wDe = (e) => SQ(e) ? `${e.label}:${e.cast.toLocale
social: "社媒头像",
online: "在线作品"
};
-function EDe(e) {
+function DDe(e) {
if (e.startsWith("follow:")) {
let t = e.split(":")[2];
return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;
@@ -65016,19 +65030,19 @@ function EDe(e) {
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var DDe = (e) => `${TDe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (SQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), ODe = 8, kDe = 3 / 4;
-async function ADe(e, t, n) {
+var ODe = (e) => `${EDe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (CQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), kDe = 8, ADe = 3 / 4;
+async function jDe(e, t, n) {
switch (n.via) {
- case "choice": return { choice: await gDe(e, t, n.choice) };
- case "code": return { choice: await hDe(n.code) };
- case "url": return { choice: await _De(e, t, n.url) };
+ case "choice": return { choice: await _De(e, t, n.choice) };
+ case "code": return { choice: await gDe(n.code) };
+ case "url": return { choice: await vDe(e, t, n.url) };
case "file": return {
- choice: await vDe(e, t, n.file),
+ choice: await yDe(e, t, n.file),
file: n.file
};
}
}
-function jDe({ kind: e, entityId: t, name: n, onPicked: r }) {
+function MDe({ kind: e, entityId: t, name: n, onPicked: r }) {
let [i, a] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "absolute right-1 bottom-1 z-10",
@@ -65038,7 +65052,7 @@ function jDe({ 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, I.jsx)(khe, {
+ children: /* @__PURE__ */ (0, I.jsx)(Ahe, {
"aria-hidden": !0,
className: "size-4"
})
@@ -65048,7 +65062,7 @@ function jDe({ kind: e, entityId: t, name: n, onPicked: r }) {
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, I.jsx)(MDe, {
+ children: /* @__PURE__ */ (0, I.jsx)(NDe, {
kind: e,
entityId: t,
name: n,
@@ -65057,24 +65071,24 @@ function jDe({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function MDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, F.useRef)(null), o = $V(), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(null), p = hQ(e, t), m = (0, F.useRef)(!1), h = Pt({
+function NDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+ let a = (0, F.useRef)(null), o = $V(), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(null), p = gQ(e, t), m = (0, F.useRef)(!1), h = Pt({
queryKey: p,
- queryFn: ({ signal: n }) => mDe(e, t, n),
+ queryFn: ({ signal: n }) => hDe(e, t, n),
retryOnMount: !0,
refetchOnMount: (e) => e.state.data?.index_stale ? "always" : !1,
refetchInterval: (e) => e.state.data?.index_refreshing && !e.state.error ? 1e3 : !1
});
(0, F.useEffect)(() => () => {
- m.current && H.removeQueries({ queryKey: hQ(e, t) });
+ m.current && H.removeQueries({ queryKey: gQ(e, t) });
}, [e, t]);
let g = Ft({
- mutationFn: (n) => bDe(e, t, n),
+ mutationFn: (n) => xDe(e, t, n),
onSuccess: () => {
m.current = !0, i(), r();
}
}), _ = Ft({
- mutationFn: (n) => ADe(e, t, n),
+ mutationFn: (n) => jDe(e, t, n),
onMutate: () => {
g.reset();
},
@@ -65095,7 +65109,7 @@ function MDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
crop: e.crop
} : { file: n }) : g.mutate(e ?? { ref: t.ref });
}
- let x = h.data, S = x?.choices ?? [], C = (g.error ? cr(g.error) : "") || (!d && _.error ? cr(_.error) : "") || (h.error ? cr(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : CDe(x), E = !!C && !!h.error && C === cr(h.error), D = h.isPending || S.length > 0;
+ let x = h.data, S = x?.choices ?? [], C = (g.error ? cr(g.error) : "") || (!d && _.error ? cr(_.error) : "") || (h.error ? cr(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : wDe(x), E = !!C && !!h.error && C === cr(h.error), D = h.isPending || S.length > 0;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
@@ -65105,7 +65119,7 @@ function MDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(tR, {
+ children: [/* @__PURE__ */ (0, I.jsx)(eR, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: d ? "框出头像那一块" : "更换头像"
@@ -65116,7 +65130,7 @@ function MDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
/* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: d ? wDe(d.choice) : xDe(n, x)
+ children: d ? TDe(d.choice) : SDe(n, x)
}),
T ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "neutral",
@@ -65137,14 +65151,14 @@ function MDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, I.jsx)(xL, {
+ /* @__PURE__ */ (0, I.jsx)(bL, {
icon: RB,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), d ? /* @__PURE__ */ (0, I.jsx)(PDe, {
+ }), d ? /* @__PURE__ */ (0, I.jsx)(FDe, {
kind: e,
entityId: t,
choice: d.choice,
@@ -65164,7 +65178,7 @@ function MDe({ 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: ODe }, (e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: h.isPending ? Array.from({ length: kDe }, (e, t) => /* @__PURE__ */ (0, I.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",
@@ -65177,7 +65191,7 @@ function MDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: DDe(n),
+ title: ODe(n),
...OV(w),
onClick: () => {
w || (n.crop ? (g.reset(), _.reset(), f({ choice: n })) : _.mutate({
@@ -65187,8 +65201,8 @@ function MDe({ 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, I.jsx)(NDe, {
- src: _Q(e, t, n.ref, vQ(n, n.ref)),
+ /* @__PURE__ */ (0, I.jsx)(PDe, {
+ src: vQ(e, t, n.ref, yQ(n, n.ref)),
choice: n
}),
/* @__PURE__ */ (0, I.jsx)("span", {
@@ -65203,7 +65217,7 @@ function MDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
children: "在用"
})
}) : null,
- SQ(n) ? /* @__PURE__ */ (0, I.jsx)("span", {
+ CQ(n) ? /* @__PURE__ */ (0, I.jsx)("span", {
className: "absolute top-1 right-1",
children: /* @__PURE__ */ (0, I.jsxs)(aW, {
variant: "caption",
@@ -65290,7 +65304,7 @@ function MDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function NDe({ src: e, choice: t }) {
+function PDe({ src: e, choice: t }) {
let n = (0, F.useRef)(null), [r, i] = (0, F.useState)(!1), [a, o] = (0, F.useState)(!1);
(0, F.useEffect)(() => {
n.current?.complete && n.current.naturalWidth && i(!0);
@@ -65298,7 +65312,7 @@ function NDe({ src: e, choice: t }) {
let s = {
width: t.width,
height: t.height
- }, c = yDe(t) ? cDe(bQ(t, s, kDe), s) : null, l = r || a ? !0 : void 0;
+ }, c = bDe(t) ? lDe(xQ(t, s, ADe), s) : null, l = r || a ? !0 : void 0;
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-choice-lost": a || void 0,
className: "relative block w-full aspect-avatar-choice overflow-hidden",
@@ -65324,23 +65338,23 @@ function NDe({ src: e, choice: t }) {
})]
});
}
-function PDe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, F.useState)(o[0]), [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(null), p = vQ(n, s), m = _Q(e, t, s, p), h = $V();
+function FDe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, F.useState)(o[0]), [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(null), p = yQ(n, s), m = vQ(e, t, s, p), h = $V();
function g(e) {
c(e), u(null), f(null);
}
- let _ = d && l ? sDe(d, l) : null;
+ let _ = d && l ? cDe(d, l) : null;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {
ref: h,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: [m ? /* @__PURE__ */ (0, I.jsx)(fQ, {
+ children: [m ? /* @__PURE__ */ (0, I.jsx)(pQ, {
src: m,
aspect: 1,
box: d,
size: l,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- u(e), aQ(e) && f(s === n.ref ? bQ(n, e, 1) : oQ(e, 1));
+ u(e), oQ(e) && f(s === n.ref ? xQ(n, e, 1) : sQ(e, 1));
},
onBox: f
}) : null, o.length > 1 ? /* @__PURE__ */ (0, I.jsx)("div", {
@@ -65354,7 +65368,7 @@ function PDe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
"data-crop-base": !0,
onClick: () => g(e),
className: "cursor-pointer rounded-lg px-2 py-1 text-caption-1-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-checked:bg-background-tertiary-default aria-checked:text-text-primary",
- children: EDe(e)
+ children: DDe(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -65402,8 +65416,8 @@ function PDe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
})] });
}
// src/react/components/source-picture.tsx
-var CQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;
-function wQ({ title: e, detail: t, busy: n, onRetry: r }) {
+var wQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;
+function TQ({ title: e, detail: t, busy: n, onRetry: r }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-jav-picture-wait": "",
children: /* @__PURE__ */ (0, I.jsx)(wV, {
@@ -65420,9 +65434,9 @@ function wQ({ title: e, detail: t, busy: n, onRetry: r }) {
})
});
}
-function FDe({ code: e }) {
+function IDe({ code: e }) {
let t = OH(), [n, r] = (0, F.useState)("");
- return /* @__PURE__ */ (0, I.jsx)(wQ, {
+ return /* @__PURE__ */ (0, I.jsx)(TQ, {
title: "封面未取得",
detail: t.error || n,
busy: !!t.busy,
@@ -65437,8 +65451,8 @@ function FDe({ code: e }) {
}
});
}
-function TQ({ item: e, image: t, thumbnail: n = !1 }) {
- let [r, i] = (0, F.useState)(0), [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(""), l = (0, F.useRef)(null), u = t === "cover" && e.has_cover, d = !u && (t !== "cover" || e.source_image), f = n ? "" : t === "cover" ? `${e.code} 封面` : `${e.code} 预览 ${Number(t) + 1}`, p = d ? CQ(e.code, t, r) : u ? co(e, !0) : e.cover_url || "";
+function EQ({ item: e, image: t, thumbnail: n = !1 }) {
+ let [r, i] = (0, F.useState)(0), [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(""), l = (0, F.useRef)(null), u = t === "cover" && e.has_cover, d = !u && (t !== "cover" || e.source_image), f = n ? "" : t === "cover" ? `${e.code} 封面` : `${e.code} 预览 ${Number(t) + 1}`, p = d ? wQ(e.code, t, r) : u ? co(e, !0) : e.cover_url || "";
if ((0, F.useLayoutEffect)(() => {
let e = l.current;
e?.complete && e.naturalWidth > 0 && o({
@@ -65455,8 +65469,8 @@ function TQ({ item: e, image: t, thumbnail: n = !1 }) {
src: p,
alt: f
})
- }) : n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "封面未取得" }) : /* @__PURE__ */ (0, I.jsx)(FDe, { code: e.code });
- if (s === p) return n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, I.jsx)(wQ, {
+ }) : n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "封面未取得" }) : /* @__PURE__ */ (0, I.jsx)(IDe, { code: e.code });
+ if (s === p) return n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, I.jsx)(TQ, {
title: "图片未取得",
onRetry: () => i((e) => e + 1)
});
@@ -65505,8 +65519,8 @@ function TQ({ item: e, image: t, thumbnail: n = !1 }) {
] });
}
// src/react/components/source-avatar.tsx
-function EQ({ code: e, person: t, detail: n = !1 }) {
- vL();
+function DQ({ code: e, person: t, detail: n = !1 }) {
+ _L();
let r = (0, F.useRef)(null), [i, a] = (0, F.useState)(n || typeof IntersectionObserver > "u");
(0, F.useEffect)(() => {
if (!r.current || i) return;
@@ -65520,7 +65534,7 @@ function EQ({ code: e, person: t, detail: n = !1 }) {
"data-source-initial": "",
children: $n(tn("performer", t.name))
}), i && t.source_actor_id ? /* @__PURE__ */ (0, I.jsx)("img", {
- src: CQ(e, `actor:${t.source_actor_id}`),
+ src: wQ(e, `actor:${t.source_actor_id}`),
alt: "",
"data-drop": "self"
}) : null] });
@@ -65530,8 +65544,8 @@ function EQ({ code: e, person: t, detail: n = !1 }) {
}) : o;
}
// src/react/feed-new/feed-new-row.tsx
-function DQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
- let a = (0, F.useContext)(nG), o = (0, F.useRef)(null), [s, c] = (0, F.useState)([]), l = e?.items.length ? e.html : "";
+function OQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
+ let a = (0, F.useContext)(tG), o = (0, F.useRef)(null), [s, c] = (0, F.useState)([]), l = e?.items.length ? e.html : "";
(0, F.useLayoutEffect)(() => {
t.removeAttribute("aria-busy"), t.hidden = !l, e && i?.(!!l);
}, [
@@ -65563,7 +65577,7 @@ function DQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
u(e);
},
dangerouslySetInnerHTML: { __html: l }
- }), s.map((e, t) => (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(EQ, {
+ }), s.map((e, t) => (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(DQ, {
code: e.dataset.code,
person: {
name: e.dataset.name,
@@ -65572,7 +65586,7 @@ function DQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
}), e, `${l.length}:${t}`))] }) : null;
}
// src/react/entity-hero/glyph.tsx
-function OQ({ name: e }) {
+function kQ({ name: e }) {
let { wide: t, viewBox: n } = Sn(e);
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: n,
@@ -65582,20 +65596,20 @@ function OQ({ name: e }) {
});
}
// src/react/entity-hero/hero-pop.tsx
-function kQ(e, t) {
+function AQ(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 AQ = (e) => !!e?.isConnected && e.matches(":popover-open");
-function jQ(e, t, n, r) {
+var jQ = (e) => !!e?.isConnected && e.matches(":popover-open");
+function MQ(e, t, n, r) {
let i = (0, F.useRef)(r);
i.current = r, (0, F.useEffect)(() => {
if (!e) return;
let r = () => {
- t.current && AQ(n.current) ? kQ(t.current, n.current) : i.current();
+ t.current && jQ(n.current) ? AQ(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -65609,17 +65623,17 @@ function jQ(e, t, n, r) {
n
]);
}
-function MQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
+function NQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(!1), u = (0, F.useRef)(!1), d = (0, F.useRef)(0), f = () => {
- clearTimeout(d.current), u.current = !1, AQ(s.current) && s.current.hidePopover(), l(!1);
+ clearTimeout(d.current), u.current = !1, jQ(s.current) && s.current.hidePopover(), l(!1);
}, p = () => {
- clearTimeout(d.current), s.current && o.current && !AQ(s.current) && (s.current.showPopover(), kQ(o.current, s.current), l(!0));
+ clearTimeout(d.current), s.current && o.current && !jQ(s.current) && (s.current.showPopover(), AQ(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 jQ(c, o, s, f), (0, F.useEffect)(() => {
+ return MQ(c, o, s, f), (0, F.useEffect)(() => {
if (!c) return;
let e = (e) => {
let t = e.target;
@@ -65645,7 +65659,7 @@ function MQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && AQ(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && jQ(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -65663,16 +65677,16 @@ function MQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function IDe({ following: e, busy: t, onToggle: n, tip: r }) {
+function LDe({ following: e, busy: t, onToggle: n, tip: r }) {
let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), [s, c] = (0, F.useState)(!1), l = (0, F.useRef)(!1), u = () => {
- AQ(o.current) && o.current.hidePopover(), c(!1);
+ jQ(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- !l.current && o.current && i.current && !AQ(o.current) && (o.current.showPopover(), kQ(i.current, o.current), c(!0));
+ !l.current && o.current && i.current && !jQ(o.current) && (o.current.showPopover(), AQ(i.current, o.current), c(!0));
}, f = () => {
l.current = !1, u();
};
- return jQ(s, i, o, () => c(!1)), (0, F.useEffect)(() => {
- i.current && AQ(o.current) && kQ(i.current, o.current);
+ return MQ(s, i, o, () => c(!1)), (0, F.useEffect)(() => {
+ i.current && jQ(o.current) && AQ(i.current, o.current);
}, [r]), /* @__PURE__ */ (0, I.jsxs)("label", {
ref: i,
"data-entry-feed": "",
@@ -65681,7 +65695,7 @@ function IDe({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, I.jsx)(OQ, { name: "rss" }),
+ /* @__PURE__ */ (0, I.jsx)(kQ, { name: "rss" }),
/* @__PURE__ */ (0, I.jsx)("input", {
ref: a,
type: "checkbox",
@@ -65715,29 +65729,29 @@ function IDe({ following: e, busy: t, onToggle: n, tip: r }) {
});
}
// src/react/entity-hero/name-picker.tsx
-function LDe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function RDe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let [i, a] = (0, F.useState)(!1), o = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
o.current?.setAttribute("title", "名字与别名");
- }, []), /* @__PURE__ */ (0, I.jsxs)(Qpe, {
+ }, []), /* @__PURE__ */ (0, I.jsxs)($pe, {
isOpen: i,
onOpenChange: a,
- children: [/* @__PURE__ */ (0, I.jsx)($L, {
+ children: [/* @__PURE__ */ (0, I.jsx)(QL, {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, I.jsx)(OQ, { name: "chevron-down" })
- }), /* @__PURE__ */ (0, I.jsx)(Ez, {
+ children: /* @__PURE__ */ (0, I.jsx)(kQ, { name: "chevron-down" })
+ }), /* @__PURE__ */ (0, I.jsx)(Tz, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
className: GV,
"data-namepick-menu": "",
- children: /* @__PURE__ */ (0, I.jsxs)(eme, {
+ children: /* @__PURE__ */ (0, I.jsxs)(tme, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(Pz, {
+ /* @__PURE__ */ (0, I.jsx)(Nz, {
selectionMode: "single",
disallowEmptySelection: !0,
selectedKeys: [e],
@@ -65745,34 +65759,34 @@ function LDe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let r = [...t][0];
r && r !== e && n(r);
},
- children: t.map((e) => /* @__PURE__ */ (0, I.jsxs)(Iz, {
+ children: t.map((e) => /* @__PURE__ */ (0, I.jsxs)(Fz, {
id: e.value,
textValue: e.label,
"data-namepick-name": e.value,
- children: [/* @__PURE__ */ (0, I.jsx)(OQ, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.label })]
+ children: [/* @__PURE__ */ (0, I.jsx)(kQ, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.label })]
}, e.value))
}),
- /* @__PURE__ */ (0, I.jsx)(Fpe, { "data-namepick-rule": "" }),
- /* @__PURE__ */ (0, I.jsx)(Pz, { children: /* @__PURE__ */ (0, I.jsxs)(Iz, {
+ /* @__PURE__ */ (0, I.jsx)(Ipe, { "data-namepick-rule": "" }),
+ /* @__PURE__ */ (0, I.jsx)(Nz, { children: /* @__PURE__ */ (0, I.jsxs)(Fz, {
id: "alias",
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, I.jsx)(OQ, { name: "plus" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, I.jsx)(kQ, { name: "plus" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "添加别名…" })]
}) })
]
})
})]
});
}
-var RDe = (e) => e === "studio" || e === "agency", NQ = (e) => e === "performer" || e === "creator", zDe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
-function BDe(e, t = "zh-CN") {
+var zDe = (e) => e === "studio" || e === "agency", PQ = (e) => e === "performer" || e === "creator", BDe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
+function VDe(e, t = "zh-CN") {
return e.name_display ? e.name_display.choices[t] : [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t).map((e) => ({
value: e,
label: e
}));
}
-function PQ(e) {
+function FQ(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0,
@@ -65784,13 +65798,13 @@ function PQ(e) {
linked: !1
} : null;
}
-function FQ(e, t) {
+function IQ(e, t) {
let n = Gn(e, "performer"), r = Hn(t);
return r && [e.label, n].map(Hn).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
-var IQ = (e) => ({ site: Rn(e) });
-function VDe(e, t) {
- let n = PQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+var LQ = (e) => ({ site: Rn(e) });
+function HDe(e, t) {
+ let n = FQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
title: e.label,
@@ -65800,7 +65814,7 @@ function VDe(e, t) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${FQ(e, n)} · ${t}`
+ title: `${IQ(e, n)} · ${t}`
};
}
let r = e.url || "";
@@ -65808,11 +65822,11 @@ function VDe(e, t) {
type: "private",
label: e.label || e.hostname || "已记录"
};
- if (NQ(t) && e.link_kind !== "social") return {
+ if (PQ(t) && e.link_kind !== "social") return {
type: "icon",
url: r,
- title: FQ(e, n),
- mark: IQ(e)
+ title: IQ(e, n),
+ mark: LQ(e)
};
if (e.link_kind === "social") {
let t = Vn(r);
@@ -65820,7 +65834,7 @@ function VDe(e, t) {
type: "icon",
url: r,
title: e.label || "",
- mark: t ? { brand: t } : IQ(e)
+ mark: t ? { brand: t } : LQ(e)
};
}
return {
@@ -65828,12 +65842,12 @@ function VDe(e, t) {
url: r,
title: e.label || "",
text: Gn(e, t, i),
- mark: IQ(e)
+ mark: LQ(e)
};
});
- return [...r, ...HDe(a)];
+ return [...r, ...UDe(a)];
}
-function HDe(e) {
+function UDe(e) {
let t = e.filter((e) => e.type === "private");
return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {
type: "private",
@@ -65841,8 +65855,8 @@ function HDe(e) {
sources: t.map((e) => e.label)
}];
}
-var LQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function UDe(e) {
+var RQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+function WDe(e) {
return [
[
"legal_name",
@@ -65898,7 +65912,7 @@ function UDe(e) {
}]
}] : []);
}
-function WDe(e) {
+function GDe(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -65955,14 +65969,14 @@ function WDe(e) {
tags: e.tags
}), t;
}
-function RQ(e, t = 4) {
+function zQ(e, t = 4) {
let n = e.length > t + 1 ? t : e.length;
return {
shown: e.slice(0, n),
rest: e.length - n
};
}
-function GDe(e) {
+function KDe(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 ? {
@@ -65972,7 +65986,7 @@ function GDe(e) {
} : null;
}
// src/react/entity-hero/entity-hero-page.tsx
-function KDe(e) {
+function qDe(e) {
return ho({
id: e.id,
hasImage: e.has_image,
@@ -65983,9 +65997,9 @@ function KDe(e) {
standIn: e.avatar_stand_in
});
}
-function qDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
- vL();
- let s = tn(e, n.canonical_name, Number(n.id)), c = nn(e, n.canonical_name, Number(n.id)), l = NQ(e), u = RDe(e), d = l ? WDe(n.profile) : u ? UDe(n.company_profile) : [], f = VDe(n, e), p = LQ(n), m = e === "agency" ? [] : n.related_performers || [], h = (0, F.useRef)(null), g = (0, F.useRef)(null);
+function JDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
+ _L();
+ let s = tn(e, n.canonical_name, Number(n.id)), c = nn(e, n.canonical_name, Number(n.id)), l = PQ(e), u = zDe(e), d = l ? GDe(n.profile) : u ? WDe(n.company_profile) : [], f = HDe(n, e), p = RQ(n), m = e === "agency" ? [] : n.related_performers || [], h = (0, F.useRef)(null), g = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
o.wireScroller(h.current);
}, [o, f.length]), (0, F.useEffect)(() => {
@@ -65998,7 +66012,7 @@ function qDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-entity-portrait-wrap": "",
- children: [/* @__PURE__ */ (0, I.jsx)(JDe, {
+ children: [/* @__PURE__ */ (0, I.jsx)(YDe, {
kind: e,
name: s,
helpers: o,
@@ -66006,7 +66020,7 @@ function qDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
company: u
}), l && n.id ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-avatar-picker": "",
- children: /* @__PURE__ */ (0, I.jsx)(jDe, {
+ children: /* @__PURE__ */ (0, I.jsx)(MDe, {
kind: e,
entityId: Number(n.id),
name: s || t,
@@ -66021,13 +66035,13 @@ function qDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
"data-entity-title": "",
children: [
/* @__PURE__ */ (0, I.jsx)("h2", {
- lang: eL(s),
+ lang: $I(s),
title: c || void 0,
children: s
}),
- e === "tag" ? null : /* @__PURE__ */ (0, I.jsx)(LDe, {
+ e === "tag" ? null : /* @__PURE__ */ (0, I.jsx)(RDe, {
current: n.canonical_name,
- choices: BDe(n, Yt()),
+ choices: VDe(n, Yt()),
onChoose: a.chooseName,
onAddAlias: a.addAlias
}),
@@ -66045,7 +66059,7 @@ function qDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
className: "text-caption-1-regular text-text-secondary",
children: c
}) : null,
- /* @__PURE__ */ (0, I.jsx)(YDe, {
+ /* @__PURE__ */ (0, I.jsx)(XDe, {
kind: e,
entity: n,
actions: a
@@ -66066,14 +66080,14 @@ function qDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
f.length ? /* @__PURE__ */ (0, I.jsx)("div", {
ref: h,
"data-entity-links": "",
- children: f.map((e, t) => /* @__PURE__ */ (0, I.jsx)(tOe, { link: e }, t))
+ children: f.map((e, t) => /* @__PURE__ */ (0, I.jsx)(nOe, { link: e }, t))
}) : null,
- p.length || n.feed ? /* @__PURE__ */ (0, I.jsx)(nOe, {
+ p.length || n.feed ? /* @__PURE__ */ (0, I.jsx)(rOe, {
entity: n,
actions: a,
helpers: o
}) : null,
- n.follow?.held.length ? /* @__PURE__ */ (0, I.jsx)(QDe, {
+ n.follow?.held.length ? /* @__PURE__ */ (0, I.jsx)($De, {
follow: n.follow,
displayName: s,
actions: a
@@ -66082,11 +66096,11 @@ function qDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}),
d.length ? /* @__PURE__ */ (0, I.jsx)("dl", {
"data-entity-facts": "",
- children: d.map((e) => /* @__PURE__ */ (0, I.jsx)($De, {
+ children: d.map((e) => /* @__PURE__ */ (0, I.jsx)(eOe, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, I.jsx)(eOe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, I.jsx)(tOe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {
"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,
children: [t ? " " : "", e.text]
}, t))
@@ -66105,7 +66119,7 @@ function qDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
onClick: () => a.openEntity("performer", e.k),
children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-hero-ring": "",
- dangerouslySetInnerHTML: { __html: `<span>${z($n(tn("performer", e.k, e.id)))}</span>${KDe(e)}` }
+ dangerouslySetInnerHTML: { __html: `<span>${z($n(tn("performer", e.k, e.id)))}</span>${qDe(e)}` }
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-hero-costar-name": "",
children: tn("performer", e.k, e.id)
@@ -66113,14 +66127,14 @@ function qDe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}, e.k))
})
}) : null]
- }), i ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(DQ, {
+ }), i ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(OQ, {
feedNew: r,
host: i,
wire: o.wireFeedRow,
act: (e, t) => a.feedAction(e, t)
}), i) : null] });
}
-function JDe({ kind: e, name: t, helpers: n, people: r, company: i }) {
+function YDe({ kind: e, name: t, helpers: n, people: r, company: i }) {
let a = (0, F.useRef)(null), [o] = (0, F.useState)(() => `${n.portraitImg()}<span data-portrait-initial="">${z($n(t))}</span>`);
return (0, F.useLayoutEffect)(() => {
let e = a.current?.querySelector("[data-portrait-initial]");
@@ -66134,8 +66148,8 @@ function JDe({ kind: e, name: t, helpers: n, people: r, company: i }) {
dangerouslySetInnerHTML: { __html: o }
});
}
-function YDe({ kind: e, entity: t, actions: n }) {
- let r = PQ(t), i = (e, t) => (r) => {
+function XDe({ kind: e, entity: t, actions: n }) {
+ let r = FQ(t), i = (e, t) => (r) => {
r.preventDefault(), n.openEntity(e, t);
}, a = r ? r.linked ? /* @__PURE__ */ (0, I.jsx)("a", {
href: Nn("agency", r.name, r.id),
@@ -66144,44 +66158,44 @@ function YDe({ kind: e, entity: t, actions: n }) {
children: r.name
}) : r.name : null, o = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });
if (e === "performer" || e === "creator") {
- let e = t.name_display?.groups[Yt()] ?? t.name_groups, r = GDe(e);
+ let e = t.name_display?.groups[Yt()] ?? t.name_groups, r = KDe(e);
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- /* @__PURE__ */ (0, I.jsx)(zQ, { entity: t }),
+ /* @__PURE__ */ (0, I.jsx)(BQ, { entity: t }),
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, I.jsx)(OQ, { name: "film" }), /* @__PURE__ */ (0, I.jsx)("span", { children: o })]
+ children: [/* @__PURE__ */ (0, I.jsx)(kQ, { name: "film" }), /* @__PURE__ */ (0, I.jsx)("span", { children: o })]
}),
- t.follow?.key ? /* @__PURE__ */ (0, I.jsx)(ZDe, {
+ t.follow?.key ? /* @__PURE__ */ (0, I.jsx)(QDe, {
follow: t.follow,
actions: n
}) : null,
a ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, I.jsx)(OQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, I.jsx)(kQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]
}) : null,
r ? /* @__PURE__ */ (0, I.jsxs)("div", {
"data-meta-item": "names",
children: [
- /* @__PURE__ */ (0, I.jsx)(OQ, { name: "id-card" }),
+ /* @__PURE__ */ (0, I.jsx)(kQ, { name: "id-card" }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: r.names.map((e, t) => /* @__PURE__ */ (0, I.jsx)("span", {
- lang: eL(e),
+ lang: $I(e),
children: e
}, t))
}),
- r.rest > 0 ? /* @__PURE__ */ (0, I.jsx)(MQ, {
+ r.rest > 0 ? /* @__PURE__ */ (0, I.jsx)(NQ, {
id: "entityAliasPop",
hook: "alias",
rest: r.rest,
label: `另外 ${r.rest.toLocaleString()} 个别名`,
heading: `${r.total.toLocaleString()} 个别名`,
- children: /* @__PURE__ */ (0, I.jsx)("dl", { children: (e?.groups || []).map((e, t) => /* @__PURE__ */ (0, I.jsx)(BQ, {
+ children: /* @__PURE__ */ (0, I.jsx)("dl", { children: (e?.groups || []).map((e, t) => /* @__PURE__ */ (0, I.jsx)(VQ, {
label: e.label,
names: e.names
}, t)) })
@@ -66203,61 +66217,61 @@ function YDe({ kind: e, entity: t, actions: n }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- e === "creator" ? /* @__PURE__ */ (0, I.jsx)(zQ, { entity: t }) : null,
+ e === "creator" ? /* @__PURE__ */ (0, I.jsx)(BQ, { entity: t }) : null,
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, I.jsx)(OQ, { name: "film" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [o, c] })]
+ children: [/* @__PURE__ */ (0, I.jsx)(kQ, { name: "film" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [o, c] })]
}),
a ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, I.jsx)(OQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, I.jsx)(kQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]
}) : null,
l ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "",
title: "片商",
- children: [/* @__PURE__ */ (0, I.jsx)(OQ, { name: "clapperboard" }), /* @__PURE__ */ (0, I.jsx)("a", {
+ children: [/* @__PURE__ */ (0, I.jsx)(kQ, { name: "clapperboard" }), /* @__PURE__ */ (0, I.jsx)("a", {
href: Nn("studio", l.name, l.id),
"data-studio-link": l.name,
onClick: i("studio", l.name),
children: l.name
})]
}) : null,
- s.length ? /* @__PURE__ */ (0, I.jsx)(XDe, { aliases: s }) : null
+ s.length ? /* @__PURE__ */ (0, I.jsx)(ZDe, { aliases: s }) : null
]
});
}
-function XDe({ aliases: e }) {
- let { shown: t, rest: n } = RQ(e, 3);
+function ZDe({ aliases: e }) {
+ let { shown: t, rest: n } = zQ(e, 3);
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-meta-item": "names",
"data-company-names": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(OQ, { name: "id-card" }),
+ /* @__PURE__ */ (0, I.jsx)(kQ, { name: "id-card" }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: t.map((e, t) => /* @__PURE__ */ (0, I.jsx)("span", { children: e }, t))
}),
- n ? /* @__PURE__ */ (0, I.jsx)(MQ, {
+ n ? /* @__PURE__ */ (0, I.jsx)(NQ, {
id: "entityAliasPop",
hook: "alias",
rest: n,
label: `另外 ${n.toLocaleString()} 个别名`,
heading: `${e.length.toLocaleString()} 个别名`,
- children: /* @__PURE__ */ (0, I.jsx)("dl", { children: /* @__PURE__ */ (0, I.jsx)(BQ, { names: e.map((e) => ({ name: e })) }) })
+ children: /* @__PURE__ */ (0, I.jsx)("dl", { children: /* @__PURE__ */ (0, I.jsx)(VQ, { names: e.map((e) => ({ name: e })) }) })
}) : null
]
});
}
-function ZDe({ follow: e, actions: t }) {
+function QDe({ follow: e, actions: t }) {
let n = e.providers.join(" · ");
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "",
"data-entity-follow": "",
title: n ? `关注 · ${n}` : "关注",
- children: [/* @__PURE__ */ (0, I.jsx)(OQ, { name: "rss" }), /* @__PURE__ */ (0, I.jsxs)("a", {
+ children: [/* @__PURE__ */ (0, I.jsx)(kQ, { name: "rss" }), /* @__PURE__ */ (0, I.jsxs)("a", {
href: "?media=online",
onClick: (n) => {
n.preventDefault(), t.openFollowAuthor(e.key);
@@ -66266,7 +66280,7 @@ function ZDe({ follow: e, actions: t }) {
})]
});
}
-function QDe({ follow: e, displayName: t, actions: n }) {
+function $De({ follow: e, displayName: t, actions: n }) {
let [r, i] = (0, F.useState)(""), a = async (e, t) => {
if (!r) {
i(e);
@@ -66300,37 +66314,37 @@ function QDe({ follow: e, displayName: t, actions: n }) {
}, e.key))
});
}
-function zQ({ entity: e }) {
+function BQ({ entity: e }) {
return e.identity_labels?.length ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "classification",
"data-identity-classification": "",
- children: [/* @__PURE__ */ (0, I.jsx)(OQ, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.identity_labels.join(" · ") })]
+ children: [/* @__PURE__ */ (0, I.jsx)(kQ, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.identity_labels.join(" · ") })]
}) : null;
}
-function BQ({ label: e, names: t }) {
+function VQ({ label: e, names: t }) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, I.jsx)("dd", {
"data-wide": e ? void 0 : "",
children: t.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {
"data-pop-name": "",
- lang: eL(e.name),
+ lang: $I(e.name),
children: [e.name, e.reading ? /* @__PURE__ */ (0, I.jsx)("small", { children: e.reading }) : null]
}, t))
})] });
}
-function $De({ glyph: e, label: t, clip: n, children: r }) {
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("dt", { children: [/* @__PURE__ */ (0, I.jsx)(OQ, { name: e }), t] }), /* @__PURE__ */ (0, I.jsx)("dd", {
+function eOe({ glyph: e, label: t, clip: n, children: r }) {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("dt", { children: [/* @__PURE__ */ (0, I.jsx)(kQ, { name: e }), t] }), /* @__PURE__ */ (0, I.jsx)("dd", {
"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,
title: n,
children: r
})] });
}
-function eOe({ tags: e }) {
- let { shown: t, rest: n } = RQ(e);
+function tOe({ tags: e }) {
+ let { shown: t, rest: n } = zQ(e);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, I.jsx)("span", {
"data-fact-tag": "",
title: e,
children: e
- }, e)), n ? /* @__PURE__ */ (0, I.jsx)(MQ, {
+ }, e)), n ? /* @__PURE__ */ (0, I.jsx)(NQ, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -66346,10 +66360,10 @@ function eOe({ tags: e }) {
})
}) : null] });
}
-function VQ({ mark: e }) {
+function HQ({ mark: e }) {
if ("brand" in e) return /* @__PURE__ */ (0, I.jsx)("span", {
"data-link-icon": "brand",
- children: /* @__PURE__ */ (0, I.jsx)(OQ, { name: e.brand })
+ children: /* @__PURE__ */ (0, I.jsx)(kQ, { name: e.brand })
});
let t = R("globe") + ("site" in e ? `<img src="${z(e.site)}" alt="" width="20" height="20" loading="lazy" decoding="async" referrerpolicy="no-referrer" data-drop="self">` : "");
return /* @__PURE__ */ (0, I.jsx)("span", {
@@ -66357,7 +66371,7 @@ function VQ({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function tOe({ link: e }) {
+function nOe({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, I.jsx)("a", {
"data-link": "icon",
@@ -66366,19 +66380,19 @@ function tOe({ link: e }) {
rel: "noopener noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, I.jsx)(VQ, { mark: e.mark })
+ children: /* @__PURE__ */ (0, I.jsx)(HQ, { mark: e.mark })
});
case "gone": return /* @__PURE__ */ (0, I.jsx)("span", {
"data-link": "gone",
tabIndex: 0,
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, I.jsx)(VQ, { mark: { globe: !0 } })
+ children: /* @__PURE__ */ (0, I.jsx)(HQ, { mark: { globe: !0 } })
});
case "private": return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-link": "private",
title: e.sources ? e.sources.join("\n") : e.label,
- children: [/* @__PURE__ */ (0, I.jsx)(VQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(HQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, I.jsx)("span", {
"data-link-label": "",
children: e.sources ? e.label : `来源 · ${e.label}`
})]
@@ -66390,7 +66404,7 @@ function tOe({ link: e }) {
rel: "noopener noreferrer",
title: e.title,
children: [
- /* @__PURE__ */ (0, I.jsx)(VQ, { mark: e.mark }),
+ /* @__PURE__ */ (0, I.jsx)(HQ, { mark: e.mark }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-link-label": "",
children: e.text
@@ -66405,7 +66419,7 @@ function tOe({ link: e }) {
});
}
}
-function nOe({ entity: e, actions: t, helpers: n }) {
+function rOe({ entity: e, actions: t, helpers: n }) {
let [r, i] = (0, F.useState)(!!e.feed?.following), [a, o] = (0, F.useState)(!1), s = (0, F.useRef)(!1), c = async (e) => {
if (s.current) return !1;
s.current = !0, o(!0);
@@ -66423,33 +66437,33 @@ function nOe({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-entry-marks": "",
- children: [LQ(e).map((e, t) => /* @__PURE__ */ (0, I.jsxs)("a", {
+ children: [RQ(e).map((e, t) => /* @__PURE__ */ (0, I.jsxs)("a", {
"data-entry-mark": "",
href: e.url,
target: "_blank",
rel: "noopener noreferrer",
title: e.label,
"aria-label": e.label,
- children: [e.mark ? /* @__PURE__ */ (0, I.jsx)(OQ, { name: e.mark }) : /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: [e.mark ? /* @__PURE__ */ (0, I.jsx)(kQ, { name: e.mark }) : /* @__PURE__ */ (0, I.jsxs)("span", {
"data-missav-mark": "",
children: [/* @__PURE__ */ (0, I.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "AV" })]
}), e.ordinal ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-entry-ordinal": "",
children: e.ordinal
}) : null]
- }, t)), e.feed ? /* @__PURE__ */ (0, I.jsx)(IDe, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, I.jsx)(LDe, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: zDe(r)
+ tip: BDe(r)
}) : null]
});
}
// src/react/entity-page/use-entity-online.ts
-var rOe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
-function iOe(e, t, n) {
+var iOe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
+function aOe(e, t, n) {
let [r, i] = (0, F.useState)(() => ga(e));
r.author !== e && i(ga(e));
let [a, o] = (0, F.useState)({
@@ -66528,7 +66542,7 @@ function iOe(e, t, n) {
onlineMedia: (e) => c(e),
onlineShuffle: () => T({
sort: $i,
- seed: rOe()
+ seed: iOe()
}),
onlineImagesOnly: (e) => n.setImagesOnly(e),
onlineStatus: (e) => T({ status: e }),
@@ -66558,8 +66572,8 @@ function iOe(e, t, n) {
};
}
// src/react/entity-page/entity-page-view.tsx
-function aOe(e) {
- let { kind: t, name: n } = e, r = Pt(tZ(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {
+function oOe(e) {
+ let { kind: t, name: n } = e, r = Pt(nZ(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;
@@ -66577,17 +66591,17 @@ function aOe(e) {
s,
o?.kind,
o?.name
- ]), r.isError ? /* @__PURE__ */ (0, I.jsx)(GG, {
+ ]), r.isError ? /* @__PURE__ */ (0, I.jsx)(WG, {
message: cr(r.error),
onRetry: () => {
r.refetch();
}
- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, I.jsx)(cOe, {
+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, I.jsx)(lOe, {
...e,
entity: r.data
});
}
-function HQ(e) {
+function UQ(e) {
let [t, n] = (0, F.useState)({
key: e,
n: 1
@@ -66599,22 +66613,22 @@ function HQ(e) {
};
return n(r), r.n;
}
-var oOe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
-function sOe(e, t) {
+var sOe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
+function cOe(e, t) {
return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;
}
-function cOe(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 = It(nZ(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 || rZ(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {
+function lOe(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 = It(rZ(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 || iZ(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
- } : JX, [y, b] = (0, F.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, F.useState)(x);
+ } : YX, [y, b] = (0, F.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, F.useState)(x);
S !== x && (C(x), b("videos"));
- let w = l && y === "people" && u.length ? "people" : v.media, T = iOe(g, w === "online", {
+ let w = l && y === "people" && u.length ? "people" : v.media, T = aOe(g, w === "online", {
photoLayout: e.photoLayout,
photoLayouts: e.photoLayouts,
imagesOnly: e.followImagesOnly,
setImagesOnly: e.follow.actions.setImagesOnly
- }), E = w === "photos" || w === "online" && T.media === "images", [D, O] = (0, F.useState)(0), k = eZ(e), A = Pt(k), j = HQ(JSON.stringify([k.queryKey, D])), [M] = (0, F.useState)(() => (t === "performer" || t === "studio") && (e.jav || (A.data?.items || []).some((e) => e.is_jav)));
+ }), E = w === "photos" || w === "online" && T.media === "images", [D, O] = (0, F.useState)(0), k = tZ(e), A = Pt(k), j = UQ(JSON.stringify([k.queryKey, D])), [M] = (0, F.useState)(() => (t === "performer" || t === "studio") && (e.jav || (A.data?.items || []).some((e) => e.is_jav)));
(0, F.useLayoutEffect)(() => {
s.javContext(M);
}, [s, M]);
@@ -66624,26 +66638,26 @@ function cOe(e) {
}, [e.layout, M]), N = {
jav: e.jav,
seed: e.seed
- }, te = (0, F.useCallback)((e, r, a) => $X(t, n, i, N, e, r, a), [j]), [P, ne] = (0, F.useState)({}), re = v.set, ie = P[re] || "", ae = It({
- ...nZ(t, n, re, ie),
+ }, te = (0, F.useCallback)((e, r, a) => eZ(t, n, i, N, e, r, a), [j]), [P, ne] = (0, F.useState)({}), re = v.set, ie = P[re] || "", ae = It({
+ ...rZ(t, n, re, ie),
enabled: w === "photos"
- }), oe = ae.data?.pages[0], se = HQ(JSON.stringify(XX(t, n, re, ie))), ce = (0, F.useMemo)(() => {
+ }), oe = ae.data?.pages[0], se = UQ(JSON.stringify(ZX(t, n, re, ie))), ce = (0, F.useMemo)(() => {
let e = ae.data?.pages;
if (!e?.[0] || e[0].error) return null;
let t = e[0];
return {
revision: se,
- codeSets: t.id ? [] : rZ(t),
+ codeSets: t.id ? [] : iZ(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 = Pt({
- ...GX(d, o.feedRowHtml),
+ ...KX(d, o.feedRowHtml),
enabled: !!d
}), fe = (0, F.useRef)(e.feedRevision);
(0, F.useEffect)(() => {
- fe.current !== e.feedRevision && (fe.current = e.feedRevision, H.invalidateQueries({ queryKey: WX(d) }));
+ fe.current !== e.feedRevision && (fe.current = e.feedRevision, H.invalidateQueries({ queryKey: GX(d) }));
}, [d, e.feedRevision]);
let pe = !!A.data;
(0, F.useEffect)(() => {
@@ -66677,7 +66691,7 @@ function cOe(e) {
me.current = !1;
}, []);
let he = (0, F.useCallback)(async () => {
- await H.invalidateQueries({ queryKey: ["entity-route"] }), await H.invalidateQueries({ queryKey: YX(t, n) }), await H.invalidateQueries({ queryKey: [
+ await H.invalidateQueries({ queryKey: ["entity-route"] }), await H.invalidateQueries({ queryKey: XX(t, n) }), await H.invalidateQueries({ queryKey: [
"entity-items",
t,
n
@@ -66711,7 +66725,7 @@ function cOe(e) {
enabled: e
})
}),
- onSuccess: (e, r) => H.setQueryData(YX(t, n), (e) => e && {
+ onSuccess: (e, r) => H.setQueryData(XX(t, n), (e) => e && {
...e,
feed: {
...e.feed,
@@ -66765,10 +66779,10 @@ function cOe(e) {
let e = await wn("/api/feeds/check").catch(() => null);
if (!e || e.status !== "running") break;
}
- me.current && await H.invalidateQueries({ queryKey: WX(d) });
+ me.current && await H.invalidateQueries({ queryKey: GX(d) });
})();
},
- feedAction: KX,
+ feedAction: qX,
avatarPicked: () => {
s.avatarChanged(), he().then(() => {
me.current && O((e) => e + 1);
@@ -66816,19 +66830,19 @@ function cOe(e) {
(e !== w || v.set) && (b(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {
media: e,
set: 0
- } : JX));
+ } : YX));
},
setState: (e) => s.route({
...i,
state: e
- }, JX),
+ }, YX),
toggleTag: s.toggleTag,
clearFilter: s.clearFilter,
clearAll: s.clearAll,
setSort: s.setSort,
reshuffle: async () => {
if (w !== "photos") {
- let r = s.reshuffleVideos(), a = eZ({
+ let r = s.reshuffleVideos(), a = tZ({
kind: t,
name: n,
filters: {
@@ -66842,7 +66856,7 @@ function cOe(e) {
await H.fetchQuery(a).catch(() => null);
return;
}
- let r = oOe(), a = await H.fetchInfiniteQuery(nZ(t, n, re, r)).catch(() => null);
+ let r = sOe(), a = await H.fetchInfiniteQuery(rZ(t, n, re, r)).catch(() => null);
me.current && a?.pages[0] && !a.pages[0].error && ne((e) => ({
...e,
[re]: r
@@ -66877,7 +66891,7 @@ function cOe(e) {
k: e.k,
label: Pl(e.k),
n: e.n,
- selected: VTe(i.tag, e.k)
+ selected: HTe(i.tag, e.k)
})), Te = [
u.length,
!_,
@@ -66912,14 +66926,14 @@ function cOe(e) {
creator: "",
studio: "",
owner: ""
- }, JX), Ne = "", Pe = !1;
+ }, YX), Ne = "", Pe = !1;
if (w === "people") Ne = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;
else if (w === "online") Pe = T.busy, Ne = `在线 · ${(T.total ?? r.follow?.n ?? 0).toLocaleString()} 项更新`;
else if (w === "videos") {
Pe = !A.data;
- let e = ZX(i.tag).length;
+ let e = QX(i.tag).length;
Ne = `视频 · ${(A.data?.work_total ?? A.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;
- } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : sOe(oe, rZ(oe).length) : Pe = ae.isPending;
+ } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : cOe(oe, iZ(oe).length) : Pe = ae.isPending;
let Fe = (0, F.useMemo)(() => ({
...e.card.actions,
loadMorePhotos: async () => {
@@ -66936,7 +66950,7 @@ function cOe(e) {
u
]);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(qDe, {
+ /* @__PURE__ */ (0, I.jsx)(JDe, {
kind: t,
name: n,
entity: r,
@@ -66946,7 +66960,7 @@ function cOe(e) {
actions: be,
helpers: xe
}, D),
- (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(Tye, {
+ (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(Eye, {
kind: t,
name: n,
view: w,
@@ -66963,9 +66977,9 @@ function cOe(e) {
actions: Se,
helpers: Ce
}), c.filter),
- (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(dye, {
+ (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(fye, {
enabled: w === "videos",
- children: w === "online" ? /* @__PURE__ */ (0, I.jsx)(eDe, {
+ children: w === "online" ? /* @__PURE__ */ (0, I.jsx)(tDe, {
view: T.view,
media: T.media,
result: T.result,
@@ -66979,16 +66993,16 @@ function cOe(e) {
actions: e.follow.actions,
canLoadMore: e.canLoadMore,
clearFilters: T.clearFilters
- }) : w === "videos" && A.isError ? /* @__PURE__ */ (0, I.jsx)(GG, {
+ }) : w === "videos" && A.isError ? /* @__PURE__ */ (0, I.jsx)(WG, {
message: cr(A.error),
onRetry: () => {
A.refetch();
}
- }) : je ? /* @__PURE__ */ (0, I.jsx)(lOe, {
+ }) : je ? /* @__PURE__ */ (0, I.jsx)(uOe, {
filtered: Ae,
onShowAll: Me,
onOnline: g ? () => Se.setView("online") : void 0
- }) : /* @__PURE__ */ (0, I.jsx)(bEe, {
+ }) : /* @__PURE__ */ (0, I.jsx)(xEe, {
kind: t,
name: n,
view: w,
@@ -67021,7 +67035,7 @@ function cOe(e) {
}), c.body)
] });
}
-function lOe({ filtered: e, onShowAll: t, onOnline: n }) {
+function uOe({ filtered: e, onShowAll: t, onOnline: n }) {
return e ? /* @__PURE__ */ (0, I.jsx)(wV, {
icon: EV("search"),
title: "没有符合条件的视频",
@@ -67038,7 +67052,7 @@ function lOe({ filtered: e, onShowAll: t, onOnline: n }) {
size: "small",
onClick: n,
children: "查看在线作品"
- }) : /* @__PURE__ */ (0, I.jsx)(NL, {
+ }) : /* @__PURE__ */ (0, I.jsx)(ML, {
size: "small",
href: "/",
children: "浏览馆藏"
@@ -67047,30 +67061,30 @@ function lOe({ filtered: e, onShowAll: t, onOnline: n }) {
});
}
// src/react/diagnostics/diagnostics.ts
-var UQ = ["diagnostics"], WQ = (e) => B("/api/diagnostics", e);
-async function uOe(e) {
+var WQ = ["diagnostics"], GQ = (e) => B("/api/diagnostics", e);
+async function dOe(e) {
await H.fetchQuery({
- queryKey: UQ,
- queryFn: () => WQ(e),
+ queryKey: WQ,
+ queryFn: () => GQ(e),
staleTime: 1e4
});
}
// src/react/feed-new/feed-new-page.tsx
-function dOe({ host: e, revision: t, helpers: n, actions: r }) {
- let i = Pt(GX(null, n.feedRowHtml)), a = (0, F.useRef)(t);
+function fOe({ host: e, revision: t, helpers: n, actions: r }) {
+ let i = Pt(KX(null, n.feedRowHtml)), a = (0, F.useRef)(t);
return (0, F.useEffect)(() => {
- a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: WX(null) }));
- }, [t]), (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(DQ, {
+ a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: GX(null) }));
+ }, [t]), (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(OQ, {
feedNew: i.data ?? null,
host: e,
wire: n.wireFeedRow,
- act: KX,
+ act: qX,
settled: r.settled
}), e);
}
// src/react/index/index-search.tsx
-var fOe = EV("search");
-function GQ({ label: e, value: t, onQuery: n }) {
+var pOe = EV("search");
+function KQ({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, F.useState)(t), a = (0, F.useRef)(!1), o = (0, F.useRef)(void 0);
(0, F.useEffect)(() => {
clearTimeout(o.current), i(t);
@@ -67095,7 +67109,7 @@ function GQ({ label: e, value: t, onQuery: n }) {
},
children: /* @__PURE__ */ (0, I.jsx)(yV, {
type: "search",
- leadingIcon: fOe,
+ leadingIcon: pOe,
spellCheck: !1,
autoComplete: "off",
enterKeyHint: "search",
@@ -67107,7 +67121,7 @@ function GQ({ label: e, value: t, onQuery: n }) {
});
}
// src/react/index/tag-pagination.ts
-function KQ(e) {
+function qQ(e) {
let [t, n] = (0, F.useState)({
filter: e,
pageIndex: 0,
@@ -67124,7 +67138,7 @@ function KQ(e) {
}), [e])
};
}
-function qQ(e, t, n) {
+function JQ(e, t, n) {
let { pageIndex: r, pageSize: i } = t;
(0, F.useEffect)(() => {
if (e === void 0) return;
@@ -67141,11 +67155,11 @@ function qQ(e, t, n) {
]);
}
// src/react/index/index-tags.tsx
-var JQ = () => /* @__PURE__ */ (0, I.jsx)("span", {
+var YQ = () => /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
-}), YQ = EV("pencil"), XQ = (e, t) => ({
+}), XQ = EV("pencil"), ZQ = (e, t) => ({
kind: "tag",
name: e.k,
favorite: e.favorite,
@@ -67154,7 +67168,7 @@ var JQ = () => /* @__PURE__ */ (0, I.jsx)("span", {
tag_id: e.id || e.k
} : { entity_id: e.entity_id }
});
-function pOe({ tag: e, actions: t }) {
+function mOe({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 items-center gap-1",
@@ -67163,13 +67177,13 @@ function pOe({ tag: e, actions: t }) {
type: "button",
"data-alpha-tag": "",
"data-k": e.k,
- "data-tag-cat": _Z(t.online, e.cat),
+ "data-tag-cat": vZ(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, I.jsx)(JQ, {}),
+ /* @__PURE__ */ (0, I.jsx)(YQ, {}),
/* @__PURE__ */ (0, I.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -67180,16 +67194,16 @@ function pOe({ tag: e, actions: t }) {
})
]
}),
- t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(BV, { item: XQ(e, t.online) }),
+ t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(BV, { item: ZQ(e, t.online) }),
t.edit ? /* @__PURE__ */ (0, I.jsx)(zV, {
label: `编辑标签 ${e.label}`,
onClick: () => t.edit?.(e.k),
- children: /* @__PURE__ */ (0, I.jsx)(YQ, {})
+ children: /* @__PURE__ */ (0, I.jsx)(XQ, {})
}) : null
]
});
}
-function ZQ({ groups: e, actions: t }) {
+function QQ({ groups: e, actions: t }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-alphabet": "",
className: "flex flex-col gap-4",
@@ -67202,10 +67216,10 @@ function ZQ({ groups: e, actions: t }) {
}),
children: [/* @__PURE__ */ (0, I.jsxs)("h3", {
className: "mb-2 flex items-center text-title-2-medium text-text-primary",
- children: [e, /* @__PURE__ */ (0, I.jsx)(OW, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, I.jsx)(DW, { value: n.length })]
}), /* @__PURE__ */ (0, I.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
- children: n.map((e) => /* @__PURE__ */ (0, I.jsx)(pOe, {
+ children: n.map((e) => /* @__PURE__ */ (0, I.jsx)(mOe, {
tag: e,
actions: t
}, e.k))
@@ -67213,26 +67227,26 @@ function ZQ({ groups: e, actions: t }) {
}, e))
});
}
-var mOe = "\xA0";
-function QQ({ tags: e, actions: t }) {
+var hOe = "\xA0";
+function $Q({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)("span", {
"data-tag-token": "",
- "data-tag-cat": _Z(t.online, e.cat),
+ "data-tag-cat": vZ(t.online, e.cat),
className: "inline-flex max-w-full min-w-0 items-center gap-1 rounded-lg border p-1",
children: [/* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": _Z(t.online, e.cat),
+ "data-tag-cat": vZ(t.online, e.cat),
"aria-pressed": t.picked.has(e.k),
onClick: () => t.press(e.k),
className: "inline-flex max-w-full min-w-0 cursor-pointer items-center rounded-lg px-2 py-0.5 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "min-w-0 truncate",
- children: e.label + mOe
+ children: e.label + hOe
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
@@ -67241,16 +67255,16 @@ function QQ({ tags: e, actions: t }) {
}), t.favorites !== !1 || t.edit ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-tag-actions": "",
className: "inline-flex flex-none items-center gap-1",
- children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(BV, { item: XQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, I.jsx)(zV, {
+ children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(BV, { item: ZQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, I.jsx)(zV, {
label: `编辑标签 ${e.label}`,
onClick: () => t.edit?.(e.k),
- children: /* @__PURE__ */ (0, I.jsx)(YQ, {})
+ children: /* @__PURE__ */ (0, I.jsx)(XQ, {})
}) : null]
}) : null]
}, e.k))
});
}
-var hOe = [[
+var gOe = [[
"cloud",
"标签云",
"tags"
@@ -67259,34 +67273,34 @@ var hOe = [[
"字母表",
"text-aa"
]];
-function $Q({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {
- let d = wL();
- return /* @__PURE__ */ (0, I.jsx)(EL, {
+function e$({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {
+ let d = CL();
+ return /* @__PURE__ */ (0, I.jsx)(TL, {
label: "标签筛选",
topLabel: "标签类型",
top: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l ? /* @__PURE__ */ (0, I.jsxs)("div", {
role: "group",
"aria-label": "标签状态",
className: "flex flex-none items-center gap-1.75 border-r border-(--glass-low) pr-3",
- children: [[[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(DL, {
+ children: [[[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(EL, {
"data-tag-pill": "",
"data-tag-cat": "all",
pressed: !l.blocked && l.hidden === e,
onPress: () => l.onChange(!!e),
children: t
- }, String(e))), l.onBlocked ? /* @__PURE__ */ (0, I.jsx)(DL, {
+ }, String(e))), l.onBlocked ? /* @__PURE__ */ (0, I.jsx)(EL, {
"data-tag-pill": "",
"data-tag-cat": "all",
pressed: !!l.blocked,
onPress: l.onBlocked,
children: "已屏蔽内容"
}) : null]
- }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, I.jsxs)(DL, {
+ }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, I.jsxs)(EL, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : _Z(n, e),
+ "data-tag-cat": e === "all" ? "all" : vZ(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, I.jsx)(JQ, {}), r]
+ children: [/* @__PURE__ */ (0, I.jsx)(YQ, {}), r]
}, e))] }),
bottom: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsx)("span", {
@@ -67307,15 +67321,15 @@ function $Q({ categories: e, category: t, online: n, readout: r, letters: i, vie
children: e
}, e))
}) : null,
- /* @__PURE__ */ (0, I.jsx)(Kz, {
+ /* @__PURE__ */ (0, I.jsx)(Gz, {
"aria-label": "标签视图",
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
className: `ml-auto ${yU}`,
- children: hOe.map(([e, t, n]) => {
+ children: gOe.map(([e, t, n]) => {
let r = EV(n);
- return /* @__PURE__ */ (0, I.jsx)(qz, {
+ return /* @__PURE__ */ (0, I.jsx)(Kz, {
value: e,
"aria-label": t,
"data-glass-segment": "",
@@ -67331,8 +67345,8 @@ function $Q({ categories: e, category: t, online: n, readout: r, letters: i, vie
] })
});
}
-function gOe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
- return /* @__PURE__ */ (0, I.jsxs)(jj, {
+function _Oe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+ return /* @__PURE__ */ (0, I.jsxs)(kj, {
visible: e > 0,
label: "所选标签操作",
count: `已选 ${e.toLocaleString()} 个标签`,
@@ -67368,20 +67382,20 @@ function gOe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
});
}
// src/react/toaster.tsx
-var e$ = (e, t) => /* @__PURE__ */ (0, I.jsx)("span", {
+var t$ = (e, t) => /* @__PURE__ */ (0, I.jsx)("span", {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
-}), t$ = null, n$ = { "--floating-radius": "var(--radius-2xl)" }, r$ = (e) => `max(${e}px, var(--selection-dock-space, 0px), var(--miniplayer-space, 0px))`;
-function i$() {
- let e = t$;
- t$ = null, e?.root.unmount();
-}
-var a$ = (e, t) => {
- if (t$?.host === e) return;
- i$();
+}), n$ = null, r$ = { "--floating-radius": "var(--radius-2xl)" }, i$ = (e) => `max(${e}px, var(--selection-dock-space, 0px), var(--miniplayer-space, 0px))`;
+function a$() {
+ let e = n$;
+ n$ = null, e?.root.unmount();
+}
+var o$ = (e, t) => {
+ if (n$?.host === e) return;
+ a$();
let n = (0, Rt.createRoot)(e);
- t$ = {
+ n$ = {
host: e,
root: n
}, n.render(/* @__PURE__ */ (0, I.jsxs)(tH, { children: [/* @__PURE__ */ (0, I.jsx)(lH, {
@@ -67390,23 +67404,23 @@ var a$ = (e, t) => {
closeButton: !0,
gap: 8,
style: {
- ...n$,
+ ...r$,
"--width": "min(560px, calc(100vw - 48px))"
},
offset: {
right: 24,
- bottom: `calc(${r$(24)} + var(--processing-toast-space, 0px))`
+ bottom: `calc(${i$(24)} + var(--processing-toast-space, 0px))`
},
mobileOffset: {
right: 16,
left: 16,
- bottom: `calc(${r$(16)} + var(--processing-toast-space, 0px))`
+ bottom: `calc(${i$(16)} + var(--processing-toast-space, 0px))`
},
toastOptions: { closeButtonAriaLabel: "关闭提示" },
containerAriaLabel: "通知",
icons: {
- success: e$(t.success, !0),
- error: e$(t.error, !1)
+ success: t$(t.success, !0),
+ error: t$(t.error, !1)
}
}), /* @__PURE__ */ (0, I.jsx)(lH, {
id: "processing",
@@ -67414,28 +67428,28 @@ var a$ = (e, t) => {
gap: 8,
expand: !0,
style: {
- ...n$,
+ ...r$,
"--width": "min(400px, calc(100vw - 32px))"
},
offset: {
right: 24,
- bottom: r$(24)
+ bottom: i$(24)
},
mobileOffset: {
right: 16,
left: 16,
- bottom: r$(16)
+ bottom: i$(16)
},
toastOptions: { closeButtonAriaLabel: "关闭任务提示" },
containerAriaLabel: "后台任务"
})] }));
-}, _Oe = 6e3, o$ = (e, t) => {
+}, vOe = 6e3, s$ = (e, t) => {
if (!String(t.html ?? "").trim()) return;
let n = t.alert ? iH.error : iH.success, r = t.action;
n(/* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
id: e,
toasterId: "receipts",
- duration: t.timeout > 0 ? t.timeout : _Oe,
+ duration: t.timeout > 0 ? t.timeout : vOe,
action: r ? {
label: r.label,
onClick: (e) => {
@@ -67443,7 +67457,7 @@ var a$ = (e, t) => {
}
} : void 0
});
-}, s$ = (e) => e.id ?? e.entity_id, c$ = {
+}, c$ = (e) => e.id ?? e.entity_id, l$ = {
rename: "重命名标签",
merge: "合并标签",
hide: "隐藏标签",
@@ -67451,26 +67465,26 @@ var a$ = (e, t) => {
repair: "整理重复标签",
block: "屏蔽内容",
unblock: "恢复内容"
-}, l$ = (e, t) => V("/api/tag-management/preview", e, "POST", t);
-async function u$(e, t, n) {
+}, u$ = (e, t) => V("/api/tag-management/preview", e, "POST", t);
+async function d$(e, t, n) {
if (n?.aborted) return !1;
let r = t.tags.map((e) => `「${e.k}」`).join("、"), i = e.operation === "merge" || e.operation === "repair" ? `合并 ${t.tags.length} 个标签,涉及 ${t.assets} 个资源,重叠关联 ${t.overlap} 个。旧名称保留为别名。此操作无法直接撤销。` : e.operation === "rename" ? `${r}将更名为「${t.name || e.name}」,涉及 ${t.assets} 个资源。旧名称保留为别名。` : e.operation === "block" ? `屏蔽带有${r}任一标签的内容及其其它版本,涉及 ${t.assets} 个资源。可在「已屏蔽内容」中恢复。` : e.operation === "unblock" ? `解除${r}的内容屏蔽,涉及 ${t.assets} 个资源。` : `${e.operation === "hide" ? "隐藏" : "恢复"} ${t.tags.length} 个标签,涉及 ${t.assets} 个资源。${e.operation === "hide" ? "可在“已隐藏”中恢复。" : ""}`;
return !(await ol({
- title: c$[e.operation],
+ title: l$[e.operation],
body: i,
- confirmLabel: c$[e.operation],
+ confirmLabel: l$[e.operation],
onConfirm: () => V("/api/tag-management", {
...e,
token: t.token
}, "POST", n)
- })).confirmed || n?.aborted ? !1 : (await H.invalidateQueries(), o$(`tag-management-${Date.now()}`, {
- html: `已${c$[e.operation]}`,
+ })).confirmed || n?.aborted ? !1 : (await H.invalidateQueries(), s$(`tag-management-${Date.now()}`, {
+ html: `已${l$[e.operation]}`,
alert: !1,
timeout: 6e3,
action: null
}), !0);
}
-function d$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {
+function f$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {
let a = (0, F.useRef)({
operation: e,
selected: t,
@@ -67479,24 +67493,24 @@ function d$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }
scope: i
}), o = (0, F.useRef)({
name: t[0]?.k || "",
- target_id: t[0] ? s$(t[0]) : 0
+ target_id: t[0] ? c$(t[0]) : 0
}), [s, c] = (0, F.useState)(null);
return (0, F.useEffect)(() => {
let e = new AbortController(), t = a.current, n = il({
- title: c$[t.operation],
+ title: l$[t.operation],
confirmLabel: "预览影响范围",
confirmDisabled: !0,
body: "<div class=\"peach-react\" data-tag-editor-fields></div>",
onConfirm: async () => {
let n = {
operation: t.operation,
- ids: t.selected.map(s$),
+ ids: t.selected.map(c$),
...t.scope === "online" ? { scope: t.scope } : {},
...t.operation === "rename" ? { name: o.current.name.trim() } : { target_id: o.current.target_id }
};
return {
command: n,
- plan: await l$(n, e.signal)
+ plan: await u$(n, e.signal)
};
}
});
@@ -67507,14 +67521,14 @@ function d$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }
if (!e.signal.aborted) {
if (n.confirmed) {
let r = n.result;
- await u$(r.command, r.plan, e.signal) && t.done();
+ await d$(r.command, r.plan, e.signal) && t.done();
}
e.signal.aborted || t.close();
}
}), () => {
e.abort(), n.close();
};
- }, []), s ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(vOe, {
+ }, []), s ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(yOe, {
operation: a.current.operation,
selected: a.current.selected,
dialog: s.dialog,
@@ -67523,8 +67537,8 @@ function d$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }
}
}), s.host) : null;
}
-function vOe({ operation: e, selected: t, dialog: n, update: r }) {
- let [i, a] = (0, F.useState)(t[0]?.k || ""), [o, s] = (0, F.useState)(t[0] ? s$(t[0]) : 0);
+function yOe({ operation: e, selected: t, dialog: n, update: r }) {
+ let [i, a] = (0, F.useState)(t[0]?.k || ""), [o, s] = (0, F.useState)(t[0] ? c$(t[0]) : 0);
return (0, F.useEffect)(() => {
r({
name: i,
@@ -67548,17 +67562,17 @@ function vOe({ operation: e, selected: t, dialog: n, update: r }) {
prefix: "保留",
selectedKey: String(o),
onSelectionChange: (e) => {
- let n = t.find((t) => String(s$(t)) === String(e));
- n && s(s$(n));
+ let n = t.find((t) => String(c$(t)) === String(e));
+ n && s(c$(n));
},
children: t.map((e) => /* @__PURE__ */ (0, I.jsx)(rW, {
- id: String(s$(e)),
+ id: String(c$(e)),
children: e.k
- }, s$(e)))
+ }, c$(e)))
});
}
// src/react/index/tag-manager.tsx
-function f$({ search: e, category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {
+function p$({ search: e, category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {
let s = o === "online", c = (0, F.useRef)(null), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(t), [p, m] = (0, F.useState)(n), h = r ? t : d, g = i ? n : p, _ = e ?? l, [v, y] = (0, F.useState)(!1), [b, x] = (0, F.useState)(!1), S = JSON.stringify([
o,
_,
@@ -67566,7 +67580,7 @@ function f$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
g,
v,
b
- ]), { pagination: C, onChange: w } = KQ(S), T = new URLSearchParams({
+ ]), { pagination: C, onChange: w } = qQ(S), T = new URLSearchParams({
limit: String(C.pageSize),
offset: String(C.pageIndex * C.pageSize),
q: _,
@@ -67583,25 +67597,25 @@ function f$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
],
queryFn: ({ signal: e }) => B(`/api/tag-management?${T}`, e)
});
- qQ(E.data?.total, C, w);
+ JQ(E.data?.total, C, w);
let [D, O] = (0, F.useState)(/* @__PURE__ */ new Map());
(0, F.useEffect)(() => {
O(/* @__PURE__ */ new Map());
}, [S]);
- let k = new Set(D.keys()), [A, j] = (0, F.useState)(null), M = OH(), ee = E.data?.items || [], N = ee, te = (s ? cZ : sZ).filter(([e]) => e === "all" || e === h || E.isPending || Number(E.data?.categories[e]) > 0), P = N.map((e) => ({
+ let k = new Set(D.keys()), [A, j] = (0, F.useState)(null), M = OH(), ee = E.data?.items || [], N = ee, te = (s ? lZ : cZ).filter(([e]) => e === "all" || e === h || E.isPending || Number(E.data?.categories[e]) > 0), P = N.map((e) => ({
...e,
label: e.k
- })), ne = g === "alphabet" ? vZ(P, (e) => e) : [], re = [...D.values()], ie = (e) => {
+ })), ne = g === "alphabet" ? yZ(P, (e) => e) : [], re = [...D.values()], ie = (e) => {
M.run(e.operation, async (t) => {
let n = s ? {
...e,
scope: o
} : e;
- return u$(n, await l$(n, t), t);
+ return d$(n, await u$(n, t), t);
}, (e) => {
e && O(/* @__PURE__ */ new Map());
});
- }, ae = re.map(s$), oe = {
+ }, ae = re.map(c$), oe = {
online: s,
favorites: s,
picked: k,
@@ -67622,13 +67636,13 @@ function f$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
children: [
e === void 0 ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "mb-4 flex",
- children: /* @__PURE__ */ (0, I.jsx)(GQ, {
+ children: /* @__PURE__ */ (0, I.jsx)(KQ, {
label: "过滤标签",
value: l,
onQuery: u
})
}) : null,
- /* @__PURE__ */ (0, I.jsx)($Q, {
+ /* @__PURE__ */ (0, I.jsx)(e$, {
categories: te,
category: h,
online: s,
@@ -67656,7 +67670,7 @@ function f$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
} } : {}
},
actions: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- E.data?.duplicate_groups.length ? /* @__PURE__ */ (0, I.jsx)(OL, {
+ E.data?.duplicate_groups.length ? /* @__PURE__ */ (0, I.jsx)(DL, {
busy: M.busy === "repair",
onPress: () => ie({
operation: "repair",
@@ -67664,11 +67678,11 @@ function f$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
}),
children: "整理重复标签"
}) : null,
- N.length ? /* @__PURE__ */ (0, I.jsx)(OL, {
+ N.length ? /* @__PURE__ */ (0, I.jsx)(DL, {
onPress: () => O((e) => new Map([...e, ...N.map((e) => [e.k, e])])),
children: "选择本页"
}) : null,
- k.size ? /* @__PURE__ */ (0, I.jsx)(OL, {
+ k.size ? /* @__PURE__ */ (0, I.jsx)(DL, {
onPress: () => O(/* @__PURE__ */ new Map()),
children: "清空选择"
}) : null
@@ -67685,10 +67699,10 @@ function f$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
children: "立即重试"
}),
children: "无法读取标签"
- }) : N.length ? g === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(ZQ, {
+ }) : N.length ? g === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(QQ, {
groups: ne,
actions: oe
- }) : /* @__PURE__ */ (0, I.jsx)(QQ, {
+ }) : /* @__PURE__ */ (0, I.jsx)($Q, {
tags: P,
actions: oe
}) : /* @__PURE__ */ (0, I.jsx)(CV, {
@@ -67711,7 +67725,7 @@ function f$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
tone: "error",
children: M.error
}) : null,
- /* @__PURE__ */ (0, I.jsxs)(jj, {
+ /* @__PURE__ */ (0, I.jsxs)(kj, {
label: "标签管理操作",
count: `已选 ${k.size} 个标签`,
visible: k.size > 0,
@@ -67752,7 +67766,7 @@ function f$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
}) : null
]
}),
- A ? /* @__PURE__ */ (0, I.jsx)(d$, {
+ A ? /* @__PURE__ */ (0, I.jsx)(f$, {
operation: A,
selected: re,
scope: o,
@@ -67763,7 +67777,7 @@ function f$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
});
}
// src/react/index/index-page.tsx
-var yOe = [
+var bOe = [
{
value: "studios",
label: "厂牌",
@@ -67779,7 +67793,7 @@ var yOe = [
label: "系列",
symbol: "list"
}
-], bOe = [{
+], xOe = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -67787,7 +67801,7 @@ var yOe = [
value: "online",
label: "在线",
symbol: "rss"
-}], xOe = [
+}], SOe = [
{
value: "performers",
label: "艺人",
@@ -67803,7 +67817,7 @@ var yOe = [
label: "在线",
symbol: "rss"
}
-], SOe = {
+], COe = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -67832,17 +67846,17 @@ var yOe = [
"layout-grid"
]]
};
-function COe({ kind: e, layout: t, onChange: n }) {
+function wOe({ kind: e, layout: t, onChange: n }) {
return /* @__PURE__ */ (0, I.jsx)(gU, {
- "aria-label": `${oZ[e]}索引版式`,
+ "aria-label": `${sZ[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
className: `flex-none ${_U}`,
- children: SOe[e === "series" ? "series" : dZ(e) ? "company" : "people"].map(([e, t, n]) => {
+ children: COe[e === "series" ? "series" : fZ(e) ? "company" : "people"].map(([e, t, n]) => {
let r = EV(n);
- return /* @__PURE__ */ (0, I.jsx)(qz, {
+ return /* @__PURE__ */ (0, I.jsx)(Kz, {
value: e,
"aria-label": t,
className: tve,
@@ -67855,8 +67869,8 @@ function COe({ kind: e, layout: t, onChange: n }) {
})
});
}
-function wOe(e) {
- let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(() => fZ({
+function TOe(e) {
+ let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(() => pZ({
kind: e.kind,
q: e.q,
scope: e.scope,
@@ -67869,8 +67883,8 @@ function wOe(e) {
e.view,
e.category
]), [o, s] = (0, F.useState)(a);
- a !== o && (s(a), i(fZ(e)));
- let [c, l] = (0, F.useState)(e.layout), [u, d] = (0, F.useState)(/* @__PURE__ */ new Set()), [f, p] = (0, F.useState)("any"), m = (0, F.useRef)(null), { kind: h, q: g, scope: _, view: v, category: y } = r, b = oZ[h], x = h === "tags" && _ === "online", S = h === "performers" && _ === "online";
+ a !== o && (s(a), i(pZ(e)));
+ let [c, l] = (0, F.useState)(e.layout), [u, d] = (0, F.useState)(/* @__PURE__ */ new Set()), [f, p] = (0, F.useState)("any"), m = (0, F.useRef)(null), { kind: h, q: g, scope: _, view: v, category: y } = r, b = sZ[h], x = h === "tags" && _ === "online", S = h === "performers" && _ === "online";
(0, F.useEffect)(() => {
if (r.kind === e.kind && r.scope === e.scope && r.category === e.category) return;
let t = !0;
@@ -67889,7 +67903,7 @@ function wOe(e) {
...t
};
i(o), e.route(o, { replace: a });
- }, { pagination: w, onChange: T } = KQ(JSON.stringify(r)), E = gZ(pZ(r), w.pageSize), D = It({
+ }, { pagination: w, onChange: T } = qQ(JSON.stringify(r)), E = _Z(mZ(r), w.pageSize), D = It({
queryKey: h === "tags" && (w.pageIndex || w.pageSize !== 100) ? [
...E.queryKey,
"page",
@@ -67904,7 +67918,7 @@ function wOe(e) {
getNextPageParam: h === "tags" ? () => void 0 : E.getNextPageParam,
enabled: !(t && h === "tags"),
placeholderData: ke
- }), O = nEe(D.data), k = D.isPending || D.isPlaceholderData, A = !!D.hasNextPage && !D.isPlaceholderData, j = D.data?.pages[0]?.total;
+ }), O = rEe(D.data), k = D.isPending || D.isPlaceholderData, A = !!D.hasNextPage && !D.isPlaceholderData, j = D.data?.pages[0]?.total;
(0, F.useEffect)(() => {
lm(() => window.location.pathname === `/${h}` && !!m.current?.isConnected, m.current?.querySelector("[data-index-body]"), { pending: k });
}, [
@@ -67912,8 +67926,8 @@ function wOe(e) {
D.isPending,
D.isPlaceholderData,
r
- ]), qQ(h === "tags" && !D.isPlaceholderData ? j : void 0, w, T);
- let M = h === "tags" ? D.isPending || D.isError ? "" : `${(j ?? O.length).toLocaleString()} 个标签` : rEe(O.length, !!D.hasNextPage), ee = `${h}:${_}:${g}`, N = (0, F.useRef)(null), te = D.data?.pages[0]?.categories;
+ ]), JQ(h === "tags" && !D.isPlaceholderData ? j : void 0, w, T);
+ let M = h === "tags" ? D.isPending || D.isError ? "" : `${(j ?? O.length).toLocaleString()} 个标签` : iEe(O.length, !!D.hasNextPage), ee = `${h}:${_}:${g}`, N = (0, F.useRef)(null), te = D.data?.pages[0]?.categories;
te && !D.isPlaceholderData && (N.current = {
key: ee,
counts: te
@@ -67929,15 +67943,15 @@ function wOe(e) {
O,
h,
x
- ]), ae = (0, F.useMemo)(() => h === "tags" && v === "alphabet" ? vZ(ie, (t) => x ? t : e.tagLabel(t)) : [], [
+ ]), ae = (0, F.useMemo)(() => h === "tags" && v === "alphabet" ? yZ(ie, (t) => x ? t : e.tagLabel(t)) : [], [
ie,
v,
h,
x
]), oe = (t) => {
l(t), e.savePreference({ layout: t });
- }, se = h === "tags" ? /* @__PURE__ */ (0, I.jsx)(AW, {
- tabs: bOe,
+ }, se = h === "tags" ? /* @__PURE__ */ (0, I.jsx)(kW, {
+ tabs: xOe,
value: _,
label: "词表",
onChange: (e) => {
@@ -67947,8 +67961,8 @@ function wOe(e) {
view: e === "online" ? "alphabet" : v
});
}
- }) : dZ(h) || h === "series" ? /* @__PURE__ */ (0, I.jsx)(AW, {
- tabs: yOe,
+ }) : fZ(h) || h === "series" ? /* @__PURE__ */ (0, I.jsx)(kW, {
+ tabs: bOe,
value: h,
label: "资料类型",
onChange: (e) => C({ kind: e })
@@ -67957,7 +67971,7 @@ function wOe(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
}) : ie.find((e) => e.k === t)?.entity_id ? e.openEntity("tag", t) : e.showTags([t], "all");
- }, le = (x ? cZ : sZ).filter(re);
+ }, le = (x ? lZ : cZ).filter(re);
return /* @__PURE__ */ (0, I.jsxs)("div", {
ref: m,
"data-index-page": h,
@@ -67972,10 +67986,10 @@ function wOe(e) {
className: "flex flex-none items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: b
}),
- uZ(h) ? /* @__PURE__ */ (0, I.jsx)("span", {
+ dZ(h) ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-index-count": "",
className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums max-board-narrow:order-1 max-board-narrow:basis-full",
- children: /* @__PURE__ */ (0, I.jsx)(yL, {
+ children: /* @__PURE__ */ (0, I.jsx)(vL, {
text: k ? void 0 : D.isError ? "" : M,
busy: k,
placeholder: /* @__PURE__ */ (0, I.jsx)("span", {
@@ -67984,7 +67998,7 @@ function wOe(e) {
})
})
}) : null,
- uZ(h) ? /* @__PURE__ */ (0, I.jsx)(COe, {
+ dZ(h) ? /* @__PURE__ */ (0, I.jsx)(wOe, {
kind: h,
layout: c,
onChange: oe
@@ -68003,7 +68017,7 @@ function wOe(e) {
e.exitSelectMode(), d(/* @__PURE__ */ new Set()), n(!t);
}
}) : null,
- /* @__PURE__ */ (0, I.jsx)(GQ, {
+ /* @__PURE__ */ (0, I.jsx)(KQ, {
label: `过滤${b}`,
value: g,
onQuery: (e) => {
@@ -68012,8 +68026,8 @@ function wOe(e) {
})
]
}),
- h === "performers" || h === "creators" ? /* @__PURE__ */ (0, I.jsx)(AW, {
- tabs: xOe,
+ h === "performers" || h === "creators" ? /* @__PURE__ */ (0, I.jsx)(kW, {
+ tabs: SOe,
value: S ? "online" : h,
label: "人物名册",
onChange: (t) => {
@@ -68025,7 +68039,7 @@ function wOe(e) {
}
}) : null,
se,
- t && h === "tags" ? /* @__PURE__ */ (0, I.jsx)(f$, {
+ t && h === "tags" ? /* @__PURE__ */ (0, I.jsx)(p$, {
scope: _,
search: g,
category: y,
@@ -68039,8 +68053,8 @@ function wOe(e) {
}, _) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
h === "performers" && _ === "local" ? /* @__PURE__ */ (0, I.jsx)("div", {
"aria-label": "身份分类",
- className: aZ,
- children: iZ.filter((e) => e[0] === y || re(e)).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(J, {
+ className: oZ,
+ children: aZ.filter((e) => e[0] === y || re(e)).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(J, {
variant: y === e ? "primary" : "secondary",
size: "small",
"aria-pressed": y === e,
@@ -68048,7 +68062,7 @@ function wOe(e) {
children: t
}, e))
}) : null,
- h === "tags" ? /* @__PURE__ */ (0, I.jsx)($Q, {
+ h === "tags" ? /* @__PURE__ */ (0, I.jsx)(e$, {
categories: le,
category: y,
online: x,
@@ -68064,7 +68078,7 @@ function wOe(e) {
}) : null,
/* @__PURE__ */ (0, I.jsx)("div", {
"data-index-body": "",
- children: /* @__PURE__ */ (0, I.jsx)(KG, {
+ children: /* @__PURE__ */ (0, I.jsx)(GG, {
pending: k,
skeletonHtml: () => h === "tags" ? ec({
mode: v,
@@ -68086,7 +68100,7 @@ function wOe(e) {
}),
children: bn(D.error)
});
- if (!O.length) return /* @__PURE__ */ (0, I.jsx)(EOe, {
+ if (!O.length) return /* @__PURE__ */ (0, I.jsx)(DOe, {
kind: h,
filtered: !!g || y !== "all",
online: x || S,
@@ -68095,12 +68109,12 @@ function wOe(e) {
category: "all"
})
});
- if (S) return /* @__PURE__ */ (0, I.jsx)(cEe, {
+ if (S) return /* @__PURE__ */ (0, I.jsx)(lEe, {
items: O,
layout: c,
props: e
});
- if (uZ(h)) return /* @__PURE__ */ (0, I.jsx)(xZ, {
+ if (dZ(h)) return /* @__PURE__ */ (0, I.jsx)(SZ, {
kind: h,
items: O,
layout: c,
@@ -68111,10 +68125,10 @@ function wOe(e) {
picked: u,
press: ce
};
- return v === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(ZQ, {
+ return v === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(QQ, {
groups: ae,
actions: t
- }) : /* @__PURE__ */ (0, I.jsx)(QQ, {
+ }) : /* @__PURE__ */ (0, I.jsx)($Q, {
tags: ie,
actions: t
});
@@ -68148,7 +68162,7 @@ function wOe(e) {
}) : null, "载入更多"]
})
}) : null,
- h === "tags" && !x && e.selectMode ? /* @__PURE__ */ (0, I.jsx)(gOe, {
+ h === "tags" && !x && e.selectMode ? /* @__PURE__ */ (0, I.jsx)(_Oe, {
count: u.size,
match: f,
onMatch: p,
@@ -68162,7 +68176,7 @@ function wOe(e) {
]
});
}
-var TOe = {
+var EOe = {
tags: "标签",
performers: "艺人",
creators: "卖家",
@@ -68170,7 +68184,7 @@ var TOe = {
agencies: "事务所",
series: "系列"
};
-function EOe({ kind: e, filtered: t, online: n, onClear: r }) {
+function DOe({ kind: e, filtered: t, online: n, onClear: r }) {
if (t) return /* @__PURE__ */ (0, I.jsx)(wV, {
icon: EV("search"),
title: "没有符合条件的内容",
@@ -68181,7 +68195,7 @@ function EOe({ kind: e, filtered: t, online: n, onClear: r }) {
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : TOe[e], a = /* @__PURE__ */ (0, I.jsx)(NL, {
+ let i = n && e === "performers" ? "创作者" : EOe[e], a = /* @__PURE__ */ (0, I.jsx)(ML, {
size: "small",
variant: n ? "primary" : "secondary",
href: "/subscriptions?tab=add",
@@ -68190,7 +68204,7 @@ function EOe({ kind: e, filtered: t, online: n, onClear: r }) {
return /* @__PURE__ */ (0, I.jsx)(wV, {
icon: EV(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
- actions: n ? a : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(NL, {
+ actions: n ? a : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(ML, {
size: "small",
href: "/settings/library",
children: "添加媒体"
@@ -68198,15 +68212,15 @@ function EOe({ kind: e, filtered: t, online: n, onClear: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var p$ = {
+var m$ = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, DOe = (e) => p$[e.junk_kind || "other"] || p$.other;
-function OOe(e) {
+}, OOe = (e) => m$[e.junk_kind || "other"] || m$.other;
+function kOe(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -68217,40 +68231,40 @@ function OOe(e) {
glyph: "check"
};
}
-var m$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), kOe = (e, t) => [
+var h$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), AOe = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function AOe({ kind: e, view: t }) {
+function jOe({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function jOe(e, t) {
- let n = await B(`/api/ads?${AOe(e)}`, t);
+async function MOe(e, t) {
+ let n = await B(`/api/ads?${jOe(e)}`, t);
return {
...n,
items: n.items || []
};
}
// src/react/junk-queue/junk-card.tsx
-function h$({ name: e }) {
+function g$({ name: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
}
-var g$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function MOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
- let o = (0, F.useRef)(null), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = e.junk_kind || "other", [f, p] = DOe(e), m = String(e.name || ""), h = OOe(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]") || g$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
+var _$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+function NOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
+ let o = (0, F.useRef)(null), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = e.junk_kind || "other", [f, p] = OOe(e), m = String(e.name || ""), h = kOe(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]") || _$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
}, y = (t) => {
- t.stopPropagation(), g$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);
+ t.stopPropagation(), _$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);
}, b = (t) => {
t.preventDefault(), t.stopPropagation(), s !== "reveal" && (c("reveal"), u(""), a.reveal(e).then(u, () => {}).finally(() => c("")));
}, x = (t) => (n) => {
@@ -68289,7 +68303,7 @@ function MOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, I.jsx)(h$, { name: p }), /* @__PURE__ */ (0, I.jsx)("b", { children: f })]
+ children: [/* @__PURE__ */ (0, I.jsx)(g$, { name: p }), /* @__PURE__ */ (0, I.jsx)("b", { children: f })]
}),
g ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-art": "thumb",
@@ -68301,7 +68315,7 @@ function MOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
}),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, I.jsx)(h$, { name: "check" })
+ children: /* @__PURE__ */ (0, I.jsx)(g$, { name: "check" })
})
]
}),
@@ -68338,7 +68352,7 @@ function MOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [s === "reveal" ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-junk-spinner": "",
dangerouslySetInnerHTML: { __html: zs("正在定位") }
- }) : /* @__PURE__ */ (0, I.jsx)(h$, { name: "folder-open" }), /* @__PURE__ */ (0, I.jsx)("span", {
+ }) : /* @__PURE__ */ (0, I.jsx)(g$, { name: "folder-open" }), /* @__PURE__ */ (0, I.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -68350,7 +68364,7 @@ function MOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": h.label,
...S(h.operation),
onClick: x(h.operation),
- children: [/* @__PURE__ */ (0, I.jsx)(h$, { name: h.glyph }), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(g$, { name: h.glyph }), /* @__PURE__ */ (0, I.jsx)("span", {
"data-junk-label": "",
children: h.label
})]
@@ -68362,7 +68376,7 @@ function MOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": "移入回收站",
...S("dispose"),
onClick: x("dispose"),
- children: [/* @__PURE__ */ (0, I.jsx)(h$, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(g$, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -68377,9 +68391,9 @@ function MOe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
]
});
}
-var NOe = (0, F.memo)(MOe);
+var POe = (0, F.memo)(NOe);
// src/react/components/collection-summary.tsx
-function _$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function v$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
return /* @__PURE__ */ (0, I.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
@@ -68405,21 +68419,21 @@ function _$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
});
}
// src/react/junk-queue/junk-count.tsx
-function v$({ name: e }) {
+function y$({ name: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
}
-function y$({ scope: e, count: t }) {
+function b$({ scope: e, count: t }) {
return t ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [" ", /* @__PURE__ */ (0, I.jsx)("span", {
"data-count-badge": `junk:${e}`,
children: t.toLocaleString()
})] }) : null;
}
-function POe({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = $V(), a = (0, F.useRef)(null), { kind: o, view: s } = e, c = jL(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? YU.map(([e]) => m$(t, e)).join(",") : ""}`), l = QU(s), u = (e) => {
+function FOe({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = $V(), a = (0, F.useRef)(null), { kind: o, view: s } = e, c = AL(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? YU.map(([e]) => h$(t, e)).join(",") : ""}`), l = QU(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") || ZU()));
}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
@@ -68428,7 +68442,7 @@ function POe({ route: e, page: t, failed: n, onNavigate: r }) {
children: [/* @__PURE__ */ (0, I.jsx)("div", {
"data-junk-summary": "",
"aria-live": "polite",
- children: /* @__PURE__ */ (0, I.jsx)(_$, {
+ children: /* @__PURE__ */ (0, I.jsx)(v$, {
label: $U(s),
figure: d,
pending: !t && !n,
@@ -68455,11 +68469,11 @@ function POe({ route: e, page: t, failed: n, onNavigate: r }) {
"aria-current": e === o ? "page" : void 0,
onPointerEnter: c.hover,
children: [
- /* @__PURE__ */ (0, I.jsx)(v$, { name: r }),
+ /* @__PURE__ */ (0, I.jsx)(y$, { name: r }),
n,
- /* @__PURE__ */ (0, I.jsx)(y$, {
+ /* @__PURE__ */ (0, I.jsx)(b$, {
scope: e,
- count: t ? m$(t, e) : 0
+ count: t ? h$(t, e) : 0
})
]
}, e || "all")),
@@ -68473,9 +68487,9 @@ function POe({ 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, I.jsx)(v$, { name: l.glyph }),
+ /* @__PURE__ */ (0, I.jsx)(y$, { name: l.glyph }),
l.label,
- /* @__PURE__ */ (0, I.jsx)(y$, {
+ /* @__PURE__ */ (0, I.jsx)(b$, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -68487,33 +68501,33 @@ function POe({ route: e, page: t, failed: n, onNavigate: r }) {
});
}
// src/react/junk-queue/junk-queue-page.tsx
-var FOe = EV("check"), IOe = (e, t) => e[1] === t.view && e[2] === t.kind;
-function LOe(e) {
+var IOe = EV("check"), LOe = (e, t) => e[1] === t.view && e[2] === t.kind;
+function ROe(e) {
let t = {
kind: e.kind,
view: e.view
}, n = Pt({
- queryKey: kOe(t, e.revision),
- queryFn: ({ signal: e }) => jOe(t, e),
- placeholderData: (e, n) => n && IOe(n.queryKey, t) ? e : void 0
+ queryKey: AOe(t, e.revision),
+ queryFn: ({ signal: e }) => MOe(t, e),
+ placeholderData: (e, n) => n && LOe(n.queryKey, t) ? e : void 0
});
(0, F.useEffect)(() => {
n.isFetching || e.settled?.(e.revision);
}, [n.isFetching, e.revision]);
- let r = ROe(e.countRow), i = n.isPending;
+ let r = zOe(e.countRow), i = n.isPending;
(0, F.useLayoutEffect)(() => {
let t = e.countRow;
t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));
}, [e.countRow, i]), (0, F.useLayoutEffect)(() => {
r && n.data && Zs(r, "junk");
}, [r, n.data]);
- let { navigate: a } = e.actions, o = r ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(POe, {
+ let { navigate: a } = e.actions, o = r ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(FOe, {
route: t,
page: n.data,
failed: n.isError && !n.data,
onNavigate: a
}), r) : null;
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [o, /* @__PURE__ */ (0, I.jsx)(zOe, {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [o, /* @__PURE__ */ (0, I.jsx)(BOe, {
props: e,
data: n.data,
pending: i,
@@ -68521,7 +68535,7 @@ function LOe(e) {
retry: () => void n.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function ROe(e) {
+function zOe(e) {
let [t, n] = (0, F.useState)(null);
return (0, F.useLayoutEffect)(() => {
if (!e) return;
@@ -68531,8 +68545,8 @@ function ROe(e) {
};
}, [e]), t;
}
-function zOe({ props: e, data: t, pending: n, error: r, retry: i }) {
- let a = Gye(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, F.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, F.useCallback)(() => {
+function BOe({ props: e, data: t, pending: n, error: r, retry: i }) {
+ let a = Kye(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, F.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, F.useCallback)(() => {
d?.() !== !1 && c((e) => e + 1);
}, [d]);
return /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -68540,16 +68554,16 @@ function zOe({ 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, I.jsx)(GG, {
+ if (!t) return /* @__PURE__ */ (0, I.jsx)(WG, {
message: bn(r),
onRetry: i
});
if (!l.length) {
let t = e.view === "dismissed";
return /* @__PURE__ */ (0, I.jsx)(wV, {
- icon: FOe,
+ icon: IOe,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
- actions: t ? /* @__PURE__ */ (0, I.jsx)(NL, {
+ actions: t ? /* @__PURE__ */ (0, I.jsx)(ML, {
size: "small",
href: "/junk-files",
children: "查看待判断"
@@ -68562,7 +68576,7 @@ function zOe({ 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, I.jsx)(NOe, {
+ children: u.map((t) => /* @__PURE__ */ (0, I.jsx)(POe, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -68571,7 +68585,7 @@ function zOe({ props: e, data: t, pending: n, error: r, retry: i }) {
actions: e.actions
}, t.id))
}),
- u.length < l.length ? /* @__PURE__ */ (0, I.jsx)(BOe, { onMore: f }, s) : null,
+ u.length < l.length ? /* @__PURE__ */ (0, I.jsx)(VOe, { onMore: f }, s) : null,
u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, I.jsx)("p", {
"data-junk-truncated": "",
className: "py-6 text-center text-caption-1-regular text-text-secondary",
@@ -68581,14 +68595,14 @@ function zOe({ props: e, data: t, pending: n, error: r, retry: i }) {
})()]
});
}
-function BOe({ onMore: e }) {
+function VOe({ onMore: e }) {
let t = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
let n = t.current;
if (!n || typeof IntersectionObserver > "u") return;
let r = new IntersectionObserver((t) => {
t.some((e) => e.isIntersecting) && e();
- }, { rootMargin: WG });
+ }, { rootMargin: UG });
return r.observe(n), () => r.disconnect();
}, [e]), /* @__PURE__ */ (0, I.jsx)("div", {
ref: t,
@@ -68598,21 +68612,21 @@ function BOe({ onMore: e }) {
});
}
// src/react/components/fieldset-layout.ts
-var VOe = IU({
+var HOe = IU({
padding: "none",
className: "overflow-hidden"
-}), b$ = {
+}), x$ = {
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"
-}, x$ = {
+}, S$ = {
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"
};
-function S$(e) {
- return `${VOe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;
+function C$(e) {
+ return `${HOe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;
}
// src/react/data-cleanup/cleanup-entry.ts
-var C$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", w$ = {
+var w$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", T$ = {
face: IU({
padding: "none",
radius: "plain",
@@ -68625,25 +68639,25 @@ var C$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", w
summary: "text-body-2-regular tabular-nums text-text-secondary wrap-anywhere",
detail: "text-caption-1-regular text-text-tertiary wrap-anywhere",
arrow: "size-4 shrink-0 self-center text-foreground-icon-tertiary"
-}, HOe = [
+}, UOe = [
"text-chart-6",
"text-chart-5",
"text-chart-7",
"text-chart-8"
-], UOe = [
+], WOe = [
"bg-chart-6/10",
"bg-chart-5/10",
"bg-chart-7/10",
"bg-chart-8/10"
];
-function WOe(e = {}) {
+function GOe(e = {}) {
return `${IU({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var GOe = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", KOe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
-function T$({ interactive: e = !1 } = {}) {
+var KOe = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", qOe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
+function E$({ interactive: e = !1 } = {}) {
return IU({
padding: "none",
radius: "plain",
@@ -68651,8 +68665,8 @@ function T$({ interactive: e = !1 } = {}) {
className: "flex min-h-33 flex-col gap-2 p-4 text-left"
});
}
-var E$ = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
-function qOe({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
+var D$ = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
+function JOe({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",
@@ -68685,13 +68699,13 @@ function qOe({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMet
})
] });
}
-function JOe({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
+function YOe({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.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, I.jsx)("i", {
"aria-hidden": !0,
- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${HOe[n % 4]} ${UOe[n % 4]}`,
+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${UOe[n % 4]} ${WOe[n % 4]}`,
children: /* @__PURE__ */ (0, I.jsx)(t, {
"aria-hidden": !0,
className: "size-4"
@@ -68712,96 +68726,96 @@ function JOe({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
] });
}
// src/management.ts
-var D$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", O$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", k$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", A$ = "disabled data-skeleton-action", YOe = "aria-disabled=\"true\"", j$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, M$ = (e, t, n) => `<div class="${b$[n]}"><div class="flex flex-col gap-2">
+var O$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", k$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", A$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", j$ = "disabled data-skeleton-action", XOe = "aria-disabled=\"true\"", M$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, N$ = (e, t, n) => `<div class="${x$[n]}"><div class="flex flex-col gap-2">
<h3 class="text-title-2-medium text-text-primary">${e}</h3>
<p class="text-body-2-regular text-text-secondary">${t}</p></div></div>`;
-function XOe() {
- return j$(`<section aria-label="扫描与采集" class="${S$("stack")}" data-cleanup-task data-cleanup-processing>
- ${M$("扫描与采集", D$, "stack")}
- <footer class="${x$.stack}"><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>${ws("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Ds({
+function ZOe() {
+ return M$(`<section aria-label="扫描与采集" class="${C$("stack")}" data-cleanup-task data-cleanup-processing>
+ ${N$("扫描与采集", O$, "stack")}
+ <footer class="${S$.stack}"><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>${ws("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Ds({
label: "同步新增文件",
- attrs: A$
+ attrs: j$
})}${Ds({
glyph: "chevron-down",
- attrs: `${A$} aria-label="更多同步方式"`
+ attrs: `${j$} aria-label="更多同步方式"`
})}</span></footer>
</section>`);
}
-function ZOe() {
- return j$(`<section aria-label="媒体修复" class="${S$("split")}" data-cleanup-task data-cleanup-processing>
- ${M$("媒体修复", O$, "split")}
- <footer class="${x$.split}">${ks(k$, {
+function QOe() {
+ return M$(`<section aria-label="媒体修复" class="${C$("split")}" data-cleanup-task data-cleanup-processing>
+ ${N$("媒体修复", k$, "split")}
+ <footer class="${S$.split}">${ks(A$, {
className: "w-48",
- attrs: YOe
+ attrs: XOe
})}${Ds({
label: "开始修复",
- attrs: A$
+ attrs: j$
})}</footer>
</section>`);
}
-function QOe() {
- let e = (e, t, n, r = "") => `<div class="${w$.face}"><span class="${w$.icon}">${ws(t, "size-5")}</span><span class="${w$.body}"><span class="${w$.title}">${e}</span><span class="${w$.summary}">${n}</span>${r ? `<span class="${w$.detail}">${r}</span>` : ""}</span>${ws("chevron-right", w$.arrow)}</div>`, t = (e, t) => `<div class="${T$()}"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${ws(t, "size-4")}</i><span>${e}</span></span><strong class="block text-title-1-medium tabular-nums text-text-primary">${k$}</strong><span class="block min-h-4 text-caption-1-regular text-text-tertiary">${k$}</span></div>`, n = (e) => `<h2 class="text-title-2-medium! m-0! text-text-primary">${e}</h2>`, r = (t) => qf.filter((e) => e.key === "batch-delete" === t).map((t) => e(t.title, t.icon, t.description)).join("");
+function $Oe() {
+ let e = (e, t, n, r = "") => `<div class="${T$.face}"><span class="${T$.icon}">${ws(t, "size-5")}</span><span class="${T$.body}"><span class="${T$.title}">${e}</span><span class="${T$.summary}">${n}</span>${r ? `<span class="${T$.detail}">${r}</span>` : ""}</span>${ws("chevron-right", T$.arrow)}</div>`, t = (e, t) => `<div class="${E$()}"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${ws(t, "size-4")}</i><span>${e}</span></span><strong class="block text-title-1-medium tabular-nums text-text-primary">${A$}</strong><span class="block min-h-4 text-caption-1-regular text-text-tertiary">${A$}</span></div>`, n = (e) => `<h2 class="text-title-2-medium! m-0! text-text-primary">${e}</h2>`, r = (t) => qf.filter((e) => e.key === "batch-delete" === t).map((t) => e(t.title, t.icon, t.description)).join("");
return `<div class="peach-react" data-skeleton="cleanup" aria-busy="true" role="status" aria-label="正在读取数据管理状态"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">
- <section class="flex flex-col gap-4">${n("待处理事项")}<div class="${E$}">${[
+ <section class="flex flex-col gap-4">${n("待处理事项")}<div class="${D$}">${[
["人工复核", "square-check-big"],
["重复文件", "file-stack"],
["垃圾文件", "file-archive"],
["高清版", "sparkles"],
["回收站", "trash"]
].map(([e, n]) => t(e, n)).join("")}</div></section>
- <div id="libraryProcessing" class="scroll-mt-20">${XOe()}</div>
- <section class="flex flex-col gap-4">${n("整理与维护")}<div class="${C$}">${r(!1)}</div></section>
- <section class="flex flex-col gap-4">${n("清理与删除")}<div class="${C$}">${r(!0)}</div></section>
+ <div id="libraryProcessing" class="scroll-mt-20">${ZOe()}</div>
+ <section class="flex flex-col gap-4">${n("整理与维护")}<div class="${w$}">${r(!1)}</div></section>
+ <section class="flex flex-col gap-4">${n("清理与删除")}<div class="${w$}">${r(!0)}</div></section>
</div></div>`;
}
// src/react/components/fieldset.tsx
-var $Oe = IU({
+var eke = IU({
padding: "none",
radius: "surface",
className: "overflow-hidden"
-}), eke = "border-t border-border-button-default p-4 first:border-t-0";
-function tke({ id: e, children: t }) {
+}), tke = "border-t border-border-button-default p-4 first:border-t-0";
+function nke({ id: e, children: t }) {
return /* @__PURE__ */ (0, I.jsx)("h2", {
id: e,
className: "text-title-2-medium! m-0! text-text-primary",
children: t
});
}
-function N$({ id: e, gap: t = "none", children: n }) {
+function P$({ id: e, gap: t = "none", children: n }) {
return /* @__PURE__ */ (0, I.jsx)("h3", {
id: e,
className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,
children: n
});
}
-function P$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function F$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
return /* @__PURE__ */ (0, I.jsxs)("section", {
id: r,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: S$(e),
+ className: C$(e),
children: [/* @__PURE__ */ (0, I.jsx)("div", {
- className: b$[e],
+ className: x$[e],
children: a
}), i ? /* @__PURE__ */ (0, I.jsx)("footer", {
- className: x$[e],
+ className: S$[e],
children: i
}) : null]
});
}
// src/react/components/name-link.tsx
-function F$({ className: e, ...t }) {
+function I$({ className: e, ...t }) {
return /* @__PURE__ */ (0, I.jsx)("a", {
...t,
className: q("text-body-2-medium underline-offset-4 hover:underline", e)
});
}
// src/react/components/issue-row.tsx
-function I$({ title: e, href: t, children: n }) {
+function L$({ title: e, href: t, children: n }) {
return /* @__PURE__ */ (0, I.jsxs)("li", {
className: "flex min-w-0 flex-col gap-1 border-b border-current/15 py-2 pr-6 wrap-anywhere first:pt-0 last:border-b-0 last:pb-0",
- children: [t ? /* @__PURE__ */ (0, I.jsx)(F$, {
+ children: [t ? /* @__PURE__ */ (0, I.jsx)(I$, {
href: t,
children: e
}) : /* @__PURE__ */ (0, I.jsx)("span", {
@@ -68811,23 +68825,23 @@ function I$({ title: e, href: t, children: n }) {
});
}
// src/react/components/status-label.tsx
-var nke = {
+var rke = {
success: "lime",
progress: "blue",
warning: "yellow",
error: "rose",
neutral: "neutral"
};
-function L$({ tone: e = "neutral", ...t }) {
+function R$({ tone: e = "neutral", ...t }) {
return /* @__PURE__ */ (0, I.jsx)(aW, {
"data-status-tone": e,
variant: "caption",
- color: nke[e],
+ color: rke[e],
...t
});
}
// src/react/components/path-line.tsx
-function rke({ className: e }) {
+function ike({ className: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -68840,8 +68854,8 @@ function rke({ className: e }) {
children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-folder-open" })
});
}
-var ike = "打开文件管理器失败,请重试";
-function R$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
+var ake = "打开文件管理器失败,请重试";
+function z$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
let [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(""), l = (0, F.useRef)(!0);
(0, F.useEffect)(() => () => {
l.current = !1;
@@ -68852,7 +68866,7 @@ function R$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
try {
await V("/api/reveal", { path: e }), i?.("已在资源管理器中显示");
} catch (e) {
- l.current && c(e instanceof or ? e.message : ike);
+ l.current && c(e instanceof or ? e.message : ake);
} finally {
l.current && o(!1);
}
@@ -68867,8 +68881,8 @@ function R$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
children: [t, e]
}), /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex shrink-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(xL, {
- icon: rke,
+ children: [/* @__PURE__ */ (0, I.jsx)(bL, {
+ icon: ike,
size: "small",
"aria-label": "在资源管理器中显示",
onClick: () => void u(),
@@ -68882,7 +68896,7 @@ function R$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
});
}
// src/react/library-processing/issue-export.ts
-async function ake(e, t) {
+async function oke(e, t) {
if (!e.job_id) throw Error("请先选择有问题记录的任务");
let n = [], r = 1, i = "";
for (let a = 0; a < r; a += 200) {
@@ -68905,18 +68919,18 @@ async function ake(e, t) {
rows: n
}, null, 2);
}
-function oke(e, t) {
+function ske(e, t) {
let n = URL.createObjectURL(new Blob([t], { type: "application/json;charset=utf-8" })), r = document.createElement("a");
r.href = n, r.download = `peach-issues-${e}.json`, r.click(), URL.revokeObjectURL(n);
}
// src/react/library-processing/library-processing-card.tsx
-var ske = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", cke = (e) => {
+var cke = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", lke = (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(",")}。`;
-}, lke = (e) => e.requested_stage === "previews" ? `已生成 ${e.previews || 0} 部视频预览。` : `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条。` + (e.previews ? `已生成 ${e.previews} 部视频预览。` : "") + cke(e);
-function uke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+}, uke = (e) => e.requested_stage === "previews" ? `已生成 ${e.previews || 0} 部视频预览。` : `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条。` + (e.previews ? `已生成 ${e.previews} 部视频预览。` : "") + lke(e);
+function dke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
let a = v_e(e), o = OH(), s = OH(), [c, l] = (0, F.useState)(""), u = mH(e), d = e.status === "failed" && !!e.retryable_asset_ids?.length, f = h_e(e.notes || {}), p = !!t || !e.archived && e.status === "failed", m = !t && !e.archived && hH(e), h = p || !e.archived && !u && (!!f || !!e.issue_count), g = !u && !!e.job_id && !e.archived, _ = e.issues_log || "", v = fH(e), y = $V(), b = (t) => void s.run(t ? "archive" : "unarchive", (n) => V(uH, {
action: t ? "archive" : "unarchive",
job_id: e.job_id
@@ -68926,8 +68940,8 @@ function uke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
variant: "secondary",
size: "small",
...OV(!!o.busy),
- onClick: () => void o.run("export", (t) => ake(e, t), (t) => {
- oke(e.job_id, t), i("已导出问题清单");
+ onClick: () => void o.run("export", (t) => oke(e, t), (t) => {
+ ske(e.job_id, t), i("已导出问题清单");
}),
children: "导出完整问题清单"
}) : null, S = p ? [
@@ -68945,12 +68959,12 @@ function uke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}) : e.status === "running" && e.stalled ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "warning",
title: "处理较慢",
- children: ske
+ children: cke
}) : null,
n?.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "success",
title: "处理完成",
- children: lke(n)
+ children: uke(n)
}) : null,
(n ?? e).status === "cancelled" && !e.archived ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "neutral",
@@ -68967,7 +68981,7 @@ function uke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
m ? /* @__PURE__ */ (0, I.jsx)(DH, {
href: _H,
size: "small",
- trailingIcon: NB,
+ trailingIcon: MB,
children: "查看全部内容"
}) : null,
d ? /* @__PURE__ */ (0, I.jsx)(J, {
@@ -68997,7 +69011,7 @@ function uke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
children: /* @__PURE__ */ (0, I.jsx)("ul", {
ref: y,
className: "max-h-96 overflow-y-auto",
- children: a.items.map((e) => /* @__PURE__ */ (0, I.jsxs)(I$, {
+ children: a.items.map((e) => /* @__PURE__ */ (0, I.jsxs)(L$, {
title: e.label,
href: e.href,
children: [/* @__PURE__ */ (0, I.jsx)("span", {
@@ -69013,7 +69027,7 @@ function uke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
})
}) : null, _ ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "-mx-3 mt-3 border-t border-current/20 px-3 pt-3 text-text-secondary",
- children: /* @__PURE__ */ (0, I.jsx)(R$, {
+ children: /* @__PURE__ */ (0, I.jsx)(z$, {
path: _,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -69044,7 +69058,7 @@ function uke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
]
});
}
-function z$(e) {
+function B$(e) {
let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = zH(e), o = Ft({
mutationFn: (e) => V(uH, e),
onSuccess: (e) => {
@@ -69059,26 +69073,26 @@ function z$(e) {
};
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, I.jsx)(P$, {
+ children: [/* @__PURE__ */ (0, I.jsx)(F$, {
layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsx)(DH, {
href: "/sources",
size: "small",
- trailingIcon: NB,
+ trailingIcon: MB,
children: "来源和凭证"
}),
/* @__PURE__ */ (0, I.jsx)(DH, {
href: "/settings/diagnostics",
size: "small",
- trailingIcon: NB,
+ trailingIcon: MB,
children: "诊断与日志"
}),
s.candidates ? /* @__PURE__ */ (0, I.jsx)(DH, {
href: "/review",
size: "small",
- trailingIcon: NB,
+ trailingIcon: MB,
children: "复核资料"
}) : null,
/* @__PURE__ */ (0, I.jsx)(YK, {
@@ -69099,7 +69113,7 @@ function z$(e) {
className: "flex flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(N$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, I.jsx)(aW, {
+ children: [/* @__PURE__ */ (0, I.jsx)(P$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, I.jsx)(aW, {
variant: "caption",
color: "blue",
children: /* @__PURE__ */ (0, I.jsxs)("span", {
@@ -69116,11 +69130,11 @@ function z$(e) {
}),
/* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: D$
+ children: O$
}),
s.status === "paused" && !s.total ? /* @__PURE__ */ (0, I.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, I.jsx)(L$, { children: "已暂停" })
+ children: /* @__PURE__ */ (0, I.jsx)(R$, { children: "已暂停" })
}) : mH(s) ? /* @__PURE__ */ (0, I.jsx)(k_e, { state: s }) : null,
mH(s) ? /* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular text-text-secondary tabular-nums",
@@ -69131,7 +69145,7 @@ function z$(e) {
mH(s) ? /* @__PURE__ */ (0, I.jsx)(RH, { state: s }) : null
]
})
- }), /* @__PURE__ */ (0, I.jsx)(uke, {
+ }), /* @__PURE__ */ (0, I.jsx)(dke, {
state: s,
problem: u,
settled: i,
@@ -69146,32 +69160,32 @@ function z$(e) {
});
}
// src/react/playlists/playlists.ts
-var dke = "/api/playlists", B$ = "/api/playlist", V$ = ["playlists"], H$ = (e) => B(dke, e);
-async function fke(e) {
+var fke = "/api/playlists", V$ = "/api/playlist", H$ = ["playlists"], U$ = (e) => B(fke, e);
+async function pke(e) {
await H.fetchQuery({
- queryKey: V$,
- queryFn: () => H$(e),
+ queryKey: H$,
+ queryFn: () => U$(e),
staleTime: 0
});
}
-var pke = () => H.invalidateQueries({
- queryKey: V$,
+var mke = () => H.invalidateQueries({
+ queryKey: H$,
exact: !0
-}), mke = (e) => e.current_asset_id || e.preview_asset_id || null, hke = (e) => `/poster?id=${e}&c=4`, gke = (e) => V(B$, {
+}), hke = (e) => e.current_asset_id || e.preview_asset_id || null, gke = (e) => `/poster?id=${e}&c=4`, _ke = (e) => V(V$, {
action: "create",
name: e,
asset_ids: []
-}), _ke = (e, t) => V(B$, {
+}), vke = (e, t) => V(V$, {
action: "rename",
id: e,
name: t
-}), vke = (e) => V(B$, {
+}), yke = (e) => V(V$, {
action: "delete",
id: e
-}), yke = (e) => B(`${B$}?id=${e}`).catch(() => null);
-function bke(e) {
+}), bke = (e) => B(`${V$}?id=${e}`).catch(() => null);
+function xke(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return V(B$, {
+ return V(V$, {
action: "create",
name: e.name,
asset_ids: t,
@@ -69180,13 +69194,9 @@ function bke(e) {
});
}
// src/react/scraping/custom-source-data.ts
-var U$ = "/api/custom-metadata", W$ = ["custom-metadata"], G$ = (e) => B(U$, e), xke = "/api/scraping", Ske = "/api/scraping/settings", Cke = "/api/scraping/check", K$ = "/api/scraping/cover", wke = "/api/scraping/amane-bridge", Tke = "/api/scraping/amane-bridge/check", Eke = "/api/scraping/amane-bridge/rebuild", q$ = ["scraping"], J$ = ["scraping", "cover"], Y$ = ["scraping", "amane-bridge"], Dke = 262144, X$ = (e) => B(xke, e), Z$ = (e) => B(K$, e), Q$ = (e) => B(wke, e);
-async function Oke(e) {
+var W$ = "/api/custom-metadata", G$ = ["custom-metadata"], K$ = (e) => B(W$, e), Ske = "/api/scraping", Cke = "/api/scraping/settings", wke = "/api/scraping/check", q$ = "/api/scraping/cover", Tke = "/api/scraping/amane-bridge", Eke = "/api/scraping/amane-bridge/check", Dke = "/api/scraping/amane-bridge/rebuild", J$ = ["scraping"], Y$ = ["scraping", "cover"], X$ = ["scraping", "amane-bridge"], Oke = 262144, Z$ = (e) => B(Ske, e), Q$ = (e) => B(q$, e), $$ = (e) => B(Tke, e);
+async function kke(e) {
await Promise.all([
- H.fetchQuery({
- queryKey: q$,
- queryFn: () => X$(e)
- }),
H.fetchQuery({
queryKey: J$,
queryFn: () => Z$(e)
@@ -69196,36 +69206,40 @@ async function Oke(e) {
queryFn: () => Q$(e)
}),
H.fetchQuery({
- queryKey: W$,
- queryFn: () => G$(e)
+ queryKey: X$,
+ queryFn: () => $$(e)
+ }),
+ H.fetchQuery({
+ queryKey: G$,
+ queryFn: () => K$(e)
})
]);
}
-function kke(e, t) {
+function Ake(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}` : "");
}
// src/react/search/search.ts
-var $$ = /* @__PURE__ */ new Set([
+var e1 = /* @__PURE__ */ new Set([
"performer",
"creator",
"studio",
"agency",
"series"
-]), e1 = /* @__PURE__ */ new Set([
+]), t1 = /* @__PURE__ */ new Set([
"asset",
"jav",
"post",
"photo",
"release"
-]), t1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
-function Ake({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {
+]), n1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
+function jke({ 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: c++
};
return l.push(t), t;
- }, d = t.filter((t) => !e || t1(t).includes(t1(e)));
+ }, d = t.filter((t) => !e || n1(t).includes(n1(e)));
if (!e) {
if (s.length) {
let e = s.map((e) => ({
@@ -69246,8 +69260,8 @@ function Ake({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
value: e
}))
} : null,
- left: e.filter((e) => !e1.has(e.kind)),
- right: e.filter((e) => e1.has(e.kind)),
+ left: e.filter((e) => !t1.has(e.kind)),
+ right: e.filter((e) => t1.has(e.kind)),
empty: !1,
options: l
};
@@ -69297,7 +69311,7 @@ function Ake({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: n,
more: r
};
- }, g = m.filter((e) => !e1.has(e.kind)).map(h), _ = m.filter((e) => e1.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);
+ }, g = m.filter((e) => !t1.has(e.kind)).map(h), _ = m.filter((e) => t1.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);
return {
tabs: f && a.length > 1 ? [...a] : null,
recent: p,
@@ -69307,16 +69321,16 @@ function Ake({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: l
};
}
-function jke(e, t, n = Math.random) {
+function Mke(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) => t1(t) === t1(e))).slice(0, 5);
+ return r.filter((e) => !t.some((t) => n1(t) === n1(e))).slice(0, 5);
}
// src/react/search/search-page.tsx
-var Mke = () => ({
+var Nke = () => ({
dismissed: !1,
history: [],
pool: [],
@@ -69335,7 +69349,7 @@ var Mke = () => ({
active: -1,
reveal: !1,
rewind: !1
-}), n1 = (e) => Ake({
+}), r1 = (e) => jke({
query: e.query,
history: e.history,
picks: e.picks,
@@ -69344,18 +69358,18 @@ var Mke = () => ({
tabs: e.tabs,
kind: e.kind,
recommendations: e.recommendations
-}), Nke = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), r1 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
+}), Pke = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), i1 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
-function Pke(e) {
+function Fke(e) {
let t = (0, F.useRef)(e);
t.current = e;
let n = (0, F.useRef)(null);
- n.current ??= Mke();
+ n.current ??= Nke();
let r = n.current, i = (0, F.useRef)(null), [, a] = (0, F.useReducer)((e) => e + 1, 0), o = (0, F.useRef)(null);
- o.current ??= Fke(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
+ o.current ??= Ike(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
let s = o.current;
(0, F.useLayoutEffect)(() => {
let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus(), c = () => {
@@ -69370,7 +69384,7 @@ function Pke(e) {
let e = i.current?.closest("[data-search-menu]");
r.rewind && e && (e.scrollTop = 0), r.rewind = !1, r.reveal && i.current?.querySelector("[data-search-option][data-active]")?.scrollIntoView({ block: "nearest" }), r.reveal = !1;
});
- let c = n1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, I.jsx)(Lke, {
+ let c = r1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, I.jsx)(Rke, {
entry: t,
active: t.index === r.active,
helpers: e.helpers,
@@ -69383,7 +69397,7 @@ function Pke(e) {
children: [
/* @__PURE__ */ (0, I.jsxs)("h3", { children: [e.label, e.href ? /* @__PURE__ */ (0, I.jsx)("a", {
href: e.href,
- onMouseDown: i1,
+ onMouseDown: a1,
onClick: (t) => {
t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));
},
@@ -69402,7 +69416,7 @@ function Pke(e) {
"data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,
"data-history-limit": l,
children: [
- c.tabs ? /* @__PURE__ */ (0, I.jsx)(Ike, {
+ c.tabs ? /* @__PURE__ */ (0, I.jsx)(Lke, {
tabs: c.tabs,
kind: r.kind,
onPick: s.pickKind,
@@ -69429,7 +69443,7 @@ function Pke(e) {
]
});
}
-function Fke(e, t, n, r) {
+function Ike(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 () => {
@@ -69440,7 +69454,7 @@ function Fke(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) => t1(e) !== t1(t))]), V("/api/search-history", { query: t }).catch(() => null));
+ t && e().historyLimit && (s([t, ...o().filter((e) => n1(e) !== n1(t))]), V("/api/search-history", { query: t }).catch(() => null));
}, u = async () => {
let n = ++t.poolRequest;
t.pool = [];
@@ -69487,9 +69501,9 @@ function Fke(e, t, n, r) {
i && e().helpers.dismiss(i), t.active = -1, r();
}, h = () => {
if (t.dismissed) return;
- t.query = i().value.trim(), t.picks = t.query ? [] : jke(t.pool, o()), t.active = -1;
+ t.query = i().value.trim(), t.picks = t.query ? [] : Mke(t.pool, o()), t.active = -1;
let a = n();
- a && (Nke(n1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
+ a && (Pke(r1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
}, g = () => {
t.active = -1, t.kind = "", clearTimeout(t.timer);
let e = i().value.trim();
@@ -69501,7 +69515,7 @@ function Fke(e, t, n, r) {
n && e !== t.kind && (t.kind = e, clearTimeout(t.timer), h(), t.rewind = !0, f(n, e).then(() => {
a() && t.kind === e && h();
}));
- }, v = () => p() ? n1(t).options : [], y = (e) => {
+ }, v = () => p() ? r1(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;
}, b = (t, n) => {
@@ -69510,7 +69524,7 @@ function Fke(e, t, n, r) {
}, x = (t, n) => {
i().blur(), l(n), e().actions.openEntity(t, n);
}, S = (t) => {
- t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : 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" && $$.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));
+ t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : 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" && e1.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));
}, C = (t) => {
m(), i().blur(), e().actions.openPath?.(t);
};
@@ -69556,13 +69570,13 @@ function Fke(e, t, n, r) {
await V("/api/search-history", {
operation: "remove",
query: e
- }).catch(() => null), s(o().filter((t) => t1(t) !== t1(e))), t.active = -1, r();
+ }).catch(() => null), s(o().filter((t) => n1(t) !== n1(e))), t.active = -1, r();
},
pickKind: _,
openPath: C
};
}
-function Ike({ tabs: e, kind: t, onPick: n, wire: r }) {
+function Lke({ tabs: e, kind: t, onPick: n, wire: r }) {
let i = (0, F.useRef)(null);
(0, F.useLayoutEffect)(() => {
r(i.current);
@@ -69576,9 +69590,9 @@ function Ike({ tabs: e, kind: t, onPick: n, wire: r }) {
"data-pill-variant": "gray",
onMouseDown: (e) => e.preventDefault(),
onClick: () => n(e),
- children: [r, i ? /* @__PURE__ */ (0, I.jsx)(OW, { value: i }) : null]
+ children: [r, i ? /* @__PURE__ */ (0, I.jsx)(DW, { value: i }) : null]
}, e || "all");
- return /* @__PURE__ */ (0, I.jsxs)(XI, {
+ return /* @__PURE__ */ (0, I.jsxs)(YI, {
ref: i,
"data-search-tabs": "",
"data-pill-nav": "",
@@ -69587,9 +69601,9 @@ function Ike({ tabs: e, kind: t, onPick: n, wire: r }) {
children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]
});
}
-var i1 = (e) => e.preventDefault();
-function Lke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
- vL();
+var a1 = (e) => e.preventDefault();
+function Rke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
+ _L();
let o = {
"data-search-value": e.value,
"data-active": t ? "" : void 0,
@@ -69601,33 +69615,33 @@ function Lke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
type: "button",
"data-search-option": "more",
...o,
- onMouseDown: i1,
+ onMouseDown: a1,
children: [
"查看全部 ",
e.total.toLocaleString(),
" 个视频",
- /* @__PURE__ */ (0, I.jsx)(r1, { name: "chevron-right" })
+ /* @__PURE__ */ (0, I.jsx)(i1, { name: "chevron-right" })
]
});
if (e.type !== "suggest") return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-search-option": "",
...o,
children: [
- /* @__PURE__ */ (0, I.jsx)(r1, { name: e.type === "history" ? "history" : "sparkles" }),
+ /* @__PURE__ */ (0, I.jsx)(i1, { name: e.type === "history" ? "history" : "sparkles" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: e.value }),
e.type === "history" ? /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-remove-history": e.value,
"aria-label": `删除历史 ${e.value}`,
- onMouseDown: i1,
+ onMouseDown: a1,
onClick: (t) => {
t.stopPropagation(), a(e.value);
},
- children: /* @__PURE__ */ (0, I.jsx)(r1, { name: "x" })
+ children: /* @__PURE__ */ (0, I.jsx)(i1, { name: "x" })
}) : null
]
});
- let { item: s, kind: c } = e, l = $$.has(c) ? c : void 0;
+ let { item: s, kind: c } = e, l = e1.has(c) ? c : void 0;
if ([
"asset",
"jav",
@@ -69641,8 +69655,8 @@ function Lke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-search-option": "work",
"data-open-item": c === "asset" ? s.id : void 0,
...o,
- onMouseDown: i1,
- children: [/* @__PURE__ */ (0, I.jsx)(a1, {
+ onMouseDown: a1,
+ children: [/* @__PURE__ */ (0, I.jsx)(o1, {
card: s.card,
helpers: n
}), /* @__PURE__ */ (0, I.jsxs)("span", {
@@ -69667,9 +69681,9 @@ function Lke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-search-option": "person",
"data-open-entity": l,
...o,
- onMouseDown: i1,
+ onMouseDown: a1,
children: [
- /* @__PURE__ */ (0, I.jsx)(o1, {
+ /* @__PURE__ */ (0, I.jsx)(s1, {
item: s,
kind: c
}),
@@ -69692,11 +69706,11 @@ function Lke({ 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: i1,
+ onMouseDown: a1,
onClick: (t) => {
t.stopPropagation(), i(e);
},
- children: /* @__PURE__ */ (0, I.jsx)(a1, {
+ children: /* @__PURE__ */ (0, I.jsx)(o1, {
card: e,
helpers: n
})
@@ -69710,7 +69724,7 @@ function Lke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-open-entity": l,
...o,
children: [
- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, I.jsx)(o1, {
+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, I.jsx)(s1, {
item: s,
kind: c
}) : null,
@@ -69723,13 +69737,13 @@ function Lke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
]
});
}
-function a1({ card: e, helpers: t }) {
+function o1({ card: e, helpers: t }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
"data-search-pic": "",
dangerouslySetInnerHTML: { __html: t.coverHtml(e) }
});
}
-function o1({ item: e, kind: t }) {
+function s1({ item: e, kind: t }) {
if (e.avatarHtml) return /* @__PURE__ */ (0, I.jsx)("span", {
"data-search-face": "",
dangerouslySetInnerHTML: { __html: e.avatarHtml }
@@ -69748,24 +69762,24 @@ function o1({ item: e, kind: t }) {
});
}
// src/react/settings/configuration.ts
-var s1 = ["configuration"], c1 = (e) => B(iX, e);
-async function Rke(e) {
+var c1 = ["configuration"], l1 = (e) => B(iX, e);
+async function zke(e) {
await H.fetchQuery({
- queryKey: s1,
- queryFn: () => c1(e)
+ queryKey: c1,
+ queryFn: () => l1(e)
});
}
// src/react/settings-panel/legacy-controls.tsx
-var l1 = (e) => e.map(([e, t, n]) => n ? [
+var u1 = (e) => e.map(([e, t, n]) => n ? [
e,
t,
n
] : [e, t]);
-function u1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
+function d1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
let u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(l);
return f.current = l, (0, F.useLayoutEffect)(() => {
let e = u.current;
- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Xc(t, n, l1(r), i, {
+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Xc(t, n, u1(r), i, {
attr: a,
className: o,
text: s
@@ -69783,13 +69797,13 @@ function u1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:
ref: u
});
}
-function d1({ 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 f1({ 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, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(-1), m = (0, F.useRef)(l);
return m.current = l, (0, F.useLayoutEffect)(() => {
let e = d.current;
if (!e) return;
if (p.current !== c || !f.current) {
- e.innerHTML = ps(l1(n), r, { label: t });
+ e.innerHTML = ps(u1(n), r, { label: t });
let i = ms(e.firstElementChild);
i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;
}
@@ -69802,7 +69816,7 @@ function d1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a =
"aria-describedby": s
});
}
-function zke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
+function Bke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
let s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)({
onStep: a,
onSettle: o
@@ -69836,7 +69850,7 @@ function zke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet
});
}
// src/react/settings-panel/glow-settings.tsx
-var Bke = [
+var Vke = [
[
"strength",
"强度",
@@ -69863,8 +69877,8 @@ var Bke = [
100
]
];
-function Vke({ host: e, spot: t, index: n, glow: r }) {
- let i = Xce[n], a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = $V(), [l, u] = (0, F.useState)("all");
+function Hke({ host: e, spot: t, index: n, glow: r }) {
+ let i = Qce[n], a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = $V(), [l, u] = (0, F.useState)("all");
(0, F.useLayoutEffect)(() => {
let [e, t, n] = [
a.current,
@@ -69877,7 +69891,7 @@ function Vke({ host: e, spot: t, index: n, glow: r }) {
}, []);
let d = r[t].color, f = (n) => {
let r = e.store.value.homeGlow;
- r[t].color = rM(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), as(), o.current?.focus();
+ r[t].color = tM(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), as(), o.current?.focus();
};
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-glow-stop": t,
@@ -69902,7 +69916,7 @@ function Vke({ host: e, spot: t, index: n, glow: r }) {
children: d
})]
}),
- /* @__PURE__ */ (0, I.jsx)(XF, { name: "chevron-down" })
+ /* @__PURE__ */ (0, I.jsx)(JF, { name: "chevron-down" })
]
}), /* @__PURE__ */ (0, I.jsxs)("div", {
className: "popmenu",
@@ -69914,7 +69928,7 @@ function Vke({ host: e, spot: t, index: n, glow: r }) {
"data-glow-pills": "",
role: "group",
"aria-label": "色系",
- children: $ce.map(([e, t]) => /* @__PURE__ */ (0, I.jsx)("button", {
+ children: tle.map(([e, t]) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-glow-pill": e,
"aria-pressed": e === l,
@@ -69928,7 +69942,7 @@ function Vke({ host: e, spot: t, index: n, glow: r }) {
"data-glow-palette": "",
role: "radiogroup",
"aria-label": `${i}颜色`,
- children: ele.map(([e, t, n]) => /* @__PURE__ */ (0, I.jsx)("button", {
+ children: nle.map(([e, t, n]) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
role: "radio",
"aria-checked": n === d,
@@ -69945,8 +69959,8 @@ function Vke({ host: e, spot: t, index: n, glow: r }) {
})]
});
}
-function Hke({ host: e }) {
- let t = e.store.value.homeGlow, n = Xj(t.preset);
+function Uke({ host: e }) {
+ let t = e.store.value.homeGlow, n = Jj(t.preset);
return /* @__PURE__ */ (0, I.jsxs)("section", {
"data-glow-setting": "",
id: "homeGlowControls",
@@ -69965,10 +69979,10 @@ function Hke({ host: e }) {
"data-glow-current": "",
children: ["当前配色", /* @__PURE__ */ (0, I.jsx)("b", {
"data-glow-preset-name": "",
- children: Zce(t.preset)
+ children: $ce(t.preset)
})]
}),
- /* @__PURE__ */ (0, I.jsx)(qM, {
+ /* @__PURE__ */ (0, I.jsx)(GM, {
store: e.store,
label: "光晕配色"
}),
@@ -69979,7 +69993,7 @@ function Hke({ host: e }) {
}),
/* @__PURE__ */ (0, I.jsx)("div", {
"data-glow-fields": "",
- children: Bke.map(([r, i, a]) => /* @__PURE__ */ (0, I.jsx)(zke, {
+ children: Vke.map(([r, i, a]) => /* @__PURE__ */ (0, I.jsx)(Bke, {
field: r,
label: i,
max: a,
@@ -70000,7 +70014,7 @@ function Hke({ host: e }) {
className: "geist-button",
"data-glow-reset": "",
onClick: () => {
- e.store.value.homeGlow = aM(null), e.store.save(), e.changed("glow");
+ e.store.value.homeGlow = rM(null), e.store.save(), e.changed("glow");
},
children: "恢复默认"
})
@@ -70019,7 +70033,7 @@ function Hke({ host: e }) {
"data-glow-colour-card": "",
children: /* @__PURE__ */ (0, I.jsx)("div", {
"data-glow-stops": "",
- children: qj.map((n, r) => /* @__PURE__ */ (0, I.jsx)(Vke, {
+ children: Gj.map((n, r) => /* @__PURE__ */ (0, I.jsx)(Hke, {
host: e,
spot: n,
index: r,
@@ -70031,7 +70045,7 @@ function Hke({ host: e }) {
});
}
// src/react/settings-panel/number-setting.tsx
-var Uke = {
+var Wke = {
batchSizeSetting: {
min: 1,
max: 200,
@@ -70078,22 +70092,22 @@ var Uke = {
optional: !0,
fallback: 60
}
-}, f1 = (e) => `peach.number.${e}`;
-function p1(e, t) {
+}, p1 = (e) => `peach.number.${e}`;
+function m1(e, t) {
if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";
let n = e / 1440;
return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;
}
-function m1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
- let a = Uke[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, F.useRef)(0);
- d.current ||= Ij(Number(localStorage.getItem(f1(e))), o, s, n && n > 0 ? n : l);
+function h1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
+ let a = Wke[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, F.useRef)(0);
+ d.current ||= Pj(Number(localStorage.getItem(p1(e))), o, s, n && n > 0 ? n : l);
let [f, p] = (0, F.useState)(n ?? 0), [m, h] = (0, F.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, F.useState)(""), v = (0, F.useRef)(null), y = (0, F.useRef)(i);
y.current = i, (0, F.useLayoutEffect)(() => {
n !== null && (p(n), n > 0 && h(String(n)));
}, [n]);
let b = () => {
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(f1(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(p1(e), String(d.current)), y.current(d.current)));
}, x = (0, F.useRef)(b);
x.current = b, (0, F.useEffect)(() => {
let e = v.current;
@@ -70103,7 +70117,7 @@ function m1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}, []);
let S = f > 0, C = () => {
let t = v.current;
- t?.removeAttribute("aria-invalid"), _(""), S ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(f1(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));
+ t?.removeAttribute("aria-invalid"), _(""), S ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(p1(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));
}, w = r || n === null;
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-number-setting": "",
@@ -70140,7 +70154,7 @@ function m1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
}), /* @__PURE__ */ (0, I.jsxs)("span", {
"aria-hidden": "true",
- children: [c, p1(Number(m), c) ? ` · ${p1(Number(m), c)}` : ""]
+ children: [c, m1(Number(m), c) ? ` · ${m1(Number(m), c)}` : ""]
})]
}), /* @__PURE__ */ (0, I.jsx)("small", {
id: `${e}-error`,
@@ -70153,13 +70167,13 @@ function m1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
});
}
// src/react/sidebar/sidebar-order.ts
-function h1(e) {
+function g1(e) {
let { mutate: t } = gX();
return (0, F.useCallback)((n) => {
e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });
}, [e, t]);
}
-function g1(e, t, n, r) {
+function _1(e, t, n, r) {
if (t === n) return null;
let i = [...e], a = i.indexOf(t);
if (a < 0) return null;
@@ -70168,17 +70182,17 @@ function g1(e, t, n, r) {
return o < 0 ? null : (i.splice(o + +!!r, 0, t), i);
}
// src/react/settings-panel/sidebar-order.tsx
-var Wke = "__home__", _1 = (e) => e === "" ? Wke : e;
-function Gke({ host: e }) {
- let t = h1(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, F.useState)(null), [c, l] = (0, F.useState)(!1), [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (e, r, i) => {
- let a = g1(n, e, r, i);
+var Gke = "__home__", v1 = (e) => e === "" ? Gke : e;
+function Kke({ host: e }) {
+ let t = g1(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, F.useState)(null), [c, l] = (0, F.useState)(!1), [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (e, r, i) => {
+ let a = _1(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]) => _1(e) === o) ?? a[0], y = () => {
+ }, v = a.find(([e]) => v1(e) === o) ?? a[0], y = () => {
h.current && cs(h.current), l(!1);
}, b = () => {
let e = h.current;
@@ -70199,7 +70213,7 @@ function Gke({ host: e }) {
}, C = (e) => ({
draggable: !0,
onDragStart: (t) => {
- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", _1(e));
+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", v1(e));
},
onDragOver: (t) => {
if (u === null || u === e) return;
@@ -70231,9 +70245,9 @@ function Gke({ host: e }) {
/* @__PURE__ */ (0, I.jsx)("i", {
"data-sidebar-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, I.jsx)(XF, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, I.jsx)(JF, { name: "grip-vertical" })
}),
- /* @__PURE__ */ (0, I.jsx)(XF, { name: a ?? "" }),
+ /* @__PURE__ */ (0, I.jsx)(JF, { name: a ?? "" }),
/* @__PURE__ */ (0, I.jsx)("b", { children: r })
]
}), /* @__PURE__ */ (0, I.jsxs)("span", {
@@ -70247,7 +70261,7 @@ function Gke({ host: e }) {
title: "上移",
disabled: o === 0,
onClick: () => _(e, -1),
- children: /* @__PURE__ */ (0, I.jsx)(XF, { name: "chevron-up" })
+ children: /* @__PURE__ */ (0, I.jsx)(JF, { name: "chevron-up" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -70257,7 +70271,7 @@ function Gke({ host: e }) {
title: "下移",
disabled: o === i.length - 1,
onClick: () => _(e, 1),
- children: /* @__PURE__ */ (0, I.jsx)(XF, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, I.jsx)(JF, { name: "chevron-down" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -70269,11 +70283,11 @@ function Gke({ host: e }) {
onClick: () => {
n.length > 1 && t(n.filter((t) => t !== e));
},
- children: /* @__PURE__ */ (0, I.jsx)(XF, { name: "eye-off" })
+ children: /* @__PURE__ */ (0, I.jsx)(JF, { name: "eye-off" })
})
]
})]
- }, _1(e))), /* @__PURE__ */ (0, I.jsxs)("div", {
+ }, v1(e))), /* @__PURE__ */ (0, I.jsxs)("div", {
"data-sidebar-add-row": "",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-sidebar-add-picker": "",
@@ -70289,13 +70303,13 @@ function Gke({ host: e }) {
ref: m,
onClick: b,
children: v ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(XF, { name: v[2] ?? "" }),
+ /* @__PURE__ */ (0, I.jsx)(JF, { name: v[2] ?? "" }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-sidebar-add-label": "",
children: v[1]
}),
- /* @__PURE__ */ (0, I.jsx)(XF, { name: "chevron-down" })
- ] }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(XF, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "全部页面都已显示" })] })
+ /* @__PURE__ */ (0, I.jsx)(JF, { name: "chevron-down" })
+ ] }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(JF, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "全部页面都已显示" })] })
}), a.length ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "popmenu",
"data-sidebar-add-menu": "",
@@ -70306,15 +70320,15 @@ function Gke({ host: e }) {
children: a.map(([e, t, n]) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
role: "option",
- "data-sidebar-add-option": _1(e),
+ "data-sidebar-add-option": v1(e),
"aria-selected": v?.[0] === e,
tabIndex: v?.[0] === e ? 0 : -1,
onKeyDown: x,
onClick: () => {
- s(_1(e)), y(), m.current?.focus();
+ s(v1(e)), y(), m.current?.focus();
},
- children: [/* @__PURE__ */ (0, I.jsx)(XF, { name: n ?? "" }), /* @__PURE__ */ (0, I.jsx)("span", { children: t })]
- }, _1(e)))
+ children: [/* @__PURE__ */ (0, I.jsx)(JF, { name: n ?? "" }), /* @__PURE__ */ (0, I.jsx)("span", { children: t })]
+ }, v1(e)))
}) : null]
}), /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -70330,13 +70344,13 @@ function Gke({ host: e }) {
});
}
// src/react/settings-panel/settings-panel.tsx
-var v1 = [
+var y1 = [
["外观与导航", "ri-palette-line"],
["浏览与播放", "ri-play-circle-line"],
["JAV 与新作", "jav"],
["搜索与推荐", "ri-search-line"],
["内容显示", "ri-shield-check-line"]
-], Kke = [
+], qke = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -70345,7 +70359,7 @@ var v1 = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], qke = [["desc", "降序"], ["asc", "升序"]], Jke = [[
+], Jke = [["desc", "降序"], ["asc", "升序"]], Yke = [[
"cover",
"官方封面",
""
@@ -70353,7 +70367,7 @@ var v1 = [
"thumbnail",
"预览图",
""
-]], Yke = [
+]], Xke = [
[
"feedHideGroupSetting",
"feedHideGroupCompilations",
@@ -70372,88 +70386,88 @@ var v1 = [
"切片",
"隐藏切片"
]
-], Xke = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", y1 = null, b1 = {
+], Zke = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", b1 = null, x1 = {
open: !1,
closing: !1,
epoch: 0,
tab: 0,
configurable: null
-}, x1 = 0, S1 = null, C1 = /* @__PURE__ */ new Set();
-function Zke(e) {
- return C1.add(e), () => {
- C1.delete(e);
+}, S1 = 0, C1 = null, w1 = /* @__PURE__ */ new Set();
+function Qke(e) {
+ return w1.add(e), () => {
+ w1.delete(e);
};
}
-function Qke() {
- for (let e of [...C1]) e();
+function $ke() {
+ for (let e of [...w1]) e();
}
-function w1(e) {
- b1 = {
- ...b1,
+function T1(e) {
+ x1 = {
+ ...x1,
...e
- }, (0, Lt.flushSync)(Qke);
+ }, (0, Lt.flushSync)($ke);
}
-async function $ke(e) {
- let t = b1.epoch, n = await e.configurable();
- b1.open && b1.epoch === t && w1({ configurable: n });
+async function eAe(e) {
+ let t = x1.epoch, n = await e.configurable();
+ x1.open && x1.epoch === t && T1({ configurable: n });
}
-function eAe(e = "") {
- let t = y1;
+function tAe(e = "") {
+ let t = b1;
if (!t) return;
- let n = v1.findIndex(([t]) => t === e);
- if (b1.open && !b1.closing) {
- n >= 0 && n !== b1.tab && w1({ tab: n });
+ let n = y1.findIndex(([t]) => t === e);
+ if (x1.open && !x1.closing) {
+ n >= 0 && n !== x1.tab && T1({ tab: n });
return;
}
- as(), x1 += 1, S1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
- let r = zwe();
- w1({
+ as(), S1 += 1, C1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
+ let r = Vwe();
+ T1({
open: !0,
closing: !1,
configurable: null,
- epoch: b1.epoch + 1,
- tab: n >= 0 ? n : b1.tab
+ epoch: x1.epoch + 1,
+ tab: n >= 0 ? n : x1.tab
}), r.then((e) => {
e && t.syncRemote(e);
- }), $ke(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
+ }), eAe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
}
-function T1(e = !0) {
- if (!b1.open || b1.closing) return;
- let t = ++x1;
- e && y1?.closed?.(), w1({ closing: !0 });
+function E1(e = !0) {
+ if (!x1.open || x1.closing) return;
+ let t = ++S1;
+ e && b1?.closed?.(), T1({ closing: !0 });
let n = () => {
- t === x1 && b1.closing && (w1({
+ t === S1 && x1.closing && (T1({
open: !1,
closing: !1
- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), S1 instanceof HTMLElement && document.contains(S1) && S1.focus(), S1 = null);
+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), C1 instanceof HTMLElement && document.contains(C1) && C1.focus(), C1 = null);
};
matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));
}
-var tAe = {
- open: eAe,
- close: T1,
- isOpen: () => b1.open,
+var nAe = {
+ open: tAe,
+ close: E1,
+ isOpen: () => x1.open,
reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))
};
-function nAe(e) {
- return y1 = e, tAe;
+function rAe(e) {
+ return b1 = e, nAe;
}
-function rAe() {
- let e = (0, F.useSyncExternalStore)(Zke, () => b1);
- return y1 ? /* @__PURE__ */ (0, I.jsx)(oAe, {
- host: y1,
+function iAe() {
+ let e = (0, F.useSyncExternalStore)(Qke, () => x1);
+ return b1 ? /* @__PURE__ */ (0, I.jsx)(sAe, {
+ host: b1,
view: e
}) : null;
}
-function iAe(e) {
+function aAe(e) {
if (e.key !== "Tab") return;
- let t = [...e.currentTarget.querySelectorAll(Xke)].filter((e) => e.getClientRects().length > 0);
+ let t = [...e.currentTarget.querySelectorAll(Zke)].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 E1 = (e) => `settings-tab-${e}`, D1 = (e) => `settings-group-${e}`;
-function aAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
+var D1 = (e) => `settings-tab-${e}`, O1 = (e) => `settings-group-${e}`;
+function oAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(e), l = (0, F.useRef)([]), u = (e, t) => {
let n = o.current;
if (!n) return;
@@ -70481,7 +70495,7 @@ function aAe({ 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 = v1.length, r = t;
+ let n = y1.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;
@@ -70510,11 +70524,11 @@ function aAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
role: "presentation",
children: "设置"
}),
- v1.map(([t, n], r) => /* @__PURE__ */ (0, I.jsxs)("button", {
+ y1.map(([t, n], r) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
role: "tab",
- id: E1(r),
- "aria-controls": D1(r),
+ id: D1(r),
+ "aria-controls": O1(r),
"aria-selected": r === e,
tabIndex: r === e ? 0 : -1,
ref: (e) => {
@@ -70525,7 +70539,7 @@ function aAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
onPointerEnter: (e) => {
e.pointerType !== "touch" && u(e.currentTarget, !0);
},
- children: [n === "jav" ? /* @__PURE__ */ (0, I.jsx)(XF, { name: n }) : /* @__PURE__ */ (0, I.jsx)(kde, { name: n }), t]
+ children: [n === "jav" ? /* @__PURE__ */ (0, I.jsx)(JF, { name: n }) : /* @__PURE__ */ (0, I.jsx)(jde, { name: n }), t]
}, t)),
/* @__PURE__ */ (0, I.jsx)("div", {
"data-settings-service": "",
@@ -70536,25 +70550,25 @@ function aAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
onClick: r,
title: n === !1 ? "请在运行 Peach 的设备上打开 Peach 配置" : void 0,
children: [
- /* @__PURE__ */ (0, I.jsx)(XF, { name: "folder-cog" }),
+ /* @__PURE__ */ (0, I.jsx)(JF, { name: "folder-cog" }),
"Peach 配置",
- /* @__PURE__ */ (0, I.jsx)(XF, { name: "chevron-right" })
+ /* @__PURE__ */ (0, I.jsx)(JF, { name: "chevron-right" })
]
})
})
]
});
}
-function O1({ index: e, tab: t, children: n, cards: r = !1 }) {
+function k1({ index: e, tab: t, children: n, cards: r = !1 }) {
return /* @__PURE__ */ (0, I.jsxs)("section", {
"data-setting-group": "",
"data-setting-layout": r ? "cards" : void 0,
- id: D1(e),
+ id: O1(e),
role: "tabpanel",
- "aria-labelledby": E1(e),
+ "aria-labelledby": D1(e),
hidden: e !== t,
children: [
- /* @__PURE__ */ (0, I.jsx)("h3", { children: v1[e][0] }),
+ /* @__PURE__ */ (0, I.jsx)("h3", { children: y1[e][0] }),
/* @__PURE__ */ (0, I.jsx)(Eve, { chapter: [
"appearance",
"playback",
@@ -70566,7 +70580,7 @@ function O1({ index: e, tab: t, children: n, cards: r = !1 }) {
]
});
}
-function k1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
+function A1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
return /* @__PURE__ */ (0, I.jsxs)("label", {
"data-setting-row": "",
children: [/* @__PURE__ */ (0, I.jsxs)("span", { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, I.jsx)("small", {
@@ -70583,7 +70597,7 @@ function k1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se
})]
});
}
-function A1({ title: e, description: t, kind: n, children: r }) {
+function j1({ title: e, description: t, kind: n, children: r }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-setting-row": "",
"data-setting-sort": n === "sort" ? "" : void 0,
@@ -70591,7 +70605,7 @@ function A1({ title: e, description: t, kind: n, children: r }) {
children: [/* @__PURE__ */ (0, I.jsxs)("span", { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, I.jsx)("small", { children: t }) : t] }), r]
});
}
-function oAe({ host: e, view: t }) {
+function sAe({ host: e, view: t }) {
(0, F.useSyncExternalStore)(e.store.subscribe, e.store.version);
let n = e.store.value, r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(t.tab), l = () => {
let [e, t] = [i.current, o.current];
@@ -70612,7 +70626,7 @@ function oAe({ host: e, view: t }) {
s.current?.();
});
let d = t.epoch, f = (t) => {
- t !== b1.tab && (w1({ tab: t }), e.selectSection?.(v1[t][0]));
+ t !== x1.tab && (T1({ tab: t }), e.selectSection?.(y1[t][0]));
}, p = () => e.store.save();
return /* @__PURE__ */ (0, I.jsx)("section", {
"data-settings-panel": "",
@@ -70623,9 +70637,9 @@ function oAe({ host: e, view: t }) {
"aria-labelledby": "settingsTitle",
"data-closing": t.closing ? "" : void 0,
ref: r,
- onKeyDown: iAe,
+ onKeyDown: aAe,
onClick: (e) => {
- e.target === e.currentTarget && T1();
+ e.target === e.currentTarget && E1();
},
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-settings-card": "",
@@ -70636,27 +70650,27 @@ function oAe({ host: e, view: t }) {
ref: a,
children: [/* @__PURE__ */ (0, I.jsx)("h2", {
id: "settingsTitle",
- children: v1[t.tab][0]
+ children: y1[t.tab][0]
}), /* @__PURE__ */ (0, I.jsx)(DV, {
id: "settingsClose",
label: "关闭设置",
- onPress: () => T1()
+ onPress: () => E1()
})]
}),
- /* @__PURE__ */ (0, I.jsx)(aAe, {
+ /* @__PURE__ */ (0, I.jsx)(oAe, {
tab: t.tab,
epoch: d,
configurable: t.configurable,
onSelect: f,
openConfiguration: () => {
- T1(!1), e.openConfiguration();
+ E1(!1), e.openConfiguration();
}
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-settings-scroll": "",
ref: o,
children: [
- /* @__PURE__ */ (0, I.jsxs)(O1, {
+ /* @__PURE__ */ (0, I.jsxs)(k1, {
index: 0,
tab: t.tab,
cards: !0,
@@ -70664,9 +70678,9 @@ function oAe({ host: e, view: t }) {
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-setting-card": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(A1, {
+ /* @__PURE__ */ (0, I.jsx)(j1, {
title: "主题",
- children: /* @__PURE__ */ (0, I.jsx)(u1, {
+ children: /* @__PURE__ */ (0, I.jsx)(d1, {
id: "themeSetting",
name: "theme",
legend: "主题",
@@ -70694,7 +70708,7 @@ function oAe({ host: e, view: t }) {
onChange: (t) => e.setHighContrast(t.target.checked)
})]
}),
- /* @__PURE__ */ (0, I.jsx)(k1, {
+ /* @__PURE__ */ (0, I.jsx)(A1, {
id: "uiSoundsSetting",
title: "界面音效",
checked: n.uiSounds,
@@ -70702,7 +70716,7 @@ function oAe({ host: e, view: t }) {
n.uiSounds = t, p(), e.changed("uiSounds");
}
}),
- /* @__PURE__ */ (0, I.jsx)(k1, {
+ /* @__PURE__ */ (0, I.jsx)(A1, {
id: "homeGlowSetting",
title: "侧栏光晕",
checked: n.homeGlow.on,
@@ -70712,7 +70726,7 @@ function oAe({ host: e, view: t }) {
})
]
}),
- /* @__PURE__ */ (0, I.jsx)(Hke, { host: e }),
+ /* @__PURE__ */ (0, I.jsx)(Uke, { host: e }),
/* @__PURE__ */ (0, I.jsxs)("section", {
"data-setting-block": "",
"aria-labelledby": "sidebarOrderTitle",
@@ -70724,35 +70738,35 @@ function oAe({ host: e, view: t }) {
"data-setting-card": "",
children: /* @__PURE__ */ (0, I.jsx)("section", {
"data-sidebar-setting": "",
- children: /* @__PURE__ */ (0, I.jsx)(Gke, { host: e })
+ children: /* @__PURE__ */ (0, I.jsx)(Kke, { host: e })
})
})]
})
]
}),
- /* @__PURE__ */ (0, I.jsx)(cAe, {
+ /* @__PURE__ */ (0, I.jsx)(lAe, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, I.jsx)(lAe, {
+ /* @__PURE__ */ (0, I.jsx)(uAe, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, I.jsxs)(O1, {
+ /* @__PURE__ */ (0, I.jsxs)(k1, {
index: 3,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, I.jsx)(pAe, {
+ /* @__PURE__ */ (0, I.jsx)(mAe, {
host: e,
epoch: d
}),
- /* @__PURE__ */ (0, I.jsx)(A1, {
+ /* @__PURE__ */ (0, I.jsx)(j1, {
title: "相关推荐数量",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "relatedLimitSetting",
- children: /* @__PURE__ */ (0, I.jsx)(m1, {
+ children: /* @__PURE__ */ (0, I.jsx)(h1, {
id: "relatedLimitSetting",
label: "相关推荐数量",
value: n.relatedLimit,
@@ -70762,24 +70776,24 @@ function oAe({ host: e, view: t }) {
}, d)
})
}),
- /* @__PURE__ */ (0, I.jsx)(A1, {
+ /* @__PURE__ */ (0, I.jsx)(j1, {
title: "口味与记录",
children: /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, I.jsx)(NL, {
+ children: /* @__PURE__ */ (0, I.jsx)(ML, {
variant: "secondary",
href: "/taste",
- onClick: () => T1(!1),
+ onClick: () => E1(!1),
children: "打开口味与记录"
})
})
})
]
}),
- /* @__PURE__ */ (0, I.jsx)(O1, {
+ /* @__PURE__ */ (0, I.jsx)(k1, {
index: 4,
tab: t.tab,
- children: /* @__PURE__ */ (0, I.jsx)(k1, {
+ children: /* @__PURE__ */ (0, I.jsx)(A1, {
id: "censorSetting",
title: "SFW 模式",
describedBy: "sfwDescription",
@@ -70794,7 +70808,7 @@ function oAe({ host: e, view: t }) {
})
});
}
-function sAe(e, t) {
+function cAe(e, t) {
let n = e.querySelector("[data-select-label]");
if (!n) return;
n.querySelector("[data-icon-swap]") || (n.innerHTML = Gs("arrow-up", "arrow-down", "a", {
@@ -70804,9 +70818,9 @@ function sAe(e, t) {
let r = n.querySelector("[data-sort-direction-label]");
r && (r.textContent = t ? "升序" : "降序");
}
-function cAe({ host: e, tab: t, epoch: n }) {
+function lAe({ 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, I.jsxs)(O1, {
+ return /* @__PURE__ */ (0, I.jsxs)(k1, {
index: 1,
tab: t,
children: [
@@ -70814,11 +70828,11 @@ function cAe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "作品列表"
}),
- /* @__PURE__ */ (0, I.jsx)(A1, {
+ /* @__PURE__ */ (0, I.jsx)(j1, {
title: "每批加载作品",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "batchSizeSetting",
- children: /* @__PURE__ */ (0, I.jsx)(m1, {
+ children: /* @__PURE__ */ (0, I.jsx)(h1, {
id: "batchSizeSetting",
label: "每批作品",
value: r.batchSize,
@@ -70828,24 +70842,24 @@ function cAe({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, I.jsx)(A1, {
+ /* @__PURE__ */ (0, I.jsx)(j1, {
title: "默认排序",
kind: "sort",
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-setting-sort-controls": "",
- children: [/* @__PURE__ */ (0, I.jsx)(d1, {
+ children: [/* @__PURE__ */ (0, I.jsx)(f1, {
id: "defaultSortSetting",
label: "默认排序",
- options: Kke,
+ options: qke,
value: r.defaultSort,
epoch: n,
onPick: (t) => {
r.defaultSort = t, i(), e.changed("defaultSort");
}
- }), /* @__PURE__ */ (0, I.jsx)(d1, {
+ }), /* @__PURE__ */ (0, I.jsx)(f1, {
id: "defaultSortDirectionSetting",
label: "默认排序方向",
- options: qke,
+ options: Jke,
value: o ? "asc" : "desc",
hidden: a,
disabled: a,
@@ -70853,13 +70867,13 @@ function cAe({ host: e, tab: t, epoch: n }) {
onPick: (t) => {
r.defaultSortDirection = t, i(), e.changed("sortDirection");
},
- decorate: (e) => sAe(e, o)
+ decorate: (e) => cAe(e, o)
})]
})
}),
- /* @__PURE__ */ (0, I.jsx)(A1, {
+ /* @__PURE__ */ (0, I.jsx)(j1, {
title: "视频卡片大小",
- children: /* @__PURE__ */ (0, I.jsx)(u1, {
+ children: /* @__PURE__ */ (0, I.jsx)(d1, {
id: "javSizeSetting",
name: "video-size",
legend: "视频卡片大小",
@@ -70885,16 +70899,16 @@ function cAe({ host: e, tab: t, epoch: n }) {
}
})]
}),
- /* @__PURE__ */ (0, I.jsx)(A1, {
+ /* @__PURE__ */ (0, I.jsx)(j1, {
title: "悬停预览延迟",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "hoverDelaySetting",
- children: /* @__PURE__ */ (0, I.jsx)(m1, {
+ children: /* @__PURE__ */ (0, I.jsx)(h1, {
id: "hoverDelaySetting",
label: "悬停预览延迟",
value: r.hoverDelaySeconds,
onApply: (t) => {
- r.hoverDelaySeconds = Ij(t, 0, 60, 5), i(), e.changed("hoverDelay");
+ r.hoverDelaySeconds = Pj(t, 0, 60, 5), i(), e.changed("hoverDelay");
}
}, n)
})
@@ -70903,16 +70917,16 @@ function cAe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "播放"
}),
- /* @__PURE__ */ (0, I.jsx)(fAe, {
+ /* @__PURE__ */ (0, I.jsx)(pAe, {
host: e,
epoch: n
})
]
});
}
-function lAe({ host: e, tab: t, epoch: n }) {
+function uAe({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save();
- return /* @__PURE__ */ (0, I.jsxs)(O1, {
+ return /* @__PURE__ */ (0, I.jsxs)(k1, {
index: 2,
tab: t,
children: [
@@ -70920,17 +70934,17 @@ function lAe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "作品显示"
}),
- /* @__PURE__ */ (0, I.jsx)(uAe, {
+ /* @__PURE__ */ (0, I.jsx)(dAe, {
host: e,
epoch: n
}),
- /* @__PURE__ */ (0, I.jsx)(A1, {
+ /* @__PURE__ */ (0, I.jsx)(j1, {
title: "默认图片",
- children: /* @__PURE__ */ (0, I.jsx)(u1, {
+ children: /* @__PURE__ */ (0, I.jsx)(d1, {
id: "javImageSetting",
name: "jav-image",
legend: "默认图片",
- options: Jke,
+ options: Yke,
value: r.javImage,
attr: "data-jav-image-choice",
variant: "javimageswitch",
@@ -70945,21 +70959,21 @@ function lAe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "新作显示"
}),
- /* @__PURE__ */ (0, I.jsx)(A1, {
+ /* @__PURE__ */ (0, I.jsx)(j1, {
title: "显示数量",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "feedLimitSetting",
- children: /* @__PURE__ */ (0, I.jsx)(m1, {
+ children: /* @__PURE__ */ (0, I.jsx)(h1, {
id: "feedLimitSetting",
label: "新作显示数量",
value: r.feedLimit,
onApply: (t) => {
- r.feedLimit = Ij(t, 1, 100, 12), i(), e.changed("feedLimit");
+ r.feedLimit = Pj(t, 1, 100, 12), i(), e.changed("feedLimit");
}
}, n)
})
}),
- /* @__PURE__ */ (0, I.jsx)(k1, {
+ /* @__PURE__ */ (0, I.jsx)(A1, {
id: "feedAutoScrollSetting",
title: "自动滚动",
checked: r.feedAutoScroll,
@@ -70967,7 +70981,7 @@ function lAe({ host: e, tab: t, epoch: n }) {
r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");
}
}),
- Yke.map(([t, n, r, i]) => /* @__PURE__ */ (0, I.jsx)(dAe, {
+ Xke.map(([t, n, r, i]) => /* @__PURE__ */ (0, I.jsx)(fAe, {
host: e,
id: t,
settingKey: n,
@@ -70977,19 +70991,19 @@ function lAe({ host: e, tab: t, epoch: n }) {
]
});
}
-function uAe({ host: e, epoch: t }) {
+function dAe({ host: e, epoch: t }) {
let n = Pt({
queryKey: uX,
queryFn: ({ signal: e }) => hX(e),
staleTime: 0
}), r = gX(), [i, a] = (0, F.useState)(null), o = n.data?.performerNameLanguage;
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(A1, {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(j1, {
title: "女优名称",
description: /* @__PURE__ */ (0, I.jsx)("small", {
"data-copy-key": "performer-name-language-help",
children: "名称与别名只显示所选语言的写法;缺少对应时保留当前名称。偏好保存在数据库,其他设备读取同一份设置。"
}),
- children: /* @__PURE__ */ (0, I.jsx)(d1, {
+ children: /* @__PURE__ */ (0, I.jsx)(f1, {
id: "performerNameLanguageSetting",
label: "女优名称",
epoch: t,
@@ -71012,7 +71026,7 @@ function uAe({ host: e, epoch: t }) {
children: "未取得数据库中的名称偏好,请重新打开设置。"
}) : null] });
}
-function dAe({ host: e, id: t, settingKey: n, label: r, title: i }) {
+function fAe({ host: e, id: t, settingKey: n, label: r, title: i }) {
let a = gX(), [o, s] = (0, F.useState)(null), c = (0, F.useRef)(null), l = e.store.value, u = (t) => {
s(t), qc(c.current), a.mutate({ [n]: t }, {
onSuccess: (i) => {
@@ -71037,10 +71051,10 @@ function dAe({ host: e, id: t, settingKey: n, label: r, title: i }) {
})]
});
}
-function fAe({ host: e, epoch: t }) {
+function pAe({ host: e, epoch: t }) {
let n = e.store.value, r = () => e.store.save();
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(k1, {
+ /* @__PURE__ */ (0, I.jsx)(A1, {
id: "detailAutoplaySetting",
title: "打开详情自动播放",
checked: n.detailAutoplay,
@@ -71048,7 +71062,7 @@ function fAe({ host: e, epoch: t }) {
n.detailAutoplay = e, r();
}
}),
- /* @__PURE__ */ (0, I.jsx)(k1, {
+ /* @__PURE__ */ (0, I.jsx)(A1, {
id: "miniplayerSetting",
title: "离开详情后小窗播放",
checked: n.miniplayer,
@@ -71056,11 +71070,11 @@ function fAe({ host: e, epoch: t }) {
n.miniplayer = t, r(), e.changed("miniplayer");
}
}),
- /* @__PURE__ */ (0, I.jsx)(A1, {
+ /* @__PURE__ */ (0, I.jsx)(j1, {
title: "快进 / 快退步长",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "seekSecondsSetting",
- children: /* @__PURE__ */ (0, I.jsx)(m1, {
+ children: /* @__PURE__ */ (0, I.jsx)(h1, {
id: "seekSecondsSetting",
label: "快进 / 快退",
value: n.seekSeconds,
@@ -71072,25 +71086,25 @@ function fAe({ host: e, epoch: t }) {
})
] });
}
-function pAe({ host: e, epoch: t }) {
+function mAe({ host: e, epoch: t }) {
let n = e.store.value, r = gX();
- return /* @__PURE__ */ (0, I.jsx)(A1, {
+ return /* @__PURE__ */ (0, I.jsx)(j1, {
title: "搜索记录数量",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "searchHistoryLimitSetting",
- children: /* @__PURE__ */ (0, I.jsx)(m1, {
+ children: /* @__PURE__ */ (0, I.jsx)(h1, {
id: "searchHistoryLimitSetting",
label: "搜索记录",
value: n.searchHistoryLimit,
onApply: (t) => {
- n.searchHistoryLimit = Ij(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });
+ n.searchHistoryLimit = Pj(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });
}
}, t)
})
});
}
// src/react/sidebar/use-sidebar-reorder.ts
-function mAe(e, t, n, r) {
+function hAe(e, t, n, r) {
let [i, a] = (0, F.useState)(null), [o, s] = (0, F.useState)(""), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(!1), d = (0, F.useRef)({
order: t,
commit: n,
@@ -71125,7 +71139,7 @@ function mAe(e, t, n, r) {
let m = (t) => {
let n = c.current;
if (!n || (c.current = null, !n.started)) return;
- let r = d.current.picked, i = n.keys.filter((e) => e !== n.key), o = t ? r.slot : null, l = o === null || o === r.origin ? null : g1(d.current.order, n.key, i[Math.min(o, i.length - 1)], o === i.length);
+ let r = d.current.picked, i = n.keys.filter((e) => e !== n.key), o = t ? r.slot : null, l = o === null || o === r.origin ? null : _1(d.current.order, n.key, i[Math.min(o, i.length - 1)], o === i.length);
p(), e.current.style.minHeight = n.minHeight, document.body.style.cursor = n.cursor, n.node.style.removeProperty("--sidebar-drag-x"), n.node.style.removeProperty("--sidebar-drag-y"), u.current = !0, (0, Lt.flushSync)(() => {
a(null), l && d.current.commit(l), s(l ? `${n.node.ariaLabel},已移动到第 ${o + 1} 项` : t && o === r.origin ? "顺序未变" : "已取消排序");
}), d.current.settled();
@@ -71187,7 +71201,7 @@ function mAe(e, t, n, r) {
e.preventDefault();
let a = f().map((e) => e.dataset.nav), o = a.indexOf(i), c = e.key === "ArrowDown", l = a[o + (c ? 1 : -1)];
if (l === void 0) return;
- let u = g1(t, i, l, c);
+ let u = _1(t, i, l, c);
u && (p(), (0, Lt.flushSync)(() => n(u)), s(`${e.currentTarget.ariaLabel},已移动到第 ${o + (c ? 2 : 0)} 项`), r());
}, v = i ? f().filter((e) => e.dataset.nav !== i.key) : [], y = !!i && i.slot !== null && i.slot !== i.origin;
return {
@@ -71226,68 +71240,68 @@ function mAe(e, t, n, r) {
};
}
// src/react/sidebar/sidebar-island.tsx
-var j1 = "__home__", hAe = {
+var M1 = "__home__", gAe = {
creator: 26,
tag: 30,
tech: 16
-}, M1 = 180, N1 = null, P1 = {
+}, N1 = 180, P1 = null, F1 = {
props: {
content: null,
filters: {},
latest: null
},
epoch: 0
-}, F1 = /* @__PURE__ */ new Set();
-function gAe(e) {
- return F1.add(e), () => {
- F1.delete(e);
+}, I1 = /* @__PURE__ */ new Set();
+function _Ae(e) {
+ return I1.add(e), () => {
+ I1.delete(e);
};
}
-function I1() {
- for (let e of [...F1]) e();
+function L1() {
+ for (let e of [...I1]) e();
}
-var _Ae = {
+var vAe = {
render(e) {
- P1 = {
- ...P1,
+ F1 = {
+ ...F1,
props: e
- }, (0, Lt.flushSync)(I1);
+ }, (0, Lt.flushSync)(L1);
},
navChanged() {
- P1 = {
- ...P1,
- epoch: P1.epoch + 1
- }, (0, Lt.flushSync)(I1);
+ F1 = {
+ ...F1,
+ epoch: F1.epoch + 1
+ }, (0, Lt.flushSync)(L1);
}
};
-function vAe(e) {
- return N1 = e, P1 = {
- ...P1,
+function yAe(e) {
+ return P1 = e, F1 = {
+ ...F1,
props: {
content: null,
filters: {},
latest: null
}
- }, _Ae;
+ }, vAe;
}
-function yAe() {
- let e = (0, F.useSyncExternalStore)(gAe, () => P1);
- return N1 ? /* @__PURE__ */ (0, I.jsx)(bAe, {
- host: N1,
+function bAe() {
+ let e = (0, F.useSyncExternalStore)(_Ae, () => F1);
+ return P1 ? /* @__PURE__ */ (0, I.jsx)(xAe, {
+ host: P1,
props: e.props,
epoch: e.epoch
}) : null;
}
-function bAe({ host: e, props: t, epoch: n }) {
+function xAe({ host: e, props: t, epoch: n }) {
let r = (0, F.useSyncExternalStore)(e.store.subscribe, e.store.version);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsx)("div", { "data-sidebar-head": "" }),
- /* @__PURE__ */ (0, I.jsx)(xAe, {
+ /* @__PURE__ */ (0, I.jsx)(SAe, {
host: e,
epoch: n,
version: r
}),
- t.content ? /* @__PURE__ */ (0, I.jsx)(CAe, {
+ t.content ? /* @__PURE__ */ (0, I.jsx)(wAe, {
host: e,
content: t.content,
filters: t.filters,
@@ -71295,8 +71309,8 @@ function bAe({ host: e, props: t, epoch: n }) {
}) : null
] });
}
-function xAe({ host: e, epoch: t, version: n }) {
- let r = h1(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, F.useRef)(null), l = (0, F.useRef)(null), u = jL(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || j1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;
+function SAe({ host: e, epoch: t, version: n }) {
+ let r = g1(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, F.useRef)(null), l = (0, F.useRef)(null), u = AL(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || M1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;
(0, F.useEffect)(() => {
let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());
[
@@ -71315,7 +71329,7 @@ function xAe({ host: e, epoch: t, version: n }) {
i.disconnect(), cancelAnimationFrame(a), document.removeEventListener("board:sidebar", o);
};
}, [e, d]);
- let f = mAe(c, i, r, () => requestAnimationFrame(d)), p = e.scroll.parentElement;
+ let f = hAe(c, i, r, () => requestAnimationFrame(d)), p = e.scroll.parentElement;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-sidebar-nav": "",
ref: c,
@@ -71351,8 +71365,8 @@ function xAe({ host: e, epoch: t, version: n }) {
alt: "",
decoding: "async",
draggable: !1
- }) : /* @__PURE__ */ (0, I.jsx)(XF, { name: r }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]
- }, t || j1);
+ }) : /* @__PURE__ */ (0, I.jsx)(JF, { name: r }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]
+ }, t || M1);
}),
f.hint ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-sidebar-drop-line": "",
@@ -71373,8 +71387,8 @@ function xAe({ host: e, epoch: t, version: n }) {
ref: l
}), p) : null] });
}
-var L1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
-function SAe(e) {
+var R1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
+function CAe(e) {
if (!e) return null;
let t = /* @__PURE__ */ new Map(), n = [
["loc", e.locations],
@@ -71388,7 +71402,7 @@ function SAe(e) {
for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);
return t;
}
-function CAe({ host: e, content: t, filters: n, latest: r }) {
+function wAe({ 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, F.useLayoutEffect)(() => {
t.kind === "catalog" && Zs(e.scroll, "drawer");
@@ -71397,8 +71411,8 @@ function CAe({ host: e, content: t, filters: n, latest: r }) {
i,
t.kind
]);
- let a = t.kind === "catalog" ? wAe(e, t.facets, n, r, i) : TAe(e, t, n), o = 0;
- return a.map((e) => e && /* @__PURE__ */ (0, I.jsx)(EAe, {
+ let a = t.kind === "catalog" ? TAe(e, t.facets, n, r, i) : EAe(e, t, n), o = 0;
+ return a.map((e) => e && /* @__PURE__ */ (0, I.jsx)(DAe, {
title: e.title,
kind: e.kind,
active: e.active,
@@ -71407,11 +71421,11 @@ function CAe({ host: e, content: t, filters: n, latest: r }) {
children: e.body
}, e.title));
}
-function wAe(e, t, n, r, i) {
- let a = SAe(r), o = (t, r, i) => {
+function TAe(e, t, n, r, i) {
+ let a = CAe(r), o = (t, r, i) => {
if (!t.length) return null;
- let o = L1(n, r);
- return /* @__PURE__ */ (0, I.jsx)(B1, {
+ let o = R1(n, r);
+ return /* @__PURE__ */ (0, I.jsx)(V1, {
rows: t,
filterKey: r,
multi: i,
@@ -71421,7 +71435,7 @@ function wAe(e, t, n, r, i) {
});
}, s = (t, s, c, l, u, d) => {
if (!c.length) return null;
- let f = L1(n, l), p = c.some((e) => f.includes(e.value));
+ let f = R1(n, l), p = c.some((e) => f.includes(e.value));
if (!d) return {
title: t,
kind: s,
@@ -71433,12 +71447,12 @@ function wAe(e, t, n, r, i) {
title: t,
kind: s,
active: p,
- body: /* @__PURE__ */ (0, I.jsx)(OAe, {
+ body: /* @__PURE__ */ (0, I.jsx)(kAe, {
epoch: i,
title: t,
rows: c,
latest: m ?? null,
- limit: hAe[d],
+ limit: gAe[d],
filterKey: l,
selected: f,
counts: a,
@@ -71453,7 +71467,7 @@ function wAe(e, t, n, r, i) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, I.jsx)(U1, {
+ body: /* @__PURE__ */ (0, I.jsx)(W1, {
host: e,
filters: n
})
@@ -71468,7 +71482,7 @@ function wAe(e, t, n, r, i) {
title: "关注标签",
kind: "online",
active: !1,
- body: /* @__PURE__ */ (0, I.jsx)(V1, {
+ body: /* @__PURE__ */ (0, I.jsx)(H1, {
rows: t.followTags,
host: e,
selected: null,
@@ -71477,14 +71491,14 @@ function wAe(e, t, n, r, i) {
} : null
];
}
-function TAe(e, t, n) {
- let r = t.providers || [], i = L1(n, "provider"), a = new Set(t.selected);
+function EAe(e, t, n) {
+ let r = t.providers || [], i = R1(n, "provider"), a = new Set(t.selected);
return [
r.length ? {
title: "来源",
kind: "src",
active: r.some((e) => i.includes(e.value)),
- body: /* @__PURE__ */ (0, I.jsx)(B1, {
+ body: /* @__PURE__ */ (0, I.jsx)(V1, {
rows: r,
filterKey: "provider",
multi: !1,
@@ -71498,7 +71512,7 @@ function TAe(e, t, n) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, I.jsx)(U1, {
+ body: /* @__PURE__ */ (0, I.jsx)(W1, {
host: e,
filters: n,
commit: e.setFollowDuration
@@ -71508,7 +71522,7 @@ function TAe(e, t, n) {
title: "内容标签",
kind: "online",
active: t.tags.some((e) => a.has(e.value)),
- body: /* @__PURE__ */ (0, I.jsx)(V1, {
+ body: /* @__PURE__ */ (0, I.jsx)(H1, {
rows: t.tags,
host: e,
selected: a,
@@ -71517,19 +71531,19 @@ function TAe(e, t, n) {
} : null
];
}
-function R1(e, t) {
+function z1(e, t) {
let n = null;
try {
n = sessionStorage.getItem(`peach.sidebar.group.${e}`);
} catch {}
return n === null ? t : n === "open";
}
-function EAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
- let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(() => R1(e, n)), u = (0, F.useRef)(!1);
+function DAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
+ let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(() => z1(e, n)), u = (0, F.useRef)(!1);
(0, F.useLayoutEffect)(() => {
let t = o.current, r = s.current;
if (!t || !r) return;
- let i = u.current ? R1(e, n) : c;
+ let i = u.current ? z1(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) => {
@@ -71550,7 +71564,7 @@ function EAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
"aria-expanded": c,
"aria-controls": f,
onClick: d,
- children: [/* @__PURE__ */ (0, I.jsx)(XF, { name: "chevron-right" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, I.jsx)(JF, { name: "chevron-right" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e })]
}), /* @__PURE__ */ (0, I.jsx)("div", {
ref: s,
"data-sidebar-collapse": "",
@@ -71561,7 +71575,7 @@ function EAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
children: /* @__PURE__ */ (0, I.jsx)("div", {
"data-sidebar-body": "",
id: `sidebar-group-${encodeURIComponent(e)}`,
- children: /* @__PURE__ */ (0, I.jsx)(z1.Provider, {
+ children: /* @__PURE__ */ (0, I.jsx)(B1.Provider, {
value: d,
children: a
})
@@ -71570,15 +71584,15 @@ function EAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
})]
});
}
-var z1 = (0, F.createContext)(() => {});
-function DAe({ dot: e }) {
- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, I.jsx)(XF, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, I.jsx)("img", {
+var B1 = (0, F.createContext)(() => {});
+function OAe({ dot: e }) {
+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, I.jsx)(JF, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, I.jsx)("img", {
"data-sidebar-source-icon": "",
src: e.src,
alt: ""
}) : /* @__PURE__ */ (0, I.jsx)("i", { "data-sidebar-cost": e.cost }) : null;
}
-function B1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
+function V1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => {
@@ -71595,7 +71609,7 @@ function B1({ 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, I.jsx)(DAe, { dot: e.dot }),
+ /* @__PURE__ */ (0, I.jsx)(OAe, { dot: e.dot }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-sidebar-chip-label": "",
children: e.label
@@ -71610,8 +71624,8 @@ function B1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,
})
});
}
-function OAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
- let u = (0, F.useContext)(z1), [d, f] = (0, F.useState)(null), [p, m] = (0, F.useState)(e);
+function kAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
+ let u = (0, F.useContext)(B1), [d, f] = (0, F.useState)(null), [p, m] = (0, F.useState)(e);
p !== e && (m(e), f(null));
let h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;
return (0, F.useLayoutEffect)(() => {
@@ -71626,7 +71640,7 @@ function OAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
e.body.classList.add("ui-fcollapse"), Uo(e.body, e.before, () => !!t?.open && !e.body.inert);
}
t(), requestAnimationFrame(t);
- }, [d, _]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(B1, {
+ }, [d, _]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(V1, {
rows: _ ? v : v.slice(0, i),
filterKey: a,
multi: !1,
@@ -71651,10 +71665,10 @@ function OAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
all: !_
}), _ && u());
},
- children: /* @__PURE__ */ (0, I.jsx)(XF, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, I.jsx)(JF, { name: "chevron-down" })
}) : null] });
}
-function V1({ rows: e, host: t, selected: n, badges: r }) {
+function H1({ rows: e, host: t, selected: n, badges: r }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)("button", {
@@ -71676,10 +71690,10 @@ function V1({ rows: e, host: t, selected: n, badges: r }) {
}, e.value))
});
}
-var H1 = (e, t) => e ? Math.min(M1, Number(e) / 60) : t;
-function U1({ host: e, filters: t, commit: n = e.setDuration }) {
- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, F.useState)(r), [o, s] = (0, F.useState)(() => [H1(t.dur_min, 0), H1(t.dur_max, M1)]), [c, l] = (0, F.useState)("max");
- i !== r && (a(r), s([H1(t.dur_min, 0), H1(t.dur_max, M1)]));
+var U1 = (e, t) => e ? Math.min(N1, Number(e) / 60) : t;
+function W1({ host: e, filters: t, commit: n = e.setDuration }) {
+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, F.useState)(r), [o, s] = (0, F.useState)(() => [U1(t.dur_min, 0), U1(t.dur_max, N1)]), [c, l] = (0, F.useState)("max");
+ i !== r && (a(r), s([U1(t.dur_min, 0), U1(t.dur_max, N1)]));
let [u, d] = o, f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(o);
h.current = o;
let g = (e, t) => {
@@ -71692,11 +71706,11 @@ function U1({ host: e, filters: t, commit: n = e.setDuration }) {
}, [n]), (0, F.useLayoutEffect)(() => {
let e = f.current;
if (!e) return;
- e.style.setProperty("--lo", `${u / M1 * 100}%`), e.style.setProperty("--hi", `${d / M1 * 100}%`);
+ e.style.setProperty("--lo", `${u / N1 * 100}%`), e.style.setProperty("--hi", `${d / N1 * 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 / M1 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");
+ e.style.left = `${n / N1 * 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`);
});
@@ -71706,7 +71720,7 @@ function U1({ 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 >= M1 ? "不限" : `${t} 分钟`
+ children: e === "max" && t >= N1 ? "不限" : `${t} 分钟`
});
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-sidebar-duration": "",
@@ -71721,7 +71735,7 @@ function U1({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMin",
type: "range",
min: "0",
- max: M1,
+ max: N1,
step: "5",
value: u,
"aria-label": "最短时长(分钟)",
@@ -71732,7 +71746,7 @@ function U1({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMax",
type: "range",
min: "0",
- max: M1,
+ max: N1,
step: "5",
value: d,
"aria-label": "最长时长(分钟)",
@@ -71746,7 +71760,7 @@ function U1({ host: e, filters: t, commit: n = e.setDuration }) {
});
}
// src/diagnostics-skeleton.ts
-function W1() {
+function G1() {
let e = (e) => Ds({
label: e,
variant: "secondary",
@@ -71760,11 +71774,11 @@ function W1() {
</div></div>`;
}
// src/react/settings/library-policy-copy.ts
-var G1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", kAe = [
+var K1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", AAe = [
"自动补全",
"仅使用本地资料",
"自定义"
-], AAe = [
+], jAe = [
[
"读本地 NFO 和图片",
"✓",
@@ -71795,7 +71809,7 @@ var G1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式
"—",
"可选"
]
-], jAe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", K1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", q1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", J1 = "只填域名,留空用默认地址", MAe = [
+], MAe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", q1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", J1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", Y1 = "只填域名,留空用默认地址", NAe = [
{
provider: "coomer",
label: "Coomer",
@@ -71885,8 +71899,8 @@ var G1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式
label: "SubscribeStar",
requirement: "none"
}
-], Y1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", NAe = "peach.configuration.shape.v1";
-function X1() {
+], X1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", PAe = "peach.configuration.shape.v1";
+function Z1() {
try {
let e = JSON.parse(localStorage.getItem("peach.configuration.shape.v1") || "{}");
return e && typeof e == "object" ? e : {};
@@ -71894,28 +71908,28 @@ function X1() {
return {};
}
}
-function PAe(e, t) {
+function FAe(e, t) {
try {
- let n = X1();
+ let n = Z1();
if (JSON.stringify(n[e]) === JSON.stringify(t)) return;
- localStorage.setItem(NAe, JSON.stringify({
+ localStorage.setItem(PAe, JSON.stringify({
...n,
[e]: t
}));
} catch {}
}
-var Z1 = (e) => X1()[e], Q1 = (e) => e === !0, $1 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, e0 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], t0 = "disabled data-skeleton-action", n0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, r0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, i0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, a0 = (e = "3em") => i0(e, "24px"), o0 = () => i0("var(--icon-inline)", "var(--icon-inline)"), s0 = (e, t = "primary", n = "medium") => Ds({
+var Q1 = (e) => Z1()[e], $1 = (e) => e === !0, e0 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, t0 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], n0 = "disabled data-skeleton-action", r0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, i0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, a0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, o0 = (e = "3em") => a0(e, "24px"), s0 = () => a0("var(--icon-inline)", "var(--icon-inline)"), c0 = (e, t = "primary", n = "medium") => Ds({
label: e,
variant: t,
size: n,
- attrs: t0
-}), c0 = (e, 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">${t ? `<div class="mr-auto min-w-0 text-body-2-regular text-text-secondary">${t}</div>` : ""}${e}</div>`, l0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, FAe = (e, t, n) => {
- let r = `<p class="w-full px-3 text-body-2-medium text-text-secondary">${n ? `<span class="inline-flex items-center gap-1.5">${o0()}${e}</span>` : e}</p>`;
+ attrs: n0
+}), l0 = (e, 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">${t ? `<div class="mr-auto min-w-0 text-body-2-regular text-text-secondary">${t}</div>` : ""}${e}</div>`, u0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, IAe = (e, t, n) => {
+ let r = `<p class="w-full px-3 text-body-2-medium text-text-secondary">${n ? `<span class="inline-flex items-center gap-1.5">${s0()}${e}</span>` : e}</p>`;
return t ? `<div class="flex w-full flex-wrap items-center justify-between gap-2"><div class="min-w-40 flex-1">${r}</div><div class="flex min-w-0 max-w-full">${t}</div></div>` : r;
-}, u0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${FAe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? c0(n, i) : ""}</div></section>`, d0 = (e, t, n) => `<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>${n}</div>`, f0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => d0(e, t, `<span class="skeleton ${n}"></span>`), p0 = (e, t = "", n = "4em") => d0(e, t, n0(n)), m0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, h0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, g0 = (e, t = "") => `<div class="flex w-full flex-col items-start gap-1"><span class="flex items-center gap-0.5 text-body-medium text-text-primary">${e}</span>${r0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, _0 = (e) => `<div class="flex flex-col gap-1">${h0(e)}${ks(n0("8em"))}</div>`, v0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${i0("16px", "16px")}${e}</span>`, y0 = (e) => `<span class="inline-flex items-center gap-1">${o0()}${e}</span>`, b0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${ws("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, IAe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), x0 = (e) => `<dl class="ui-settings-facts flex flex-col">${e.map((e) => `<div class="flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0"><dt class="flex max-w-1/2 min-w-0 shrink-0 items-center gap-2 text-body-regular text-text-secondary">${e}</dt><dd class="flex min-w-0 flex-wrap items-center justify-end gap-2 text-body-regular text-text-primary">${IAe.has(e) ? n0("100%") + n0("80%") + n0("6em") : n0("6em")}</dd></div>`).join("")}</dl>`, LAe = MAe;
-function RAe(e = Z1("credentials")) {
- let t = new Set(e0(e?.done, 64, String));
- return LAe.map((e) => {
+}, d0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${IAe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? l0(n, i) : ""}</div></section>`, f0 = (e, t, n) => `<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>${n}</div>`, p0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => f0(e, t, `<span class="skeleton ${n}"></span>`), m0 = (e, t = "", n = "4em") => f0(e, t, r0(n)), h0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, g0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, _0 = (e, t = "") => `<div class="flex w-full flex-col items-start gap-1"><span class="flex items-center gap-0.5 text-body-medium text-text-primary">${e}</span>${i0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, v0 = (e) => `<div class="flex flex-col gap-1">${g0(e)}${ks(r0("8em"))}</div>`, y0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${a0("16px", "16px")}${e}</span>`, b0 = (e) => `<span class="inline-flex items-center gap-1">${s0()}${e}</span>`, x0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${ws("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, LAe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), S0 = (e) => `<dl class="ui-settings-facts flex flex-col">${e.map((e) => `<div class="flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0"><dt class="flex max-w-1/2 min-w-0 shrink-0 items-center gap-2 text-body-regular text-text-secondary">${e}</dt><dd class="flex min-w-0 flex-wrap items-center justify-end gap-2 text-body-regular text-text-primary">${LAe.has(e) ? r0("100%") + r0("80%") + r0("6em") : r0("6em")}</dd></div>`).join("")}</dl>`, RAe = NAe;
+function zAe(e = Q1("credentials")) {
+ let t = new Set(t0(e?.done, 64, String));
+ return RAe.map((e) => {
let n = t.has(e.provider);
return {
...e,
@@ -71924,134 +71938,134 @@ function RAe(e = Z1("credentials")) {
};
});
}
-function zAe(e) {
- let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = a0() + (n && !e.done ? t.map(() => a0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${i0("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${z(e.label)}</b>${r}</span>`;
- if (!n) return `<div class="flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}${e.requirement === "blocked" && e.why ? m0(z(e.why)) : ""}</div>`;
- let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + m0(`${z(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? m0(z(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => g0(z(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${s0("保存配置")}</div>${b0("凭据文件")}</div></div>` : "";
- return `<div class="flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}<div>${b0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;
+function BAe(e) {
+ let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = o0() + (n && !e.done ? t.map(() => o0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${a0("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${z(e.label)}</b>${r}</span>`;
+ if (!n) return `<div class="flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}${e.requirement === "blocked" && e.why ? h0(z(e.why)) : ""}</div>`;
+ let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + h0(`${z(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? h0(z(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => _0(z(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${c0("保存配置")}</div>${x0("凭据文件")}</div></div>` : "";
+ return `<div class="flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}<div>${x0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;
}
-function S0() {
- let e = RAe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;
- return u0("来源凭据", l0(`<div class="flex flex-col gap-4">${[
+function C0() {
+ let e = zAe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;
+ return d0("来源凭据", u0(`<div class="flex flex-col gap-4">${[
["可配置凭据", e.filter((e) => e.requirement !== "none" && e.requirement !== "blocked")],
["不需要凭据", e.filter((e) => e.requirement === "none")],
["暂不支持", e.filter((e) => e.requirement === "blocked")]
- ].filter(([, e]) => e.length).map(([e, t]) => `<div class="flex flex-col gap-2"><h4 class="text-body-medium text-text-secondary">${e}</h4><div class="min-w-0 border border-separator-border bg-background-primary-default rounded-surface flex flex-col overflow-hidden">${t.map(zAe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? n0("5em") : "" });
-}
-function C0() {
- let e = e0(Z1("indexers")?.open, 20, Q1).map((e) => `<div class="min-w-0 border-t border-separator-border pt-2"><span class="flex w-full min-w-0 items-center gap-1 text-body-2-medium">${ws("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${n0("6em")}${n0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${g0("名称")}${g0("Torznab 地址")}${g0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${v0("启用")}${s0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");
- return u0("资源搜索", l0(`<div class="flex min-w-0 flex-col gap-4">${b0("索引器连接帮助")}${e}</div>`), s0("添加索引器", "secondary") + s0("保存配置"));
+ ].filter(([, e]) => e.length).map(([e, t]) => `<div class="flex flex-col gap-2"><h4 class="text-body-medium text-text-secondary">${e}</h4><div class="min-w-0 border border-separator-border bg-background-primary-default rounded-surface flex flex-col overflow-hidden">${t.map(BAe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? r0("5em") : "" });
}
function w0() {
- let e = Z1("javBrowser"), t = Q1(e?.enabled);
- return u0("浏览器添加 JAV", l0(`<div class="flex min-w-0 flex-col gap-4">${`<div class="min-w-0 bg-background-primary-default rounded-2xl shadow-card p-5 border border-border-button-default flex flex-col gap-3"><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-medium text-text-primary">Peach 用户脚本</span>${n0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${a0()}</div><p class="text-caption-1-regular text-text-secondary">${n0("70%")}</p><div class="flex flex-wrap items-center gap-2">${s0("重新检测", "secondary")}</div></div>`}${_0("浏览器添加的下载渠道")}${Q1(e?.ready) ? "" : m0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${g0("Peach 地址")}</div>`), (t ? s0("关闭浏览器添加", "secondary") : "") + s0(t ? "更新渠道与令牌" : "启用并生成令牌"));
+ let e = t0(Q1("indexers")?.open, 20, $1).map((e) => `<div class="min-w-0 border-t border-separator-border pt-2"><span class="flex w-full min-w-0 items-center gap-1 text-body-2-medium">${ws("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${r0("6em")}${r0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${_0("名称")}${_0("Torznab 地址")}${_0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${y0("启用")}${c0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");
+ return d0("资源搜索", u0(`<div class="flex min-w-0 flex-col gap-4">${x0("索引器连接帮助")}${e}</div>`), c0("添加索引器", "secondary") + c0("保存配置"));
+}
+function T0() {
+ let e = Q1("javBrowser"), t = $1(e?.enabled);
+ return d0("浏览器添加 JAV", u0(`<div class="flex min-w-0 flex-col gap-4">${`<div class="min-w-0 bg-background-primary-default rounded-2xl shadow-card p-5 border border-border-button-default flex flex-col gap-3"><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-medium text-text-primary">Peach 用户脚本</span>${r0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${o0()}</div><p class="text-caption-1-regular text-text-secondary">${r0("70%")}</p><div class="flex flex-wrap items-center gap-2">${c0("重新检测", "secondary")}</div></div>`}${v0("浏览器添加的下载渠道")}${$1(e?.ready) ? "" : h0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${_0("Peach 地址")}</div>`), (t ? c0("关闭浏览器添加", "secondary") : "") + c0(t ? "更新渠道与令牌" : "启用并生成令牌"));
}
-var T0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${h0(e)}${ks(n0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${g0(`${e}地址`)}</div><div class="w-full sm:w-28">${g0(`${e}端口`)}</div></div>${b0("代理认证")}` : "") + "</div>";
-function E0() {
- let e = Z1("cloudProxy"), t = e0(e?.accounts, 12, (e) => Array.isArray(e) ? [Q1(e[0]), Q1(e[1])] : [!1, !1]), n = $1(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${h0(y0(n0("6em")))}${m0(n0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${h0(y0(n0("8em")))}${m0(n0("50%"))}${T0("数据代理", e)}${T0("API 代理", t)}<div class="flex justify-end">${s0("保存配置")}</div></div>`).join("") : m0(n0("60%"));
- return u0("CloudDrive 代理", l0(`${m0(Y1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), s0("重新读取", "secondary"));
+var E0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${g0(e)}${ks(r0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${_0(`${e}地址`)}</div><div class="w-full sm:w-28">${_0(`${e}端口`)}</div></div>${x0("代理认证")}` : "") + "</div>";
+function D0() {
+ let e = Q1("cloudProxy"), t = t0(e?.accounts, 12, (e) => Array.isArray(e) ? [$1(e[0]), $1(e[1])] : [!1, !1]), n = e0(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${g0(b0(r0("6em")))}${h0(r0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${g0(b0(r0("8em")))}${h0(r0("50%"))}${E0("数据代理", e)}${E0("API 代理", t)}<div class="flex justify-end">${c0("保存配置")}</div></div>`).join("") : h0(r0("60%"));
+ return d0("CloudDrive 代理", u0(`${h0(X1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), c0("重新读取", "secondary"));
}
-var D0 = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, BAe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">
- <div class="flex items-start gap-2"><span class="min-w-0 flex-1">${r0()}</span>${Ds({
+var O0 = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, VAe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">
+ <div class="flex items-start gap-2"><span class="min-w-0 flex-1">${i0()}</span>${Ds({
glyph: "folder-search",
variant: "secondary",
- attrs: t0
+ attrs: n0
})}</div>
- <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${D0("来源", ks(n0("6em")), "w-full @lg:w-60")}${D0("读取策略", ks(n0("4em")), "w-full @lg:w-32")}${e > 1 ? D0("移到媒体库", ks(n0("4em")), "w-full @lg:w-48") : ""}</div></div>
- </div>`, VAe = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2">
+ <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${O0("来源", ks(r0("6em")), "w-full @lg:w-60")}${O0("读取策略", ks(r0("4em")), "w-full @lg:w-32")}${e > 1 ? O0("移到媒体库", ks(r0("4em")), "w-full @lg:w-48") : ""}</div></div>
+ </div>`, HAe = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2">
<div data-library-head>${Ds({
label: "自动识别",
variant: "secondary",
- attrs: t0
-})}${r0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${ks(n0("4em"), { prefix: "处理方式" })}</div>
- <div data-library-folders>${BAe(t).repeat(e)}<div class="flex">${Ds({
+ attrs: n0
+})}${i0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${ks(r0("4em"), { prefix: "处理方式" })}</div>
+ <div data-library-folders>${VAe(t).repeat(e)}<div class="flex">${Ds({
label: "添加文件夹",
variant: "secondary",
- attrs: t0
-})}</div></div></div>`, HAe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${G1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, UAe = "<p class=\"text-body-2-regular text-text-secondary\">读取策略选「代理保护」时,会限制自动读取视频。</p><div class=\"flex flex-col gap-3\"><span class=\"flex items-center gap-1 text-body-2-medium text-text-secondary\">CloudDrive 设置帮助</span></div>";
-function WAe(e = Z1("media")) {
- let t = e0(e?.folders, 12, (e) => $1(e, 50)).filter(Boolean);
+ attrs: n0
+})}</div></div></div>`, UAe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${K1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, WAe = "<p class=\"text-body-2-regular text-text-secondary\">读取策略选「代理保护」时,会限制自动读取视频。</p><div class=\"flex flex-col gap-3\"><span class=\"flex items-center gap-1 text-body-2-medium text-text-secondary\">CloudDrive 设置帮助</span></div>";
+function GAe(e = Q1("media")) {
+ let t = t0(e?.folders, 12, (e) => e0(e, 50)).filter(Boolean);
return t.length ? {
folders: t,
- cloud: Q1(e?.cloud)
+ cloud: $1(e?.cloud)
} : {
folders: [1],
cloud: !1
};
}
-function GAe() {
- let e = Z1("discovery"), t = Q1(e?.enabled), n = t && Q1(e?.cloud), r = n && Q1(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${r0()}</span>${ks(n0("4em"), { prefix: "对应目录" })}${Ds({
+function KAe() {
+ let e = Q1("discovery"), t = $1(e?.enabled), n = t && $1(e?.cloud), r = n && $1(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${i0()}</span>${ks(r0("4em"), { prefix: "对应目录" })}${Ds({
glyph: "trash",
variant: "secondary",
- attrs: t0
+ attrs: n0
})}</div>`;
- return u0("自动发现新文件", l0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${a0()}</div>`) + f0("发现新文件后自动入库", t ? n0("10em") : "") + f0("监视本机文件夹", t && Q1(e?.watchLocal) ? n0("12em") : "") + f0("接收 CloudDrive2 通知", "网盘目录有变化时由 CloudDrive2 推送过来。") + (n ? d0("Webhook 配置", n0("20em"), "") : "") + (r ? l0(b0("查看配置"), !0) : "") + (n ? l0(`<div class="flex flex-col gap-3">${h0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat($1(e?.prefixes, 20))}</div><div>${s0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? s0("更换密钥", "secondary") : "") + s0("保存配置"));
-}
-var KAe = () => {
- let e = WAe();
- return u0("媒体库与目录", l0(`${HAe}<div class="flex flex-col gap-4">${e.folders.map((t) => VAe(t, e.folders.length)).join("")}</div>
- <div class="self-start">${s0("添加媒体库", "secondary")}</div>
- <p class="text-body-2-regular text-text-secondary">${K1}</p>
- ${e.cloud ? UAe : ""}<span class="text-body-medium text-text-primary">${n0("15em")}</span>`), s0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? E0() : "") + GAe() + u0("番号识别规则", l0(`${n0("90%")}${n0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), s0("保存配置")) + u0("视频预览", f0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + f0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + f0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));
-}, qAe = () => `<div>${s0("采集来源与登录状态", "secondary")}</div>` + S0() + u0("关注采集", d0("自动检查更新", "", "<span class=\"flex items-center gap-2\"><span class=\"skeleton ui-configuration-skeleton-toggle\"></span><span class=\"skeleton ui-configuration-skeleton-input\" style=\"width:96px\"></span></span>") + p0("订阅源拉取") + f0("首次采集范围", "新关注的来源第一次回看多久以前的内容。", "ui-configuration-skeleton-select") + p0("头像刷新", "重新获取关注创作者的头像。") + p0("favicon 刷新", "重新获取来源站点的图标。")) + C0() + u0("作品资料站点", l0(`<p class="text-body-2-regular text-text-secondary">${q1}</p>${g0(y0("JavDB 地址"), J1)}${g0(y0("MISSAV 地址"), J1)}`), s0("保存配置")), JAe = () => {
- let e = Z1("downloads"), t = Q1(e?.pikpak), n = Q1(e?.pikpakRoots) ? _0(y0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${h0(y0("PikPak 根目录对应的媒体目录"))}${m0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = Q1(e?.cloud) ? u0("云下载", l0(g0("CloudDrive2 地址") + g0("CloudDrive2 API 令牌", "需要离线任务权限。") + (Q1(e?.has115) ? g0(y0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? g0(y0("PikPak 目标目录"), "目录要已经存在。") + n : "") + g0("等待上限(小时)", n0("14em"))), s0("检查连接", "secondary") + s0("保存配置")) : "", i = Q1(e?.pikpakLoggedIn);
- return r + (t ? u0("PikPak 账号", i ? x0(["账号", n0("4em")]) : l0(g0("账号") + g0("密码") + v0("保存密码,登录过期时自动重新登录")), i ? s0("登出", "secondary") : (Q1(e?.browserLogin) ? s0("用浏览器登录", "secondary") : "") + s0("登录"), {
- aside: a0(),
+ return d0("自动发现新文件", u0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${o0()}</div>`) + p0("发现新文件后自动入库", t ? r0("10em") : "") + p0("监视本机文件夹", t && $1(e?.watchLocal) ? r0("12em") : "") + p0("接收 CloudDrive2 通知", "网盘目录有变化时由 CloudDrive2 推送过来。") + (n ? f0("Webhook 配置", r0("20em"), "") : "") + (r ? u0(x0("查看配置"), !0) : "") + (n ? u0(`<div class="flex flex-col gap-3">${g0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(e0(e?.prefixes, 20))}</div><div>${c0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? c0("更换密钥", "secondary") : "") + c0("保存配置"));
+}
+var qAe = () => {
+ let e = GAe();
+ return d0("媒体库与目录", u0(`${UAe}<div class="flex flex-col gap-4">${e.folders.map((t) => HAe(t, e.folders.length)).join("")}</div>
+ <div class="self-start">${c0("添加媒体库", "secondary")}</div>
+ <p class="text-body-2-regular text-text-secondary">${q1}</p>
+ ${e.cloud ? WAe : ""}<span class="text-body-medium text-text-primary">${r0("15em")}</span>`), c0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? D0() : "") + KAe() + d0("番号识别规则", u0(`${r0("90%")}${r0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), c0("保存配置")) + d0("视频预览", p0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + p0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + p0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));
+}, JAe = () => `<div>${c0("采集来源与登录状态", "secondary")}</div>` + C0() + d0("关注采集", f0("自动检查更新", "", "<span class=\"flex items-center gap-2\"><span class=\"skeleton ui-configuration-skeleton-toggle\"></span><span class=\"skeleton ui-configuration-skeleton-input\" style=\"width:96px\"></span></span>") + m0("订阅源拉取") + p0("首次采集范围", "新关注的来源第一次回看多久以前的内容。", "ui-configuration-skeleton-select") + m0("头像刷新", "重新获取关注创作者的头像。") + m0("favicon 刷新", "重新获取来源站点的图标。")) + w0() + d0("作品资料站点", u0(`<p class="text-body-2-regular text-text-secondary">${J1}</p>${_0(b0("JavDB 地址"), Y1)}${_0(b0("MISSAV 地址"), Y1)}`), c0("保存配置")), YAe = () => {
+ let e = Q1("downloads"), t = $1(e?.pikpak), n = $1(e?.pikpakRoots) ? v0(b0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${g0(b0("PikPak 根目录对应的媒体目录"))}${h0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = $1(e?.cloud) ? d0("云下载", u0(_0("CloudDrive2 地址") + _0("CloudDrive2 API 令牌", "需要离线任务权限。") + ($1(e?.has115) ? _0(b0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? _0(b0("PikPak 目标目录"), "目录要已经存在。") + n : "") + _0("等待上限(小时)", r0("14em"))), c0("检查连接", "secondary") + c0("保存配置")) : "", i = $1(e?.pikpakLoggedIn);
+ return r + (t ? d0("PikPak 账号", i ? S0(["账号", r0("4em")]) : u0(_0("账号") + _0("密码") + y0("保存密码,登录过期时自动重新登录")), i ? c0("登出", "secondary") : ($1(e?.browserLogin) ? c0("用浏览器登录", "secondary") : "") + c0("登录"), {
+ aside: o0(),
mark: !0
- }) : "") + w0();
-}, O0 = {
+ }) : "") + T0();
+}, k0 = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
-}, k0 = {
+}, A0 = {
quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",
named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"
};
-function YAe(e) {
- let t = e === "locked" ? "" : g0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + g0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");
- return (O0[e] ? m0(O0[e]) : "") + (e === "open" ? i0("100%", "64px") : "") + (e === "password" || e === "legacy" ? v0("关闭访问密码") : "") + (e === "password" ? g0("当前访问密码 *") : "") + t;
+function XAe(e) {
+ let t = e === "locked" ? "" : _0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + _0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");
+ return (k0[e] ? h0(k0[e]) : "") + (e === "open" ? a0("100%", "64px") : "") + (e === "password" || e === "legacy" ? y0("关闭访问密码") : "") + (e === "password" ? _0("当前访问密码 *") : "") + t;
}
-var XAe = () => {
- let e = Z1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = Q1(e?.tunnelNamed), r = (n && Q1(e?.tunnelNamedMode) ? m0(k0.named) + g0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + g0("隧道令牌", n0("16em")) : m0(k0.quick)) + (Q1(e?.tunnelNote) ? i0("100%", "64px") : ""), i = $1(e?.addresses, 3), a = Array.from({ length: i }, (e, t) => `<div class="flex min-w-0 flex-wrap items-end gap-2"><div class="min-w-0 flex-1">${g0([
+var ZAe = () => {
+ let e = Q1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = $1(e?.tunnelNamed), r = (n && $1(e?.tunnelNamedMode) ? h0(A0.named) + _0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + _0("隧道令牌", r0("16em")) : h0(A0.quick)) + ($1(e?.tunnelNote) ? a0("100%", "64px") : ""), i = e0(e?.addresses, 3), a = Array.from({ length: i }, (e, t) => `<div class="flex min-w-0 flex-wrap items-end gap-2"><div class="min-w-0 flex-1">${_0([
"本机地址",
"手机连接地址",
"备用 IP 地址"
- ][t])}</div>${s0("复制地址", "secondary")}</div>`).join("");
- return (i || Q1(e?.port) ? u0("访问地址", l0(a + (i ? i0("100%", "40px") : "") + (Q1(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${h0("谁可以访问")}${i0("min(100%, 20em)", "36px")}</div>` + (Q1(e?.lan) ? g0("局域网访问地址") : "") : "") + (Q1(e?.port) ? g0("端口") : "")), Q1(e?.port) ? s0("保存配置") : "", Q1(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + u0("访问密码", l0(YAe(t)), t === "locked" ? "" : s0("保存配置")) + u0("Cloudflare 公网入口", l0((n ? i0("10.5em", "36px") : "") + r), s0("启动公网入口", n ? "secondary" : "primary") + (n ? s0("保存配置") : ""), { aside: a0() }) + u0("Peach 代理", f0("连接方式", "Peach 访问外网和采集来源时使用。", "ui-configuration-skeleton-select") + (Q1(e?.proxyAddress) ? l0(g0("代理地址"), !0) : ""), s0("保存配置"));
-}, ZAe = [
+ ][t])}</div>${c0("复制地址", "secondary")}</div>`).join("");
+ return (i || $1(e?.port) ? d0("访问地址", u0(a + (i ? a0("100%", "40px") : "") + ($1(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${g0("谁可以访问")}${a0("min(100%, 20em)", "36px")}</div>` + ($1(e?.lan) ? _0("局域网访问地址") : "") : "") + ($1(e?.port) ? _0("端口") : "")), $1(e?.port) ? c0("保存配置") : "", $1(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + d0("访问密码", u0(XAe(t)), t === "locked" ? "" : c0("保存配置")) + d0("Cloudflare 公网入口", u0((n ? a0("10.5em", "36px") : "") + r), c0("启动公网入口", n ? "secondary" : "primary") + (n ? c0("保存配置") : ""), { aside: o0() }) + d0("Peach 代理", p0("连接方式", "Peach 访问外网和采集来源时使用。", "ui-configuration-skeleton-select") + ($1(e?.proxyAddress) ? u0(_0("代理地址"), !0) : ""), c0("保存配置"));
+}, QAe = [
"版本",
"操作系统",
"数据目录",
"设置文件",
"日志目录"
-], QAe = () => {
- let e = Z1("maintenance"), t = [
+], $Ae = () => {
+ let e = Q1("maintenance"), t = [
"当前版本",
"安装方式",
"更新通道",
"最新版本",
"下载内容"
- ].slice(0, Math.max(4, $1(e?.releaseFacts, 5))), n = $1(e?.releaseNotes, 4), r = $1(e?.storageRows, 12), i = $1(e?.storageNotes, 3), a = e0(e?.facts, 12, (e) => z(String(e))), o = `<span class="self-start">${a0("6em")}</span>`, s = (t) => !e || Q1(t), c = s(e?.reporting) ? f0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (Q1(e?.reportingIdle) ? l0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${f0("上传馆藏与口味明细", Q1(e?.sharingNotice) ? n0("12em") : "")}${Q1(e?.sharingIdle) ? l0(o, !0) : ""}${c0(s0("预览上传内容", "secondary"))}</div>` : "";
- return u0("检查更新", x0(t) + (n ? l0(m0(n0("50%")).repeat(n), !0) : ""), s0("检查更新"), {
- aside: a0("4em"),
- status: n0("5em")
- }) + u0("自动更新", f0("自动检查新版本") + f0("自动下载更新", "发现新版本后先下载,重启安装前会询问。") + f0("检查频率", Q1(e?.autoUpdateHelp) ? n0("12em") : "", "ui-configuration-skeleton-select"), s0("保存配置")) + u0("开机自启", f0("开机后启动 Peach") + f0("只启动托盘,不打开网页", "开机后在后台运行,需要时从托盘打开页面。") + f0("在桌面创建快捷方式", Q1(e?.desktopNote) ? n0("12em") : "") + (Q1(e?.startupNote) ? l0(m0(n0("60%")), !0) : ""), s0("保存配置")) + u0("视频播放", f0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + u0("存储空间", x0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => d0(n0("6em"), "", n0("4em"))).join("") : l0(m0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? l0(m0(n0("80%")).repeat(i), !0) : ""), s0("更改位置", "secondary") + s0(r ? "重新统计" : "统计占用")) + (c || l ? u0("数据上传", c + l) : "") + u0("运行信息", x0(a.length ? a : ZAe)) + `<section aria-label="新手教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${d0("新手教程", "在所有设备上恢复右上角教程入口,保留已读进度", s0("重新打开", "secondary"))}</div></section>` + (s(e?.uninstall) ? u0("卸载 Peach", (Q1(e?.uninstallHelp) ? l0(m0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + f0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + l0(b0("数据目录"), !0), s0("卸载 Peach"), { status: n0("16em") }) : "");
+ ].slice(0, Math.max(4, e0(e?.releaseFacts, 5))), n = e0(e?.releaseNotes, 4), r = e0(e?.storageRows, 12), i = e0(e?.storageNotes, 3), a = t0(e?.facts, 12, (e) => z(String(e))), o = `<span class="self-start">${o0("6em")}</span>`, s = (t) => !e || $1(t), c = s(e?.reporting) ? p0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + ($1(e?.reportingIdle) ? u0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${p0("上传馆藏与口味明细", $1(e?.sharingNotice) ? r0("12em") : "")}${$1(e?.sharingIdle) ? u0(o, !0) : ""}${l0(c0("预览上传内容", "secondary"))}</div>` : "";
+ return d0("检查更新", S0(t) + (n ? u0(h0(r0("50%")).repeat(n), !0) : ""), c0("检查更新"), {
+ aside: o0("4em"),
+ status: r0("5em")
+ }) + d0("自动更新", p0("自动检查新版本") + p0("自动下载更新", "发现新版本后先下载,重启安装前会询问。") + p0("检查频率", $1(e?.autoUpdateHelp) ? r0("12em") : "", "ui-configuration-skeleton-select"), c0("保存配置")) + d0("开机自启", p0("开机后启动 Peach") + p0("只启动托盘,不打开网页", "开机后在后台运行,需要时从托盘打开页面。") + p0("在桌面创建快捷方式", $1(e?.desktopNote) ? r0("12em") : "") + ($1(e?.startupNote) ? u0(h0(r0("60%")), !0) : ""), c0("保存配置")) + d0("视频播放", p0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + d0("存储空间", S0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => f0(r0("6em"), "", r0("4em"))).join("") : u0(h0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? u0(h0(r0("80%")).repeat(i), !0) : ""), c0("更改位置", "secondary") + c0(r ? "重新统计" : "统计占用")) + (c || l ? d0("数据上传", c + l) : "") + d0("运行信息", S0(a.length ? a : QAe)) + `<section aria-label="新手教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${f0("新手教程", "在所有设备上恢复右上角教程入口,保留已读进度", c0("重新打开", "secondary"))}</div></section>` + (s(e?.uninstall) ? d0("卸载 Peach", ($1(e?.uninstallHelp) ? u0(h0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + p0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + u0(x0("数据目录"), !0), c0("卸载 Peach"), { status: r0("16em") }) : "");
};
-function $Ae(e) {
+function eje(e) {
switch (e) {
- case "系统诊断": return W1();
- case "来源与订阅": return qAe();
- case "下载渠道": return JAe();
- case "网络与访问": return XAe();
- case "应用与维护": return QAe();
- default: return KAe();
+ case "系统诊断": return G1();
+ case "来源与订阅": return JAe();
+ case "下载渠道": return YAe();
+ case "网络与访问": return ZAe();
+ case "应用与维护": return $Ae();
+ default: return qAe();
}
}
-function eje(e = "媒体库与入库") {
- return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(Df).map((t) => `<button type="button" tabindex="-1" aria-selected="${t === e}">${t}</button>`).join("")}</div>`}<div class="flex min-w-0 flex-col gap-6">${$Ae(e)}</div></div></div>`;
+function tje(e = "媒体库与入库") {
+ return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(Df).map((t) => `<button type="button" tabindex="-1" aria-selected="${t === e}">${t}</button>`).join("")}</div>`}<div class="flex min-w-0 flex-col gap-6">${eje(e)}</div></div></div>`;
}
// src/react/jav/discovery-sorts.ts
-var A0 = [
+var j0 = [
[
"taste",
"口味",
@@ -72059,7 +72073,7 @@ var A0 = [
],
[
"release_date",
- Rj[1],
+ Ij[1],
"按发行日期排序"
],
[
@@ -72078,10 +72092,10 @@ var A0 = [
"按番号排序"
]
];
-function tje(e) {
+function nje(e) {
return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";
}
-function nje(e) {
+function rje(e) {
if (typeof e != "number" || !Number.isFinite(e)) return {
score: "—",
label: "资料未取得",
@@ -72106,8 +72120,8 @@ function nje(e) {
};
}
// src/jav-skeleton.ts
-var j0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, rje = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, M0 = "w-full min-w-0";
-function N0() {
+var M0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, ije = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, N0 = "w-full min-w-0";
+function P0() {
return [
"w-20",
"w-16",
@@ -72117,26 +72131,26 @@ function N0() {
"w-24"
].map((e) => `<span data-skeleton="tag" aria-hidden="true" class="skeleton-sheen relative block h-8 flex-none rounded-(--tag-radius) ${e}"></span>`).join("");
}
-function P0(e, t = SM()) {
- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${j0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${rje("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">${j0("80%")}${j0("60%")}${j0("40%")}</div></div>`).join("")}</div>`;
- let n = AM({
- ...kM({
+function F0(e, t = bM()) {
+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${M0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${ije("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">${M0("80%")}${M0("60%")}${M0("40%")}</div></div>`).join("")}</div>`;
+ let n = OM({
+ ...DM({
active: !0,
home: !1,
portrait: !1
}),
size: t
});
- return `<div data-media-grid class="${M0}" 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="${N0}" 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>${j0("85%")}${j0("65%")}</div><div data-media-byline>${j0("55%")}</div>
+ <div data-media-title>${M0("85%")}${M0("65%")}</div><div data-media-byline>${M0("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 ije(e) {
+function aje(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>${Ds({
@@ -72146,26 +72160,26 @@ function ije(e) {
})}</div>
<div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${xU.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}">${Es("筛选番号、女优或标题", "", 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>${j0("100%")}</div>${P0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${aje()}${P0(e)}</section>`}</div></div>`;
+ ${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>${M0("100%")}</div>${F0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${oje()}${F0(e)}</section>`}</div></div>`;
}
-function aje() {
- let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-8 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="" ${SM() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${ws(t, "size-4")}</span>`;
+function oje() {
+ let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-8 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="" ${bM() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${ws(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>${N0()}</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>${P0()}</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>
${Ts()}
<span data-entity-sorts><button type="button" data-entity-batch data-filter-action data-skeleton-action data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${ws("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>
- ${A0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? ws("arrow-down", "size-3.5") : ""}</button>`).join("")}
+ ${j0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? ws("arrow-down", "size-3.5") : ""}</button>`).join("")}
</span>
</div>
</div>`;
}
// src/management-skeletons.ts
-var F0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", I0 = (e = "60%") => `<span class="${F0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, L0 = "disabled data-skeleton-action", R0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
-function oje() {
+var I0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", L0 = (e = "60%") => `<span class="${I0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, R0 = "disabled data-skeleton-action", z0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
+function sje() {
let e = [
"馆藏视频",
"看过",
@@ -72173,27 +72187,27 @@ function oje() {
"使用空间"
].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="${F0} 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">${I0("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">${I0("6em")}</small>
- </div>`).join(""), t = (e) => `<section class="${R0}" 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">${I0("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="${I0} 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">${L0("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">${L0("6em")}</small>
+ </div>`).join(""), t = (e) => `<section class="${z0}" 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">${L0("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">${I0()}</span><b class="text-title-2-medium">${I0("3em")}</b><small class="text-caption-1-regular">${I0()}</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">${L0()}</span><b class="text-title-2-medium">${L0("3em")}</b><small class="text-caption-1-regular">${L0()}</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">数据库中的当前统计 · ${I0("12em")}</p>
+ <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${L0("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="${R0}"><h3 class="text-title-2-medium">${e}</h3><div class="${F0} h-64"></div></section>`).join("")}</div>
+ ].map((e) => `<section class="${z0}"><h3 class="text-title-2-medium">${e}</h3><div class="${I0} h-64"></div></section>`).join("")}</div>
</div>
</div>
<section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">
@@ -72202,11 +72216,11 @@ function oje() {
"最近看过",
"标签来源"
].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="${F0} 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="${I0} h-7"></div>`).join("")}</div>
</section>
</div></div>`;
}
-function sje() {
+function cje() {
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 = [
"浏览记录",
"口味维度",
@@ -72214,20 +72228,20 @@ function sje() {
"私有导出"
].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="${F0} 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">${I0("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">${I0("6em")}</small>
- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${F0} h-6"></div>`).join(""), r = (e) => `<section class="${R0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${F0} 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="${I0} 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">${L0("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">${L0("6em")}</small>
+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${I0} h-6"></div>`).join(""), r = (e) => `<section class="${z0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${I0} 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">${ks("全部时间")}<span data-button-group data-split-button data-variant="primary">${Ds({
glyph: "compass",
label: "读取浏览器历史",
- attrs: L0
+ attrs: R0
})}${Ds({
glyph: "chevron-down",
- attrs: L0
+ attrs: R0
})}</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>
@@ -72245,11 +72259,11 @@ function sje() {
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">${I0("8em")}</small></div>
+ <small class="text-caption-1-regular">${L0("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="${R0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${F0} h-72 max-sm:h-48"></div></section>
+ <section class="${z0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${I0} 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([
"标签",
@@ -72257,20 +72271,20 @@ function sje() {
"常访问网站",
"浏览线索"
])}</div>
- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${F0} 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="${I0} h-7"></div>`).join("")}</div>
</section>
</div>
</div></div>`;
}
-function cje() {
+function lje() {
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="${F0} 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">${I0("70%")}</span>
- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${I0("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">${I0("75%")}</span>
+ <span class="${I0} 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">${L0("70%")}</span>
+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${L0("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">${L0("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">${I0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${I0("8em")}</span>
+ <b class="text-title-2-medium">${L0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${L0("8em")}</span>
<span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${[
"留最大",
"留最长",
@@ -72279,27 +72293,27 @@ function cje() {
variant: "secondary",
size: "small",
label: e,
- attrs: L0
+ attrs: R0
})).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">${I0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${I0("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">${L0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${L0("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 ${L0} class="h-8 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 ${R0} class="h-8 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>
${t.repeat(2)}
</div></div>`;
}
-function lje() {
+function uje() {
let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 p-3">
- <div class="flex min-w-0 gap-4"><span class="${F0} 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">${I0("80%")}</h3><p class="text-body-2-regular">${I0("60%")}</p></div>
+ <div class="flex min-w-0 gap-4"><span class="${I0} 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">${L0("80%")}</h3><p class="text-body-2-regular">${L0("60%")}</p></div>
</div>
<footer class="flex justify-end">${Ds({
variant: "secondary",
size: "small",
label: "查看版本",
- attrs: L0
+ attrs: R0
})}</footer>
</li>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
@@ -72308,20 +72322,20 @@ function lje() {
</div></div>`;
}
// src/board-skeleton.ts
-var z0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, uje = () => `${z0("80%")}${z0("48%")}`, B0 = (e, t) => e.repeat(t), V0 = "disabled data-skeleton-action", H0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, U0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, dje = "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", W0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
+var B0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, dje = () => `${B0("80%")}${B0("48%")}`, V0 = (e, t) => e.repeat(t), H0 = "disabled data-skeleton-action", U0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, W0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, fje = "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", G0 = () => `<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="${dje}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${H0("3em")}</b></div>`).join("")}</div>`, fje = (e = "") => KZ.some(([t]) => t === e) ? e : "list", G0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${KZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, K0 = (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>`, pje = ({ table: e, sort: t, dir: n }) => {
+].map((e) => `<div class="${fje}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${U0("3em")}</b></div>`).join("")}</div>`, pje = (e = "") => qZ.some(([t]) => t === e) ? e : "list", K0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${qZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, q0 = (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>`, mje = ({ table: e, sort: t, dir: n }) => {
let r = lr.find(([e]) => e === t)[1];
- return `<div data-responsive-toolbar class="ui-follow-skeleton-toolbar"><span data-follow-toolbar-heading data-toolbar-heading><h3 class="text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${H0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Ds({
+ return `<div data-responsive-toolbar class="ui-follow-skeleton-toolbar"><span data-follow-toolbar-heading data-toolbar-heading><h3 class="text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${U0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Ds({
glyph: "refresh-cw",
label: "检查全部",
compact: !0,
- attrs: V0
+ attrs: H0
})}<span data-follow-toolbar-controls class="contents"><span data-button-group role="group">${Ds({
variant: "ghost",
glyph: "layout-grid",
@@ -72338,42 +72352,42 @@ var z0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, uje
glyph: "chevron-up",
label: "全部收起",
compact: !0,
- attrs: V0
+ attrs: H0
})}</span></div></div>`;
-}, q0 = () => `<span class="flex shrink-0 items-center gap-1">${Ds({
+}, J0 = () => `<span class="flex shrink-0 items-center gap-1">${Ds({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: V0
+ attrs: H0
})}${Ds({
variant: "secondary",
size: "small",
glyph: "trash",
- attrs: V0
-})}</span>`, mje = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${K0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${H0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${U0(14, 14)}</span>${U0(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${H0("113px")}</span>${q0()}</span></div>`, J0 = (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>${U0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${H0("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${Ds({
+ attrs: H0
+})}</span>`, hje = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${q0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${U0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${W0(14, 14)}</span>${W0(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${U0("113px")}</span>${J0()}</span></div>`, Y0 = (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>${W0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${U0("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${Ds({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: V0
-})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${U0(14, 14)}${U0(14, 14)}</span><span class="flex flex-none items-center gap-2">${Ds({
+ attrs: H0
+})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${W0(14, 14)}${W0(14, 14)}</span><span class="flex flex-none items-center gap-2">${Ds({
variant: "secondary",
size: "small",
glyph: "check-check",
label: "全选",
- attrs: V0
+ attrs: H0
})}${Ds({
variant: "secondary",
size: "small",
glyph: "chevron-up",
label: "收起",
- attrs: V0
-})}</span></span></div><div data-source-divider>${B0(mje(), e)}</div></section>`, hje = () => {
+ attrs: H0
+})}</span></span></div><div data-source-divider>${V0(hje(), e)}</div></section>`, gje = () => {
try {
return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;
} catch {
return 20;
}
-}, gje = [
+}, _je = [
["select", ""],
["author", "创作者"],
["source", "来源"],
@@ -72381,90 +72395,90 @@ var z0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, uje
["status", "状态"],
["checked", "上次检查"],
["actions", ""]
-], _je = {
+], vje = {
name: "author",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, Y0 = "<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>", vje = (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>${gje.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${_je[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${Y0}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${B0(`<tr>${[
- K0(),
- `<span class="flex min-w-0 items-center gap-2">${U0(32, 32, !0)}${H0("5em")}</span>`,
- H0("10em"),
- `<span class="flex items-center gap-1.5">${U0(14, 14)}${H0("4em")}</span>`,
- U0(48, 24),
- H0("113px"),
- q0()
-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, yje = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${H0("111px")}</span><div data-toolbar-actions>${ks(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${U0(204, 32)}</div></div>`, bje = () => `<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">${H0("120px")}</h3>${[
+}, X0 = "<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>", yje = (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>${_je.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${vje[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${X0}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${V0(`<tr>${[
+ q0(),
+ `<span class="flex min-w-0 items-center gap-2">${W0(32, 32, !0)}${U0("5em")}</span>`,
+ U0("10em"),
+ `<span class="flex items-center gap-1.5">${W0(14, 14)}${U0("4em")}</span>`,
+ W0(48, 24),
+ U0("113px"),
+ J0()
+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, bje = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${U0("111px")}</span><div data-toolbar-actions>${ks(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${W0(204, 32)}</div></div>`, xje = () => `<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">${U0("120px")}</h3>${[
"72%",
"56%",
"64%",
"40%"
-].map((e) => `<span class="text-body-medium">${H0(e)}</span>`).join("")}</div>`, xje = (e) => {
- let t = fje(e.followTab);
- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${W0()}<div class="flex flex-col gap-6">${G0(t)}<div class="flex flex-col gap-4">${bje()}</div></div></div></div>`;
- let n = e.followLayout === "table", r = pr(e.followSort, e.followDir), i = e.followPageSize || hje(), a = n ? vje(i, r) : `${K0("全选本页")}<div class="flex flex-col gap-3">${J0(3)}${J0(4)}${J0(3)}</div>`;
- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${W0()}<div class="flex flex-col gap-6">${G0(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"}">${pje({
+].map((e) => `<span class="text-body-medium">${U0(e)}</span>`).join("")}</div>`, Sje = (e) => {
+ let t = pje(e.followTab);
+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${G0()}<div class="flex flex-col gap-6">${K0(t)}<div class="flex flex-col gap-4">${xje()}</div></div></div></div>`;
+ let n = e.followLayout === "table", r = pr(e.followSort, e.followDir), i = e.followPageSize || gje(), a = n ? yje(i, r) : `${q0("全选本页")}<div class="flex flex-col gap-3">${Y0(3)}${Y0(4)}${Y0(3)}</div>`;
+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${G0()}<div class="flex flex-col gap-6">${K0(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"}">${mje({
table: n,
...r
- })}${a}${yje(n, i)}</div></div></div></div></div>`;
+ })}${a}${bje(n, i)}</div></div></div></div></div>`;
};
-function Sje() {
- 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">${z0("85%")}${z0("65%")}${B0(uje(), 4)}</div></aside></div>`;
+function Cje() {
+ 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">${B0("85%")}${B0("65%")}${V0(dje(), 4)}</div></aside></div>`;
}
-function Cje(e, t = {}) {
+function wje(e, t = {}) {
let n = "";
- if (e === "/stats") n = oje();
- else if (e === "/jav") n = ije(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
- else if (e === "/taste") n = sje();
- else if (e === "/subscriptions") n = xje(t);
- else if (e.startsWith("/settings/") && e.split("/")[2] in Df) n = eje(Df[e.split("/")[2]]);
+ if (e === "/stats") n = sje();
+ else if (e === "/jav") n = aje(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
+ else if (e === "/taste") n = cje();
+ else if (e === "/subscriptions") n = Sje(t);
+ else if (e.startsWith("/settings/") && e.split("/")[2] in Df) n = tje(Df[e.split("/")[2]]);
else if (e === "/tasks") n = `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${[
"正在进行",
"本次未执行",
"最近完成"
- ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${H0("8em")}</span><span class="text-caption-1-regular">${H0("14em")}</span>${H0("60%")}${H0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${H0("6em")}</div></div></section>`).join("")}</div></div>`;
- else if (e === "/duplicates") n = cje();
- else if (e === "/quality-goals") n = lje();
+ ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${U0("8em")}</span><span class="text-caption-1-regular">${U0("14em")}</span>${U0("60%")}${U0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${U0("6em")}</div></div></section>`).join("")}</div></div>`;
+ else if (e === "/duplicates") n = lje();
+ else if (e === "/quality-goals") n = uje();
else if (e === "/playlists") n = `<div class="peach-react"><section class="w-full pt-1 pb-10.5"><header class="mb-4 flex items-start justify-between gap-4.5 max-board-narrow:flex-col max-board-narrow:items-stretch"><div><h2 class="mb-1 text-display-4-medium! text-text-primary">播放列表</h2><p class="text-body-2-regular text-text-secondary">保存 Mix,按自己的顺序继续播放。</p></div><div class="flex flex-wrap items-end gap-2"><div class="min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none"><span class="text-body-medium">新播放列表</span><span class="skeleton ui-configuration-skeleton-input mt-1.5"></span></div>${Ds({
label: "新建",
- attrs: V0
- })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${B0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;
+ attrs: H0
+ })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${V0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;
else return "";
return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;
}
// src/react/components/overlay-host.ts
-function wje(e) {
+function Tje(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 X0(e) {
+function Z0(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return wje(n ?? t.body);
+ return Tje(n ?? t.body);
}
-var Z0 = "[role=\"dialog\"],[role=\"listbox\"],[role=\"menu\"]";
-function Tje(e) {
+var Q0 = "[role=\"dialog\"],[role=\"listbox\"],[role=\"menu\"]";
+function Eje(e) {
let t = e.querySelector(":scope > [data-react-overlays]");
for (let e = t?.lastElementChild; e; e = e.previousElementSibling) {
- let t = e.matches(Z0) ? e : e.querySelector(Z0);
+ let t = e.matches(Q0) ? e : e.querySelector(Q0);
if (t) return t;
}
return null;
}
-function Q0(e) {
+function $0(e) {
let t = document.getElementById("toasts"), n = e?.open ? e : document.body;
t && t.parentElement !== n && n.append(t);
}
// src/react/follow-detail/follow-detail.ts
-var $0 = (e) => ["follow-item", e], Eje = (e) => `/api/follow?item=${encodeURIComponent(e)}`, Dje = "/api/follow/save", Oje = "/api/follow/media/hide", e2 = class extends Error {
+var e2 = (e) => ["follow-item", e], Dje = (e) => `/api/follow?item=${encodeURIComponent(e)}`, Oje = "/api/follow/save", kje = "/api/follow/media/hide", t2 = class extends Error {
constructor() {
super("这条关注内容已不存在");
}
};
-async function t2(e, t) {
- let n = await B(Eje(e), t);
+async function n2(e, t) {
+ let n = await B(Dje(e), t);
for (let t of n.groups || []) {
let r = ca(t).find((t) => t.id === e);
if (r) return {
@@ -72474,9 +72488,9 @@ async function t2(e, t) {
aliases: n.author_aliases || []
};
}
- throw new e2();
+ throw new t2();
}
-function kje(e) {
+function Aje(e) {
for (let [, t] of H.getQueriesData({ queryKey: ["follow-item"] })) {
if (!t?.group) continue;
let n = ca(t.group).find((t) => t.id === e);
@@ -72487,20 +72501,20 @@ function kje(e) {
}
return null;
}
-async function n2(e, t) {
- let n = $0(e.id), r = la(e.id), i = H.getQueryData(ra) ? null : H.fetchQuery({
+async function r2(e, t) {
+ let n = e2(e.id), r = la(e.id), i = H.getQueryData(ra) ? null : H.fetchQuery({
queryKey: ra,
queryFn: () => ia(t)
}), a = r ? {
...r,
item: r.item
- } : H.getQueryData(n) ?? kje(e.id);
+ } : H.getQueryData(n) ?? Aje(e.id);
a ? H.setQueryData(n, a) : await H.fetchQuery({
queryKey: n,
- queryFn: () => t2(e.id, t)
+ queryFn: () => n2(e.id, t)
}), await i;
}
-function Aje(e, t, n, r) {
+function jje(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 && _a(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,
@@ -72515,32 +72529,32 @@ function Aje(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var jje = (e) => ca(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), Mje = {
+var Mje = (e) => ca(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), Nje = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, Nje = {
+}, Pje = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function Pje(e) {
+function Fje(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return Mje[t] || t;
+ return Nje[t] || t;
} catch {
return "外部文件页";
}
}
-function r2(e, t) {
- return Nje[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+function i2(e, t) {
+ return Pje[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function Fje(e, t, n = "") {
+function Ije(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;
@@ -72549,54 +72563,54 @@ function Fje(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var Ije = (e) => String(e.name || "").trim(), i2 = (e, t) => e.tag_types?.[t] || "unknown", Lje = /* @__PURE__ */ new Set([
+var Lje = (e) => String(e.name || "").trim(), a2 = (e, t) => e.tag_types?.[t] || "unknown", Rje = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
"metadata",
"unknown"
]);
-function Rje(e, t) {
- let n = i2(e, t);
- return `r34-${Lje.has(n) ? n : "general"}`;
+function zje(e, t) {
+ let n = a2(e, t);
+ return `r34-${Rje.has(n) ? n : "general"}`;
}
-var a2 = [
+var o2 = [
"copyright",
"character",
"artist",
"general",
"metadata"
];
-function zje(e, t) {
+function Bje(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
- let n = a2.indexOf(i2(e, t));
- return n < 0 ? a2.length : n;
+ let n = o2.indexOf(a2(e, t));
+ return n < 0 ? o2.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
}
-function o2(e, t) {
+function s2(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 Bje = (e, t) => ({
+var Vje = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
-}), s2 = (e) => e?.size ? { size: e.size } : {};
-function Vje(e, t) {
+}), c2 = (e) => e?.size ? { size: e.size } : {};
+function Hje(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: r2(t, e),
- ...s2(t)
+ source: i2(t, e),
+ ...c2(t)
})) : r === "image" && i ? [{
src: i,
thumb: e.thumb_url || i,
name: e.title,
- source: r2(a, e),
- ...s2(a)
+ source: i2(a, e),
+ ...c2(a)
}] : e.thumb_url ? [{
src: e.thumb_url,
thumb: e.thumb_url,
@@ -72604,7 +72618,7 @@ function Vje(e, t) {
source: e.provider_label || e.provider || "在线图片"
}] : [];
}
-var Hje = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", c2 = "清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。", l2 = "指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。", u2 = "点击参数插入光标处,选中文字可替换。方括号里的内容在字段为空时整段省略。", d2 = "按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。", f2 = "这些作品的源文件已删除,喜欢、稍后看、播放列表与观看历史仍保留。选择替代文件后,这些记录会转移到该文件,旧作品记录随之删除。", p2 = "勾选女优,永久删除她们在全部来源中的影片文件、影片资料和观看记录,包括回收站中的影片。女优档案和照片保留。共同出演的同一文件只删除一次。", m2 = "disabled data-skeleton-action", h2 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, g2 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, _2 = (e, t) => `<h3 class="text-title-2-medium text-text-primary${t ? ` ${t}` : ""}">${e}</h3>`, v2 = (e, { label: t = "", className: n = "" } = {}) => `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1${n ? ` ${n}` : ""}">${t ? `<span class="flex items-center gap-0.5 text-body-medium text-text-primary">${t}</span>` : ""}<div 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"><span class="flex min-w-0 flex-1 items-center pl-1 font-sans text-body-regular text-text-tertiary">${e}&#8203;</span></div></div></div></div>`, Uje = [
+var Uje = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", l2 = "清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。", u2 = "指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。", d2 = "点击参数插入光标处,选中文字可替换。方括号里的内容在字段为空时整段省略。", f2 = "按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。", p2 = "这些作品的源文件已删除,喜欢、稍后看、播放列表与观看历史仍保留。选择替代文件后,这些记录会转移到该文件,旧作品记录随之删除。", m2 = "勾选女优,永久删除她们在全部来源中的影片文件、影片资料和观看记录,包括回收站中的影片。女优档案和照片保留。共同出演的同一文件只删除一次。", h2 = "disabled data-skeleton-action", g2 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, _2 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, v2 = (e, t) => `<h3 class="text-title-2-medium text-text-primary${t ? ` ${t}` : ""}">${e}</h3>`, y2 = (e, { label: t = "", className: n = "" } = {}) => `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1${n ? ` ${n}` : ""}">${t ? `<span class="flex items-center gap-0.5 text-body-medium text-text-primary">${t}</span>` : ""}<div 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"><span class="flex min-w-0 flex-1 items-center pl-1 font-sans text-body-regular text-text-tertiary">${e}&#8203;</span></div></div></div></div>`, Wje = [
"3em",
"5em",
"5em",
@@ -72614,7 +72628,7 @@ var Hje = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", c2
"8em",
"8em",
"10em"
-], Wje = [
+], Gje = [
"5.8em",
"6.4em",
"7em",
@@ -72624,70 +72638,70 @@ var Hje = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", c2
"5.8em",
"9em",
"9em"
-], y2 = (e, t) => Ds({
+], b2 = (e, t) => Ds({
variant: e,
size: "small",
- label: h2(t)
+ label: g2(t)
});
-function Gje() {
- return `<section class="${S$("stack")}">
- <div class="${b$.stack}">${_2("整理", "mb-3")}
- <p class="text-body-regular text-text-secondary">${c2}</p>
+function Kje() {
+ return `<section class="${C$("stack")}">
+ <div class="${x$.stack}">${v2("整理", "mb-3")}
+ <p class="text-body-regular text-text-secondary">${l2}</p>
<div class="mt-3 flex flex-col gap-3">
- <div class="flex min-w-0 flex-wrap items-start gap-2">${ks(h2("3em"), {
+ <div class="flex min-w-0 flex-wrap items-start gap-2">${ks(g2("3em"), {
prefix: "来源",
className: "w-fit min-w-25",
attrs: "aria-disabled=\"true\""
})}
- <div class="flex min-w-0 basis-64 flex-1 items-start gap-2">${v2("留空整理整个来源", { className: "min-w-0 flex-1" })}<button type="button" class="relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg bg-background-primary-default text-foreground-icon-primary border border-border-button-default shadow-xs size-9">${ws("folder-search", "size-5 shrink-0")}</button></div>
+ <div class="flex min-w-0 basis-64 flex-1 items-start gap-2">${y2("留空整理整个来源", { className: "min-w-0 flex-1" })}<button type="button" class="relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg bg-background-primary-default text-foreground-icon-primary border border-border-button-default shadow-xs size-9">${ws("folder-search", "size-5 shrink-0")}</button></div>
</div>
- <p class="text-caption-1-regular text-text-secondary">${l2}</p>
- ${v2(h2("12em"), { label: "文件名模板" })}${v2(h2("8em"), { label: "目录模板" })}
- <div class="flex flex-col gap-2"><p class="text-caption-1-medium text-text-secondary">套用模板</p><div class="flex flex-wrap gap-2">${Uje.map((e) => y2("secondary", e)).join("")}</div></div>
- <p class="text-caption-1-regular text-text-secondary">路径示例:${h2("16em")}</p>
- <div class="flex flex-col gap-2"><p class="text-caption-1-regular text-text-secondary"><strong class="text-caption-1-semibold text-text-primary">插入参数</strong>(到文件名模板)</p><div class="flex flex-wrap gap-1">${Wje.map((e) => y2("ghost", e)).join("")}</div></div>
- <p class="text-caption-1-regular leading-4.5 text-text-secondary">${u2}</p>
+ <p class="text-caption-1-regular text-text-secondary">${u2}</p>
+ ${y2(g2("12em"), { label: "文件名模板" })}${y2(g2("8em"), { label: "目录模板" })}
+ <div class="flex flex-col gap-2"><p class="text-caption-1-medium text-text-secondary">套用模板</p><div class="flex flex-wrap gap-2">${Wje.map((e) => b2("secondary", e)).join("")}</div></div>
+ <p class="text-caption-1-regular text-text-secondary">路径示例:${g2("16em")}</p>
+ <div class="flex flex-col gap-2"><p class="text-caption-1-regular text-text-secondary"><strong class="text-caption-1-semibold text-text-primary">插入参数</strong>(到文件名模板)</p><div class="flex flex-wrap gap-1">${Gje.map((e) => b2("ghost", e)).join("")}</div></div>
+ <p class="text-caption-1-regular leading-4.5 text-text-secondary">${d2}</p>
</div>
</div>
- <footer class="${x$.stack}">${Ds({
+ <footer class="${S$.stack}">${Ds({
label: "预览",
- attrs: m2
+ attrs: h2
})}</footer>
</section>`;
}
-var Kje = () => `<section class="flex scroll-mt-20 flex-col gap-4">
- <section class="${S$("split")}"><div class="${b$.split}">${_2("资源同步", "mb-2")}
- <p class="max-w-190 text-body-2-regular leading-5 text-text-secondary">${d2}</p></div>
- <footer class="${x$.split}">${Ds({
+var qje = () => `<section class="flex scroll-mt-20 flex-col gap-4">
+ <section class="${C$("split")}"><div class="${x$.split}">${v2("资源同步", "mb-2")}
+ <p class="max-w-190 text-body-2-regular leading-5 text-text-secondary">${f2}</p></div>
+ <footer class="${S$.split}">${Ds({
glyph: "git-compare",
label: "检查文件",
- attrs: m2
+ attrs: h2
})}</footer></section>
-</section>`, b2 = (e, t = !1) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular leading-5 text-text-secondary">${e}</span><b class="text-title-2-semibold font-bold leading-5 tabular-nums text-text-primary">${h2("3em")}</b>${t ? `<small class="text-caption-1-regular leading-5 text-text-secondary">${h2("14em")}</small>` : ""}</div>`, qje = () => `<section class="flex scroll-mt-20 flex-col gap-4">
- <section class="${S$("stack")}"><div class="${b$.stack}">${_2("链接管理", "mb-2")}
- <div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${b2("链接总数", !0)}${[
+</section>`, x2 = (e, t = !1) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular leading-5 text-text-secondary">${e}</span><b class="text-title-2-semibold font-bold leading-5 tabular-nums text-text-primary">${g2("3em")}</b>${t ? `<small class="text-caption-1-regular leading-5 text-text-secondary">${g2("14em")}</small>` : ""}</div>`, Jje = () => `<section class="flex scroll-mt-20 flex-col gap-4">
+ <section class="${C$("stack")}"><div class="${x$.stack}">${v2("链接管理", "mb-2")}
+ <div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${x2("链接总数", !0)}${[
0,
1,
2
-].map(() => b2(h2("5em"))).join("")}</div>
+].map(() => x2(g2("5em"))).join("")}</div>
<div class="mt-4 flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span><div class="flex min-w-0 flex-wrap gap-x-5 gap-y-2">${[
"7em",
"10em",
"8em"
-].map((e) => `<span class="inline-flex min-w-0 items-center gap-1.5 text-body-2-medium">${g2(16, 16)}${h2(e)}${g2(28, 24)}</span>`).join("")}</div></div></div>
- <footer class="${x$.stack}">${Ds({
+].map((e) => `<span class="inline-flex min-w-0 items-center gap-1.5 text-body-2-medium">${_2(16, 16)}${g2(e)}${_2(28, 24)}</span>`).join("")}</div></div></div>
+ <footer class="${S$.stack}">${Ds({
glyph: "link",
label: "检查死链",
- attrs: m2
+ attrs: h2
})}</footer></section>
</section>`;
-function x2({ title: e, description: t, search: n = "", columns: r, rows: i }) {
- let a = r.reduce((e, { width: t }) => e + t, 48), o = `<th style="width:48px"><span class="flex items-center gap-0.5">${K0()}</span></th>${r.map(({ label: e, width: t }, n) => `<th${n ? ` style="width:${t}px"` : ""}><span class="flex items-center gap-0.5">${e}<span data-sort-indicator>${Y0}</span></span></th>`).join("")}<th data-table-space style="width:0"></th>`, s = `<tr><td>${K0()}</td>${r.map(({ cell: e }) => `<td>${e}</td>`).join("")}<td data-table-space></td></tr>`, c = n ? `<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Es("", "", n)}</div>` : "";
+function S2({ title: e, description: t, search: n = "", columns: r, rows: i }) {
+ let a = r.reduce((e, { width: t }) => e + t, 48), o = `<th style="width:48px"><span class="flex items-center gap-0.5">${q0()}</span></th>${r.map(({ label: e, width: t }, n) => `<th${n ? ` style="width:${t}px"` : ""}><span class="flex items-center gap-0.5">${e}<span data-sort-indicator>${X0}</span></span></th>`).join("")}<th data-table-space style="width:0"></th>`, s = `<tr><td>${q0()}</td>${r.map(({ cell: e }) => `<td>${e}</td>`).join("")}<td data-table-space></td></tr>`, c = n ? `<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Es("", "", n)}</div>` : "";
return `<div data-data-table-panel class="${IU({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
})}">
- <div data-responsive-toolbar><div data-toolbar-heading>${_2(e, "")}<span class="text-body-2-regular tabular-nums text-text-secondary">${h2("4em")}</span></div>
+ <div data-responsive-toolbar><div data-toolbar-heading>${v2(e, "")}<span class="text-body-2-regular tabular-nums text-text-secondary">${g2("4em")}</span></div>
<div data-toolbar-actions>${c}<div class="flex flex-none gap-2">${Ds({
variant: "secondary",
label: "显示列"
@@ -72698,38 +72712,38 @@ function x2({ title: e, description: t, search: n = "", columns: r, rows: i }) {
<span class="flex flex-none items-center gap-2">${ks("默认顺序", { prefix: "排序" })}${Ds({
variant: "secondary",
glyph: "arrow-up",
- attrs: m2
+ attrs: h2
})}</span></div></div>
<p class="text-body-2-regular text-text-secondary">${t}</p>
<div data-board-data-table data-resizable-table data-follow-table><div class="relative min-w-0"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="min-width:${a}px"><thead><tr>${o}</tr></thead><tbody>${s.repeat(i)}</tbody></table></div></div></div>
- <div data-table-pagination class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular tabular-nums text-text-secondary">${h2("8em")}</span><div data-toolbar-actions>${ks("每页 20 条", { size: "sm" })}</div></div>
+ <div data-table-pagination class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular tabular-nums text-text-secondary">${g2("8em")}</span><div data-toolbar-actions>${ks("每页 20 条", { size: "sm" })}</div></div>
</div>`;
}
-var Jje = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span class="text-body-regular">${h2(e)}</span><small class="text-caption-1-regular">${h2(t)}</small></span>`, Yje = {
+var Yje = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span class="text-body-regular">${g2(e)}</span><small class="text-caption-1-regular">${g2(t)}</small></span>`, Xje = {
organize: {
label: "正在读取整理配置",
- body: Gje
+ body: Kje
},
"resource-sync": {
label: "正在读取资源同步状态",
- body: Kje
+ body: qje
},
"orphan-records": {
label: "正在读取文件已丢失的记录",
- body: () => `<section class="flex scroll-mt-20 flex-col gap-4">${x2({
+ body: () => `<section class="flex scroll-mt-20 flex-col gap-4">${S2({
title: "文件已丢失的记录",
- description: f2,
+ description: p2,
rows: 4,
columns: [
{
label: "作品",
width: 480,
- cell: `<span class="flex min-w-0 items-center gap-3"><span class="skeleton flex-none rounded-lg max-cleanup-tight:hidden" style="width:96px;height:60px"></span>${Jje("70%", "40%")}</span>`
+ cell: `<span class="flex min-w-0 items-center gap-3"><span class="skeleton flex-none rounded-lg max-cleanup-tight:hidden" style="width:96px;height:60px"></span>${Yje("70%", "40%")}</span>`
},
{
label: "个人记录",
width: 176,
- cell: h2("6em")
+ cell: g2("6em")
},
{
label: "操作",
@@ -72738,7 +72752,7 @@ var Jje = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span cl
variant: "secondary",
size: "small",
label: "删除记录",
- attrs: m2
+ attrs: h2
})
}
]
@@ -72746,50 +72760,50 @@ var Jje = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span cl
},
"media-repair": {
label: "正在读取媒体修复状态",
- body: ZOe
+ body: QOe
},
links: {
label: "正在读取链接统计",
- body: qje
+ body: Jje
},
"batch-delete": {
label: "正在读取女优列表",
- body: () => `<section class="flex min-w-0 scroll-mt-20 flex-col gap-3">${x2({
+ body: () => `<section class="flex min-w-0 scroll-mt-20 flex-col gap-3">${S2({
title: "批量删除",
- description: p2,
+ description: m2,
search: "搜索女优姓名或别名",
rows: 12,
columns: [
{
label: "女优",
width: 280,
- cell: `<span class="flex min-w-0 items-center gap-3">${g2(32, 32, !0)}${h2("5em")}</span>`
+ cell: `<span class="flex min-w-0 items-center gap-3">${_2(32, 32, !0)}${g2("5em")}</span>`
},
{
label: "影片",
width: 104,
- cell: h2("3em")
+ cell: g2("3em")
},
{
label: "文件",
width: 104,
- cell: h2("3em")
+ cell: g2("3em")
},
{
label: "登记大小",
width: 136,
- cell: h2("4em")
+ cell: g2("4em")
}
]
})}</section>`
}
};
-function S2(e) {
- let { label: t, body: n } = Yje[e];
+function C2(e) {
+ let { label: t, body: n } = Xje[e];
return `<div class="peach-react" data-skeleton="cleanup/${e}" aria-busy="true" role="status" aria-label="${t}"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">${n()}</div></div>`;
}
// src/management-placeholder.ts
-var C2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => nc(e, {
+var w2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => nc(e, {
variant: r || (t ? "cards" : "panel"),
className: n,
gridClass: s,
@@ -72797,7 +72811,7 @@ var C2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill
...i ? { count: i } : {},
...a === void 0 ? {} : { fill: a },
...o ? { cardRatio: o } : {}
-}), Xje = [
+}), Zje = [
"元数据字段",
"创作者标签",
"厂牌 Logo",
@@ -72807,39 +72821,39 @@ var C2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill
"FC2 评论标记",
"FC2 跨号相似",
"片尾/出处证据"
-], Zje = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}">
+], Qje = (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>${Xje.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>${Zje.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>`, Qje = {
- "/data-cleanup": () => QOe(),
- ...Object.fromEntries(qf.map((e) => [e.path, () => S2(e.key)])),
- "/resource-sync": () => S2("resource-sync"),
- "/review": () => Zje(),
+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, $je = {
+ "/data-cleanup": () => $Oe(),
+ ...Object.fromEntries(qf.map((e) => [e.path, () => C2(e.key)])),
+ "/resource-sync": () => C2("resource-sync"),
+ "/review": () => Qje(),
"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>
- ${C2("正在读取采集来源", {
+ ${w2("正在读取采集来源", {
cards: !0,
count: 4,
fill: !1,
className: "cleanup-skeleton"
})}</div>`
};
-function w2(e, { followLayout: t, followSort: n, followDir: r }) {
- return Cje(e, {
+function T2(e, { followLayout: t, followSort: n, followDir: r }) {
+ return wje(e, {
followLayout: t,
...e === "/subscriptions" ? {
followSort: n,
followDir: r
} : {}
- }) || (Qje[e] ?? (() => C2("正在读取页面")))();
+ }) || ($je[e] ?? (() => w2("正在读取页面")))();
}
-var T2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function E2(e, t) {
- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = T2(t);
+var E2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function D2(e, t) {
+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = E2(t);
r && r === n || (e.innerHTML = t, uc(e));
}
// src/react/components/related-section.tsx
-function D2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {
+function O2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {
let c = (0, F.useCallback)((e) => {
e && (uc(e), t(e));
}, [t]);
@@ -72852,7 +72866,7 @@ function D2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
children: "接着看"
}), i ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-related-state": "",
- children: /* @__PURE__ */ (0, I.jsx)(GG, {
+ children: /* @__PURE__ */ (0, I.jsx)(WG, {
message: i,
onRetry: a || (() => {})
})
@@ -72862,7 +72876,7 @@ function D2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
size: "compact",
icon: fV,
title: "暂无接着看的内容",
- actions: /* @__PURE__ */ (0, I.jsx)(NL, {
+ actions: /* @__PURE__ */ (0, I.jsx)(ML, {
size: "small",
href: o ? "/follow" : "/",
children: o ? "返回关注" : "浏览馆藏"
@@ -72878,7 +72892,7 @@ function D2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
});
}
// src/react/components/detail-continuation.tsx
-function O2({ queue: e, children: t, queueCards: n }) {
+function k2({ queue: e, children: t, queueCards: n }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-detail-continuation": "",
"data-queue-cards": n == null ? void 0 : Math.min(3, n),
@@ -72886,7 +72900,7 @@ function O2({ queue: e, children: t, queueCards: n }) {
});
}
// src/react/components/media-carousel.tsx
-function k2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {
+function A2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {
let a = (0, F.useRef)(null), o = e.some((e) => e.video), s = !!i;
if ((0, F.useLayoutEffect)(() => {
let e = a.current?.querySelector("[data-media-thumbnails]");
@@ -72966,7 +72980,7 @@ function k2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
"data-media-thumbnails": "",
role: "group",
"aria-label": "媒体缩略图",
- children: e.map((e, r) => /* @__PURE__ */ (0, I.jsx)($je, {
+ children: e.map((e, r) => /* @__PURE__ */ (0, I.jsx)(eMe, {
item: e,
selected: r === t,
onSelect: n,
@@ -72985,7 +72999,7 @@ function k2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
]
});
}
-function $je({ item: e, selected: t, onSelect: n, render: r }) {
+function eMe({ item: e, selected: t, onSelect: n, render: r }) {
let i = (0, F.useRef)(null), [a, o] = (0, F.useState)(typeof IntersectionObserver > "u");
return (0, F.useEffect)(() => {
if (!i.current || a) return;
@@ -73011,14 +73025,14 @@ function $je({ item: e, selected: t, onSelect: n, render: r }) {
});
}
// src/react/follow-detail/follow-related.ts
-var eMe = (e, t, n) => [
+var tMe = (e, t, n) => [
"follow-feed",
"related",
e,
t,
n
];
-function A2(e, t, n, r) {
+function j2(e, t, n, r) {
let i = new Set((t.group ? ca(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 = ca(e);
@@ -73033,7 +73047,19 @@ function A2(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 tMe(e, t, n, r) {
+var nMe = /* @__PURE__ */ new Set(["metadata", "artist"]);
+function rMe(e, t, n) {
+ let r = (e) => e.detail_tags || e.tags || [], i = new Set(r(t.item)), a = t.sources.find((e) => e.id === t.item.source_id)?.author_key, o = new Map(e.flatMap((e) => e.sources || []).map((e) => [e.id, e])), s = /* @__PURE__ */ new Map();
+ for (let t of e.flatMap((e) => e.groups || [])) for (let e of r(ha(t, n))) s.set(e, (s.get(e) || 0) + 1);
+ return (e) => {
+ let t = ha(e, n), c = t.source_id === void 0 ? void 0 : o.get(t.source_id), l = r(t).filter((e) => i.has(e) && !nMe.has(t.tag_types?.[e] || "")).sort((e, t) => (s.get(e) || 0) - (s.get(t) || 0) || e.localeCompare(t));
+ return {
+ reasons: a && c?.author_key === a ? ["同创作者"] : [],
+ tags: l
+ };
+ };
+}
+async function iMe(e, t, n, r) {
let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {
...ga(i),
status: "new",
@@ -73047,17 +73073,17 @@ async function tMe(e, t, n, r) {
}, t), r);
return o.push(n), n;
}, c = await s(i, 0);
- return A2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && A2(o, e, t, n).length < n && await s("", 0), {
+ return j2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && j2(o, e, t, n).length < n && await s("", 0), {
pages: o,
pageParams: o.map((e) => e.offset || 0)
};
}
// src/react/components/detail-tags.tsx
-var j2 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var M2 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: R(e) }
-});
-function M2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {
+}), aMe = 20;
+function N2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {
let [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(!1), m = Pt({
queryKey: ["tag-management", n],
queryFn: ({ signal: e }) => B(`/api/tag-management${n === "online" ? "?scope=online" : ""}`, e),
@@ -73071,53 +73097,67 @@ function M2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
if (!r) throw Error("标签已变化,请重新打开详情");
return r;
}, (e) => d(e));
- };
+ }, [v, y] = (0, F.useState)(!1), [b, x] = (0, F.useState)([]), S = (e) => {
+ x((t) => [...t, Hn(e)]), s(e);
+ }, C = e.length > 24, w = C && !v ? e.filter((e, t) => t < aMe || b.includes(Hn(e.k))) : e;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-tags": "",
"data-detail-tags": "",
id: r,
- children: [e.map((e) => /* @__PURE__ */ (0, I.jsxs)("span", {
- "data-detail-tag": "",
- "data-tag-cat": e.cat,
- children: [
- /* @__PURE__ */ (0, I.jsx)("button", {
- type: "button",
- "data-tag": e.k,
- "data-follow-tag": n === "online" ? e.k : void 0,
- title: a(e.k),
- onClick: () => o(e.k),
- children: a(e.k)
- }),
- /* @__PURE__ */ (0, I.jsx)("button", {
- type: "button",
- "data-edit-tag": e.k,
- title: "修改标签名称",
- "aria-label": `修改标签 ${a(e.k)}`,
- ...OV(!!g.busy),
- onClick: () => _(e),
- children: /* @__PURE__ */ (0, I.jsx)(j2, { name: "pencil" })
- }),
- /* @__PURE__ */ (0, I.jsx)("button", {
- type: "button",
- "data-remove-tag": e.k,
- title: "从此内容隐藏该标签",
- "aria-label": `删除标签 ${a(e.k)}`,
- ...l(e.k),
- onClick: () => c(e),
- children: /* @__PURE__ */ (0, I.jsx)(j2, { name: "x" })
- })
- ]
- }, e.k)), /* @__PURE__ */ (0, I.jsx)(nMe, {
- tags: e,
- candidates: h,
- label: a,
- onAdd: s,
- adding: i,
- scope: n,
- onOpen: () => p(!0),
- loading: m.isFetching
- })]
+ children: [
+ w.map((e) => /* @__PURE__ */ (0, I.jsxs)("span", {
+ "data-detail-tag": "",
+ "data-tag-cat": e.cat,
+ children: [
+ /* @__PURE__ */ (0, I.jsx)("button", {
+ type: "button",
+ "data-tag": e.k,
+ "data-follow-tag": n === "online" ? e.k : void 0,
+ title: a(e.k),
+ onClick: () => o(e.k),
+ children: a(e.k)
+ }),
+ /* @__PURE__ */ (0, I.jsx)("button", {
+ type: "button",
+ "data-edit-tag": e.k,
+ title: "修改标签名称",
+ "aria-label": `修改标签 ${a(e.k)}`,
+ ...OV(!!g.busy),
+ onClick: () => _(e),
+ children: /* @__PURE__ */ (0, I.jsx)(M2, { name: "pencil" })
+ }),
+ /* @__PURE__ */ (0, I.jsx)("button", {
+ type: "button",
+ "data-remove-tag": e.k,
+ title: "从此内容隐藏该标签",
+ "aria-label": `删除标签 ${a(e.k)}`,
+ ...l(e.k),
+ onClick: () => c(e),
+ children: /* @__PURE__ */ (0, I.jsx)(M2, { name: "x" })
+ })
+ ]
+ }, e.k)),
+ C ? /* @__PURE__ */ (0, I.jsx)(J, {
+ variant: "secondary",
+ size: "small",
+ "data-tags-more": "",
+ "aria-expanded": v,
+ trailingIcon: v ? PB : jB,
+ onClick: () => y(!v),
+ children: v ? "收起" : `还有 ${e.length - w.length} 个`
+ }) : null,
+ /* @__PURE__ */ (0, I.jsx)(oMe, {
+ tags: e,
+ candidates: h,
+ label: a,
+ onAdd: S,
+ adding: i,
+ scope: n,
+ onOpen: () => p(!0),
+ loading: m.isFetching
+ })
+ ]
}),
g.error ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
@@ -73132,7 +73172,7 @@ function M2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
}),
children: "无法读取标签候选"
}) : null,
- u ? /* @__PURE__ */ (0, I.jsx)(d$, {
+ u ? /* @__PURE__ */ (0, I.jsx)(f$, {
operation: "rename",
selected: [u],
scope: n,
@@ -73141,7 +73181,7 @@ function M2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
}) : null
] });
}
-function nMe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {
+function oMe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {
let c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = $V(), d = (0, F.useRef)(null), f = (0, F.useRef)(!1), [p, m] = (0, F.useState)(!1), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), [y, b] = (0, F.useState)(-1), x = (0, F.useRef)({
adding: i,
query: h,
@@ -73187,7 +73227,7 @@ function nMe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
_,
t.length
]);
- let w = p ? Fue(_, t, GP()) : {
+ let w = p ? Lue(_, t, UP()) : {
recent: [],
results: [],
create: ""
@@ -73230,7 +73270,7 @@ function nMe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
"aria-pressed": i,
onClick: () => E(t, i),
children: [
- /* @__PURE__ */ (0, I.jsx)(j2, { name: i ? "check" : "tags" }),
+ /* @__PURE__ */ (0, I.jsx)(M2, { name: i ? "check" : "tags" }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-pick-name": "",
children: n(t.k)
@@ -73251,7 +73291,7 @@ function nMe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
"aria-label": "添加标签",
"aria-expanded": p,
...OV(!!i),
- children: /* @__PURE__ */ (0, I.jsx)(j2, { name: "plus" })
+ children: /* @__PURE__ */ (0, I.jsx)(M2, { name: "plus" })
}), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: l,
id: "tagPicker",
@@ -73264,7 +73304,7 @@ function nMe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
children: [s ? /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: zs("正在读取标签") }
- }) : /* @__PURE__ */ (0, I.jsx)(j2, { name: "search" }), /* @__PURE__ */ (0, I.jsx)("input", {
+ }) : /* @__PURE__ */ (0, I.jsx)(M2, { name: "search" }), /* @__PURE__ */ (0, I.jsx)("input", {
ref: d,
id: "tagPickSearch",
maxLength: 80,
@@ -73308,7 +73348,7 @@ function nMe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
onClick: () => {
C(), r(w.create);
},
- children: [/* @__PURE__ */ (0, I.jsx)(j2, { name: "plus" }), /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(M2, { name: "plus" }), /* @__PURE__ */ (0, I.jsxs)("span", {
"data-pick-name": "",
children: [
"新建“",
@@ -73325,7 +73365,7 @@ function nMe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
})] });
}
// src/react/follow-detail/follow-tags.tsx
-function rMe({ item: e, label: t, actions: n }) {
+function sMe({ item: e, label: t, actions: n }) {
let r = OH(), i = () => H.invalidateQueries({ predicate: (e) => [
"follow-feed",
"follow",
@@ -73349,7 +73389,7 @@ function rMe({ item: e, label: t, actions: n }) {
}, "POST", t);
a(n), await i();
}, () => {
- o === "add" && KP(s);
+ o === "add" && WP(s);
let r = o === "add" ? "remove" : e.custom_tags?.includes(s) ? "add" : "restore";
n.toast(o === "add" ? `已添加标签「${t(s)}」` : `已删除标签「${t(s)}」`, { undo: async () => {
let t = await V("/api/follow/tag", {
@@ -73365,10 +73405,10 @@ function rMe({ item: e, label: t, actions: n }) {
"aria-label": "内容标签",
"data-follow-tag-editor": "",
"data-follow-detail-tags": "",
- children: [/* @__PURE__ */ (0, I.jsx)(M2, {
- tags: zje(e, t).map((t) => ({
+ children: [/* @__PURE__ */ (0, I.jsx)(N2, {
+ tags: Bje(e, t).map((t) => ({
k: t,
- cat: Rje(e, t)
+ cat: zje(e, t)
})),
scope: "online",
adding: !!r.busy,
@@ -73385,22 +73425,22 @@ function rMe({ item: e, label: t, actions: n }) {
});
}
// src/react/follow-detail/follow-detail-page.tsx
-var N2 = (e) => Number(e) > 0, iMe = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var P2 = (e) => Number(e) > 0, cMe = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: R(e) }
-}), P2 = R("external-link", "ui-externalmark");
-function aMe(e) {
+}), F2 = R("external-link", "ui-externalmark");
+function lMe(e) {
let { id: t, actions: n } = e, r = Pt({
- queryKey: $0(t),
- queryFn: ({ signal: e }) => t2(t, e)
+ queryKey: e2(t),
+ queryFn: ({ signal: e }) => n2(t, e)
}), i = Pt({
queryKey: ra,
queryFn: ({ signal: e }) => ia(e)
}), a = (0, F.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, F.useState)(e.mediaIndex);
- return r.data ? /* @__PURE__ */ (0, I.jsx)(cMe, {
+ return r.data ? /* @__PURE__ */ (0, I.jsx)(fMe, {
...e,
data: r.data,
- context: Bje(r.data, a),
+ context: Vje(r.data, a),
mediaIndex: o,
onMedia: s
}) : /* @__PURE__ */ (0, I.jsx)("div", {
@@ -73409,9 +73449,9 @@ function aMe(e) {
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-media": "",
"data-follow-detail-media": "none",
- children: [/* @__PURE__ */ (0, I.jsx)(F2, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {
+ children: [/* @__PURE__ */ (0, I.jsx)(I2, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-detail-placeholder": "",
- children: r.isError ? oMe(r.error) ? /* @__PURE__ */ (0, I.jsx)(sMe, { onBack: n.close }) : /* @__PURE__ */ (0, I.jsx)(GG, {
+ children: r.isError ? uMe(r.error) ? /* @__PURE__ */ (0, I.jsx)(dMe, { onBack: n.close }) : /* @__PURE__ */ (0, I.jsx)(WG, {
message: bn(r.error),
onRetry: () => void r.refetch()
}) : null
@@ -73419,8 +73459,8 @@ function aMe(e) {
})
});
}
-var oMe = (e) => e instanceof e2 || e instanceof or && e.status === 404;
-function sMe({ onBack: e }) {
+var uMe = (e) => e instanceof t2 || e instanceof or && e.status === 404;
+function dMe({ onBack: e }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-detail-gone": "",
onClick: (t) => {
@@ -73429,7 +73469,7 @@ function sMe({ onBack: e }) {
dangerouslySetInnerHTML: { __html: Rs("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }
});
}
-var F2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
+var I2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -73438,8 +73478,8 @@ var F2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function cMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
- let { item: c, group: l } = e, u = Aje(c, l, n, i), d = mMe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, F.useState)({
+function fMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
+ let { item: c, group: l } = e, u = jje(c, l, n, i), d = vMe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, F.useState)({
key: "",
kind: ""
}), h = {
@@ -73459,20 +73499,20 @@ function cMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
c,
u.kind
]);
- let g = !u.embedded.length && u.collection ? jje(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, I.jsx)(z2, {
+ let g = !u.embedded.length && u.collection ? Mje(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, I.jsx)(B2, {
item: c,
current: u.selected.index,
helpers: o,
actions: s,
onMedia: r
- }) : u.collection ? g ? /* @__PURE__ */ (0, I.jsx)(z2, {
+ }) : u.collection ? g ? /* @__PURE__ */ (0, I.jsx)(B2, {
item: g,
current: null,
helpers: o,
actions: s,
onMedia: r,
currentId: c.id
- }) : /* @__PURE__ */ (0, I.jsx)(dMe, {
+ }) : /* @__PURE__ */ (0, I.jsx)(hMe, {
group: u.collection,
itemId: c.id,
helpers: o,
@@ -73482,14 +73522,14 @@ function cMe({ 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, I.jsx)(uMe, {
+ children: [/* @__PURE__ */ (0, I.jsx)(mMe, {
item: c,
media: u,
helpers: o,
actions: s,
onMedia: r,
issues: h
- }, f), /* @__PURE__ */ (0, I.jsx)(fMe, {
+ }, f), /* @__PURE__ */ (0, I.jsx)(gMe, {
item: c,
data: e,
context: t,
@@ -73499,9 +73539,9 @@ function cMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
helpers: o,
actions: s
})]
- }), /* @__PURE__ */ (0, I.jsx)(O2, {
+ }), /* @__PURE__ */ (0, I.jsx)(k2, {
queue: _,
- children: a > 0 ? /* @__PURE__ */ (0, I.jsx)(lMe, {
+ children: a > 0 ? /* @__PURE__ */ (0, I.jsx)(pMe, {
data: e,
media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,
limit: a,
@@ -73511,23 +73551,23 @@ function cMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
}) : null
})] });
}
-function lMe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
+function pMe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
let o = Pt({
- queryKey: eMe(e.item.id, t, n),
- queryFn: ({ signal: r }) => tMe(e, t, n, r)
- }), [s] = (0, F.useState)(() => C2("正在读取推荐", {
+ queryKey: tMe(e.item.id, t, n),
+ queryFn: ({ signal: r }) => iMe(e, t, n, r)
+ }), [s] = (0, F.useState)(() => w2("正在读取推荐", {
cards: !0,
className: "related-skeleton"
})), c = (0, F.useMemo)(() => ({
openDetail: a.openItem,
openAuthor: a.openAuthor,
- canFlip: () => !1
- }), [a]), l = A2(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {
+ canFlip: a.canFlip
+ }), [a]), l = j2(o.data?.pages || [], e, t, n), u = rMe(o.data?.pages || [], e, t), d = o.data?.pages.at(-1)?.sources || e.sources, f = {
...r,
- sources: u,
+ sources: d,
aliases: o.data?.pages.at(-1)?.author_aliases || r.aliases
};
- return /* @__PURE__ */ (0, I.jsx)(D2, {
+ return /* @__PURE__ */ (0, I.jsx)(O2, {
online: !0,
"data-follow-related": "",
wireDrag: i.wireDrag,
@@ -73537,25 +73577,26 @@ function lMe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
onRetry: () => {
o.refetch();
},
- children: o.data ? l.map((e) => /* @__PURE__ */ (0, I.jsx)(GZ, {
+ children: o.data ? l.map((e) => /* @__PURE__ */ (0, I.jsx)(KZ, {
variant: "next",
group: e,
media: t,
- authorSources: o2(e.primary, u),
- context: d,
+ authorSources: s2(e.primary, d),
+ context: f,
selected: !1,
selectMode: !1,
busy: "",
failure: "",
- actions: c
+ actions: c,
+ reason: u(e)
}, e.primary.id)) : /* @__PURE__ */ (0, I.jsx)("div", {
className: "contents",
dangerouslySetInnerHTML: { __html: s }
})
});
}
-function uMe({ 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, F.useRef)(null), p = Vje(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, F.useState)(g), b = (0, F.useRef)({
+function mMe({ 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, F.useRef)(null), p = Hje(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, F.useState)(g), b = (0, F.useRef)({
item: e,
selected: o
}), x = (0, F.useRef)(i.failed);
@@ -73569,14 +73610,14 @@ function uMe({ 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, I.jsx)(F2, { onClose: n.close }),
+ /* @__PURE__ */ (0, I.jsx)(I2, { onClose: n.close }),
h ? null : g ? /* @__PURE__ */ (0, I.jsx)("img", {
"data-follow-detail-poster": "",
"data-zoomable": p.length ? "" : void 0,
src: v,
alt: e.title,
referrerPolicy: "no-referrer",
- onClick: p.length ? () => void PZ(Math.max(0, l), p) : void 0,
+ onClick: p.length ? () => void FZ(Math.max(0, l), p) : void 0,
onError: () => {
_ && v !== _ ? (y(_), i.thumbFallback()) : i.failed();
}
@@ -73584,10 +73625,10 @@ function uMe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"data-follow-detail-placeholder": "",
children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: bG(e.resource_provider || e.provider) }
+ dangerouslySetInnerHTML: { __html: yG(e.resource_provider || e.provider) }
}), /* @__PURE__ */ (0, I.jsx)("span", { children: "没有可用预览" })]
}),
- u ? /* @__PURE__ */ (0, I.jsx)(k2, {
+ u ? /* @__PURE__ */ (0, I.jsx)(A2, {
items: c,
position: l,
onSelect: r,
@@ -73604,11 +73645,11 @@ function uMe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
]
});
}
-var I2 = ({ kind: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var L2 = ({ kind: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-nothumb": "",
dangerouslySetInnerHTML: { __html: R(e === "image" ? "image-off" : "play") }
});
-function L2({ src: e }) {
+function R2({ src: e }) {
let [t, n] = (0, F.useState)(!1);
return t ? null : /* @__PURE__ */ (0, I.jsx)("img", {
src: e,
@@ -73618,27 +73659,27 @@ function L2({ src: e }) {
onError: () => n(!0)
});
}
-function R2(e) {
+function z2(e) {
return (0, F.useCallback)((t) => {
t && e.wireDrag(t);
}, [e]);
}
-function dMe({ group: e, itemId: t, helpers: n, actions: r }) {
- let i = _a(e), a = R2(n);
+function hMe({ group: e, itemId: t, helpers: n, actions: r }) {
+ let i = _a(e), a = z2(n);
return /* @__PURE__ */ (0, I.jsx)(zK, {
kind: "collection",
"data-follow-queue": "",
title: "视频合集",
onClose: r.close,
listRef: a,
- summary: `${SG(e.primary)} · ${i.length} 个视频`,
+ summary: `${xG(e.primary)} · ${i.length} 个视频`,
children: i.map((n) => {
- let i = e.duplicates.includes(n), a = Fje(e, n, i ? n.provider_label : ""), o = i ? bG(n.provider, n.provider_label) : "";
+ let i = e.duplicates.includes(n), a = Ije(e, n, i ? n.provider_label : ""), o = i ? yG(n.provider, n.provider_label) : "";
return /* @__PURE__ */ (0, I.jsxs)(BK, {
current: n.id === t,
"data-follow-queue-item": n.id,
onClick: () => r.openItem(n.id),
- pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(L2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(I2, { kind: "video" }), N2(n.duration) ? /* @__PURE__ */ (0, I.jsx)("i", {
+ pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(R2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(L2, { kind: "video" }), P2(n.duration) ? /* @__PURE__ */ (0, I.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: qn(n.duration)
@@ -73656,15 +73697,15 @@ function dMe({ group: e, itemId: t, helpers: n, actions: r }) {
children: a.label
}), /* @__PURE__ */ (0, I.jsx)("time", {
dateTime: n.published_at || "",
- children: jG(n)
+ children: AG(n)
})]
})]
}, n.id);
})
});
}
-function z2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
- let o = e.media_items || [], s = R2(r), c = [];
+function B2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
+ let o = e.media_items || [], s = z2(r), c = [];
o.forEach((e) => {
let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);
n || (n = {
@@ -73680,8 +73721,8 @@ function z2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
title: "多媒体",
onClose: i.close,
listRef: s,
- summary: `${SG(e)} · ${o.length} 个媒体`,
- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, I.jsx)(Nbe, {
+ summary: `${xG(e)} · ${o.length} 个媒体`,
+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, I.jsx)(Fbe, {
label: n.label,
count: n.items.length
}, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, I.jsxs)(BK, {
@@ -73690,10 +73731,10 @@ function z2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
"data-follow-media-item": n.index,
"data-media-kind": n.media_kind || "",
onClick: () => l(n),
- pic: n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(L2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(I2, { kind: n.media_kind || "" }),
+ pic: n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(R2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(L2, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, I.jsx)("b", {
"data-middle-truncate": "",
- children: Ije(n)
+ children: Lje(n)
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -73701,13 +73742,13 @@ function z2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, n.index))])
});
}
-function fMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
+function gMe({ 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 = OG(d, e), p = EG(e, o2(e, t.sources), n), m = p.credited ? "" : e.author && Hn(e.author) !== Hn(p.author) ? e.author : "", h = kG(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {
+ }, f = DG(d, e), p = TG(e, s2(e, t.sources), n), m = p.credited ? "" : e.author && Hn(e.author) !== Hn(p.author) ? e.author : "", h = OG(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -73723,7 +73764,7 @@ function fMe({ 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: DG(d, e) + z(SG(e)) }
+ dangerouslySetInnerHTML: { __html: EG(d, e) + z(xG(e)) }
}), e.url ? /* @__PURE__ */ (0, I.jsx)("a", {
"data-follow-origin": "",
href: e.url,
@@ -73731,7 +73772,7 @@ function fMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
rel: "noreferrer noopener",
title: "打开来源页面",
"aria-label": "打开来源页面",
- dangerouslySetInnerHTML: { __html: P2 }
+ dangerouslySetInnerHTML: { __html: F2 }
}) : null]
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -73739,8 +73780,8 @@ function fMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-stage-meta": "",
"data-reveal-line": "",
children: [
- /* @__PURE__ */ (0, I.jsx)("span", { children: jG(e) }),
- N2(e.duration) ? /* @__PURE__ */ (0, I.jsx)("span", { children: qn(e.duration) }) : null,
+ /* @__PURE__ */ (0, I.jsx)("span", { children: AG(e) }),
+ P2(e.duration) ? /* @__PURE__ */ (0, I.jsx)("span", { children: qn(e.duration) }) : null,
f ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: f }
@@ -73757,7 +73798,7 @@ function fMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
children: "创作者"
}), /* @__PURE__ */ (0, I.jsx)("div", {
"data-id-row": "",
- children: p.entityName ? /* @__PURE__ */ (0, I.jsxs)(UZ, {
+ children: p.entityName ? /* @__PURE__ */ (0, I.jsxs)(WZ, {
name: p.entityName,
actions: s,
"data-id-cell": "creator",
@@ -73789,7 +73830,7 @@ function fMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
children: [m ? /* @__PURE__ */ (0, I.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, I.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]
}) : null]
}),
- e.summary ? /* @__PURE__ */ (0, I.jsx)(pMe, { text: e.summary }, e.id) : null,
+ e.summary ? /* @__PURE__ */ (0, I.jsx)(_Me, { text: e.summary }, e.id) : null,
h ? /* @__PURE__ */ (0, I.jsx)("p", {
"data-follow-media-issue": "",
children: h
@@ -73812,9 +73853,9 @@ function fMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [Pje(e), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [Fje(e), /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: P2 }
+ dangerouslySetInnerHTML: { __html: F2 }
})]
}, e))
}) : null,
@@ -73914,7 +73955,7 @@ function fMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"aria-label": `恢复显示 ${e.name || ""}`,
...v(`restore:${e.index}`),
onClick: () => i.restore(e.index),
- children: [e.thumb_url ? /* @__PURE__ */ (0, I.jsx)(L2, { src: e.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(iMe, { name: "image-off" }), /* @__PURE__ */ (0, I.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, I.jsx)(R2, { src: e.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(cMe, { name: "image-off" }), /* @__PURE__ */ (0, I.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -73923,7 +73964,7 @@ function fMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"aria-live": "polite",
children: i.failure
}),
- /* @__PURE__ */ (0, I.jsx)(rMe, {
+ /* @__PURE__ */ (0, I.jsx)(sMe, {
item: e,
label: o.tagLabel,
actions: s
@@ -73932,7 +73973,7 @@ function fMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
})
});
}
-function pMe({ text: e }) {
+function _Me({ text: e }) {
let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(!1);
return (0, F.useLayoutEffect)(() => {
let e = t.current;
@@ -73945,7 +73986,7 @@ function pMe({ text: e }) {
ref: t,
"data-follow-detail-summary": "",
"data-long-text": "",
- lang: eL(e),
+ lang: $I(e),
"data-clamped": n ? void 0 : "",
children: e
}), i || n ? /* @__PURE__ */ (0, I.jsx)(J, {
@@ -73957,8 +73998,8 @@ function pMe({ text: e }) {
children: n ? "收起" : "展开"
}) : null] });
}
-function mMe(e, t, n) {
- let r = e.id, i = $0(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), l = (e, t) => o((n) => {
+function vMe(e, t, n) {
+ let r = e.id, i = e2(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), l = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), u = (e) => {
@@ -73977,7 +74018,7 @@ function mMe(e, t, n) {
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), n === "ignored" && xW(), t.toast(Hje(n), { undo: i === "saved" ? void 0 : async () => {
+ u(n), c(""), n === "ignored" && bW(), t.toast(Uje(n), { undo: i === "saved" ? void 0 : async () => {
await V(jr, {
item: r,
to: i
@@ -73987,7 +74028,7 @@ function mMe(e, t, n) {
onError: d,
onSettled: (e, t, { to: n }) => l(n, !1)
}), p = Ft({
- mutationFn: () => V(Dje, { item: r }),
+ mutationFn: () => V(Oje, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到数据库");
},
@@ -73995,7 +74036,7 @@ function mMe(e, t, n) {
onSettled: () => l("save", !1)
}), m = Ft({
mutationFn: async ({ index: e, hidden: t }) => {
- await V(Oje, {
+ await V(kje, {
item: r,
media: e,
hidden: t
@@ -74016,7 +74057,7 @@ function mMe(e, t, n) {
}).data?.want ?? null, g = Ft({
mutationFn: async (e) => (e ? await yW([e.id]) : await vW({ follow: r }), !e),
onSuccess: (e) => {
- c(""), t.toast(e ? "已加入想要" : "已取消想要"), xW();
+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), bW();
},
onError: d,
onSettled: () => l("want", !1)
@@ -74055,8 +74096,8 @@ function mMe(e, t, n) {
};
}
// src/react/components/identity-cell.tsx
-function B2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {
- vL();
+function V2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {
+ _L();
let o = tn(e, t.name, t.id), s = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-id-face": "",
dangerouslySetInnerHTML: { __html: `<span>${z($n(o))}</span>` + ho({
@@ -74102,7 +74143,7 @@ function B2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })
children: c
});
}
-function V2({ people: e, onOpen: t }) {
+function H2({ people: e, onOpen: t }) {
if (!e.length) return null;
let n = (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
@@ -74135,7 +74176,7 @@ function V2({ people: e, onOpen: t }) {
});
}
// src/react/components/folded-title.ts
-function H2(e) {
+function U2(e) {
let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(!1);
return (0, F.useLayoutEffect)(() => {
let e = t.current;
@@ -74152,9 +74193,9 @@ function H2(e) {
};
}
// src/react/item-detail/catalog-picture.tsx
-function U2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
+function W2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
let [i, a] = (0, F.useState)(""), [o, s] = (0, F.useState)(0);
- if (n && t > 0 && e.code) return /* @__PURE__ */ (0, I.jsx)(TQ, {
+ if (n && t > 0 && e.code) return /* @__PURE__ */ (0, I.jsx)(EQ, {
item: {
code: e.code,
has_cover: !1,
@@ -74186,34 +74227,34 @@ function U2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
}, o);
}
// src/react/jav-detail/jav-detail.ts
-var W2 = (e) => ["jav-detail", e], G2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), hMe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), K2 = (e, t) => H.ensureQueryData({
- queryKey: W2(e.code),
- queryFn: () => G2(e.code, t),
+var G2 = (e) => ["jav-detail", e], K2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), yMe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), q2 = (e, t) => H.ensureQueryData({
+ queryKey: G2(e.code),
+ queryFn: () => K2(e.code, t),
staleTime: 216e5,
revalidateIfStale: !0
});
-function gMe(e, t) {
+function bMe(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;
}
// src/react/item-detail/external-playback.tsx
-var q2 = "peach.playback-target.v1", J2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];
-function _Me() {
+var J2 = "peach.playback-target.v1", Y2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];
+function xMe() {
try {
- return localStorage.getItem(q2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;
+ return localStorage.getItem(J2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;
} catch {
return "local:default";
}
}
-function Y2({ id: e, onOpened: t }) {
- let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(_Me), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(0), f = OH();
+function X2({ id: e, onOpened: t }) {
+ let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(xMe), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(0), f = OH();
(0, F.useEffect)(() => {
let e = new AbortController();
return B("/api/local-players", e.signal).then((t) => {
- e.signal.aborted || (r(t.players), a((e) => t.players.some((t) => `local:${t.id}` === e) || J2.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));
+ e.signal.aborted || (r(t.players), a((e) => t.players.some((t) => `local:${t.id}` === e) || Y2.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));
}).catch((t) => {
- e.signal.aborted || (r([]), a((e) => J2.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));
+ e.signal.aborted || (r([]), a((e) => Y2.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));
}), () => e.abort();
}, [u]);
let p = () => void f.run("open", async (t) => {
@@ -74237,17 +74278,17 @@ function Y2({ id: e, onOpened: t }) {
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-local-playback-row": "",
- children: [/* @__PURE__ */ (0, I.jsx)(d1, {
+ children: [/* @__PURE__ */ (0, I.jsx)(f1, {
id: `external-player-${e}`,
label: "外部播放器",
- options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...J2],
+ options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...Y2],
value: i,
disabled: n === null || !!f.busy,
epoch: u * 2 + Number(n !== null),
onPick: (e) => {
a(e), s(null), f.setError("");
try {
- localStorage.setItem(q2, e);
+ localStorage.setItem(J2, e);
} catch {}
}
}), /* @__PURE__ */ (0, I.jsx)(J, {
@@ -74277,7 +74318,7 @@ function Y2({ id: e, onOpened: t }) {
});
}
// src/react/boardui/components/base/switch/switch.tsx
-var vMe = JI({
+var SMe = qI({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -74339,8 +74380,8 @@ var vMe = JI({
}
}
});
-function yMe({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = vMe[t];
+function CMe({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = SMe[t];
return /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
className: q("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? q("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"),
@@ -74350,12 +74391,12 @@ function yMe({ state: e, size: t = "md", shape: n = "pill" }) {
})
});
}
-function X2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, I.jsx)(Cme, {
+function Z2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, I.jsx)(wme, {
ref: i,
...a,
className: (t) => q("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, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(yMe, {
+ children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(CMe, {
state: e,
size: n,
shape: r
@@ -74366,12 +74407,12 @@ function X2({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
});
}
// src/react/cover-crop/cover-crop.ts
-var bMe = "/api/cover-crop", xMe = (e, t) => V(bMe, {
+var wMe = "/api/cover-crop", TMe = (e, t) => V(wMe, {
code: e,
box: t
});
// src/react/cover-crop/cover-crop-page.tsx
-function Z2({ className: e }) {
+function Q2({ className: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -74384,7 +74425,7 @@ function Z2({ className: e }) {
children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-crop" })
});
}
-function SMe({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function EMe({ code: e, coverUrl: t, box: n, onSaved: r }) {
let [i, a] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -74394,13 +74435,13 @@ function SMe({ 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, I.jsx)(Z2, { className: "size-3.75" })
+ children: /* @__PURE__ */ (0, I.jsx)(Q2, { className: "size-3.75" })
}), /* @__PURE__ */ (0, I.jsx)(xV, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, I.jsx)(CMe, {
+ children: /* @__PURE__ */ (0, I.jsx)(DMe, {
code: e,
coverUrl: t,
box: n,
@@ -74409,9 +74450,9 @@ function SMe({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function CMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+function DMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
let [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(null), [l, u] = (0, F.useState)(!0), d = $V(), f = Ft({
- mutationFn: (t) => xMe(e, t),
+ mutationFn: (t) => TMe(e, t),
onSuccess: (e) => {
i(), r(e.poster_box);
}
@@ -74423,19 +74464,19 @@ function CMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : rDe(e, to);
- c(sQ(t, e, null));
+ } : iDe(e, to);
+ c(cQ(t, e, null));
}
let m = f.isPending;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, I.jsx)(SV, { children: /* @__PURE__ */ (0, I.jsx)(Z2, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, I.jsx)(SV, { children: /* @__PURE__ */ (0, I.jsx)(Q2, { className: "size-6" }) }),
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
- /* @__PURE__ */ (0, I.jsx)(tR, {
+ /* @__PURE__ */ (0, I.jsx)(eR, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: "裁剪封面"
@@ -74450,7 +74491,7 @@ function CMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, I.jsx)(xL, {
+ /* @__PURE__ */ (0, I.jsx)(bL, {
icon: RB,
size: "small",
"aria-label": "关闭",
@@ -74461,24 +74502,24 @@ function CMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, I.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, I.jsx)(fQ, {
+ children: /* @__PURE__ */ (0, I.jsx)(pQ, {
src: t,
aspect: l ? to : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- aQ(e) && p(e);
+ oQ(e) && p(e);
},
onBox: c
})
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",
- children: [/* @__PURE__ */ (0, I.jsx)(X2, {
+ children: [/* @__PURE__ */ (0, I.jsx)(Z2, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(sQ(s, a, to));
+ u(e), e && s && a && c(cQ(s, a, to));
},
children: /* @__PURE__ */ (0, I.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -74506,21 +74547,21 @@ function CMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
] });
}
// src/react/item-detail/item-detail-page.tsx
-var Q2 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var $2 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: R(e) }
-}), $2 = ({ html: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+}), e4 = ({ html: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
-}), e4 = (e) => Number(e) > 0 ? Yn(Number(e)) : "大小未知";
-function wMe(e) {
+}), t4 = (e) => Number(e) > 0 ? Yn(Number(e)) : "大小未知";
+function OMe(e) {
let { queue: t, actions: n } = e, r = Pt({
- queryKey: t ? EP(t) : ["item-queue", "none"],
- queryFn: ({ signal: n }) => FP(t, e.helpers, n),
+ queryKey: t ? wP(t) : ["item-queue", "none"],
+ queryFn: ({ signal: n }) => NP(t, e.helpers, n),
enabled: !!t
- }), i = t && r.data || null, a = i ? RP(i, e.id) : t ? null : e.id, o = Pt({
- queryKey: TP(a ?? 0),
- queryFn: ({ signal: e }) => PP(a, e),
+ }), i = t && r.data || null, a = i ? IP(i, e.id) : t ? null : e.id, o = Pt({
+ queryKey: CP(a ?? 0),
+ queryFn: ({ signal: e }) => MP(a, e),
enabled: a != null
});
if (!o.data || t && !i) {
@@ -74531,9 +74572,9 @@ function wMe(e) {
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-media": "",
"data-item-media": "none",
- children: [/* @__PURE__ */ (0, I.jsx)(t4, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {
+ children: [/* @__PURE__ */ (0, I.jsx)(n4, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {
"data-item-placeholder": "",
- children: e ? /* @__PURE__ */ (0, I.jsx)(GG, {
+ children: e ? /* @__PURE__ */ (0, I.jsx)(WG, {
message: bn(e),
onRetry: () => {
r.error && r.refetch(), o.error && o.refetch();
@@ -74543,13 +74584,13 @@ function wMe(e) {
})
});
}
- return /* @__PURE__ */ (0, I.jsx)(TMe, {
+ return /* @__PURE__ */ (0, I.jsx)(kMe, {
...e,
- item: Mue(o.data, i),
+ item: Pue(o.data, i),
queue: i
}, o.data.id);
}
-var t4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
+var n4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -74558,23 +74599,23 @@ var t4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function TMe(e) {
- let { item: t, queue: n, actions: r, helpers: i } = e, a = BMe(t, r, i.tagLabel), o = (0, F.useRef)(t);
+function kMe(e) {
+ let { item: t, queue: n, actions: r, helpers: i } = e, a = WMe(t, r, i.tagLabel), o = (0, F.useRef)(t);
(0, F.useLayoutEffect)(() => {
r.present(o.current, n);
}, [r]), (0, F.useEffect)(() => {
- n?.kind === "playlist" && V(DP, {
+ n?.kind === "playlist" && V(TP, {
action: "progress",
id: n.playlistId,
asset_id: t.id
}).catch(() => {});
}, []);
- let s = aP() ? "" : Hue(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = zP(n, t.id);
+ let s = rP() ? "" : Wue(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = LP(n, t.id);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-grid": "",
"data-with-queue": n ? "" : void 0,
"data-item-detail": "",
- children: [/* @__PURE__ */ (0, I.jsx)(EMe, {
+ children: [/* @__PURE__ */ (0, I.jsx)(AMe, {
item: t,
gate: s,
helpers: i,
@@ -74587,22 +74628,22 @@ function TMe(e) {
autoplay: !0
}, c.id);
}
- }), /* @__PURE__ */ (0, I.jsx)(jMe, {
+ }), /* @__PURE__ */ (0, I.jsx)(FMe, {
item: t,
queue: n,
write: a,
helpers: i,
actions: r
})]
- }), /* @__PURE__ */ (0, I.jsx)(O2, {
+ }), /* @__PURE__ */ (0, I.jsx)(k2, {
queueCards: n?.kind === "parts" || n?.kind === "editions" ? n.items.length : void 0,
- queue: n ? /* @__PURE__ */ (0, I.jsx)(OMe, {
+ queue: n ? /* @__PURE__ */ (0, I.jsx)(MMe, {
queue: n,
itemId: t.id,
helpers: i,
actions: r
}) : null,
- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, I.jsx)(zMe, {
+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, I.jsx)(UMe, {
...e,
item: n ? {
...t,
@@ -74611,12 +74652,12 @@ function TMe(e) {
}) : null
})] });
}
-function EMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
+function AMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
let [o, s] = (0, F.useState)(t ? "" : "auto"), c = (0, F.useRef)(null), [l, u] = (0, F.useState)(-2), d = (0, F.useRef)(!1), f = Pt({
- queryKey: W2(e.code || ""),
+ queryKey: G2(e.code || ""),
queryFn: ({ signal: t }) => {
let n = d.current;
- return d.current = !1, G2(e.code, t, n);
+ return d.current = !1, K2(e.code, t, n);
},
staleTime: 216e5,
enabled: !!e.is_jav && !!e.code && !e.sample_images?.length
@@ -74661,7 +74702,7 @@ function EMe({ 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, I.jsx)(t4, { onClose: r.close }),
+ /* @__PURE__ */ (0, I.jsx)(n4, { onClose: r.close }),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-player-toolbar": "",
children: [
@@ -74671,21 +74712,21 @@ function EMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
"data-jav-preview-toggle": "",
"aria-pressed": l !== -2,
onClick: () => g(l === -2 ? m[0].index : -2),
- children: [/* @__PURE__ */ (0, I.jsx)(Q2, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
+ children: [/* @__PURE__ */ (0, I.jsx)($2, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
}) : null,
/* @__PURE__ */ (0, I.jsx)("span", { "data-player-net-slot": "" })
]
}),
- h ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l === -2 ? null : /* @__PURE__ */ (0, I.jsx)(U2, {
+ h ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l === -2 ? null : /* @__PURE__ */ (0, I.jsx)(W2, {
item: e,
image: l,
source: p.find((e) => e.index === l)?.source
- }, e.id), /* @__PURE__ */ (0, I.jsx)(k2, {
+ }, e.id), /* @__PURE__ */ (0, I.jsx)(A2, {
items: m,
position: Math.max(0, m.findIndex((e) => e.index === l)),
onSelect: g,
below: !0,
- renderThumbnail: (t) => /* @__PURE__ */ (0, I.jsx)(U2, {
+ renderThumbnail: (t) => /* @__PURE__ */ (0, I.jsx)(W2, {
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,
@@ -74710,7 +74751,7 @@ function EMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
children: "立即重试"
})
}) : null,
- t === "offline" ? /* @__PURE__ */ (0, I.jsx)(DMe, {
+ t === "offline" ? /* @__PURE__ */ (0, I.jsx)(jMe, {
item: e,
badge: y,
helpers: n,
@@ -74721,7 +74762,7 @@ function EMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
children: [
/* @__PURE__ */ (0, I.jsx)("b", { children: "ISO 原盘" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: "请使用支持原盘的外部播放器打开。" }),
- /* @__PURE__ */ (0, I.jsx)(Y2, {
+ /* @__PURE__ */ (0, I.jsx)(X2, {
id: e.id,
onOpened: () => r.toast("已请求打开本地播放器")
}, e.id)
@@ -74731,7 +74772,7 @@ function EMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
role: "status",
"data-item-gate": "online",
children: [
- /* @__PURE__ */ (0, I.jsx)($2, { html: y }),
+ /* @__PURE__ */ (0, I.jsx)(e4, { html: y }),
/* @__PURE__ */ (0, I.jsx)("b", { children: "在线作品" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),
/* @__PURE__ */ (0, I.jsx)("button", {
@@ -74746,12 +74787,12 @@ function EMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
id: "gate",
"data-item-gate": "metered",
onClick: () => s("clicked"),
- children: [/* @__PURE__ */ (0, I.jsx)($2, { html: y }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["点此开始拉流 · ", e4(e.size)] })]
+ children: [/* @__PURE__ */ (0, I.jsx)(e4, { html: y }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["点此开始拉流 · ", t4(e.size)] })]
}) : null
]
});
}
-function DMe({ item: e, badge: t, helpers: n, actions: r }) {
+function jMe({ item: e, badge: t, helpers: n, actions: r }) {
let [i, a] = (0, F.useState)(!1), [o, s] = (0, F.useState)(!1), c = async () => {
a(!0);
let t = await r.checkSource(e.location || "").catch(() => !1);
@@ -74762,7 +74803,7 @@ function DMe({ item: e, badge: t, helpers: n, actions: r }) {
role: "status",
"data-item-gate": "offline",
children: [
- /* @__PURE__ */ (0, I.jsx)($2, { html: t }),
+ /* @__PURE__ */ (0, I.jsx)(e4, { html: t }),
/* @__PURE__ */ (0, I.jsx)("b", { children: "媒体目录无法访问" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: n.offlineReason(String(e.root_id || e.location || "")) }),
/* @__PURE__ */ (0, I.jsx)("button", {
@@ -74776,8 +74817,8 @@ function DMe({ item: e, badge: t, helpers: n, actions: r }) {
]
});
}
-function OMe({ queue: e, itemId: t, helpers: n, actions: r }) {
- let i = Rue(e), a = (0, F.useRef)(null), o = AMe(e, t, r), s = (0, F.useRef)(o);
+function MMe({ queue: e, itemId: t, helpers: n, actions: r }) {
+ let i = Bue(e), a = (0, F.useRef)(null), o = PMe(e, t, r), s = (0, F.useRef)(o);
s.current = o;
let c = (0, F.useCallback)((t) => {
a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {
@@ -74785,7 +74826,7 @@ function OMe({ 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 = kMe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)("button", {
+ }, [n, e.kind]), l = NMe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-save-mix": "",
title: "保存为播放列表",
@@ -74813,10 +74854,10 @@ function OMe({ 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, I.jsx)("i", {
- className: `javedition ${Iue[i.edition_label] || "censored"}`,
+ className: `javedition ${Rue[i.edition_label] || "censored"}`,
"data-queue-edition": "",
children: i.edition_label
- }) : null, s = e.kind === "playlist" && LP(i);
+ }) : null, s = e.kind === "playlist" && FP(i);
return /* @__PURE__ */ (0, I.jsxs)(BK, {
current: i.id === t,
"data-queue-item": i.id,
@@ -74827,25 +74868,25 @@ function OMe({ queue: e, itemId: t, helpers: n, actions: r }) {
onClick: () => {
s || r.openQueueItem(d, i.id);
},
- pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)($2, { html: Do(i, n.javImage()) }), /* @__PURE__ */ (0, I.jsx)("i", {
+ pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(e4, { html: Do(i, n.javImage()) }), /* @__PURE__ */ (0, I.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: qn(i.duration)
})] }),
- lead: /* @__PURE__ */ (0, I.jsx)($2, { html: Ao(i) }),
+ lead: /* @__PURE__ */ (0, I.jsx)(e4, { html: Ao(i) }),
after: e.kind === "playlist" ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-queue-edit": "",
children: [/* @__PURE__ */ (0, I.jsx)("i", {
"data-queue-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, I.jsx)(Q2, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, I.jsx)($2, { name: "grip-vertical" })
}), /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-queue-remove": i.id,
title: "移出播放列表",
"aria-label": "移出播放列表",
onClick: () => o.remove(i.id),
- children: /* @__PURE__ */ (0, I.jsx)(Q2, { name: "x" })
+ children: /* @__PURE__ */ (0, I.jsx)($2, { name: "x" })
})]
}) : null,
children: [/* @__PURE__ */ (0, I.jsxs)("span", {
@@ -74856,14 +74897,14 @@ function OMe({ queue: e, itemId: t, helpers: n, actions: r }) {
})]
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-truncate-end": "",
- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? qP(i.part_label) : jo(i, n.tagLabel)
+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? GP(i.part_label) : jo(i, n.tagLabel)
})]
}, i.id);
})
});
}
-function kMe(e, t) {
- let n = Ft({ mutationFn: (t) => V(DP, {
+function NMe(e, t) {
+ let n = Ft({ mutationFn: (t) => V(TP, {
action: "create",
name: t,
asset_ids: e.items.map((e) => e.id),
@@ -74876,11 +74917,11 @@ function kMe(e, t) {
save: (e) => n.mutateAsync(e)
});
}
-function AMe(e, t, n) {
- let r = EP({
+function PMe(e, t, n) {
+ let r = wP({
kind: "playlist",
playlistId: e.playlistId
- }), i = (e) => (H.setQueryData(r, IP(e)), e), a = (t) => V(DP, {
+ }), i = (e) => (H.setQueryData(r, PP(e)), e), a = (t) => V(TP, {
id: e.playlistId,
...t
}).then((e) => e.playlist), o = Ft({
@@ -74896,8 +74937,8 @@ function AMe(e, t, n) {
return {
move: async (t, r, c) => {
if (e.kind !== "playlist") return;
- let l = Bue(s, t, r, c);
- if (Vue(l, s)) return;
+ let l = Hue(s, t, r, c);
+ if (Uue(l, s)) return;
let u = s;
await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {
i(await a({
@@ -74939,7 +74980,7 @@ function AMe(e, t, n) {
}
};
}
-function jMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
+function FMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-stage-side": "",
@@ -74947,7 +74988,7 @@ function jMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-side-content": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(MMe, {
+ /* @__PURE__ */ (0, I.jsx)(IMe, {
item: e,
queue: t,
helpers: r,
@@ -74959,7 +75000,7 @@ function jMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-live": "polite",
children: n.sourceState
}),
- /* @__PURE__ */ (0, I.jsx)(PMe, {
+ /* @__PURE__ */ (0, I.jsx)(RMe, {
item: e,
write: n
}),
@@ -74970,7 +75011,7 @@ function jMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: [
e.width && e.height ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, I.jsx)(Q2, { name: "monitor" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [
+ children: [/* @__PURE__ */ (0, I.jsx)($2, { name: "monitor" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [
e.width,
"×",
e.height
@@ -74978,11 +75019,11 @@ function jMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}) : null,
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, I.jsx)(Q2, { name: "hard-drive" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e4(e.size) })]
+ children: [/* @__PURE__ */ (0, I.jsx)($2, { name: "hard-drive" }), /* @__PURE__ */ (0, I.jsx)("span", { children: t4(e.size) })]
}),
e.release_date ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, I.jsx)(Q2, { name: "calendar" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.release_date })]
+ children: [/* @__PURE__ */ (0, I.jsx)($2, { name: "calendar" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.release_date })]
}) : null,
e.region_label ? /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
@@ -74990,20 +75031,20 @@ function jMe({ 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, I.jsx)(Q2, { name: "globe" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
+ children: [/* @__PURE__ */ (0, I.jsx)($2, { name: "globe" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
}) : null
]
}),
- (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, I.jsx)(Y2, {
+ (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, I.jsx)(X2, {
id: e.id,
onOpened: () => i.toast("已请求打开本地播放器")
}, e.id) : null,
- /* @__PURE__ */ (0, I.jsx)(FMe, {
+ /* @__PURE__ */ (0, I.jsx)(zMe, {
item: e,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, I.jsx)(IMe, {
+ /* @__PURE__ */ (0, I.jsx)(BMe, {
item: e,
write: n,
helpers: r,
@@ -75012,10 +75053,10 @@ function jMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
/* @__PURE__ */ (0, I.jsx)(ZK, {
assetIds: XK([e], r.javImage()),
onComplete: () => {
- H.invalidateQueries({ queryKey: TP(e.id) });
+ H.invalidateQueries({ queryKey: CP(e.id) });
}
}),
- /* @__PURE__ */ (0, I.jsx)(LMe, { item: e }),
+ /* @__PURE__ */ (0, I.jsx)(VMe, { item: e }),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-actions": "",
"data-item-feedback": "",
@@ -75029,7 +75070,7 @@ function jMe({ 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, I.jsx)(Q2, { name: "thumbs-up" })
+ children: /* @__PURE__ */ (0, I.jsx)($2, { name: "thumbs-up" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75041,7 +75082,7 @@ function jMe({ 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, I.jsx)(Q2, { name: "notebook-pen" })
+ children: /* @__PURE__ */ (0, I.jsx)($2, { name: "notebook-pen" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75052,7 +75093,7 @@ function jMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "dislike",
...o("dislike"),
onClick: () => n.feedback("dislike"),
- children: /* @__PURE__ */ (0, I.jsx)(Q2, { name: "thumbs-down" })
+ children: /* @__PURE__ */ (0, I.jsx)($2, { name: "thumbs-down" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75063,7 +75104,7 @@ function jMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "seen",
...o("seen"),
onClick: () => n.feedback("seen"),
- children: /* @__PURE__ */ (0, I.jsx)(Q2, { name: "eye" })
+ children: /* @__PURE__ */ (0, I.jsx)($2, { name: "eye" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75074,7 +75115,7 @@ function jMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.watch_later,
...o("later"),
onClick: n.later,
- children: /* @__PURE__ */ (0, I.jsx)(Q2, { name: e.watch_later ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, I.jsx)($2, { name: e.watch_later ? "check" : "bookmark-plus" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75083,7 +75124,7 @@ function jMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-label": "加入播放列表",
title: "加入播放列表",
onClick: () => i.addToPlaylist(e),
- children: /* @__PURE__ */ (0, I.jsx)(Q2, { name: "playlist" })
+ children: /* @__PURE__ */ (0, I.jsx)($2, { name: "playlist" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75094,7 +75135,7 @@ function jMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.better_version,
...o("quality"),
onClick: n.quality,
- children: /* @__PURE__ */ (0, I.jsx)(Q2, { name: "sparkles" })
+ children: /* @__PURE__ */ (0, I.jsx)($2, { name: "sparkles" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75105,11 +75146,11 @@ function jMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.disposal === "trash",
...o("dispose"),
onClick: () => n.feedback("dispose"),
- children: /* @__PURE__ */ (0, I.jsx)(Q2, { name: "trash" })
+ children: /* @__PURE__ */ (0, I.jsx)($2, { name: "trash" })
})
]
}),
- /* @__PURE__ */ (0, I.jsx)(RMe, {
+ /* @__PURE__ */ (0, I.jsx)(HMe, {
item: e,
open: s,
write: n
@@ -75120,7 +75161,7 @@ function jMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
...o("o"),
onClick: () => n.feedback("o"),
children: [
- /* @__PURE__ */ (0, I.jsx)(Q2, { name: "sperm" }),
+ /* @__PURE__ */ (0, I.jsx)($2, { name: "sperm" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: "记一次高潮" }),
/* @__PURE__ */ (0, I.jsx)("b", {
className: "mono",
@@ -75133,8 +75174,8 @@ function jMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
});
}
-function MMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
- let { text: a, expanded: o, foldable: s, toggle: c } = H2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + zue(e, t);
+function IMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
+ let { text: a, expanded: o, foldable: s, toggle: c } = U2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Vue(e, t);
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -75165,19 +75206,19 @@ function MMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
}),
e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-cover-crop-host": "",
- children: /* @__PURE__ */ (0, I.jsx)(SMe, {
+ children: /* @__PURE__ */ (0, I.jsx)(EMe, {
code: e.cover_key || e.code || "",
coverUrl: co(e),
box: e.poster_box || null,
onSaved: (t) => {
H.invalidateQueries({
- queryKey: TP(e.id),
+ queryKey: CP(e.id),
exact: !0
- }), xP((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });
+ }), yP((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });
}
})
}) : null,
- e.location === "online" ? null : /* @__PURE__ */ (0, I.jsx)(NMe, {
+ e.location === "online" ? null : /* @__PURE__ */ (0, I.jsx)(LMe, {
id: e.id,
actions: r,
onStatus: i
@@ -75187,7 +75228,7 @@ function MMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
});
}
-function NMe({ id: e, actions: t, onStatus: n }) {
+function LMe({ id: e, actions: t, onStatus: n }) {
let [r, i] = (0, F.useState)(""), a = async () => {
r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));
}, o = async () => {
@@ -75217,17 +75258,17 @@ function NMe({ id: e, actions: t, onStatus: n }) {
"aria-disabled": !0
} : {},
onClick: () => void o(),
- children: /* @__PURE__ */ (0, I.jsx)(Q2, { name: "folder-sync" })
+ children: /* @__PURE__ */ (0, I.jsx)($2, { name: "folder-sync" })
})] });
}
-function PMe({ item: e, write: t }) {
- let n = CP(e.rating);
+function RMe({ item: e, write: t }) {
+ let n = xP(e.rating);
return /* @__PURE__ */ (0, I.jsxs)("div", {
id: "detailRating",
role: "group",
"data-item-rating": "",
"aria-label": "评分",
- "data-value": SP(e.rating),
+ "data-value": bP(e.rating),
children: [/* @__PURE__ */ (0, I.jsx)(uY, {
value: n,
onRate: (e) => t.rate(e),
@@ -75242,14 +75283,14 @@ function PMe({ item: e, write: t }) {
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-rating-value": "",
"aria-live": "polite",
- children: Oue(e.rating)
+ children: Aue(e.rating)
})]
});
}
-function FMe({ item: e, actions: t }) {
- let n = (0, F.useMemo)(() => Nue(e), [e]), [r, i] = (0, F.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
+function zMe({ item: e, actions: t }) {
+ let n = (0, F.useMemo)(() => Fue(e), [e]), [r, i] = (0, F.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
let a = e === "performer" && i >= 8 && !r;
- return /* @__PURE__ */ (0, I.jsx)(B2, {
+ return /* @__PURE__ */ (0, I.jsx)(V2, {
kind: e,
person: n,
onOpen: t.openEntity,
@@ -75281,7 +75322,7 @@ function FMe({ item: e, actions: t }) {
onClick: t.openUnowned,
children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-id-face": "",
- children: /* @__PURE__ */ (0, I.jsx)(Q2, { name: "user-round" })
+ children: /* @__PURE__ */ (0, I.jsx)($2, { name: "user-round" })
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-id-name": "",
children: "未归属"
@@ -75293,7 +75334,7 @@ function FMe({ item: e, actions: t }) {
size: "small",
id: "castMore",
"data-cast-more": "",
- trailingIcon: MB,
+ trailingIcon: jB,
"aria-expanded": !1,
onClick: () => i(!0),
children: [
@@ -75312,18 +75353,18 @@ function FMe({ item: e, actions: t }) {
children: [c.length ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-identity-primary": "",
children: c
- }) : null, /* @__PURE__ */ (0, I.jsx)(V2, {
+ }) : null, /* @__PURE__ */ (0, I.jsx)(H2, {
people: n.series,
onOpen: t.openEntity
})]
});
}
-function IMe({ item: e, write: t, helpers: n, actions: r }) {
+function BMe({ item: e, write: t, helpers: n, actions: r }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-item-tags": "",
- children: /* @__PURE__ */ (0, I.jsx)(M2, {
+ children: /* @__PURE__ */ (0, I.jsx)(N2, {
id: "detailTags",
- tags: Pue(e, n),
+ tags: Iue(e, n),
candidates: n.tagCandidates(),
label: n.tagLabel,
adding: [...t.busy].some((e) => e.startsWith("add:")),
@@ -75331,11 +75372,11 @@ function IMe({ item: e, write: t, helpers: n, actions: r }) {
onAdd: t.addTag,
onRemove: t.removeTag,
busyAttrs: (e) => t.busyAttrs(`tag:${e}`)
- })
+ }, e.id)
});
}
-function LMe({ item: e }) {
- let t = Uue(e);
+function VMe({ item: e }) {
+ let t = Gue(e);
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-item-trace": "",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -75369,7 +75410,7 @@ function LMe({ item: e }) {
})]
});
}
-function RMe({ item: e, open: t, write: n }) {
+function HMe({ item: e, open: t, write: n }) {
let [r, i] = (0, F.useState)(e.like_reason || ""), a = (0, F.useRef)(null);
(0, F.useEffect)(() => {
t && a.current?.focus();
@@ -75408,12 +75449,12 @@ function RMe({ item: e, open: t, write: n }) {
})]
});
}
-function zMe(e) {
+function UMe(e) {
let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Pt({
- queryKey: kue(t.id, n),
- queryFn: async ({ signal: e }) => (await B(jue(t.id, n), e)).items || []
+ queryKey: jue(t.id, n),
+ queryFn: async ({ signal: e }) => (await B(Nue(t.id, n), e)).items || []
}), [o] = (0, F.useState)(() => r.relatedSkeletonHtml());
- return /* @__PURE__ */ (0, I.jsx)(D2, {
+ return /* @__PURE__ */ (0, I.jsx)(O2, {
wireDrag: r.wireDrag,
busy: a.isPending,
empty: a.data?.length === 0,
@@ -75434,11 +75475,11 @@ function zMe(e) {
revision: 0,
wireDrag: r.wireDrag,
skeletonHtml: () => ""
- }) : /* @__PURE__ */ (0, I.jsx)($2, { html: o })
+ }) : /* @__PURE__ */ (0, I.jsx)(e4, { html: o })
});
}
-function BMe(e, t, n) {
- let r = e.id, i = TP(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = (e, t) => o((n) => {
+function WMe(e, t, n) {
+ let r = e.id, i = CP(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), f = () => H.getQueryData(i) || e, p = (e) => {
@@ -75454,7 +75495,7 @@ function BMe(e, t, n) {
rating: t.rating,
o_count: t.o_count
};
- return bP(r, n), t;
+ return vP(r, n), t;
}, m = (e, t) => V(e, {
id: r,
...t
@@ -75469,7 +75510,7 @@ function BMe(e, t, n) {
run: n
}));
}, _ = async (e, t) => {
- let n = await m(OP, t === void 0 ? { kind: e } : {
+ let n = await m(EP, t === void 0 ? { kind: e } : {
kind: e,
value: t
});
@@ -75489,21 +75530,21 @@ function BMe(e, t, n) {
"aria-disabled": !0
} : {},
rate: (e) => g(`rate:${e}`, "评分", async () => {
- let n = f().rating || 0, r = wP(n, e);
- await _("rate", r), t.toast(r ? `已评 ${CP(r)} 星` : "已取消评分", { undo: async () => {
+ let n = f().rating || 0, r = SP(n, e);
+ await _("rate", r), t.toast(r ? `已评 ${xP(r)} 星` : "已取消评分", { undo: async () => {
await _("rate", n);
} });
}),
feedback: (e) => g(e, "操作", async () => {
let n = { feedback: f().feedback || null }, r = await _(e);
- t.toast(JP(e, r), { undo: async () => {
+ t.toast(KP(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(AP, {});
+ let e = await m(OP, {});
p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
- p({ watch_later: (await m(AP, {})).watch_later });
+ p({ watch_later: (await m(OP, {})).watch_later });
} });
}),
quality: () => g("quality", "更新版本需求", async () => {
@@ -75513,9 +75554,9 @@ function BMe(e, t, n) {
}, n = (e) => p({
better_version: e.better_version,
better_version_reason: e.better_version_reason || ""
- }), r = await m(jP, { wanted: !e.wanted });
+ }), r = await m(kP, { wanted: !e.wanted });
n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {
- n(await m(jP, e));
+ n(await m(kP, e));
} });
}),
preference: ({ liked: e, reason: n }) => {
@@ -75529,7 +75570,7 @@ function BMe(e, t, n) {
});
u("保存中…");
try {
- o(await m(MP, {
+ o(await m(AP, {
liked: a,
reason: i
}));
@@ -75539,7 +75580,7 @@ function BMe(e, t, n) {
u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);
let s = f();
t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {
- o(await m(MP, r));
+ o(await m(AP, r));
} });
});
},
@@ -75548,41 +75589,41 @@ function BMe(e, t, n) {
operation: "remove",
tag: e.k
})).ok) throw Error("标签未删除");
- p((t) => HP(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
- await m(kP, {
+ p((t) => BP(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
+ await m(DP, {
operation: "add",
tag: e.k
- }), p((t) => UP(t, e));
+ }), p((t) => VP(t, e));
} });
}),
addTag: (e) => {
let r = e.trim();
r && g(`add:${r}`, "添加标签", async () => {
- let e = await m(kP, {
+ let e = await m(DP, {
operation: "add",
tag: r
});
if (!e.ok) return;
let i = e.tag || r;
- VP(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => UP(e, {
+ zP(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => VP(e, {
k: i,
cat: "general"
- })), KP(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {
- await m(kP, {
+ })), WP(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {
+ await m(DP, {
operation: "remove",
tag: i
- }), p((e) => HP(e, i));
+ }), p((e) => BP(e, i));
} }));
});
}
};
}
// src/react/publication-cache.ts
-var n4 = 864e5, r4 = (e) => {
+var r4 = 864e5, i4 = (e) => {
let t = new Date(e);
return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());
};
-function i4(e) {
+function a4(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));
@@ -75590,25 +75631,25 @@ function i4(e) {
let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();
return Date.UTC(n, r + 1, Math.min(i, o));
}
-function VMe(e, t = Date.now()) {
- let n = i4(e);
- return n !== void 0 && r4(t) > n ? Infinity : n4;
+function GMe(e, t = Date.now()) {
+ let n = a4(e);
+ return n !== void 0 && i4(t) > n ? Infinity : r4;
}
-function a4(e, t, n = Date.now()) {
- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : VMe(t, n) === Infinity ? r4(e) > i4(t) : n - e < n4;
+function o4(e, t, n = Date.now()) {
+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : GMe(t, n) === Infinity ? i4(e) > a4(t) : n - e < r4;
}
// src/react/wants/resource-cache.ts
-var o4 = "peach.want-resources.v2";
-function s4(e) {
+var s4 = "peach.want-resources.v2";
+function c4(e) {
return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);
}
-function c4(e, t, n) {
- return !!e && !e.cache_stale && (e.state === "error" || !s4(e) ? Date.now() - t < 6e4 : a4(t, n));
+function l4(e, t, n) {
+ return !!e && !e.cache_stale && (e.state === "error" || !c4(e) ? Date.now() - t < 6e4 : o4(t, n));
}
-function l4() {
+function u4() {
try {
- let e = JSON.parse(localStorage.getItem(o4) || "[]");
- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && s4(e.result) && e.result.items.every((e) => e && [
+ let e = JSON.parse(localStorage.getItem(s4) || "[]");
+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && c4(e.result) && e.result.items.every((e) => e && [
"magnet",
"ed2k",
"url"
@@ -75617,23 +75658,23 @@ function l4() {
return [];
}
}
-function HMe(e, t) {
- let n = l4().find((t) => t.code === e);
- return n && a4(n.saved, t) ? n : void 0;
+function KMe(e, t) {
+ let n = u4().find((t) => t.code === e);
+ return n && o4(n.saved, t) ? n : void 0;
}
-function UMe(e) {
- let t = new Map(l4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();
+function qMe(e) {
+ let t = new Map(u4().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 && a4(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
+ e && o4(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
}
return n;
}
-function WMe(e, t) {
- if (t.state === "ready" && s4(t)) try {
- let n = l4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
- localStorage.setItem(o4, JSON.stringify([{
+function JMe(e, t) {
+ if (t.state === "ready" && c4(t)) try {
+ let n = u4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
+ localStorage.setItem(s4, JSON.stringify([{
code: e,
saved: Number.isFinite(r) ? r : Date.now(),
result: t
@@ -75641,15 +75682,15 @@ function WMe(e, t) {
} catch {}
}
// src/react/wants/resource-display.ts
-function GMe(e) {
+function YMe(e) {
let t = (e ?? "").trim(), n = /^([\d,]+)\s*B$/i.exec(t);
return /^[\d,.]+$/.test(t) ? "大小未知" : n ? Yn(Number(n[1].replaceAll(",", ""))) : e || "大小未知";
}
-function KMe(e) {
+function XMe(e) {
return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;
}
// src/react/wants/want-magnets.tsx
-function u4({ icon: e, children: t, title: n }) {
+function d4({ icon: e, children: t, title: n }) {
return /* @__PURE__ */ (0, I.jsxs)("span", {
title: n,
className: "inline-flex items-center gap-1",
@@ -75659,8 +75700,8 @@ function u4({ icon: e, children: t, title: n }) {
}), t]
});
}
-function d4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
- let s = (0, F.useRef)(null), [c, l] = (0, F.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, F.useState)([]), f = OH(), p = ae(), m = (0, F.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, F.useMemo)(() => HMe(h, e.release_date), [h, e.release_date]);
+function f4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
+ let s = (0, F.useRef)(null), [c, l] = (0, F.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, F.useState)([]), f = OH(), p = ae(), m = (0, F.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, F.useMemo)(() => KMe(h, e.release_date), [h, e.release_date]);
(0, F.useEffect)(() => {
if (!s.current || c) return;
let e = new IntersectionObserver((t) => {
@@ -75680,15 +75721,15 @@ function d4({ 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 B(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);
- return m.current = n && i.state === "busy", WMe(h, i), i;
+ return m.current = n && i.state === "busy", JMe(h, i), i;
},
initialData: g?.result,
initialDataUpdatedAt: g?.saved,
enabled: c,
retry: !1,
- staleTime: (t) => c4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
+ staleTime: (t) => l4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
gcTime: 864e5,
- refetchOnMount: (t) => !c4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",
+ refetchOnMount: (t) => !l4(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
});
@@ -75748,9 +75789,9 @@ function d4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}) : null,
_.data?.warnings?.map((e) => /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "neutral",
- children: KMe(e)
+ children: XMe(e)
}, e)),
- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, I.jsx)(NL, {
+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, I.jsx)(ML, {
variant: "secondary",
size: "small",
className: "self-start",
@@ -75793,25 +75834,25 @@ function d4({ 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, I.jsx)(u4, {
+ /* @__PURE__ */ (0, I.jsx)(d4, {
icon: rge,
children: e.source
}),
- /* @__PURE__ */ (0, I.jsx)(u4, {
+ /* @__PURE__ */ (0, I.jsx)(d4, {
icon: YB,
title: e.size ? `来源大小:${e.size}` : void 0,
- children: GMe(e.size)
+ children: YMe(e.size)
}),
- e.files ? /* @__PURE__ */ (0, I.jsx)(u4, {
+ e.files ? /* @__PURE__ */ (0, I.jsx)(d4, {
icon: Khe,
children: e.files.replaceAll("個", "个")
}) : null,
- /* @__PURE__ */ (0, I.jsx)(u4, {
+ /* @__PURE__ */ (0, I.jsx)(d4, {
icon: Phe,
title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",
children: e.date ? e.date.slice(0, 10) : "日期未知"
}),
- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, I.jsx)(u4, {
+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, I.jsx)(d4, {
icon: nV,
children: e
}, e))
@@ -75821,7 +75862,7 @@ function d4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
"data-resource-actions": "",
className: "flex flex-wrap gap-2",
children: [
- /* @__PURE__ */ (0, I.jsx)(NL, {
+ /* @__PURE__ */ (0, I.jsx)(ML, {
"data-button-link": "",
variant: "secondary",
size: "small",
@@ -75868,10 +75909,10 @@ function d4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
});
}
// src/react/jav-detail/review-cache.ts
-var f4 = "peach.jav-reviews.v2";
-function p4() {
+var p4 = "peach.jav-reviews.v2";
+function m4() {
try {
- let e = localStorage.getItem(f4) || "[]";
+ let e = localStorage.getItem(p4) || "[]";
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")) : [];
@@ -75879,21 +75920,21 @@ function p4() {
return [];
}
}
-function qMe(e, t) {
+function ZMe(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
- }, ...p4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
- i.length <= 2e6 && localStorage.setItem(f4, i);
+ }, ...m4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
+ i.length <= 2e6 && localStorage.setItem(p4, i);
} catch {}
}
-function JMe(e, t) {
- let n = p4(), r = [], i = Infinity;
+function QMe(e, t) {
+ let n = m4(), r = [], i = Infinity;
for (let a = 1; a <= 8; a++) {
let o = n.find((t) => t.code === e && t.result.page === a);
- if (!o || !a4(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
+ if (!o || !o4(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
}
return r.length ? {
pages: r,
@@ -75901,16 +75942,16 @@ function JMe(e, t) {
saved: i
} : void 0;
}
-function YMe(e, t, n) {
- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && a4(Date.parse(e.checked_at || "") || t, n));
+function $Me(e, t, n) {
+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && o4(Date.parse(e.checked_at || "") || t, n));
}
// src/react/jav-detail/jav-detail-page.tsx
-function XMe(e) {
+function eNe(e) {
let t = (0, F.useRef)(!1), n = Pt({
- queryKey: W2(e.code),
+ queryKey: G2(e.code),
queryFn: ({ signal: n }) => {
let r = t.current;
- return t.current = !1, G2(e.code, n, r);
+ return t.current = !1, K2(e.code, n, r);
},
staleTime: 216e5
}), r = () => {
@@ -75920,21 +75961,21 @@ function XMe(e) {
"data-jav-detail": "",
"data-item-detail": "",
"data-stage-grid": "",
- children: n.data ? /* @__PURE__ */ (0, I.jsx)(ZMe, {
+ children: n.data ? /* @__PURE__ */ (0, I.jsx)(tNe, {
...e,
item: n.data,
retry: r,
retrying: n.isFetching
}, e.code) : /* @__PURE__ */ (0, I.jsxs)("div", {
"data-jav-failure": "",
- children: [/* @__PURE__ */ (0, I.jsx)(m4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, I.jsx)(GG, {
+ children: [/* @__PURE__ */ (0, I.jsx)(h4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, I.jsx)(WG, {
message: cr(n.error),
onRetry: r
}) : null]
})
});
}
-var m4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
+var h4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -75943,7 +75984,7 @@ var m4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function ZMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
+function tNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
(0, F.useEffect)(() => {
n.canonicalCode?.(t.code);
}, [n, t.code]), (0, F.useEffect)(() => {
@@ -75965,11 +76006,11 @@ function ZMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
}] : []
], [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(t.want_id), p = OH(), m = () => {
p.run("want", async (e) => d ? (await yW([d], e), null) : (await vW({ code: t.code }, e)).want.id, (t) => {
- f(t), H.setQueryData(W2(e), (e) => e && {
+ f(t), H.setQueryData(G2(e), (e) => e && {
...e,
wanted: !!t,
want_id: t
- }), n.receipt(t ? "已加入想要" : "已取消想要"), xW(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });
+ }), n.receipt(t ? "已加入想要" : "已取消想要"), bW(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });
});
};
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
@@ -75978,24 +76019,24 @@ function ZMe({ 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, I.jsx)(m4, { close: n.close }),
+ /* @__PURE__ */ (0, I.jsx)(h4, { close: n.close }),
t.preview_video_url ? /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-jav-preview-toggle": "",
"aria-pressed": o === -2,
onClick: () => s(o === -2 ? -1 : -2),
- children: [/* @__PURE__ */ (0, I.jsx)(h4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
+ children: [/* @__PURE__ */ (0, I.jsx)(g4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
}) : null,
- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, I.jsx)(eNe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, I.jsx)(TQ, {
+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, I.jsx)(iNe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, I.jsx)(EQ, {
item: t,
image: o === -1 ? "cover" : String(o)
}, t.code),
- /* @__PURE__ */ (0, I.jsx)(k2, {
+ /* @__PURE__ */ (0, I.jsx)(A2, {
items: c,
position: Math.max(0, c.findIndex((e) => e.index === o)),
onSelect: s,
below: !0,
- renderThumbnail: (e) => /* @__PURE__ */ (0, I.jsx)(TQ, {
+ renderThumbnail: (e) => /* @__PURE__ */ (0, I.jsx)(EQ, {
item: t,
image: e.index < 0 ? "cover" : String(e.index),
thumbnail: !0
@@ -76009,33 +76050,33 @@ function ZMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
"data-stage-side-content": "",
"data-jav-info": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(QMe, { item: t }),
- Number(t.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(_4, { score: Number(t.score) }) : null,
+ /* @__PURE__ */ (0, I.jsx)(nNe, { item: t }),
+ Number(t.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(v4, { score: Number(t.score) }) : null,
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "mono",
"data-stage-meta": "",
"data-reveal-line": "",
- children: [/* @__PURE__ */ (0, I.jsx)(g4, {
+ children: [/* @__PURE__ */ (0, I.jsx)(_4, {
glyph: "calendar",
label: "发行日期",
value: t.release_date
- }), /* @__PURE__ */ (0, I.jsx)(g4, {
+ }), /* @__PURE__ */ (0, I.jsx)(_4, {
glyph: "clock",
label: "时长",
value: t.duration ? `${t.duration} 分钟` : void 0
})]
}),
- /* @__PURE__ */ (0, I.jsx)($Me, {
+ /* @__PURE__ */ (0, I.jsx)(rNe, {
item: t,
navigate: n.navigate
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-jav-facts": "",
- children: [/* @__PURE__ */ (0, I.jsx)(g4, {
+ children: [/* @__PURE__ */ (0, I.jsx)(_4, {
glyph: "briefcase",
label: "发行商",
value: t.publisher
- }), /* @__PURE__ */ (0, I.jsx)(g4, {
+ }), /* @__PURE__ */ (0, I.jsx)(_4, {
glyph: "clapperboard",
label: "导演",
value: t.director
@@ -76064,7 +76105,7 @@ function ZMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
t.summary ? /* @__PURE__ */ (0, I.jsx)("p", {
"data-jav-summary": "",
"data-long-text": "",
- lang: eL(t.summary),
+ lang: $I(t.summary),
children: t.summary
}) : null,
t.message ? /* @__PURE__ */ (0, I.jsx)(CV, {
@@ -76080,7 +76121,7 @@ function ZMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-jav-actions": "",
children: [
- t.source_url ? /* @__PURE__ */ (0, I.jsx)(NL, {
+ t.source_url ? /* @__PURE__ */ (0, I.jsx)(ML, {
"data-button-link": "",
variant: "secondary",
trailingIcon: HB,
@@ -76115,12 +76156,12 @@ function ZMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
tone: "error",
children: p.error
}) : null,
- /* @__PURE__ */ (0, I.jsx)(tNe, {
+ /* @__PURE__ */ (0, I.jsx)(aNe, {
code: t.code,
count: t.comments_count,
released: t.release_date
}),
- /* @__PURE__ */ (0, I.jsx)(nNe, {
+ /* @__PURE__ */ (0, I.jsx)(oNe, {
item: t,
actions: n,
readOnly: r
@@ -76135,17 +76176,17 @@ function ZMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
})
] });
}
-var h4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var g4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: R(e) }
-}), g4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, I.jsxs)("span", {
+}), _4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-spec-item": "",
title: t,
- children: [/* @__PURE__ */ (0, I.jsx)(h4, { name: e }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, I.jsx)(g4, { name: e }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]
}) : null;
-function QMe({ item: e }) {
- let { text: t, expanded: n, foldable: r, toggle: i } = H2(e.title), a = e.title === e.code ? "" : e.title;
+function nNe({ item: e }) {
+ let { text: t, expanded: n, foldable: r, toggle: i } = U2(e.title), a = e.title === e.code ? "" : e.title;
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-item-title": "",
children: [/* @__PURE__ */ (0, I.jsx)("h1", {
@@ -76161,7 +76202,7 @@ function QMe({ item: e }) {
r && !String(getSelection() || "") && i();
},
children: [/* @__PURE__ */ (0, I.jsx)("b", { children: e.code }), a ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [" ", /* @__PURE__ */ (0, I.jsx)("span", {
- lang: eL(a),
+ lang: $I(a),
children: a
})] }) : null]
})
@@ -76180,7 +76221,7 @@ function QMe({ item: e }) {
})]
});
}
-function _4({ score: e, review: t = !1 }) {
+function v4({ score: e, review: t = !1 }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-item-rating": "",
"data-jav-rating": "",
@@ -76193,7 +76234,7 @@ function _4({ score: e, review: t = !1 }) {
})]
});
}
-function $Me({ item: e, navigate: t }) {
+function rNe({ item: e, navigate: t }) {
let n = (e, n) => t(Nn(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, I.jsxs)("section", {
"data-id-group": t,
"data-id-gender": a,
@@ -76202,14 +76243,14 @@ function $Me({ item: e, navigate: t }) {
children: r
}), /* @__PURE__ */ (0, I.jsx)("div", {
"data-id-row": "",
- children: i.map((r) => /* @__PURE__ */ (0, I.jsx)(B2, {
+ children: i.map((r) => /* @__PURE__ */ (0, I.jsx)(V2, {
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, I.jsx)(EQ, {
+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, I.jsx)(DQ, {
code: e.code,
person: r,
detail: !0
@@ -76226,7 +76267,7 @@ function $Me({ item: e, navigate: t }) {
r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),
r("studio", "厂牌", e.studio_refs)
]
- }), /* @__PURE__ */ (0, I.jsx)(V2, {
+ }), /* @__PURE__ */ (0, I.jsx)(H2, {
people: e.series_refs.map((e) => ({
...e,
id: e.id ?? null
@@ -76235,11 +76276,11 @@ function $Me({ item: e, navigate: t }) {
})]
});
}
-function eNe({ src: e }) {
+function iNe({ src: e }) {
let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(0);
return (0, F.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), hue(i, {
+ return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), _ue(i, {
src: e,
type: /\.m3u8(?:\?|$)/i.test(e) ? "application/x-mpegURL" : "video/mp4"
}, () => r(!0));
@@ -76259,8 +76300,8 @@ function eNe({ src: e }) {
}) : null
});
}
-function tNe({ code: e, count: t, released: n }) {
- let r = ae(), [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => JMe(e, n), [e, n]), s = (0, F.useRef)(!1), c = It({
+function aNe({ code: e, count: t, released: n }) {
+ let r = ae(), [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => QMe(e, n), [e, n]), s = (0, F.useRef)(!1), c = It({
queryKey: ["jav-reviews", e],
enabled: i,
initialPageParam: 1,
@@ -76269,12 +76310,12 @@ function tNe({ code: e, count: t, released: n }) {
pageParams: o.pageParams
} : void 0,
initialDataUpdatedAt: o?.saved,
- staleTime: (e) => YMe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
+ staleTime: (e) => $Me(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
gcTime: 864e5,
refetchOnWindowFocus: !1,
queryFn: async ({ signal: t, pageParam: n }) => {
- let i = await hMe(e, n, t, s.current);
- if (qMe(e, i), !i.ok || i.cache_stale) {
+ let i = await yMe(e, n, t, s.current);
+ if (ZMe(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,
@@ -76284,7 +76325,7 @@ function tNe({ code: e, count: t, released: n }) {
}
return i;
},
- getNextPageParam: gMe
+ getNextPageParam: bMe
});
(0, F.useEffect)(() => {
c.isFetching || (s.current = !1);
@@ -76332,7 +76373,7 @@ function tNe({ code: e, count: t, released: n }) {
"data-jav-review-meta": "",
children: [
/* @__PURE__ */ (0, I.jsx)("b", { children: e.username }),
- Number(e.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(_4, {
+ Number(e.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(v4, {
score: Number(e.score),
review: !0
}) : null,
@@ -76344,7 +76385,7 @@ function tNe({ code: e, count: t, released: n }) {
]
}), /* @__PURE__ */ (0, I.jsx)("p", {
"data-long-text": "",
- lang: eL(e.content),
+ lang: $I(e.content),
children: e.content
})]
}, e.id)),
@@ -76391,7 +76432,7 @@ function tNe({ code: e, count: t, released: n }) {
})
});
}
-function nNe({ item: e, actions: t, readOnly: n }) {
+function oNe({ item: e, actions: t, readOnly: n }) {
let [r, i] = (0, F.useState)(!1), a = Pt({
queryKey: cW,
enabled: r,
@@ -76401,11 +76442,11 @@ function nNe({ item: e, actions: t, readOnly: n }) {
"data-jav-resources": "",
children: /* @__PURE__ */ (0, I.jsx)(QH, {
trailing: !0,
- summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(h4, { name: "link" }), "资源"] }),
+ summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(g4, { name: "link" }), "资源"] }),
onOpenChange: (e) => {
i(e), e && c(!0);
},
- children: s ? /* @__PURE__ */ (0, I.jsx)(d4, {
+ children: s ? /* @__PURE__ */ (0, I.jsx)(f4, {
want: {
id: 0,
code: e.code,
@@ -76422,31 +76463,31 @@ function nNe({ item: e, actions: t, readOnly: n }) {
});
}
// src/react/stage/stage-player.ts
-var v4 = null, y4 = null, b4 = null, x4 = null, S4 = null, C4 = !1, w4 = 0, T4 = null, E4 = () => !1, D4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;
-function rNe(e, t) {
- v4 = e, E4 = () => t.isOpen(), T4 = () => t.requestClose(), jle({
+var y4 = null, b4 = null, x4 = null, S4 = null, C4 = null, w4 = !1, T4 = 0, E4 = null, D4 = () => !1, O4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;
+function sNe(e, t) {
+ y4 = e, D4 = () => t.isOpen(), E4 = () => t.requestClose(), Nle({
...e.player,
stage: () => document.getElementById("stage")
- }), Mle({
- inMiniplayer: (e) => y4?.player === e,
- kind: (e) => y4?.player === e ? y4.kind : b4?.kind ?? x4?.kind ?? "item",
- expand: () => q4(),
- toMiniplayer: () => J4()
- }), O4 || (O4 = !0, addEventListener("pagehide", () => eP()));
-}
-var O4 = !1;
-function k4() {
- if (!v4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
- return v4;
-}
-function A4(e) {
- x4 = e;
-}
-var iNe = () => x4;
-function j4(e, t) {
- let { kind: n, item: r, media: i = null } = t, a = D4(n, r.id, i?.index ?? null);
- if (y4 && y4.key === a) return oNe(e, y4);
- y4 && K4();
+ }), Ple({
+ inMiniplayer: (e) => b4?.player === e,
+ kind: (e) => b4?.player === e ? b4.kind : x4?.kind ?? S4?.kind ?? "item",
+ expand: () => J4(),
+ toMiniplayer: () => Y4()
+ }), k4 || (k4 = !0, addEventListener("pagehide", () => QN()));
+}
+var k4 = !1;
+function A4() {
+ if (!y4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
+ return y4;
+}
+function j4(e) {
+ S4 = e;
+}
+var cNe = () => S4;
+function M4(e, t) {
+ let { kind: n, item: r, media: i = null } = t, a = O4(n, r.id, i?.index ?? null);
+ if (b4 && b4.key === a) return uNe(e, b4);
+ b4 && q4();
let o = {
player: null,
kind: n,
@@ -76454,52 +76495,52 @@ function j4(e, t) {
mediaIndex: i?.index ?? null,
key: a
};
- b4 = o;
+ x4 = o;
let s = document.createElement("video");
t.id && (s.id = t.id), s.className = "video-js vjs-big-play-centered", s.controls = !1, s.setAttribute("playsinline", ""), s.preload = "metadata", t.poster && (s.poster = t.poster), t.onError && s.addEventListener("error", t.onError), e.append(s);
- let c = pP(s, {
+ let c = dP(s, {
kind: n,
item: r,
media: i,
autoplay: t.autoplay,
resume: t.resume ?? null,
onPlayer: (e) => {
- b4 === o && (o.player = e);
+ x4 === o && (o.player = e);
},
- handedOff: (e) => y4?.player === e
+ handedOff: (e) => b4?.player === e
});
return () => {
- let e = !!o.player && y4?.player === o.player;
- b4 === o && (b4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), eP());
+ let e = !!o.player && b4?.player === o.player;
+ x4 === o && (x4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), QN());
};
}
-async function aNe(e, t, n) {
+async function lNe(e, t, n) {
let r = await wn(`/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 k4().player.loadSourceStatus();
- if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(k4().player.offlineReason(String(r.root_id || r.location || "")));
+ let i = await A4().player.loadSourceStatus();
+ if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(A4().player.offlineReason(String(r.root_id || r.location || "")));
let a = {
kind: "item",
item: r,
title: String(r.title || r.name || ""),
sub: String(r.performers?.[0] || r.creator || "未归属")
};
- A4(a);
- let o = j4(t, {
+ j4(a);
+ let o = M4(t, {
kind: "item",
item: r,
autoplay: !0
}), s = !1;
return (e = !1) => {
- s || (s = !0, e && x4 === a && N4(!0), o(), x4 === a && A4(null));
+ s || (s = !0, e && S4 === a && P4(!0), o(), S4 === a && j4(null));
};
}
-function oNe(e, t) {
+function uNe(e, t) {
let { player: n } = t;
- W4(t), y4 = null, G4(), n.el().classList.remove("vjs-peach-mini"), dP(e), e.append(n.el()), rN(n);
+ G4(t), b4 = null, K4(), n.el().classList.remove("vjs-peach-mini"), lP(e), e.append(n.el()), tN(n);
let r = {
player: n,
kind: t.kind,
@@ -76507,23 +76548,23 @@ function oNe(e, t) {
mediaIndex: t.mediaIndex,
key: t.key
};
- b4 = r;
- let i = fP(n, e);
- return iN(n), () => {
- b4 === r && (b4 = null), i(), y4?.player !== n && (nN() === n && rN(null), GN(n), eP());
+ x4 = r;
+ let i = uP(n, e);
+ return nN(n), () => {
+ x4 === r && (x4 = null), i(), b4?.player !== n && (eN() === n && tN(null), UN(n), QN());
};
}
-var M4 = () => {
- let e = b4?.player;
+var N4 = () => {
+ let e = x4?.player;
return e && !e.isDisposed() ? e : null;
};
-function N4(e) {
- let t = C4;
- C4 = !1, y4?.pending && K4();
- let n = b4, r = n?.player, i = x4;
- if (!n || !r || r.isDisposed() || !i || !S4) return;
- let a = k4().player.settings();
- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && uNe({
+function P4(e) {
+ let t = w4;
+ w4 = !1, b4?.pending && q4();
+ let n = x4, r = n?.player, i = S4;
+ if (!n || !r || r.isDisposed() || !i || !C4) return;
+ let a = A4().player.settings();
+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && mNe({
player: r,
kind: n.kind,
item: n.item,
@@ -76531,46 +76572,46 @@ function N4(e) {
key: n.key
}, i);
}
-function P4(e, t) {
- C4 = !1, y4 && (y4.kind === e && y4.item.id === t ? (y4.pending = !0, G4()) : K4());
+function F4(e, t) {
+ w4 = !1, b4 && (b4.kind === e && b4.item.id === t ? (b4.pending = !0, K4()) : q4());
}
-function F4(e) {
- S4 = e, S4 && H4();
+function I4(e) {
+ C4 = e, C4 && U4();
}
-var I4 = () => !!y4 && !y4.pending && !y4.player.isDisposed();
-function sNe() {
- return I4() ? S4?.frame.querySelector("video") ?? null : null;
+var L4 = () => !!b4 && !b4.pending && !b4.player.isDisposed();
+function dNe() {
+ return L4() ? C4?.frame.querySelector("video") ?? null : null;
}
-function cNe() {
- return E4() ? document.getElementById("stage")?.querySelector("video") ?? null : M4()?.el().querySelector("video") ?? sNe();
+function fNe() {
+ return D4() ? document.getElementById("stage")?.querySelector("video") ?? null : N4()?.el().querySelector("video") ?? dNe();
}
-function L4(e) {
- S4 && (S4.title.textContent = e.title || "", S4.sub.textContent = e.sub || "", S4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
+function R4(e) {
+ C4 && (C4.title.textContent = e.title || "", C4.sub.textContent = e.sub || "", C4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
}
-function R4(e = y4?.item) {
- if (!S4) return;
- let t = S4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
- S4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
+function z4(e = b4?.item) {
+ if (!C4) return;
+ let t = C4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
+ C4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
}
-function z4() {
- let e = y4?.player;
- if (!e || e.isDisposed() || !S4) return;
+function B4() {
+ let e = b4?.player;
+ if (!e || e.isDisposed() || !C4) return;
let t = e.paused();
- S4.play.setAttribute("aria-label", t ? "播放" : "暂停"), S4.play.querySelector("[data-icon-swap]") || (S4.play.innerHTML = Gs("player-pause", "player-play", t ? "b" : "a")), Ks(S4.play, t ? "b" : "a");
+ C4.play.setAttribute("aria-label", t ? "播放" : "暂停"), C4.play.querySelector("[data-icon-swap]") || (C4.play.innerHTML = Gs("player-pause", "player-play", t ? "b" : "a")), Ks(C4.play, t ? "b" : "a");
}
-function B4() {
- let e = y4?.player;
- if (!e || e.isDisposed() || !S4) return;
- let t = Kn(y4?.item.duration) || Kn(e.duration());
- S4.time.textContent = `${Jn(e.currentTime())} / ${t ? Jn(t) : "0:00"}`;
-}
-var V4 = () => Math.max(1, Number(k4().player.settings().seekSeconds) || 10);
-function H4() {
- if (!S4 || !v4) return;
- let e = V4();
- for (let [t, n] of [[S4.back, `后退 ${e} 秒`], [S4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
-}
-function U4(e) {
+function V4() {
+ let e = b4?.player;
+ if (!e || e.isDisposed() || !C4) return;
+ let t = Kn(b4?.item.duration) || Kn(e.duration());
+ C4.time.textContent = `${Jn(e.currentTime())} / ${t ? Jn(t) : "0:00"}`;
+}
+var H4 = () => Math.max(1, Number(A4().player.settings().seekSeconds) || 10);
+function U4() {
+ if (!C4 || !y4) return;
+ let e = H4();
+ for (let [t, n] of [[C4.back, `后退 ${e} 秒`], [C4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
+}
+function W4(e) {
let t = (t, n) => {
e.player.on(t, n), e.off.push(() => {
try {
@@ -76582,17 +76623,17 @@ function U4(e) {
"play",
"pause",
"ended"
- ], z4), t([
+ ], B4), t([
"timeupdate",
"durationchange",
"loadedmetadata"
- ], B4), t("loadedmetadata", () => R4()), z4(), B4(), R4(), H4();
+ ], V4), t("loadedmetadata", () => z4()), B4(), V4(), z4(), U4();
}
-function W4(e) {
+function G4(e) {
e.off.forEach((e) => e()), e.off = [];
}
-function lNe() {
- let e = S4?.root;
+function pNe() {
+ let e = C4?.root;
if (!e) return;
let t = e.hidden;
if (e.hidden = !1, !t) return;
@@ -76600,8 +76641,8 @@ function lNe() {
let n = () => e.removeAttribute("data-miniplayer-enter");
e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);
}
-function G4() {
- let e = S4?.root;
+function K4() {
+ let e = C4?.root;
if (e) {
e.hidden = !0;
for (let t of [
@@ -76612,73 +76653,73 @@ function G4() {
e.style.transform = "";
}
}
-function uNe(e, t) {
- if (!S4) return;
+function mNe(e, t) {
+ if (!C4) return;
let n = {
...e,
meta: t,
off: [],
pending: !1
};
- y4 = n, w4++, e.player.el().classList.add("vjs-peach-mini"), S4.frame.prepend(e.player.el()), L4(t), U4(n), lNe(), iN(e.player);
-}
-function K4() {
- let e = y4;
- e && W4(e), y4 = null, w4++;
- let t = e?.player ?? null;
- t && nN() === t && rN(null), GN(t), t && eP(), S4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), eN(), G4();
+ b4 = n, T4++, e.player.el().classList.add("vjs-peach-mini"), C4.frame.prepend(e.player.el()), R4(t), W4(n), pNe(), nN(e.player);
}
function q4() {
- if (!I4() || !y4) return;
- let { kind: e, item: t, mediaIndex: n } = y4;
- k4().expand(e, t.id, n);
+ let e = b4;
+ e && G4(e), b4 = null, T4++;
+ let t = e?.player ?? null;
+ t && eN() === t && tN(null), UN(t), t && QN(), C4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), QM(), K4();
}
function J4() {
- I4() && !E4() ? q4() : E4() && M4() && T4 && (C4 = !0, T4());
+ if (!L4() || !b4) return;
+ let { kind: e, item: t, mediaIndex: n } = b4;
+ A4().expand(e, t.id, n);
}
-function dNe() {
- let e = y4?.player;
+function Y4() {
+ L4() && !D4() ? J4() : D4() && N4() && E4 && (w4 = !0, E4());
+}
+function hNe() {
+ let e = b4?.player;
e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());
}
-function Y4(e) {
- let t = y4?.player;
+function X4(e) {
+ let t = b4?.player;
if (!t || t.isDisposed()) return;
- let n = Kn(t.duration()) || Kn(y4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + V4() * e);
+ let n = Kn(t.duration()) || Kn(b4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + H4() * e);
t.currentTime(n ? Math.min(n, r) : r);
}
-function X4(e) {
- return !(!I4() || !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 || k4().sourceOffline(String(e.root_id || e.location || "")));
-}
-async function fNe(e) {
- if (!I4() || !y4 || !S4) return;
- let t = ++w4, n = await wn(`/api/item?id=${e}`).catch(() => null);
- if (t !== w4 || !I4() || !y4 || !S4 || !n || n.error) return;
- if (!X4(n)) {
- k4().openItem(e);
+function Z4(e) {
+ return !(!L4() || !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 || A4().sourceOffline(String(e.root_id || e.location || "")));
+}
+async function gNe(e) {
+ if (!L4() || !b4 || !C4) return;
+ let t = ++T4, n = await wn(`/api/item?id=${e}`).catch(() => null);
+ if (t !== T4 || !L4() || !b4 || !C4 || !n || n.error) return;
+ if (!Z4(n)) {
+ A4().openItem(e);
return;
}
- let r = y4;
- W4(r), nN() === r.player && rN(null), GN(r.player), eP(), S4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
+ let r = b4;
+ G4(r), eN() === r.player && tN(null), UN(r.player), QN(), C4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
let i = document.createElement("video");
- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", S4.frame.prepend(i);
+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", C4.frame.prepend(i);
let a = {
kind: "item",
item: n,
title: String(n.title || n.name || ""),
sub: String(n.performers?.[0] || n.creator || "未归属")
};
- L4(a), pP(i, {
+ R4(a), dP(i, {
kind: "item",
item: n,
autoplay: !0,
chrome: !1,
onPlayer: (r) => {
- if (t !== w4) {
- r && nN() === r && rN(null), GN(r);
+ if (t !== T4) {
+ r && eN() === r && tN(null), UN(r);
return;
}
if (!r) {
- K4(), k4().openItem(e);
+ q4(), A4().openItem(e);
return;
}
r.el().classList.add("vjs-peach-mini");
@@ -76687,25 +76728,25 @@ async function fNe(e) {
kind: "item",
item: n,
mediaIndex: null,
- key: D4("item", n.id, null),
+ key: O4("item", n.id, null),
meta: a,
off: [],
pending: !1
};
- y4 = i, U4(i);
+ b4 = i, W4(i);
}
- }), R4(n);
+ }), z4(n);
}
// src/react/stage/miniplayer.tsx
-var Z4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
+var Q4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
-}), pNe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, Q4 = (e) => (t) => {
+}), _Ne = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, $4 = (e) => (t) => {
t.stopPropagation(), e();
-}, mNe = (0, F.memo)(function() {
+}, vNe = (0, F.memo)(function() {
let e = (0, F.useRef)(null), t = (0, F.useRef)(null), n = (0, F.useRef)(null), r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)(null);
- return (0, F.useLayoutEffect)(() => (F4({
+ return (0, F.useLayoutEffect)(() => (I4({
root: e.current,
frame: n.current,
play: r.current,
@@ -76715,7 +76756,7 @@ var Z4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
title: s.current,
sub: c.current,
info: l.current
- }), () => F4(null)), []), (0, F.useEffect)(() => _Ne(e.current, t.current), []), (0, F.useEffect)(() => hNe(e.current), []), /* @__PURE__ */ (0, I.jsx)("aside", {
+ }), () => I4(null)), []), (0, F.useEffect)(() => xNe(e.current, t.current), []), (0, F.useEffect)(() => yNe(e.current), []), /* @__PURE__ */ (0, I.jsx)("aside", {
ref: e,
"data-miniplayer": "",
id: "miniplayer",
@@ -76739,24 +76780,24 @@ var Z4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
id: "miniplayerExpand",
"aria-label": "展开到详情",
"aria-keyshortcuts": "i",
- onClick: Q4(q4),
- children: /* @__PURE__ */ (0, I.jsx)(Z4, { name: "maximize-2" })
+ onClick: $4(J4),
+ children: /* @__PURE__ */ (0, I.jsx)(Q4, { name: "maximize-2" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-miniplayer-button": "close",
id: "miniplayerClose",
"aria-label": "关闭小窗",
- onClick: Q4(K4),
- children: /* @__PURE__ */ (0, I.jsx)(Z4, { name: "x" })
+ onClick: $4(q4),
+ children: /* @__PURE__ */ (0, I.jsx)(Q4, { name: "x" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
ref: a,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerBack",
- onClick: Q4(() => Y4(-1)),
- children: /* @__PURE__ */ (0, I.jsx)(Z4, { name: "rotate-ccw" })
+ onClick: $4(() => X4(-1)),
+ children: /* @__PURE__ */ (0, I.jsx)(Q4, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
ref: r,
@@ -76765,16 +76806,16 @@ var Z4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
id: "miniplayerPlay",
"aria-label": "暂停",
"aria-keyshortcuts": "k",
- onClick: Q4(dNe),
- dangerouslySetInnerHTML: pNe
+ onClick: $4(hNe),
+ dangerouslySetInnerHTML: _Ne
}),
/* @__PURE__ */ (0, I.jsx)("button", {
ref: o,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerAhead",
- onClick: Q4(() => Y4(1)),
- children: /* @__PURE__ */ (0, I.jsx)(Z4, { name: "rotate-cw" })
+ onClick: $4(() => X4(1)),
+ children: /* @__PURE__ */ (0, I.jsx)(Q4, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, I.jsx)("span", {
ref: i,
@@ -76791,7 +76832,7 @@ var Z4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
"data-miniplayer-info": "",
id: "miniplayerInfo",
"aria-label": "展开到详情",
- onClick: () => q4(),
+ onClick: () => J4(),
children: [/* @__PURE__ */ (0, I.jsx)("span", {
ref: s,
"data-miniplayer-title": "",
@@ -76805,7 +76846,7 @@ var Z4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
})
});
});
-function hNe(e) {
+function yNe(e) {
let t = () => {
let t = e.dataset.corner || "";
!e.hidden && t.startsWith("b") && (t === "br" || innerWidth <= 600) ? document.documentElement.style.setProperty("--miniplayer-space", `${Math.ceil(e.offsetHeight + 16 + 12)}px`) : document.documentElement.style.removeProperty("--miniplayer-space");
@@ -76819,7 +76860,7 @@ function hNe(e) {
n.disconnect(), r.disconnect(), window.removeEventListener("resize", t), document.documentElement.style.removeProperty("--miniplayer-space");
};
}
-function gNe(e, t, n) {
+function bNe(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
@@ -76841,7 +76882,7 @@ function gNe(e, t, n) {
};
e.addEventListener("transitionend", u), setTimeout(u, 600);
}
-function _Ne(e, t) {
+function xNe(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 = {
@@ -76867,7 +76908,7 @@ function _Ne(e, t) {
} catch {}
i.moved && (e.dataset.dragged = "1", setTimeout(() => {
delete e.dataset.dragged;
- }, 0), gNe(e, i.dx, i.dy));
+ }, 0), bNe(e, i.dx, i.dy));
}, o = (t) => {
e.dataset.dragged && (t.stopPropagation(), t.preventDefault());
}, s = (e) => {
@@ -76878,57 +76919,57 @@ function _Ne(e, t) {
};
}
// src/react/stage/stage.tsx
-var $4 = null, e3 = null, t3 = null, n3 = /* @__PURE__ */ new Set(), r3 = 0, i3 = null, a3 = !1, o3 = !1, s3 = () => {
+var e3 = null, t3 = null, n3 = null, r3 = /* @__PURE__ */ new Set(), i3 = 0, a3 = null, o3 = !1, s3 = !1, c3 = () => {
let e = document.getElementById("stage");
return e instanceof HTMLDialogElement ? e : null;
};
-function c3() {
- if (!$4) throw Error("舞台还没有接上宿主(configureStage)");
- return $4;
+function l3() {
+ if (!e3) throw Error("舞台还没有接上宿主(configureStage)");
+ return e3;
}
-function vNe(e) {
- return n3.add(e), () => {
- n3.delete(e);
+function SNe(e) {
+ return r3.add(e), () => {
+ r3.delete(e);
};
}
-function yNe() {
- for (let e of [...n3]) e();
+function CNe() {
+ for (let e of [...r3]) e();
}
-function l3() {
- (0, Lt.flushSync)(yNe);
+function u3() {
+ (0, Lt.flushSync)(CNe);
}
-function bNe({ view: e }) {
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)(xNe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, I.jsx)(mNe, {})] });
+function wNe({ view: e }) {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)(TNe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, I.jsx)(vNe, {})] });
}
-var u3 = () => /* @__PURE__ */ (0, I.jsx)("div", {
+var d3 = () => /* @__PURE__ */ (0, I.jsx)("div", {
"data-skeleton": "detail",
role: "status",
"aria-label": "正在读取作品详情",
- dangerouslySetInnerHTML: { __html: Sje() }
+ dangerouslySetInnerHTML: { __html: Cje() }
});
-function d3(e) {
+function f3(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 f3() {
- let e = s3(), t = e && Tje(e);
+function p3() {
+ let e = c3(), t = e && Eje(e);
t ? (t.focus({ preventScroll: !0 }), t.dispatchEvent(new KeyboardEvent("keydown", {
key: "Escape",
bubbles: !0,
cancelable: !0
- }))) : p3();
+ }))) : m3();
}
-function xNe({ view: e }) {
+function TNe({ view: e }) {
let t = (0, F.useRef)(null);
(0, F.useLayoutEffect)(() => {
let e = t.current, n = (t) => {
- t.target === e && (t.preventDefault(), f3());
+ t.target === e && (t.preventDefault(), p3());
};
return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);
}, []);
- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, I.jsx)(wMe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, I.jsx)(XMe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, I.jsx)(aMe, { ...r.props }, r.props.id);
+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, I.jsx)(OMe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, I.jsx)(eNe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, I.jsx)(lMe, { ...r.props }, r.props.id);
return /* @__PURE__ */ (0, I.jsxs)("dialog", {
ref: t,
id: "stage",
@@ -76936,27 +76977,27 @@ function xNe({ view: e }) {
"data-stage-kind": r.kind,
"aria-label": "作品详情",
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), f3());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), p3());
},
onPointerDown: (e) => {
- o3 = d3(e);
+ s3 = f3(e);
},
onClick: (e) => {
- o3 && d3(e) && p3();
+ s3 && f3(e) && m3();
},
children: [
- n === "skeleton" ? /* @__PURE__ */ (0, I.jsx)(u3, {}, "skeleton") : null,
+ n === "skeleton" ? /* @__PURE__ */ (0, I.jsx)(d3, {}, "skeleton") : null,
n === "reveal" ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-stage-fade": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, I.jsx)(u3, {})
+ children: /* @__PURE__ */ (0, I.jsx)(d3, {})
}, "fade") : null,
n === "skeleton" ? null : /* @__PURE__ */ (0, I.jsx)("div", {
"data-stage-scroll": "",
children: /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, I.jsx)(AD, {
- getContainer: () => X0(t.current),
+ children: /* @__PURE__ */ (0, I.jsx)(OD, {
+ getContainer: () => Z0(t.current),
children: i
})
})
@@ -76964,14 +77005,14 @@ function xNe({ view: e }) {
]
});
}
-function p3() {
- e3 && !a3 && (a3 = !0, e3.request.actions.close());
+function m3() {
+ t3 && !o3 && (o3 = !0, t3.request.actions.close());
}
-function m3(e, t) {
- let n = s3();
+function h3(e, t) {
+ let n = c3();
n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);
}
-function h3(e) {
+function g3(e) {
if (e.kind === "jav") return {
kind: "jav",
props: {
@@ -76979,30 +77020,30 @@ function h3(e) {
readOnly: e.readOnly,
actions: {
...e.actions,
- close: p3
+ close: m3
}
}
};
let t = e.resume ?? null, n = (n) => {
let r = t && (e.id == null || e.id === n) ? t : null;
return t = null, r;
- }, r = () => c3().player.settings(), i = () => e3?.request === e;
+ }, r = () => l3().player.settings(), i = () => t3?.request === e;
if (e.kind === "item") {
let { kind: t, resume: a, actions: o, ...s } = e, c = {
...o,
- close: p3,
+ close: m3,
present: (e, t) => {
let n = e.performers;
- A4({
+ j4({
kind: "item",
item: e,
title: String(e.title || e.name || ""),
sub: String(n?.[0] || e.creator || "未归属")
- }), m3(r().ambientMode, r().theaterMode), queueMicrotask(() => {
+ }), h3(r().ambientMode, r().theaterMode), queueMicrotask(() => {
i() && o.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => j4(e, {
+ mountPlayer: (e, t, r, i) => M4(e, {
kind: "item",
item: t,
autoplay: i?.autoplay,
@@ -77020,18 +77061,18 @@ function h3(e) {
}
let { kind: a, resume: o, actions: s, ...c } = e, l = {
...s,
- close: p3,
+ close: m3,
present: (e, t) => {
- A4({
+ j4({
kind: "follow",
item: e,
title: e.title || "",
sub: e.author || e.source_label || ""
- }), m3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
+ }), h3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
i() && s.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => j4(e, {
+ mountPlayer: (e, t, r, i) => M4(e, {
kind: "follow",
item: t,
media: r,
@@ -77048,106 +77089,106 @@ function h3(e) {
}
};
}
-function SNe(e, t) {
+function ENe(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"), e3?.generation === t && e3.phase === "reveal" && (e3 = {
- ...e3,
+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), t3?.generation === t && t3.phase === "reveal" && (t3 = {
+ ...t3,
phase: "content"
- }, l3());
+ }, u3());
}, a = (e) => {
e.target === n && i();
};
n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);
}
-function g3(e) {
- let t = s3();
- return !e3 || e3.content.kind !== e || a3 || !t?.open || t.hasAttribute("data-closing") ? null : t;
+function _3(e) {
+ let t = c3();
+ return !t3 || t3.content.kind !== e || o3 || !t?.open || t.hasAttribute("data-closing") ? null : t;
}
-async function CNe(e) {
- !t3 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (t3 = {
+async function DNe(e) {
+ !n3 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (n3 = {
left: window.scrollX,
top: window.scrollY,
anchor: document.activeElement
});
- let t = g3(e.kind);
+ let t = _3(e.kind);
if (t) {
- await TNe(e, t);
+ await kNe(e, t);
return;
}
- e3 && _3({ miniplayer: !1 });
- let n = ++r3, r = new AbortController();
- i3 = r, a3 = !1, o3 = !1, e.kind === "jav" ? K4() : P4(e.kind, e.id ?? NaN);
- let i = h3(e);
- e3 = {
+ t3 && v3({ miniplayer: !1 });
+ let n = ++i3, r = new AbortController();
+ a3 = r, o3 = !1, s3 = !1, e.kind === "jav" ? q4() : F4(e.kind, e.id ?? NaN);
+ let i = g3(e);
+ t3 = {
generation: n,
request: e,
content: i,
phase: "skeleton"
};
- let a = i.kind === "item" ? BP(i.props, r.signal) : i.kind === "jav" ? K2(i.props, r.signal) : n2(i.props, r.signal);
- if (n !== r3 || e3?.request !== e) {
+ let a = i.kind === "item" ? RP(i.props, r.signal) : i.kind === "jav" ? q2(i.props, r.signal) : r2(i.props, r.signal);
+ if (n !== i3 || t3?.request !== e) {
await a.catch(() => {});
return;
}
- let o = wNe(i);
- e3 = {
- ...e3,
+ let o = ONe(i);
+ t3 = {
+ ...t3,
phase: o ? "content" : "skeleton"
- }, l3();
- let s = s3();
+ }, u3();
+ let s = c3();
if (!s) {
await a.catch(() => {});
return;
}
- o || uc(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), Q0(s);
+ o || uc(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), $0(s);
try {
await a;
} catch {
if (r.signal.aborted) return;
}
- if (n !== r3 || !e3 || o) return;
+ if (n !== i3 || !t3 || o) return;
let c = !!s.querySelector(".skeleton-awaiting");
- e3 = {
- ...e3,
+ t3 = {
+ ...t3,
phase: c ? "content" : "reveal"
- }, l3(), c || SNe(s, n), Qs(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, u3(), c || ENe(s, n), Qs(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let l = document.activeElement;
l !== s && s.contains(l) || s.querySelector("#closeStage")?.focus();
}
-function wNe(e) {
- if (e.kind === "jav") return !!H.getQueryData(W2(e.props.code));
- if (e.kind === "follow") return !!H.getQueryData($0(e.props.id));
- let { queue: t, id: n } = e.props, r = t ? H.getQueryData(EP(t)) : null;
+function ONe(e) {
+ if (e.kind === "jav") return !!H.getQueryData(G2(e.props.code));
+ if (e.kind === "follow") return !!H.getQueryData(e2(e.props.id));
+ let { queue: t, id: n } = e.props, r = t ? H.getQueryData(wP(t)) : null;
if (t && !r) return !1;
- let i = r ? RP(r, n) : n;
- return i != null && !!H.getQueryData(TP(i));
+ let i = r ? IP(r, n) : n;
+ return i != null && !!H.getQueryData(CP(i));
}
-async function TNe(e, t) {
- let n = ++r3;
- i3?.abort();
+async function kNe(e, t) {
+ let n = ++i3;
+ a3?.abort();
let r = new AbortController();
- i3 = r, o3 = !1;
- let i = h3(e);
+ a3 = r, s3 = !1;
+ let i = g3(e);
try {
- i.kind === "item" ? await BP(i.props, r.signal) : i.kind === "jav" ? await K2(i.props, r.signal) : await n2(i.props, r.signal);
+ i.kind === "item" ? await RP(i.props, r.signal) : i.kind === "jav" ? await q2(i.props, r.signal) : await r2(i.props, r.signal);
} catch {
if (r.signal.aborted) return;
}
- if (n !== r3 || !e3 || g3(e.kind) !== t) return;
- e.kind === "jav" ? K4() : P4(e.kind, e.id ?? NaN), Al(t), eN(), e3 = {
- ...e3,
+ if (n !== i3 || !t3 || _3(e.kind) !== t) return;
+ e.kind === "jav" ? q4() : F4(e.kind, e.id ?? NaN), Al(t), QM(), t3 = {
+ ...t3,
request: e,
content: i,
phase: "content"
- }, l3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Qs(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, u3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Qs(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 ENe() {
- Q0(null);
- let e = s3();
+function ANe() {
+ $0(null);
+ let e = c3();
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();
@@ -77157,14 +77198,14 @@ function ENe() {
e.addEventListener("animationend", i), n = window.setTimeout(r, 380);
}));
}
-function _3({ miniplayer: e = !0 } = {}) {
- if (r3++, i3?.abort(), i3 = null, N4(e), !e3) return;
- let t = s3();
- t && Al(t), eN(), Q0(null), t?.open && t.close(), e3 = null, a3 = !1, o3 = !1, l3(), A4(null), document.body.removeAttribute("data-detail-open");
- let n = t3;
- t3 = null;
+function v3({ miniplayer: e = !0 } = {}) {
+ if (i3++, a3?.abort(), a3 = null, P4(e), !t3) return;
+ let t = c3();
+ t && Al(t), QM(), $0(null), t?.open && t.close(), t3 = null, o3 = !1, s3 = !1, u3(), j4(null), document.body.removeAttribute("data-detail-open");
+ let n = n3;
+ n3 = null;
let r = () => {
- !e3 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({
+ !t3 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({
left: n.left,
top: n.top,
behavior: "instant"
@@ -77172,80 +77213,80 @@ function _3({ miniplayer: e = !0 } = {}) {
};
r(), requestAnimationFrame(r);
}
-function DNe(e) {
- e3 && (e3 = {
- ...e3,
- content: e3.content.kind === "item" ? {
+function jNe(e) {
+ t3 && (t3 = {
+ ...t3,
+ content: t3.content.kind === "item" ? {
kind: "item",
props: {
- ...e3.content.props,
+ ...t3.content.props,
...e
}
- } : e3.content.kind === "jav" ? e3.content : {
+ } : t3.content.kind === "jav" ? t3.content : {
kind: "follow",
props: {
- ...e3.content.props,
+ ...t3.content.props,
...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }
}
}
- }, l3());
+ }, u3());
}
-function ONe() {
- let e = iNe(), t = e?.kind === "item" ? e.item : null, n = t ? Oo(t, c3().player.settings().javImage) : "";
+function MNe() {
+ let e = cNe(), t = e?.kind === "item" ? e.item : null, n = t ? Oo(t, l3().player.settings().javImage) : "";
if (!n) return;
- let r = M4();
+ let r = N4();
r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);
}
-var kNe = {
- open: CNe,
- update: DNe,
- exit: ENe,
- dispose: _3,
- requestClose: p3,
- requestEscape: f3,
- repaintPoster: ONe,
- isOpen: () => !!e3,
- showing: () => e3 && g3(e3.content.kind) ? e3.content.kind : null,
- activeVideo: () => cNe(),
- mountWallPlayer: aNe,
+var NNe = {
+ open: DNe,
+ update: jNe,
+ exit: ANe,
+ dispose: v3,
+ requestClose: m3,
+ requestEscape: p3,
+ repaintPoster: MNe,
+ isOpen: () => !!t3,
+ showing: () => t3 && _3(t3.content.kind) ? t3.content.kind : null,
+ activeVideo: () => fNe(),
+ mountWallPlayer: lNe,
toggleTheater: () => {
- e3 && MN(!c3().player.settings().theaterMode);
+ t3 && AN(!l3().player.settings().theaterMode);
},
- toggleMiniplayer: () => J4(),
- closeMiniplayer: () => K4(),
- miniplayerActive: () => I4(),
- miniplayerTakesCard: (e) => X4(e),
+ toggleMiniplayer: () => Y4(),
+ closeMiniplayer: () => q4(),
+ miniplayerActive: () => L4(),
+ miniplayerTakesCard: (e) => Z4(e),
miniplayerPlay: (e) => {
- fNe(e);
+ gNe(e);
}
};
-function ANe(e) {
- return $4 = e, rNe(e, {
- isOpen: () => !!e3,
- requestClose: p3
- }), kNe;
+function PNe(e) {
+ return e3 = e, sNe(e, {
+ isOpen: () => !!t3,
+ requestClose: m3
+ }), NNe;
}
-function jNe() {
- let e = (0, F.useSyncExternalStore)(vNe, () => e3);
- return $4 ? /* @__PURE__ */ (0, I.jsx)(bNe, { view: e }) : null;
+function FNe() {
+ let e = (0, F.useSyncExternalStore)(SNe, () => t3);
+ return e3 ? /* @__PURE__ */ (0, I.jsx)(wNe, { view: e }) : null;
}
// src/react/stats/stats.ts
-var MNe = "/api/stats", v3 = ["stats"], y3 = (e) => B(MNe, e);
-async function NNe(e) {
+var INe = "/api/stats", y3 = ["stats"], b3 = (e) => B(INe, e);
+async function LNe(e) {
await H.fetchQuery({
- queryKey: v3,
- queryFn: () => y3(e)
+ queryKey: y3,
+ queryFn: () => b3(e)
});
}
-var b3 = (e) => e != null && Number.isFinite(e), PNe = (e) => b3(e) ? e.toLocaleString() : "未取得", FNe = (e, t) => b3(e) && b3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, INe = (e, t) => {
- let n = FNe(e, t);
- return !n && b3(e) && e > 0 && b3(t) && t > 0 ? "<1%" : `${n}%`;
-}, x3 = (e) => {
- if (!b3(e)) return "未取得";
+var x3 = (e) => e != null && Number.isFinite(e), RNe = (e) => x3(e) ? e.toLocaleString() : "未取得", zNe = (e, t) => x3(e) && x3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, BNe = (e, t) => {
+ let n = zNe(e, t);
+ return !n && x3(e) && e > 0 && x3(t) && t > 0 ? "<1%" : `${n}%`;
+}, S3 = (e) => {
+ if (!x3(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)} 分钟`;
-}, S3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, C3 = (e) => (e.max_reached || 0) * 100, LNe = (e) => e.kind === "online" ? "在线直接观看" : S3(e) < C3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", RNe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
-function zNe(e, t = 6) {
+}, C3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, w3 = (e) => (e.max_reached || 0) * 100, VNe = (e) => e.kind === "online" ? "在线直接观看" : C3(e) < w3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", HNe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
+function UNe(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);
@@ -77255,7 +77296,7 @@ function zNe(e, t = 6) {
bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)
}];
}
-var BNe = (e) => Math.max(1, ...e) * 1.1, VNe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, HNe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), UNe = {
+var WNe = (e) => Math.max(1, ...e) * 1.1, GNe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, KNe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), qNe = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -77263,18 +77304,18 @@ var BNe = (e) => Math.max(1, ...e) * 1.1, VNe = (e, t) => e > 0 ? Math.max(e, t
audio: "音频",
account: "账号",
other: "其它文件"
-}, WNe = (e) => e.map((e) => ({
- name: UNe[e.k] ?? e.k,
+}, JNe = (e) => e.map((e) => ({
+ name: qNe[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), GNe = {
+})).sort((e, t) => t.value - e.value), YNe = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, w3 = (e, t = {}) => e.map((e) => ({
+}, T3 = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), KNe = (e) => w3(e, GNe), qNe = [
+})), XNe = (e) => T3(e, YNe), ZNe = [
[
1,
1,
@@ -77310,12 +77351,12 @@ var BNe = (e) => Math.max(1, ...e) * 1.1, VNe = (e, t) => e > 0 ? Math.max(e, t
Infinity,
"≥10"
]
-], JNe = (e) => qNe.map(([t, n, r]) => ({
+], QNe = (e) => ZNe.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
}));
// node_modules/d3-array/src/max.js
-function T3(e, t) {
+function E3(e, t) {
let n;
if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);
else {
@@ -77325,7 +77366,7 @@ function T3(e, t) {
return n;
}
// node_modules/d3-array/src/min.js
-function E3(e, t) {
+function D3(e, t) {
let n;
if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);
else {
@@ -77335,7 +77376,7 @@ function E3(e, t) {
return n;
}
// node_modules/d3-array/src/sum.js
-function D3(e, t) {
+function O3(e, t) {
let n = 0;
if (t === void 0) for (let t of e) (t = +t) && (n += t);
else {
@@ -77345,64 +77386,64 @@ function D3(e, t) {
return n;
}
// node_modules/d3-sankey/src/align.js
-function YNe(e, t) {
+function $Ne(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
// node_modules/d3-sankey/src/constant.js
-function O3(e) {
+function k3(e) {
return function() {
return e;
};
}
// node_modules/d3-sankey/src/sankey.js
-function k3(e, t) {
- return j3(e.source, t.source) || e.index - t.index;
-}
function A3(e, t) {
- return j3(e.target, t.target) || e.index - t.index;
+ return M3(e.source, t.source) || e.index - t.index;
}
function j3(e, t) {
+ return M3(e.target, t.target) || e.index - t.index;
+}
+function M3(e, t) {
return e.y0 - t.y0;
}
-function M3(e) {
+function N3(e) {
return e.value;
}
-function XNe(e) {
+function ePe(e) {
return e.index;
}
-function ZNe(e) {
+function tPe(e) {
return e.nodes;
}
-function QNe(e) {
+function nPe(e) {
return e.links;
}
-function N3(e, t) {
+function P3(e, t) {
let n = e.get(t);
if (!n) throw Error("missing: " + t);
return n;
}
-function P3({ nodes: e }) {
+function F3({ nodes: e }) {
for (let t of e) {
let e = t.y0, n = e;
for (let n of t.sourceLinks) n.y0 = e + n.width / 2, e += n.width;
for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;
}
}
-function $Ne() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = XNe, c = YNe, l, u, d = ZNe, f = QNe, p = 6;
+function rPe() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = ePe, c = $Ne, l, u, d = tPe, f = nPe, p = 6;
function m() {
let e = {
nodes: d.apply(null, arguments),
links: f.apply(null, arguments)
};
- return h(e), g(e), _(e), v(e), x(e), P3(e), e;
+ return h(e), g(e), _(e), v(e), x(e), F3(e), e;
}
m.update = function(e) {
- return P3(e), e;
+ return F3(e), e;
}, m.nodeId = function(e) {
- return arguments.length ? (s = typeof e == "function" ? e : O3(e), m) : s;
+ return arguments.length ? (s = typeof e == "function" ? e : k3(e), m) : s;
}, m.nodeAlign = function(e) {
- return arguments.length ? (c = typeof e == "function" ? e : O3(e), m) : c;
+ return arguments.length ? (c = typeof e == "function" ? e : k3(e), m) : c;
}, m.nodeSort = function(e) {
return arguments.length ? (l = e, m) : l;
}, m.nodeWidth = function(e) {
@@ -77410,9 +77451,9 @@ function $Ne() {
}, m.nodePadding = function(e) {
return arguments.length ? (a = o = +e, m) : a;
}, m.nodes = function(e) {
- return arguments.length ? (d = typeof e == "function" ? e : O3(e), m) : d;
+ return arguments.length ? (d = typeof e == "function" ? e : k3(e), m) : d;
}, m.links = function(e) {
- return arguments.length ? (f = typeof e == "function" ? e : O3(e), m) : f;
+ return arguments.length ? (f = typeof e == "function" ? e : k3(e), m) : f;
}, m.linkSort = function(e) {
return arguments.length ? (u = e, m) : u;
}, m.size = function(i) {
@@ -77428,12 +77469,12 @@ function $Ne() {
for (let [e, r] of t.entries()) {
r.index = e;
let { source: t, target: i } = r;
- typeof t != "object" && (t = r.source = N3(n, t)), typeof i != "object" && (i = r.target = N3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
+ typeof t != "object" && (t = r.source = P3(n, t)), typeof i != "object" && (i = r.target = P3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
}
if (u != null) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(u), n.sort(u);
}
function g({ nodes: e }) {
- for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(D3(t.sourceLinks, M3), D3(t.targetLinks, M3)) : t.fixedValue;
+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(O3(t.sourceLinks, N3), O3(t.targetLinks, N3)) : t.fixedValue;
}
function _({ nodes: e }) {
let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;
@@ -77458,7 +77499,7 @@ function $Ne() {
}
}
function y({ nodes: t }) {
- let r = T3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
+ let r = E3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
for (let n of t) {
let t = Math.max(0, Math.min(r - 1, Math.floor(c.call(null, n, r))));
n.layer = t, n.x0 = e + t * a, n.x1 = n.x0 + i, o[t] ? o[t].push(n) : o[t] = [n];
@@ -77467,7 +77508,7 @@ function $Ne() {
return o;
}
function b(e) {
- let n = E3(e, (e) => (r - t - (e.length - 1) * o) / D3(e, M3));
+ let n = D3(e, (e) => (r - t - (e.length - 1) * o) / O3(e, N3));
for (let i of e) {
let e = t;
for (let t of i) {
@@ -77484,7 +77525,7 @@ function $Ne() {
}
function x(e) {
let n = y(e);
- o = Math.min(a, (r - t) / (T3(n, (e) => e.length) - 1)), b(n);
+ o = Math.min(a, (r - t) / (E3(n, (e) => e.length) - 1)), b(n);
for (let e = 0; e < p; ++e) {
let t = .99 ** e, r = Math.max(1 - t, (e + 1) / p);
C(n, t, r), S(n, t, r);
@@ -77503,7 +77544,7 @@ function $Ne() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(j3), w(i, n);
+ l === void 0 && i.sort(M3), w(i, n);
}
}
function C(e, t, n) {
@@ -77519,7 +77560,7 @@ function $Ne() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(j3), w(i, n);
+ l === void 0 && i.sort(M3), w(i, n);
}
}
function w(e, n) {
@@ -77540,12 +77581,12 @@ function $Ne() {
}
function D({ sourceLinks: e, targetLinks: t }) {
if (u === void 0) {
- for (let { source: { sourceLinks: e } } of t) e.sort(A3);
- for (let { target: { targetLinks: t } } of e) t.sort(k3);
+ for (let { source: { sourceLinks: e } } of t) e.sort(j3);
+ for (let { target: { targetLinks: t } } of e) t.sort(A3);
}
}
function O(e) {
- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(A3), n.sort(k3);
+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(j3), n.sort(A3);
}
function k(e, t) {
let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;
@@ -77574,15 +77615,15 @@ function $Ne() {
return m;
}
// node_modules/d3-path/src/path.js
-var F3 = Math.PI, I3 = 2 * F3, L3 = 1e-6, ePe = I3 - L3;
-function R3() {
+var I3 = Math.PI, L3 = 2 * I3, R3 = 1e-6, iPe = L3 - R3;
+function z3() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
-function z3() {
- return new R3();
+function B3() {
+ return new z3();
}
-R3.prototype = z3.prototype = {
- constructor: R3,
+z3.prototype = B3.prototype = {
+ constructor: z3,
moveTo: function(e, t) {
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);
},
@@ -77603,11 +77644,11 @@ R3.prototype = z3.prototype = {
var a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;
if (i < 0) throw Error("negative radius: " + i);
if (this._x1 === null) this._ += "M" + (this._x1 = e) + "," + (this._y1 = t);
- else if (d > L3) {
- if (!(Math.abs(u * s - c * l) > L3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
+ else if (d > R3) {
+ if (!(Math.abs(u * s - c * l) > R3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
else {
- var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((F3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > L3 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);
+ var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((I3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > R3 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);
}
}
},
@@ -77615,7 +77656,7 @@ R3.prototype = z3.prototype = {
e = +e, t = +t, n = +n, a = !!a;
var o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
if (n < 0) throw Error("negative radius: " + n);
- this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > L3 || Math.abs(this._y1 - l) > L3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % I3 + I3), d > ePe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > L3 && (this._ += "A" + n + "," + n + ",0," + +(d >= F3) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
+ this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > R3 || Math.abs(this._y1 - l) > R3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % L3 + L3), d > iPe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > R3 && (this._ += "A" + n + "," + n + ",0," + +(d >= I3) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
},
rect: function(e, t, n, r) {
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t) + "h" + +n + "v" + +r + "h" + -n + "Z";
@@ -77625,93 +77666,93 @@ R3.prototype = z3.prototype = {
}
};
// node_modules/d3-shape/src/constant.js
-function B3(e) {
+function V3(e) {
return function() {
return e;
};
}
// node_modules/d3-shape/src/point.js
-function tPe(e) {
+function aPe(e) {
return e[0];
}
-function nPe(e) {
+function oPe(e) {
return e[1];
}
// node_modules/d3-shape/src/array.js
-var rPe = Array.prototype.slice;
+var sPe = Array.prototype.slice;
// node_modules/d3-shape/src/link/index.js
-function iPe(e) {
+function cPe(e) {
return e.source;
}
-function aPe(e) {
+function lPe(e) {
return e.target;
}
-function oPe(e) {
- var t = iPe, n = aPe, r = tPe, i = nPe, a = null;
+function uPe(e) {
+ var t = cPe, n = lPe, r = aPe, i = oPe, a = null;
function o() {
- var o, s = rPe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
- if (a ||= o = z3(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;
+ var o, s = sPe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ if (a ||= o = B3(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;
}
return o.source = function(e) {
return arguments.length ? (t = e, o) : t;
}, o.target = function(e) {
return arguments.length ? (n = e, o) : n;
}, o.x = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : B3(+e), o) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : V3(+e), o) : r;
}, o.y = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : B3(+e), o) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : V3(+e), o) : i;
}, o.context = function(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function sPe(e, t, n, r, i) {
+function dPe(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function cPe() {
- return oPe(sPe);
+function fPe() {
+ return uPe(dPe);
}
// node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function lPe(e) {
+function pPe(e) {
return [e.source.x1, e.y0];
}
-function uPe(e) {
+function mPe(e) {
return [e.target.x0, e.y1];
}
-function dPe() {
- return cPe().source(lPe).target(uPe);
+function hPe() {
+ return fPe().source(pPe).target(mPe);
}
// src/react/taste/taste.ts
-var fPe = "/api/taste", V3 = "/api/taste/refresh", pPe = "/api/taste/import", H3 = "/api/taste/source", U3 = (e) => ["taste", e], mPe = ["taste", "refresh"], hPe = [
+var gPe = "/api/taste", H3 = "/api/taste/refresh", _Pe = "/api/taste/import", U3 = "/api/taste/source", W3 = (e) => ["taste", e], vPe = ["taste", "refresh"], yPe = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], gPe = 2e3, _Pe = (e) => e?.stale && !e.error ? gPe : !1, vPe = (e) => e ? new Date(e).toLocaleString("zh-CN", {
+], bPe = 2e3, xPe = (e) => e?.stale && !e.error ? bPe : !1, SPe = (e) => e ? new Date(e).toLocaleString("zh-CN", {
month: "numeric",
day: "numeric",
hour: "2-digit",
minute: "2-digit"
-}) : "—", yPe = (e, t) => V(H3, {
+}) : "—", CPe = (e, t) => V(U3, {
...e,
window: t
-}), W3 = (e, t, n = !1) => B(`${fPe}?window=${e}${n ? "&retry=1" : ""}`, t), bPe = (e) => B(V3, e);
-async function xPe(e, t) {
+}), G3 = (e, t, n = !1) => B(`${gPe}?window=${e}${n ? "&retry=1" : ""}`, t), wPe = (e) => B(H3, e);
+async function TPe(e, t) {
await H.fetchQuery({
- queryKey: U3(e),
- queryFn: () => W3(e, t)
+ queryKey: W3(e),
+ queryFn: () => G3(e, t)
});
}
-var SPe = (e) => V(V3, {
+var EPe = (e) => V(H3, {
window: e,
background: !0
-}), CPe = (e, t) => V(H3, {
+}), DPe = (e, t) => V(U3, {
operation: "remove",
source_key: e,
window: t
});
-async function wPe(e) {
- let t = await fetch(pPe, {
+async function OPe(e) {
+ let t = await fetch(_Pe, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -77729,52 +77770,52 @@ async function wPe(e) {
}
return n;
}
-var TPe = 1e4, G3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
-function EPe(e) {
+var kPe = 1e4, K3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
+function APe(e) {
let t = `${Number(e.history_sources || 0).toLocaleString()} 个数据源`;
if (!e.range_start && !e.range_end) return t;
let n = e.range_start?.slice(0, 4) === e.range_end?.slice(0, 4), r = (e) => e && n ? new Date(e).toLocaleDateString("zh-CN", {
month: "numeric",
day: "numeric"
- }) : G3(e);
+ }) : K3(e);
return `${t} · ${r(e.range_start)}–${r(e.range_end)}`;
}
-var DPe = x3, OPe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), kPe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function APe(e) {
+var jPe = S3, MPe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), NPe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function PPe(e) {
if (e.web_visits == null && !e.web_bookmarks) return Number(e.score || e.visits || 0).toLocaleString();
let t = [], n = Number(e.web_bookmarks || 0), r = Number(e.web_visits ?? e.visits ?? 0) - n;
return r > 0 && t.push(`浏览 ${r.toLocaleString()}`), n && t.push(`书签 ${n.toLocaleString()}`), e.peach_items && t.push(`Peach ${Number(e.peach_items).toLocaleString()}`), t.join(" · ");
}
-function jPe(e) {
- let t = e.map(kPe), n = Math.max(1, ...t);
+function FPe(e) {
+ let t = e.map(NPe), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
-var K3 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
+var q3 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
name: e.name,
value: Number(e.score)
})).sort((e, t) => t.value - e.value).slice(0, t);
-function MPe(e) {
- let t = K3(e, 6);
+function IPe(e) {
+ let t = q3(e, 6);
return t.length < 3 ? [] : t;
}
-var q3 = {
+var J3 = {
width: 720,
height: 435
-}, NPe = {
+}, LPe = {
source: 145,
target: 545
-}, J3 = 30, PPe = 240;
-function Y3(e, t, n) {
+}, Y3 = 30, RPe = 240;
+function X3(e, t, n) {
let r = /* @__PURE__ */ new Map();
for (let n of e) r.set(n[t], (r.get(n[t]) ?? 0) + n.value);
if (r.size <= 12) return (e) => e;
let i = [...r].sort((e, t) => t[1] - e[1]).map(([e]) => e), a = new Set(i.slice(0, 11)), o = n(i.length - a.size);
return (e) => a.has(e) ? e : o;
}
-function FPe(e = []) {
+function zPe(e = []) {
let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);
if (!t.length) return null;
- let n = Y3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = Y3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();
+ let n = X3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = X3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();
for (let e of t) {
let t = n(e.source), a = r(e.target), o = JSON.stringify([t, a]), s = i.get(o);
s ? s.value += e.value : i.set(o, {
@@ -77783,7 +77824,7 @@ function FPe(e = []) {
value: e.value
});
}
- let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * J3 + PPe), u = $Ne().nodeId((e) => e.id).nodeWidth(10).nodePadding(J3).extent([[155, 16], [535, l]])({
+ let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * Y3 + RPe), u = rPe().nodeId((e) => e.id).nodeWidth(10).nodePadding(Y3).extent([[155, 16], [535, l]])({
nodes: [...o.map((e) => ({
id: `source:${e}`,
name: e,
@@ -77798,7 +77839,7 @@ function FPe(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), d = a.reduce((e, t) => e + t.value, 0), f = dPe();
+ }), d = a.reduce((e, t) => e + t.value, 0), f = hPe();
return {
nodes: u.nodes.map((e) => ({
id: e.id,
@@ -77826,17 +77867,17 @@ function FPe(e = []) {
};
}),
total: d,
- height: l + q3.height - 404
+ height: l + J3.height - 404
};
}
-var IPe = (e) => er(e, 17), X3 = {
+var BPe = (e) => er(e, 17), Z3 = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
series: "系列",
tags: "标签"
-}, LPe = [[
+}, VPe = [[
"big",
"大图 · 竖幅头像",
"maximize"
@@ -77844,7 +77885,7 @@ var IPe = (e) => er(e, 17), X3 = {
"compact",
"紧凑 · 圆形头像",
"layout-grid"
-]], RPe = [[
+]], HPe = [[
"big",
"大图 · 完整标识",
"maximize"
@@ -77852,7 +77893,7 @@ var IPe = (e) => er(e, 17), X3 = {
"compact",
"紧凑 · 圆形标识",
"layout-grid"
-]], zPe = [[
+]], UPe = [[
"big",
"大图 · 系列图片",
"maximize"
@@ -77860,7 +77901,7 @@ var IPe = (e) => er(e, 17), X3 = {
"compact",
"紧凑 · 系列图片",
"layout-grid"
-]], BPe = [
+]], WPe = [
[
"studios",
"厂牌",
@@ -77876,7 +77917,7 @@ var IPe = (e) => er(e, 17), X3 = {
"系列",
"file-stack"
]
-], VPe = [[
+], GPe = [[
"local",
"本地",
"hard-drive"
@@ -77884,7 +77925,7 @@ var IPe = (e) => er(e, 17), X3 = {
"online",
"在线",
"rss"
-]], HPe = [
+]], KPe = [
[
"performers",
"艺人",
@@ -77900,7 +77941,7 @@ var IPe = (e) => er(e, 17), X3 = {
"在线",
"rss"
]
-], UPe = [[
+], qPe = [[
"cloud",
"标签云",
"tags"
@@ -77908,8 +77949,8 @@ var IPe = (e) => er(e, 17), X3 = {
"alphabet",
"字母表",
"text-aa"
-]], Z3 = (e) => e === "compact" ? "compact" : "big";
-function Q3(e, t) {
+]], Q3 = (e) => e === "compact" ? "compact" : "big";
+function $3(e, t) {
let n = new URLSearchParams(t);
return {
kind: e,
@@ -77919,7 +77960,7 @@ function Q3(e, t) {
category: n.get("category") || "all"
};
}
-var $3 = (e, t, n) => Hs(e.map(([e, t, n]) => ({
+var e6 = (e, t, n) => Hs(e.map(([e, t, n]) => ({
value: e,
label: t,
symbol: n
@@ -77927,12 +77968,12 @@ var $3 = (e, t, n) => Hs(e.map(([e, t, n]) => ({
active: t,
label: n,
className: "indextabs"
-}), WPe = (e) => `<div class="peach-react contents"><div data-filter-glass data-glass-pane class="sticky top-topbar z-10 mb-5.5 flex flex-col">
+}), JPe = (e) => `<div class="peach-react contents"><div data-filter-glass data-glass-pane class="sticky top-topbar z-10 mb-5.5 flex flex-col">
<div class="flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2" data-filter-row="top" data-skeleton-tier="filter-pill" aria-label="标签类型"></div>
<div class="flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2" data-filter-row="bottom"><span class="countskeleton"></span>
- <span class="ml-auto">${Xc("tag-view", "标签视图", UPe, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;
-function GPe({ kind: e, q: t, scope: n, view: r, category: i }, a) {
- let o = X3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? Xc("people-layout", o + "索引版式", e === "series" ? zPe : c ? RPe : LPe, a) : "";
+ <span class="ml-auto">${Xc("tag-view", "标签视图", qPe, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;
+function YPe({ kind: e, q: t, scope: n, view: r, category: i }, a) {
+ let o = Z3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? Xc("people-layout", o + "索引版式", e === "series" ? UPe : c ? HPe : VPe, 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}
@@ -77944,24 +77985,24 @@ function GPe({ kind: e, q: t, scope: n, view: r, category: i }, a) {
}) : ""}
<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Es("", t, "过滤" + o)}</div>
</div>
- ${e === "tags" ? $3(VPe, n, "词表") : e === "performers" || e === "creators" ? $3(HPe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? $3(BPe, e, "资料类型") : ""}
- ${e === "tags" ? WPe(r) : ""}
- ${e === "performers" && n !== "online" ? WTe(i) : ""}
+ ${e === "tags" ? e6(GPe, n, "词表") : e === "performers" || e === "creators" ? e6(KPe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? e6(WPe, e, "资料类型") : ""}
+ ${e === "tags" ? JPe(r) : ""}
+ ${e === "performers" && n !== "online" ? GTe(i) : ""}
${rc({
kind: e,
layout: a,
mode: r
})}`;
}
-var KPe = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function e6(e, t, n) {
- let r = GPe(t, n);
- e.querySelector("[data-skeleton]")?.dataset.skeleton !== KPe(r) && (e.innerHTML = r, uc(e));
+var XPe = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function t6(e, t, n) {
+ let r = YPe(t, n);
+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== XPe(r) && (e.innerHTML = r, uc(e));
}
// src/react/router/pages/index-entity.tsx
-var qPe = () => uu, JPe = () => Yl, t6 = () => document.getElementById("index");
-function n6(e, t, n = {}) {
- let r = (0, F.useSyncExternalStore)(xu, qPe);
+var ZPe = () => uu, QPe = () => Yl, n6 = () => document.getElementById("index");
+function r6(e, t, n = {}) {
+ let r = (0, F.useSyncExternalStore)(xu, ZPe);
Qd();
let i = Rf(W.navigation.location.pathname), a = (0, F.useRef)({
mounted: !0,
@@ -78009,11 +78050,11 @@ function n6(e, t, n = {}) {
i
]);
}
-async function YPe(e, t, n, r) {
- let i = t6();
+async function $Pe(e, t, n, r) {
+ let i = n6();
if (!i) return;
- let a = `/${t}`, o = Q3(t, n), s = Z3(dM().value.peopleLayout), c = !!i.querySelector("[data-index-page]") && !i.hidden;
- c || (e.surfaceChanged("index", a), e6(i, o, s), lm(r, i, { pending: !0 })), await fp(a, {
+ let a = `/${t}`, o = $3(t, n), s = Q3(lM().value.peopleLayout), c = !!i.querySelector("[data-index-page]") && !i.hidden;
+ c || (e.surfaceChanged("index", a), t6(i, o, s), lm(r, i, { pending: !0 })), await fp(a, {
...o,
layout: s,
selectMode: Yl,
@@ -78024,23 +78065,23 @@ async function YPe(e, t, n, r) {
reuse: c
}) && r() && (e.surfaceShown?.("index", a), lm(r, i));
}
-function XPe(e) {
- let t = t6(), n = t ? sp(t) : null;
+function eFe(e) {
+ let t = n6(), n = t ? sp(t) : null;
return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;
}
-function ZPe({ epoch: e }) {
- let t = (0, F.useContext)(nG), n = Qd(), r = n.pathname.split("/").filter(Boolean)[0];
- return n6(e, (e, i) => {
- t && YPe(t, r, n.search, i);
- }, { shown: () => XPe(`/${r}`) }), null;
+function tFe({ epoch: e }) {
+ let t = (0, F.useContext)(tG), n = Qd(), r = n.pathname.split("/").filter(Boolean)[0];
+ return r6(e, (e, i) => {
+ t && $Pe(t, r, n.search, i);
+ }, { shown: () => eFe(`/${r}`) }), null;
}
-function QPe() {
- let e = tG(), t = (0, F.useSyncExternalStore)(xu, JPe), n = (0, F.useRef)(t);
+function nFe() {
+ let e = eG(), t = (0, F.useSyncExternalStore)(xu, QPe), n = (0, F.useRef)(t);
return (0, F.useEffect)(() => {
- n.current !== t && (n.current = t, window.location.pathname === "/tags" && mp(t6(), { selectMode: t }));
- }, [t]), /* @__PURE__ */ (0, I.jsx)(ZPe, { epoch: e }, e);
+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && mp(n6(), { selectMode: t }));
+ }, [t]), /* @__PURE__ */ (0, I.jsx)(tFe, { epoch: e }, e);
}
-function $Pe(e) {
+function rFe(e) {
let t;
try {
t = decodeURIComponent(e);
@@ -78054,9 +78095,9 @@ function $Pe(e) {
name: a
} : null;
}
-var r6 = /* @__PURE__ */ new WeakMap();
-function eFe(e) {
- let t = r6.get(e);
+var i6 = /* @__PURE__ */ new WeakMap();
+function iFe(e) {
+ let t = i6.get(e);
return t || (t = {
helpers: {
...e.grid.helpers,
@@ -78066,14 +78107,14 @@ function eFe(e) {
...e.grid.actions,
revealSource: e.revealSource
}
- }, r6.set(e, t)), t;
+ }, i6.set(e, t)), t;
}
-function i6() {
- let e = t6(), t = e ? sp(e) : null;
+function a6() {
+ let e = n6(), t = e ? sp(e) : null;
return !!t && t.path.endsWith("/*") && t.host.isConnected;
}
-async function tFe(e, t, n, r, i, a, o) {
- let s = t6();
+async function aFe(e, t, n, r, i, a, o) {
+ let s = n6();
if (!s) return;
let { segment: c, kind: l, name: u } = n;
if (!a()) return;
@@ -78096,7 +78137,7 @@ async function tFe(e, t, n, r, i, a, o) {
let g = {
...h,
hosts: m,
- card: eFe(e),
+ card: iFe(e),
resolvedEntity: o,
restoreNavigation: sm(),
actions: {
@@ -78111,16 +78152,16 @@ async function tFe(e, t, n, r, i, a, o) {
isCurrent: a,
beforePlace: () => e.surfaceChanged("entity", r),
place: (e) => (e.replaceChildren(...f), p.firstElementChild)
- }) && a() && i6() && (e.surfaceShown?.("entity", r), lm(a, m.filter));
+ }) && a() && a6() && (e.surfaceShown?.("entity", r), lm(a, m.filter));
}
-function nFe({ target: e }) {
- let t = (0, F.useContext)(nG), n = tG(), r = Qd();
- return n6(n, (n, i) => {
+function oFe({ target: e }) {
+ let t = (0, F.useContext)(tG), n = eG(), r = Qd();
+ return r6(n, (n, i) => {
let a = t?.entity;
t && a && (async () => {
- if (n || !i6()) {
+ if (n || !a6()) {
if (t.surfaceChanged("entity", r.pathname), await a.loading(e.kind, e.name, i), !i()) return;
- lm(i, t6(), { pending: !0 });
+ lm(i, n6(), { pending: !0 });
}
let o = new URLSearchParams({ kind: e.kind });
o.set(/^[0-9]+$/.test(e.name) ? "id" : "name", e.name);
@@ -78146,7 +78187,7 @@ function nFe({ target: e }) {
return;
}
let c = String(s.canonical_name || e.name), l = Nn(e.kind, c, Number(s.id));
- l === r.pathname ? !n && a.refresh(e.kind, c, r.search) ? lm(i, t6()?.querySelector("[data-entity-filter]")) : tFe(t, a, {
+ l === r.pathname ? !n && a.refresh(e.kind, c, r.search) ? lm(i, n6()?.querySelector("[data-entity-filter]")) : aFe(t, a, {
...e,
name: c
}, r.pathname, r.search, i, s) : Ep(l + r.search + r.hash, {
@@ -78154,16 +78195,16 @@ function nFe({ target: e }) {
state: W.navigation.location.state
});
})();
- }, { shown: () => i6() && !t6()?.hidden }), null;
+ }, { shown: () => a6() && !n6()?.hidden }), null;
}
-function rFe() {
- let e = $Pe(Qd().pathname);
- return e ? /* @__PURE__ */ (0, I.jsx)(nFe, { target: e }, JSON.stringify([e.kind, e.name])) : null;
+function sFe() {
+ let e = rFe(Qd().pathname);
+ return e ? /* @__PURE__ */ (0, I.jsx)(oFe, { target: e }, JSON.stringify([e.kind, e.name])) : null;
}
// src/react/router/pages/follow.tsx
-var a6 = () => document.getElementById("stats"), iFe = () => gu;
-async function aFe(e, t) {
- let n = a6(), r = e.follow;
+var o6 = () => document.getElementById("stats"), cFe = () => gu;
+async function lFe(e, t) {
+ let n = o6(), r = e.follow;
if (!n || !r) return;
let i = om("follow"), a = r.refresh(i), o = r.props();
if (am("follow", {
@@ -78172,34 +78213,34 @@ async function aFe(e, t) {
revision: o.revision
}), a) return;
let s = H.getQueryData(na(o.view, o.revision).queryKey) !== void 0;
- s || (e.surfaceChanged("follow", "/follow"), E2(n, r.skeleton()), lm(t, n, { pending: !0 })), await fp("/follow", o, {
+ s || (e.surfaceChanged("follow", "/follow"), D2(n, r.skeleton()), lm(t, n, { pending: !0 })), await fp("/follow", o, {
container: n,
isCurrent: t,
beforePlace: s ? () => e.surfaceChanged("follow", "/follow") : void 0
}), t() && lm(t, n.querySelector("[data-filter-frame]"));
}
-function oFe() {
- let e = a6(), t = e ? sp(e) : null;
+function uFe() {
+ let e = o6(), t = e ? sp(e) : null;
return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;
}
-function sFe() {
- let e = (0, F.useContext)(nG);
- return n6(tG(), (t, n) => {
- e && aFe(e, n);
+function dFe() {
+ let e = (0, F.useContext)(tG);
+ return r6(eG(), (t, n) => {
+ e && lFe(e, n);
}, {
- shown: oFe,
+ shown: uFe,
onCovered: () => {
W.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();
}
}), null;
}
-function o6(e) {
+function s6(e) {
let t = e ? sp(e) : null;
return !!t && t.path === "/playlists" && t.host.isConnected;
}
-async function cFe(e, t) {
- let n = a6();
- n && (e.surfaceChanged("playlists", "/playlists"), E2(n, w2("/playlists", {
+async function fFe(e, t) {
+ let n = o6();
+ n && (e.surfaceChanged("playlists", "/playlists"), D2(n, T2("/playlists", {
followLayout: "",
followSort: "",
followDir: ""
@@ -78208,54 +78249,54 @@ async function cFe(e, t) {
isCurrent: t
}), t() && lm(t));
}
-function lFe() {
- let e = (0, F.useContext)(nG), t = (0, F.useSyncExternalStore)(xu, iFe), n = (0, F.useRef)(t);
+function pFe() {
+ let e = (0, F.useContext)(tG), t = (0, F.useSyncExternalStore)(xu, cFe), n = (0, F.useRef)(t);
return (0, F.useEffect)(() => {
if (n.current === t) return;
n.current = t;
- let e = a6();
- o6(e) && mp(e, { revision: t });
- }, [t]), n6(tG(), (t, n) => {
- e && cFe(e, n);
+ let e = o6();
+ s6(e) && mp(e, { revision: t });
+ }, [t]), r6(eG(), (t, n) => {
+ e && fFe(e, n);
}, { shown: () => {
- let e = a6();
- return o6(e) && !e.hidden;
+ let e = o6();
+ return s6(e) && !e.hidden;
} }), null;
}
// src/react/router/pages/immerse.tsx
-function uFe() {
+function mFe() {
let e = new URLSearchParams(W.navigation.location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function dFe() {
- let e = (0, F.useContext)(nG);
- return YW(() => {
- e?.openImmerse(uFe());
+function hFe() {
+ let e = (0, F.useContext)(tG);
+ return JW(() => {
+ e?.openImmerse(mFe());
}, !0), null;
}
-function fFe() {
- return /* @__PURE__ */ (0, I.jsx)(dFe, {}, tG());
+function gFe() {
+ return /* @__PURE__ */ (0, I.jsx)(hFe, {}, eG());
}
// src/react/router/pages/managed.tsx
-var pFe = () => uu > 0, s6 = () => (0, F.useSyncExternalStore)(xu, pFe), c6 = () => dM().value.followLayout === "table" ? "table" : "default", l6 = () => new URLSearchParams(window.location.search);
-function u6(e) {
+var _Fe = () => uu > 0, c6 = () => (0, F.useSyncExternalStore)(xu, _Fe), l6 = () => lM().value.followLayout === "table" ? "table" : "default", u6 = () => new URLSearchParams(window.location.search);
+function d6(e) {
return wn("/healthz", { signal: e.controller.signal }).catch((e) => {
if (Tn(e)) return null;
throw e;
});
}
-function d6(e, t) {
+function f6(e, t) {
return {
readOnly: !!e?.ledger_read_only,
readOnlyMessage: e?.ledger_read_only_message || "本机当前只能浏览",
writerUrl: e?.ledger_writer_origin ? new URL(t, e.ledger_writer_origin).href : ""
};
}
-async function mFe(e, t) {
+async function vFe(e, t) {
if (e === "/jav") {
- let e = await u6(t);
+ let e = await d6(t);
return t.live ? {
- tab: SU(l6().get("tab")),
+ tab: SU(u6().get("tab")),
readOnly: !!e?.ledger_read_only
} : null;
}
@@ -78266,50 +78307,50 @@ async function mFe(e, t) {
}
if (e.startsWith("/settings/")) {
window.location.hash === "#peachProxy" && yu({ configurationRequestedSection: "网络与访问" });
- let t = l6().get("section") || su || Of(e);
+ let t = u6().get("section") || su || Of(e);
return t ? { section: t } : {};
}
if (e === "/review") {
- let e = l6().get("category") || "", n = await u6(t);
+ let e = u6().get("category") || "", n = await d6(t);
return t.live ? {
category: zY(e) ? e : "",
- queue: HY(l6().get("queue")),
- ...d6(n, "/review")
+ queue: HY(u6().get("queue")),
+ ...f6(n, "/review")
} : null;
}
if (e === "/subscriptions") {
- let e = JZ("?" + l6().toString()), n = await u6(t);
+ let e = YZ("?" + u6().toString()), n = await d6(t);
if (!t.live) return null;
- let r = dM().value;
+ let r = lM().value;
return {
...e,
pageSize: Number(r.followPageSize) || 20,
- layout: c6(),
- ...d6(n, "/subscriptions")
+ layout: l6(),
+ ...f6(n, "/subscriptions")
};
}
return {};
}
-async function hFe(e, t, n) {
+async function yFe(e, t, n) {
let r = W.navigation.seq, i = () => n.live && W.navigation.seq === r;
- if (e === "/jav" && SU(l6().get("tab")) === "library") {
+ if (e === "/jav" && SU(u6().get("tab")) === "library") {
W.replace(nve(window.location.search));
return;
}
- if (e === "/subscriptions" && l6().get("tab") === "wants") {
+ if (e === "/subscriptions" && u6().get("tab") === "wants") {
Ep("/jav?tab=wants", { replace: !0 });
return;
}
- if (e === "/subscriptions" && l6().get("tab") === "source") {
+ if (e === "/subscriptions" && u6().get("tab") === "source") {
Ep("/settings/subscriptions", { replace: !0 });
return;
}
let a = document.getElementById("stats");
if (!a) return;
- t.surfaceChanged("management", e), E2(a, w2(e, {
- followLayout: c6(),
- followSort: l6().get("sort") || "",
- followDir: l6().get("dir") || ""
+ t.surfaceChanged("management", e), D2(a, T2(e, {
+ followLayout: l6(),
+ followSort: u6().get("sort") || "",
+ followDir: u6().get("dir") || ""
})), lm(i, a, { pending: !0 }), e === "/taste" && (yu({ state: {
...U,
creator: "",
@@ -78325,7 +78366,7 @@ async function hFe(e, t, n) {
q: "",
jav: ""
} }), t.clearSearch());
- let o = await mFe(e, n);
+ let o = await vFe(e, n);
if (!o) return;
let s = await fp(e, o, {
container: a,
@@ -78341,19 +78382,19 @@ async function hFe(e, t, n) {
}) : lm(i);
}
}
-function f6({ path: e }) {
- let t = tG();
+function p6({ path: e }) {
+ let t = eG();
Qd();
let n = Rf(W.navigation.location.pathname), r = (0, F.useRef)(n ? null : t), i = (0, F.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, I.jsx)(gFe, {
+ return /* @__PURE__ */ (0, I.jsx)(bFe, {
path: e,
covered: r.current === null
}, `${a} ${r.current ?? "covered"}`);
}
-function gFe({ path: e, covered: t }) {
- let n = (0, F.useContext)(nG), r = s6(), i = (0, F.useRef)(null);
+function bFe({ path: e, covered: t }) {
+ let n = (0, F.useContext)(tG), r = c6(), i = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
e.startsWith("/settings/") && mp(document.getElementById("stats"), { section: Of(e) });
}, [e]), (0, F.useEffect)(() => {
@@ -78364,15 +78405,15 @@ function gFe({ path: e, covered: t }) {
controller: new AbortController()
};
i.current = a, queueMicrotask(() => {
- a.live && hFe(e, n, a);
+ a.live && yFe(e, n, a);
});
}, [r]), (0, F.useEffect)(() => () => {
let e = i.current;
e && (e.live = !1, e.controller.abort());
}, []), null;
}
-function _Fe() {
- let e = s6(), t = (0, F.useRef)(!1);
+function xFe() {
+ let e = c6(), t = (0, F.useRef)(!1);
return (0, F.useEffect)(() => {
if (!e || t.current || Rf(W.navigation.location.pathname)) return;
t.current = !0;
@@ -78385,24 +78426,24 @@ function _Fe() {
}, [e]), null;
}
// src/react/router/route-chunk.ts
-var p6 = [], m6 = "peach.chunkReloadAt", vFe = 3e4;
-async function yFe() {
+var m6 = [], h6 = "peach.chunkReloadAt", SFe = 3e4;
+async function CFe() {
try {
- let e = Number(sessionStorage.getItem(m6) || 0);
- if (Date.now() - e < vFe || !(await fetch("/healthz", {
+ let e = Number(sessionStorage.getItem(h6) || 0);
+ if (Date.now() - e < SFe || !(await fetch("/healthz", {
cache: "no-store",
credentials: "same-origin"
})).ok) return;
- sessionStorage.setItem(m6, String(Date.now())), location.reload();
+ sessionStorage.setItem(h6, String(Date.now())), location.reload();
} catch {}
}
-function h6(e) {
+function g6(e) {
let t = null, n = null, r = () => n ??= e().then((e) => (t = { module: e }, e), (e) => {
throw n = null, e;
});
- return p6.push(r), {
+ return m6.push(r), {
preload: () => r().catch(async (e) => {
- throw await yFe(), e;
+ throw await CFe(), e;
}),
get: () => {
if (!t) throw Error("页面代码还没装载");
@@ -78410,10 +78451,10 @@ function h6(e) {
}
};
}
-function bFe() {
+function wFe() {
let e = globalThis.requestIdleCallback;
if (typeof e != "function") return;
- let t = [...p6], n = () => {
+ let t = [...m6], n = () => {
let r = t.shift();
r && e(() => {
r().catch(() => {}).finally(n);
@@ -78422,31 +78463,31 @@ function bFe() {
document.readyState === "complete" ? n() : window.addEventListener("load", n, { once: !0 });
}
// src/react/router/managed-routes.tsx
-async function g6(e, t) {
+async function _6(e, t) {
let [n, r] = await Promise.allSettled([e.preload(), t]);
if (r.status === "rejected") throw r.reason;
if (n.status === "rejected") throw n.reason;
}
-var _6 = h6(() => import("./peach-app.jav-page-DUZe3Cv7.js")), v6 = h6(() => import("./peach-app.stats-page-DhNggTPt.js")), y6 = h6(() => import("./peach-app.taste-page-O5P41pRb.js")), b6 = h6(() => import("./peach-app.review-page-kd1HFP2A.js")), x6 = h6(() => import("./peach-app.data-cleanup-page-CZOBqkVd.js")), S6 = h6(() => import("./peach-app.duplicates-page-Bau8HIlx.js")), C6 = h6(() => import("./peach-app.quality-goals-page-Deoy7rhD.js")), w6 = h6(() => import("./peach-app.scraping-page-Ddbx11Bn.js")), T6 = h6(async () => {
+var v6 = g6(() => import("./peach-app.jav-page-DUZe3Cv7.js")), y6 = g6(() => import("./peach-app.stats-page-DhNggTPt.js")), b6 = g6(() => import("./peach-app.taste-page-O5P41pRb.js")), x6 = g6(() => import("./peach-app.review-page-kd1HFP2A.js")), S6 = g6(() => import("./peach-app.data-cleanup-page-CZOBqkVd.js")), C6 = g6(() => import("./peach-app.duplicates-page-Bau8HIlx.js")), w6 = g6(() => import("./peach-app.quality-goals-page-Deoy7rhD.js")), T6 = g6(() => import("./peach-app.scraping-page-Ddbx11Bn.js")), E6 = g6(async () => {
let [{ ConfigurationPage: e }, { DiagnosticsPage: t }] = await Promise.all([import("./peach-app.configuration-page-BkqUJk6k.js"), import("./peach-app.diagnostics-page-DS1L_wLs.js")]);
return {
ConfigurationPage: e,
DiagnosticsPage: t
};
-}), E6 = h6(() => import("./peach-app.activity-page-CDOzqSMm.js")), D6 = h6(() => import("./peach-app.follow-manage-page-Bvnaf0EO.js")), O6 = h6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));
-function xFe(e, t, n) {
+}), D6 = g6(() => import("./peach-app.activity-page-CDOzqSMm.js")), O6 = g6(() => import("./peach-app.follow-manage-page-Bvnaf0EO.js")), k6 = g6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));
+function TFe(e, t, n) {
if (e === "duplicates") {
n("/duplicates");
return;
}
let r = t.managePath(e);
- j6(r) ? n(r) : t.openManage(e);
+ M6(r) ? n(r) : t.openManage(e);
}
-var k6 = (e) => ({
- element: /* @__PURE__ */ (0, I.jsx)(f6, { path: e }),
- prefetch: (t, n) => g6(T6, Promise.all([Rke(n), ...e === "/settings/diagnostics" ? [uOe(n)] : []]).then(() => {})),
+var A6 = (e) => ({
+ element: /* @__PURE__ */ (0, I.jsx)(p6, { path: e }),
+ prefetch: (t, n) => _6(E6, Promise.all([zke(n), ...e === "/settings/diagnostics" ? [dOe(n)] : []]).then(() => {})),
page: (t, n) => {
- let { ConfigurationPage: r, DiagnosticsPage: i } = T6.get();
+ let { ConfigurationPage: r, DiagnosticsPage: i } = E6.get();
return /* @__PURE__ */ (0, I.jsx)(r, {
receipt: (e) => n.receipt(e),
reopenTutorial: n.reopenTutorial,
@@ -78457,12 +78498,12 @@ var k6 = (e) => ({
})
});
}
-}), A6 = {
+}), j6 = {
...qf.reduce((e, t) => (e[t.path] = {
- element: /* @__PURE__ */ (0, I.jsx)(f6, { path: t.path }),
- prefetch: (e, n) => g6(x6, PTe(t.key, n)),
+ element: /* @__PURE__ */ (0, I.jsx)(p6, { path: t.path }),
+ prefetch: (e, n) => _6(S6, FTe(t.key, n)),
page: (e, n) => {
- let { DataCleanupToolPage: r } = x6.get();
+ let { DataCleanupToolPage: r } = S6.get();
return /* @__PURE__ */ (0, I.jsx)(r, {
tool: t.key,
failure: n.failure,
@@ -78471,10 +78512,10 @@ var k6 = (e) => ({
}
}, e), {}),
"/jav": {
- element: /* @__PURE__ */ (0, I.jsx)(f6, { path: "/jav" }),
- prefetch: (e, t) => g6(_6, DW(e.tab, t)),
+ element: /* @__PURE__ */ (0, I.jsx)(p6, { path: "/jav" }),
+ prefetch: (e, t) => _6(v6, EW(e.tab, t)),
page: (e, t) => {
- let { JavPage: n } = _6.get();
+ let { JavPage: n } = v6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
...e,
navigate: t.navigate,
@@ -78483,10 +78524,10 @@ var k6 = (e) => ({
}
},
"/stats": {
- element: /* @__PURE__ */ (0, I.jsx)(f6, { path: "/stats" }),
- prefetch: (e, t) => g6(v6, NNe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(p6, { path: "/stats" }),
+ prefetch: (e, t) => _6(y6, LNe(t)),
page: (e, t) => {
- let { StatsPage: n } = v6.get();
+ let { StatsPage: n } = y6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
tagLabel: Pl,
onTag: t.openTag
@@ -78494,10 +78535,10 @@ var k6 = (e) => ({
}
},
"/taste": {
- element: /* @__PURE__ */ (0, I.jsx)(f6, { path: "/taste" }),
- prefetch: (e, t) => g6(y6, xPe("all", t)),
+ element: /* @__PURE__ */ (0, I.jsx)(p6, { path: "/taste" }),
+ prefetch: (e, t) => _6(b6, TPe("all", t)),
page: (e, t, n) => {
- let { TastePage: r } = y6.get();
+ let { TastePage: r } = b6.get();
return /* @__PURE__ */ (0, I.jsx)(r, {
onSignal: t.openTasteSignal,
navigate: n,
@@ -78507,10 +78548,10 @@ var k6 = (e) => ({
}
},
"/review": {
- element: /* @__PURE__ */ (0, I.jsx)(f6, { path: "/review" }),
- prefetch: (e, t) => g6(b6, wwe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(p6, { path: "/review" }),
+ prefetch: (e, t) => _6(x6, Ewe(t)),
page: (e, t) => {
- let { ReviewPage: n } = b6.get();
+ let { ReviewPage: n } = x6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
...e,
route: t.routeReview,
@@ -78522,23 +78563,23 @@ var k6 = (e) => ({
}
},
"/data-cleanup": {
- element: /* @__PURE__ */ (0, I.jsx)(f6, { path: "/data-cleanup" }),
- prefetch: (e, t) => g6(x6, NTe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(p6, { path: "/data-cleanup" }),
+ prefetch: (e, t) => _6(S6, PTe(t)),
page: (e, t, n) => {
- let { DataCleanupPage: r } = x6.get();
+ let { DataCleanupPage: r } = S6.get();
return /* @__PURE__ */ (0, I.jsx)(r, {
navigate: n,
failure: t.failure,
- open: (e) => xFe(e, t, n),
+ open: (e) => TFe(e, t, n),
toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)
});
}
},
"/duplicates": {
- element: /* @__PURE__ */ (0, I.jsx)(f6, { path: "/duplicates" }),
- prefetch: (e, t) => g6(S6, BCe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(p6, { path: "/duplicates" }),
+ prefetch: (e, t) => _6(C6, HCe(t)),
page: (e, t) => {
- let { DuplicatesPage: n } = S6.get();
+ let { DuplicatesPage: n } = C6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
openItem: t.openItem,
failure: t.failure,
@@ -78547,46 +78588,46 @@ var k6 = (e) => ({
}
},
"/quality-goals": {
- element: /* @__PURE__ */ (0, I.jsx)(f6, { path: "/quality-goals" }),
- prefetch: (e, t) => g6(C6, QCe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(p6, { path: "/quality-goals" }),
+ prefetch: (e, t) => _6(w6, ewe(t)),
page: (e, t) => {
- let { QualityGoalsPage: n } = C6.get();
+ let { QualityGoalsPage: n } = w6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
openItem: t.openItem,
- javTitleHtml: rL,
- javDisplayName: nL,
+ javTitleHtml: nL,
+ javDisplayName: tL,
toast: (e) => t.receipt(e),
srcBadge: t.srcBadge
});
}
},
"/sources": {
- element: /* @__PURE__ */ (0, I.jsx)(f6, { path: "/sources" }),
- prefetch: (e, t) => g6(w6, Oke(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(p6, { path: "/sources" }),
+ prefetch: (e, t) => _6(T6, kke(t)),
page: (e, t) => {
- let { ScrapingPage: n } = w6.get();
+ let { ScrapingPage: n } = T6.get();
return /* @__PURE__ */ (0, I.jsx)(n, { toast: (e) => t.toast(e) });
}
},
- "/settings/library": k6("/settings/library"),
- "/settings/subscriptions": k6("/settings/subscriptions"),
- "/settings/downloads": k6("/settings/downloads"),
- "/settings/network": k6("/settings/network"),
- "/settings/maintenance": k6("/settings/maintenance"),
- "/settings/diagnostics": k6("/settings/diagnostics"),
+ "/settings/library": A6("/settings/library"),
+ "/settings/subscriptions": A6("/settings/subscriptions"),
+ "/settings/downloads": A6("/settings/downloads"),
+ "/settings/network": A6("/settings/network"),
+ "/settings/maintenance": A6("/settings/maintenance"),
+ "/settings/diagnostics": A6("/settings/diagnostics"),
"/tasks": {
- element: /* @__PURE__ */ (0, I.jsx)(f6, { path: "/tasks" }),
- prefetch: (e, t) => g6(E6, Vfe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(p6, { path: "/tasks" }),
+ prefetch: (e, t) => _6(D6, Hfe(t)),
page: () => {
- let { ActivityPage: e } = E6.get();
+ let { ActivityPage: e } = D6.get();
return /* @__PURE__ */ (0, I.jsx)(e, {});
}
},
"/subscriptions": {
- element: /* @__PURE__ */ (0, I.jsx)(f6, { path: "/subscriptions" }),
- prefetch: (e, t) => g6(D6, Li(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(p6, { path: "/subscriptions" }),
+ prefetch: (e, t) => _6(O6, Li(t)),
page: (e, t) => {
- let { FollowManagePage: n } = D6.get();
+ let { FollowManagePage: n } = O6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
...e,
route: t.routeFollowManage,
@@ -78596,12 +78637,12 @@ var k6 = (e) => ({
});
}
}
-}, j6 = (e) => Object.hasOwn(A6, e), SFe = { "/resource-sync": { element: /* @__PURE__ */ (0, I.jsx)(_Fe, {}) } }, CFe = { "/immerse": { element: /* @__PURE__ */ (0, I.jsx)(fFe, {}) } }, M6 = {
+}, M6 = (e) => Object.hasOwn(j6, e), EFe = { "/resource-sync": { element: /* @__PURE__ */ (0, I.jsx)(xFe, {}) } }, DFe = { "/immerse": { element: /* @__PURE__ */ (0, I.jsx)(gFe, {}) } }, N6 = {
"/playlists": {
- element: /* @__PURE__ */ (0, I.jsx)(lFe, {}),
- prefetch: (e, t) => g6(O6, fke(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(pFe, {}),
+ prefetch: (e, t) => _6(k6, pke(t)),
page: (e, t) => {
- let { PlaylistsPage: n } = O6.get();
+ let { PlaylistsPage: n } = k6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
revision: e.revision,
openPlaylist: t.openPlaylist,
@@ -78612,14 +78653,14 @@ var k6 = (e) => ({
}
},
"/follow": {
- element: /* @__PURE__ */ (0, I.jsx)(sFe, {}),
+ element: /* @__PURE__ */ (0, I.jsx)(dFe, {}),
prefetch: (e, t) => aa(e, t),
- page: (e) => /* @__PURE__ */ (0, I.jsx)(HEe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(UEe, { ...e })
}
-}, N6 = (e) => Object.hasOwn(M6, e), P6 = {
- element: /* @__PURE__ */ (0, I.jsx)(QPe, {}),
- prefetch: (e, t) => tEe(e, t),
- page: (e, t) => /* @__PURE__ */ (0, I.jsx)(wOe, {
+}, P6 = (e) => Object.hasOwn(N6, e), F6 = {
+ element: /* @__PURE__ */ (0, I.jsx)(nFe, {}),
+ prefetch: (e, t) => nEe(e, t),
+ page: (e, t) => /* @__PURE__ */ (0, I.jsx)(TOe, {
...e,
route: t.routeIndex,
savePreference: t.savePeopleLayout,
@@ -78632,82 +78673,82 @@ var k6 = (e) => ({
openFollowAuthor: t.openFollowAuthor,
openFollowTag: t.openFollowTag
})
-}, F6 = {
- "/performers": P6,
- "/creators": P6,
- "/studios": P6,
- "/agencies": P6,
- "/tags": P6,
- "/series": P6
}, I6 = {
- element: /* @__PURE__ */ (0, I.jsx)(rFe, {}),
- prefetch: (e) => UTe(e),
- page: (e) => /* @__PURE__ */ (0, I.jsx)(aOe, { ...e })
+ "/performers": F6,
+ "/creators": F6,
+ "/studios": F6,
+ "/agencies": F6,
+ "/tags": F6,
+ "/series": F6
}, L6 = {
- "/performers/*": I6,
- "/studios/*": I6,
- "/creators/*": I6,
- "/series/*": I6,
- "/agencies/*": I6,
- "/tags/*": I6
+ element: /* @__PURE__ */ (0, I.jsx)(sFe, {}),
+ prefetch: (e) => WTe(e),
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(oOe, { ...e })
}, R6 = {
+ "/performers/*": L6,
+ "/studios/*": L6,
+ "/creators/*": L6,
+ "/series/*": L6,
+ "/agencies/*": L6,
+ "/tags/*": L6
+}, z6 = {
"/": {
- element: /* @__PURE__ */ (0, I.jsx)(WW, {}),
+ element: /* @__PURE__ */ (0, I.jsx)(UW, {}),
prefetch: async () => {},
page: (e) => /* @__PURE__ */ (0, I.jsx)(yY, { ...e })
},
"/junk-files": {
- element: /* @__PURE__ */ (0, I.jsx)(WW, {}),
+ element: /* @__PURE__ */ (0, I.jsx)(UW, {}),
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, I.jsx)(LOe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(ROe, { ...e })
}
-}, z6 = (e) => Object.hasOwn(R6, e), wFe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, I.jsx)(K_e, { ...e }) : /* @__PURE__ */ (0, I.jsx)(z$, { ...e }), B6 = {
+}, B6 = (e) => Object.hasOwn(z6, e), OFe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, I.jsx)(K_e, { ...e }) : /* @__PURE__ */ (0, I.jsx)(B$, { ...e }), V6 = {
"catalog-filter": {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, I.jsx)(Lye, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(Rye, { ...e })
},
"feed-new": {
- prefetch: (e) => zTe(e),
- page: (e) => /* @__PURE__ */ (0, I.jsx)(dOe, { ...e })
+ prefetch: (e) => BTe(e),
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(fOe, { ...e })
},
"library-processing": {
prefetch: (e, t) => bH(t),
- page: (e) => /* @__PURE__ */ (0, I.jsx)(wFe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(OFe, { ...e })
},
search: {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, I.jsx)(Pke, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(Fke, { ...e })
}
-}, V6 = (e) => Object.hasOwn(B6, e), H6 = {
+}, H6 = (e) => Object.hasOwn(V6, e), U6 = {
"batch-dock": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(qce, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(Yce, {})
},
"glow-picker": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(kle, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(jle, {})
},
"manage-header": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(bfe, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(xfe, {})
},
immerse: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(Cde, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(Tde, {})
},
"settings-panel": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(rAe, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(iAe, {})
},
sidebar: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(yAe, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(bAe, {})
},
stage: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(jNe, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(FNe, {})
}
-}, U6 = (e) => Object.hasOwn(H6, e), W6 = [
+}, W6 = (e) => Object.hasOwn(U6, e), G6 = [
"/",
"/wall",
"/unseen",
@@ -78717,99 +78758,99 @@ var k6 = (e) => ({
"/junk-files"
];
[
- ...Object.keys(A6),
- ...Object.keys(M6),
- ...Object.keys(F6),
- ...Object.keys(L6),
- ...W6
+ ...Object.keys(j6),
+ ...Object.keys(N6),
+ ...Object.keys(I6),
+ ...Object.keys(R6),
+ ...G6
];
-var G6 = (e) => j6(e) || N6(e) || Object.hasOwn(F6, e) || Object.hasOwn(L6, e) || z6(e) || V6(e) || U6(e);
-function K6(e) {
- return j6(e) ? A6[e] : N6(e) ? M6[e] : z6(e) ? R6[e] : V6(e) ? B6[e] : U6(e) ? H6[e] : Object.hasOwn(F6, e) ? F6[e] : L6[e];
+var K6 = (e) => M6(e) || P6(e) || Object.hasOwn(I6, e) || Object.hasOwn(R6, e) || B6(e) || H6(e) || W6(e);
+function q6(e) {
+ return M6(e) ? j6[e] : P6(e) ? N6[e] : B6(e) ? z6[e] : H6(e) ? V6[e] : W6(e) ? U6[e] : Object.hasOwn(I6, e) ? I6[e] : R6[e];
}
-function TFe(e, t, n) {
- return G6(e) ? K6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
+function kFe(e, t, n) {
+ return K6(e) ? q6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
}
-function EFe(e, t, n, r) {
- return K6(e).page(t, n, r);
+function AFe(e, t, n, r) {
+ return q6(e).page(t, n, r);
}
// src/react/application-residents.ts
-var q6 = null, J6 = null, Y6 = 0, X6 = /* @__PURE__ */ new Set();
-function DFe(e) {
- return q6 = e, J6 && e(J6), () => {
- q6 === e && (q6 = null);
+var J6 = null, Y6 = null, X6 = 0, Z6 = /* @__PURE__ */ new Set();
+function jFe(e) {
+ return J6 = e, Y6 && e(Y6), () => {
+ J6 === e && (J6 = null);
};
}
-function OFe(e) {
- return q6 && (J6 = e, q6(e), op(Promise.resolve(TFe)), bFe()), Promise.resolve();
+function MFe(e) {
+ return J6 && (Y6 = e, J6(e), op(Promise.resolve(kFe)), wFe()), Promise.resolve();
}
-async function Z6(e, t, n = (e) => e) {
- let r = Y6;
- if (t.isConnected || X6.add(t), !await fp(e, {}, {
+async function Q6(e, t, n = (e) => e) {
+ let r = X6;
+ if (t.isConnected || Z6.add(t), !await fp(e, {}, {
container: t,
resident: !0,
- isCurrent: () => !!q6 && r === Y6,
+ isCurrent: () => !!J6 && r === X6,
place: () => n(t)
- }) || r !== Y6 || !q6) throw new DOMException("应用已卸载", "AbortError");
-}
-function kFe() {
- Y6 += 1, q6 = null, J6 = null, Q6 = null, $6 = null, n8 = null, r8 = null, a8 = null, o8 = null, c8 = null, l8 = null, d8 = null, f8 = null, m8 = null, h8 = null, _8 = null;
- for (let e of X6) e.remove();
- X6.clear(), i$();
-}
-var Q6 = null, $6 = null;
-function e8(e) {
- return Q6 ??= (async () => {
- let t = ANe(e), n = document.createElement("div");
- return n.dataset.stageHost = "", await Z6("stage", n, (e) => (document.body.append(e), e)), $6 = t, t;
- })(), Q6;
-}
-var t8 = () => $6, n8 = null, r8 = null;
-function AFe(e) {
- return n8 ??= (async () => {
- let t = Sde(e), n = document.createElement("div");
- return n.dataset.immerseHost = "", await Z6("immerse", n, (e) => (document.body.append(e), e)), r8 = t, t;
- })(), n8;
-}
-var i8 = () => r8, a8 = null, o8 = null;
-function jFe(e) {
- return a8 ??= (async () => {
- let t = nAe(e), n = document.createElement("div");
- return n.dataset.settingsHost = "", await Z6("settings-panel", n, (e) => (document.body.append(e), e)), o8 = t, t;
- })(), a8;
+ }) || r !== X6 || !J6) throw new DOMException("应用已卸载", "AbortError");
}
-var s8 = () => o8, c8 = null, l8 = null;
-function MFe(e) {
- return c8 ??= (async () => {
- let t = vAe(e);
- return await Z6("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), l8 = t, t;
- })(), c8;
-}
-var u8 = () => l8, d8 = null, f8 = null;
-function NFe(e) {
- return d8 ??= (async () => {
- let t = yfe(e);
- return await Z6("manage-header", e.root, (e) => (e.replaceChildren(), e)), f8 = t, t;
- })(), d8;
-}
-var p8 = () => f8, m8 = null, h8 = null;
+function NFe() {
+ X6 += 1, J6 = null, Y6 = null, $6 = null, e8 = null, r8 = null, i8 = null, o8 = null, s8 = null, l8 = null, u8 = null, f8 = null, p8 = null, h8 = null, g8 = null, v8 = null;
+ for (let e of Z6) e.remove();
+ Z6.clear(), a$();
+}
+var $6 = null, e8 = null;
+function t8(e) {
+ return $6 ??= (async () => {
+ let t = PNe(e), n = document.createElement("div");
+ return n.dataset.stageHost = "", await Q6("stage", n, (e) => (document.body.append(e), e)), e8 = t, t;
+ })(), $6;
+}
+var n8 = () => e8, r8 = null, i8 = null;
function PFe(e) {
- return m8 ??= (async () => {
- let t = Kce(e);
- return await Z6("batch-dock", e.root), h8 = t, t;
- })(), m8;
+ return r8 ??= (async () => {
+ let t = wde(e), n = document.createElement("div");
+ return n.dataset.immerseHost = "", await Q6("immerse", n, (e) => (document.body.append(e), e)), i8 = t, t;
+ })(), r8;
}
-var g8 = () => h8, _8 = null;
+var a8 = () => i8, o8 = null, s8 = null;
function FFe(e) {
- return _8 ??= (async () => {
- Ole(e), await Z6("glow-picker", e.root);
- })(), _8;
-}
-function v8(e, t, n, r) {
- a$(e, t), o$(n, r);
+ return o8 ??= (async () => {
+ let t = rAe(e), n = document.createElement("div");
+ return n.dataset.settingsHost = "", await Q6("settings-panel", n, (e) => (document.body.append(e), e)), s8 = t, t;
+ })(), o8;
+}
+var c8 = () => s8, l8 = null, u8 = null;
+function IFe(e) {
+ return l8 ??= (async () => {
+ let t = yAe(e);
+ return await Q6("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), u8 = t, t;
+ })(), l8;
+}
+var d8 = () => u8, f8 = null, p8 = null;
+function LFe(e) {
+ return f8 ??= (async () => {
+ let t = bfe(e);
+ return await Q6("manage-header", e.root, (e) => (e.replaceChildren(), e)), p8 = t, t;
+ })(), f8;
+}
+var m8 = () => p8, h8 = null, g8 = null;
+function RFe(e) {
+ return h8 ??= (async () => {
+ let t = Jce(e);
+ return await Q6("batch-dock", e.root), g8 = t, t;
+ })(), h8;
+}
+var _8 = () => g8, v8 = null;
+function zFe(e) {
+ return v8 ??= (async () => {
+ Ale(e), await Q6("glow-picker", e.root);
+ })(), v8;
+}
+function y8(e, t, n, r) {
+ o$(e, t), s$(n, r);
}
// src/application/receipts.js
-var y8 = {
+var b8 = {
toastBody: void 0,
toastSeq: void 0,
toast: void 0,
@@ -78818,13 +78859,13 @@ var y8 = {
rollSeed: void 0,
seededSample: void 0
};
-function IFe() {
- a$(L("#toasts"), {
+function BFe() {
+ o$(L("#toasts"), {
success: R("check"),
error: R("circle-alert")
- }), y8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : z(e && typeof e == "object" ? e.text ?? "" : e ?? ""), y8.toastSeq = 0, y8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {
- let a = `toast-${++y8.toastSeq}`, o = (e, t, n, r) => {
- Zo(i || (t ? "error" : "success")), v8(L("#toasts"), {
+ }), b8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : z(e && typeof e == "object" ? e.text ?? "" : e ?? ""), b8.toastSeq = 0, b8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {
+ let a = `toast-${++b8.toastSeq}`, o = (e, t, n, r) => {
+ Zo(i || (t ? "error" : "success")), y8(L("#toasts"), {
success: R("check"),
error: R("circle-alert")
}, a, {
@@ -78839,10 +78880,10 @@ function IFe() {
} : null
});
};
- return o(y8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(y8.toastBody(e), t, n, null) };
- }, y8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {
+ return o(b8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(b8.toastBody(e), t, n, null) };
+ }, b8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {
let r = null;
- return r = y8.toast({ text: e }, {
+ return r = b8.toast({ text: e }, {
timeout: n,
action: t ? {
label: "撤销",
@@ -78855,14 +78896,14 @@ function IFe() {
}
} : null
}), r;
- }, y8.actionFailure = (e, t) => y8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), y8.rollSeed = () => rr(), y8.seededSample = (e, t, n, r = (e) => e.k) => {
+ }, b8.actionFailure = (e, t) => b8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), b8.rollSeed = () => rr(), b8.seededSample = (e, t, n, r = (e) => e.k) => {
if (e.length <= t) return e;
let i = new Set([...e].sort((e, t) => nr(n, r(e)) - nr(n, r(t))).slice(0, t).map(r));
return e.filter((e) => i.has(r(e)));
};
}
// src/react/catalog-grid/catalog-state.ts
-var LFe = [
+var VFe = [
"loc",
"creator",
"studio",
@@ -78883,10 +78924,10 @@ var LFe = [
"folder",
"folder_recursive"
];
-function b8(e, t, n, r = n.defaultSort) {
- return Kj(e, t, n.defaultSort, n.defaultSortDirection, r);
+function x8(e, t, n, r = n.defaultSort) {
+ return Wj(e, t, n.defaultSort, n.defaultSortDirection, r);
}
-function RFe(e, t, n) {
+function HFe(e, t, n) {
let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = An(r) || r === "/trash", o = (e) => a ? i.get(e) : null;
return {
loc: i.get("loc") ?? "local,115",
@@ -78902,7 +78943,7 @@ function RFe(e, t, n) {
region: o("region") || "",
year: o("year") || "",
state: On[r] || o("state") || "",
- ...b8(o("sort"), o("dir"), t),
+ ...x8(o("sort"), o("dir"), t),
seed: o("seed") || n(),
q: o("q") || "",
jav: o("jav") || "",
@@ -78912,18 +78953,18 @@ function RFe(e, t, n) {
folder_recursive: o("folder_recursive") === "0" ? "0" : ""
};
}
-function zFe(e, t) {
+function UFe(e, t) {
return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;
}
-function BFe(e) {
+function WFe(e) {
let t = Dn[e.state ?? ""] || "/", n = new URLSearchParams();
- for (let t of LFe) {
+ for (let t of VFe) {
let r = e[t];
- !r || t === "tag_match" && r === "all" || t === "dir" && r === Uj(e.sort ?? "") || n.set(t, r);
+ !r || t === "tag_match" && r === "all" || t === "dir" && r === Vj(e.sort ?? "") || n.set(t, r);
}
return !Dn[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");
}
-function VFe(e, t, n) {
+function GFe(e, t, n) {
return {
loc: e.loc ?? "",
creator: "",
@@ -78939,7 +78980,7 @@ function VFe(e, t, n) {
year: "",
state: "",
sort: t.defaultSort,
- dir: Gj(t.defaultSort, t.defaultSort, t.defaultSortDirection),
+ dir: Uj(t.defaultSort, t.defaultSort, t.defaultSortDirection),
seed: n(),
q: "",
jav: "",
@@ -78949,7 +78990,7 @@ function VFe(e, t, n) {
folder_recursive: ""
};
}
-function x8(e) {
+function S8(e) {
return {
state: e,
barsContext: {
@@ -78960,7 +79001,7 @@ function x8(e) {
};
}
// src/react/catalog-grid/catalog-controller.ts
-var HFe = class {
+var KFe = class {
currentRevision = 0;
currentPage = "";
painting = null;
@@ -79005,44 +79046,44 @@ var HFe = class {
let e = [...this.waiters.values()];
this.waiters.clear(), e.forEach((e) => e());
}
-}, S8 = Infinity, C8 = 0, UFe = (e, t = C8) => [
+}, C8 = Infinity, w8 = 0, qFe = (e, t = w8) => [
"facets",
e,
t
-], WFe = (e, t, n = C8) => [
+], JFe = (e, t, n = w8) => [
"tops",
e,
t,
n
-], GFe = (e, t = C8) => [
+], YFe = (e, t = w8) => [
"tops",
e,
t
];
-async function w8(e) {
+async function T8(e) {
let t = String(e), n = await wn(`/api/tops?${t}`), r = new URLSearchParams(t);
return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await wn(`/api/tops?${r}`));
}
-function KFe(e, t) {
+function XFe(e, t) {
return Promise.all([H.fetchQuery({
- queryKey: UFe(e),
+ queryKey: qFe(e),
queryFn: () => wn(`/api/facets${e ? `?${e}` : ""}`),
- staleTime: S8
+ staleTime: C8
}), H.fetchQuery({
- queryKey: WFe(t, e),
- queryFn: () => w8(t),
- staleTime: S8
+ queryKey: JFe(t, e),
+ queryFn: () => T8(t),
+ staleTime: C8
})]);
}
-function qFe(e) {
+function ZFe(e) {
return H.fetchQuery({
- queryKey: GFe(e),
- queryFn: () => w8(e),
- staleTime: S8
+ queryKey: YFe(e),
+ queryFn: () => T8(e),
+ staleTime: C8
});
}
-function T8() {
- C8 += 1;
+function E8() {
+ w8 += 1;
let e = (e) => e.state.fetchStatus === "idle";
H.removeQueries({
queryKey: ["facets"],
@@ -79053,7 +79094,7 @@ function T8() {
});
}
// src/application/navigation-items.ts
-var E8 = [
+var D8 = [
[
"",
"首页",
@@ -79104,7 +79145,7 @@ var E8 = [
"管理",
"wrench"
]
-], D8 = [
+], O8 = [
[
"stats",
"统计",
@@ -79150,18 +79191,18 @@ var E8 = [
"Peach 配置",
"folder-cog"
]
-], O8 = [
+], k8 = [
"stats",
"taste",
"cleanup",
"follow",
"activity",
"configuration"
-], JFe = (e) => D8.filter(([t]) => O8.includes(t) && (t !== "configuration" || e)), k8 = D8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
+], QFe = (e) => O8.filter(([t]) => k8.includes(t) && (t !== "configuration" || e)), A8 = O8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,
t,
n
-]]), YFe = [...E8, ...k8], XFe = {
+]]), $Fe = [...D8, ...A8], eIe = {
stats: "stats",
review: "review",
"data-cleanup": "cleanup",
@@ -79169,18 +79210,18 @@ var E8 = [
"follow-manage": "follow",
quality: "quality",
activity: "activity"
-}, A8 = [
+}, j8 = [
["0", "不限时间"],
["7", "最近 7 天"],
["30", "最近 30 天"],
["90", "最近 90 天"]
];
// src/react/index/index-controller.ts
-function j8({ kind: e, q: t, scope: n, view: r, category: i }) {
+function M8({ kind: e, q: t, scope: n, view: r, category: i }) {
let a = new URLSearchParams();
return t && a.set("q", t), e === "tags" && (a.set("view", r), n === "online" && a.set("scope", n), i !== "all" && a.set("category", i)), e === "performers" && n === "online" && a.set("scope", n), e === "performers" && n !== "online" && i !== "all" && a.set("category", i), `/${e}` + (a.size ? `?${a}` : "");
}
-function M8(e, t, n) {
+function N8(e, t, n) {
let r = e.entity_id || e.id, i = t === "studio" || t === "agency";
return {
html: go(e.k, r ? {
@@ -79193,20 +79234,20 @@ function M8(e, t, n) {
face: vo(e.avatar_focus)
};
}
-function N8(e) {
+function P8(e) {
let t = String(e.k || ""), n = (t.match(/[A-Za-z0-9]/)?.[0] || Array.from(t)[0] || "?").toUpperCase(), r = e.avatar ? `<img src="${z(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${Ba({ fallbacks: [e.avatar_fallback || ""] })}>` : "";
return `<span class="ini">${z(n)}</span>${r}`;
}
-function ZFe(e) {
+function tIe(e) {
let t = (t) => {
e.adoptFollowView(t), e.hideIndex(), e.openPage(Oa(t));
};
return {
route(t, { replace: n = !1 } = {}) {
- e.route(j8(t), n);
+ e.route(M8(t), n);
},
- personAvatar: M8,
- authorAvatar: N8,
+ personAvatar: N8,
+ authorAvatar: P8,
openFollowAuthor(n) {
t(ka(e.followView(), n));
},
@@ -79216,7 +79257,7 @@ function ZFe(e) {
};
}
// src/application/effects.ts
-var P8 = class {
+var F8 = class {
cleanups = /* @__PURE__ */ new Set();
active = !0;
disposed = !1;
@@ -79297,12 +79338,12 @@ var P8 = class {
}
if (e.length) throw AggregateError(e, "应用资源清理未全部完成");
}
-}, F8 = new P8();
-function QFe() {
- return F8.dispose(), F8 = new P8(), F8;
+}, I8 = new F8();
+function nIe() {
+ return I8.dispose(), I8 = new F8(), I8;
}
// src/application/source-action.ts
-function $Fe(e) {
+function rIe(e) {
return async (t, n, { button: r = null } = {}) => {
if (r?.getAttribute("aria-busy") === "true") return;
let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";
@@ -79317,36 +79358,36 @@ function $Fe(e) {
};
}
// src/react/entity-page/entity-route.ts
-var I8 = () => Object.fromEntries(qX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
-function L8(e, t) {
- let n = new URLSearchParams(e), r = I8();
- for (let e of qX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
+var L8 = () => Object.fromEntries(JX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
+function R8(e, t) {
+ let n = new URLSearchParams(e), r = L8();
+ for (let e of JX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
return {
...r,
- ...Kj(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
+ ...Wj(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
};
}
-function R8(e) {
+function z8(e) {
let t = new URLSearchParams();
- for (let n of qX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Uj(e.sort || "") || t.set(n, e[n]);
+ for (let n of JX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Vj(e.sort || "") || t.set(n, e[n]);
return t.toString();
}
-function z8(e) {
+function B8(e) {
let t = new URLSearchParams(e), n = t.get("set") || "", r = t.get("media");
return {
media: r === "photos" || r === "online" ? r : "videos",
set: r === "photos" && /^\d+$/.test(n) ? Number(n) : 0
};
}
-function B8(e, t) {
- let n = new URLSearchParams(R8(e));
+function V8(e, t) {
+ let n = new URLSearchParams(z8(e));
return t?.media === "photos" ? (n.set("media", "photos"), t.set && n.set("set", String(t.set))) : t?.media === "online" && n.set("media", "online"), n.toString();
}
-function eIe(e, t, n, r) {
- let i = B8(n, r);
+function iIe(e, t, n, r) {
+ let i = V8(n, r);
return Nn(e, t) + (i ? `?${i}` : "");
}
-function tIe() {
+function aIe() {
let e = "";
return {
fresh(t, n) {
@@ -79355,22 +79396,22 @@ function tIe() {
read(t, n, r, i) {
let a = e === Nn(t, n) && !r;
e = "";
- let o = a ? I8() : { ...L8(r, i) };
+ let o = a ? L8() : { ...R8(r, i) };
return t === "creator" && (o.creator = ""), {
filters: o,
media: a ? {
media: "videos",
set: 0
- } : z8(r)
+ } : B8(r)
};
}
};
}
// src/react/entity-page/photo-surface.ts
-function nIe(e, t) {
+function oIe(e, t) {
return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();
}
-function rIe(e) {
+function sIe(e) {
let t = () => {
let t = e.preferences();
for (let n of e.walls()) n.dataset.size = t.size, n.dataset.layout = "fixed", n.dataset.imagesOnly = String(t.imagesOnly);
@@ -79392,12 +79433,12 @@ function rIe(e) {
};
}
// src/react/entity-page/entity-controller.ts
-function iIe(e, t, n) {
+function cIe(e, t, n) {
let r = (t, n, r, i = {
media: "videos",
set: 0
}, { push: a = !0 } = {}) => {
- if (a && e.route(eIe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
+ if (a && e.route(iIe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
e.releaseBodyPreviews();
let o = e.state();
return e.push({
@@ -79411,7 +79452,7 @@ function iIe(e, t, n) {
if (s) return s;
let c = () => {
let n = e.context();
- return n?.kind === t && n.name === a ? n.filters : I8();
+ return n?.kind === t && n.name === a ? n.filters : L8();
}, l = {
...n,
route: (e, n) => {
@@ -79424,7 +79465,7 @@ function iIe(e, t, n) {
e.tag = "", e.creator = "", e.studio = "", e.owner = "";
}),
setSort: (e) => {
- let n = c(), i = Wj(e, n.sort || "new", n.dir || "");
+ let n = c(), i = Hj(e, n.sort || "new", n.dir || "");
i && r(t, a, {
...n,
...i
@@ -79475,7 +79516,7 @@ function iIe(e, t, n) {
};
}
// src/react/entity-page/entity-loading.ts
-function aIe(e) {
+function lIe(e) {
return async (t, n, r) => {
e.paintSkeleton(t, n), e.resetView(), e.shapesReady(t, n) || e.waitShapes().then(() => {
r() && e.syncParts(t, n);
@@ -79485,7 +79526,7 @@ function aIe(e) {
};
}
// src/react/entity-page/entity-portrait.ts
-function oIe(e, t) {
+function uIe(e, t) {
let n = e === "studio" || e === "agency", r = t.id ? ho({
kind: e,
id: t.id,
@@ -79507,11 +79548,11 @@ function oIe(e, t) {
return r || (i?.avatar ? `<img src="${z(i.avatar)}" alt="${z(t.canonical_name)}" referrerpolicy="no-referrer" ${Ba({ fallbacks: [i.avatar_fallback || ""] })}>` : "");
}
// src/react/entity-page/entity-application.ts
-function sIe(e) {
- let t = tIe(), n = {
+function dIe(e) {
+ let t = aIe(), n = {
...e.helpers,
- portraitImg: oIe
- }, r = iIe(e.controller, n, e.actions);
+ portraitImg: uIe
+ }, r = cIe(e.controller, n, e.actions);
return {
...r,
helpers: n,
@@ -79520,12 +79561,12 @@ function sIe(e) {
let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());
return r.props(n, i, o, s);
},
- loading: aIe(e.loading),
- photos: rIe(e.photos)
+ loading: lIe(e.loading),
+ photos: sIe(e.photos)
};
}
// src/card-art/feed-identity.ts
-function cIe(e) {
+function fIe(e) {
let t = e.performer_refs || [], n = [...new Set((e.performers || "").split(/[,,、;/]/).map((e) => e.trim()).filter(Boolean))], r = t.length ? t : n.map((e) => ({ name: e })), i = r.slice(0, 3).map((t) => {
let n = e.code && t.source_actor_id && t.source_avatar && !t.has_image && !t.has_avatar, r = n ? ` data-feed-source-avatar data-code="${z(e.code)}" data-actor="${z(t.source_actor_id)}" data-name="${z(t.name)}"` : "", i = n ? "" : go(t.name, t, null);
return "id" in t && t.id ? `<a class="mav"${r} href="${z(Nn("performer", t.name, t.id))}" aria-label="打开女优页:${z(t.name)}">${i}</a>` : `<span class="mav"${r} title="${z(t.name)}">${i}</span>`;
@@ -79533,7 +79574,7 @@ function cIe(e) {
return r.length > 1 ? `<div class="mavstack">${i}</div>` : i;
}
// src/application/feed.js
-var V8 = {
+var H8 = {
FEED_SKELETON_CARDS: void 0,
feedNewSkeletonHtml: void 0,
entityShapes: void 0,
@@ -79549,56 +79590,56 @@ var V8 = {
feedNewActions: void 0,
HERO_WIDE_PX: void 0
};
-function H8(e) {
+function U8(e) {
return e.has_cover ? xo(e, "big") : !e.cover_url || !e.code ? e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${Vs("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>" : xo(e, "big").replace(/ src="[^"]*"/, ` src="${z(uo(e))}" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"nopic\"");
}
-function lIe(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 = H8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? rL({
+function pIe(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 = U8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? nL({
is_jav: !0,
code: e.code,
name: e.code,
display_title: e.title || ""
}) : z(r), a = e.code ? `<a class="feednewopen" href="/works/${encodeURIComponent(e.code)}" aria-label="打开 ${z(r)} 的作品详情"></a>` : "";
return `<article class="card feednewcard${e.read ? " isread" : ""}" data-feed-id="${e.id}">
- ${a}<div class="pic" style="--card-ratio:${bM}">${n}
+ ${a}<div class="pic" style="--card-ratio:${vM}">${n}
<div class="hovertools feednewtools">
<button type="button" data-feed-action="${e.wanted ? "unwant" : "want"}" aria-pressed="${!!e.wanted}" title="${e.wanted ? "取消想要" : "想要"}" aria-label="想要 ${z(r)}">${R("star")}</button>
<button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${z(r)}">${R("x")}</button>
<button type="button" data-feed-action="read" title="标为已看过" aria-label="标为已看过 ${z(r)}">${R("check")}</button></div></div>
- <div class="meta">${cIe(e)}<div class="mtext"><span class="t">${i}</span>
+ <div class="meta">${fIe(e)}<div class="mtext"><span class="t">${i}</span>
<div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;
}
-function uIe() {
+function mIe() {
let e = document.getElementById("peach-entity-shape");
if (e) try {
let t = JSON.parse(e.textContent || "null");
if (!t?.id || typeof t.kind != "string" || !Array.isArray(t.names) || !Array.isArray(t.parts)) return;
- V8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${Hn(e)}`, t.parts]));
+ H8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${Hn(e)}`, t.parts]));
} catch {}
}
-async function U8() {
- let e = F8, t = await wn("/api/entity/shapes", { signal: e.signal }).catch(() => null);
- return e.isActive && t && !t.error && (V8.entityShapesComplete = !0, V8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${Hn(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && G8(t.home.feed), Y8(location.pathname) && K8(L("#feedNew"))), V8.entityShapes;
+async function W8() {
+ let e = I8, t = await wn("/api/entity/shapes", { signal: e.signal }).catch(() => null);
+ return e.isActive && t && !t.error && (H8.entityShapesComplete = !0, H8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${Hn(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && K8(t.home.feed), X8(location.pathname) && q8(L("#feedNew"))), H8.entityShapes;
}
-var W8 = "peach.home-feed.v1";
-function G8(e) {
+var G8 = "peach.home-feed.v1";
+function K8(e) {
X.homeHasFeed = e;
try {
- localStorage.setItem(W8, e ? "1" : "0");
+ localStorage.setItem(G8, e ? "1" : "0");
} catch {}
}
-function dIe() {
+function hIe() {
try {
- let e = localStorage.getItem(W8);
+ let e = localStorage.getItem(G8);
return e === "1" || e !== "0" && null;
} catch {
return null;
}
}
-function K8(e) {
- !e || cp(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = V8.feedNewSkeletonHtml())));
+function q8(e) {
+ !e || cp(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = H8.feedNewSkeletonHtml())));
}
-function fIe(e, t) {
+function gIe(e, t) {
return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : Rs(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {
variant: "warning",
className: "feednetwork",
@@ -79606,55 +79647,55 @@ function fIe(e, t) {
actionHref: "/sources"
});
}
-function q8(e) {
- let t = e && !e.error && e.items || [];
- return fIe(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(lIe).join("")}</div>`;
-}
function J8(e) {
- e && (e9(e), Z.appSettings.feedAutoScroll && Lc(e));
+ let t = e && !e.error && e.items || [];
+ return gIe(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(pIe).join("")}</div>`;
}
function Y8(e) {
+ e && (t9(e), Z.appSettings.feedAutoScroll && Lc(e));
+}
+function X8(e) {
return An(e) && e !== "/junk-files";
}
-function pIe() {
+function _Ie() {
let e = L("#feedNew");
- cp(e) ? e.hidden = X.homeHasFeed !== !0 : (K8(e), fp("feed-new", {
+ cp(e) ? e.hidden = X.homeHasFeed !== !0 : (q8(e), fp("feed-new", {
host: e,
- revision: V8.feedRevision,
- helpers: V8.feedNewHelpers,
- actions: V8.feedNewActions
+ revision: H8.feedRevision,
+ helpers: H8.feedNewHelpers,
+ actions: H8.feedNewActions
}, {
container: e,
- isCurrent: () => Y8(location.pathname)
+ isCurrent: () => X8(location.pathname)
}));
}
-function X8() {
+function Z8() {
let e = L("#feedNew");
e.querySelectorAll(".feednewrow").forEach(Rc), e.hidden = !0;
}
-function Z8() {
- V8.feedRevision += 1, mp(L("#feedNew"), { revision: V8.feedRevision }), i5({ feedRevision: V8.feedRevision });
+function Q8() {
+ H8.feedRevision += 1, mp(L("#feedNew"), { revision: H8.feedRevision }), a5({ feedRevision: H8.feedRevision });
}
-function mIe() {
+function vIe() {
document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? Lc(e) : Rc(e));
}
-var Q8 = 0;
-function hIe([e]) {
- let t = e.contentRect.width >= V8.HERO_WIDE_PX;
- cancelAnimationFrame(Q8), Q8 = requestAnimationFrame(() => {
- Q8 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);
+var $8 = 0;
+function yIe([e]) {
+ let t = e.contentRect.width >= H8.HERO_WIDE_PX;
+ cancelAnimationFrame($8), $8 = requestAnimationFrame(() => {
+ $8 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);
});
}
-function gIe() {
- V8.FEED_SKELETON_CARDS = 8, V8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${bM}"></div>
+function bIe() {
+ H8.FEED_SKELETON_CARDS = 8, H8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${vM}"></div>
<div class="meta"><div class="mtext"><span class="t"><span class="skeleton"></span></span>
- <div class="s mono"><span class="skeleton">&#8203;</span></div></div></div></article>`.repeat(V8.FEED_SKELETON_CARDS)}</div>`, V8.entityShapes = null, V8.entityShapesComplete = !1, V8.hasEntityShape = (e, t) => V8.entityShapesComplete || !!V8.entityShapes?.has(`${e}/${Hn(t)}`), V8.hasEntityPart = (e, t, n) => !!t && !!V8.entityShapes?.get(`${e}/${Hn(t)}`)?.includes(n), V8.feedNewSkeletonSection = () => `<section class="feednew">${V8.feedNewSkeletonHtml()}</section>`, V8.COSTAR_SKELETON_PEOPLE = 12, V8.costarSkeletonFoot = () => `<div class="entityfoot" data-entity-foot><div class="relatedpeople" data-related-people>${"<button type=\"button\" disabled tabindex=\"-1\"><span class=\"skeleton\" data-hero-ring></span><span class=\"skeleton\" data-hero-costar-name>&#8203;</span></button>".repeat(V8.COSTAR_SKELETON_PEOPLE)}</div></div>`, V8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, V8.feedRevision = 0, V8.feedNewHelpers = {
- feedRowHtml: q8,
- wireFeedRow: (e) => J8(e)
- }, V8.feedNewActions = { settled: (e) => G8(e) }, V8.HERO_WIDE_PX = 900, F8.resize(hIe).observe(L("#index"));
+ <div class="s mono"><span class="skeleton">&#8203;</span></div></div></div></article>`.repeat(H8.FEED_SKELETON_CARDS)}</div>`, H8.entityShapes = null, H8.entityShapesComplete = !1, H8.hasEntityShape = (e, t) => H8.entityShapesComplete || !!H8.entityShapes?.has(`${e}/${Hn(t)}`), H8.hasEntityPart = (e, t, n) => !!t && !!H8.entityShapes?.get(`${e}/${Hn(t)}`)?.includes(n), H8.feedNewSkeletonSection = () => `<section class="feednew">${H8.feedNewSkeletonHtml()}</section>`, H8.COSTAR_SKELETON_PEOPLE = 12, H8.costarSkeletonFoot = () => `<div class="entityfoot" data-entity-foot><div class="relatedpeople" data-related-people>${"<button type=\"button\" disabled tabindex=\"-1\"><span class=\"skeleton\" data-hero-ring></span><span class=\"skeleton\" data-hero-costar-name>&#8203;</span></button>".repeat(H8.COSTAR_SKELETON_PEOPLE)}</div></div>`, H8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, H8.feedRevision = 0, H8.feedNewHelpers = {
+ feedRowHtml: J8,
+ wireFeedRow: (e) => Y8(e)
+ }, H8.feedNewActions = { settled: (e) => K8(e) }, H8.HERO_WIDE_PX = 900, I8.resize(yIe).observe(L("#index"));
}
// src/entity-skeleton.ts
-function _Ie(e, t, n, r = "") {
+function xIe(e, t, n, r = "") {
let i = e === "studio" || e === "agency", a = new URLSearchParams(location.search), o = a.get("browse") === "folders" || a.get("folder") ? `<div class="peach-react entity-folder-workspace" data-folder-workspace data-folder-browse><aside data-folder-tree-host><div class="flex flex-col gap-3"><span class="skeleton ui-configuration-skeleton-input"></span>${"<span class=\"skeleton\" style=\"width:75%;height:32px\"></span>".repeat(8)}</div></aside><div class="min-w-0"><div data-folder-header-host><span class="skeleton" style="width:160px;height:32px"></span></div>${n}</div></div>` : n;
return `<section data-skeleton="entity/${e}" role="status" aria-label="正在读取资料">
<span class="sr-only">正在读取资料</span><div aria-hidden="true" inert><div class="peach-react contents">
@@ -79668,10 +79709,10 @@ function _Ie(e, t, n, r = "") {
<div class="entitysection">${o}</div></div></section>`;
}
// src/filter-controls-skeleton.ts
-var $8 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : ws(e, "size-4 shrink-0"), e5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", t5 = (e, t, n) => `<span data-entity-layout="" class="${yU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${bU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${e5}>${$8(r)}</span>`).join("")}</span>`;
-function n5(e, t) {
- let n = pG(), r = new URLSearchParams(location.search), i = t && n === "cards" ? t5(t.label, t.value, t.options) : "";
- return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${e5}>${$8("shuffle")}</button>${i}${t5("馆藏显示方式", n, [[
+var e5 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : ws(e, "size-4 shrink-0"), t5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", n5 = (e, t, n) => `<span data-entity-layout="" class="${yU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${bU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${t5}>${e5(r)}</span>`).join("")}</span>`;
+function r5(e, t) {
+ let n = fG(), r = new URLSearchParams(location.search), i = t && n === "cards" ? n5(t.label, t.value, t.options) : "";
+ return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${t5}>${e5("shuffle")}</button>${i}${n5("馆藏显示方式", n, [[
"cards",
"卡片",
"ri-layout-grid-line"
@@ -79679,7 +79720,7 @@ function n5(e, t) {
"list",
"列表",
"ri-list-unordered"
- ]])}<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${r.get("browse") === "folders" || !!r.get("folder")}" ${e5}>${$8("ri-folder-3-line")}</button>${e.map((e) => `<button type="button" data-entity-sort="${z(e.key)}" aria-pressed="${e.pressed}" ${e5}>${z(e.label)}${e.dir ? $8(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;
+ ]])}<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${r.get("browse") === "folders" || !!r.get("folder")}" ${t5}>${e5("ri-folder-3-line")}</button>${e.map((e) => `<button type="button" data-entity-sort="${z(e.key)}" aria-pressed="${e.pressed}" ${t5}>${z(e.label)}${e.dir ? e5(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;
}
// src/application/entity.js
var Y = {
@@ -79707,16 +79748,16 @@ var Y = {
sourceToolButtons: void 0,
application: void 0
};
-function r5() {
+function i5() {
let e = sp(L("#index"));
return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;
}
-function i5(e) {
+function a5(e) {
Y.entityPageCurrent() && mp(L("#index"), e);
}
-function a5() {
+function o5() {
if (Gl.type === "item") return Gl;
- let e = r5();
+ let e = i5();
if (e) {
let { kind: t, name: n, filters: r } = e.props;
return {
@@ -79728,23 +79769,23 @@ function a5() {
}
return Gl;
}
-function o5(e, t, n = e7()) {
- return uLe(n).map(([n, r]) => {
- let i = e === n, a = Wj(n, e, t);
+function s5(e, t, n = t7()) {
+ return mLe(n).map(([n, r]) => {
+ let i = e === n, a = Hj(n, e, t);
return {
key: n,
label: r,
pressed: i,
- dir: i && Hj(n, t) ? t === "asc" ? "asc" : "desc" : "",
- ariaLabel: a ? `按${r}${a.dir ? Hj(a.sort, a.dir) : ""}排序` : ""
+ dir: i && Bj(n, t) ? t === "asc" ? "asc" : "desc" : "",
+ ariaLabel: a ? `按${r}${a.dir ? Bj(a.sort, a.dir) : ""}排序` : ""
};
});
}
-function s5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {
+function c5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {
return Y.application.route(e, t, n, r, i);
}
-function c5() {
- return nIe({
+function l5() {
+ return oIe({
entityWall: Y.entityPageWall,
entityCurrent: Y.entityPageCurrent(),
indexVisible: !L("#index").hidden,
@@ -79753,37 +79794,37 @@ function c5() {
statsVisible: !L("#stats").hidden
}, () => [...document.querySelectorAll(".followphotowall")].some((e) => e.getClientRects().length > 0));
}
-function l5() {
+function u5() {
Y.photos.sync();
}
-function u5() {
- c5() ? xle(EM()) : zM();
+function d5() {
+ l5() ? Cle(wM()) : LM();
}
-function vIe(e) {
+function SIe(e) {
Y.photos.setSize(e);
}
-var d5 = $Fe({
+var f5 = rIe({
request: (e) => wn("/api/reveal", {
method: "POST",
body: JSON.stringify({ id: e })
}),
- success: () => y8.toast({ text: "已在资源管理器中显示" }),
+ success: () => b8.toast({ text: "已在资源管理器中显示" }),
failureText: (e) => Y.sourceHint(e instanceof Error ? e.message : String(e))
});
-async function f5(e) {
+async function p5(e) {
let t = { textContent: "" };
- return await d5(e, t), t.textContent;
+ return await f5(e, t), t.textContent;
}
-async function yIe(e) {
+async function CIe(e) {
let t = { textContent: "" }, n = [];
- return await p5(e, t, (e) => {
+ return await m5(e, t, (e) => {
e.items && (n = e.items.map((e) => e.id));
}), {
text: t.textContent,
removed: n
};
}
-async function p5(e, t, n) {
+async function m5(e, t, n) {
t.textContent = "正在核对目录…";
try {
let r = await wn("/api/purge-missing", {
@@ -79796,7 +79837,7 @@ async function p5(e, t, n) {
}
if (t.textContent = r.removed ? `${Y.syncedText(r)}(核对 ${r.checked} 项${r.unreadable ? `,${r.unreadable} 项未能读取` : ""})` : r.unreadable ? `目录有 ${r.unreadable} 项暂时无法读取,本次未改动` : `目录内 ${r.checked} 项都还在,无需改动`, r.removed) {
let e = (r.items || []).filter((e) => e.disposal !== "reattached").map((e) => e.id);
- n && n(r), y8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {
+ n && n(r), b8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {
await wn("/api/batch", {
method: "POST",
body: JSON.stringify({
@@ -79808,22 +79849,22 @@ async function p5(e, t, n) {
restored: e.length
});
} : null });
- } else y8.actionReceipt("目录核对完成,无需改动");
+ } else b8.actionReceipt("目录核对完成,无需改动");
} catch (e) {
- t.textContent = Y.sourceHint(e.message), y8.actionFailure("核对目录", e);
+ t.textContent = Y.sourceHint(e.message), b8.actionFailure("核对目录", e);
}
}
-function bIe(e) {
+function wIe(e) {
return `<div class="srctools">${Y.sourceToolButtons(e)}
<span class="srcstate" aria-live="polite"></span></div>`;
}
-function xIe(e, t) {
+function TIe(e, t) {
let n = e.querySelector(".srcstate");
if (!n) return;
let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");
- r && F8.handler(r, "onclick", () => d5(Number(r.dataset.reveal), n, { button: r })), i && F8.handler(i, "onclick", () => p5(Number(i.dataset.sync), n, t));
+ r && I8.handler(r, "onclick", () => f5(Number(r.dataset.reveal), n, { button: r })), i && I8.handler(i, "onclick", () => m5(Number(i.dataset.sync), n, t));
}
-async function SIe(e, t) {
+async function EIe(e, t) {
let n = il({
title: "添加别名",
description: "图库按名字查找图片,添加别名可能找到更多备选图片;也可以将别名设为统一显示的名称。",
@@ -79835,9 +79876,9 @@ async function SIe(e, t) {
confirmDisabled: !0,
onConfirm: () => t({ alias: r.value.trim() })
}), r = n.dialog.querySelector("[name=alias]");
- F8.handler(r, "oninput", () => {
+ I8.handler(r, "oninput", () => {
n.confirmButton.disabled = !r.value.trim();
- }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => F8.handler(e, "onclick", async () => {
+ }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => I8.handler(e, "onclick", async () => {
let r = e.dataset.aliasDrop;
n.close();
try {
@@ -79846,53 +79887,53 @@ async function SIe(e, t) {
remove: !0
});
} catch (e) {
- y8.actionFailure("撤销别名", e);
+ b8.actionFailure("撤销别名", e);
return;
}
- y8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {
+ b8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {
await t({ alias: r });
} });
}));
let { confirmed: i, result: a } = await n.done;
- i && (a?.added ? y8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {
+ i && (a?.added ? b8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {
await t({
alias: a.alias,
remove: !0
});
- } }) : y8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));
+ } }) : b8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));
}
-function m5(e, t) {
- let n = ["performer", "studio"].includes(e) && V8.hasEntityPart(e, t, "jav"), r = `<div data-filter-row="bottom" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><h3 data-entity-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"></span></h3>${Ts()}${e === "agency" ? "" : n5(o5(U.sort, U.dir, n), n ? {
+function h5(e, t) {
+ let n = ["performer", "studio"].includes(e) && H8.hasEntityPart(e, t, "jav"), r = `<div data-filter-row="bottom" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><h3 data-entity-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"></span></h3>${Ts()}${e === "agency" ? "" : r5(s5(U.sort, U.dir, n), n ? {
name: "jav-layout",
label: "JAV 卡片版式",
- value: SM(),
- options: _M
- } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${e5}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${e5}>${R("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${z(e.k)}" aria-pressed="${U.state === e.k}" ${e5}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = _Ie(e, r, e === "agency" ? rc({
+ value: bM(),
+ options: hM
+ } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${t5}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${t5}>${R("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${z(e.k)}" aria-pressed="${U.state === e.k}" ${t5}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = xIe(e, r, e === "agency" ? rc({
kind: "performers",
- layout: A5.peopleIndexLayout()
- }) : eY("正在读取作品", AM(kM({
+ layout: j5.peopleIndexLayout()
+ }) : eY("正在读取作品", OM(DM({
active: n,
home: !1,
portrait: !1
}))), i);
- L("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? h5(e, t) : (L("#index").innerHTML = a, h5(e, t), uc(L("#index")));
+ L("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? g5(e, t) : (L("#index").innerHTML = a, g5(e, t), uc(L("#index")));
}
-function h5(e, t) {
+function g5(e, t) {
let n = L("#index").firstElementChild;
if (n?.dataset.skeleton !== `entity/${e}`) return;
let r = (e, t, n) => {
t && !e ? n() : !t && e && e.remove();
};
- r(n.querySelector(".entityfoot"), e !== "agency" && V8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", V8.costarSkeletonFoot())), r(n.querySelector(".feednew"), V8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", V8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && V8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", V8.factsSkeleton()));
+ r(n.querySelector(".entityfoot"), e !== "agency" && H8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", H8.costarSkeletonFoot())), r(n.querySelector(".feednew"), H8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", H8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && H8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", H8.factsSkeleton()));
}
-function g5(e) {
- let t = jn[e] || e, n = X3[t] || "条目", r = X3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";
+function _5(e) {
+ let t = jn[e] || e, n = Z3[t] || "条目", r = Z3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";
L("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });
}
-function _5(e, t) {
- v9(Y.application.fresh(e, t));
+function v5(e, t) {
+ y9(Y.application.fresh(e, t));
}
-function CIe() {
+function DIe() {
Y.ENTITY_FILTER_KEYS = [
"loc",
"creator",
@@ -79904,40 +79945,40 @@ function CIe() {
"year",
"sort",
"dir"
- ], Y.emptyEntityFilters = I8, Y.parseEntityFilters = (e) => L8(e, {
+ ], Y.emptyEntityFilters = L8, Y.parseEntityFilters = (e) => R8(e, {
sort: Z.appSettings.defaultSort,
dir: Z.appSettings.defaultSortDirection
- }), Y.entityFilterSearch = R8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {
+ }), Y.entityFilterSearch = z8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {
...e,
filters: { ...e.filters }
} : e, Y.activeFilterState = () => {
- let e = a5();
+ let e = o5();
return e.type === "home" ? U : e.filters;
}, L("#q").value = U.q, X.rememberSearchValue();
}
-function wIe() {
- Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!r5(), Y.entityPageLive = (e, t) => {
- let n = r5();
+function OIe() {
+ Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!i5(), Y.entityPageLive = (e, t) => {
+ let n = i5();
return !!n && !L("#index").hidden && n.props.kind === e && n.props.name === t;
}, Y.EMPTY_ENTITY_MEDIA = {
media: "videos",
set: 0
- }, Y.parseMediaView = z8, Y.entityViewSearch = B8, Y.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, Y.entityBodySkeleton = () => K7(), Y.entityPageHelpers = {
+ }, Y.parseMediaView = B8, Y.entityViewSearch = V8, Y.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, Y.entityBodySkeleton = () => q7(), Y.entityPageHelpers = {
wireDrag: (e) => {
- e && e9(e);
+ e && t9(e);
},
wireScroller: (e) => {
e && Dc(e);
},
- wireFeedRow: (e) => J8(e),
- feedRowHtml: q8,
- receipt: (e, t) => y8.actionReceipt(e, t),
- failure: (e, t) => y8.actionFailure(e, t),
- aliasForm: (e, t) => SIe(e, t),
- sourceToolsHtml: (e) => bIe(e),
- wireSourceTools: (e, t) => xIe(e, t),
- comboItems: (e) => F7(e),
- sortKeys: (e, t, n) => o5(e, t, n)
+ wireFeedRow: (e) => Y8(e),
+ feedRowHtml: J8,
+ receipt: (e, t) => b8.actionReceipt(e, t),
+ failure: (e, t) => b8.actionFailure(e, t),
+ aliasForm: (e, t) => EIe(e, t),
+ sourceToolsHtml: (e) => wIe(e),
+ wireSourceTools: (e, t) => TIe(e, t),
+ comboItems: (e) => I7(e),
+ sortKeys: (e, t, n) => s5(e, t, n)
}, Y.entityFollowActions = {
...$.followFeedActions,
route: () => {},
@@ -79960,11 +80001,11 @@ function wIe() {
<button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"
aria-label="同步删除">${R("folder-sync")}</button>`;
}
-function TIe() {
- Y.application = sIe({
+function kIe() {
+ Y.application = dIe({
controller: {
context: () => {
- let e = a5();
+ let e = o5();
return e.type === "entity" ? e : null;
},
live: (e, t) => Y.entityPageLive(e, t),
@@ -79976,28 +80017,28 @@ function TIe() {
filters: U
} }),
releaseBodyPreviews: () => Al(L("#index [data-entity-body]")),
- push: i5,
+ push: a5,
state: () => ({
seed: String(U.seed || ""),
jav: U.jav === "1"
}),
preferences: () => ({
revision: Y.entityPageRevision,
- feedRevision: V8.feedRevision,
- photoSize: EM(),
- photoLayout: DM(),
- photoLayouts: yM,
+ feedRevision: H8.feedRevision,
+ photoSize: wM(),
+ photoLayout: TM(),
+ photoLayouts: _M,
followImagesOnly: !!Z.appSettings.followImagesOnly,
- javLayout: SM(),
- javLayouts: _M,
+ javLayout: bM(),
+ javLayouts: hM,
states: X.VIEW_PILLS,
- peopleLayout: A5.peopleIndexLayout(),
- layout: G7(),
+ peopleLayout: j5.peopleIndexLayout(),
+ layout: K7(),
selectMode: Yl,
selected: new Set(ql),
seekSeconds: Z.appSettings.seekSeconds,
groupCollapse: Z.appSettings.groupCollapse,
- wireDrag: e9,
+ wireDrag: t9,
skeletonHtml: Y.entityBodySkeleton,
canLoadMore: Y.entityBodyCanLoadMore,
follow: {
@@ -80005,52 +80046,52 @@ function TIe() {
actions: Y.entityFollowActions
}
}),
- changeFilter: S7,
- rollSeed: () => y8.rollSeed(),
+ changeFilter: C7,
+ rollSeed: () => b8.rollSeed(),
writeSeed: (e) => {
U.seed = e, bu();
},
- setJavLayout: r7,
- javLayout: SM,
- setPhotoLayout: MM,
- syncPhotoWalls: l5,
- openEntity: _5,
- photoViewActive: c5,
+ setJavLayout: i7,
+ javLayout: bM,
+ setPhotoLayout: AM,
+ syncPhotoWalls: u5,
+ openEntity: v5,
+ photoViewActive: l5,
recordPainted: (e, t) => {
Y.entityPageView = e, Y.entityPageWall = t;
},
- syncDensity: u5,
- scheduleSticky: u7,
+ syncDensity: d5,
+ scheduleSticky: d7,
releasePage: () => hp(L("#index")),
- showMissing: g5,
- dropBars: T8
+ showMissing: _5,
+ dropBars: E8
},
loading: {
- shapesReady: (e, t) => V8.hasEntityShape(e, t),
- waitShapes: L5,
- paintSkeleton: m5,
+ shapesReady: (e, t) => H8.hasEntityShape(e, t),
+ waitShapes: R5,
+ paintSkeleton: h5,
resetView: () => {
yu({ detailReturnBarsContext: null }), Y.entityPageView = "", Y.entityPageWall = !1;
},
- loadShapes: U8,
- syncParts: h5
+ loadShapes: W8,
+ syncParts: g5
},
photos: {
preferences: () => ({
- size: EM(),
- layout: DM(),
+ size: wM(),
+ layout: TM(),
imagesOnly: !!Z.appSettings.followImagesOnly
}),
walls: () => document.querySelectorAll(".followphotowall"),
- pushEntity: i5,
- pushFollow: C9,
- syncDensity: u5,
- storeSize: yle
+ pushEntity: a5,
+ pushFollow: w9,
+ syncDensity: d5,
+ storeSize: xle
},
helpers: Y.entityPageHelpers,
actions: {
- toggleTag: P7,
- openFollowAuthor: N5,
+ toggleTag: F7,
+ openFollowAuthor: P5,
javContext: (e) => yu({ entityJavLayout: !!e })
},
sortPreference: () => ({
@@ -80060,8 +80101,8 @@ function TIe() {
}), Y.photos = Y.application.photos, Y.entityPageHelpers = Y.application.helpers;
}
// src/application/playlists.js
-var v5 = { playlistWrite: void 0 };
-function EIe(e, t) {
+var y5 = { playlistWrite: void 0 };
+function AIe(e, t) {
e === "tag" ? (yu({ state: {
...U,
tag: t,
@@ -80071,17 +80112,17 @@ function EIe(e, t) {
q: "",
state: "",
orient: ""
- } }), X.clearSearchField(), Q.route(h7()), H5(), M7()) : _5(e, t);
+ } }), X.clearSearchField(), Q.route(g7()), U5(), N7()) : v5(e, t);
}
-function y5(e = "") {
+function b5(e = "") {
return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"
maxlength="80" placeholder="输入名称" value="${z(e)}"></label>`;
}
-async function DIe({ title: e, count: t, save: n }) {
+async function jIe({ title: e, count: t, save: n }) {
let r = il({
title: "保存为播放列表",
description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,
- body: y5(e),
+ body: b5(e),
confirmLabel: "保存为播放列表",
onConfirm: () => {
let e = r.dialog.querySelector("[name=\"name\"]").value.trim();
@@ -80091,28 +80132,28 @@ async function DIe({ title: e, count: t, save: n }) {
});
r.dialog.querySelector("[name=\"name\"]").select();
let { confirmed: i, result: a } = await r.done;
- i && (await o9(a.id, a.current_asset_id, !0), y8.actionReceipt("已保存为播放列表", { undo: async () => {
- await v5.playlistWrite({
+ i && (await s9(a.id, a.current_asset_id, !0), b8.actionReceipt("已保存为播放列表", { undo: async () => {
+ await y5.playlistWrite({
action: "delete",
id: a.id
- }), v9("/playlists");
+ }), y9("/playlists");
} }));
}
-async function OIe(e) {
+async function MIe(e) {
let t = ((await wn("/api/playlists")).items || []).map((e) => `<label class="pickrow">${Ws(`data-pick-playlist="${e.id}"`)}
<span class="pickrowtext"><b>${z(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = il({
title: "加入播放列表",
description: "勾选要加入的列表,或者填个名称新建一份。",
- body: y5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Rs("还没有播放列表,填个名称就能新建一份。", { size: "small" })),
+ body: b5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Rs("还没有播放列表,填个名称就能新建一份。", { size: "small" })),
confirmLabel: "保存",
confirmDisabled: !0,
onConfirm: async () => {
- let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await v5.playlistWrite({
+ let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await y5.playlistWrite({
action: "create",
name: t,
asset_ids: [e.id]
})).playlist : null;
- for (let t of r) await v5.playlistWrite({
+ for (let t of r) await y5.playlistWrite({
action: "add",
id: t,
asset_ids: [e.id]
@@ -80126,46 +80167,46 @@ async function OIe(e) {
let e = n.dialog.querySelector("[name=\"name\"]").value.trim();
n.confirmButton.disabled = !e && !n.dialog.querySelector("[data-pick-playlist]:checked");
};
- F8.listen(n.dialog, "input", r), F8.listen(n.dialog, "change", r);
+ I8.listen(n.dialog, "input", r), I8.listen(n.dialog, "change", r);
let { confirmed: i, result: a } = await n.done;
if (!i) return;
let o = +!!a.created + a.added.length;
- y8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {
- for (let t of a.added) await v5.playlistWrite({
+ b8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {
+ for (let t of a.added) await y5.playlistWrite({
action: "remove",
id: t,
asset_id: e.id
});
- a.created && await v5.playlistWrite({
+ a.created && await y5.playlistWrite({
action: "delete",
id: a.created.id
});
} });
}
-function b5() {
- Al(), i9(!1), V5();
+function x5() {
+ Al(), a9(!1), H5();
let e = sp(L("#stats"));
- e?.path !== "/playlists" || !e.host.isConnected ? yu({ pageOpens: uu + 1 }) : (B5({ manage: !1 }), yu({ playlistsRevision: gu + 1 }));
+ e?.path !== "/playlists" || !e.host.isConnected ? yu({ pageOpens: uu + 1 }) : (V5({ manage: !1 }), yu({ playlistsRevision: gu + 1 }));
}
-function kIe(e) {
+function NIe(e) {
let t = new URLSearchParams(location.search);
for (let n of ["category", "queue"]) e[n] ? t.set(n, e[n]) : t.delete(n);
Q.route("/review" + (t.size ? "?" + t : ""));
}
-function x5(e) {
+function S5(e) {
yu({ configurationRequestedSection: e }), Q.navigatePath(Mf(e));
}
-function AIe() {
- v5.playlistWrite = (e) => wn("/api/playlist", {
+function PIe() {
+ y5.playlistWrite = (e) => wn("/api/playlist", {
method: "POST",
body: JSON.stringify(e)
});
}
// src/react/catalog-grid/selection-controller.ts
-function S5(e) {
+function C5(e) {
return e === "/follow" ? "follow" : e === "/junk-files" ? "junk" : "catalog";
}
-function C5(e, t, n, r, i = !1) {
+function w5(e, t, n, r, i = !1) {
return i && (e.selected.clear(), e.followSelected.clear()), {
selectMode: r,
selectSurface: r ? t.selectMode ? t.selectSurface : n : "",
@@ -80173,15 +80214,15 @@ function C5(e, t, n, r, i = !1) {
followLastSelectedId: i ? null : t.followLastSelectedId
};
}
-function w5(e, t, n, r, i, a = !1) {
+function T5(e, t, n, r, i, a = !1) {
let o = n === "follow", s = IY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
return {
- ...C5(e, t, n, !0),
+ ...w5(e, t, n, !0),
...o ? { followLastSelectedId: s } : { lastSelectedId: s }
};
}
-function jIe(e, t, n, r) {
- let i = S5(t);
+function FIe(e, t, n, r) {
+ let i = C5(t);
return {
count: (i === "follow" ? e.followSelected : e.selected).size,
context: i === "catalog" && r === "trash" ? "trash" : i,
@@ -80189,7 +80230,7 @@ function jIe(e, t, n, r) {
};
}
// src/application/selection.js
-var T5 = {
+var E5 = {
batchDockProps: void 0,
trashCount: void 0,
currentSelectSurface: void 0,
@@ -80197,43 +80238,43 @@ var T5 = {
BATCH_RUNNERS: void 0,
coverRecheck: void 0
};
-function E5() {
- U7({
+function D5() {
+ W7({
selected: new Set(ql),
selectMode: Yl
- }), i5({
+ }), a5({
selected: new Set(ql),
selectMode: Yl
- }), C9({
+ }), w9({
selected: new Set(Jl),
selectMode: Yl
- }), T5.batchDockProps = VIe(), g8() && (g8().render(T5.batchDockProps), Z.syncGlassOptics());
+ }), E5.batchDockProps = GIe(), _8() && (_8().render(E5.batchDockProps), Z.syncGlassOptics());
}
-function D5(e, t = !1) {
- yu(C5({
+function O5(e, t = !1) {
+ yu(w5({
selected: ql,
followSelected: Jl
- }, k5(), S5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Yl), Yl && Al(), L("#selectMode").setAttribute("aria-pressed", String(Yl)), E5();
+ }, A5(), C5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Yl), Yl && Al(), L("#selectMode").setAttribute("aria-pressed", String(Yl)), D5();
}
-function MIe() {
- return [...P5.gridCards()].map((e) => +e.dataset.id);
+function IIe() {
+ return [...F5.gridCards()].map((e) => +e.dataset.id);
}
-function O5(e, t = !1) {
- yu(w5({
+function k5(e, t = !1) {
+ yu(T5({
selected: ql,
followSelected: Jl
- }, k5(), S5(location.pathname), MIe(), e, t)), D5(!0);
+ }, A5(), C5(location.pathname), IIe(), e, t)), O5(!0);
}
-function NIe() {
+function LIe() {
return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);
}
-function PIe(e, t = !1) {
- yu(w5({
+function RIe(e, t = !1) {
+ yu(T5({
selected: ql,
followSelected: Jl
- }, k5(), "follow", NIe(), e, t)), D5(!0);
+ }, A5(), "follow", LIe(), e, t)), O5(!0);
}
-async function FIe(e, t) {
+async function zIe(e, t) {
let n = {
like: "喜欢",
seen: "标为看过",
@@ -80265,9 +80306,9 @@ async function FIe(e, t) {
})
});
if (t.blocked && t.blocked.length) throw Error(`已永久删除 ${t.purged} 项;${t.blocked.length} 项未能删除,仍在回收站:\n` + t.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));
- D5(!1, !0), await a7();
+ O5(!1, !0), await o7();
let r = e === "dispose" ? "restore" : e === "restore" ? "dispose" : null;
- y8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {
+ b8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {
if (r === "dispose" && t.restored_reasons) for (let e of [
null,
"manual",
@@ -80292,23 +80333,23 @@ async function FIe(e, t) {
operation: r
})
});
- await a7();
+ await o7();
} : null });
} catch (e) {
throw qc(t, !1), e;
} finally {
- qc(t, !1), E5();
+ qc(t, !1), D5();
}
}
});
}
-async function IIe() {
+async function BIe() {
let e = [...ql];
if (!e.length) return;
let t = il({
title: "判定产地",
description: `选中的 ${e.length} 项归为同一个产地。判定之后,刮削和自动推断不再改写产地。`,
- body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + T5.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}">
+ body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + E5.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}">
<span class="chip-label">${t}</span></button>`).join("") + "</div>",
confirmLabel: "判定产地",
confirmDisabled: !0,
@@ -80328,13 +80369,13 @@ async function IIe() {
};
}
});
- t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => F8.handler(e, "onclick", () => {
+ t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => I8.handler(e, "onclick", () => {
t.dialog.querySelectorAll("[data-region-pick]").forEach((t) => t.setAttribute("aria-pressed", String(t === e))), t.confirmButton.disabled = !1;
}));
let { confirmed: n, result: r } = await t.done;
- n && (D5(!1, !0), await a7(), y8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));
+ n && (O5(!1, !0), await o7(), b8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));
}
-async function LIe(e, t) {
+async function VIe(e, t) {
let n = [...Jl];
if (!n.length) return;
let r = {
@@ -80360,16 +80401,16 @@ async function LIe(e, t) {
items: n,
to: e
})
- }), D5(!1, !0), location.pathname === "/follow" && yu({ pageOpens: uu + 1 }), y8.actionReceipt(`已${r[e]} ${n.length} 项`);
+ }), O5(!1, !0), location.pathname === "/follow" && yu({ pageOpens: uu + 1 }), b8.actionReceipt(`已${r[e]} ${n.length} 项`);
} catch (e) {
throw qc(t, !1), e;
} finally {
- qc(t, !1), E5();
+ qc(t, !1), D5();
}
}
});
}
-async function RIe(e, t) {
+async function HIe(e, t) {
let n = [...ql];
if (!n.length) return;
let r = {
@@ -80396,68 +80437,68 @@ async function RIe(e, t) {
operation: e,
...e === "dispose" ? { disposal_reason: "junk" } : {}
})
- }), D5(!1, !0), await L7();
+ }), O5(!1, !0), await R7();
let t = e === "dispose" ? "restore" : e === "dismiss-junk" ? "reconsider-junk" : e === "reconsider-junk" ? "dismiss-junk" : null;
- y8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {
+ b8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {
await wn("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: n,
operation: t
})
- }), await L7();
+ }), await R7();
} : null });
} catch (e) {
throw qc(t, !1), e;
} finally {
- qc(t, !1), E5();
+ qc(t, !1), D5();
}
}
});
}
-function zIe() {
- PFe({
+function UIe() {
+ RFe({
root: L("[data-batch-dock]"),
run: (e, t, n) => {
- T5.BATCH_RUNNERS[e]?.(t, n);
+ E5.BATCH_RUNNERS[e]?.(t, n);
}
}).then((e) => {
- e.render(T5.batchDockProps), Z.syncGlassOptics();
+ e.render(E5.batchDockProps), Z.syncGlassOptics();
}).catch(() => {});
}
-function BIe() {
- T5.batchDockProps = {
+function WIe() {
+ E5.batchDockProps = {
count: 0,
context: "catalog",
junkDismissed: !1
- }, T5.trashCount = null, T5.currentSelectSurface = () => S5(location.pathname), F8.handler(L("#selectMode"), "onclick", () => D5(!Yl, !!Yl)), T5.REGION_CHOICES = [
+ }, E5.trashCount = null, E5.currentSelectSurface = () => C5(location.pathname), I8.handler(L("#selectMode"), "onclick", () => O5(!Yl, !!Yl)), E5.REGION_CHOICES = [
["jp", "日本"],
["kr", "韩国"],
["cn", "国产"],
["west", "欧美"],
["other", "其他"],
["none", "撤回判定"]
- ], T5.BATCH_RUNNERS = {
- batch: FIe,
- region: IIe,
- follow: LIe,
- junk: RIe,
- clear: () => D5(!1, !0)
- }, F8.handler(L("#density"), "onclick", () => {
- c5() ? vIe(EM() === "big" ? "small" : "big") : ble();
- }), zM(), Ol({
+ ], E5.BATCH_RUNNERS = {
+ batch: zIe,
+ region: BIe,
+ follow: VIe,
+ junk: HIe,
+ clear: () => O5(!1, !0)
+ }, I8.handler(L("#density"), "onclick", () => {
+ l5() ? SIe(wM() === "big" ? "small" : "big") : Sle();
+ }), LM(), Ol({
selecting: () => Yl,
- censored: () => Q7(),
+ censored: () => $7(),
delaySeconds: () => Z.appSettings.hoverDelaySeconds
- }), F8.listen(window, "pagehide", () => Al()), F8.listen(document, "visibilitychange", () => {
+ }), I8.listen(window, "pagehide", () => Al()), I8.listen(document, "visibilitychange", () => {
document.hidden && Al();
- }), Tl(), T5.coverRecheck = 0, F8.listen(window, "resize", () => {
- Sl(L("#index")), clearTimeout(T5.coverRecheck), T5.coverRecheck = F8.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {
+ }), Tl(), E5.coverRecheck = 0, I8.listen(window, "resize", () => {
+ Sl(L("#index")), clearTimeout(E5.coverRecheck), E5.coverRecheck = I8.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {
e.complete && pl(e);
}), 200);
}, { passive: !0 });
}
-function k5() {
+function A5() {
return {
selectMode: Yl,
selectSurface: Ql,
@@ -80465,73 +80506,73 @@ function k5() {
followLastSelectedId: Zl
};
}
-function VIe() {
- return jIe({
+function GIe() {
+ return FIe({
selected: ql,
followSelected: Jl
}, location.pathname, location.search, U.state);
}
// src/application/index.js
-var A5 = {
+var j5 = {
peopleIndexLayout: void 0,
personAvatar: void 0
};
-function HIe() {
+function KIe() {
return Z.appSettings.followLayout === "table" ? "table" : "default";
}
-function UIe() {
- return JZ(location.search);
+function qIe() {
+ return YZ(location.search);
}
-function WIe(e) {
- return YZ(e);
+function JIe(e) {
+ return XZ(e);
}
-function GIe(e) {
- Q.route(WIe(e));
+function YIe(e) {
+ Q.route(JIe(e));
}
-function KIe(e = "") {
- return XZ(location.search, e);
+function XIe(e = "") {
+ return ZZ(location.search, e);
}
-function qIe(e) {
- return N8(e);
+function ZIe(e) {
+ return P8(e);
}
-function j5(e) {
- return j8(e);
+function M5(e) {
+ return M8(e);
}
-function M5() {
- L("#stats").hidden = !0, L("#index").hidden = !1, z7(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;
+function N5() {
+ L("#stats").hidden = !0, L("#index").hidden = !1, B7(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;
}
-function JIe(e, t) {
+function QIe(e, t) {
yu({ state: {
...U,
state: "",
tag: e.join(","),
tag_match: t
- } }), D5(!1, !1), Q.route(h7()), H5(), m9(), M7();
+ } }), O5(!1, !1), Q.route(g7()), U5(), h9(), N7();
}
-function N5(e) {
- A5.controller.openFollowAuthor(e);
+function P5(e) {
+ j5.controller.openFollowAuthor(e);
}
-function YIe(e) {
- A5.controller.openFollowTag(e);
+function $Ie(e) {
+ j5.controller.openFollowTag(e);
}
-function XIe() {
- $.FOLLOW_MANAGE_TABS = qZ, F8.listen(document, "click", (e) => {
- e.target.closest?.("[data-empty-settings]") && x5("媒体库与入库");
- }), A5.peopleIndexLayout = () => Z3(Z.appSettings.peopleLayout), A5.personAvatar = M8;
+function eLe() {
+ $.FOLLOW_MANAGE_TABS = JZ, I8.listen(document, "click", (e) => {
+ e.target.closest?.("[data-empty-settings]") && S5("媒体库与入库");
+ }), j5.peopleIndexLayout = () => Q3(Z.appSettings.peopleLayout), j5.personAvatar = N8;
}
-function ZIe() {
- A5.controller = ZFe({
+function tLe() {
+ j5.controller = tIe({
route: Q.route,
- followView: b9,
- adoptFollowView: x9,
+ followView: x9,
+ adoptFollowView: S9,
hideIndex: () => {
L("#index").hidden = !0;
},
- openPage: v9
+ openPage: y9
});
}
// src/application/loading.js
-var P5 = {
+var F5 = {
setGridCards: void 0,
gridCards: void 0,
managementPlaceholder: void 0,
@@ -80540,58 +80581,58 @@ var P5 = {
ENTITY_SHAPES_WAIT: void 0,
syncPageTitle: void 0
};
-function F5(e = "正在读取作品") {
+function I5(e = "正在读取作品") {
if (location.pathname === "/wall") {
L("#loadSentinel").hidden = !0;
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 = Ive(XU(location.search)), uc(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && w7({
+ 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 = Ive(XU(location.search)), uc(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && T7({
count: null,
- ...D7()
- })), L("#loadSentinel").hidden = !0, H7()) return;
- let r = L("#grid"), i = K7(e), a = r.querySelector(".catalog-skeleton");
- (a?.dataset.skeleton !== T2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== q7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : P5.setGridCards(i), uc(L("#grid")));
-}
-function I5() {
- L("#catalogFilter").style.display = "none", C7();
+ ...O7()
+ })), L("#loadSentinel").hidden = !0, U7()) return;
+ let r = L("#grid"), i = q7(e), a = r.querySelector(".catalog-skeleton");
+ (a?.dataset.skeleton !== E2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== J7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : F5.setGridCards(i), uc(L("#grid")));
}
function L5() {
+ L("#catalogFilter").style.display = "none", w7();
+}
+function R5() {
let e = new Promise((e) => {
- let t = P5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {
+ let t = F5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {
let i = performance.now();
- t -= Math.min(i - n, 50), n = i, t > 0 ? F8.delay(r, Math.min(t, 50)) : e();
+ t -= Math.min(i - n, 50), n = i, t > 0 ? I8.delay(r, Math.min(t, 50)) : e();
};
- F8.delay(r, 50);
+ I8.delay(r, 50);
});
- return Promise.race([P5.entityShapesReady ||= U8(), e]);
+ return Promise.race([F5.entityShapesReady ||= W8(), e]);
}
-function QIe() {
+function nLe() {
let e = decodeURIComponent(location.pathname);
- if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), I5();
- else if (/^\/assets\/\d+$/.test(e)) I5();
- else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) I5();
- else if (e === "/junk-files") F5("正在读取垃圾文件");
- else if (e === "/jav" && SU(new URLSearchParams(location.search).get("tab")) === "library") F5("正在读取馆藏");
+ if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), L5();
+ else if (/^\/assets\/\d+$/.test(e)) L5();
+ else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) L5();
+ else if (e === "/junk-files") I5("正在读取垃圾文件");
+ else if (e === "/jav" && SU(new URLSearchParams(location.search).get("tab")) === "library") I5("正在读取馆藏");
else if (Q.managedPagePath(e)) {
- I5();
+ L5();
let t = L("#stats");
- t.hidden = !1, z7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : P5.managementPlaceholder(e), uc(t);
- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) I5(), M5(), e6(L("#index"), Q3(e.slice(1), location.search), A5.peopleIndexLayout());
+ t.hidden = !1, B7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : F5.managementPlaceholder(e), uc(t);
+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) L5(), N5(), t6(L("#index"), $3(e.slice(1), location.search), j5.peopleIndexLayout());
else if (/^\/(?:performers|creators|studios|agencies|series|tags)\//.test(e)) {
- I5(), L("#index").hidden = !1, z7();
+ L5(), L("#index").hidden = !1, B7();
let t = Mn[e.split("/")[1]], n = e.split("/").slice(2).join("/");
- (V8.hasEntityShape(t, n) ? Promise.resolve() : L5()).then(() => {
- L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (m5(t, n), uc(L("#index")));
+ (H8.hasEntityShape(t, n) ? Promise.resolve() : R5()).then(() => {
+ L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (h5(t, n), uc(L("#index")));
});
- } else Q.routeMeta(e) ? F5() : (z7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);
+ } else Q.routeMeta(e) ? I5() : (B7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);
}
-function $Ie() {
- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => C2(t, {
+function rLe() {
+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => w2(t, {
cards: !0,
className: "follow-content-skeleton postercard-skeleton",
gridClass: e === "images" ? "followlist followphotowall" : "",
- gridSize: EM()
+ gridSize: wM()
}), $.followSkeletonHtml = (e = "正在读取关注内容") => `<div class="peach-react"><div class="follow" data-follow-feed>
<div data-follow-head><h2 data-follow-title>关注</h2></div>
<div class="tier followauthors" data-skeleton-tier="av"></div>
@@ -80599,37 +80640,37 @@ function $Ie() {
<div class="board-filter-frame" data-filter-frame>
<div class="tagbar followfilters" data-filter-row="top" data-skeleton-tier="pill"></div>
<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 = Vs(Bs), P5.setGridCards = (e) => tc(L("#grid"), () => {
+ ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, L("#loadSentinel").innerHTML = Vs(Bs), F5.setGridCards = (e) => tc(L("#grid"), () => {
L("#grid").innerHTML = `<div class="grid">${e}</div>`;
- }), P5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), P5.managementPlaceholder = (e) => w2(e, {
- followLayout: HIe(),
+ }), F5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), F5.managementPlaceholder = (e) => T2(e, {
+ followLayout: KIe(),
...(({ sort: e, dir: t, tab: n }) => ({
followSort: e,
followDir: t,
followTab: n
- }))(UIe())
- }), P5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", P5.entityShapesReady = null, P5.ENTITY_SHAPES_WAIT = 400, P5.syncPageTitle = (e) => {
+ }))(qIe())
+ }), F5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", F5.entityShapesReady = null, F5.ENTITY_SHAPES_WAIT = 400, F5.syncPageTitle = (e) => {
let t = new URL(e, location.origin), n = Qf(decodeURIComponent(t.pathname))?.title;
- document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, f9();
+ document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, p9();
};
}
// src/sidebar-skeleton.ts
-var R5 = (e) => e.replace(/[&<>"']/g, (e) => ({
+var z5 = (e) => e.replace(/[&<>"']/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;",
"'": "&#39;"
})[e]);
-function eLe(e, t, n) {
+function iLe(e, t, n) {
let r = new Map(t.map((e) => [e[0], e]));
return `<div data-sidebar-head=""></div><div data-sidebar-nav="">${e.map((e) => r.get(e)).filter((e) => e !== void 0).map(([e, t, r]) => {
- let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo-64.png\" srcset=\"/peach-logo-64.png 64w, /peach-logo-128.png 128w\" sizes=\"24px\" width=\"24\" height=\"24\" alt=\"\" decoding=\"async\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${R5(r)}"/></svg>`;
- return `<button type="button" data-nav="${R5(e)}" aria-pressed="${n(e)}" aria-label="${R5(t)}">${i}<span>${R5(t)}</span></button>`;
+ let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo-64.png\" srcset=\"/peach-logo-64.png 64w, /peach-logo-128.png 128w\" sizes=\"24px\" width=\"24\" height=\"24\" alt=\"\" decoding=\"async\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${z5(r)}"/></svg>`;
+ return `<button type="button" data-nav="${z5(e)}" aria-pressed="${n(e)}" aria-label="${z5(t)}">${i}<span>${z5(t)}</span></button>`;
}).join("")}</div>`;
}
// src/application/filter-scroll.js
-function tLe(e, t, n, r = !1) {
+function aLe(e, t, n, r = !1) {
if (t = Math.max(0, t), !e || !n || r || t <= 8) return {
y: t,
origin: t,
@@ -80647,7 +80688,7 @@ function tLe(e, t, n, r = !1) {
};
}
// src/application/layout.js
-var z5 = {
+var B5 = {
sidebarProps: void 0,
sidebarSurface: void 0,
sidebarCatalog: void 0,
@@ -80669,20 +80710,20 @@ var z5 = {
mobileFilterHost: void 0,
mobileFilterPath: void 0
};
-function B5({ manage: e = !0, placeholder: t = "" } = {}) {
- L("#stats").hidden = !1, L("#index").hidden = !0, z7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? X5() : (Z5(""), m9()), t && E2(L("#stats"), t);
-}
-function V5() {
- L("#javLibraryHeader").hidden = !0, X.hideCatalogCombo(), I5(), document.body.classList.remove("entity-open", "index-open");
+function V5({ manage: e = !0, placeholder: t = "" } = {}) {
+ L("#stats").hidden = !1, L("#index").hidden = !0, B7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? Z5() : (Q5(""), h9()), t && D2(L("#stats"), t);
}
function H5() {
- L("#javLibraryHeader").hidden = !An(location.pathname) || !e7(), document.body.classList.remove("entity-open", "index-open"), hp(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, Y8(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", C7(), X5(), Q5();
+ L("#javLibraryHeader").hidden = !0, X.hideCatalogCombo(), L5(), document.body.classList.remove("entity-open", "index-open");
}
-function nLe() {
- Q.route("/"), H5();
+function U5() {
+ L("#javLibraryHeader").hidden = !An(location.pathname) || !t7(), document.body.classList.remove("entity-open", "index-open"), hp(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, X8(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", w7(), Z5(), $5();
}
-function U5({ tags: e = [], providers: t = [], duration: n = !1 }) {
- p9({
+function oLe() {
+ Q.route("/"), U5();
+}
+function W5({ tags: e = [], providers: t = [], duration: n = !1 }) {
+ m9({
content: e.length || t.length || n ? {
kind: "follow",
tags: e.map(([e, t]) => ({
@@ -80705,28 +80746,28 @@ function U5({ tags: e = [], providers: t = [], duration: n = !1 }) {
filters: $.followSidebarFilters()
});
}
-function W5(e) {
- iRe({
- ...b9(),
+function G5(e) {
+ cRe({
+ ...x9(),
...e
- }), p9({ filters: $.followSidebarFilters() });
+ }), m9({ filters: $.followSidebarFilters() });
}
-function G5() {
+function K5() {
return matchMedia("(max-width:760px)").matches;
}
-function K5(e) {
+function q5(e) {
let t = L("#drawer"), n = !e && t.contains(document.activeElement);
- t.inert = !e && G5(), t.classList.toggle("open", e), L("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), L("#filterBtn").setAttribute("aria-expanded", String(!!e)), L("#filterBtn").setAttribute("aria-controls", "drawer"), L("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && L("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");
+ t.inert = !e && K5(), t.classList.toggle("open", e), L("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), L("#filterBtn").setAttribute("aria-expanded", String(!!e)), L("#filterBtn").setAttribute("aria-controls", "drawer"), L("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && L("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");
}
-function q5() {
- G5() && K5(!1);
+function J5() {
+ K5() && q5(!1);
}
-function rLe() {
+function sLe() {
cu === null && (yu({ runtimeConfigurable: !1 }), wn("/healthz").then((e) => {
- yu({ runtimeConfigurable: !!e.configurable }), cu && Y5() && X5();
+ yu({ runtimeConfigurable: !!e.configurable }), cu && X5() && Z5();
}).catch(() => {}));
}
-function J5(e = "", t = !1) {
+function Y5(e = "", t = !1) {
if (!t && !Af(location.pathname)) {
let t = W.navigation;
W.push(Mf(e), { settingsBackground: {
@@ -80739,38 +80780,38 @@ function J5(e = "", t = !1) {
replace: !0,
state: W.navigation.location.state
});
- return e ||= jf(location.pathname), jFe(z5.settingsHost()).then((t) => (t.open(e), t));
+ return e ||= jf(location.pathname), FFe(B5.settingsHost()).then((t) => (t.open(e), t));
}
-function iLe() {
+function cLe() {
Af(location.pathname) && (Nf(W.navigation.location.state) ? W.go(-1) : Q.navigatePath("/", !0));
}
-function aLe() {
+function lLe() {
return {
scroll: L("#drawerScroll"),
store: Z.settingsStore,
- navCatalog: z5.NAV_CATALOG,
- navOn: s7,
- navTo: c7,
+ navCatalog: B5.NAV_CATALOG,
+ navOn: c7,
+ navTo: l7,
navToTop: () => {
- q5(), cm();
+ J5(), cm();
},
- toggleChip: (e, t, n) => S7((r) => {
+ toggleChip: (e, t, n) => C7((r) => {
if (n) {
let n = String(r[e] || "").split(",").filter(Boolean), i = n.indexOf(t);
i >= 0 ? n.splice(i, 1) : n.push(t), r[e] = n.join(",");
} else r[e] = r[e] === t ? "" : t;
}),
- setDuration: (e, t) => S7((n) => {
+ setDuration: (e, t) => C7((n) => {
n.len = "", n.dur_min = e ? String(e * 60) : "", n.dur_max = t < 180 ? String(t * 60) : "";
}),
openFollowTag: (e) => {
- $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), K5(!1), v9(y9());
+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), q5(!1), y9(b9());
},
selectFollowTag: (e) => {
- $.followTags = /* @__PURE__ */ new Set([e]), K5(!1), v9(y9());
+ $.followTags = /* @__PURE__ */ new Set([e]), q5(!1), y9(b9());
},
- selectFollowProvider: (e) => W5({ provider: $.followProviders.has(e) ? "" : e }),
- setFollowDuration: (e, t) => W5({
+ selectFollowProvider: (e) => G5({ provider: $.followProviders.has(e) ? "" : e }),
+ setFollowDuration: (e, t) => G5({
durMin: e ? e * 60 : 0,
durMax: t < 180 ? t * 60 : 0
}),
@@ -80779,111 +80820,111 @@ function aLe() {
}
};
}
-function oLe() {
+function uLe() {
let e = L("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];
- e.innerHTML = eLe(Z.appSettings.sidebarOrder, z5.NAV_CATALOG, s7), e.querySelector("[data-sidebar-head]").append(...t), F8.listen(e, "click", (e) => {
- if (u8()) return;
+ e.innerHTML = iLe(Z.appSettings.sidebarOrder, B5.NAV_CATALOG, c7), e.querySelector("[data-sidebar-head]").append(...t), I8.listen(e, "click", (e) => {
+ if (d8()) return;
let t = e.target.closest?.("[data-nav]");
- t && c7(t.dataset.nav);
- }), MFe(aLe()).then((e) => e.render(z5.sidebarProps)).catch(() => {});
+ t && l7(t.dataset.nav);
+ }), IFe(lLe()).then((e) => e.render(B5.sidebarProps)).catch(() => {});
}
-async function sLe() {
- let e = F8, t = null;
+async function dLe() {
+ let e = I8, t = null;
try {
t = await wn("/api/settings", { signal: e.signal });
} catch {
return;
}
- e.isActive && fM(t, (e) => Z.settingsEffects[e]?.());
+ e.isActive && uM(t, (e) => Z.settingsEffects[e]?.());
}
-function Y5() {
+function X5() {
return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (U.state === "ads" ? "cleanup" : "");
}
-function X5() {
- let e = Y5();
- rLe(), e && I5(), L("#count").classList.toggle("no-tagbar", !!e), m9(), e !== "trash" && (T5.trashCount = null), Z5(e);
+function Z5() {
+ let e = X5();
+ sLe(), e && L5(), L("#count").classList.toggle("no-tagbar", !!e), h9(), e !== "trash" && (E5.trashCount = null), Q5(e);
}
-function cLe(e) {
+function fLe(e) {
return {
section: e,
path: decodeURIComponent(location.pathname),
- sections: z5.MANAGE_SECTIONS,
- menu: e ? z5.manageMenuSections() : [],
- trash: T5.trashCount
+ sections: B5.MANAGE_SECTIONS,
+ menu: e ? B5.manageMenuSections() : [],
+ trash: E5.trashCount
};
}
-function Z5(e = Y5()) {
- Q5();
- let t = cLe(e), n = p8();
+function Q5(e = X5()) {
+ $5();
+ let t = fLe(e), n = m8();
if (n) n.render(t);
else {
- let e = Dde(t);
- e !== z5.manageHeaderSkeleton && (z5.manageHeaderSkeleton = e, z5.manageHeaderRoot().innerHTML = e);
+ let e = kde(t);
+ e !== B5.manageHeaderSkeleton && (B5.manageHeaderSkeleton = e, B5.manageHeaderRoot().innerHTML = e);
}
- let r = KF(t)?.title || "";
- r !== z5.lastManagePageLabel && (z5.lastManagePageLabel = r, r && Qs(z5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
+ let r = WF(t)?.title || "";
+ r !== B5.lastManagePageLabel && (B5.lastManagePageLabel = r, r && Qs(B5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
}
-function lLe() {
- let e = z5.manageHeaderRoot();
- F8.listen(e, "click", (e) => {
- if (p8()) return;
+function pLe() {
+ let e = B5.manageHeaderRoot();
+ I8.listen(e, "click", (e) => {
+ if (m8()) return;
let t = e.target.closest?.("[data-manage]");
- if (t) $5(t.dataset.manage);
+ if (t) e7(t.dataset.manage);
else if (e.target.closest?.("[data-manage-crumb] a[href]")) {
if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button) return;
e.preventDefault(), Q.navigatePath("/data-cleanup");
- } else e.target.closest?.("[data-empty-trash]") && N7();
- }), NFe({
+ } else e.target.closest?.("[data-empty-trash]") && P7();
+ }), LFe({
root: e,
- openManage: $5,
+ openManage: e7,
openDataCleanup: () => Q.navigatePath("/data-cleanup"),
- emptyTrash: N7
- }).then(() => Z5()).catch(() => {});
+ emptyTrash: P7
+ }).then(() => Q5()).catch(() => {});
}
-function Q5() {
+function $5() {
let e = L("#listTitle");
if (!e) return;
- let t = decodeURIComponent(location.pathname), n = !Y5() && An(t) && kn[U.state] || "";
- e.hidden = !n, n && (e.textContent = n), L("#catalogPageHeading").hidden = !!Y5() || !An(t) || !!n || U.jav === "1";
+ let t = decodeURIComponent(location.pathname), n = !X5() && An(t) && kn[U.state] || "";
+ e.hidden = !n, n && (e.textContent = n), L("#catalogPageHeading").hidden = !!X5() || !An(t) || !!n || U.jav === "1";
}
-function $5(e = "stats") {
+function e7(e = "stats") {
let t = Q.routePathOf("section", e);
- t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", bu(), Q.route(ZU()), H5(), m9(), M7());
+ t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", bu(), Q.route(ZU()), U5(), h9(), N7());
}
-function e7() {
+function t7() {
let e = decodeURIComponent(location.pathname);
return e === "/" ? U.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? U.jav === "1" || fu : !1;
}
-function uLe(e = e7()) {
- let t = Lj.filter(([e]) => e !== "seed");
- return e ? [Rj, ...t] : t;
+function mLe(e = t7()) {
+ let t = Fj.filter(([e]) => e !== "seed");
+ return e ? [Ij, ...t] : t;
}
-function t7() {
+function n7() {
return decodeURIComponent(location.pathname) === "/" && U.jav !== "1";
}
-function n7() {
- return CM(t7());
+function r7() {
+ return xM(n7());
}
-function dLe(e) {
- _le(e), i7(), L("#grid").hidden || J7();
+function hLe(e) {
+ yle(e), a7(), L("#grid").hidden || Y7();
}
-function r7(e) {
- jM(e), i7(), J7();
+function i7(e) {
+ kM(e), a7(), Y7();
}
-function i7() {
+function a7() {
document.querySelectorAll("[data-video-layout]").forEach((e) => {
- e.checked = e.value === n7();
- }), X.catalogFilterProps && w7({ layout: E7() });
-}
-function fLe(e) {
- vle(e), i7(), J7();
+ e.checked = e.value === r7();
+ }), X.catalogFilterProps && T7({ layout: D7() });
}
-async function a7() {
- T8(), X.mixRelatedCache.clear(), await Promise.all([o7(), M7()]);
+function gLe(e) {
+ ble(e), a7(), Y7();
}
async function o7() {
+ E8(), X.mixRelatedCache.clear(), await Promise.all([s7(), N7()]);
+}
+async function s7() {
if (Y.entityPageCurrent() && !L("#index").hidden) {
- i5({ revision: ++Y.entityPageRevision });
+ a5({ revision: ++Y.entityPageRevision });
return;
}
let e = decodeURIComponent(location.pathname);
@@ -80892,30 +80933,30 @@ async function o7() {
return;
}
let t = Q.routeMeta(e);
- t?.route.reload ? await t.route.reload() : await L7();
+ t?.route.reload ? await t.route.reload() : await R7();
}
-function s7(e) {
- let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = z5.DIRECT_MANAGE_NAV[e];
- if (r) return Y5() === r;
+function c7(e) {
+ let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = B5.DIRECT_MANAGE_NAV[e];
+ if (r) return X5() === r;
if (e === "manage") {
- let e = Y5();
- return !!e && !Z.appSettings.sidebarOrder.some((t) => z5.DIRECT_MANAGE_NAV[t] === e);
+ let e = X5();
+ return !!e && !Z.appSettings.sidebarOrder.some((t) => B5.DIRECT_MANAGE_NAV[t] === e);
}
- return e === "jav" ? t === "/jav" || e7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !Y5() && !U.state && !e7() && U.orient !== "竖屏" : Dn[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";
+ return e === "jav" ? t === "/jav" || t7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !X5() && !U.state && !t7() && U.orient !== "竖屏" : Dn[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";
}
-function c7(e) {
+function l7(e) {
let t = nm(e);
if (t === location.pathname + location.search + location.hash) return;
- if (q5(), t) {
+ if (J5(), t) {
Q.navigatePath(t);
return;
}
- if (z5.DIRECT_MANAGE_NAV[e]) {
- $5(z5.DIRECT_MANAGE_NAV[e]);
+ if (B5.DIRECT_MANAGE_NAV[e]) {
+ e7(B5.DIRECT_MANAGE_NAV[e]);
return;
}
if (e === "manage") {
- $5();
+ e7();
return;
}
if (e === "jav") {
@@ -80923,25 +80964,25 @@ function c7(e) {
return;
}
if (e === "") {
- g7();
+ _7();
return;
}
let n = Dn[e] ? null : Q.routePathOf("nav", e);
- n ? Q.openRoutePath(n) : (e === "shorts" ? (U.orient = "竖屏", U.state = "") : (U.orient = "", U.state = e), bu(), Q.route(h7()), m9(), M7());
+ n ? Q.openRoutePath(n) : (e === "shorts" ? (U.orient = "竖屏", U.state = "") : (U.orient = "", U.state = e), bu(), Q.route(g7()), h9(), N7());
}
-function l7() {
+function u7() {
let e = decodeURIComponent(location.pathname), t = e.split("/").filter(Boolean);
- Yl && Ql !== T5.currentSelectSurface() && D5(!1, !0);
+ Yl && Ql !== E5.currentSelectSurface() && O5(!1, !0);
let n = t.length > 1 && Object.prototype.hasOwnProperty.call(Mn, t[0]), r = An(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";
- L("#selectMode").hidden = !i, L("#density").hidden = !a, l5(), !i && Yl && D5(!1, !0);
+ L("#selectMode").hidden = !i, L("#density").hidden = !a, u5(), !i && Yl && O5(!1, !0);
}
-function pLe() {
+function _Le() {
let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);
- (t !== z5.mobileFilterHost || location.pathname !== z5.mobileFilterPath) && (z5.mobileFilterScroll = null), z5.mobileFilterHost = t, z5.mobileFilterPath = location.pathname;
+ (t !== B5.mobileFilterHost || location.pathname !== B5.mobileFilterPath) && (B5.mobileFilterScroll = null), B5.mobileFilterHost = t, B5.mobileFilterPath = location.pathname;
let n = Math.max(0, Math.min(scrollY, document.documentElement.scrollHeight - innerHeight)), r = !!t?.querySelector(":focus-visible,input:focus,select:focus,textarea:focus,[aria-expanded=\"true\"]");
- z5.mobileFilterScroll = tLe(z5.mobileFilterScroll, n, innerWidth <= 760, r);
+ B5.mobileFilterScroll = aLe(B5.mobileFilterScroll, n, innerWidth <= 760, r);
for (let n of e) {
- let e = n === t && z5.mobileFilterScroll.free;
+ let e = n === t && B5.mobileFilterScroll.free;
if (e && n.style.setProperty("--filter-free-top", `${-n.offsetHeight - 12}px`), e === n.hasAttribute("data-filter-free")) continue;
let r = n.getBoundingClientRect().top;
n.getAnimations().forEach((e) => e.id === "filter-slide" && e.cancel()), n.toggleAttribute("data-filter-free", e);
@@ -80953,63 +80994,63 @@ function pLe() {
});
}
}
-function mLe() {
- pLe(), [".board-filter-frame", "#count"].forEach((e) => {
+function vLe() {
+ _Le(), [".board-filter-frame", "#count"].forEach((e) => {
let t = L(e), n = t && getComputedStyle(t), r = n ? parseFloat(n.top) : NaN, i = !!t && n.position === "sticky" && t.offsetParent !== null && window.scrollY > 0 && Number.isFinite(r) && t.getBoundingClientRect().top - (parseFloat(n.translate.split(" ")[1]) || 0) <= r + 1;
t && t.classList.toggle("is-stuck", i), t?.matches(".board-filter-frame") && t.classList.toggle("board-is-stuck", i);
});
}
-function u7() {
- z5.stickyFrame ||= F8.frame(() => {
- z5.stickyFrame = 0, mLe();
+function d7() {
+ B5.stickyFrame ||= I8.frame(() => {
+ B5.stickyFrame = 0, vLe();
});
}
-function hLe() {
+function yLe() {
$.followSidebarFilters = () => ({
provider: [...$.followProviders][0] || "",
dur_min: $.followDurMin || "",
dur_max: $.followDurMax || ""
- }), F8.handler(L("#filterBtn"), "onclick", () => K5(!L("#drawer").classList.contains("open"))), z5.SIDEBAR_ITEMS = E8, z5.MANAGE_SECTIONS = D8, z5.MANAGE_MENU_SECTIONS = O8, z5.manageMenuSections = () => JFe(cu === !0), z5.OPTIONAL_SIDEBAR_ITEMS = k8, z5.NAV_CATALOG = YFe, z5.DIRECT_MANAGE_NAV = XFe, z5.settingsHost = () => ({
+ }), I8.handler(L("#filterBtn"), "onclick", () => q5(!L("#drawer").classList.contains("open"))), B5.SIDEBAR_ITEMS = D8, B5.MANAGE_SECTIONS = O8, B5.MANAGE_MENU_SECTIONS = k8, B5.manageMenuSections = () => QFe(cu === !0), B5.OPTIONAL_SIDEBAR_ITEMS = A8, B5.NAV_CATALOG = $Fe, B5.DIRECT_MANAGE_NAV = eIe, B5.settingsHost = () => ({
selectSection: (e) => Ep(Mf(e), {
replace: !0,
state: W.navigation.location.state
}),
- closed: iLe,
+ closed: cLe,
store: Z.settingsStore,
changed: (e) => Z.settingsEffects[e]?.(),
sound: (e) => Zo(e),
- navCatalog: z5.NAV_CATALOG,
- themeOptions: fle,
- videoLayouts: _M,
- followInitialRanges: A8,
- videoLayout: () => n7(),
- setVideoLayout: fLe,
- censored: Q7,
- setCensored: LLe,
+ navCatalog: B5.NAV_CATALOG,
+ themeOptions: mle,
+ videoLayouts: hM,
+ followInitialRanges: j8,
+ videoLayout: () => r7(),
+ setVideoLayout: gLe,
+ censored: $7,
+ setCensored: VLe,
highContrast: () => document.documentElement.classList.contains("board-high-contrast"),
- setHighContrast: RLe,
- receipt: (e) => y8.actionReceipt(e),
- failure: y8.actionFailure,
- syncRemote: (e) => fM(e, (e) => Z.settingsEffects[e]?.()),
+ setHighContrast: HLe,
+ receipt: (e) => b8.actionReceipt(e),
+ failure: b8.actionFailure,
+ syncRemote: (e) => uM(e, (e) => Z.settingsEffects[e]?.()),
openConfiguration: () => Q.navigatePath("/settings/library"),
attached: () => Z.syncGlassOptics(),
configurable: () => wn("/healthz").then((e) => (yu({ runtimeConfigurable: !!e.configurable }), cu)).catch(() => null)
- }), F8.handler(L("#settingsBtn"), "onclick", () => void J5()), z5.lastManagePageLabel = "", z5.manageHeaderSkeleton = "", z5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, z5.scrollT = null, z5.stickyFrame = 0, z5.mobileFilterScroll = null, z5.mobileFilterHost = null, z5.mobileFilterPath = "", F8.listen(document, "focusin", u7), F8.listen(document, "focusout", u7), F8.listen(window, "scroll", () => {
- u7(), location.pathname === "/follow" && S9() && yu({ followScrollY: scrollY }), window.__scrolling = !0, Al(), clearTimeout(z5.scrollT), z5.scrollT = F8.delay(() => {
+ }), I8.handler(L("#settingsBtn"), "onclick", () => void Y5()), B5.lastManagePageLabel = "", B5.manageHeaderSkeleton = "", B5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, B5.scrollT = null, B5.stickyFrame = 0, B5.mobileFilterScroll = null, B5.mobileFilterHost = null, B5.mobileFilterPath = "", I8.listen(document, "focusin", d7), I8.listen(document, "focusout", d7), I8.listen(window, "scroll", () => {
+ d7(), location.pathname === "/follow" && C9() && yu({ followScrollY: scrollY }), window.__scrolling = !0, Al(), clearTimeout(B5.scrollT), B5.scrollT = I8.delay(() => {
window.__scrolling = !1;
}, 180);
- }, { passive: !0 }), F8.listen(window, "resize", u7, { passive: !0 }), F8.handler(L("#scrim"), "onclick", () => K5(!1));
+ }, { passive: !0 }), I8.listen(window, "resize", d7, { passive: !0 }), I8.handler(L("#scrim"), "onclick", () => q5(!1));
}
// src/catalog-filter-skeleton.ts
-var d7 = 64, f7 = (e) => e.replace(/[&<>"]/g, (e) => ({
+var f7 = 64, p7 = (e) => e.replace(/[&<>"]/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;"
-})[e]), p7 = (e) => e.repeat(d7);
-function gLe(e, t, n) {
- let r = e.map((e) => `<a href="${f7(e.href)}" data-catalog-view="${f7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${f7(e.label)}</a>`).join(""), i = VG();
- return `<div class="peach-react"><div class="contents" data-catalog-root="" data-loading=""><div data-catalog-tiers="" aria-busy="true"${i.performers || i.studios ? "" : " hidden"}>` + (i.performers ? "<div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + p7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div>" : "") + (i.studios ? "<div data-catalog-tier=\"studios\">" + p7("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div>" : "") + `</div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" 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 role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(d7) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${Ts()}</span>` + (n ? n5(n.sorts, n.layout) : "") + "</div></div></div></div>";
+})[e]), m7 = (e) => e.repeat(f7);
+function bLe(e, t, n) {
+ let r = e.map((e) => `<a href="${p7(e.href)}" data-catalog-view="${p7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${p7(e.label)}</a>`).join(""), i = BG();
+ return `<div class="peach-react"><div class="contents" data-catalog-root="" data-loading=""><div data-catalog-tiers="" aria-busy="true"${i.performers || i.studios ? "" : " hidden"}>` + (i.performers ? "<div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + m7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div>" : "") + (i.studios ? "<div data-catalog-tier=\"studios\">" + m7("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div>" : "") + `</div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" 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 role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(f7) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${Ts()}</span>` + (n ? r5(n.sorts, n.layout) : "") + "</div></div></div></div>";
}
// src/application/catalog.js
var X = {
@@ -81048,43 +81089,43 @@ var X = {
junkQueueHelpers: void 0,
junkQueueActions: void 0
};
-function _Le() {
- X.initialParams.has("loc") || (U.loc = m7(U.loc), bu());
+function xLe() {
+ X.initialParams.has("loc") || (U.loc = h7(U.loc), bu());
}
-function m7(e) {
- return zFe(e, Z.sourceOnline);
+function h7(e) {
+ return UFe(e, Z.sourceOnline);
}
-function h7(e = U) {
- return BFe(e);
+function g7(e = U) {
+ return WFe(e);
}
-function vLe() {
- yu(x8(VFe(U, Z.appSettings, y8.rollSeed)));
+function SLe() {
+ yu(S8(GFe(U, Z.appSettings, b8.rollSeed)));
}
-function g7(e = null) {
- vLe(), e && (Object.assign(U, e), bu()), Q.route(e ? h7() : "/"), X.clearSearchField(), i9(!1), m9(), M7();
+function _7(e = null) {
+ SLe(), e && (Object.assign(U, e), bu()), Q.route(e ? g7() : "/"), X.clearSearchField(), a9(!1), h9(), N7();
}
-function yLe(e, t = null) {
+function CLe(e, t = null) {
let n = e.id;
- !e.medium || e.medium === "video" ? c9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : O5(n);
+ !e.medium || e.medium === "video" ? l9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : k5(n);
}
-function _7(e) {
+function v7(e) {
return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, wn("/api/related?id=" + e + "&limit=28").then((t) => (t.items || []).filter((t) => t.id !== e)).catch((t) => {
throw X.mixRelatedCache.delete(e), t;
})), X.mixRelatedCache.get(e);
}
-function bLe(e, t) {
- t8()?.miniplayerTakesCard(e) ? t8().miniplayerPlay(e.id) : v7(e, t);
+function wLe(e, t) {
+ n8()?.miniplayerTakesCard(e) ? n8().miniplayerPlay(e.id) : y7(e, t);
}
-function v7(e, t) {
- e.edition_group ? GLe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? KLe(e.part_group.seed_id, e.id, !0, t) : c9(e.id, !0, null, t);
+function y7(e, t) {
+ e.edition_group ? YLe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? XLe(e.part_group.seed_id, e.id, !0, t) : l9(e.id, !0, null, t);
}
-async function xLe(e, t) {
+async function TLe(e, t) {
try {
let n = await wn("/api/watch-later", {
method: "POST",
body: JSON.stringify({ id: e.id })
});
- e.watch_later = n.watch_later, t(!!n.watch_later), y8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
+ e.watch_later = n.watch_later, t(!!n.watch_later), b8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
let n = await wn("/api/watch-later", {
method: "POST",
body: JSON.stringify({ id: e.id })
@@ -81092,10 +81133,10 @@ async function xLe(e, t) {
e.watch_later = n.watch_later, t(!!n.watch_later);
} });
} catch (e) {
- y8.actionFailure("更新稍后看", e);
+ b8.actionFailure("更新稍后看", e);
}
}
-async function SLe(e, t) {
+async function ELe(e, t) {
try {
await wn("/api/batch", {
method: "POST",
@@ -81103,9 +81144,9 @@ async function SLe(e, t) {
ids: [e.id],
operation: t
})
- }), await L7();
+ }), await R7();
let n = t === "restore" ? "dispose" : "restore";
- y8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {
+ b8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {
await wn("/api/batch", {
method: "POST",
body: JSON.stringify({
@@ -81113,14 +81154,14 @@ async function SLe(e, t) {
operation: n,
...n === "dispose" ? { disposal_reason: e.disposal_reason ?? null } : {}
})
- }), await L7();
+ }), await R7();
} });
} catch (e) {
- throw y8.actionFailure("操作", e), e;
+ throw b8.actionFailure("操作", e), e;
}
}
-async function CLe(e, t, n, r) {
- let i = Number(e.rating) || 0, a = wP(i, t), o = async (t, r) => {
+async function DLe(e, t, n, r) {
+ let i = Number(e.rating) || 0, a = SP(i, t), o = async (t, r) => {
let i = (await wn("/api/feedback", {
method: "POST",
body: JSON.stringify({
@@ -81134,14 +81175,14 @@ async function CLe(e, t, n, r) {
};
try {
let e = await o(a, r);
- y8.actionReceipt(e ? `已评 ${CP(e)} 星` : "已取消评分", { undo: () => o(i) });
+ b8.actionReceipt(e ? `已评 ${xP(e)} 星` : "已取消评分", { undo: () => o(i) });
} catch (e) {
- throw r?.aborted || y8.actionFailure("评分", e), e;
+ throw r?.aborted || b8.actionFailure("评分", e), e;
}
}
-async function y7(e) {
+async function b7(e) {
let t = new URLSearchParams();
- if (e7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && U.state && t.set("state", U.state), e.type !== "item") {
+ if (t7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && U.state && t.set("state", U.state), e.type !== "item") {
let e = Y.activeFilterState();
[
"loc",
@@ -81163,33 +81204,33 @@ async function y7(e) {
e[n] && t.set(n, e[n]);
});
}
- return KFe(t.toString(), X.topsQueryParams(e).toString());
+ return XFe(t.toString(), X.topsQueryParams(e).toString());
}
-function b7(e) {
- a5().type !== "entity" && w7({ tags: O7(e) }), p9({ filters: { ...e } }), I7();
+function x7(e) {
+ o5().type !== "entity" && T7({ tags: k7(e) }), m9({ filters: { ...e } }), L7();
}
-async function x7(e) {
- let t = ++X.facetCountsSeq, [n] = await y7(e);
- t === X.facetCountsSeq && (e.type === "home" && (t9.facets = n), p9({ latest: Z7(n, e) }));
+async function S7(e) {
+ let t = ++X.facetCountsSeq, [n] = await b7(e);
+ t === X.facetCountsSeq && (e.type === "home" && (n9.facets = n), m9({ latest: Q7(n, e) }));
}
-function S7(e) {
- let t = a5();
+function C7(e) {
+ let t = o5();
if (t.type === "entity") {
let n = { ...t.filters };
- e(n), s5(t.kind, t.name, n), b7(n), x7(a5());
+ e(n), c5(t.kind, t.name, n), x7(n), S7(o5());
} else if (t.type === "item") {
let t = Y.cloneBarsContext(Kl);
- if (i9(!1), yu({ detailReturnBarsContext: null }), t && t.type === "entity") {
- e(t.filters), s5(t.kind, t.name, t.filters) ? M7() : yu({ pageOpens: uu + 1 });
+ if (a9(!1), yu({ detailReturnBarsContext: null }), t && t.type === "entity") {
+ e(t.filters), c5(t.kind, t.name, t.filters) ? N7() : yu({ pageOpens: uu + 1 });
return;
}
e(U), yu({ barsContext: {
type: "home",
filters: U
- } }), Q.route(h7()), H5(), M7();
- } else e(U), bu(), Q.route(h7()), b7(U), x7(Gl);
+ } }), Q.route(g7()), U5(), N7();
+ } else e(U), bu(), Q.route(g7()), x7(U), S7(Gl);
}
-function wLe() {
+function OLe() {
return {
tiers: null,
tiersPending: !1,
@@ -81207,94 +81248,94 @@ function wLe() {
combo: [],
comboHidden: !0,
comboHost: L("#combo"),
- actions: T7(),
+ actions: E7(),
helpers: {
- wireDrag: e9,
+ wireDrag: t9,
wireScroller: (e) => {
e && Dc(e);
}
}
};
}
-function C7() {
- X.catalogFilterProps && w7({});
+function w7() {
+ X.catalogFilterProps && T7({});
}
-function w7(e) {
+function T7(e) {
let t = L("#catalogFilter"), n = t.style.display === "none" || document.body.matches(".entity-open,.index-open");
e = {
...e,
offscreen: n
}, X.catalogFilterProps = {
- ...X.catalogFilterProps || wLe(),
+ ...X.catalogFilterProps || OLe(),
...e
- }, !X.catalogFilterMounting && (cp(t) ? mp(t, e) : (!t.firstChild && !n && (t.innerHTML = gLe(X.catalogViews(), X.catalogFilterProps.state, D7()), uc(t)), X.catalogFilterMounting = fp("catalog-filter", X.catalogFilterProps, {
+ }, !X.catalogFilterMounting && (cp(t) ? mp(t, e) : (!t.firstChild && !n && (t.innerHTML = bLe(X.catalogViews(), X.catalogFilterProps.state, O7()), uc(t)), X.catalogFilterMounting = fp("catalog-filter", X.catalogFilterProps, {
container: t,
isCurrent: () => !0
}).then(() => mp(t, X.catalogFilterProps)).finally(() => {
X.catalogFilterMounting = null;
})));
}
-function T7() {
+function E7() {
return {
currentHref: () => {
- let e = new URL(h7(), location.origin);
+ let e = new URL(g7(), location.origin);
return e.searchParams.set("loc", U.loc || ""), e.searchParams.set("thumb", U.thumb || "0"), e.searchParams.set("sort", U.sort || ""), e.searchParams.set("dir", U.dir || ""), e.pathname + e.search;
},
- openEntity: (e, t) => _5(e, t),
+ openEntity: (e, t) => v5(e, t),
setView: (e) => {
- U.state = e, bu(), w7({ state: e }), Q.route(h7()), M7();
+ U.state = e, bu(), T7({ state: e }), Q.route(g7()), N7();
},
- toggleTag: (e) => P7(e),
- clearFilter: (e) => S7((t) => {
+ toggleTag: (e) => F7(e),
+ clearFilter: (e) => C7((t) => {
t[e] = "";
}),
- clearAll: () => S7((e) => {
+ clearAll: () => C7((e) => {
e.tag = "", e.creator = "", e.studio = "", e.owner = "";
}),
setSort: (e) => {
- let t = Wj(e, U.sort, U.dir);
- t && (U.sort = t.sort, U.dir = t.dir, bu(), X7());
+ let t = Hj(e, U.sort, U.dir);
+ t && (U.sort = t.sort, U.dir = t.dir, bu(), Z7());
},
- reshuffle: () => ILe(),
+ reshuffle: () => BLe(),
setLayout: (e) => {
- e7() ? r7(e) : dLe(e);
+ t7() ? i7(e) : hLe(e);
},
moreTops: async (e) => {
let t = X.catalogTopsPages;
if (!t) return [];
- let n = (await qFe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
- return e === "performers" ? n.map(k7) : n.map(A7);
+ let n = (await ZFe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
+ return e === "performers" ? n.map(A7) : n.map(j7);
}
};
}
-function E7() {
- return e7() ? {
+function D7() {
+ return t7() ? {
name: "jav-layout",
label: "JAV 卡片版式",
- value: SM(),
- options: _M
- } : t7() ? {
+ value: bM(),
+ options: hM
+ } : n7() ? {
name: "home-layout",
label: "首页卡片版式",
- value: n7(),
- options: _M
+ value: r7(),
+ options: hM
} : null;
}
-function D7() {
+function O7() {
return {
- sorts: o5(U.sort, U.dir),
- layout: E7(),
+ sorts: s5(U.sort, U.dir),
+ layout: D7(),
state: U.state || "",
trash: U.state === "trash"
};
}
-function O7(e) {
+function k7(e) {
return X.catalogTagRows.map((t) => ({
...t,
selected: X.tagPressed(e.tag, t.k)
}));
}
-function k7(e) {
+function A7(e) {
return {
name: e.k,
ringHtml: `<span data-tier-initial>${z($n(tn("performer", e.k, e.id)))}</span>${ho({
@@ -81308,102 +81349,102 @@ function k7(e) {
})}`
};
}
-function A7(e) {
+function j7(e) {
return {
name: e.k,
fallback: Qn(e.k, 2),
logo: e.has_logo ? fo(e.k, "icon", e.logo_version) : ""
};
}
-function TLe(e, t) {
- X.barsPendingSeq = t, X.catalogFilterProps?.tiers ? w7({
+function kLe(e, t) {
+ X.barsPendingSeq = t, X.catalogFilterProps?.tiers ? T7({
tiersPending: !0,
state: e.state || ""
- }) : (X.barsRendered = "", w7({
+ }) : (X.barsRendered = "", T7({
tiers: null,
tiersPending: !0,
state: e.state || ""
}));
}
-function j7(e) {
- X.barsPendingSeq === e && (X.barsPendingSeq = 0, w7({ tiersPending: !1 }));
+function M7(e) {
+ X.barsPendingSeq === e && (X.barsPendingSeq = 0, T7({ tiersPending: !1 }));
}
-async function M7() {
+async function N7() {
let e = ++X.barsRequestSeq;
- if (p9(), !Hl(location.pathname) || Gl.type === "item") return;
- let t = a5(), n = Y.activeFilterState(), r = JSON.stringify([
+ if (m9(), !Hl(location.pathname) || Gl.type === "item") return;
+ let t = o5(), n = Y.activeFilterState(), r = JSON.stringify([
t,
n,
U.state || "",
U.seed || "",
- e7()
+ t7()
]);
- TLe(n, e);
+ kLe(n, e);
let i;
try {
- i = await y7(t);
+ i = await b7(t);
} catch (t) {
- throw j7(e), t;
+ throw M7(e), t;
}
let [a, o] = i;
if (e !== X.barsRequestSeq) {
- j7(e);
+ M7(e);
return;
}
let s = r + "\n" + JSON.stringify([a, o]);
if (s === X.barsRendered) {
- X.barsPendingSeq = 0, w7({ tiersPending: !1 }), z5.sidebarCatalog && p9({
- content: z5.sidebarCatalog,
+ X.barsPendingSeq = 0, T7({ tiersPending: !1 }), B5.sidebarCatalog && m9({
+ content: B5.sidebarCatalog,
filters: { ...n }
});
return;
}
- X.barsRendered = s, t.type === "home" && (t9.facets = a);
+ X.barsRendered = s, t.type === "home" && (n9.facets = a);
let c = a.tags || [];
Ya(o.performers), Ya(o.studios);
- let l = t.type === "home" && !e7() && !U.state && !U.q && !a.locations.some((e) => e.n > 0);
+ let l = t.type === "home" && !t7() && !U.state && !U.q && !a.locations.some((e) => e.n > 0);
X.catalogTopsPages = {
context: t,
performers: 0,
studios: 0
};
- let u = X.tagList(n.tag), d = new Map(c.map((e) => [e.k, e])), f = u.map((e) => d.get(e) || { k: e }), p = c.filter((e) => !u.includes(e.k)), m = y8.seededSample(p, X.TAGS_FIRST, `tags:${U.seed || ""}`), h = new Set(m.map((e) => e.k));
+ let u = X.tagList(n.tag), d = new Map(c.map((e) => [e.k, e])), f = u.map((e) => d.get(e) || { k: e }), p = c.filter((e) => !u.includes(e.k)), m = b8.seededSample(p, X.TAGS_FIRST, `tags:${U.seed || ""}`), h = new Set(m.map((e) => e.k));
X.catalogTagRows = f.concat(m, p.filter((e) => !h.has(e.k))).map((e) => ({
k: e.k,
label: Pl(e.k),
n: e.n ?? null
- })), X.barsPendingSeq = 0, w7({
+ })), X.barsPendingSeq = 0, T7({
tiers: {
key: String(X.barsRequestSeq),
- performers: o.performers.map(k7),
- studios: o.studios.map(A7)
+ performers: o.performers.map(A7),
+ studios: o.studios.map(j7)
},
tiersPending: !1,
empty: l,
- tags: O7(n),
+ tags: k7(n),
tagFirst: f.length + m.length,
views: X.catalogViews(),
state: n.state || ""
- }), I7(), z5.sidebarCatalog = {
+ }), L7(), B5.sidebarCatalog = {
kind: "catalog",
- key: String(++z5.sidebarContentSeq),
- facets: Z7(a, t)
- }, p9({
- content: z5.sidebarCatalog,
+ key: String(++B5.sidebarContentSeq),
+ facets: Q7(a, t)
+ }, m9({
+ content: B5.sidebarCatalog,
filters: { ...n },
latest: null
});
}
-function ELe(e, t) {
- t9.total = e, U.state === "trash" && (T5.trashCount = {
- total: t9.total,
+function ALe(e, t) {
+ n9.total = e, U.state === "trash" && (E5.trashCount = {
+ total: n9.total,
shown: t
- }), X5(), w7({ count: {
- total: t9.total,
+ }), Z5(), T7({ count: {
+ total: n9.total,
shown: t
} });
}
-function N7() {
+function P7() {
return ol({
title: "清空回收站",
body: "回收站中的全部文件和馆藏记录将永久删除,无法恢复。",
@@ -81413,19 +81454,19 @@ function N7() {
try {
let e = await wn("/api/trash/empty", { method: "POST" });
if (e.blocked && e.blocked.length) throw Error(`已永久删除 ${e.purged} 项;${e.blocked.length} 项未能删除,仍在回收站:\n` + e.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));
- y8.actionReceipt(`已永久删除 ${e.purged} 项`);
+ b8.actionReceipt(`已永久删除 ${e.purged} 项`);
} finally {
- await L7();
+ await R7();
}
}
});
}
-function P7(e) {
- S7((t) => {
+function F7(e) {
+ C7((t) => {
t.tag = e ? X.withTagToggled(t.tag, e) : "";
});
}
-function F7(e) {
+function I7(e) {
let t = [];
return e.creator && t.push({
kind: "clear",
@@ -81449,13 +81490,13 @@ function F7(e) {
label: Pl(e)
})), t;
}
-function I7() {
- w7({
- combo: F7(U),
+function L7() {
+ T7({
+ combo: I7(U),
comboHidden: !X.catalogOnScreen()
});
}
-async function L7() {
+async function R7() {
let e = Q.claimSurface(Q.surfacePath());
if (yu({
barsContext: {
@@ -81463,42 +81504,42 @@ async function L7() {
filters: U
},
detailReturnBarsContext: null
- }), i9(!1), U.state === "ads") return kLe(e);
- X.controller.page === "/junk-files" && z7(), F5(), H5();
- let t = B7(e);
- if (Y8(location.pathname) && U.browse !== "folders") {
- if (await P5.entityShapesReady, !Q.surfaceCurrent(e)) return;
- pIe();
- } else X8();
- return I7(), L("#count").classList.remove("manage-static", "junkcount"), t;
-}
-function R7(e) {
+ }), a9(!1), U.state === "ads") return NLe(e);
+ X.controller.page === "/junk-files" && B7(), I5(), U5();
+ let t = V7(e);
+ if (X8(location.pathname) && U.browse !== "folders") {
+ if (await F5.entityShapesReady, !Q.surfaceCurrent(e)) return;
+ _Ie();
+ } else Z8();
+ return L7(), L("#count").classList.remove("manage-static", "junkcount"), t;
+}
+function z7(e) {
X.controller.settle(e);
}
-function z7() {
+function B7() {
let e = L("#grid");
Al(e), hp(e), X.controller.clear(), e.innerHTML = "";
}
-function B7(e) {
- return W7("/", OLe, e, { place: oRe });
+function V7(e) {
+ return G7("/", MLe, e, { place: uRe });
}
-function DLe(e) {
- return W7("/junk-files", jLe, e);
+function jLe(e) {
+ return G7("/junk-files", FLe, e);
}
-function V7() {
+function H7() {
return !!sp(L("#grid"));
}
-function H7() {
- return X.controller.taken(V7());
+function U7() {
+ return X.controller.taken(H7());
}
-function U7(e) {
+function W7(e) {
mp(L("#grid"), e);
}
-function W7(e, t, n, r = {}) {
+function G7(e, t, n, r = {}) {
let i = L("#grid");
- X.controller.page && X.controller.page !== e && z7();
- let a = X.controller.begin(e, V7()), o = t();
- if (!a.mount) return U7(o), a.settled;
+ X.controller.page && X.controller.page !== e && B7();
+ let a = X.controller.begin(e, H7()), o = t();
+ if (!a.mount) return W7(o), a.settled;
Al(i);
let s = () => hp(i);
return a.signal.addEventListener("abort", s, { once: !0 }), fp(e, o, {
@@ -81506,70 +81547,70 @@ function W7(e, t, n, r = {}) {
container: i,
isCurrent: () => Q.surfaceCurrent(n) && a.isCurrent()
}).catch((e) => console.error(e)).finally(() => {
- a.signal.removeEventListener("abort", s), a.finish(V7());
+ a.signal.removeEventListener("abort", s), a.finish(H7());
}), a.settled;
}
-function G7() {
- let e = t7();
- return kM({
- active: e7() || e,
+function K7() {
+ let e = n7();
+ return DM({
+ active: t7() || e,
home: e,
portrait: U.orient === "竖屏"
});
}
-function K7(e = "正在读取作品") {
- return eY(e, q7());
-}
-function q7() {
- return U ? AM(G7()) : 16 / 9;
+function q7(e = "正在读取作品") {
+ return eY(e, J7());
}
function J7() {
- H7() && (Al(L("#grid")), U7({
- layout: G7(),
+ return U ? OM(K7()) : 16 / 9;
+}
+function Y7() {
+ U7() && (Al(L("#grid")), W7({
+ layout: K7(),
seekSeconds: Z.appSettings.seekSeconds
- })), Y.entityPageCurrent() && (Al(L("#index [data-entity-hero]")), i5({
- layout: G7(),
+ })), Y.entityPageCurrent() && (Al(L("#index [data-entity-hero]")), a5({
+ layout: K7(),
seekSeconds: Z.appSettings.seekSeconds
}));
}
-function OLe() {
+function MLe() {
let e = decodeURIComponent(location.pathname), t = An(e), n = U.state === "trash";
return {
mode: "catalog",
helpers: X.gridHelpers,
actions: X.gridActions,
- layout: G7(),
+ layout: K7(),
wall: e === "/wall",
restoreNavigation: sm(),
selectMode: Yl,
selected: new Set(ql),
seekSeconds: Z.appSettings.seekSeconds,
revision: X.controller.revision,
- wireDrag: e9,
- settled: R7,
- skeletonHtml: () => K7(),
+ wireDrag: t9,
+ settled: z7,
+ skeletonHtml: () => q7(),
filters: { ...U },
batchSize: Z.appSettings.batchSize,
groupCollapse: Z.appSettings.groupCollapse,
excludeVertical: t && e !== "/wall" && !U.q && !U.orient && U.browse !== "folders" || U.jav === "1",
mix: t && e !== "/wall" && !n && U.browse !== "folders",
- shorts: t && e !== "/wall" && !e7() && U.orient !== "竖屏" && !n && U.browse !== "folders",
+ shorts: t && e !== "/wall" && !t7() && U.orient !== "竖屏" && !n && U.browse !== "folders",
countRow: L("#count"),
- onCount: ELe,
- onCountFailed: () => w7({ count: !1 }),
+ onCount: ALe,
+ onCountFailed: () => T7({ count: !1 }),
emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : KK({
- jav: e7() && !t,
+ jav: t7() && !t,
configurable: cu,
filtered: !t
}),
canLoadMore: () => L("#stats").hidden && L("#index").hidden
};
}
-function kLe(e) {
+function NLe(e) {
let t = L("#count");
- return X.controller.page === "/junk-files" && V7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (z7(), F5("正在读取垃圾文件")), H5(), I7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), DLe(e);
+ return X.controller.page === "/junk-files" && H7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (B7(), I5("正在读取垃圾文件")), U5(), L7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), jLe(e);
}
-async function ALe(e, t) {
+async function PLe(e, t) {
let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";
try {
await wn("/api/batch", {
@@ -81579,22 +81620,22 @@ async function ALe(e, t) {
operation: t,
...r ? { disposal_reason: "junk" } : {}
})
- }), await L7();
+ }), await R7();
let e = r ? "restore" : i ? "dismiss-junk" : "reconsider-junk";
- y8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {
+ b8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {
await wn("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: n,
operation: e
})
- }), await L7();
+ }), await R7();
} });
} catch (e) {
- throw y8.actionFailure("操作", e), e;
+ throw b8.actionFailure("操作", e), e;
}
}
-function jLe() {
+function FLe() {
return {
...XU(location.search),
helpers: X.junkQueueHelpers,
@@ -81604,16 +81645,16 @@ function jLe() {
selectMode: Yl,
selected: new Set(ql),
countRow: L("#count"),
- settled: R7,
- skeletonHtml: () => C2("正在读取垃圾文件", {
+ settled: z7,
+ skeletonHtml: () => w2("正在读取垃圾文件", {
cards: !0,
className: "catalog-skeleton postercard-skeleton"
}),
canLoadMore: () => L("#stats").hidden && L("#index").hidden
};
}
-function MLe() {
- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => b8(e, t, Z.appSettings, n), yu(x8(RFe(location, Z.appSettings, y8.rollSeed))), X.searchValueSnapshot = {
+function ILe() {
+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => x8(e, t, Z.appSettings, n), yu(S8(HFe(location, Z.appSettings, b8.rollSeed))), X.searchValueSnapshot = {
text: "",
scrollLeft: 0
}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = L("#q")) => {
@@ -81634,52 +81675,52 @@ function MLe() {
};
};
}
-function NLe() {
- F8.handler(L("#wallBtn"), "onclick", () => {
- D5(!1, !0);
- let e = a5(), t = {
+function LLe() {
+ I8.handler(L("#wallBtn"), "onclick", () => {
+ O5(!1, !0);
+ let e = o5(), t = {
...Y.activeFilterState(),
- jav: e7() ? "1" : ""
+ jav: t7() ? "1" : ""
};
- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(Fbe(void 0, t));
+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(Lbe(void 0, t));
}), X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = U.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) => rL(e, t),
- displayName: (e, t) => nL(e, t),
+ titleHtml: (e, t) => nL(e, t),
+ displayName: (e, t) => tL(e, t),
tagLabel: (e) => Pl(e)
}, X.gridActions = {
wallPlayer: async (e, t, n) => {
- let r = await e8(t9.stageHost);
+ let r = await t8(n9.stageHost);
return n.throwIfAborted(), r.mountWallPlayer(e, t, n);
},
- wallDetails: v7,
- open: (e, t) => bLe(e, t),
- openResource: (e, t) => t8()?.miniplayerTakesCard(e) ? t8().miniplayerPlay(e.id) : yLe(e, t),
- openShort: (e) => t8()?.miniplayerTakesCard(e) ? t8().miniplayerPlay(e.id) : d9(e.id),
- openShorts: () => d9(),
- openMix: (e, t) => WLe(e, e, !0, t),
- openEntity: (e, t) => _5(e, t),
- openUnowned: () => g7({ owner: "none" }),
+ wallDetails: y7,
+ open: (e, t) => wLe(e, t),
+ openResource: (e, t) => n8()?.miniplayerTakesCard(e) ? n8().miniplayerPlay(e.id) : CLe(e, t),
+ openShort: (e) => n8()?.miniplayerTakesCard(e) ? n8().miniplayerPlay(e.id) : f9(e.id),
+ openShorts: () => f9(),
+ openMix: (e, t) => JLe(e, e, !0, t),
+ openEntity: (e, t) => v5(e, t),
+ openUnowned: () => _7({ owner: "none" }),
toggleTag: (e) => {
- S7((t) => {
+ C7((t) => {
t.tag = X.tagPressed(t.tag, e) ? "" : e;
});
},
- toggleSelection: (e, t) => O5(e, t),
- watchLater: (e, t) => xLe(e, t),
- rate: (e, t, n, r) => CLe(e, t, n, r),
- resourceOperation: (e, t) => SLe(e, t),
- mixRelated: (e) => _7(e),
- canFlip: () => !Yl && !Q7() && !window.__scrolling && !X.reduceMotion()
+ toggleSelection: (e, t) => k5(e, t),
+ watchLater: (e, t) => TLe(e, t),
+ rate: (e, t, n, r) => DLe(e, t, n, r),
+ resourceOperation: (e, t) => ELe(e, t),
+ mixRelated: (e) => v7(e),
+ canFlip: () => !Yl && !$7() && !window.__scrolling && !X.reduceMotion()
}, X.topsQueryParams = (e, t = 0) => {
let n = new URLSearchParams({
n: "60",
seed: U.seed || ""
});
- return t && n.set("page", String(t)), e7() && n.set("jav", "1"), e.type === "home" && U.state && n.set("state", U.state), e.type === "home" && U.folder && (n.set("folder", U.folder), U.folder_recursive && n.set("folder_recursive", U.folder_recursive)), n;
+ return t && n.set("page", String(t)), t7() && n.set("jav", "1"), e.type === "home" && U.state && n.set("state", U.state), e.type === "home" && U.folder && (n.set("folder", U.folder), U.folder_recursive && n.set("folder_recursive", U.folder_recursive)), n;
}, X.facetCountsSeq = 0, X.VIEW_PILLS = [
{
k: "",
@@ -81700,38 +81741,38 @@ function NLe() {
], X.catalogViews = () => X.VIEW_PILLS.map((e) => ({
...e,
href: e.k ? Dn[e.k] : "/"
- })), X.TAGS_FIRST = 26, F8.listen(L("#catalogFilter"), "click", (e) => {
+ })), X.TAGS_FIRST = 26, I8.listen(L("#catalogFilter"), "click", (e) => {
let t = e.target.closest?.("[data-catalog-view]");
- t && !e.defaultPrevented && (e.preventDefault(), T7().setView(t.dataset.catalogView));
+ t && !e.defaultPrevented && (e.preventDefault(), E7().setView(t.dataset.catalogView));
}), X.catalogOnScreen = () => L("#index").hidden && L("#stats").hidden, X.COMBO_LABELS = {
creator: "创作者",
studio: "厂牌",
owner: "归属"
}, X.hideCatalogCombo = () => {
- X.catalogFilterProps && w7({ comboHidden: !0 });
+ X.catalogFilterProps && T7({ comboHidden: !0 });
};
}
-function PLe() {
+function RLe() {
X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {
navigate: (e) => {
- Yl && D5(!1, !0), Q.route(e);
+ Yl && O5(!1, !0), Q.route(e);
},
- toggleSelection: (e, t) => O5(e, t),
- open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : c9(e.id, !0, null, t),
+ toggleSelection: (e, t) => k5(e, t),
+ open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : l9(e.id, !0, null, t),
reveal: async (e) => {
try {
return await wn("/api/reveal", {
method: "POST",
body: JSON.stringify({ id: e.id })
- }), y8.toast({ text: "已在资源管理器中显示" }), "";
+ }), b8.toast({ text: "已在资源管理器中显示" }), "";
} catch (e) {
return Y.sourceHint(e.message);
}
},
- operate: (e, t) => ALe(e, t)
+ operate: (e, t) => PLe(e, t)
};
}
-X.controller = new HFe();
+X.controller = new KFe();
// src/application/preferences.js
var Z = {
sourceOnline: void 0,
@@ -81754,8 +81795,8 @@ var Z = {
emptyState: void 0,
CENSOR_KEY: void 0
};
-async function Y7() {
- let e = F8;
+async function X7() {
+ let e = I8;
try {
let t = await xr(e.signal);
if (!e.isActive) return Z.sourceOnline;
@@ -81765,18 +81806,18 @@ async function Y7() {
if (!e.isActive) return Z.sourceOnline;
Z.sourceOnline = {}, Z.sourceProblems = {};
}
- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), _Le(), Z.sourceOnline;
+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), xLe(), Z.sourceOnline;
}
-function X7() {
+function Z7() {
let e = Q.surfacePath();
- if (!An(e) || e === "/junk-files") return L7();
+ if (!An(e) || e === "/junk-files") return R7();
let t = Z.nextCatalogLoad();
- return Ep(h7(), {
+ return Ep(g7(), {
replace: !0,
state: W.navigation.location.state
}), t;
}
-function FLe(e) {
+function zLe(e) {
if (e === "local") return {
kind: "glyph",
name: "hard-drive"
@@ -81797,7 +81838,7 @@ function FLe(e) {
cost: "free"
};
}
-function Z7(e, t) {
+function Q7(e, t) {
let n = (e, t = (e) => e.label || Pl(e.k)) => (e || []).map((e) => ({
value: String(e.k),
label: t(e),
@@ -81808,7 +81849,7 @@ function Z7(e, t) {
value: e.k,
label: tr[e.k] || e.k,
n: e.n ?? null,
- dot: FLe(e.k),
+ dot: zLe(e.k),
...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}
})),
regions: n(e.regions),
@@ -81821,25 +81862,25 @@ function Z7(e, t) {
duration: !!e.stats?.duration
};
}
-async function ILe(e = !1) {
- if (e && (document.hidden || !An(decodeURIComponent(location.pathname)) || t9.stageOpen() || t9.immerseOpen() || Yl || ql.size || document.activeElement === L("#q"))) return !1;
+async function BLe(e = !1) {
+ if (e && (document.hidden || !An(decodeURIComponent(location.pathname)) || n9.stageOpen() || n9.immerseOpen() || Yl || ql.size || document.activeElement === L("#q"))) return !1;
if (!L("#stats").hidden) {
let e = decodeURIComponent(location.pathname), t = Q.routeMeta(e)?.route.refresh;
if (t === "skip") return;
if (e === "/playlists") {
- b5();
+ x5();
return;
}
let n = t === "reopen" ? e : "/stats";
rm(), n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, W.navigation.location.state) : Q.navigatePath(n);
} else if (L("#index").hidden) {
- U.sort = "seed", U.dir = "", U.seed = y8.rollSeed(), bu(), T8(), w7({ refreshing: !0 });
+ U.sort = "seed", U.dir = "", U.seed = b8.rollSeed(), bu(), E8(), T7({ refreshing: !0 });
try {
rm();
- let e = X7();
- await null, await Promise.all([e, M7()]);
+ let e = Z7();
+ await null, await Promise.all([e, N7()]);
} finally {
- w7({ refreshing: !1 });
+ T7({ refreshing: !1 });
}
return e || window.scrollTo({
top: 0,
@@ -81847,69 +81888,69 @@ async function ILe(e = !1) {
}), !0;
}
}
-function Q7() {
+function $7() {
return document.body.classList.contains("censor");
}
-function $7(e) {
+function e9(e) {
document.body.classList.toggle("censor", e), Z.settingsStore.notify();
}
-function LLe(e) {
- localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), $7(e), e && Al();
+function VLe(e) {
+ localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), e9(e), e && Al();
}
-function RLe(e) {
+function HLe(e) {
localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();
}
-function e9(e) {
+function t9(e) {
return Dc(e, { drag: !0 });
}
-function zLe() {
- ["#nrow", "#count"].forEach((e) => e9(L(e))), document.querySelectorAll(".tier,.srow").forEach(e9);
+function ULe() {
+ ["#nrow", "#count"].forEach((e) => t9(L(e))), document.querySelectorAll(".tier,.srow").forEach(t9);
}
-function BLe() {
+function WLe() {
let e = new URLSearchParams(location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function VLe() {
+function GLe() {
Z.sourceOnline = {}, Z.sourceProblems = {}, Z.sourceOffline = (e) => Z.sourceOnline[e] === !1, Z.OFFLINE_HINT = "媒体目录无法访问,请检查目录、读取权限和网盘挂载状态", Z.OFFLINE_REASON = {
local: "无法读取媒体目录,请检查目录是否存在及读取权限。",
115: "无法读取 115 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。",
pikpak: "无法读取 PikPak 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。"
- }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = dM(), Z.appSettings = Z.settingsStore.value, Xt(Z.appSettings.performerNameLanguage), Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Xo(Z.appSettings.uiSounds), ns(), hM(), hle(), BM(), UM(), WM(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {
+ }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = lM(), Z.appSettings = Z.settingsStore.value, Xt(Z.appSettings.performerNameLanguage), Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Xo(Z.appSettings.uiSounds), ns(), pM(), _le(), RM(), VM(), HM(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {
performerNameLanguage: () => {
- Xt(Z.appSettings.performerNameLanguage), P5.syncPageTitle(location.href), X.barsRendered = "", M7();
+ Xt(Z.appSettings.performerNameLanguage), F5.syncPageTitle(location.href), X.barsRendered = "", N7();
},
- theme: () => hM(),
+ theme: () => pM(),
uiSounds: () => {
Xo(Z.appSettings.uiSounds), Z.appSettings.uiSounds && Zo("toggle-on");
},
- glowFrame: () => HM(),
+ glowFrame: () => BM(),
glow: () => {
- HM(), UM();
+ BM(), VM();
},
batchSize: () => {
- location.pathname === "/" && L7();
+ location.pathname === "/" && R7();
},
defaultSort: () => {
- U.sort = Z.appSettings.defaultSort, U.dir = Gj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), bu(), location.pathname === "/" && X7();
+ U.sort = Z.appSettings.defaultSort, U.dir = Uj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), bu(), location.pathname === "/" && Z7();
},
sortDirection: () => {
- U.dir = Gj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), bu(), location.pathname === "/" && X7();
+ U.dir = Uj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), bu(), location.pathname === "/" && Z7();
},
hoverDelay: () => {
Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {
Ml(e, "previewing", !1), Ml(e, "longhover", !1);
}), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`);
},
- seekSeconds: () => J7(),
- groupCollapse: () => o7(),
- feedAutoScroll: () => mIe(),
- feedLimit: () => Z8(),
- feedCompilations: () => Z8(),
+ seekSeconds: () => Y7(),
+ groupCollapse: () => s7(),
+ feedAutoScroll: () => vIe(),
+ feedLimit: () => Q8(),
+ feedCompilations: () => Q8(),
miniplayer: () => {
- Z.appSettings.miniplayer || t8()?.closeMiniplayer();
+ Z.appSettings.miniplayer || n8()?.closeMiniplayer();
},
javImage: () => {
- io(document, Z.appSettings.javImage), J7(), document.querySelectorAll("img[data-jav-image].cover").forEach(ll), ULe();
+ io(document, Z.appSettings.javImage), Y7(), document.querySelectorAll("img[data-jav-image].cover").forEach(ll), qLe();
},
searchHistoryLimit: () => mp(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })
}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {
@@ -81920,11 +81961,11 @@ function VLe() {
return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${z(r)}" aria-label="${z(r)}">` + (Z.SRCICON[e] || "") + "</span>";
}, Z.emptyState = Us;
}
-function HLe() {
- Z.CENSOR_KEY = "peach-censor", $7(localStorage.getItem(Z.CENSOR_KEY) === "1");
+function KLe() {
+ Z.CENSOR_KEY = "peach-censor", e9(localStorage.getItem(Z.CENSOR_KEY) === "1");
}
// src/application/media.js
-var t9 = {
+var n9 = {
total: void 0,
facets: void 0,
stageHost: void 0,
@@ -81935,18 +81976,18 @@ var t9 = {
immerseOpen: void 0,
requestedImmerseId: void 0
};
-function n9() {
+function r9() {
let e = Number(new URLSearchParams(location.search).get("t"));
return Number.isFinite(e) && e > 0 ? {
time: e,
autoplay: !1
} : null;
}
-function r9() {
- return t8()?.exit() || Promise.resolve();
+function i9() {
+ return n8()?.exit() || Promise.resolve();
}
-function i9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {
- Q.queueOpenRequest !== r && h9(), t8()?.dispose({ miniplayer: n }), yu({
+function a9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {
+ Q.queueOpenRequest !== r && g9(), n8()?.dispose({ miniplayer: n }), yu({
activeQueue: null,
pendingQueueRoute: null,
presentedItem: null
@@ -81954,12 +81995,12 @@ function i9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null
detailOriginAnchor: null,
detailOriginAbove: !1,
detailReturnNeedsRestore: !1
- }), u7(), e && Q.route($l || "/");
+ }), d7(), e && Q.route($l || "/");
}
-function ULe() {
- t8()?.repaintPoster();
+function qLe() {
+ n8()?.repaintPoster();
}
-function a9(e, t, n, r, i = null, a = {}) {
+function o9(e, t, n, r, i = null, a = {}) {
t = +t;
let o = ru?.kind === e && (e === "playlist" ? ru.playlistId : ru.seedId) === t;
r && !o && yu({ detailReturnPath: location.pathname + location.search }), r && Hf();
@@ -81973,38 +82014,38 @@ function a9(e, t, n, r, i = null, a = {}) {
fresh: !o
};
if (a.autoplay && (s.autoplay = !0), r) {
- h9();
+ g9();
let e = Q.queueOpenRequest = {
seq: W.navigation.seq,
cancelled: !1
};
- Q.requestedQueue = () => c9(n == null ? null : +n, !1, s, i, !0, e), yu({ queueOpens: du + 1 });
- } else return c9(n == null ? null : +n, !1, s, i, r);
+ Q.requestedQueue = () => l9(n == null ? null : +n, !1, s, i, !0, e), yu({ queueOpens: du + 1 });
+ } else return l9(n == null ? null : +n, !1, s, i, r);
}
-function WLe(e, t = e, n = !0, r = null) {
- return a9("mix", e, t, n, r);
+function JLe(e, t = e, n = !0, r = null) {
+ return o9("mix", e, t, n, r);
}
-function GLe(e, t = e, n = !0, r = null) {
- return a9("editions", e, t, n, r);
+function YLe(e, t = e, n = !0, r = null) {
+ return o9("editions", e, t, n, r);
}
-function KLe(e, t = e, n = !0, r = null) {
- return a9("parts", e, t, n, r);
+function XLe(e, t = e, n = !0, r = null) {
+ return o9("parts", e, t, n, r);
}
-function o9(e, t = null, n = !0) {
- return a9("playlist", e, t, n);
+function s9(e, t = null, n = !0) {
+ return o9("playlist", e, t, n);
}
-function s9() {
+function c9() {
return !!L("#grid").querySelector("[data-id],[data-mix-seed]") || !!document.querySelector("[data-video-wall]") || !L("#index").hidden || !L("#stats").hidden;
}
-async function c9(e, t = !0, n = null, r = null, i = !1, a = null) {
+async function l9(e, t = !0, n = null, r = null, i = !1, a = null) {
if (a?.cancelled) return;
- if (a || h9(), t && !n) {
- yu({ detailReturnPath: location.pathname + location.search }), g9("/assets/" + +e, "item", () => c9(e, !1, null, r));
+ if (a || g9(), t && !n) {
+ yu({ detailReturnPath: location.pathname + location.search }), _9("/assets/" + +e, "item", () => l9(e, !1, null, r));
return;
}
Al(), e = e == null ? null : +e;
- let o = r?.isConnected ? r : eu?.isConnected ? eu : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : tu, c = s9(), l = nu || !t && !c, u = Gl.type === "item" ? Kl : Y.cloneBarsContext(a5());
- t ? yu({ detailReturnPath: location.pathname + location.search }) : i || yu({ detailReturnPath: Gf() || $l }), t && Hf(), t8()?.showing() !== "item" && i9(!1, !0, {
+ let o = r?.isConnected ? r : eu?.isConnected ? eu : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : tu, c = c9(), l = nu || !t && !c, u = Gl.type === "item" ? Kl : Y.cloneBarsContext(o5());
+ t ? yu({ detailReturnPath: location.pathname + location.search }) : i || yu({ detailReturnPath: Gf() || $l }), t && Hf(), n8()?.showing() !== "item" && a9(!1, !0, {
miniplayer: !1,
preserveQueueRequest: a
}), yu({
@@ -82016,60 +82057,60 @@ async function c9(e, t = !0, n = null, r = null, i = !1, a = null) {
seedId: n.seedId,
playlistId: n.playlistId
} }), yu({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, Kf("item"));
- let d = await e8(t9.stageHost);
+ let d = await t8(n9.stageHost);
if (a?.cancelled) return;
let f = a ? {
- ...t9.itemDetailActions,
+ ...n9.itemDetailActions,
present: (e, t) => {
- a.cancelled || t9.itemDetailActions.present(e, t);
+ a.cancelled || n9.itemDetailActions.present(e, t);
},
redirect: (e) => {
- a.cancelled || t9.itemDetailActions.redirect(e);
+ a.cancelled || n9.itemDetailActions.redirect(e);
}
- } : t9.itemDetailActions;
+ } : n9.itemDetailActions;
await d.open({
kind: "item",
id: e,
queue: n,
relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,
- helpers: t9.itemDetailHelpers,
+ helpers: n9.itemDetailHelpers,
actions: f,
grid: {
helpers: X.gridHelpers,
actions: X.gridActions
},
- layout: G7(),
+ layout: K7(),
selectMode: Yl,
selected: new Set(ql),
seekSeconds: Z.appSettings.seekSeconds,
- resume: t || e == null ? null : n9()
- }), u7();
+ resume: t || e == null ? null : r9()
+ }), d7();
}
-async function l9() {
+async function u9() {
let e = Y.cloneBarsContext(Kl), t = $l || "/", n = nu;
- await r9(), i9(!1, !1, { miniplayer: !1 }), yu({ detailReturnBarsContext: null }), Uf(), yu({ barsContext: e || {
+ await i9(), a9(!1, !1, { miniplayer: !1 }), yu({ detailReturnBarsContext: null }), Uf(), yu({ barsContext: e || {
type: "home",
filters: U
- } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? yu({ pageOpens: uu + 1 }) : (M7(), location.pathname === "/playlists" && b5()));
+ } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? yu({ pageOpens: uu + 1 }) : (N7(), location.pathname === "/playlists" && x5()));
}
-async function u9(e, t = !0) {
+async function d9(e, t = !0) {
if (t) {
- yu({ detailReturnPath: location.pathname + location.search }), g9("/works/" + encodeURIComponent(e), "jav", () => u9(e, !1));
+ yu({ detailReturnPath: location.pathname + location.search }), _9("/works/" + encodeURIComponent(e), "jav", () => d9(e, !1));
return;
}
- let n = W.navigation.seq, r = Y.cloneBarsContext(a5()), i = !s9(), a = Gf() || (i ? "/jav?tab=discover" : $l) || "/jav?tab=discover";
- t8()?.showing() !== "jav" && i9(!1, !0, { miniplayer: !1 }), yu({
+ let n = W.navigation.seq, r = Y.cloneBarsContext(o5()), i = !c9(), a = Gf() || (i ? "/jav?tab=discover" : $l) || "/jav?tab=discover";
+ n8()?.showing() !== "jav" && a9(!1, !0, { miniplayer: !1 }), yu({
detailReturnPath: a,
detailReturnBarsContext: r,
detailReturnNeedsRestore: i
}), Al();
- let [o, s] = await Promise.all([e8(t9.stageHost), B("/healthz")]);
+ let [o, s] = await Promise.all([t8(n9.stageHost), B("/healthz")]);
W.navigation.seq === n && (await o.open({
kind: "jav",
code: e,
readOnly: !!s.ledger_read_only,
actions: {
- close: () => void l9(),
+ close: () => void u9(),
navigate: (e) => Q.navigatePath(e),
canonicalCode: (t) => {
W.navigation.seq === n && t && t !== e && Ep("/works/" + encodeURIComponent(t) + location.search + location.hash, {
@@ -82077,52 +82118,52 @@ async function u9(e, t = !0) {
state: W.navigation.location.state
});
},
- openTag: (e) => S7((t) => {
+ openTag: (e) => C7((t) => {
t.tag = e;
}),
- receipt: (e) => y8.toast({ text: e })
+ receipt: (e) => b8.toast({ text: e })
}
- }), u7());
+ }), d7());
}
-async function d9(e = null, t = !0) {
- t ? (t9.requestedImmerseId = e, Q.route("/immerse")) : (t8()?.closeMiniplayer(), await (await AFe(t9.immerseHost)).open(e));
+async function f9(e = null, t = !0) {
+ t ? (n9.requestedImmerseId = e, Q.route("/immerse")) : (n8()?.closeMiniplayer(), await (await PFe(n9.immerseHost)).open(e));
}
-function qLe() {
- t9.total = 0, t9.facets = null, t9.stageHost = {
+function ZLe() {
+ n9.total = 0, n9.facets = null, n9.stageHost = {
player: {
settings: () => Z.appSettings,
saveSettings: () => Z.saveSettings(),
- toast: (e, t) => y8.toast({ text: e }, t),
- loadSourceStatus: () => Y7(),
+ toast: (e, t) => b8.toast({ text: e }, t),
+ loadSourceStatus: () => X7(),
offlineReason: (e) => Z.offlineReason(e)
},
sourceOffline: (e) => Z.sourceOffline(e),
expand: (e, t, n) => {
- e === "follow" ? T9(t, !0, n) : c9(t, !0);
+ e === "follow" ? E9(t, !0, n) : l9(t, !0);
},
- openItem: (e) => void c9(e)
- }, t9.stageOpen = () => !!t8()?.isOpen();
+ openItem: (e) => void l9(e)
+ }, n9.stageOpen = () => !!n8()?.isOpen();
}
-function JLe() {
- t9.itemDetailHelpers = {
+function QLe() {
+ n9.itemDetailHelpers = {
badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),
- titleHtml: (e) => rL(e),
- displayName: (e) => nL(e),
+ titleHtml: (e) => nL(e),
+ displayName: (e) => tL(e),
javImage: () => Z.appSettings.javImage,
tagLabel: (e) => Pl(e),
isDurationTag: (e) => ir.has(e),
- tagCandidates: () => t9.facets && t9.facets.tags || [],
+ tagCandidates: () => n9.facets && n9.facets.tags || [],
sourceOffline: (e) => Z.sourceOffline(e),
offlineReason: (e) => Z.offlineReason(e),
- relatedSkeletonHtml: () => C2("正在读取推荐", {
+ relatedSkeletonHtml: () => w2("正在读取推荐", {
cards: !0,
className: "related-skeleton"
}),
- mixRelated: (e) => _7(e),
- wireDrag: (e) => e9(e),
+ mixRelated: (e) => v7(e),
+ wireDrag: (e) => t9(e),
wireDragReorder: (e, t) => nl(e, t)
- }, t9.itemDetailActions = {
- close: () => l9(),
+ }, n9.itemDetailActions = {
+ close: () => u9(),
present: (e) => {
yu({ presentedItem: e });
let t = Kl;
@@ -82130,57 +82171,57 @@ function JLe() {
type: "item",
id: e.id,
filters: t?.type === "entity" ? { ...t.filters } : Y.emptyEntityFilters()
- } }), iu && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${iu}`, !1, Kf("item")), yu({ pendingQueueRoute: null })), M7();
+ } }), iu && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${iu}`, !1, Kf("item")), yu({ pendingQueueRoute: null })), N7();
},
redirect: (e) => {
let t = !!iu;
e.kind === "follow" ? (Q.queueOpenRequest = null, yu({
pendingQueueRoute: null,
followDetailReturnPath: $l || "/"
- }), Q.route(`/posts/${e.id}`, !t, Kf("follow")), T9(e.id, !1, null, !0)) : e.kind === "item" ? c9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? v9("/playlists") : b5() : i9(!1);
+ }), Q.route(`/posts/${e.id}`, !t, Kf("follow")), E9(e.id, !1, null, !0)) : e.kind === "item" ? l9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? y9("/playlists") : x5() : a9(!1);
},
- openQueueItem: (e, t, n = !0) => void a9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),
+ openQueueItem: (e, t, n = !0) => void o9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),
reopen: () => {
let e = au;
if (!e) return;
let t = ru;
- t ? a9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : c9(e.id, !1);
+ t ? o9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : l9(e.id, !1);
},
- checkSource: async (e) => (await Y7())[e] !== !1,
+ checkSource: async (e) => (await X7())[e] !== !1,
openSavedFollow: () => {
- $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", v9(y9());
+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", y9(b9());
},
- openEntity: (e, t) => _5(e, t),
- openUnowned: () => g7({ owner: "none" }),
- openRegion: (e) => g7({ region: e || "none" }),
- openTag: (e) => S7((t) => {
+ openEntity: (e, t) => v5(e, t),
+ openUnowned: () => _7({ owner: "none" }),
+ openRegion: (e) => _7({ region: e || "none" }),
+ openTag: (e) => C7((t) => {
t.tag = e;
}),
- addToPlaylist: (e) => OIe(e),
- saveMix: (e) => DIe(e),
- editPlaylist: () => v9("/playlists"),
- openPlaylists: () => v9("/playlists"),
- reveal: (e) => f5(e),
- sync: (e) => yIe(e),
+ addToPlaylist: (e) => MIe(e),
+ saveMix: (e) => jIe(e),
+ editPlaylist: () => y9("/playlists"),
+ openPlaylists: () => y9("/playlists"),
+ reveal: (e) => p5(e),
+ sync: (e) => CIe(e),
trashChanged: async (e, t) => {
- U.state === "ads" && (t || e === "trash") && (t || (Uf(), i9(!0, !1, { miniplayer: !1 })), await L7());
+ U.state === "ads" && (t || e === "trash") && (t || (Uf(), a9(!0, !1, { miniplayer: !1 })), await R7());
},
- toast: (e, { undo: t } = {}) => y8.actionReceipt(e, { undo: t }),
- failure: (e, t) => y8.actionFailure(e, t)
- }, t9.immerseHost = {
+ toast: (e, { undo: t } = {}) => b8.actionReceipt(e, { undo: t }),
+ failure: (e, t) => b8.actionFailure(e, t)
+ }, n9.immerseHost = {
filters: () => U,
seekSeconds: () => Z.appSettings.seekSeconds,
sourceOffline: (e) => Z.sourceOffline(e),
- displayName: (e) => nL(e),
+ displayName: (e) => tL(e),
route: (e) => Q.route("/immerse?id=" + e, !0),
- closed: () => g7(),
- openItem: (e) => void c9(e),
- openEntity: (e, t) => _5(e, t),
- openUnowned: () => g7({ owner: "none" }),
- toast: (e, { undo: t } = {}) => y8.actionReceipt(e, { undo: t }),
- warn: (e) => y8.toast({ text: e }, { sound: "warning" }),
- failure: (e, t) => y8.actionFailure(e, t)
- }, t9.immerseOpen = () => !!i8()?.isOpen(), F8.handler(L("#immerseBtn"), "onclick", () => d9());
+ closed: () => _7(),
+ openItem: (e) => void l9(e),
+ openEntity: (e, t) => v5(e, t),
+ openUnowned: () => _7({ owner: "none" }),
+ toast: (e, { undo: t } = {}) => b8.actionReceipt(e, { undo: t }),
+ warn: (e) => b8.toast({ text: e }, { sound: "warning" }),
+ failure: (e, t) => b8.actionFailure(e, t)
+ }, n9.immerseOpen = () => !!a8()?.isOpen(), I8.handler(L("#immerseBtn"), "onclick", () => f9());
}
// src/application/navigation.js
var Q = {
@@ -82202,40 +82243,40 @@ var Q = {
queueOpenRequest: void 0,
initialOverlayOpened: void 0
};
-function f9() {
- let e = u8();
- e ? e.navChanged() : L("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(s7(e.dataset.nav))));
+function p9() {
+ let e = d8();
+ e ? e.navChanged() : L("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(c7(e.dataset.nav))));
}
-function p9(e = {}) {
+function m9(e = {}) {
let t = Q.surfacePath();
- t !== z5.sidebarSurface && (z5.sidebarSurface = t, z5.sidebarProps = {
- ...z5.sidebarProps,
+ t !== B5.sidebarSurface && (B5.sidebarSurface = t, B5.sidebarProps = {
+ ...B5.sidebarProps,
content: null,
latest: null
- }), z5.sidebarProps = {
- ...z5.sidebarProps,
+ }), B5.sidebarProps = {
+ ...B5.sidebarProps,
...e
- }, u8()?.render(z5.sidebarProps);
-}
-function m9() {
- p9(), f9(), l7();
+ }, d8()?.render(B5.sidebarProps);
}
function h9() {
+ m9(), p9(), u7();
+}
+function g9() {
Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, yu({ pendingQueueRoute: null });
}
-function g9(e, t, n) {
- h9(), Hf(), Q.requestedOverlay = {
+function _9(e, t, n) {
+ g9(), Hf(), Q.requestedOverlay = {
path: e,
open: n
}, Q.route(e, !1, Kf(t));
}
-function _9() {
- Q.surfaceEpoch++, X.barsRequestSeq++, P5.syncPageTitle(location.href), p9(), Uf();
+function v9() {
+ Q.surfaceEpoch++, X.barsRequestSeq++, F5.syncPageTitle(location.href), m9(), Uf();
}
-function v9(e) {
+function y9(e) {
Q.route(e), yu({ pageOpens: uu + 1 });
}
-function YLe() {
+function $Le() {
Q.routeMeta = (e) => {
let t = Qf(e);
return t ? { route: t } : null;
@@ -82243,7 +82284,7 @@ function YLe() {
let t = Qf(e);
return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !Rf(e) && e !== "/immerse";
}, Q.openRoutePath = (e) => {
- e === "/immerse" ? d9(BLe()) : e === "/follow" ? w9() : e === "/playlists" || Q.catalogPage(e) ? v9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? KIe() : e) : (D5(!1, !0), v9(j5({
+ e === "/immerse" ? f9(WLe()) : e === "/follow" ? T9() : e === "/playlists" || Q.catalogPage(e) ? y9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? XIe() : e) : (O5(!1, !0), y9(M5({
kind: e.slice(1),
q: "",
scope: "local",
@@ -82252,34 +82293,34 @@ function YLe() {
})));
};
}
-function XLe() {
+function eRe() {
Q.surfaceEpoch = 0, Q.surfacePath = () => decodeURIComponent(location.pathname), Q.surfaceRequests = null, Q.surfaceToken = (e) => ({
epoch: Q.surfaceEpoch,
path: e,
signal: Q.surfaceRequests?.signal
- }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Y8(e) || X8(), hp(L("#stats"), L("#index")), !An(e) && e !== "/trash" && z7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (X8(e) || Z8(), hp(L("#stats"), L("#index")), !An(e) && e !== "/trash" && B7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
Q.surfaceEpoch++, X.barsRequestSeq++, Ep(e, {
replace: t,
state: n
- }), P5.syncPageTitle(e), queueMicrotask(() => {
- l7(), Q5(), p9();
+ }), F5.syncPageTitle(e), queueMicrotask(() => {
+ u7(), $5(), m9();
});
}, Q.navigatePath = (e, t = !1, n) => {
t ? W.replace(e, n) : W.push(e, n), queueMicrotask(() => {
- l7(), Q5();
+ u7(), $5();
});
}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;
}
// src/jobs.ts
-function ZLe(e, t, n) {
+function tRe(e, t, n) {
if (!Number.isFinite(n) || n <= 0) return "";
let r = Math.max(0, Math.min(n, Number.isFinite(t) ? t : 0)), i = r / n * 100;
return `<div class="ui-board-job-progress" role="progressbar" aria-label="${z(e)}" aria-valuemin="0" aria-valuemax="${n}" aria-valuenow="${r}"><svg width="36" height="36" viewBox="0 0 36 36" aria-hidden="true"><circle class="ui-board-job-track" cx="18" cy="18" r="15"/><circle class="ui-board-job-fill" cx="18" cy="18" r="15" pathLength="100" stroke-dasharray="${i} ${100 - i}" transform="rotate(-90 18 18)"/></svg><span>${z(e)}<small>${Math.round(i)}%</small></span></div>`;
}
-function QLe(e, t = 0, n = 0) {
- return n > 0 ? ZLe(e, t, n) : Vs(e);
+function nRe(e, t = 0, n = 0) {
+ return n > 0 ? tRe(e, t, n) : Vs(e);
}
-async function $Le(e) {
+async function rRe(e) {
let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;
for (; e.active();) {
let r;
@@ -82294,14 +82335,14 @@ async function $Le(e) {
await t(2e3);
}
}
-function eRe(e) {
+function iRe(e) {
let t = e.note || ((e) => Rs(e, {
label: "任务状态",
variant: "error"
- })), n = e.loading || Vs, r = e.progress || ((e, t, n) => QLe(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");
+ })), n = e.loading || Vs, r = e.progress || ((e, t, n) => nRe(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");
e.host.hidden = !0, a.dataset.followJob = "", a.setAttribute("aria-live", "polite"), e.host.prepend(a);
let o = e.storageKey || "peach-follow-job", s = sessionStorage.getItem(o) || void 0, c = !1;
- $Le({
+ rRe({
read: e.read,
active: () => !c && e.active() && a.isConnected,
keepWatching: e.watchIdle !== !1,
@@ -82350,25 +82391,25 @@ var $ = {
FOLLOW_MANAGE_TABS: void 0,
followSidebarFilters: void 0
};
-function tRe(e) {
+function aRe(e) {
let t = (e.results || []).filter((e) => !e.ok).length;
- y8.toast({ text: Vi(e) }, {
+ b8.toast({ text: Vi(e) }, {
warn: !!t,
timeout: t ? 8e3 : 6e3,
sound: t ? "warning" : "success",
action: {
label: "查看",
- run: () => w9(!0)
+ run: () => T9(!0)
}
});
}
-function y9() {
- return Oa(b9());
+function b9() {
+ return Oa(x9());
}
-function nRe() {
+function oRe() {
return $.controller.read();
}
-function b9() {
+function x9() {
return {
status: $.followFilter,
media: $.followMediaView,
@@ -82383,33 +82424,33 @@ function b9() {
seed: $.followSeed
};
}
-function x9(e) {
+function S9(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 rRe() {
+function sRe() {
let e = sp(L("#stats"));
return e && e.path === "/follow" && e.host.isConnected ? e : null;
}
-function S9() {
- return !!rRe();
+function C9() {
+ return !!sRe();
}
-function C9(e) {
- S9() && mp(L("#stats"), e);
+function w9(e) {
+ C9() && mp(L("#stats"), e);
}
-function iRe(e, t = {}) {
+function cRe(e, t = {}) {
return $.controller.route(e, t);
}
-function w9(e = !1) {
+function T9(e = !1) {
$.controller.enter(e);
}
-async function T9(e, t = !0, n = null, r = !1) {
+async function E9(e, t = !0, n = null, r = !1) {
if (t) {
- !location.pathname.startsWith("/posts/") && !r && yu({ followDetailReturnPath: location.pathname + location.search }), g9(`/posts/${+e}`, "follow", () => T9(e, !1, n, r));
+ !location.pathname.startsWith("/posts/") && !r && yu({ followDetailReturnPath: location.pathname + location.search }), _9(`/posts/${+e}`, "follow", () => E9(e, !1, n, r));
return;
}
Al(), e = +e;
let i = !location.pathname.startsWith("/posts/");
- t && i && !r && yu({ followDetailReturnPath: location.pathname + location.search }), !t && !r && yu({ followDetailReturnPath: Gf() || "/follow" }), t && Hf(), t8()?.showing() !== "follow" && i9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, Kf("follow")), await (await e8(t9.stageHost)).open({
+ t && i && !r && yu({ followDetailReturnPath: location.pathname + location.search }), !t && !r && yu({ followDetailReturnPath: Gf() || "/follow" }), t && Hf(), n8()?.showing() !== "follow" && a9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, Kf("follow")), await (await t8(n9.stageHost)).open({
kind: "follow",
id: e,
mediaIndex: n,
@@ -82417,66 +82458,67 @@ async function T9(e, t = !0, n = null, r = !1) {
relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,
helpers: $.followFeedHelpers,
actions: $.followDetailActions,
- resume: t ? null : n9()
- }), u7();
+ resume: t ? null : r9()
+ }), d7();
}
-async function aRe() {
- await r9(), i9(!1, !1, { miniplayer: !1 }), Uf(), Q.route(ou || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && S9() ? (nRe(), C9({ view: b9() })) : yu({ pageOpens: uu + 1 }));
+async function lRe() {
+ await i9(), a9(!1, !1, { miniplayer: !1 }), Uf(), Q.route(ou || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && C9() ? (oRe(), w9({ view: x9() })) : yu({ pageOpens: uu + 1 }));
}
-function oRe(e) {
+function uRe(e) {
let t = document.createElement("div");
return t.className = "peach-react", tc(e, () => {
e.textContent = "", e.append(t);
}), t;
}
-function sRe() {
+function dRe() {
$.followFeedHelpers = Il({
wireDrag: (e) => {
- e && e9(e);
+ e && t9(e);
},
wireScroller: (e) => {
e && Dc(e);
},
listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),
- jobProgress: eRe
+ jobProgress: iRe
}), $.followFeedActions = {
- loaded: (e) => U5(e),
- openDetail: (e) => T9(e),
+ loaded: (e) => W5(e),
+ openDetail: (e) => E9(e),
openAuthor: (e) => Q.navigatePath(Nn("creator", e)),
- toggleSelection: (e, t) => PIe(e, t),
+ toggleSelection: (e, t) => RIe(e, t),
setImagesOnly: (e) => {
- Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), l5();
+ Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), u5();
},
setPhotoLayout: (e) => {
- MM(e), l5();
+ AM(e), u5();
},
- canFlip: () => !Yl && !Q7() && !window.__scrolling && !X.reduceMotion(),
- toast: (e, { undo: t } = {}) => y8.actionReceipt(e, { undo: t }),
- failure: (e, t) => y8.actionFailure(e, t),
- checkReport: (e) => tRe(e)
+ canFlip: () => !Yl && !$7() && !window.__scrolling && !X.reduceMotion(),
+ toast: (e, { undo: t } = {}) => b8.actionReceipt(e, { undo: t }),
+ failure: (e, t) => b8.actionFailure(e, t),
+ checkReport: (e) => aRe(e)
}, $.followFeedShell = {
skeleton: () => $.followSkeletonHtml("正在读取关注内容"),
ground: () => {
- t8()?.showing() !== "follow" && (Al(), i9(!1), V5(), !S9() && (Q.claimSurface(Q.surfacePath()), B5({ manage: !1 }), L("#stats").querySelector(".peach-react") && hp(L("#stats")), L("#stats").replaceChildren()));
+ n8()?.showing() !== "follow" && (Al(), a9(!1), H5(), !C9() && (Q.claimSurface(Q.surfacePath()), V5({ manage: !1 }), L("#stats").querySelector(".peach-react") && hp(L("#stats")), L("#stats").replaceChildren()));
}
}, $.followDetailActions = Wl({
- view: b9,
- adoptView: x9,
+ view: x9,
+ adoptView: S9,
rememberReturn: (e) => yu({ followDetailReturnPath: e }),
- close: () => void aRe(),
- open: (e, t, n) => void T9(e, !0, t, n),
- drawer: U5,
+ close: () => void lRe(),
+ open: (e, t, n) => void E9(e, !0, t, n),
+ drawer: W5,
openAuthor: (e) => Q.navigatePath(Nn("creator", e))
}, {
- toast: (e, { undo: t } = {}) => y8.actionReceipt(e, { undo: t }),
- failure: y8.actionFailure
+ toast: (e, { undo: t } = {}) => b8.actionReceipt(e, { undo: t }),
+ failure: b8.actionFailure,
+ canFlip: $.followFeedActions.canFlip
});
}
-function cRe() {
+function fRe() {
$.controller = ja({
location: () => location,
- view: b9,
- adoptView: x9,
+ view: x9,
+ adoptView: S9,
session: () => ({
discoverySeed: pu,
revision: mu,
@@ -82490,50 +82532,50 @@ function cRe() {
preferences: () => ({
selectMode: Yl,
selected: Jl,
- photoSize: EM(),
- photoLayout: DM(),
+ photoSize: wM(),
+ photoLayout: TM(),
imagesOnly: !!Z.appSettings.followImagesOnly
}),
- live: S9,
- push: C9,
+ live: C9,
+ push: w9,
route: (e) => {
Q.route(e), am("follow", {
- view: b9(),
+ view: x9(),
seed: pu,
revision: mu
});
},
- openPage: v9,
- rollSeed: () => Number(y8.rollSeed()),
+ openPage: y9,
+ rollSeed: () => Number(b8.rollSeed()),
enterSeed: () => Math.floor(Math.random() * 4294967295),
revealFeed: () => {
- Al(), V5(), B5({ manage: !1 });
+ Al(), H5(), V5({ manage: !1 });
},
- syncPhotoWalls: l5,
+ syncPhotoWalls: u5,
scrollTop: () => {
lm(() => location.pathname === "/follow", L("#stats").querySelector("[data-filter-frame]"));
}
}, $.followFeedHelpers, $.followFeedActions), $.followFeedActions = $.controller.actions, $.followFeedProps = $.controller.props, $.followFeedShell.refresh = $.controller.refresh, $.followFeedShell.props = $.controller.props;
}
// src/application/lifecycle.js
-function lRe() {
- uEe(), Yc(document), Lo(document.documentElement, { variant: "page" }), Lo(L("#drawerScroll")), F8.own(Kc()), Ua(document.body), X.homeHasFeed = dIe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, z5.sidebarProps = {
+function pRe() {
+ dEe(), Yc(document), Lo(document.documentElement, { variant: "page" }), Lo(L("#drawerScroll")), I8.own(Kc()), Ua(document.body), X.homeHasFeed = hIe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, B5.sidebarProps = {
content: null,
filters: {},
latest: null
- }, z5.sidebarSurface = "", z5.sidebarCatalog = null, z5.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [
+ }, B5.sidebarSurface = "", B5.sidebarCatalog = null, B5.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [
["new", "更新时间"],
["hot", "热度"],
["dur", "时长"]
], $.FOLLOW_RANDOM_SORT = "rand", $.followSort = "new", $.followDir = "desc", $.followSeed = 0, $.followDurMin = 0, $.followDurMax = 0;
}
// src/application/tutorial.js
-async function uRe() {
+async function mRe() {
FU({ reopen: !0 });
}
-function dRe() {
+function hRe() {
let e = new URL(location.href), t = e.searchParams.get("onboarding") === "1";
- yu({ cameFromSetup: t }), F8.handler(document.getElementById("tutorialBtn"), "onclick", () => FU()), FU({ invitation: !0 }), t && e.searchParams.delete("onboarding");
+ yu({ cameFromSetup: t }), I8.handler(document.getElementById("tutorialBtn"), "onclick", () => FU()), FU({ invitation: !0 }), t && e.searchParams.delete("onboarding");
let n = e.searchParams.get("agentation");
try {
localStorage.removeItem("peach.agentation");
@@ -82544,7 +82586,7 @@ function dRe() {
}), n === "on" && import("/dev/agentation.js").catch(() => {});
}
// src/react/search/recommendations.ts
-async function fRe(e) {
+async function gRe(e) {
let t = (await Promise.allSettled([
e("/api/items?sort=rand&limit=5"),
e("/api/jav/discoveries?scope=library&limit=5"),
@@ -82568,9 +82610,9 @@ async function fRe(e) {
let t = ma(e);
for (let n of ["videos", "images"]) {
if (n === "images" ? !t.has("image") : t.size && !t.has("video")) continue;
- let r = ha(e, n), i = l.sources.find((e) => e.id === r.source_id), a = EG(r, i?.author_key ? l.sources.filter((e) => e.author_key === i.author_key) : i ? [i] : [], l), o = n === "images" ? r.media_items?.find((e) => e.media_kind === "image") : void 0;
+ let r = ha(e, n), i = l.sources.find((e) => e.id === r.source_id), a = TG(r, i?.author_key ? l.sources.filter((e) => e.author_key === i.author_key) : i ? [i] : [], l), o = n === "images" ? r.media_items?.find((e) => e.media_kind === "image") : void 0;
(n === "images" ? c : s).push({
- value: SG(r),
+ value: xG(r),
id: r.id,
who: a.author,
href: `/posts/${r.id}`,
@@ -82586,7 +82628,7 @@ async function fRe(e) {
let u = (t[4]?.items || []).map((e) => ({
value: e.k,
href: e.entity_id ? `/creators/${e.entity_id}` : `/follow?author=${encodeURIComponent(e.key)}`,
- avatarHtml: TG(l.sources.filter((t) => t.author_key === e.key), e.k),
+ avatarHtml: wG(l.sources.filter((t) => t.author_key === e.key), e.k),
subtitle: "关注中的作者"
})), d = /* @__PURE__ */ new Map();
for (let e of r) for (let t of e.performer_refs || []) t.id && !d.has(t.name) && d.set(t.name, {
@@ -82656,7 +82698,7 @@ async function fRe(e) {
];
}
// src/application/search-morph.js
-function pRe(e, t, n, r, i, a, o) {
+function _Re(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);
@@ -82671,65 +82713,65 @@ function pRe(e, t, n, r, i, a, o) {
});
}
// src/application/search.js
-var E9 = {
+var D9 = {
searchControl: void 0,
searchActions: void 0,
searchHelpers: void 0,
searchMorph: void 0,
searchMorphViewport: void 0
};
-function D9() {
- E9.searchControl?.close();
+function O9() {
+ D9.searchControl?.close();
}
-function mRe(e) {
+function vRe(e) {
let t = e ? eo({
...e,
is_jav: !!e.code
}, Z.appSettings.javImage) : "";
return t === "cover" ? xo(e, "big") : t ? `<img class="poster still" src="/poster?id=${e.id}&c=4" width="640" height="360" alt="" loading="lazy" data-drop="self">` : "<span class=\"nopic\">无预览</span>";
}
-function O9() {
- E9.searchMorph?.cancel(), E9.searchMorph = null, L(".search").classList.remove("search-morphing");
+function k9() {
+ D9.searchMorph?.cancel(), D9.searchMorph = null, L(".search").classList.remove("search-morphing");
}
-function k9(e) {
+function A9(e) {
let t = L(".search"), n = L("#searchBtn");
if (t.classList.contains("open") === e) return;
- let r = !!E9.searchMorph, i = t.getBoundingClientRect(), a = parseFloat(getComputedStyle(t).paddingLeft);
- O9(), t.classList.remove("open");
+ let r = !!D9.searchMorph, i = t.getBoundingClientRect(), a = parseFloat(getComputedStyle(t).paddingLeft);
+ k9(), t.classList.remove("open");
let o = n.getBoundingClientRect();
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 = Bc();
t.classList.add("search-morphing");
- let h = t.animate(pRe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
+ let h = t.animate(_Re(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
duration: m.duration,
easing: "linear",
fill: "both"
});
- E9.searchMorph = h, F8.handler(h, "onfinish", () => {
- E9.searchMorph === h && O9();
+ D9.searchMorph = h, I8.handler(h, "onfinish", () => {
+ D9.searchMorph === h && k9();
});
}
-function hRe() {
- return t9.immerseOpen() ? i8().activeVideo() : t8()?.activeVideo() || null;
+function yRe() {
+ return n9.immerseOpen() ? a8().activeVideo() : n8()?.activeVideo() || null;
}
-function gRe(e) {
+function bRe(e) {
return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);
}
-function _Re() {
- E9.searchControl = null, E9.searchActions = {
+function xRe() {
+ D9.searchControl = null, D9.searchActions = {
search: (e) => {
- X.rememberSearchValue(), i9(!1), U.q = e, bu(), Q.route(U.jav === "1" ? h7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);
+ X.rememberSearchValue(), a9(!1), U.q = e, bu(), Q.route(U.jav === "1" ? g7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);
},
- openItem: (e) => c9(e),
- openEntity: (e, t) => _5(e, t),
+ openItem: (e) => l9(e),
+ openEntity: (e, t) => v5(e, t),
openPath: (e) => Q.route(e, !1),
openFollow: (e, t, n) => {
- $.followMediaView = t, T9(e, !0, n);
+ $.followMediaView = t, E9(e, !0, n);
}
- }, E9.searchHelpers = {
- pool: () => Rbe(U, wn),
- recommendations: () => fRe(wn),
- 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 ? H8(e) : mRe(e)}</span>`,
+ }, D9.searchHelpers = {
+ pool: () => Bbe(U, wn),
+ recommendations: () => gRe(wn),
+ 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 ? U8(e) : vRe(e)}</span>`,
present: (e) => ss(e),
dismiss: (e) => cs(e),
wireScroller: (e) => Dc(e),
@@ -82747,65 +82789,65 @@ function _Re() {
}, fp("search", {
input: L("#q"),
historyLimit: Z.appSettings.searchHistoryLimit,
- actions: E9.searchActions,
- helpers: E9.searchHelpers,
+ actions: D9.searchActions,
+ helpers: D9.searchHelpers,
expose: (e) => {
- E9.searchControl = e;
+ D9.searchControl = e;
}
}, {
container: L("#searchMenu"),
isCurrent: () => !0
- }), F8.listen(L("#q"), "beforeinput", (e) => {
+ }), I8.listen(L("#q"), "beforeinput", (e) => {
e.isComposing || X.rememberSearchValue(e.currentTarget);
- }), F8.listen(L("#q"), "scroll", (e) => {
+ }), I8.listen(L("#q"), "scroll", (e) => {
e.currentTarget.value && X.rememberSearchValue(e.currentTarget);
- }), F8.listen(L("#q"), "pointerdown", (e) => {
+ }), I8.listen(L("#q"), "pointerdown", (e) => {
e.currentTarget.value && X.rememberSearchValue(e.currentTarget);
});
}
-function vRe() {
- E9.searchMorph = null, E9.searchMorphViewport = innerWidth, F8.listen.bind(F8, window)("resize", () => {
- innerWidth !== E9.searchMorphViewport && (E9.searchMorphViewport = innerWidth, O9());
- }, { passive: !0 }), F8.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", O9), F8.handler(L("#searchBtn"), "onclick", () => {
- k9(!0), L("#q").focus({ preventScroll: !0 });
- }), F8.handler(L("#searchBack"), "onclick", () => {
- k9(!1), D9(), L("#q").blur(), L("#searchBtn").focus({ preventScroll: !0 });
+function SRe() {
+ D9.searchMorph = null, D9.searchMorphViewport = innerWidth, I8.listen.bind(I8, window)("resize", () => {
+ innerWidth !== D9.searchMorphViewport && (D9.searchMorphViewport = innerWidth, k9());
+ }, { passive: !0 }), I8.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", k9), I8.handler(L("#searchBtn"), "onclick", () => {
+ A9(!0), L("#q").focus({ preventScroll: !0 });
+ }), I8.handler(L("#searchBack"), "onclick", () => {
+ A9(!1), O9(), L("#q").blur(), L("#searchBtn").focus({ preventScroll: !0 });
});
let e = (e) => {
- e.target.closest(".search") || (e.type !== "focusin" || e.target !== document.body && e.target !== document.documentElement) && (L("#q").value || k9(!1), D9());
+ e.target.closest(".search") || (e.type !== "focusin" || e.target !== document.body && e.target !== document.documentElement) && (L("#q").value || A9(!1), O9());
};
- F8.listen(document, "pointerdown", e, !0), F8.listen(document, "focusin", e), F8.handler(L("#brandHome"), "onclick", (e) => {
- e.preventDefault(), g7();
- }), F8.listen(document, "keydown", (e) => {
+ I8.listen(document, "pointerdown", e, !0), I8.listen(document, "focusin", e), I8.handler(L("#brandHome"), "onclick", (e) => {
+ e.preventDefault(), _7();
+ }), I8.listen(document, "keydown", (e) => {
if (e.key === "Escape") {
- let t = s8();
+ let t = c8();
if (t?.isOpen()) {
t.close();
return;
}
if (!L("#searchMenu").hidden) {
- D9();
+ O9();
return;
}
- if (t9.immerseOpen()) {
- i8().close();
+ if (n9.immerseOpen()) {
+ a8().close();
return;
}
- if (t9.stageOpen()) {
- e.defaultPrevented || (e.preventDefault(), t8().requestEscape());
+ if (n9.stageOpen()) {
+ e.defaultPrevented || (e.preventDefault(), n8().requestEscape());
return;
}
if (L("#drawer").classList.contains("open")) {
- K5(!1);
+ q5(!1);
return;
}
if (Yl || ql.size || Jl.size) {
- D5(!1, !0);
+ O5(!1, !0);
return;
}
return;
}
- if (gRe(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;
+ if (bRe(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) {
@@ -82813,37 +82855,37 @@ function vRe() {
return;
}
}
- let t = hRe();
+ let t = yRe();
if (t) {
if (e.key === "t" || e.key === "T") {
- e.preventDefault(), t8()?.toggleTheater();
+ e.preventDefault(), n8()?.toggleTheater();
return;
}
if (e.key === "ArrowLeft" || e.key === "ArrowRight") {
- e.preventDefault(), hP(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));
+ e.preventDefault(), pP(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));
return;
}
if (e.key === " " || e.key === "k" || e.key === "K") {
- e.preventDefault(), mP(t);
+ e.preventDefault(), fP(t);
return;
}
if (e.key === "m" || e.key === "M") {
- e.preventDefault(), kN(t, ".vjs-mute-control");
+ e.preventDefault(), DN(t, ".vjs-mute-control");
return;
}
if (e.key === "f" || e.key === "F") {
- e.preventDefault(), kN(t, ".vjs-fullscreen-control");
+ e.preventDefault(), DN(t, ".vjs-fullscreen-control");
return;
}
if (e.key === "i" || e.key === "I") {
- e.preventDefault(), t8()?.toggleMiniplayer();
+ e.preventDefault(), n8()?.toggleMiniplayer();
return;
}
}
});
}
// src/history/links.ts
-function yRe(e) {
+function CRe(e) {
if (e.defaultPrevented || e.button !== 0 || e.ctrlKey || e.metaKey || e.shiftKey || e.altKey) return null;
let t = e.target instanceof Element ? e.target.closest("a[href]") : null;
if (!t || t.hasAttribute("download") || t.target && t.target.toLowerCase() !== "_self") return null;
@@ -82862,74 +82904,74 @@ function yRe(e) {
return n.startsWith("#") && !a?.section || !Lf(i.pathname, i.search) && !a ? null : i.pathname + i.search + i.hash;
}
// src/application/composition.js
-var A9 = {
+var j9 = {
shellActions: void 0,
routing: void 0
};
-function bRe() {
- let e = F8, t = (e) => {
- e.kind === "item" ? c9(e.id, !1) : e.kind === "jav" ? u9(e.code, !1) : e.kind === "follow" ? T9(e.id, !1) : a9(e.queue, e.key, e.item, !1);
+function wRe() {
+ let e = I8, t = (e) => {
+ e.kind === "item" ? l9(e.id, !1) : e.kind === "jav" ? d9(e.code, !1) : e.kind === "follow" ? E9(e.id, !1) : o9(e.queue, e.key, e.item, !1);
};
- if (uIe(), P5.entityShapesReady = U8(), QIe(), location.pathname === "/") {
+ if (mIe(), F5.entityShapesReady = W8(), nLe(), location.pathname === "/") {
let e = new URLSearchParams(location.search);
!e.has("state") && e.get("jav") !== "1" && (L("#catalogPageHeading").hidden = !1);
}
- Y8(decodeURIComponent(location.pathname)) && K8(L("#feedNew")), oLe(), A9.shellActions = {
- openSettings: (e) => J5(e, !0),
- closeSettings: () => s8()?.close(!1),
- openItem: (e) => void c9(e),
- openEntity: (e, t) => void _5(e, t),
+ X8(decodeURIComponent(location.pathname)) && q8(L("#feedNew")), uLe(), j9.shellActions = {
+ openSettings: (e) => Y5(e, !0),
+ closeSettings: () => c8()?.close(!1),
+ openItem: (e) => void l9(e),
+ openEntity: (e, t) => void v5(e, t),
openTag: (e) => {
- nLe(), P7(e);
+ oLe(), F7(e);
},
- openTasteSignal: EIe,
+ openTasteSignal: AIe,
navigate: (e) => {
let n = new URL(e, location.href), r = Lf(n.pathname, n.search);
if (r) {
let e = r.kind === "queue" ? "item" : r.kind;
- g9(n.pathname + n.search + n.hash, e, () => t(r));
+ _9(n.pathname + n.search + n.hash, e, () => t(r));
} else if (n.hash && n.pathname === location.pathname && n.search === location.search && !Rf(location.pathname)) {
Q.route(e);
let t = W.navigation.seq;
Ap(n.hash, () => W.navigation.seq === t);
} else Q.navigatePath(e);
},
- openManage: $5,
+ openManage: e7,
managePath: (e) => Q.routePathOf("section", e) || "",
- openFollow: () => w9(),
- receipt: (e, t) => y8.actionReceipt(e, t),
- toast: (e, t) => y8.toast(e, t),
- failure: y8.actionFailure,
- revealSource: f5,
- reopenTutorial: uRe,
- routeReview: kIe,
- routeFollowManage: GIe,
+ openFollow: () => T9(),
+ receipt: (e, t) => b8.actionReceipt(e, t),
+ toast: (e, t) => b8.toast(e, t),
+ failure: b8.actionFailure,
+ revealSource: p5,
+ reopenTutorial: mRe,
+ routeReview: NIe,
+ routeFollowManage: YIe,
saveFollowPreference: (e) => {
e.pageSize !== void 0 && (Z.appSettings.followPageSize = e.pageSize), e.layout !== void 0 && (Z.appSettings.followLayout = e.layout), Z.saveSettings();
},
srcBadge: (e, t) => Z.srcBadge(e, t),
- routeIndex: (e, { replace: t = !1 } = {}) => Q.route(j5(e), t),
+ routeIndex: (e, { replace: t = !1 } = {}) => Q.route(M5(e), t),
savePeopleLayout: ({ layout: e }) => {
Z.appSettings.peopleLayout = e, Z.saveSettings();
},
- exitSelectMode: () => D5(!1, !1),
- personAvatar: (e, t, n) => A5.personAvatar(e, t, n),
- authorAvatar: (e) => qIe(e),
- showIndexTags: JIe,
- openFollowAuthor: N5,
- openFollowTag: YIe,
- openPlaylist: (e, t) => void o9(e, t, !0),
- canFlip: () => !Yl && !Q7() && !window.__scrolling && !X.reduceMotion(),
+ exitSelectMode: () => O5(!1, !1),
+ personAvatar: (e, t, n) => j5.personAvatar(e, t, n),
+ authorAvatar: (e) => ZIe(e),
+ showIndexTags: QIe,
+ openFollowAuthor: P5,
+ openFollowTag: $Ie,
+ openPlaylist: (e, t) => void s9(e, t, !0),
+ canFlip: () => !Yl && !$7() && !window.__scrolling && !X.reduceMotion(),
surfaceChanged: (e, t) => {
e === "entity" ? (Al(), yu({ barsContext: {
type: "home",
filters: U
- } }), H5(), document.body.classList.add("entity-open"), C7(), M5()) : e === "index" ? (Al(), document.body.classList.remove("entity-open"), Q.claimSurface(t), H5(), document.body.classList.add("index-open"), C7(), M5()) : (Al(), Q.claimSurface(t), e === "catalog" ? H5() : (V5(), B5({ manage: e === "management" })));
+ } }), U5(), document.body.classList.add("entity-open"), w7(), N5()) : e === "index" ? (Al(), document.body.classList.remove("entity-open"), Q.claimSurface(t), U5(), document.body.classList.add("index-open"), w7(), N5()) : (Al(), Q.claimSurface(t), e === "catalog" ? U5() : (H5(), V5({ manage: e === "management" })));
},
clearSearch: () => X.clearSearchField(),
openImmerse: (e) => {
- let t = t9.requestedImmerseId === void 0 ? e : t9.requestedImmerseId;
- t9.requestedImmerseId = void 0, d9(t, !1);
+ let t = n9.requestedImmerseId === void 0 ? e : n9.requestedImmerseId;
+ n9.requestedImmerseId = void 0, f9(t, !1);
},
openQueueRequest: () => {
let e = Q.requestedQueue;
@@ -82940,7 +82982,7 @@ function bRe() {
Q.requestedOverlay = null, W.navigation.claimed && (!Dp() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (Dp() && (Q.initialOverlayOpened = !0), t(e));
},
closeStage: () => {
- t9.stageOpen() && i9(!1);
+ n9.stageOpen() && a9(!1);
},
grid: {
helpers: X.gridHelpers,
@@ -82948,60 +82990,60 @@ function bRe() {
},
configurable: () => !!cu,
surfaceShown: (e) => {
- e === "index" ? (m9(), u7()) : M7();
+ e === "index" ? (h9(), d7()) : N7();
},
entity: {
missing: (e) => {
- A9.shellActions.surfaceChanged("entity", location.pathname), g5(e);
+ j9.shellActions.surfaceChanged("entity", location.pathname), _5(e);
},
loading: (e, t, n) => Y.application.loading(e, t, n),
props: (e, t, n) => Y.application.addressProps(e, t, n),
refresh: (e, t, n) => {
let r = Y.parseEntityFilters(n);
e === "creator" && (r.creator = "");
- let i = a5();
- return i.type !== "entity" || i.kind !== e || i.name !== t || !s5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (b7(r), x7(a5()), !0);
+ let i = o5();
+ return i.type !== "entity" || i.kind !== e || i.name !== t || !c5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (x7(r), S7(o5()), !0);
}
},
follow: $.followFeedShell,
catalog: {
- defaultLoc: () => m7("local,115"),
- open: (e, { entering: t = !1, retitle: n = !1 } = {}) => (n && (_9(), l7(), Q5()), t && T8(), e === "/trash" ? X.clearSearchField() : (L("#q").value = U.q, X.rememberSearchValue()), m9(), M7(), Z.handOff(L7())),
- load: () => Z.handOff(L7()),
+ defaultLoc: () => h7("local,115"),
+ open: (e, { entering: t = !1, retitle: n = !1 } = {}) => (n && (v9(), u7(), $5()), t && E8(), e === "/trash" ? X.clearSearchField() : (L("#q").value = U.q, X.rememberSearchValue()), h9(), N7(), Z.handOff(R7())),
+ load: () => Z.handOff(R7()),
fill: () => {
- if (H7() || !Dp() && !L("#grid").querySelector(".catalog-skeleton")) return;
+ if (U7() || !Dp() && !L("#grid").querySelector(".catalog-skeleton")) return;
let e = L("#count");
- e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), B7(Q.surfaceToken(Q.surfacePath()));
+ e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), V7(Q.surfaceToken(Q.surfacePath()));
},
release: () => {
- z7(), X8();
- }
- }
- }, A9.routing = !1, e.listen(document, "click", (e) => {
- let t = yRe(e);
- t && (e.preventDefault(), A9.shellActions.navigate(t));
- }), F8.own(W.listen((e) => {
- Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !Rf(e.location.pathname) && i9(!1), A9.routing && !e.claimed && _9();
- })), OFe(A9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), lLe(), zIe(), X5(), Promise.all([
- Y7(),
- sLe(),
- P5.entityShapesReady
+ B7(), Z8();
+ }
+ }
+ }, j9.routing = !1, e.listen(document, "click", (e) => {
+ let t = CRe(e);
+ t && (e.preventDefault(), j9.shellActions.navigate(t));
+ }), I8.own(W.listen((e) => {
+ Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !Rf(e.location.pathname) && a9(!1), j9.routing && !e.claimed && v9();
+ })), MFe(j9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), pLe(), UIe(), Z5(), Promise.all([
+ X7(),
+ dLe(),
+ F5.entityShapesReady
]).then(() => {
- e.isActive && (P5.wantsDiscoveryBars() && M7().catch((e) => console.error("首页横条装载失败", e)), m9(), zLe(), A9.routing = !0, yu({ pageOpens: 1 }), _9(), u7());
+ e.isActive && (F5.wantsDiscoveryBars() && N7().catch((e) => console.error("首页横条装载失败", e)), h9(), ULe(), j9.routing = !0, yu({ pageOpens: 1 }), v9(), d7());
}).catch((t) => {
e.isActive && console.error("应用启动失败", t);
});
}
// src/theme-transition.ts
-var j9 = !1;
-async function xRe(e, t) {
- if (j9) return;
+var M9 = !1;
+async function TRe(e, t) {
+ if (M9) return;
if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {
t();
return;
}
let n = e.getBoundingClientRect(), r = n.left + n.width / 2, i = n.top + n.height / 2, a = Math.hypot(Math.max(r, innerWidth - r), Math.max(i, innerHeight - i)) * 2.5, o = document.createElement("style");
- o.textContent = `::view-transition-old(root){animation:none}::view-transition-new(root){mix-blend-mode:normal;mask-image:radial-gradient(circle closest-side,#000 78%,#0006 88%,transparent);mask-repeat:no-repeat;will-change:mask-position,mask-size;animation:peach-theme-reveal 560ms cubic-bezier(.16,1,.3,1) both}@keyframes peach-theme-reveal{from{mask-position:${r}px ${i}px;mask-size:0px 0px}to{mask-position:${r - a / 2}px ${i - a / 2}px;mask-size:${a}px ${a}px}}`, j9 = !0, document.head.append(o);
+ o.textContent = `::view-transition-old(root){animation:none}::view-transition-new(root){mix-blend-mode:normal;mask-image:radial-gradient(circle closest-side,#000 78%,#0006 88%,transparent);mask-repeat:no-repeat;will-change:mask-position,mask-size;animation:peach-theme-reveal 560ms cubic-bezier(.16,1,.3,1) both}@keyframes peach-theme-reveal{from{mask-position:${r}px ${i}px;mask-size:0px 0px}to{mask-position:${r - a / 2}px ${i - a / 2}px;mask-size:${a}px ${a}px}}`, M9 = !0, document.head.append(o);
let s = document.documentElement;
s.dataset.themeSnapshot = "true";
let c = !1, l = () => {
@@ -83012,13 +83054,13 @@ async function xRe(e, t) {
} catch {
l();
} finally {
- delete s.dataset.themeSnapshot, o.remove(), j9 = !1;
+ delete s.dataset.themeSnapshot, o.remove(), M9 = !1;
}
}
// src/application/chrome.js
-function SRe() {
+function ERe() {
(() => {
- let e = F8, t = [
+ let e = I8, t = [
"#brandHome",
"#filterBtn",
"#settingsBtn"
@@ -83099,7 +83141,7 @@ function SRe() {
s.className = "mark", s.setAttribute("aria-hidden", "true"), s.innerHTML = o(n.find((e) => e[0] === i)?.[2] || "database"), c.querySelector(".mark").replaceWith(s), l.innerHTML = `<p>媒体库</p><div class="board-library-rows">${n.map(([e, t, n]) => `<button type="button" data-library="${z(e)}" aria-pressed="${e === i}"><span class="board-library-avatar">${o(n)}</span><span>${z(t)}</span></button>`).join("")}</div><footer><button type="button" class="geist-button primary" data-library-manage>管理媒体库</button></footer>`, l.querySelectorAll("[data-library]").forEach((t) => e.handler(t, "onclick", () => {
sessionStorage.setItem("peach.library", t.dataset.library), sessionStorage.setItem("peach.library-label", n.find((e) => e[0] === t.dataset.library)?.[1] || "全部媒体库"), location.assign("/");
})), e.handler(l.querySelector("[data-library-manage]"), "onclick", () => {
- u.setOpen(!1), K5(!1), x5("媒体库与入库");
+ u.setOpen(!1), q5(!1), S5("媒体库与入库");
});
let d = l.querySelector(".board-library-rows");
e.listen(d, "pointerover", (e) => {
@@ -83116,18 +83158,18 @@ function SRe() {
(document.querySelector(".top") || m.closest("header")).prepend(h), e.own(() => h.remove());
let g = document.createElement("div");
g.className = "board-sidebar-foot", e.own(() => g.remove()), g.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>`, g.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>"), g.querySelector(".board-foot-actions").append(document.querySelector("#settingsBtn")), document.querySelector("#drawer").append(g), g.querySelectorAll("[data-board-theme]").forEach((t) => e.handler(t, "onclick", () => {
- t.getAttribute("aria-pressed") !== "true" && xRe(t, () => {
- Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), hM();
+ t.getAttribute("aria-pressed") !== "true" && TRe(t, () => {
+ Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), pM();
});
- })), hM();
+ })), pM();
let _ = document.createElement("div");
_.className = "popmenu board-glow-menu", _.id = "boardGlowMenu", _.hidden = !0, _.setAttribute("popover", "manual"), _.setAttribute("role", "dialog"), _.setAttribute("aria-label", "配色"), document.body.append(_), e.own(() => _.remove());
let v = g.querySelector("#boardGlowBtn"), y = ds(g, v, _);
- e.own(y.dispose), e.own(Dle(v)), FFe({
+ e.own(y.dispose), e.own(kle(v)), zFe({
root: _,
store: Z.settingsStore,
openDetails: () => {
- e.isActive && (y.setOpen(!1), K5(!1), J5("外观与导航").then((t) => {
+ e.isActive && (y.setOpen(!1), q5(!1), Y5("外观与导航").then((t) => {
e.isActive && t.reveal("#homeGlowControls");
}));
}
@@ -83139,17 +83181,17 @@ function SRe() {
let t = document.querySelector("#drawerScroll > [data-sidebar-head]"), n = document.querySelector("#drawer");
if (!t) return;
c.setAttribute("aria-label", "选择媒体库"), c.parentElement !== t && t.prepend(c);
- let r = n.classList.contains("open"), i = !G5();
+ let r = n.classList.contains("open"), i = !K5();
i || r ? m.parentElement !== t && t.append(m) : m.parentElement !== h.parentElement && h.after(m), n.inert = !i && !r;
}
- Z.placeSidebarHead = b, b(), e.listen(document, "board:sidebar", b), e.listen.bind(F8, window)("resize", b);
+ Z.placeSidebarHead = b, b(), e.listen(document, "board:sidebar", b), e.listen.bind(I8, window)("resize", b);
let x = !1;
function S() {
x = !1, document.body.classList.toggle("board-scrolled", scrollY > 8);
}
- if (e.listen.bind(F8, window)("scroll", () => {
+ if (e.listen.bind(I8, window)("scroll", () => {
x || (x = !0, e.frame(S));
- }, { passive: !0 }), e.listen.bind(F8, window)("resize", S), S(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {
+ }, { passive: !0 }), e.listen.bind(I8, window)("resize", S), S(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {
let t = "http://www.w3.org/2000/svg", n = document.createElementNS(t, "svg");
n.setAttribute("width", "0"), n.setAttribute("height", "0"), n.setAttribute("aria-hidden", "true"), n.style.position = "fixed", n.style.pointerEvents = "none";
let r = document.createElementNS(t, "defs");
@@ -83263,40 +83305,40 @@ function SRe() {
subtree: !0
}), y();
}
- })(), K5(!G5() && sessionStorage.getItem("board.sidebar") !== "closed");
+ })(), q5(!K5() && sessionStorage.getItem("board.sidebar") !== "closed");
}
// src/application/initialize.js
-function CRe() {
- lRe(), YLe(), $Ie(), XLe(), VLe(), IFe(), MLe(), dRe(), CIe(), qLe(), BIe(), NLe(), gIe(), AIe(), sRe(), XIe(), wIe(), cRe(), ZIe(), TIe(), hLe(), PLe(), _Re(), JLe(), vRe(), HLe(), bRe(), SRe(), F8.own(z7), F8.own(h9);
+function DRe() {
+ pRe(), $Le(), rLe(), eRe(), GLe(), BFe(), ILe(), hRe(), DIe(), ZLe(), WIe(), LLe(), bIe(), PIe(), dRe(), eLe(), OIe(), fRe(), tLe(), kIe(), yLe(), RLe(), xRe(), QLe(), SRe(), KLe(), wRe(), ERe(), I8.own(B7), I8.own(g9);
}
// src/ui-kit/middle-truncate.ts
-var wRe = "…", M9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, N9 = /* @__PURE__ */ new WeakMap(), P9 = /* @__PURE__ */ new Set(), F9 = 0, I9 = /* @__PURE__ */ new WeakSet(), L9 = null, R9 = null, z9 = (e) => M9 ? [...M9.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? "")), B9 = (e, t) => {
+var ORe = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, P9 = /* @__PURE__ */ new WeakMap(), F9 = /* @__PURE__ */ new Set(), I9 = 0, L9 = /* @__PURE__ */ new WeakSet(), R9 = null, z9 = null, B9 = (e) => N9 ? [...N9.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? "")), V9 = (e, t) => {
if (t >= e.length) return e.join("");
let n = Math.ceil(t / 2), r = Math.floor(t / 2);
- return e.slice(0, n).join("") + wRe + (r ? e.slice(-r).join("") : "");
-}, TRe = (e, t) => {
+ return e.slice(0, n).join("") + ORe + (r ? e.slice(-r).join("") : "");
+}, kRe = (e, t) => {
if (!e.length || t(e.join(""))) return e.length;
let n = 0, r = e.length - 1, i = 0;
for (; n <= r;) {
let a = n + r >> 1;
- t(B9(e, a)) ? (i = a, n = a + 1) : r = a - 1;
+ t(V9(e, a)) ? (i = a, n = a + 1) : r = a - 1;
}
return i;
-}, ERe = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul} -〿＀-￯]/u, DRe = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}]/u, ORe = /[\p{Script=Latin}\p{Script=Greek}\p{Script=Cyrillic}\p{Nd}]/u, V9 = /[＀-￯]/u, kRe = (e) => DRe.test(e) ? 1 : ORe.test(e) && !V9.test(e) ? 2 : 0, ARe = (e) => {
+}, ARe = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul} -〿＀-￯]/u, jRe = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}]/u, MRe = /[\p{Script=Latin}\p{Script=Greek}\p{Script=Cyrillic}\p{Nd}]/u, NRe = /[＀-￯]/u, PRe = (e) => jRe.test(e) ? 1 : MRe.test(e) && !NRe.test(e) ? 2 : 0, FRe = (e) => {
let t = 0, n = 0;
for (let r of e) {
- let e = kRe(r);
+ let e = PRe(r);
n && e && n !== e && t++, n = e;
}
return t;
-}, jRe = null, MRe = (e, t) => {
- let n = getComputedStyle(e), r = (jRe ||= document.createElement("canvas")).getContext("2d");
+}, IRe = null, LRe = (e, t) => {
+ let n = getComputedStyle(e), r = (IRe ||= document.createElement("canvas")).getContext("2d");
if (!r) return () => Infinity;
r.font = n.font || `${n.fontStyle} ${n.fontWeight} ${n.fontSize} ${n.fontFamily}`;
let i = parseFloat(n.letterSpacing), a = parseFloat(n.wordSpacing), o = n.getPropertyValue("text-autospace"), s = t && o && o !== "no-autospace" ? (parseFloat(n.fontSize) || 0) / 8 : 0;
return (e) => {
let t = r.measureText(e).width;
- return Number.isFinite(i) && (t += Math.max(0, z9(e).length - 1) * i), Number.isFinite(a) && (t += (e.match(/\s/g) || []).length * a), s && (t += ARe(e) * s), t;
+ return Number.isFinite(i) && (t += Math.max(0, B9(e).length - 1) * i), Number.isFinite(a) && (t += (e.match(/\s/g) || []).length * a), s && (t += FRe(e) * s), t;
};
}, H9 = [
"font-family",
@@ -83323,7 +83365,7 @@ var wRe = "…", M9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(v
"text-autospace",
"text-spacing-trim",
"white-space-collapse"
-], U9 = null, NRe = (e) => {
+], U9 = null, RRe = (e) => {
if (!U9) {
let e = document.createElement("div");
e.setAttribute("aria-hidden", "true"), e.dataset.middleTruncateProbe = "", e.style.cssText = "position:fixed;left:0;top:0;width:0;height:0;overflow:hidden;visibility:hidden;pointer-events:none;contain:strict", U9 = {
@@ -83334,11 +83376,11 @@ var wRe = "…", M9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(v
U9.box.isConnected || document.documentElement.append(U9.box);
let t = getComputedStyle(e), n = H9.map((e) => t.getPropertyValue(e)), r = e.closest("[lang]")?.getAttribute("lang") || "", i = n.join("\n") + "\n" + r, a = U9.groups.get(i);
return a || (a = document.createElement("div"), n.forEach((e, t) => a.style.setProperty(H9[t], e)), a.lang = r, U9.box.append(a), U9.groups.set(i, a)), a;
-}, PRe = 8, FRe = (e) => {
- for (let t = 0; e.length && t < PRe; t++) {
+}, zRe = 8, BRe = (e) => {
+ for (let t = 0; e.length && t < zRe; t++) {
let t = e.map((e) => e.tries.map((t) => {
let n = document.createElement("span");
- return n.style.cssText = "display:block;width:max-content;text-wrap-mode:nowrap", n.textContent = B9(e.fit.parts, t), e.group.append(n), n;
+ return n.style.cssText = "display:block;width:max-content;text-wrap-mode:nowrap", n.textContent = V9(e.fit.parts, t), e.group.append(n), n;
}));
e.forEach((e, n) => e.tries.forEach((r, i) => {
t[n][i].getBoundingClientRect().width <= e.fit.available ? e.fits = Math.max(e.fits, r) : e.fails = Math.min(e.fails, r);
@@ -83353,28 +83395,28 @@ var wRe = "…", M9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(v
])].filter((t) => t > e.fits && t < e.fails), !0;
});
}
-}, IRe = (e) => {
+}, VRe = (e) => {
let t = [];
for (let n of e) {
- let e = n.state.full, r = ERe.test(e), i = MRe(n.element, r);
- if (n.kept = TRe(n.parts, (e) => i(e) <= n.available), !r) continue;
+ let e = n.state.full, r = ARe.test(e), i = LRe(n.element, r);
+ if (n.kept = kRe(n.parts, (e) => i(e) <= n.available), !r) continue;
let a = [n.kept, n.kept + 1].filter((e) => e > 0 && e <= n.parts.length);
t.push({
fit: n,
- group: NRe(n.element),
+ group: RRe(n.element),
fits: 0,
fails: n.parts.length + 1,
tries: a
});
}
- FRe(t);
-}, LRe = (e) => {
+ BRe(t);
+}, HRe = (e) => {
let t = getComputedStyle(e), n = parseFloat(t.width);
if (!Number.isFinite(n)) return e.clientWidth;
let r = t.boxSizing === "border-box" ? n - (parseFloat(t.borderLeftWidth) || 0) - (parseFloat(t.borderRightWidth) || 0) : n + (parseFloat(t.paddingLeft) || 0) + (parseFloat(t.paddingRight) || 0);
return Math.max(e.clientWidth, r + 1 / 64);
-}, RRe = (e) => {
- if (e.dataset.middleTruncateWithin === void 0) return LRe(e);
+}, URe = (e) => {
+ if (e.dataset.middleTruncateWithin === void 0) return HRe(e);
let t = e.parentElement;
if (!t) return e.clientWidth;
let n = getComputedStyle(t), r = parseFloat(n.columnGap) || 0, i = 0, a = 0;
@@ -83383,52 +83425,52 @@ var wRe = "…", M9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(v
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);
-}, zRe = () => {
- F9 = 0;
+}, WRe = () => {
+ I9 = 0;
let e = [];
- for (let t of P9) {
- let n = N9.get(t);
+ for (let t of F9) {
+ let n = P9.get(t);
n && t.isConnected && e.push({
element: t,
state: n,
- available: RRe(t),
- parts: z9(n.full),
+ available: URe(t),
+ parts: B9(n.full),
kept: 0
});
}
- P9.clear(), IRe(e.filter((e) => e.available > 0));
+ F9.clear(), VRe(e.filter((e) => e.available > 0));
for (let { element: t, state: n, available: r, parts: i, kept: a } of e) {
- let e = r > 0 ? B9(i, a) : n.full;
+ let e = r > 0 ? V9(i, a) : n.full;
n.rendered = e, t.textContent !== e && (t.textContent = e);
let o = e !== n.full;
t.classList.toggle("middle-truncated", o), t.setAttribute("aria-label", n.full), t.hasAttribute("title") && t.dataset.middleTitle !== "true" || (t.title = n.full, t.dataset.middleTitle = "true");
}
}, W9 = (e) => {
- N9.has(e) && (P9.add(e), F9 ||= requestAnimationFrame(zRe));
+ P9.has(e) && (F9.add(e), I9 ||= requestAnimationFrame(WRe));
}, G9 = (e) => {
- e instanceof HTMLElement && (N9.has(e) || N9.set(e, {
+ e instanceof HTMLElement && (P9.has(e) || P9.set(e, {
full: e.textContent || "",
rendered: e.textContent || ""
- }), I9.has(e) || (I9.add(e), e.dataset.middleTruncateWithin !== void 0 && e.parentElement ? L9?.observe(e.parentElement) : L9?.observe(e)), W9(e));
+ }), L9.has(e) || (L9.add(e), e.dataset.middleTruncateWithin !== void 0 && e.parentElement ? R9?.observe(e.parentElement) : R9?.observe(e)), W9(e));
}, K9 = (e) => {
if (e.nodeType !== Node.ELEMENT_NODE) return;
let t = e;
t.matches("[data-middle-truncate]") && G9(t), t.querySelectorAll("[data-middle-truncate]").forEach(G9);
};
-function BRe(e = document) {
- R9?.(), I9 = /* @__PURE__ */ new WeakSet();
+function GRe(e = document) {
+ z9?.(), L9 = /* @__PURE__ */ new WeakSet();
let t = !0;
- L9 = new ResizeObserver((e) => e.forEach((e) => {
+ R9 = new ResizeObserver((e) => e.forEach((e) => {
t && (W9(e.target), e.target.querySelectorAll?.(":scope>[data-middle-truncate-within]").forEach(W9));
}));
- let n = L9;
+ let n = R9;
K9(e.documentElement || e);
let r = new MutationObserver((e) => e.forEach((e) => {
if (!t) return;
e.addedNodes.forEach(K9);
let n = (e.target.nodeType === Node.TEXT_NODE ? e.target.parentElement : e.target)?.closest?.("[data-middle-truncate]");
if (!n) return;
- let r = N9.get(n);
+ let r = P9.get(n);
r && n.textContent !== r.rendered && (r.full = n.textContent || "", n.dataset.middleTitle === "true" && n.removeAttribute("title"), W9(n));
}));
r.observe(e.body || e, {
@@ -83441,14 +83483,14 @@ function BRe(e = document) {
let i = (e) => {
let t = document.getSelection();
if (!t || t.isCollapsed) return;
- let n = (t.anchorNode?.nodeType === Node.ELEMENT_NODE ? t.anchorNode : t.anchorNode?.parentElement)?.closest?.("[data-middle-truncate]"), r = n && N9.get(n);
+ let n = (t.anchorNode?.nodeType === Node.ELEMENT_NODE ? t.anchorNode : t.anchorNode?.parentElement)?.closest?.("[data-middle-truncate]"), r = n && P9.get(n);
r && n.contains(t.focusNode) && e.clipboardData && (e.clipboardData?.setData("text/plain", r.full), e.preventDefault());
};
e.addEventListener("copy", i);
let a = () => {
- t && (t = !1, n.disconnect(), r.disconnect(), e.removeEventListener("copy", i), U9?.box.remove(), F9 && cancelAnimationFrame(F9), F9 = 0, P9.clear(), R9 === a && (R9 = null, L9 = null));
+ t && (t = !1, n.disconnect(), r.disconnect(), e.removeEventListener("copy", i), U9?.box.remove(), I9 && cancelAnimationFrame(I9), I9 = 0, F9.clear(), z9 === a && (z9 = null, R9 = null));
};
- return R9 = a, a;
+ return z9 = a, a;
}
// src/react/result-updates.tsx
var q9 = [
@@ -83482,7 +83524,7 @@ var q9 = [
"jav-detail",
"wants",
"index"
-], VRe = {
+], KRe = {
catalog: [
...q9,
...J9,
@@ -83503,10 +83545,10 @@ var q9 = [
"avatar-choices"
]
};
-function HRe() {
+function qRe() {
let e = /* @__PURE__ */ new Set(), t = null;
return (n, r) => {
- for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of VRe[t] || []) e.add(n);
+ for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of KRe[t] || []) e.add(n);
return !t && e.size && (t = (async () => {
for (; e.size;) {
let t = new Set(e);
@@ -83519,12 +83561,12 @@ function HRe() {
})), t || Promise.resolve();
};
}
-function URe() {
+function JRe() {
let e = Pt({
- queryKey: aL,
- queryFn: ({ signal: e }) => sL(e),
- refetchInterval: (e) => oL(e.state.data)
- }), t = (0, F.useRef)(void 0), [n] = (0, F.useState)(HRe), r = e.data?.result_versions;
+ queryKey: iL,
+ queryFn: ({ signal: e }) => oL(e),
+ refetchInterval: (e) => aL(e.state.data)
+ }), t = (0, F.useRef)(void 0), [n] = (0, F.useState)(qRe), r = e.data?.result_versions;
return (0, F.useEffect)(() => {
r && (t.current && n(t.current, r), t.current = r);
}, [r, n]), null;
@@ -83534,52 +83576,52 @@ var X9 = null;
function Z9(e) {
X9 !== e || e.owners || (X9 = null, e.effects.dispose());
}
-function WRe() {
+function YRe() {
if (!X9) {
- let e = QFe();
+ let e = nIe();
X9 = {
effects: e,
owners: 0
- }, e.own(BRe(document)), e.own(() => {
+ }, e.own(GRe(document)), e.own(() => {
Al(), H.cancelQueries();
- }), e.own(kFe), e.own(gp), e.own(as);
+ }), e.own(NFe), e.own(gp), e.own(as);
}
return X9.owners += 1, X9.effects.resume(), X9;
}
-function GRe() {
+function XRe() {
let [e, t] = (0, F.useState)(null);
return (0, F.useLayoutEffect)(() => {
- let e = X9 === null, n = WRe(), r = DFe(t);
+ let e = X9 === null, n = YRe(), r = jFe(t);
if (e) try {
- CRe();
+ DRe();
} catch (e) {
throw r(), n.effects.dispose(), X9 = null, e;
}
return () => {
r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Z9(n)));
};
- }, []), /* @__PURE__ */ (0, I.jsx)(oye, {
+ }, []), /* @__PURE__ */ (0, I.jsx)(sye, {
actions: e,
processing: !0,
- background: e ? /* @__PURE__ */ (0, I.jsx)(URe, {}) : null
+ background: e ? /* @__PURE__ */ (0, I.jsx)(JRe, {}) : null
});
}
var Q9 = /* @__PURE__ */ new WeakMap();
-function KRe(e) {
+function ZRe(e) {
let t = Q9.get(e);
if (t) return t;
- let n = (0, Rt.createRoot)(e, sye);
+ let n = (0, Rt.createRoot)(e, cye);
Q9.set(e, n);
let r = n.unmount.bind(n);
return n.unmount = () => {
Q9.get(e) === n && (Q9.delete(e), r(), X9 && Z9(X9));
- }, (0, Lt.flushSync)(() => n.render(/* @__PURE__ */ (0, I.jsx)(GRe, {}))), n;
+ }, (0, Lt.flushSync)(() => n.render(/* @__PURE__ */ (0, I.jsx)(XRe, {}))), n;
}
// src/react/bootstrap.tsx
O();
var $9 = document.getElementById("appRoot");
if (!$9) throw Error("主界面宿主缺失");
-KRe($9);
-export { tR as $2ec61d1d4f780267$export$a8a3e93435678ff9, lR as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, Ez as $542a13ca2fa5b484$export$5b6b19405a83ff9d, AD as $72abaeab4d80592f$export$78efe591171d7d45, vB as $76d00c5a4edb230a$export$76ccd210b9029917, hB as $76d00c5a4edb230a$export$816b5d811295e6bc, xB as $76d00c5a4edb230a$export$b59bdbef9ce70de2, CB as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, mB as $76d00c5a4edb230a$export$f850895b287ef28e, fhe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, dhe as $b4f18e3395fe64d7$export$3e41faf802a29e71, che as $b4f18e3395fe64d7$export$b2539bed5023c21c, DB as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, hhe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, _E as $ea3928288112382f$export$439d29a4e110a164, zz as $f2ff30fde7b014be$export$3ddf2d174ce01153, Kz as $fe21c36db05242bb$export$a98f0dcb43a68a25, qz as $fe21c36db05242bb$export$d7b12c4107be0d61, Yhe as $l, $j as ACCENTS, Tke as AMANE_BRIDGE_CHECK_URL, Y$ as AMANE_BRIDGE_KEY, Eke as AMANE_BRIDGE_REBUILD_URL, or as ApiError, oW as ArtSlot, p2 as BATCH_DELETE_TEXT, J as Button, NL as ButtonLink, iV as Bx, w$ as CLEANUP_ENTRY, C$ as CLEANUP_ENTRY_GRID, Yf as CLEANUP_HASH_REDIRECTS, qf as CLEANUP_TOOLS, _n as CLOUD_LOCATIONS, Y1 as CLOUD_PROXY_HELP, Gr as COLUMN_SORT, s1 as CONFIGURATION_KEY, iX as CONFIGURATION_URL, Dke as COOKIE_TEXT_LIMIT, J$ as COVER_JOB_KEY, Ji as CREDENTIAL_STATE, W$ as CUSTOM_SOURCES_KEY, U$ as CUSTOM_SOURCES_URL, QV as Checkbox, ZV as CheckboxGlyph, HV as ChevronSortDown, aW as Chip, mW as CloudDownloadDialog, KH as CollapseChevron, GH as CollapseRegion, _$ as CollectionSummary, iwe as DEFAULT_CATEGORY, ur as DEFAULT_SORT, UQ as DIAGNOSTICS_KEY, rTe as DIRECTORY_TEMPLATE_ERROR, A0 as DISCOVERY_SORTS, cW as DOWNLOADS_KEY, sW as DOWNLOADS_URL, wY as DUPLICATES_KEY, aY as DataTableFooter, tY as DataTableFrame, iY as DataTableSort, QH as Disclosure, Uve as DownloadsPanel, Bhe as E3, awe as ENTITY_REVIEW_KINDS, q1 as ENTRY_LINKS_HELP, J1 as ENTRY_LINKS_HINT, XB as Ea, bge as EmptyFocusButton, wV as EmptyState, XH as ErrorText, I_e as ExternalLink, Br as FEEDS_KEY, fX as FEED_SCHEDULE_KEY, x$ as FIELDSET_FOOT, NPe as FLOW_LABEL_X, q3 as FLOW_VIEWBOX, Rr as FOLLOW_CHECK_KEY, Lr as FOLLOW_CREDENTIALS_KEY, A8 as FOLLOW_INITIAL_RANGE_OPTIONS, Ir as FOLLOW_MANAGE_KEY, KZ as FOLLOW_MANAGE_NAV, zr as FOLLOW_RESOLVE_KEY, dX as FOLLOW_SCHEDULE_KEY, z_e as Fact, R_e as FactList, ZH as FieldLabel, P$ as Fieldset, N$ as FieldsetTitle, lpe as FilterGlass, EL as FilterGlassRows, TL as FilterIconButton, DL as FilterPill, F_e as Footer, tV as Gg, OL as GlassPill, cV as HN, YH as Help, hV as HintText, TPe as IDLE_POLL_MS, qCe as IDLE_REPAIR, xL as IconButton, GQ as IndexSearch, bV as Input, yV as InputBase, I$ as IssueRow, _M as JAV_LAYOUTS, M0 as JAV_RECOMMENDATION_GRID, LX as JUNK_KEY, jW as JavHeader, VCe as KEEP_LABELS, Hr as LAYOUTS, K1 as LIBRARY_FOLDER_HELP, dH as LIBRARY_PROCESSING_KEY, XY as LINKS_KEY, ZY as LINK_CHECK_KEY, kwe as LINK_KINDS, QY as LINK_PRUNE_KEY, tr as LOC, mV as Label, z$ as LibraryProcessingCard, VV as LibraryShortcuts, DH as LinkButton, Zhe as Lo, BH as LoadingDots, Vhe as M6, Pwe as MEDIA_PROCESSING_KEY, mX as MEDIA_PROCESSING_URL, kY as MEDIA_REPAIR_KEY, OY as MEDIA_REPAIR_URL, vr as MEDIA_SOURCES_KEY, gs as MEDIA_SOURCE_ICONS, hn as MEDIA_SOURCE_OPTIONS, KV as MENU_ITEM, qV as MENU_ITEM_INTERACTIVE, GV as MENU_POPOVER_SURFACE, $he as Ma, jH as MenuDialog, bK as MixCard, xV as ModalFrame, Tx as MotionConfigContext, fV as NR, F$ as NameLink, CV as Note, gge as OA, _X as ORGANIZE_KEY, u2 as ORGANIZE_PARAMETER_HINT, l2 as ORGANIZE_SCOPE_HINT, c2 as ORGANIZE_TEXT, bX as ORPHAN_RECORDS_KEY, f2 as ORPHAN_RECORDS_TEXT, $B as OV, RB as P7, PX as PERFORMER_DELETE_KEY, Qve as PHASES, aX as PICK_FOLDER_URL, E$ as PLAIN_STAT_STRIP, V$ as PLAYLISTS_KEY, kAe as POLICY_COLUMNS, jAe as POLICY_COVER_NOTE, AAe as POLICY_MATRIX, G1 as POLICY_SUMMARY, rY as Pagination, R$ as PathLine, uV as Pf, XI as PillTabList, qOe as PlainStat, HH as Progress, PY as QUALITY_GOALS_KEY, lV as RB, O$ as REPAIR_CARD_TEXT, AY as REPAIR_LIBRARIES_KEY, TX as RESOURCE_APPLY_KEY, wX as RESOURCE_SCAN_KEY, d2 as RESOURCE_SYNC_TEXT, $Oe as RESULT_PANEL, eke as RESULT_SECTION, rwe as REVIEW_CATEGORIES, IX as REVIEW_COUNTS_KEY, owe as REVIEW_DECISION_LABELS, LY as REVIEW_KEY, RY as REVIEW_LABELS, BY as REVIEW_QUEUES, VY as REVIEW_QUEUE_LABELS, GG as RetryNote, hge as Rf, pV as Rk, M_e as Rows, Cke as SCRAPING_CHECK_URL, K$ as SCRAPING_COVER_URL, q$ as SCRAPING_KEY, Ske as SCRAPING_SETTINGS_URL, vU as SEGMENT, _U as SEGMENTED_TRACK, uX as SETTINGS_KEY, oX as SETTINGS_URL, dr as SORT_DEFAULT_DIR, lr as SORT_OPTIONS, vn as SOURCE_LABELS, v3 as STATS_KEY, GOe as STAT_STRIP, KOe as STAT_STRIP_SIX, j_e as Section, tke as SectionHeading, P_e as SectionSkeleton, gU as SegmentedRadioGroup, eve as SegmentedTabList, RG as Segments, nY as Select, nW as Select$1, d1 as SelectField, rW as SelectItem, fY as SelectionActions, jj as SelectionDock, pY as SelectionPopover, qH as SettingsCard, A_e as SettingsRow, JH as SettingsSectionLabel, U_e as SiteLabel, _G as SortDirectionIcon, BG as SortKeys, EQ as SourceAvatar, nU as SourceLabel, $H as SourceMark, N_e as Stack, JOe as StatCard, L$ as StatusLabel, fge as Su, X2 as Switch, aL as TASKS_KEY, mPe as TASTE_REFRESH_KEY, hPe as TASTE_WINDOWS, pX as THUMBNAIL_JOBS_KEY, zX as TRASH_KEY, Hfe as TRIGGER_LABELS, KJ as Table, mY as TableColumnControls, hY as TableColumnResizer, _Y as TableSelectionHeader, f$ as TagManager, L_e as TaskCenterLink, UH as TaskProgress, _V as TextField, gV as TextFieldContext, ZB as Un, gW as WANTS_KEY, d4 as WantMagnets, Gg as WithPromise, HB as Wt, YB as Xc, dV as Xf, WB as Xl, UB as Xt, BB as _8, o as __commonJSMin, s as __exportAll, l as __toESM, mge as aB, Ti as addAlias, wi as addSource, vW as addWant, mS as animate, B as apiGet, V as apiSend, dM as appSettingsStore, STe as applyConfirmText, NX as applyLeftovers, xTe as applyPlanText, wTe as applyText, hM as applyTheme, yy as asNumber, uTe as attachOrphan, si as authorAvatar, li as authorGroups, oi as authorInitial, ai as authorName, Pq as autoResetPageIndex, go as avatarInner, w3 as bandRows, iTe as baseName, KCe as batchOperate, fue as beginPlayerGuidePreview, Ij as boundedPreference, UCe as bulkCloudPreferences, OV as busyProps, pge as cB, UMe as cachedMagnetStates, zg as calcGeneratorVelocity, pwe as canApprove, mg as cancelFrame, hTe as candidateText, IU as cardClass, AM as cardRatio, JB as cc, Wi as checkEvidenceGap, Ui as checkFailures, Pi as checkFeeds, Nwe as checkLine, Vi as checkReceipt, Hi as checkSummary, kke as checkText, Gi as checkedText, oK as clickedBlank, q5 as closeDrawerAfterNav, FCe as cloudLocations, E0 as cloudProxySkeleton, XC as clsx, nge as cn, cv as collectMotionValues, eJ as columnVisibilityFeature, VJ as column_getCanSort, LJ as column_getSortFn, dwe as commonReviewSources, Of as configurationSection, yPe as configureTasteBrowser, ol as confirmModal, Bfe as controlTask, gq as copyInstancePropertiesWithoutMemos, co as coverUrl, Gq as createColumnHelper, gke as createPlaylist, Yi as credentialDone, S0 as credentialsSkeleton, Swe as currentReviewRow, q as cx, rV as dZ, ywe as decisionPayload, bwe as decisionReceipt, vwe as defaultChoice, ETe as deletePerformerVideos, vke as deletePlaylist, x as diagnosticHeaders, W1 as diagnosticsSkeleton, EW as discoveryArtwork, wW as discoveryKey, tje as discoveryScore, i9 as disposeStage, zCe as distinctName, zi as dropSources, dge as du, WCe as duplicateVictims, fL as elapsedText, tn as entityDisplayName, ho as entityFaceImg, Nn as entityPath, ei as errorHeadline, cr as errorMessage, z as esc, Nq as expandRowModel, MB as f1, $r as feedIntervalText, Q$ as fetchAmaneBridge, _i as fetchCheckJob, c1 as fetchConfiguration, Z$ as fetchCoverJob, gi as fetchCredentials, G$ as fetchCustomSources, FX as fetchDeletePerformers, TTe as fetchDeletePlan, WQ as fetchDiagnostics, TW as fetchDiscoveries, EY as fetchDuplicates, Ife as fetchEarlier, Lwe as fetchFeedSchedule, ji as fetchFeeds, hi as fetchFollow, Iwe as fetchFollowSchedule, VX as fetchJunkSummary, yH as fetchLibraryProcessing, tX as fetchLinkCheck, nX as fetchLinkPrune, eX as fetchLinkStats, Fwe as fetchMediaProcessing, jY as fetchMediaRepair, yr as fetchMediaSources, vX as fetchOrganize, Xwe as fetchOrganizeExample, xX as fetchOrphanRecords, Ai as fetchPending, H$ as fetchPlaylists, FY as fetchQualityGoals, MY as fetchRepairLibraries, vi as fetchResolveJob, DX as fetchResourceApply, EX as fetchResourceScan, qY as fetchReview, BX as fetchReviewCounts, hX as fetchSettings, X$ as fetchSources, y3 as fetchStats, yi as fetchSuggestions, sL as fetchTasks, W3 as fetchTaste, bPe as fetchTasteJob, Rwe as fetchThumbnailJobs, HX as fetchTrashSummary, _W as fetchWants, lwe as filterReviewRows, $n as firstGrapheme, QK as flexRender, FPe as flowGraph, IPe as flowLabel, PNe as fmtCount, qn as fmtDur, Yn as fmtSize, Ffe as foldByKind, Qfe as foldRoutine, Ii as followFeedByName, Vr as followSuggestKey, epe as followupDetail, Pfe as followupTally, pg as frame, IB as g4, rJ as getDefaultPaginationState, kM as gridLayout, ci as groupByAuthor, Zfe as groupFollowups, WY as groupReviewRows, yTe as hasChanges, OX as hasResourceRoots, lL as hasResultProblems, EPe as historySpan, NB as i2, wPe as importTasteExport, C0 as indexersSkeleton, Fg as interpolate, xW as invalidateWants, dL as isActive, Qr as isBroken, Kr as isLayout, yv as isMotionValue, zY as isReviewCategory, $fe as isRoutine, w0 as javBrowserSkeleton, P0 as javContentSkeleton, SM as javLayout, N0 as javTagSkeleton, jTe as junkBreakdown, yke as keepPlaylist, ke as keepPreviousData, fi as keepSelected, b3 as known, Ihe as l7, Xfe as latestOfKind, KNe as lengthRows, Sr as localTime, Fi as lookupFeedActor, LB as m7, nV as mM, En as mapLimit, ki as markItem, T3 as max, WNe as mediumRows, Lfe as mergeFinished, E3 as min, Dwe as mirrorText, XCe as missingToolText, DY as mixedCloudPreferences, gL as momentText, hS as motion, uv as motionValue, nn as nameFallback, He as notifyManager, Hhe as oe, oTe as organizeOutcome, X0 as overlayHost, qr as pageSizeOf, di as pageWindow, mr as paginationRange, Ri as patchSource, W as peachHistory, W as peachHistory$1, _we as pendingGenres, INe as percentText, $we as pickOrganizeFolder, T$ as plainStatClass, aTe as planSummary, x3 as playedFor, RNe as playedItemUrl, oL as pollInterval, Js as popCount, hke as posterUrl, Zye as previewLibraryColor, Qwe as previewOrganize, $Ce as previewUrl, Jfe as problemDestination, mH as processingActive, pL as progressText, tU as providerIcon, Mwe as pruneText, AX as purgeCount, dTe as purgeOrphan, aV as pv, uge as qE, H as queryClient, PB as r2, MPe as radarRows, VNe as radialArc, HNe as radialBarSize, BNe as radialCeiling, zNe as radialSlices, KN as randomId, APe as rankDetail, jPe as rankShares, C3 as reachedShare, mL as readableErrorHeadline, nje as recommendationScore, Cwe as recordGenre, pTe as recordsText, bke as recreatePlaylist, pke as refreshPlaylists, Cl as relayoutCovers, Bi as reloadFollowManage, Ewe as reloadReview, PAe as rememberShape, tTe as rememberTemplates, Ei as removeAlias, Ni as removeFeed, Ci as removeSource, CPe as removeTasteSource, yW as removeWants, Di as renameAliasGroup, _ke as renamePlaylist, Se as replaceEqualDeep, JNe as replayRows, re as require_jsx_runtime, A as require_react, N as require_react_dom, fq as require_with_selector, bW as resetWants, pr as resolveFollowSort, Hg as resolveStartTime, f_e as restartEffectText, mke as resumeAssetId, cwe as reviewGroupingOptions, UY as reviewQueueData, HY as reviewQueueOf, ATe as reviewSummary, uwe as reviewWindow, hwe as rowEvidence, KY as rowFieldName, uJ as rowPaginationFeature, jJ as rowSelectionFeature, WJ as rowSortingFeature, GY as rowSubject, gwe as rowTags, mwe as rowTitle, Nhe as s5, Oi as saveCredential, bTe as scanLine, Uwe as schedulePollInterval, CW as searchNote, fwe as selectReviewRange, pi as selectionState, Mi as setFeedEnabled, Si as setSourceEnabled, Mf as settingsPath, Twe as settleReviewRows, RCe as sharedNamePrefix, Ep as shellNavigate, v8 as showToast, zn as siteMarkUrl, wq as skipFirstRun, JI as sortCx, Yr as sortLabel, yn as sourceDefaultCost, qi as sourceIconUrl, CTe as sourceMeta, zs as spinnerHtml, Ng as spring, EV as spriteGlyph, bi as startCheck, Awe as startLinkCheck, jwe as startLinkPrune, eTe as startOrganize, xi as startResolve, _Te as startResourceApply, gTe as startResourceScan, SPe as startTasteRefresh, WOe as statCardClass, Wfe as statusLabel, YCe as statusLine, Zr as statusText, jM as storeJavLayout, xwe as submitDecision, _L as summaryItems, Kq as tableFeatures, Tq as tableMemo, ui as tableRows, qfe as taskIssues, Yfe as taskSubject, G3 as tasteDate, OPe as tasteDimensions, DPe as tasteHours, U3 as tasteKey, _Pe as tasteRefetchInterval, vPe as tasteTime, eL as textLang, $m as time, qhe as tl, mi as toggleGroup, K3 as topScores, ige as um, Qhe as uo, OH as useAction, VZ as useBackgroundJob, JU as useClientUpdates, dm as useConstant, vL as useEntityNames, wL as useHorizontalScroller, fm as useIsomorphicLayoutEffect, aK as useLibraryTints, Ft as useMutation, $V as useOverlayScrollbar, Pt as useQuery, ae as useQueryClient, rS as useReducedMotion, Hwe as useRunSchedule, Bwe as useSaveFollowSchedule, gX as useSaveSettings, Wwe as useSaveThumbnailMode, GJ as useTable, cY as useTablePreferences, jL as useViewGlide, GCe as victimBytes, Jhe as vl, SW as wantName, LNe as watchNote, S3 as watchedShare, Dc as wireHorizontalScroller, nTe as withOrganizeJob };
+ZRe($9);
+export { eR as $2ec61d1d4f780267$export$a8a3e93435678ff9, cR as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, Tz as $542a13ca2fa5b484$export$5b6b19405a83ff9d, OD as $72abaeab4d80592f$export$78efe591171d7d45, _B as $76d00c5a4edb230a$export$76ccd210b9029917, mB as $76d00c5a4edb230a$export$816b5d811295e6bc, bB as $76d00c5a4edb230a$export$b59bdbef9ce70de2, SB as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, pB as $76d00c5a4edb230a$export$f850895b287ef28e, phe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, fhe as $b4f18e3395fe64d7$export$3e41faf802a29e71, lhe as $b4f18e3395fe64d7$export$b2539bed5023c21c, EB as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, ghe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, hE as $ea3928288112382f$export$439d29a4e110a164, Rz as $f2ff30fde7b014be$export$3ddf2d174ce01153, Gz as $fe21c36db05242bb$export$a98f0dcb43a68a25, Kz as $fe21c36db05242bb$export$d7b12c4107be0d61, Yhe as $l, Zj as ACCENTS, Eke as AMANE_BRIDGE_CHECK_URL, X$ as AMANE_BRIDGE_KEY, Dke as AMANE_BRIDGE_REBUILD_URL, or as ApiError, oW as ArtSlot, m2 as BATCH_DELETE_TEXT, J as Button, ML as ButtonLink, iV as Bx, T$ as CLEANUP_ENTRY, w$ as CLEANUP_ENTRY_GRID, Yf as CLEANUP_HASH_REDIRECTS, qf as CLEANUP_TOOLS, _n as CLOUD_LOCATIONS, X1 as CLOUD_PROXY_HELP, Gr as COLUMN_SORT, c1 as CONFIGURATION_KEY, iX as CONFIGURATION_URL, Oke as COOKIE_TEXT_LIMIT, Y$ as COVER_JOB_KEY, Ji as CREDENTIAL_STATE, G$ as CUSTOM_SOURCES_KEY, W$ as CUSTOM_SOURCES_URL, QV as Checkbox, ZV as CheckboxGlyph, HV as ChevronSortDown, aW as Chip, mW as CloudDownloadDialog, KH as CollapseChevron, GH as CollapseRegion, v$ as CollectionSummary, owe as DEFAULT_CATEGORY, ur as DEFAULT_SORT, WQ as DIAGNOSTICS_KEY, iTe as DIRECTORY_TEMPLATE_ERROR, j0 as DISCOVERY_SORTS, cW as DOWNLOADS_KEY, sW as DOWNLOADS_URL, wY as DUPLICATES_KEY, aY as DataTableFooter, tY as DataTableFrame, iY as DataTableSort, QH as Disclosure, Uve as DownloadsPanel, Bhe as E3, swe as ENTITY_REVIEW_KINDS, J1 as ENTRY_LINKS_HELP, Y1 as ENTRY_LINKS_HINT, XB as Ea, bge as EmptyFocusButton, wV as EmptyState, XH as ErrorText, I_e as ExternalLink, Br as FEEDS_KEY, fX as FEED_SCHEDULE_KEY, S$ as FIELDSET_FOOT, LPe as FLOW_LABEL_X, J3 as FLOW_VIEWBOX, Rr as FOLLOW_CHECK_KEY, Lr as FOLLOW_CREDENTIALS_KEY, j8 as FOLLOW_INITIAL_RANGE_OPTIONS, Ir as FOLLOW_MANAGE_KEY, qZ as FOLLOW_MANAGE_NAV, zr as FOLLOW_RESOLVE_KEY, dX as FOLLOW_SCHEDULE_KEY, z_e as Fact, R_e as FactList, ZH as FieldLabel, F$ as Fieldset, P$ as FieldsetTitle, upe as FilterGlass, TL as FilterGlassRows, wL as FilterIconButton, EL as FilterPill, F_e as Footer, tV as Gg, DL as GlassPill, cV as HN, YH as Help, hV as HintText, kPe as IDLE_POLL_MS, YCe as IDLE_REPAIR, bL as IconButton, KQ as IndexSearch, bV as Input, yV as InputBase, L$ as IssueRow, hM as JAV_LAYOUTS, N0 as JAV_RECOMMENDATION_GRID, RX as JUNK_KEY, AW as JavHeader, UCe as KEEP_LABELS, Hr as LAYOUTS, q1 as LIBRARY_FOLDER_HELP, dH as LIBRARY_PROCESSING_KEY, XY as LINKS_KEY, ZY as LINK_CHECK_KEY, jwe as LINK_KINDS, QY as LINK_PRUNE_KEY, tr as LOC, mV as Label, B$ as LibraryProcessingCard, VV as LibraryShortcuts, DH as LinkButton, Zhe as Lo, BH as LoadingDots, Vhe as M6, Iwe as MEDIA_PROCESSING_KEY, mX as MEDIA_PROCESSING_URL, kY as MEDIA_REPAIR_KEY, OY as MEDIA_REPAIR_URL, vr as MEDIA_SOURCES_KEY, gs as MEDIA_SOURCE_ICONS, hn as MEDIA_SOURCE_OPTIONS, KV as MENU_ITEM, qV as MENU_ITEM_INTERACTIVE, GV as MENU_POPOVER_SURFACE, $he as Ma, jH as MenuDialog, bK as MixCard, xV as ModalFrame, wx as MotionConfigContext, fV as NR, I$ as NameLink, CV as Note, gge as OA, vX as ORGANIZE_KEY, d2 as ORGANIZE_PARAMETER_HINT, u2 as ORGANIZE_SCOPE_HINT, l2 as ORGANIZE_TEXT, xX as ORPHAN_RECORDS_KEY, p2 as ORPHAN_RECORDS_TEXT, $B as OV, RB as P7, FX as PERFORMER_DELETE_KEY, Qve as PHASES, aX as PICK_FOLDER_URL, D$ as PLAIN_STAT_STRIP, H$ as PLAYLISTS_KEY, AAe as POLICY_COLUMNS, MAe as POLICY_COVER_NOTE, jAe as POLICY_MATRIX, K1 as POLICY_SUMMARY, rY as Pagination, z$ as PathLine, uV as Pf, YI as PillTabList, JOe as PlainStat, HH as Progress, PY as QUALITY_GOALS_KEY, lV as RB, k$ as REPAIR_CARD_TEXT, AY as REPAIR_LIBRARIES_KEY, EX as RESOURCE_APPLY_KEY, TX as RESOURCE_SCAN_KEY, f2 as RESOURCE_SYNC_TEXT, eke as RESULT_PANEL, tke as RESULT_SECTION, awe as REVIEW_CATEGORIES, LX as REVIEW_COUNTS_KEY, cwe as REVIEW_DECISION_LABELS, LY as REVIEW_KEY, RY as REVIEW_LABELS, BY as REVIEW_QUEUES, VY as REVIEW_QUEUE_LABELS, WG as RetryNote, hge as Rf, pV as Rk, M_e as Rows, wke as SCRAPING_CHECK_URL, q$ as SCRAPING_COVER_URL, J$ as SCRAPING_KEY, Cke as SCRAPING_SETTINGS_URL, vU as SEGMENT, _U as SEGMENTED_TRACK, uX as SETTINGS_KEY, oX as SETTINGS_URL, dr as SORT_DEFAULT_DIR, lr as SORT_OPTIONS, vn as SOURCE_LABELS, y3 as STATS_KEY, KOe as STAT_STRIP, qOe as STAT_STRIP_SIX, j_e as Section, nke as SectionHeading, P_e as SectionSkeleton, gU as SegmentedRadioGroup, eve as SegmentedTabList, LG as Segments, nY as Select, nW as Select$1, f1 as SelectField, rW as SelectItem, fY as SelectionActions, kj as SelectionDock, pY as SelectionPopover, qH as SettingsCard, A_e as SettingsRow, JH as SettingsSectionLabel, U_e as SiteLabel, gG as SortDirectionIcon, zG as SortKeys, DQ as SourceAvatar, nU as SourceLabel, $H as SourceMark, N_e as Stack, YOe as StatCard, R$ as StatusLabel, fge as Su, Z2 as Switch, iL as TASKS_KEY, vPe as TASTE_REFRESH_KEY, yPe as TASTE_WINDOWS, pX as THUMBNAIL_JOBS_KEY, BX as TRASH_KEY, Ufe as TRIGGER_LABELS, KJ as Table, mY as TableColumnControls, hY as TableColumnResizer, _Y as TableSelectionHeader, p$ as TagManager, L_e as TaskCenterLink, UH as TaskProgress, _V as TextField, gV as TextFieldContext, ZB as Un, gW as WANTS_KEY, f4 as WantMagnets, Gg as WithPromise, HB as Wt, YB as Xc, dV as Xf, WB as Xl, UB as Xt, BB as _8, o as __commonJSMin, s as __exportAll, l as __toESM, mge as aB, Ti as addAlias, wi as addSource, vW as addWant, pS as animate, B as apiGet, V as apiSend, lM as appSettingsStore, CTe as applyConfirmText, PX as applyLeftovers, STe as applyPlanText, TTe as applyText, pM as applyTheme, yy as asNumber, dTe as attachOrphan, si as authorAvatar, li as authorGroups, oi as authorInitial, ai as authorName, Pq as autoResetPageIndex, go as avatarInner, T3 as bandRows, aTe as baseName, JCe as batchOperate, mue as beginPlayerGuidePreview, Pj as boundedPreference, GCe as bulkCloudPreferences, OV as busyProps, pge as cB, qMe as cachedMagnetStates, zg as calcGeneratorVelocity, hwe as canApprove, mg as cancelFrame, gTe as candidateText, IU as cardClass, OM as cardRatio, JB as cc, Wi as checkEvidenceGap, Ui as checkFailures, Pi as checkFeeds, Fwe as checkLine, Vi as checkReceipt, Hi as checkSummary, Ake as checkText, Gi as checkedText, oK as clickedBlank, J5 as closeDrawerAfterNav, LCe as cloudLocations, D0 as cloudProxySkeleton, JC as clsx, nge as cn, cv as collectMotionValues, eJ as columnVisibilityFeature, VJ as column_getCanSort, LJ as column_getSortFn, pwe as commonReviewSources, Of as configurationSection, CPe as configureTasteBrowser, ol as confirmModal, Vfe as controlTask, gq as copyInstancePropertiesWithoutMemos, co as coverUrl, Gq as createColumnHelper, _ke as createPlaylist, Yi as credentialDone, C0 as credentialsSkeleton, wwe as currentReviewRow, q as cx, rV as dZ, xwe as decisionPayload, Swe as decisionReceipt, bwe as defaultChoice, DTe as deletePerformerVideos, yke as deletePlaylist, x as diagnosticHeaders, G1 as diagnosticsSkeleton, TW as discoveryArtwork, CW as discoveryKey, nje as discoveryScore, a9 as disposeStage, VCe as distinctName, zi as dropSources, dge as du, KCe as duplicateVictims, dL as elapsedText, tn as entityDisplayName, ho as entityFaceImg, Nn as entityPath, ei as errorHeadline, cr as errorMessage, z as esc, Nq as expandRowModel, jB as f1, $r as feedIntervalText, $$ as fetchAmaneBridge, _i as fetchCheckJob, l1 as fetchConfiguration, Q$ as fetchCoverJob, gi as fetchCredentials, K$ as fetchCustomSources, IX as fetchDeletePerformers, ETe as fetchDeletePlan, GQ as fetchDiagnostics, wW as fetchDiscoveries, EY as fetchDuplicates, Lfe as fetchEarlier, zwe as fetchFeedSchedule, ji as fetchFeeds, hi as fetchFollow, Rwe as fetchFollowSchedule, HX as fetchJunkSummary, yH as fetchLibraryProcessing, tX as fetchLinkCheck, nX as fetchLinkPrune, eX as fetchLinkStats, Lwe as fetchMediaProcessing, jY as fetchMediaRepair, yr as fetchMediaSources, yX as fetchOrganize, Zwe as fetchOrganizeExample, SX as fetchOrphanRecords, Ai as fetchPending, U$ as fetchPlaylists, FY as fetchQualityGoals, MY as fetchRepairLibraries, vi as fetchResolveJob, OX as fetchResourceApply, DX as fetchResourceScan, qY as fetchReview, VX as fetchReviewCounts, hX as fetchSettings, Z$ as fetchSources, b3 as fetchStats, yi as fetchSuggestions, oL as fetchTasks, G3 as fetchTaste, wPe as fetchTasteJob, Bwe as fetchThumbnailJobs, UX as fetchTrashSummary, _W as fetchWants, dwe as filterReviewRows, $n as firstGrapheme, QK as flexRender, zPe as flowGraph, BPe as flowLabel, RNe as fmtCount, qn as fmtDur, Yn as fmtSize, Ife as foldByKind, $fe as foldRoutine, Ii as followFeedByName, Vr as followSuggestKey, tpe as followupDetail, Ffe as followupTally, pg as frame, IB as g4, rJ as getDefaultPaginationState, DM as gridLayout, ci as groupByAuthor, Qfe as groupFollowups, WY as groupReviewRows, bTe as hasChanges, kX as hasResourceRoots, cL as hasResultProblems, APe as historySpan, MB as i2, OPe as importTasteExport, w0 as indexersSkeleton, Fg as interpolate, bW as invalidateWants, uL as isActive, Qr as isBroken, Kr as isLayout, yv as isMotionValue, zY as isReviewCategory, epe as isRoutine, T0 as javBrowserSkeleton, F0 as javContentSkeleton, bM as javLayout, P0 as javTagSkeleton, MTe as junkBreakdown, bke as keepPlaylist, ke as keepPreviousData, fi as keepSelected, x3 as known, Ihe as l7, Zfe as latestOfKind, XNe as lengthRows, Sr as localTime, Fi as lookupFeedActor, LB as m7, nV as mM, En as mapLimit, ki as markItem, E3 as max, JNe as mediumRows, Rfe as mergeFinished, D3 as min, kwe as mirrorText, QCe as missingToolText, DY as mixedCloudPreferences, hL as momentText, mS as motion, uv as motionValue, nn as nameFallback, He as notifyManager, Hhe as oe, sTe as organizeOutcome, Z0 as overlayHost, qr as pageSizeOf, di as pageWindow, mr as paginationRange, Ri as patchSource, W as peachHistory, W as peachHistory$1, ywe as pendingGenres, BNe as percentText, eTe as pickOrganizeFolder, E$ as plainStatClass, oTe as planSummary, S3 as playedFor, HNe as playedItemUrl, aL as pollInterval, Js as popCount, gke as posterUrl, ebe as previewLibraryColor, $we as previewOrganize, twe as previewUrl, Yfe as problemDestination, mH as processingActive, fL as progressText, tU as providerIcon, Pwe as pruneText, jX as purgeCount, fTe as purgeOrphan, aV as pv, uge as qE, H as queryClient, NB as r2, IPe as radarRows, GNe as radialArc, KNe as radialBarSize, WNe as radialCeiling, UNe as radialSlices, WN as randomId, PPe as rankDetail, FPe as rankShares, w3 as reachedShare, pL as readableErrorHeadline, rje as recommendationScore, Twe as recordGenre, mTe as recordsText, xke as recreatePlaylist, mke as refreshPlaylists, Cl as relayoutCovers, Bi as reloadFollowManage, Owe as reloadReview, FAe as rememberShape, nTe as rememberTemplates, Ei as removeAlias, Ni as removeFeed, Ci as removeSource, DPe as removeTasteSource, yW as removeWants, Di as renameAliasGroup, vke as renamePlaylist, Se as replaceEqualDeep, QNe as replayRows, re as require_jsx_runtime, A as require_react, N as require_react_dom, fq as require_with_selector, tye as resetWants, pr as resolveFollowSort, Hg as resolveStartTime, f_e as restartEffectText, hke as resumeAssetId, uwe as reviewGroupingOptions, UY as reviewQueueData, HY as reviewQueueOf, jTe as reviewSummary, fwe as reviewWindow, _we as rowEvidence, KY as rowFieldName, uJ as rowPaginationFeature, jJ as rowSelectionFeature, WJ as rowSortingFeature, GY as rowSubject, vwe as rowTags, gwe as rowTitle, Nhe as s5, Oi as saveCredential, xTe as scanLine, Gwe as schedulePollInterval, SW as searchNote, mwe as selectReviewRange, pi as selectionState, Mi as setFeedEnabled, Si as setSourceEnabled, Mf as settingsPath, Dwe as settleReviewRows, BCe as sharedNamePrefix, Ep as shellNavigate, y8 as showToast, zn as siteMarkUrl, wq as skipFirstRun, qI as sortCx, Yr as sortLabel, yn as sourceDefaultCost, qi as sourceIconUrl, wTe as sourceMeta, zs as spinnerHtml, Ng as spring, EV as spriteGlyph, bi as startCheck, Mwe as startLinkCheck, Nwe as startLinkPrune, tTe as startOrganize, xi as startResolve, vTe as startResourceApply, _Te as startResourceScan, EPe as startTasteRefresh, GOe as statCardClass, Gfe as statusLabel, ZCe as statusLine, Zr as statusText, kM as storeJavLayout, Cwe as submitDecision, gL as summaryItems, Kq as tableFeatures, Tq as tableMemo, ui as tableRows, Jfe as taskIssues, Xfe as taskSubject, K3 as tasteDate, MPe as tasteDimensions, jPe as tasteHours, W3 as tasteKey, xPe as tasteRefetchInterval, SPe as tasteTime, $I as textLang, $m as time, qhe as tl, mi as toggleGroup, q3 as topScores, ige as um, Qhe as uo, OH as useAction, HZ as useBackgroundJob, JU as useClientUpdates, dm as useConstant, _L as useEntityNames, CL as useHorizontalScroller, fm as useIsomorphicLayoutEffect, aK as useLibraryTints, Ft as useMutation, $V as useOverlayScrollbar, Pt as useQuery, ae as useQueryClient, nS as useReducedMotion, Wwe as useRunSchedule, Hwe as useSaveFollowSchedule, gX as useSaveSettings, Kwe as useSaveThumbnailMode, GJ as useTable, cY as useTablePreferences, AL as useViewGlide, qCe as victimBytes, Jhe as vl, xW as wantName, VNe as watchNote, C3 as watchedShare, Dc as wireHorizontalScroller, rTe as withOrganizeJob };
-//# debugId=910b7443-a1a8-4395-ae58-02cc4c28ad22
\ No newline at end of file
+//# debugId=28f33970-e59c-45f5-916c-310b08bda0f0
\ No newline at end of file