Skip to content

armgit / peach

Public Imported from GitHub
0

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

feat(web): 作品列表把媒体库与艺人拆成单独两列

longmeidao571440bb2843
diff --git a/frontend/e2e/catalog-list-widths.test.ts b/frontend/e2e/catalog-list-widths.test.ts
index edd935c51..3336320b6 100644
--- a/frontend/e2e/catalog-list-widths.test.ts
+++ b/frontend/e2e/catalog-list-widths.test.ts
@@ -41,13 +41,13 @@ describe('馆藏表格列宽与占位图', () => {
assert.ok(geometry.titleWidth < 320 && geometry.clamp === '2' && geometry.fullHeight > geometry.titleHeight
&& geometry.titleHeight <= geometry.lineHeight * 2 + 1, JSON.stringify(geometry));
assert.equal(await row.locator('[data-list-name]').getAttribute('title'), name);
- const defaultLabels = ['作品', '标签', '时长', '分辨率', '体积', '评分', '观看次数'];
+ const defaultLabels = ['作品', '媒体库', '艺人', '标签', '时长', '分辨率', '体积', '评分', '观看次数'];
const visibleLabels = () => page.locator('[data-catalog-table] th:not([data-table-space]) > span').allTextContents();
assert.deepEqual(await visibleLabels(), defaultLabels);
await page.getByRole('button', { name: '显示列', exact: true }).click();
await page.getByRole('button', { name: '显示全部列', exact: true }).click();
await page.keyboard.press('Escape');
- assert.deepEqual(await visibleLabels(), ['作品', '标签', '番号', '时长', '分辨率', '体积', '评分', '观看次数', '高潮计数', '观看时间', '入库时间', '发行时间']);
+ assert.deepEqual(await visibleLabels(), ['作品', '媒体库', '艺人', '标签', '番号', '时长', '分辨率', '体积', '评分', '观看次数', '高潮计数', '观看时间', '入库时间', '发行时间']);
for (const label of ['分辨率', '评分', '高潮计数', '观看次数', '时长', '体积', '入库时间', '观看时间', '发行时间', '番号']) {
await page.getByRole('columnheader', { name: label, exact: false }).waitFor();
}
diff --git a/frontend/e2e/catalog-list.test.ts b/frontend/e2e/catalog-list.test.ts
index 855e51774..1d00d8bbc 100644
--- a/frontend/e2e/catalog-list.test.ts
+++ b/frontend/e2e/catalog-list.test.ts
@@ -44,14 +44,17 @@ describe('馆藏卡片与列表', () => {
const row = node.getBoundingClientRect();
const picture = node.querySelector('[data-list-picture]')!.getBoundingClientRect();
const title = node.querySelector('[data-list-name]')!.getBoundingClientRect();
- const byline = node.querySelector('[data-list-byline]')!.getBoundingClientRect();
+ const people = node.querySelector('[data-list-people]');
+ const cell = (selector: string) => node.querySelector(selector)?.closest('td')?.getBoundingClientRect().left ?? -1;
return { width: row.width, height: row.height, pictureRight: picture.right, titleLeft: title.left,
- radius: getComputedStyle(node).borderBottomLeftRadius, titleBottom: title.bottom, bylineTop: byline.top };
+ radius: getComputedStyle(node).borderBottomLeftRadius, identityAvatar: !!node.querySelector('[data-list-identity] [data-media-avatar]'),
+ peopleAvatar: !!people?.querySelector('[data-media-avatar]'), nameCell: cell('[data-list-identity]'), peopleCell: cell('[data-list-people]') };
});
assert.ok(geometry.height <= 120 && geometry.width > geometry.height * 2, JSON.stringify(geometry));
assert.ok(geometry.titleLeft > geometry.pictureRight, JSON.stringify(geometry));
assert.equal(geometry.radius, '0px');
- assert.ok(geometry.bylineTop >= geometry.titleBottom, JSON.stringify(geometry));
+ assert.ok(!geometry.identityAvatar && geometry.peopleAvatar && geometry.peopleCell > geometry.nameCell,
+ `头像与署名拆成作品列之后单独的艺人列:${JSON.stringify(geometry)}`);
const screenshots = join('..', 'build', 'agent-verification', 'folders');
mkdirSync(screenshots, { recursive: true });
await page.screenshot({ path: join(screenshots, `${viewport.name}-list.png`), fullPage: false });
diff --git a/frontend/src/catalog-content-skeleton.ts b/frontend/src/catalog-content-skeleton.ts
index d8d2f1ad4..0ee3af394 100644
--- a/frontend/src/catalog-content-skeleton.ts
+++ b/frontend/src/catalog-content-skeleton.ts
@@ -4,11 +4,12 @@ import { catalogTableSnapshot } from './react/catalog-grid/catalog-table-columns
import { esc } from './core';
import { COMPLETION_ROW_SKELETON_HTML, completionRowRemembered } from './react/library-processing/completion-row';
-/** 列表骨架一格的内容,壳与列表岛共用:名称格是缩略图、头像和标题署名两行,其余列一条短条。 */
+/** 列表骨架一格的内容,壳与列表岛共用:名称格是缩略图和两行标题,艺人格是圆头像加一条,媒体库格是
+ * 小图标加一条,其余列一条短条。 */
export function catalogListSkeletonCellHtml(column: string): string {
- return column === '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>';
+ if (column === 'name') return '<span data-list-skeleton-name><i class="skeleton-sheen"></i><span><i class="skeleton-sheen"></i><i class="skeleton-sheen"></i></span></span>';
+ if (column === 'people' || column === 'library') return `<span data-list-skeleton-mark="${column}"><b class="skeleton-sheen"></b><i class="skeleton-sheen"></i></span>`;
+ return '<i data-list-skeleton-bar class="skeleton-sheen"></i>';
}
/* 壳的列表骨架直接套真实表格的外框与 `bui-table` 类:工具栏一行、表头写真实列名、列宽按本机列偏好,
diff --git a/frontend/src/react/catalog-grid/catalog-list-page.tsx b/frontend/src/react/catalog-grid/catalog-list-page.tsx
index 7759885d8..fb0d894b3 100644
--- a/frontend/src/react/catalog-grid/catalog-list-page.tsx
+++ b/frontend/src/react/catalog-grid/catalog-list-page.tsx
@@ -105,6 +105,8 @@ export function CatalogListPage(props: CatalogGridProps) {
isSelected={row.getIsSelected()} onChange={on => row.toggleSelected(on)} /> }),
helper.accessor(item => item.name || '', { id: 'name', header: '作品', enableSorting: true,
cell: ({ row }) => <ListIdentity item={row.original} props={props} disabled={result.isPlaceholderData} /> }),
+ helper.display({ id: 'library', header: '媒体库', cell: ({ row }) => <ListLibrary item={row.original} /> }),
+ helper.display({ id: 'people', header: '艺人', cell: ({ row }) => <ListPeople item={row.original} props={props} /> }),
/* 标签与卡片同一套:关注条目的标签不可点,其余点一下按这个标签筛选。 */
helper.display({ id: 'tags', header: '标签', cell: ({ row }) => {
const item = row.original;
@@ -222,11 +224,8 @@ function ListIdentity({ item, props, disabled }: { item: MediaItem; props: Catal
const name = props.helpers.displayName(item, rawName).trim() || '未命名作品';
const titleHtml = props.helpers.titleHtml(item, rawName).trim() || '未命名作品';
useEntityNames();
- const { avatar, who } = identityParts(item);
const watched = !parts && Number(item.play_seconds) > 0 && Number(item.duration) > 0
? Math.min(Number(item.play_seconds) / Number(item.duration), 1) : 0;
- const tints = useLibraryTints({ names: true });
- const tint = item.library_id ? tints.get(item.library_id) : undefined;
const flaggedBy = [Number(item.liked) > 0 ? '喜欢' : '', Number(item.o_count) > 0 ? '有高潮记录' : ''].filter(Boolean);
const glyph = (name: string) => <svg viewBox="0 0 24 24" aria-hidden="true"><use href={`#i-${name}`} /></svg>;
const open = (event: MouseEvent<HTMLElement>) => {
@@ -236,15 +235,7 @@ function ListIdentity({ item, props, disabled }: { item: MediaItem; props: Catal
const opener = props.filters?.state === 'trash' ? props.actions.openResource : props.actions.open;
opener(item, event.currentTarget);
};
- /* 头像与署名和卡片同一套:点头像或人名打开人物、厂牌页,没有署名的那批打开「未归属」。 */
- const openOwner = (event: MouseEvent<HTMLElement>) => {
- if (props.selectMode) return;
- const target = event.target as HTMLElement;
- const entity = target.closest<HTMLElement>('[data-entity-kind]');
- if (entity) { props.actions.openEntity(entity.dataset.entityKind || '', entity.dataset.entityName || ''); return }
- if (target.closest('[data-open-unowned]')) props.actions.openUnowned();
- };
- return <div data-list-identity="" onClick={openOwner}>
+ return <div data-list-identity="">
<button type="button" data-list-open="" disabled={disabled} tabIndex={-1} aria-hidden="true" onClick={open}>
<span data-list-picture="">{artwork.html
? <ArtSlot artwork={artwork} relayout={root => relayoutCovers(root, 'small')} /> : <span>无预览</span>}
@@ -264,16 +255,31 @@ function ListIdentity({ item, props, disabled }: { item: MediaItem; props: Catal
</span>
: null}</span>
</button>
- {avatar}
<span data-list-text="">
<button type="button" data-list-name="" disabled={disabled} title={name} aria-label={`打开 ${name}`} onClick={open}
dangerouslySetInnerHTML={{ __html: titleHtml }} />
- <span data-list-byline="">
- {tint?.name ? <span data-list-library="" title={`媒体库:${tint.name}`}>
- <SourceMark mark={tint.icon} />{tint.name}
- </span> : null}
- {who}
- </span>
</span>
</div>;
}
+
+/** 媒体库那一列:标识加名字,与侧栏媒体库切换同一套。没有归属媒体库的写「—」。 */
+function ListLibrary({ item }: { item: MediaItem }) {
+ const tints = useLibraryTints({ names: true });
+ const tint = item.library_id ? tints.get(item.library_id) : undefined;
+ return tint?.name ? <span data-list-library="" title={`媒体库:${tint.name}`}><SourceMark mark={tint.icon} />{tint.name}</span> : '—';
+}
+
+/** 艺人那一列:头像与署名和卡片同一套(`identityParts`)。点头像或人名打开人物、厂牌页,没有署名的那批
+ * 打开「未归属」;选择模式下不跳。 */
+function ListPeople({ item, props }: { item: MediaItem; props: CatalogGridProps }) {
+ useEntityNames();
+ const { avatar, who } = identityParts(item);
+ const openOwner = (event: MouseEvent<HTMLElement>) => {
+ if (props.selectMode) return;
+ const target = event.target as HTMLElement;
+ const entity = target.closest<HTMLElement>('[data-entity-kind]');
+ if (entity) { props.actions.openEntity(entity.dataset.entityKind || '', entity.dataset.entityName || ''); return }
+ if (target.closest('[data-open-unowned]')) props.actions.openUnowned();
+ };
+ return <div data-list-people="" onClick={openOwner}>{avatar}{who}</div>;
+}
diff --git a/frontend/src/react/catalog-grid/catalog-list.css b/frontend/src/react/catalog-grid/catalog-list.css
index 00469647c..1e5c917d3 100644
--- a/frontend/src/react/catalog-grid/catalog-list.css
+++ b/frontend/src/react/catalog-grid/catalog-list.css
@@ -2,10 +2,17 @@
.peach-react [data-catalog-table] .bui-table td { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.peach-react [data-catalog-rating] { display: flex; flex-direction: column; align-items: stretch; gap: 8px; white-space: normal; }
.peach-react [data-catalog-rating] [data-rating-stars] { align-self: flex-start; }
-/* 名称格:缩略图、头像、标题与署名横排;头像和署名与卡片同一套,点得开人物与厂牌页。 */
+/* 名称格:缩略图与标题横排。媒体库与艺人各占一列(`[data-list-library]`、`[data-list-people]`)。 */
.peach-react [data-catalog-table] [data-list-identity] { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 0; }
.peach-react [data-catalog-table] [data-list-open] { display: flex; flex: none; margin-right: 4px; padding: 0; border: 0; background: none; cursor: pointer; }
-.peach-react [data-catalog-table] [data-list-identity] > [data-media-avatar] { margin-top: 0; }
+/* 艺人列:头像在前、署名在后,与卡片同一套,点得开人物与厂牌页;头像已表明是人,署名前不再画人形图标。 */
+.peach-react [data-catalog-table] [data-list-people] { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--ink-2); font-size: var(--fs-sm); }
+.peach-react [data-catalog-table] [data-list-people] > [data-media-avatar] { flex: none; margin-top: 0; }
+.peach-react [data-catalog-table] [data-list-people] > [data-media-avatars] { flex: none; }
+.peach-react [data-catalog-table] [data-list-people] > [data-media-who] { display: inline-flex; flex: 0 1 auto; align-items: center; min-width: 0; overflow: hidden; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
+.peach-react [data-catalog-table] [data-list-people] > [data-media-who] > span { overflow: hidden; text-overflow: ellipsis; }
+.peach-react [data-catalog-table] [data-list-people] > [data-media-who] > svg { display: none; }
+.peach-react [data-catalog-table] [data-list-people] > [data-media-who-more] { flex: none; color: var(--muted); }
.peach-react [data-catalog-table] button[data-list-name] { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.peach-react [data-catalog-table] [data-list-picture] [data-media-group] { top: 4px; right: 4px; min-height: 0; padding: 1px 6px; border-radius: 6px; font-size: 11px; }
.peach-react [data-catalog-table] [data-list-picture] { position: relative; display: flex; align-items: center; justify-content: center; flex: none; width: 112px; height: 63px; overflow: hidden; border-radius: var(--control-radius); background: var(--sunk); color: var(--muted); font-size: var(--fs-sm); }
@@ -13,16 +20,12 @@
.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] { display: flex; flex: 1; flex-direction: column; gap: 4px; min-width: 0; }
-/* 标题最多两行再截断:行高按缩略图定,两行标题加一行署名放得下,作品列窄时少截一半。 */
+/* 标题最多两行再截断:行高按缩略图定,作品列窄时少截一半。 */
.peach-react [data-catalog-table] [data-list-name] { display: -webkit-box; min-width: 0; overflow: hidden; white-space: normal; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.4; }
.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] { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; white-space: nowrap; color: var(--muted); font-size: var(--fs-sm); }
-.peach-react [data-catalog-table] [data-list-byline] > * { flex: none; }
-.peach-react [data-catalog-table] [data-list-byline] > [data-media-who] { flex: 0 1 auto; min-width: 0; }
-.peach-react [data-catalog-table] [data-list-byline] [data-media-who] svg { flex: none; width: var(--icon-inline); height: var(--icon-inline); fill: none; stroke: currentColor; stroke-width: 2; }
-/* 列表行的来源:署名前是媒体库图标加名称;用户给这个媒体库选了来源色时整行铺淡色。
+/* 媒体库列:图标加名称;用户给这个媒体库选了来源色时整行铺淡色。
* 个人状态图标缩小后贴在预览图左下角。 */
-.peach-react [data-catalog-table] [data-list-library] { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); }
+.peach-react [data-catalog-table] [data-list-library] { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; overflow: hidden; color: var(--ink-2); font-size: var(--fs-sm); text-overflow: ellipsis; }
.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] { left: 4px; bottom: 4px; gap: 4px; }
@@ -32,7 +35,8 @@
* 两行上限按这一档算,13px 是行间 5px 加上下各 4px 的焦点环余量。 */
.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); padding-block: 0; line-height: calc(var(--control-h-inline) - 2px); }
-/* 列表骨架:壳的首屏与列表岛等数据时同一份格子,尺寸照真实行(缩略图 112×63、头像 38、标题署名两行)。 */
+/* 列表骨架:壳的首屏与列表岛等数据时同一份格子,尺寸照真实行(缩略图 112×63、标题两行;艺人列头像 38、
+ * 媒体库列图标 16,各带一条名字)。 */
.peach-react [data-list-skeleton] { display: flex; flex-direction: column; gap: 16px; }
.peach-react [data-list-skeleton-tools] { display: flex; justify-content: flex-end; }
.peach-react [data-list-skeleton-tools] > i { display: block; width: 312px; max-width: 100%; height: 36px; border-radius: var(--control-radius); }
@@ -40,7 +44,10 @@
.peach-react [data-completion-skeleton] { display: block; height: calc(var(--control-h) + 16px); border-radius: var(--radius-2lg, 10px); }
.peach-react [data-list-skeleton-name] { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.peach-react [data-list-skeleton-name] > i { flex: none; width: 112px; height: 63px; margin-right: 4px; border-radius: var(--control-radius); }
-.peach-react [data-list-skeleton-name] > b { flex: none; width: 38px; height: 38px; border-radius: 50%; }
+.peach-react [data-list-skeleton-mark] { display: flex; align-items: center; gap: 8px; min-width: 0; }
+.peach-react [data-list-skeleton-mark] > b { flex: none; width: 38px; height: 38px; border-radius: 50%; }
+.peach-react [data-list-skeleton-mark="library"] > b { width: 16px; height: 16px; border-radius: 4px; }
+.peach-react [data-list-skeleton-mark] > i { display: block; flex: 1; max-width: 96px; height: 14px; border-radius: 6px; }
.peach-react [data-list-skeleton-name] > span { display: flex; flex: 1; flex-direction: column; gap: 8px; min-width: 0; }
.peach-react [data-list-skeleton-name] > span > i { display: block; width: 72%; height: 14px; border-radius: 6px; }
.peach-react [data-list-skeleton-name] > span > i + i { width: 44%; height: 12px; }
diff --git a/frontend/src/react/catalog-grid/catalog-table-columns.ts b/frontend/src/react/catalog-grid/catalog-table-columns.ts
index f33a98c6a..7cffa5ac6 100644
--- a/frontend/src/react/catalog-grid/catalog-table-columns.ts
+++ b/frontend/src/react/catalog-grid/catalog-table-columns.ts
@@ -5,7 +5,9 @@ export const CATALOG_COLUMN_VISIBILITY_KEY = 'peach.catalog-column-visibility.v1
export const columnSizes: Record<string, { width: number; min: number; max: number }> = {
select: { width: 48, min: 48, max: 48 },
- name: { width: 360, min: 320, max: 2000 },
+ name: { width: 320, min: 280, max: 2000 },
+ library: { width: 132, min: 112, max: 320 },
+ people: { width: 180, min: 144, max: 400 },
dur: { width: 96, min: 80, max: 240 },
size: { width: 96, min: 88, max: 240 },
resolution: { width: 120, min: 112, max: 320 },
@@ -21,8 +23,9 @@ export const columnSizes: Record<string, { width: number; min: number; max: numb
export const defaultColumnVisibility: Record<string, boolean> = { code: false, o: false, new: false, played: false, release: false };
const labels: Record<string, string> = { select: '选择', name: '作品', dur: '时长', size: '体积', resolution: '分辨率',
- rating: '评分', o: '高潮计数', plays: '观看次数', new: '入库时间', played: '观看时间', release: '发行时间', code: '番号', tags: '标签' };
-export const catalogColumns = ['select', 'name', 'tags', 'code', 'dur', 'resolution', 'size', 'rating', 'plays', 'o', 'played', 'new', 'release']
+ rating: '评分', o: '高潮计数', plays: '观看次数', new: '入库时间', played: '观看时间', release: '发行时间', code: '番号', tags: '标签',
+ library: '媒体库', people: '艺人' };
+export const catalogColumns = ['select', 'name', 'library', 'people', 'tags', 'code', 'dur', 'resolution', 'size', 'rating', 'plays', 'o', 'played', 'new', 'release']
.map(id => ({ id, label: labels[id]!, ...columnSizes[id]!, flex: id === 'name', required: id === 'select' || id === 'name', visible: defaultColumnVisibility[id] !== false }));
function stored(key: string): Record<string, unknown> {
diff --git a/web/dist/peach-app.css b/web/dist/peach-app.css
index 2de8c28f8..44d46ef16 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)}.scroll-mt-24{scroll-margin-top:calc(var(--spacing) * 24)}.\[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-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.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 :is([data-tier-performer],[data-tier-studio])[aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tier-studio] [data-count-badge]{color:var(--color-text-tertiary);font:var(--board-caption);font-variant-numeric:tabular-nums}.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)}.scroll-mt-24{scroll-margin-top:calc(var(--spacing) * 24)}.\[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-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.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 :is([data-tier-performer],[data-tier-studio])[aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tier-studio] [data-count-badge]{color:var(--color-text-tertiary);font:var(--board-caption);font-variant-numeric:tabular-nums}.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-people]{min-width:0;color:var(--ink-2);font-size:var(--fs-sm);align-items:center;gap:8px;display:flex}.peach-react [data-catalog-table] [data-list-people]>[data-media-avatar]{flex:none;margin-top:0}.peach-react [data-catalog-table] [data-list-people]>[data-media-avatars]{flex:none}.peach-react [data-catalog-table] [data-list-people]>[data-media-who]{min-width:0;color:inherit;font:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:0 auto;align-items:center;padding:0;display:inline-flex;overflow:hidden}.peach-react [data-catalog-table] [data-list-people]>[data-media-who]>span{text-overflow:ellipsis;overflow:hidden}.peach-react [data-catalog-table] [data-list-people]>[data-media-who]>svg{display:none}.peach-react [data-catalog-table] [data-list-people]>[data-media-who-more]{color:var(--muted);flex:none}.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-library]{max-width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-overflow:ellipsis;align-items:center;gap:6px;display:inline-flex;overflow:hidden}.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-mark]{align-items:center;gap:8px;min-width:0;display:flex}.peach-react [data-list-skeleton-mark]>b{border-radius:50%;flex:none;width:38px;height:38px}.peach-react [data-list-skeleton-mark=library]>b{border-radius:4px;width:16px;height:16px}.peach-react [data-list-skeleton-mark]>i{border-radius:6px;flex:1;max-width:96px;height:14px;display:block}.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 5495aa7d5..f8e612fad 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] = "4006446c-3b4e-43a9-ad45-5938cc7eaa09", e._sentryDebugIdIdentifier = "sentry-dbid-4006446c-3b4e-43a9-ad45-5938cc7eaa09");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7d829557-e258-4971-94f9-1007f04e0f01", e._sentryDebugIdIdentifier = "sentry-dbid-7d829557-e258-4971-94f9-1007f04e0f01");
} 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) => {
@@ -16267,44 +16267,44 @@ function bg(e, t = 100, n) {
};
}
// node_modules/motion-dom/dist/es/animation/generators/spring.mjs
-var xg = 100, Sg = 10, oee = 1, see = 800, Cg = .3, cee = .3, lee = .01, uee = 2, dee = .005, fee = .5, pee = .01, wg = 10, Tg = .05, Eg = (e) => e < 0 ? 1 / Math.max(1 + e, Tg) : Math.max(1 - e, Tg);
-function Dg(e, t) {
+var xg = 100, Sg = 10, oee = 1, see = 800, Cg = .3, cee = .3, lee = .01, uee = 2, dee = .005, fee = .5, pee = .01, mee = 10, wg = .05, Tg = (e) => e < 0 ? 1 / Math.max(1 + e, wg) : Math.max(1 - e, wg);
+function Eg(e, t) {
if (!(e > 1)) return 1;
let n = Math.sqrt(e * e - 1), r = e - n, i = e + n, a = 2 * n * Math.exp(-t) * (1 + t);
- return kg((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;
+ return Og((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;
}
-function Og(e, t) {
+function Dg(e, t) {
return e * Math.sqrt(1 - t * t);
}
-var mee = 12;
-function kg(e, t, n) {
+var hee = 12;
+function Og(e, t, n) {
let r = n;
- for (let n = 1; n < mee; n++) r -= e(r) / t(r);
+ for (let n = 1; n < hee; n++) r -= e(r) / t(r);
return r;
}
-var Ag = .001;
-function hee({ duration: e = see, bounce: t = Cg }) {
- let n, r, i = Eg(t);
- e = gm(pee, wg, /* @__PURE__ */ Dm(e)), i < 1 ? (n = (t) => {
- let n = t * i, r = n * e, a = Og(t, i), o = Math.exp(-r);
- return Ag - n / a * o;
+var kg = .001;
+function gee({ duration: e = see, bounce: t = Cg }) {
+ let n, r, i = Tg(t);
+ e = gm(pee, mee, /* @__PURE__ */ Dm(e)), i < 1 ? (n = (t) => {
+ let n = t * i, r = n * e, a = Dg(t, i), o = Math.exp(-r);
+ return kg - n / a * o;
}, r = (t) => {
- let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = Og(t * t, i);
- return (-n(t) + Ag > 0 ? -1 : 1) * -a * o / s;
+ let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = Dg(t * t, i);
+ return (-n(t) + kg > 0 ? -1 : 1) * -a * o / s;
}) : (n = (t) => -.001 + Math.exp(-t * e) * (t * e + 1), r = (t) => Math.exp(-t * e) * (-t * (e * e)));
- let a = 5 / e, o = kg(n, r, a), s = o * Dg(i, o * e), c = s * s;
+ let a = 5 / e, o = Og(n, r, a), s = o * Eg(i, o * e), c = s * s;
return {
stiffness: c,
damping: i * 2 * Math.sqrt(c),
duration: /* @__PURE__ */ Em(e)
};
}
-var jg = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;
-function Mg(e, t) {
- if (jg(e, t)) return e;
+var Ag = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;
+function jg(e, t) {
+ if (Ag(e, t)) return e;
}
-function gee(e) {
- let t = Mg(e.stiffness), n = Mg(e.damping, !0), r = Mg(e.mass), i = {
+function _ee(e) {
+ let t = jg(e.stiffness), n = jg(e.damping, !0), r = jg(e.mass), i = {
...e,
stiffness: t ?? xg,
damping: n ?? Sg,
@@ -16314,14 +16314,14 @@ function gee(e) {
};
if (i.isTimeDefined) {
if (e.visualDuration) {
- let t = Eg(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * Dg(t, 2 * Math.PI / 1.2);
+ let t = Tg(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * Eg(t, 2 * Math.PI / 1.2);
i.stiffness = n * n, i.damping = 2 * t * Math.sqrt(i.stiffness);
- } else Object.assign(i, hee(i)), i.isResolvedFromDuration = !0;
- jg(i.stiffness) && jg(i.damping, !0) || (i.stiffness = xg, i.damping = Sg);
+ } else Object.assign(i, gee(i)), i.isResolvedFromDuration = !0;
+ Ag(i.stiffness) && Ag(i.damping, !0) || (i.stiffness = xg, i.damping = Sg);
}
return i;
}
-function Ng(e = cee, t = Cg) {
+function Mg(e = cee, t = Cg) {
let n = typeof e == "object" ? e : {
visualDuration: e,
keyframes: [0, 1],
@@ -16329,7 +16329,7 @@ function Ng(e = cee, t = Cg) {
}, r = n.keyframes[0], i = n.keyframes[n.keyframes.length - 1], a = {
done: !1,
value: r
- }, { stiffness: o, damping: s, mass: c, duration: l, isResolvedFromDuration: u, isTimeDefined: d } = gee({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ Dm(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ Dm(Math.sqrt(o / c)), h = p * m, g = {
+ }, { stiffness: o, damping: s, mass: c, duration: l, isResolvedFromDuration: u, isTimeDefined: d } = _ee({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ Dm(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ Dm(Math.sqrt(o / c)), h = p * m, g = {
target: i,
delta: i - r,
velocity: f(n.velocity || 0) || 0,
@@ -16342,7 +16342,7 @@ function Ng(e = cee, t = Cg) {
_();
let v, y, b;
if (p < 1) {
- let e = Og(m, p), t = {
+ let e = Dg(m, p), t = {
A: 0,
sinC: 0,
cosC: 0,
@@ -16398,12 +16398,12 @@ function Ng(e = cee, t = Cg) {
};
return S;
}
-var Pg = /* @__PURE__ */ Object.assign(Ng, { applyToOptions: (e) => {
- let t = bg(e, 100, Ng);
+var Ng = /* @__PURE__ */ Object.assign(Mg, { applyToOptions: (e) => {
+ let t = bg(e, 100, Mg);
return e.ease = t.ease, e.duration = /* @__PURE__ */ Em(t.duration), e.type = "keyframes", e;
} });
// node_modules/motion-dom/dist/es/animation/generators/inertia.mjs
-function Fg({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {
+function Pg({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {
let d = e[0], f = {
done: !1,
value: d
@@ -16413,7 +16413,7 @@ function Fg({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32
let t = v(e);
f.done = Math.abs(t) <= l, f.value = f.done ? _ : e ? _ + t : d;
}, b, x, S = (e) => {
- p(f.value) && (b = e, x = Pg({
+ p(f.value) && (b = e, x = Ng({
keyframes: [f.value, m(f.value)],
velocity: -v(e) / r * 1e3,
damping: i,
@@ -16431,7 +16431,7 @@ function Fg({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32
};
}
// node_modules/motion-dom/dist/es/utils/interpolate.mjs
-function _ee(e, t, n) {
+function vee(e, t, n) {
let r = [], i = _m.mix || ug, a = e.length - 1;
for (let o = 0; o < a; o++) {
let a = n?.(e[o], e[o + 1]) || i(e[o], e[o + 1]);
@@ -16439,13 +16439,13 @@ function _ee(e, t, n) {
}
return r;
}
-function Ig(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
+function Fg(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
let a = e.length;
if (a === 1) return () => t[0];
if (a === 2 && t[0] === t[1]) return () => t[1];
let o = e[0] === e[1];
e[0] > e[a - 1] && (e = [...e].reverse(), t = [...t].reverse());
- let s = _ee(t, r, i), c = s.length, l = (n) => {
+ let s = vee(t, r, i), c = s.length, l = (n) => {
if (o && n < e[0]) return t[0];
let r = 0;
if (c > 1) for (; r < e.length - 2 && !(n < e[r + 1]); r++);
@@ -16455,7 +16455,7 @@ function Ig(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
return n ? (t) => l(gm(e[0], e[a - 1], t)) : l;
}
// node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs
-function Lg(e, t) {
+function Ig(e, t) {
let n = e[e.length - 1];
for (let r = 1; r <= t; r++) {
let i = /* @__PURE__ */ wm(0, t, r);
@@ -16463,19 +16463,19 @@ function Lg(e, t) {
}
}
// node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs
-function Rg(e) {
+function Lg(e) {
let t = [0];
- return Lg(t, e.length - 1), t;
+ return Ig(t, e.length - 1), t;
}
// node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs
-function vee(e, t) {
+function yee(e, t) {
return e.map((e) => e * t);
}
// node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs
-function yee(e, t) {
+function bee(e, t) {
return e.map(() => t || Um).splice(0, e.length - 1);
}
-function zg({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut", mixer: i }) {
+function Rg({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut", mixer: i }) {
let a = typeof t[0] == "number" ? void 0 : i, o = /* @__PURE__ */ Wm(r) ? r.map(Ym) : Ym(r) || Um, s = {
done: !1,
value: t[0]
@@ -16487,8 +16487,8 @@ function zg({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut",
next: (t) => (s.value = i ? i(o(e > 0 ? gm(0, 1, t / e) : 1)) : r, s.done = t >= e, s)
};
}
- let c = Ig(vee(n && n.length === t.length ? n : Rg(t), e), t, {
- ease: Array.isArray(o) ? o : yee(t, o),
+ let c = Fg(yee(n && n.length === t.length ? n : Lg(t), e), t, {
+ ease: Array.isArray(o) ? o : bee(t, o),
mixer: a
});
return {
@@ -16497,35 +16497,35 @@ function zg({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut",
};
}
// node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs
-var bee = 5;
-function xee(e, t, n) {
- let r = Math.max(t - bee, 0);
+var xee = 5;
+function See(e, t, n) {
+ let r = Math.max(t - xee, 0);
return /* @__PURE__ */ Om(n - e(r), t - r);
}
-function Bg(e, t, n = 0) {
- return t <= 0 ? n : e.velocity ? e.velocity(t) : xee((t) => e.next(t).value, t, e.next(t).value);
+function zg(e, t, n = 0) {
+ return t <= 0 ? n : e.velocity ? e.velocity(t) : See((t) => e.next(t).value, t, e.next(t).value);
}
// node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs
-var See = (e) => e !== null;
-function Vg(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
- let a = e.filter(See), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;
+var Cee = (e) => e !== null;
+function Bg(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
+ let a = e.filter(Cee), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;
return !o || r === void 0 ? a[o] : r;
}
// node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs
-var Cee = {
- decay: Fg,
- inertia: Fg,
- tween: zg,
- keyframes: zg,
- spring: Pg
+var wee = {
+ decay: Pg,
+ inertia: Pg,
+ tween: Rg,
+ keyframes: Rg,
+ spring: Ng
};
-function Hg(e) {
- typeof e.type == "string" && (e.type = Cee[e.type]);
+function Vg(e) {
+ typeof e.type == "string" && (e.type = wee[e.type]);
}
// node_modules/motion-dom/dist/es/animation/utils/resolve-start-time.mjs
-var wee = 40, Ug = (e, t) => t - e > wee && !_m.useManualTiming ? t : e;
+var Tee = 40, Hg = (e, t) => t - e > Tee && !_m.useManualTiming ? t : e;
// node_modules/motion-dom/dist/es/animation/utils/notify-inspector.mjs
-function Wg(e, t) {
+function Ug(e, t) {
return {
kind: e,
animation: t,
@@ -16534,11 +16534,11 @@ function Wg(e, t) {
frameIsProcessing: Xm.isProcessing
};
}
-function Gg(e, t, n) {
+function Wg(e, t, n) {
let r = globalThis.__MOTION_INSPECT__;
if (r) try {
r({
- ...Wg("animation-start", e),
+ ...Ug("animation-start", e),
options: n ? {
...t,
...n
@@ -16546,17 +16546,17 @@ function Gg(e, t, n) {
});
} catch {}
}
-function Tee(e, t) {
+function Eee(e, t) {
let n = globalThis.__MOTION_INSPECT__;
if (n) try {
n({
- ...Wg("layout-animation-start", e),
+ ...Ug("layout-animation-start", e),
node: t
});
} catch {}
}
// node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs
-var Kg = class {
+var Gg = class {
constructor() {
this.isResolved = !1;
}
@@ -16574,7 +16574,7 @@ var Kg = class {
then(e, t) {
return this.finished.then(e, t);
}
-}, Eee = (e) => e / 100, qg = (e) => Math.round(e * 1e4) / 1e4, Jg = class extends Kg {
+}, Dee = (e) => e / 100, Kg = (e) => Math.round(e * 1e4) / 1e4, qg = class extends Gg {
constructor(e) {
super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.delayState = {
done: !1,
@@ -16582,13 +16582,13 @@ var Kg = class {
}, this.stop = () => {
let { motionValue: e } = this.options;
e && e.updatedAt !== $m.now() && this.tick($m.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());
- }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause(), Gg(this, this.options);
+ }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause(), Wg(this, this.options);
}
initAnimation() {
let { options: e } = this;
- Hg(e);
- let { type: t = zg, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || zg;
- this.mixKeyframes = void 0, s !== zg && typeof o[0] != "number" && (this.mixKeyframes = Cm(Eee, e.mixer?.(o[0], o[1]) || ug(o[0], o[1])), o = [0, 100]);
+ Vg(e);
+ let { type: t = Rg, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || Rg;
+ this.mixKeyframes = void 0, s !== Rg && typeof o[0] != "number" && (this.mixKeyframes = Cm(Dee, e.mixer?.(o[0], o[1]) || ug(o[0], o[1])), o = [0, 100]);
let c = s(o === e.keyframes ? e : {
...e,
keyframes: o
@@ -16608,20 +16608,20 @@ var Kg = class {
let { generator: n, totalDuration: r, calculatedDuration: i } = this;
if (this.startTime === null) return n.next(0);
let { delay: a = 0, keyframes: o, type: s, onUpdate: c, finalKeyframe: l } = this.options;
- this.startTime === this.pendingStartTime && (this.startTime = Ug(this.startTime, e)), this.pendingStartTime = void 0, this.speed > 0 ? this.startTime = Math.min(this.startTime, e) : this.speed < 0 && (this.startTime = Math.min(e - r / this.speed, this.startTime)), t ? this.currentTime = e : this.updateTime(e);
+ this.startTime === this.pendingStartTime && (this.startTime = Hg(this.startTime, e)), this.pendingStartTime = void 0, this.speed > 0 ? this.startTime = Math.min(this.startTime, e) : this.speed < 0 && (this.startTime = Math.min(e - r / this.speed, this.startTime)), t ? this.currentTime = e : this.updateTime(e);
let u = this.currentTime - a * (this.playbackSpeed >= 0 ? 1 : -1), d = this.playbackSpeed >= 0 ? u < 0 : u > r;
this.currentTime = Math.max(u, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = r);
let f = this.generate(this.currentTime, d), { done: p } = f;
d || (p = this.playbackSpeed >= 0 ? i < Infinity ? this.currentTime >= r : p : this.currentTime <= 0);
let m = this.holdTime === null && (this.state === "finished" || this.state === "running" && p);
- return m && s !== Fg && (f.value = Vg(o, this.options, l, this.speed)), c && c(f.value), m && this.finish(), f;
+ return m && s !== Pg && (f.value = Bg(o, this.options, l, this.speed)), c && c(f.value), m && this.finish(), f;
}
at(e) {
- return this.holdTime ?? qg((e - this.startTime) * this.playbackSpeed);
+ return this.holdTime ?? Kg((e - this.startTime) * this.playbackSpeed);
}
sampleAt(e, t) {
let { options: n, totalDuration: r } = this, i = this.at(e) - (n.delay || 0);
- return i >= r && n.type !== Fg ? Vg(n.keyframes, n, t ? void 0 : n.finalKeyframe) : this.generate(Math.max(i, 0), i < 0).value;
+ return i >= r && n.type !== Pg ? Bg(n.keyframes, n, t ? void 0 : n.finalKeyframe) : this.generate(Math.max(i, 0), i < 0).value;
}
generate(e, t) {
let { generator: n, totalDuration: r, mixKeyframes: i, mirroredGenerator: a, resolvedDuration: o } = this, { keyframes: s, repeat: c, repeatType: l, repeatDelay: u } = this.options, d = e, f = n;
@@ -16645,7 +16645,7 @@ var Kg = class {
e = /* @__PURE__ */ Em(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = e, this.tick(e));
}
getGeneratorVelocity() {
- return Bg(this.generator, this.currentTime, this.options.velocity);
+ return zg(this.generator, this.currentTime, this.options.velocity);
}
get speed() {
return this.playbackSpeed;
@@ -16682,27 +16682,27 @@ var Kg = class {
attachTimeline(e) {
return this.options.allowFlatten && (this.options.type = "keyframes", this.options.ease = "linear", this.initAnimation()), this.driver?.stop(), e.observe(this);
}
-}, Dee = /* @__PURE__ */ new Set([
+}, Oee = /* @__PURE__ */ new Set([
"brightness",
"contrast",
"saturate",
"opacity"
]);
-function Oee(e) {
+function kee(e) {
let [t, n] = e.slice(0, -1).split("(");
if (t === "drop-shadow") return e;
let [r] = n.match(uh) || [];
if (!r) return e;
- let i = n.replace(r, ""), a = +!!Dee.has(t);
+ let i = n.replace(r, ""), a = +!!Oee.has(t);
return r !== n && (a *= 100), t + "(" + a + i + ")";
}
-var kee = /\b([a-z-]*)\(.*?\)/gu, Yg = {
+var Aee = /\b([a-z-]*)\(.*?\)/gu, Jg = {
...Jh,
getAnimatableNone: (e) => {
- let t = e.match(kee);
- return t ? t.map(Oee).join(" ") : e;
+ let t = e.match(Aee);
+ return t ? t.map(kee).join(" ") : e;
}
-}, Xg = {
+}, Yg = {
...Jh,
getAnimatableNone: (e) => {
let t = Jh.parse(e);
@@ -16711,10 +16711,10 @@ var kee = /\b([a-z-]*)\(.*?\)/gu, Yg = {
alpha: 1
} : e));
}
-}, Zg = {
+}, Xg = {
...sh,
transform: Math.round
-}, Qg = {
+}, Zg = {
rotate: Sh,
pathRotation: Sh,
rotateX: Sh,
@@ -16740,7 +16740,7 @@ var kee = /\b([a-z-]*)\(.*?\)/gu, Yg = {
originX: Dh,
originY: Dh,
originZ: wh
-}, $g = {
+}, Qg = {
borderWidth: wh,
borderTopWidth: wh,
borderRightWidth: wh,
@@ -16791,13 +16791,13 @@ var kee = /\b([a-z-]*)\(.*?\)/gu, Yg = {
fontSize: wh,
backgroundPositionX: wh,
backgroundPositionY: wh,
- ...Qg,
- zIndex: Zg,
+ ...Zg,
+ zIndex: Xg,
fillOpacity: ch,
strokeOpacity: ch,
- numOctaves: Zg
-}, Aee = {
- ...$g,
+ numOctaves: Xg
+}, jee = {
+ ...Qg,
color: kh,
backgroundColor: kh,
outlineColor: kh,
@@ -16808,21 +16808,21 @@ var kee = /\b([a-z-]*)\(.*?\)/gu, Yg = {
borderRightColor: kh,
borderBottomColor: kh,
borderLeftColor: kh,
- filter: Yg,
- WebkitFilter: Yg,
- mask: Xg,
- WebkitMask: Xg
-}, e_ = (e) => Aee[e], jee = /*@__PURE__*/ new Set([Yg, Xg]);
-function t_(e, t) {
- let n = e_(e);
- return jee.has(n) || (n = Jh), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
+ filter: Jg,
+ WebkitFilter: Jg,
+ mask: Yg,
+ WebkitMask: Yg
+}, $g = (e) => jee[e], Mee = /*@__PURE__*/ new Set([Jg, Yg]);
+function e_(e, t) {
+ let n = $g(e);
+ return Mee.has(n) || (n = Jh), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
}
// node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs
-function n_(e) {
+function t_(e) {
for (let t = 1; t < e.length; t++) e[t] ?? (e[t] = e[t - 1]);
}
// node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs
-var r_ = (e) => e * 180 / Math.PI, i_ = (e) => a_(r_(Math.atan2(e[1], e[0]))), Mee = {
+var n_ = (e) => e * 180 / Math.PI, r_ = (e) => i_(n_(Math.atan2(e[1], e[0]))), Nee = {
x: 4,
y: 5,
translateX: 4,
@@ -16831,44 +16831,44 @@ var r_ = (e) => e * 180 / Math.PI, i_ = (e) => a_(r_(Math.atan2(e[1], e[0]))), M
scaleY: 3,
scaleZ: () => 1,
scale: (e) => (Math.abs(e[0]) + Math.abs(e[3])) / 2,
- rotate: i_,
- rotateZ: i_,
- skewX: (e) => r_(Math.atan(e[1])),
- skewY: (e) => r_(Math.atan(e[2])),
+ rotate: r_,
+ rotateZ: r_,
+ skewX: (e) => n_(Math.atan(e[1])),
+ skewY: (e) => n_(Math.atan(e[2])),
skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2
-}, a_ = (e) => (e %= 360, e < 0 && (e += 360), e), o_ = i_, s_ = (e) => Math.hypot(e[0], e[1]), c_ = (e) => Math.hypot(e[4], e[5]), Nee = {
+}, i_ = (e) => (e %= 360, e < 0 && (e += 360), e), a_ = r_, o_ = (e) => Math.hypot(e[0], e[1]), s_ = (e) => Math.hypot(e[4], e[5]), Pee = {
x: 12,
y: 13,
z: 14,
translateX: 12,
translateY: 13,
translateZ: 14,
- scaleX: s_,
- scaleY: c_,
+ scaleX: o_,
+ scaleY: s_,
scaleZ: (e) => Math.hypot(e[8], e[9], e[10]),
- scale: (e) => (s_(e) + c_(e)) / 2,
- rotateX: (e) => a_(r_(Math.atan2(e[6], e[5]))),
- rotateY: (e) => a_(r_(Math.atan2(-e[2], e[0]))),
- rotateZ: o_,
- rotate: o_,
- skewX: (e) => r_(Math.atan(e[4])),
- skewY: (e) => r_(Math.atan(e[1])),
+ scale: (e) => (o_(e) + s_(e)) / 2,
+ rotateX: (e) => i_(n_(Math.atan2(e[6], e[5]))),
+ rotateY: (e) => i_(n_(Math.atan2(-e[2], e[0]))),
+ rotateZ: a_,
+ rotate: a_,
+ skewX: (e) => n_(Math.atan(e[4])),
+ skewY: (e) => n_(Math.atan(e[1])),
skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2
};
-function l_(e) {
+function c_(e) {
return +!!e.includes("scale");
}
-function u_(e, t) {
- if (!e || e === "none") return l_(t);
+function l_(e, t) {
+ if (!e || e === "none") return c_(t);
let n = e.match(/^matrix(3d)?\(([-\d.e\s,]+)\)$/u);
- if (!n) return l_(t);
- let r = (n[1] ? Nee : Mee)[t], i = n[2].split(",").map((e) => parseFloat(e));
+ if (!n) return c_(t);
+ let r = (n[1] ? Pee : Nee)[t], i = n[2].split(",").map((e) => parseFloat(e));
return typeof r == "function" ? r(i) : i[r];
}
-var d_ = (e, t) => {
+var u_ = (e, t) => {
let { transform: n = "none" } = getComputedStyle(e);
- return u_(n, t);
-}, f_ = [
+ return l_(n, t);
+}, d_ = [
"transformPerspective",
"x",
"y",
@@ -16887,14 +16887,14 @@ var d_ = (e, t) => {
"skew",
"skewX",
"skewY"
-], p_ = /* @__PURE__ */ new Set([...f_, "pathRotation"]), m_ = (e) => e === sh || e === wh, Pee = /* @__PURE__ */ new Set([
+], f_ = /* @__PURE__ */ new Set([...d_, "pathRotation"]), p_ = (e) => e === sh || e === wh, Fee = /* @__PURE__ */ new Set([
"x",
"y",
"z"
-]), Fee = /* @__PURE__ */ f_.filter((e) => !Pee.has(e));
-function Iee(e) {
+]), Iee = /* @__PURE__ */ d_.filter((e) => !Fee.has(e));
+function Lee(e) {
let t = [];
- return Fee.forEach((n) => {
+ return Iee.forEach((n) => {
let r = e.getValue(n);
if (r !== void 0) {
let e = r.get(), i = +!!n.startsWith("scale");
@@ -16903,16 +16903,16 @@ function Iee(e) {
}
}), t;
}
-var Lee = /* @__PURE__ */ new Set(["bottom", "right"]);
-function h_(e, t, n, r, i, a) {
+var Ree = /* @__PURE__ */ new Set(["bottom", "right"]);
+function m_(e, t, n, r, i, a) {
let o = parseFloat(e);
if (!isNaN(o)) return o;
let { min: s, max: c } = t()[n], l = c - s;
return a === "border-box" ? l : l - parseFloat(r) - parseFloat(i);
}
-var g_ = ({ transform: e }) => u_(e, "x"), __ = ({ transform: e }) => u_(e, "y"), v_ = {
- width: ({ width: e, paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }, i) => h_(e, i, "x", t, n, r),
- height: ({ height: e, paddingTop: t = "0", paddingBottom: n = "0", boxSizing: r }, i) => h_(e, i, "y", t, n, r),
+var h_ = ({ transform: e }) => l_(e, "x"), g_ = ({ transform: e }) => l_(e, "y"), __ = {
+ width: ({ width: e, paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }, i) => m_(e, i, "x", t, n, r),
+ height: ({ height: e, paddingTop: t = "0", paddingBottom: n = "0", boxSizing: r }, i) => m_(e, i, "y", t, n, r),
top: ({ top: e }) => parseFloat(e),
left: ({ left: e }) => parseFloat(e),
bottom: ({ top: e }, t) => {
@@ -16923,20 +16923,20 @@ var g_ = ({ transform: e }) => u_(e, "x"), __ = ({ transform: e }) => u_(e, "y")
let { x: n } = t();
return parseFloat(e) + (n.max - n.min);
},
- x: g_,
- y: __,
- translateX: g_,
- translateY: __
-}, y_ = /* @__PURE__ */ new Set(), b_ = !1, x_ = !1, S_ = !1;
-function C_() {
- if (x_) {
+ x: h_,
+ y: g_,
+ translateX: h_,
+ translateY: g_
+}, v_ = /* @__PURE__ */ new Set(), y_ = !1, b_ = !1, x_ = !1;
+function S_() {
+ if (b_) {
let e = [], t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();
- y_.forEach((r) => {
- r.needsMeasurement && (e.push(r), t.add(r.element), Lee.has(r.name) && n.add(r.element));
+ v_.forEach((r) => {
+ r.needsMeasurement && (e.push(r), t.add(r.element), Ree.has(r.name) && n.add(r.element));
});
let r = /* @__PURE__ */ new Map();
n.forEach((e) => {
- let t = Iee(e);
+ let t = Lee(e);
t.length && (r.set(e, t), e.render());
}), e.forEach((e) => e.measureInitialState()), t.forEach((e) => {
e.render();
@@ -16948,29 +16948,29 @@ function C_() {
e.suspendedScrollY !== void 0 && window.scrollTo(0, e.suspendedScrollY);
});
}
- x_ = !1, b_ = !1, y_.forEach((e) => e.complete(S_)), y_.clear();
+ b_ = !1, y_ = !1, v_.forEach((e) => e.complete(x_)), v_.clear();
}
-function w_() {
- y_.forEach((e) => {
- e.readKeyframes(), e.needsMeasurement && (x_ = !0);
+function C_() {
+ v_.forEach((e) => {
+ e.readKeyframes(), e.needsMeasurement && (b_ = !0);
});
}
-function Ree() {
- S_ = !0, w_(), C_(), S_ = !1;
+function zee() {
+ x_ = !0, C_(), S_(), x_ = !1;
}
-function zee(e, t, n) {
+function Bee(e, t, n) {
if (typeof e == "string") {
if (vm(e) || bm(e)) return parseFloat(e);
- if (!Jh.test(e) && Jh.test(n)) return t_(t, n);
+ if (!Jh.test(e) && Jh.test(n)) return e_(t, n);
}
return e ?? void 0;
}
-var T_ = class {
+var w_ = class {
constructor(e, t, n, r, i, a = !1) {
this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...e], this.onComplete = t, this.name = n, this.motionValue = r, this.element = i, this.isAsync = a;
}
scheduleResolve() {
- this.state = "scheduled", this.isAsync ? (y_.add(this), b_ || (b_ = !0, pg.read(w_), pg.resolveKeyframes(C_))) : (this.readKeyframes(), this.complete());
+ this.state = "scheduled", this.isAsync ? (v_.add(this), y_ || (y_ = !0, pg.read(C_), pg.resolveKeyframes(S_))) : (this.readKeyframes(), this.complete());
}
readKeyframes() {
let { unresolvedKeyframes: e, name: t, element: n, motionValue: r } = this;
@@ -16978,71 +16978,71 @@ var T_ = class {
let i = r?.get(), a = e[e.length - 1];
if (i !== void 0) e[0] = i;
else if (n && t) {
- let r = zee(n.readValue(t, a), t, a);
+ let r = Bee(n.readValue(t, a), t, a);
r !== void 0 && (e[0] = r);
}
e[0] === void 0 && (e[0] = a), r && i === void 0 && r.set(e[0]);
}
- n_(e);
+ t_(e);
}
setFinalKeyframe() {}
measureInitialState() {}
renderEndStyles() {}
measureEndState() {}
complete(e = !1) {
- this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), y_.delete(this);
+ this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), v_.delete(this);
}
cancel() {
- this.state === "scheduled" && (y_.delete(this), this.state = "pending");
+ this.state === "scheduled" && (v_.delete(this), this.state = "pending");
}
resume() {
this.state === "pending" && this.scheduleResolve();
}
-}, E_ = (e) => e.startsWith("--");
+}, T_ = (e) => e.startsWith("--");
// node_modules/motion-dom/dist/es/render/dom/style-set.mjs
-function D_(e, t, n) {
- E_(t) ? e.style.setProperty(t, n) : e.style[t] = n;
+function E_(e, t, n) {
+ T_(t) ? e.style.setProperty(t, n) : e.style[t] = n;
}
// node_modules/motion-dom/dist/es/utils/supports/flags.mjs
-var Bee = {};
+var Vee = {};
// node_modules/motion-dom/dist/es/utils/supports/memo.mjs
-function O_(e, t) {
+function D_(e, t) {
let n = /* @__PURE__ */ xm(e);
- return () => Bee[t] ?? n();
+ return () => Vee[t] ?? n();
}
// node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs
-var Vee = /* @__PURE__ */ O_(() => window.ScrollTimeline !== void 0, "scrollTimeline"), k_ = /*@__PURE__*/ O_(() => {
+var Hee = /* @__PURE__ */ D_(() => window.ScrollTimeline !== void 0, "scrollTimeline"), O_ = /*@__PURE__*/ D_(() => {
try {
document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
} catch {
return !1;
}
return !0;
-}, "linearEasing"), A_ = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, j_ = {
+}, "linearEasing"), k_ = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, A_ = {
linear: "linear",
ease: "ease",
easeIn: "ease-in",
easeOut: "ease-out",
easeInOut: "ease-in-out",
- circIn: /*@__PURE__*/ A_([
+ circIn: /*@__PURE__*/ k_([
0,
.65,
.55,
1
]),
- circOut: /*@__PURE__*/ A_([
+ circOut: /*@__PURE__*/ k_([
.55,
0,
1,
.45
]),
- backIn: /*@__PURE__*/ A_([
+ backIn: /*@__PURE__*/ k_([
.31,
.01,
.66,
-.59
]),
- backOut: /*@__PURE__*/ A_([
+ backOut: /*@__PURE__*/ k_([
.33,
1.53,
.69,
@@ -17050,14 +17050,14 @@ var Vee = /* @__PURE__ */ O_(() => window.ScrollTimeline !== void 0, "scrollTime
])
};
// node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs
-function M_(e, t) {
- if (e) return typeof e == "function" ? k_() ? _g(e, t) : "ease-out" : /* @__PURE__ */ Km(e) ? A_(e) : Array.isArray(e) ? e.map((e) => M_(e, t) || j_.easeOut) : j_[e];
+function j_(e, t) {
+ if (e) return typeof e == "function" ? O_() ? _g(e, t) : "ease-out" : /* @__PURE__ */ Km(e) ? k_(e) : Array.isArray(e) ? e.map((e) => j_(e, t) || A_.easeOut) : A_[e];
}
// node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs
-function Hee(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {
+function Uee(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {
let u = { [t]: n };
c && (u.offset = c);
- let d = M_(s, i);
+ let d = j_(s, i);
Array.isArray(d) && (u.easing = d);
let f = {
delay: r,
@@ -17070,27 +17070,27 @@ function Hee(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatTy
return l && (f.pseudoElement = l), e.animate(u, f);
}
// node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs
-function N_(e) {
+function M_(e) {
return typeof e == "function" && "applyToOptions" in e;
}
// node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs
-function Uee({ type: e, ...t }) {
- return N_(e) && k_() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);
+function Wee({ type: e, ...t }) {
+ return M_(e) && O_() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);
}
// node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs
-var P_ = class extends Kg {
+var N_ = class extends Gg {
constructor(e) {
if (super(), this.finishedTime = null, this.isStopped = !1, this.manualStartTime = null, !e) return;
let { element: t, name: n, keyframes: r, pseudoElement: i, allowFlatten: a = !1, finalKeyframe: o, onComplete: s } = e;
this.isPseudoElement = !!i, this.allowFlatten = a, this.options = e;
- let c = Uee(e);
- this.animation = Hee(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
+ let c = Wee(e);
+ this.animation = Uee(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
if (this.finishedTime = this.time, !i) {
- let e = Vg(r, this.options, o, this.speed);
- this.updateMotionValue?.(e), D_(t, n, e), this.animation.cancel();
+ let e = Bg(r, this.options, o, this.speed);
+ this.updateMotionValue?.(e), E_(t, n, e), this.animation.cancel();
}
s?.(), this.notifyFinished();
- }, Gg(this, e, c);
+ }, Wg(this, e, c);
}
play() {
this.isStopped || (this.manualStartTime = null, this.animation.play(), this.state === "finished" && this.updateFinished());
@@ -17144,22 +17144,22 @@ var P_ = class extends Kg {
this.manualStartTime = this.animation.startTime = e;
}
attachTimeline({ timeline: e, onAttach: t, observe: n }) {
- return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Vee() ? (this.animation.timeline = e, t?.(this.animation), Sm) : n(this);
+ return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Hee() ? (this.animation.timeline = e, t?.(this.animation), Sm) : n(this);
}
-}, F_ = {
+}, P_ = {
anticipate: Lm,
backInOut: Im,
circInOut: Bm
};
-function Wee(e) {
- return e in F_;
-}
function Gee(e) {
- typeof e.ease == "string" && Wee(e.ease) && (e.ease = F_[e.ease]);
+ return e in P_;
}
-var Kee = class extends P_ {
+function Kee(e) {
+ typeof e.ease == "string" && Gee(e.ease) && (e.ease = P_[e.ease]);
+}
+var qee = class extends N_ {
constructor(e) {
- Gee(e), Hg(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;
+ Kee(e), Vg(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;
}
elapsed() {
return this.state === "running" ? ($m.now() - this.startTime) * this.speed : this.time * 1e3;
@@ -17167,7 +17167,7 @@ var Kee = class extends P_ {
sample(e) {
if (!this.sampler) {
let { motionValue: e, onUpdate: t, onComplete: n, onPlay: r, onStop: i, element: a, ...o } = this.options;
- this.sampler = new Jg({
+ this.sampler = new qg({
...o,
autoplay: !1
}), this.sampler.stop();
@@ -17186,39 +17186,39 @@ var Kee = class extends P_ {
return;
}
let { speed: i } = this, a = this.elapsed(), o = this.state === "running" && i ? gm(0, 10, a) : 0, s = this.sample(a);
- n && r && D_(n, r, s), t.setWithVelocity(this.sample(a - o * Math.sign(i)), s, o / Math.abs(i || 1));
+ n && r && E_(n, r, s), t.setWithVelocity(this.sample(a - o * Math.sign(i)), s, o / Math.abs(i || 1));
}
-}, I_ = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (Jh.test(e) || e === "0") && !e.startsWith("url("));
+}, F_ = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (Jh.test(e) || e === "0") && !e.startsWith("url("));
// node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs
-function qee(e) {
+function Jee(e) {
let t = e[0];
if (e.length === 1) return !0;
for (let n = 0; n < e.length; n++) if (e[n] !== t) return !0;
}
-function Jee(e, t, n, r) {
+function Yee(e, t, n, r) {
let i = e[0];
if (i === null) return !1;
if (t === "display" || t === "visibility") return !0;
- let a = e[e.length - 1], o = I_(i, t), s = I_(a, t);
- return !o || !s ? !1 : qee(e) || (n === "spring" || N_(n)) && r;
+ let a = e[e.length - 1], o = F_(i, t), s = F_(a, t);
+ return !o || !s ? !1 : Jee(e) || (n === "spring" || M_(n)) && r;
}
// node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs
-function L_(e) {
+function I_(e) {
e.duration = 0, e.type = "keyframes";
}
// node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs
-var R_ = /* @__PURE__ */ new Set([
+var L_ = /* @__PURE__ */ new Set([
"opacity",
"clipPath",
"filter",
"transform"
-]), Yee = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;
-function Xee(e) {
- for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && Yee.test(e[t])) return !0;
+]), Xee = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;
+function Zee(e) {
+ for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && Xee.test(e[t])) return !0;
return !1;
}
// node_modules/motion-dom/dist/es/animation/waapi/utils/needs-mixer.mjs
-var z_ = ({ mixer: e, keyframes: t }) => e && typeof t[0] != "number" && t.some((n, r) => r && e(t[r - 1], n)), B_ = /* @__PURE__ */ new Set([
+var R_ = ({ mixer: e, keyframes: t }) => e && typeof t[0] != "number" && t.some((n, r) => r && e(t[r - 1], n)), z_ = /* @__PURE__ */ new Set([
"color",
"backgroundColor",
"outlineColor",
@@ -17229,54 +17229,54 @@ var z_ = ({ mixer: e, keyframes: t }) => e && typeof t[0] != "number" && t.some(
"borderRightColor",
"borderBottomColor",
"borderLeftColor"
-]), V_ = () => !_m.useManualTiming && Object.hasOwnProperty.call(Element.prototype, "animate");
-function H_(e) {
+]), B_ = () => !_m.useManualTiming && Object.hasOwnProperty.call(Element.prototype, "animate");
+function V_(e) {
let { motionValue: t, name: n, repeatDelay: r, repeatType: i, damping: a, type: o, keyframes: s } = e;
- if (!n || !(R_.has(n) || B_.has(n))) return !1;
+ if (!n || !(L_.has(n) || z_.has(n))) return !1;
let c = t?.owner?.current;
if (!(c instanceof HTMLElement) && !(c instanceof SVGElement)) return !1;
let { onUpdate: l, transformTemplate: u } = t.owner.getProps();
- return V_() && (R_.has(n) || B_.has(n) && Xee(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia" && !z_(e);
+ return B_() && (L_.has(n) || z_.has(n) && Zee(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia" && !R_(e);
}
// node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs
-var U_ = (e, t) => t && typeof e == "number" ? t.transform(e) : e, W_ = {
+var H_ = (e, t) => t && typeof e == "number" ? t.transform(e) : e, U_ = {
x: "translateX",
y: "translateY",
z: "translateZ",
transformPerspective: "perspective"
-}, G_ = f_.length, K_ = {}, q_ = (e, t, n = U_(t, Qg[e])) => (K_[e] || (K_[e] = (W_[e] || e) + "(")) + n + ")", J_ = (e, t) => (typeof t == "number" ? t : parseFloat(t)) === +!!e.startsWith("scale");
-function Zee(e, t, n) {
+}, W_ = d_.length, G_ = {}, K_ = (e, t, n = H_(t, Zg[e])) => (G_[e] || (G_[e] = (U_[e] || e) + "(")) + n + ")", q_ = (e, t) => (typeof t == "number" ? t : parseFloat(t)) === +!!e.startsWith("scale");
+function Qee(e, t, n) {
let r = "";
- for (let i = 0; i < G_; i++) {
- let a = f_[i], o = e[a];
+ for (let i = 0; i < W_; i++) {
+ let a = d_[i], o = e[a];
if (o === void 0) continue;
- let s = n && (t[a] = U_(o, $g[a]));
- J_(a, o) || (r += q_(a, o, s || void 0) + " ");
+ let s = n && (t[a] = H_(o, Qg[a]));
+ q_(a, o) || (r += K_(a, o, s || void 0) + " ");
}
let i = e.pathRotation;
- return i && (r += q_("rotate", i)), r = r.trim(), n ? n(t, r) : r || "none";
+ return i && (r += K_("rotate", i)), r = r.trim(), n ? n(t, r) : r || "none";
}
// node_modules/motion-dom/dist/es/animation/waapi/transforms/groups.mjs
-var Y_ = /* @__PURE__ */ new WeakMap(), Qee = 200, X_ = .001, $ee = .1, ete = .001, tte = 100, nte = (e) => /^(linear|ease(In|Out|InOut))$/.test(e), Z_ = (e, t) => Math.abs(e - t) <= X_, Q_ = (e, t) => e - t, $_ = (e, t, n) => Rg(Array(n + 1)).map((n) => Qh(e, t, n)), ev = (e) => e.motionValue.owner, tv = (e) => Y_.get(e), nv = ({ state: e }) => e === "idle" || e === "finished", rv = (e, t) => e.latestValues ? e.latestValues[t] : e.getValue(t)?.get(), rte = ({ name: e, motionValue: t }) => e && f_.includes(e) && t?.owner?.current instanceof HTMLElement && V_() && k_();
-function ite(e) {
- let t = ev(e), { onUpdate: n, transformTemplate: r } = t.getProps();
- return !e.isHandoff && !n && !e.hasOnUpdate && !r && e.type !== "inertia" && (rv(t, "transform") || "none") === "none" && !rv(t, "pathRotation") && !t.projection?.isProjecting() && !z_(e);
+var J_ = /* @__PURE__ */ new WeakMap(), $ee = 200, Y_ = .001, ete = .1, tte = .001, nte = 100, rte = (e) => /^(linear|ease(In|Out|InOut))$/.test(e), X_ = (e, t) => Math.abs(e - t) <= Y_, Z_ = (e, t) => e - t, Q_ = (e, t, n) => Lg(Array(n + 1)).map((n) => Qh(e, t, n)), $_ = (e) => e.motionValue.owner, ev = (e) => J_.get(e), tv = ({ state: e }) => e === "idle" || e === "finished", nv = (e, t) => e.latestValues ? e.latestValues[t] : e.getValue(t)?.get(), ite = ({ name: e, motionValue: t }) => e && d_.includes(e) && t?.owner?.current instanceof HTMLElement && B_() && O_();
+function ate(e) {
+ let t = $_(e), { onUpdate: n, transformTemplate: r } = t.getProps();
+ return !e.isHandoff && !n && !e.hasOnUpdate && !r && e.type !== "inertia" && (nv(t, "transform") || "none") === "none" && !nv(t, "pathRotation") && !t.projection?.isProjecting() && !R_(e);
}
-var ate = class extends Jg {
+var ote = class extends qg {
constructor(e) {
- let t = ev(e).current, { driver: n = gg } = e, r, i = ite(e);
+ let t = $_(e).current, { driver: n = gg } = e, r, i = ate(e);
e.driver = (e) => {
let i = n(e);
return {
js: i,
now: i.now,
start: (e = !0) => {
- let n = tv(t);
+ let n = ev(t);
!n || n.isJS ? i.start(e) : n.schedule(!1, !e);
},
stop: () => {
i.stop();
- let e = tv(t);
+ let e = ev(t);
e && !e.isFinishing && e.release(r);
}
};
@@ -17287,7 +17287,7 @@ var ate = class extends Jg {
};
}
get group() {
- return tv(ev(this.options).current);
+ return ev($_(this.options).current);
}
get js() {
return this.driver?.js;
@@ -17307,8 +17307,8 @@ var ate = class extends Jg {
return this.isAccelerated() ? this.sampleAt($m.now()) : void 0;
}
tween() {
- let { keyframes: e, type: t, ease: n, times: r, repeat: i, delay: a = 0 } = this.options, o = /* @__PURE__ */ Km(n) ? A_(n) : nte(n) && j_[n];
- if (o && !i && !r && e.length === 2 && t === zg && this.holdTime === null) {
+ let { keyframes: e, type: t, ease: n, times: r, repeat: i, delay: a = 0 } = this.options, o = /* @__PURE__ */ Km(n) ? k_(n) : rte(n) && A_[n];
+ if (o && !i && !r && e.length === 2 && t === Rg && this.holdTime === null) {
let e = this.startTime + a / this.speed;
return [
e,
@@ -17318,7 +17318,7 @@ var ate = class extends Jg {
}
}
boundaries(e, t) {
- let { startTime: n, speed: r, resolvedDuration: i, options: a } = this, { delay: o = 0, repeat: s = 0, repeatDelay: c = 0, repeatType: l, times: u, keyframes: d, type: f } = a, p = (f || zg) === zg ? u || Rg(d) : [0, 1], m = n + o / r, h = [];
+ let { startTime: n, speed: r, resolvedDuration: i, options: a } = this, { delay: o = 0, repeat: s = 0, repeatDelay: c = 0, repeatType: l, times: u, keyframes: d, type: f } = a, p = (f || Rg) === Rg ? u || Lg(d) : [0, 1], m = n + o / r, h = [];
if (this.holdTime !== null || !(i > 0)) return h;
for (let n = Math.max(0, Math.floor((e - m) * r / i)); n <= s; n++) {
let a = m + n * i / r;
@@ -17338,7 +17338,7 @@ var ate = class extends Jg {
this.options.motionValue.setWithVelocity(this.sampleAt(e - 10, !0), this.sampleAt(e, !0), 10);
}
play() {
- this.isStopped || ((this.group || ote(ev(this.options))).tracks.add(this), super.play());
+ this.isStopped || ((this.group || ste($_(this.options))).tracks.add(this), super.play());
}
pause() {
super.pause(), this.isAccelerated() && (this.sync(), this.group.schedule(!1));
@@ -17358,13 +17358,13 @@ var ate = class extends Jg {
return this.canAccelerate = !1, this.group?.demote(!0), super.attachTimeline(e);
}
};
-function ote(e) {
+function ste(e) {
let t = e.current, n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Map(), i = {}, a = [], o = /* @__PURE__ */ new Map(), s = [], c = !1, l = !1, u = !1, d = !1, f = -Infinity, p = (e) => {
for (let t of n) if (t.name === e) return !0;
}, m = (t, n) => {
let o = {};
- for (let s of t === void 0 ? f_ : a) {
- let a = r.get(s), c = t === void 0 ? rv(e, s) : a ? a.sampleAt(n > t && !a.timing()[1] ? n : t) : i[s];
+ for (let s of t === void 0 ? d_ : a) {
+ let a = r.get(s), c = t === void 0 ? nv(e, s) : a ? a.sampleAt(n > t && !a.timing()[1] ? n : t) : i[s];
c !== void 0 && (o[s] = c);
}
return o;
@@ -17372,7 +17372,7 @@ function ote(e) {
let n = "";
for (let r in e) {
let i = e[r];
- t && J_(r, i) || (n += q_(r, i) + " ");
+ t && q_(r, i) || (n += K_(r, i) + " ");
}
return (t ? n.trim() : n) || "none";
}, g = (e, t) => h(m(e, t)), _ = (e = m()) => {
@@ -17396,32 +17396,32 @@ function ote(e) {
}
return r(t, n) > i / 2 ? [t, n] : [];
}, S = (e, t, n, r) => {
- let i = Math.min(Qee, Math.max(2, Math.ceil((n - t) / 10)));
+ let i = Math.min($ee, Math.max(2, Math.ceil((n - t) / 10)));
if (r.length * 4 > i) return;
- let a = $_(t, n, i).concat(r).sort(Q_), o = (e) => /* @__PURE__ */ wm(t, n, e), s, c;
+ let a = Q_(t, n, i).concat(r).sort(Z_), o = (e) => /* @__PURE__ */ wm(t, n, e), s, c;
for (let n of e) {
- let e = n.numberAt(t), r = a.map((t) => n.numberAt(t) - e), i = r[r.length - 1], o = r.some((e) => Math.abs(e) * X_ > Math.abs(i)) ? 0 : i, l = r.map((e) => o ? e / o : e);
+ let e = n.numberAt(t), r = a.map((t) => n.numberAt(t) - e), i = r[r.length - 1], o = r.some((e) => Math.abs(e) * Y_ > Math.abs(i)) ? 0 : i, l = r.map((e) => o ? e / o : e);
if (o && !s) s = l, c = (t) => (n.numberAt(t) - e) / o;
- else if (l.some((e, t) => !Z_(e, o && s[t]))) return;
+ else if (l.some((e, t) => !X_(e, o && s[t]))) return;
}
- if (!s || s.every((e, t) => Z_(e, o(a[t])))) return "linear";
- let l = [], u = (e, t = c(e)) => l.push(qg(t) + " " + qg(o(e) * 100) + "%");
+ if (!s || s.every((e, t) => X_(e, o(a[t])))) return "linear";
+ let l = [], u = (e, t = c(e)) => l.push(Kg(t) + " " + Kg(o(e) * 100) + "%");
return s.forEach((e, t) => {
t && Math.abs(e - s[t - 1]) > .2 && x(c, a[t - 1], a[t]).forEach((e) => u(e)), u(a[t], e);
}), "linear(" + l + ")";
}, C = (e, t, n, r) => {
- let i = [t], a = (t, n) => e.every((e) => !(Math.abs(e.numberAt((t + n) / 2) - (e.numberAt(t) + e.numberAt(n)) / 2) > (e.name.startsWith("scale") ? ete : $ee))), o = (t, n, r) => {
+ let i = [t], a = (t, n) => e.every((e) => !(Math.abs(e.numberAt((t + n) / 2) - (e.numberAt(t) + e.numberAt(n)) / 2) > (e.name.startsWith("scale") ? tte : ete))), o = (t, n, r) => {
if (n - t < 1 || a(t, n)) i.push(n);
else if (r < 4) o(t, (t + n) / 2, r + 1), o((t + n) / 2, n, r + 1);
else {
for (let r of e) i.push(...x((e) => r.numberAt(e), t, n));
i.push(n);
}
- }, s = $_(t, n, Math.ceil((n - t) / 100));
+ }, s = Q_(t, n, Math.ceil((n - t) / 100));
for (let e of r) s.push(e, Math.min(e + .01, n));
let c = t;
- for (let e of s.sort(Q_)) e > c && o(c, e, 0), c = e;
- return i.sort(Q_);
+ for (let e of s.sort(Z_)) e > c && o(c, e, 0), c = e;
+ return i.sort(Z_);
}, w = (e) => {
let t;
for (let n of e) {
@@ -17460,10 +17460,10 @@ function ote(e) {
d.push(e), c = Math.max(c, n);
}
}
- i = {}, a = f_.filter((t) => {
+ i = {}, a = d_.filter((t) => {
if (r.has(t)) return !0;
- let n = i[t] = rv(e, t);
- return n !== void 0 && !J_(t, n);
+ let n = i[t] = nv(e, t);
+ return n !== void 0 && !q_(t, n);
}), v(!1);
let m = !l && w(d);
try {
@@ -17509,18 +17509,18 @@ function ote(e) {
r && n.updatePlaybackRate && n.playState === "running" && Math.abs(Number(n.currentTime) - o) < 20 ? n.playbackRate !== r && n.updatePlaybackRate(r) : r ? (n.playbackRate = r, n.startTime = e - o / r) : (n.startTime = null, n.currentTime = o);
}
return !0;
- }, O = () => !n.size && (u = !0, tv(t) === A && Y_.delete(t), A.isJS || v(), !0), k = () => {
+ }, O = () => !n.size && (u = !0, ev(t) === A && J_.delete(t), A.isJS || v(), !0), k = () => {
let t = $m.now();
if (A.isJS || (A.isFinishing = !0, n.forEach((n) => {
let [r, a] = n.timing();
- n.state === "running" && n.speed > 0 && !a && r <= t + 1 && (n.complete(), i[n.name] = rv(e, n.name), o.has(n) || (c = !0));
- }), A.isFinishing = !1), l = !1, u || (n.forEach((e) => nv(e) && n.delete(e)), O())) return;
+ n.state === "running" && n.speed > 0 && !a && r <= t + 1 && (n.complete(), i[n.name] = nv(e, n.name), o.has(n) || (c = !0));
+ }), A.isFinishing = !1), l = !1, u || (n.forEach((e) => tv(e) && n.delete(e)), O())) return;
for (let e of n) if (!e.canAccelerate) return A.demote(!0);
A.isJS && (A.isJS = !1, c = !0, n.forEach((e) => e.js?.stop()));
let r = c, a = d;
if (c = d = !1, r || !D(t)) {
if (a) {
- if (t - f < tte) return A.demote();
+ if (t - f < nte) return A.demote();
f = t;
}
if (!E(t)) return A.demote();
@@ -17533,11 +17533,11 @@ function ote(e) {
u || (c ||= e, d ||= !!t, l || (l = !0, Xm.isProcessing ? pg.render(k, !1, !0) : queueMicrotask(k)));
},
release(e) {
- nv(e) && n.delete(e), O() || A.schedule(!0);
+ tv(e) && n.delete(e), O() || A.schedule(!0);
},
check() {
if (!A.isJS) {
- for (let t in i) if (rv(e, t) !== i[t] && !p(t)) return A.schedule(!0, !0);
+ for (let t in i) if (nv(e, t) !== i[t] && !p(t)) return A.schedule(!0, !0);
}
},
demote(e) {
@@ -17546,40 +17546,40 @@ function ote(e) {
}), A.isJS = !0, o = /* @__PURE__ */ new Map(), v(), n.forEach((e) => e.state === "running" && e.js?.start()), !0;
}
};
- return Y_.set(t, A), A;
+ return J_.set(t, A), A;
}
// node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs
-var ste = class extends Kg {
+var cte = class extends Gg {
constructor(e) {
super(), this.stop = () => {
this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();
}, this.createdAt = $m.now();
let { keyframes: t, name: n, motionValue: r, element: i } = e, a = e;
a.autoplay ??= !0, a.delay ??= 0, a.type ??= "keyframes", a.repeat ??= 0, a.repeatDelay ??= 0, a.repeatType ??= "loop";
- let o = i?.KeyframeResolver || T_;
+ let o = i?.KeyframeResolver || w_;
this.keyframeResolver = new o(t, (e, t, n) => this.onKeyframesResolved(e, t, a, !n), n, r, i), this.keyframeResolver?.scheduleResolve();
}
onKeyframesResolved(e, t, n, r) {
this.keyframeResolver = void 0;
let { name: i, type: a, velocity: o, delay: s, isHandoff: c, onUpdate: l } = n;
this.resolvedAt = $m.now();
- let u = Jee(e, i, a, o);
- u || ((_m.instantAnimations || !s) && l?.(Vg(e, n, t)), e[0] = e[e.length - 1], L_(n), n.repeat = 0);
+ let u = Yee(e, i, a, o);
+ u || ((_m.instantAnimations || !s) && l?.(Bg(e, n, t)), e[0] = e[e.length - 1], I_(n), n.repeat = 0);
let { onComplete: d } = n;
n.finalKeyframe = t, n.keyframes = e, n.onComplete = () => {
d?.(), this.notifyFinished();
};
- let f = u && !c && H_(n), p = !f && rte(n);
- r && (f || p || this.resolvedAt !== this.createdAt) && (n.startTime ??= Ug(this.createdAt, this.resolvedAt));
+ let f = u && !c && V_(n), p = !f && ite(n);
+ r && (f || p || this.resolvedAt !== this.createdAt) && (n.startTime ??= Hg(this.createdAt, this.resolvedAt));
let m;
if (f) {
n.element = n.motionValue?.owner?.current;
try {
- m = new Kee(n);
+ m = new qee(n);
} catch {
- m = new Jg(n);
+ m = new qg(n);
}
- } else m = p ? new ate(n) : new Jg(n);
+ } else m = p ? new ote(n) : new qg(n);
this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;
}
get finished() {
@@ -17592,7 +17592,7 @@ var ste = class extends Kg {
return this._animation?.liveValue?.();
}
get animation() {
- return this._animation || (this.keyframeResolver?.resume(), Ree()), this._animation;
+ return this._animation || (this.keyframeResolver?.resume(), zee()), this._animation;
}
get duration() {
return this.animation.duration;
@@ -17633,7 +17633,7 @@ var ste = class extends Kg {
cancel() {
this._animation?.cancel(), this.keyframeResolver?.cancel();
}
-}, cte = class {
+}, lte = class {
constructor(e) {
this.stop = () => this.runAll("stop"), this.animations = e.filter(Boolean);
}
@@ -17673,10 +17673,10 @@ var ste = class extends Kg {
return this.getAll("startTime");
}
get duration() {
- return iv(this.animations, "duration");
+ return rv(this.animations, "duration");
}
get iterationDuration() {
- return iv(this.animations, "iterationDuration");
+ return rv(this.animations, "iterationDuration");
}
runAll(e) {
this.animations.forEach((t) => t[e]());
@@ -17694,7 +17694,7 @@ var ste = class extends Kg {
this.runAll("complete");
}
};
-function iv(e, t) {
+function rv(e, t) {
let n = 0;
for (let r = 0; r < e.length; r++) {
let i = e[r][t];
@@ -17703,22 +17703,22 @@ function iv(e, t) {
return n;
}
// node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs
-var av = class extends cte {
+var iv = class extends lte {
then(e, t) {
return this.finished.finally(e).then(() => {});
}
-}, ov = /* @__PURE__ */ new WeakMap(), lte = (e, t = "") => `${e}:${t}`;
-function ute(e) {
- let t = ov.get(e);
- return t || (t = /* @__PURE__ */ new Map(), ov.set(e, t)), t;
+}, av = /* @__PURE__ */ new WeakMap(), ute = (e, t = "") => `${e}:${t}`;
+function dte(e) {
+ let t = av.get(e);
+ return t || (t = /* @__PURE__ */ new Map(), av.set(e, t)), t;
}
// node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs
-function sv(e, t, n, r = 0, i = 1) {
+function ov(e, t, n, r = 0, i = 1) {
let a = Array.from(e).sort((e, t) => e.sortNodePosition(t)).indexOf(t), o = e.size, s = (o - 1) * r;
return typeof n == "function" ? n(a, o) : i === 1 ? a * r : s - a * r;
}
// node_modules/motion-dom/dist/es/value/index.mjs
-var cv = 30, dte = (e) => !isNaN(parseFloat(e)), lv = { current: void 0 }, uv = class {
+var sv = 30, fte = (e) => !isNaN(parseFloat(e)), cv = { current: void 0 }, lv = class {
constructor(e, t = {}) {
this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (e) => {
let t = $m.now();
@@ -17726,7 +17726,7 @@ var cv = 30, dte = (e) => !isNaN(parseFloat(e)), lv = { current: void 0 }, uv =
}, this.hasAnimated = !1, this.setCurrent(e), this.owner = t.owner;
}
setCurrent(e) {
- this.current = e, this.updatedAt = $m.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = dte(this.current));
+ this.current = e, this.updatedAt = $m.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = fte(this.current));
}
setPrevFrameValue(e = this.current) {
this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;
@@ -17776,7 +17776,7 @@ var cv = 30, dte = (e) => !isNaN(parseFloat(e)), lv = { current: void 0 }, uv =
this.dependents?.delete(e);
}
get() {
- lv.current?.push(this);
+ cv.current?.push(this);
let e = this.animation?.liveValue?.();
return e === void 0 ? this.current : e;
}
@@ -17788,8 +17788,8 @@ var cv = 30, dte = (e) => !isNaN(parseFloat(e)), lv = { current: void 0 }, uv =
}
getVelocity() {
let e = $m.now();
- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > cv) return 0;
- let t = Math.min(this.updatedAt - this.prevUpdatedAt, cv);
+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > sv) return 0;
+ let t = Math.min(this.updatedAt - this.prevUpdatedAt, sv);
return /* @__PURE__ */ Om(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);
}
start(e) {
@@ -17811,11 +17811,11 @@ var cv = 30, dte = (e) => !isNaN(parseFloat(e)), lv = { current: void 0 }, uv =
this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect?.();
}
};
-function dv(e, t) {
- return new uv(e, t);
+function uv(e, t) {
+ return new lv(e, t);
}
// node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs
-function fv(e, t) {
+function dv(e, t) {
if (e?.inherit && t) {
let { inherit: n, ...r } = e;
return {
@@ -17826,25 +17826,25 @@ function fv(e, t) {
return e;
}
// node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs
-function pv(e, t) {
+function fv(e, t) {
let n = e?.[t] ?? e?.default ?? e;
- return n === e ? n : fv(n, e);
+ return n === e ? n : dv(n, e);
}
// node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs
-var fte = {
+var pte = {
type: "spring",
stiffness: 500,
damping: 25,
restSpeed: 10
-}, pte = (e) => ({
+}, mte = (e) => ({
type: "spring",
stiffness: 550,
damping: e === 0 ? 2 * Math.sqrt(550) : 30,
restSpeed: 10
-}), mte = {
+}), hte = {
type: "keyframes",
duration: .8
-}, hte = {
+}, gte = {
type: "keyframes",
ease: [
.25,
@@ -17853,7 +17853,7 @@ var fte = {
1
],
duration: .3
-}, gte = (e, { keyframes: t }) => t.length > 2 ? mte : p_.has(e) ? e.startsWith("scale") ? pte(t[1]) : fte : hte, _te = /* @__PURE__ */ new Set([
+}, _te = (e, { keyframes: t }) => t.length > 2 ? hte : f_.has(e) ? e.startsWith("scale") ? mte(t[1]) : pte : gte, vte = /* @__PURE__ */ new Set([
"when",
"delay",
"delayChildren",
@@ -17867,13 +17867,13 @@ var fte = {
"out",
"mixer"
]);
-function vte(e) {
- for (let t in e) if (!_te.has(t)) return !0;
+function yte(e) {
+ for (let t in e) if (!vte.has(t)) return !0;
return !1;
}
// node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs
-var mv = (e, t, n, r = {}, i, a) => (o) => {
- let s = pv(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;
+var pv = (e, t, n, r = {}, i, a) => (o) => {
+ let s = fv(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;
l -= /* @__PURE__ */ Em(c);
let u = {
keyframes: Array.isArray(n) ? n : [null, n],
@@ -17892,10 +17892,10 @@ var mv = (e, t, n, r = {}, i, a) => (o) => {
element: a ? void 0 : i,
hasOnUpdate: !!s.onUpdate
};
- vte(s) || Object.assign(u, gte(e, u)), u.duration &&= /* @__PURE__ */ Em(u.duration), u.repeatDelay &&= /* @__PURE__ */ Em(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);
+ yte(s) || Object.assign(u, _te(e, u)), u.duration &&= /* @__PURE__ */ Em(u.duration), u.repeatDelay &&= /* @__PURE__ */ Em(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);
let d = !1;
- if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (L_(u), u.delay === 0 && (d = !0)), (_m.instantAnimations || _m.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, L_(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {
- let e = Vg(u.keyframes, s);
+ if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (I_(u), u.delay === 0 && (d = !0)), (_m.instantAnimations || _m.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, I_(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {
+ let e = Bg(u.keyframes, s);
if (e !== void 0) {
pg.update(() => {
u.onUpdate(e), u.onComplete();
@@ -17903,103 +17903,103 @@ var mv = (e, t, n, r = {}, i, a) => (o) => {
return;
}
}
- return s.isSync ? new Jg(u) : new ste(u);
-}, yte = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
-function bte(e) {
- let t = yte.exec(e);
+ return s.isSync ? new qg(u) : new cte(u);
+}, bte = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
+function xte(e) {
+ let t = bte.exec(e);
if (!t) return [,];
let [, n, r, i] = t;
return [`--${n ?? r}`, i];
}
-function hv(e, t, n = 1) {
- let [r, i] = bte(e);
+function mv(e, t, n = 1) {
+ let [r, i] = xte(e);
if (!r) return;
let a = window.getComputedStyle(t).getPropertyValue(r);
if (a) {
let e = a.trim();
return vm(e) ? parseFloat(e) : e;
}
- return ih(i) ? hv(i, t, n + 1) : i;
+ return ih(i) ? mv(i, t, n + 1) : i;
}
// node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs
-function xte(e) {
+function Ste(e) {
let t = [{}, {}];
return e?.values.forEach((e, n) => {
t[0][n] = e.get(), t[1][n] = e.getVelocity();
}), t;
}
-function gv(e, t, n, r) {
- let i = (t) => typeof t == "function" ? t(n === void 0 ? e.custom : n, ...xte(r)) : t;
+function hv(e, t, n, r) {
+ let i = (t) => typeof t == "function" ? t(n === void 0 ? e.custom : n, ...Ste(r)) : t;
return t = i(t), typeof t == "string" && (t = e.variants && e.variants[t]), i(t);
}
// node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs
-function _v(e, t, n) {
- return gv(e.getProps(), t, n, e);
+function gv(e, t, n) {
+ return hv(e.getProps(), t, n, e);
}
-var vv = (e, t) => t === "exit" ? e.presenceContext?.custom : void 0, yv = /* @__PURE__ */ new Set([
+var _v = (e, t) => t === "exit" ? e.presenceContext?.custom : void 0, vv = /* @__PURE__ */ new Set([
"width",
"height",
"top",
"left",
"right",
"bottom",
- ...f_
-]), Ste = (e) => Array.isArray(e);
+ ...d_
+]), Cte = (e) => Array.isArray(e);
// node_modules/motion-dom/dist/es/render/utils/setters.mjs
-function Cte(e, t, n) {
- e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, dv(n));
+function wte(e, t, n) {
+ e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, uv(n));
}
-function wte(e) {
- return Ste(e) ? e[e.length - 1] || 0 : e;
+function Tte(e) {
+ return Cte(e) ? e[e.length - 1] || 0 : e;
}
-function Tte(e, t) {
- let { transitionEnd: n = {}, transition: r = {}, ...i } = _v(e, t) || {};
+function Ete(e, t) {
+ let { transitionEnd: n = {}, transition: r = {}, ...i } = gv(e, t) || {};
i = {
...i,
...n
};
- for (let t in i) Cte(e, t, wte(i[t]));
+ for (let t in i) wte(e, t, Tte(i[t]));
}
// node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs
-var bv = (e) => !!(e && e.getVelocity);
+var yv = (e) => !!(e && e.getVelocity);
// node_modules/motion-dom/dist/es/value/will-change/is.mjs
-function Ete(e) {
- return !!(bv(e) && e.add);
+function Dte(e) {
+ return !!(yv(e) && e.add);
}
// node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs
-function xv(e, t) {
+function bv(e, t) {
let n = e.getValue("willChange");
- if (Ete(n)) return n.add(t);
+ if (Dte(n)) return n.add(t);
if (!n && _m.WillChange) {
let n = new _m.WillChange("auto");
e.addValue("willChange", n), n.add(t);
}
}
// node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.mjs
-var Sv = "data-framer-appear-id";
+var xv = "data-framer-appear-id";
// node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs
-function Cv(e) {
- return e.props[Sv];
+function Sv(e) {
+ return e.props[xv];
}
// node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs
-var Dte = typeof window < "u";
-function Ote({ protectedKeys: e, needsAnimating: t }, n) {
+var Ote = typeof window < "u";
+function kte({ protectedKeys: e, needsAnimating: t }, n) {
let r = n in e && !t[n];
return t[n] = !1, r;
}
-function wv(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
+function Cv(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
let { transition: a, transitionEnd: o, ...s } = t, c = e.getDefaultTransition();
- a = a ? fv(a, c) : c;
+ a = a ? dv(a, c) : c;
let l = a?.reduceMotion, u = a?.skipAnimations;
r && (a = r);
let d = [], f = i && e.animationState?.getState()[i], p = a?.path;
p && (p.animateValues ? p.animateValues((t) => e.getValue(t, e.latestValues[t] ?? 0), s, a, n, d) : p.animateVisualElement?.(e, s, a, n, d));
for (let t in s) {
let r = e.getValue(t, e.latestValues[t] ?? null), i = s[t];
- if (i === void 0 || f && Ote(f, t)) continue;
+ if (i === void 0 || f && kte(f, t)) continue;
let o = {
delay: n,
- ...pv(f?.out[t] || a || {}, t)
+ ...fv(f?.out[t] || a || {}, t)
};
u && (o.skipAnimations = !0);
let c = r.get();
@@ -18008,79 +18008,79 @@ function wv(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
continue;
}
let p = !1;
- if (Dte && window.MotionHandoffAnimation) {
- let n = Cv(e);
+ if (Ote && window.MotionHandoffAnimation) {
+ let n = Sv(e);
if (n) {
let e = window.MotionHandoffAnimation(n, t, pg);
e !== null && (o.startTime = e, p = !0);
}
}
- xv(e, t);
+ bv(e, t);
let m = l ?? e.shouldReduceMotion;
- r.start(mv(t, r, i, m && yv.has(t) ? { type: !1 } : o, e, p));
+ r.start(pv(t, r, i, m && vv.has(t) ? { type: !1 } : o, e, p));
let h = r.animation;
h && d.push(h);
}
if (o) {
let t = () => pg.update(() => {
- o && Tte(e, o);
+ o && Ete(e, o);
});
d.length ? Promise.all(d).then(t) : t();
}
return d;
}
// node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs
-function Tv(e, t, n = {}) {
- let r = _v(e, t, vv(e, n.type)), i = n.transitionOverride || (r?.transition ?? (e.getDefaultTransition() || {})), a = () => Promise.all(r ? wv(e, r, n) : []), o = (r = 0) => {
+function wv(e, t, n = {}) {
+ let r = gv(e, t, _v(e, n.type)), i = n.transitionOverride || (r?.transition ?? (e.getDefaultTransition() || {})), a = () => Promise.all(r ? Cv(e, r, n) : []), o = (r = 0) => {
let { variantChildren: a } = e, { delayChildren: o = 0, staggerChildren: s, staggerDirection: c } = i, l = [];
return a?.forEach((e) => {
- e.notify("AnimationStart", t), l.push(Tv(e, t, {
+ e.notify("AnimationStart", t), l.push(wv(e, t, {
...n,
- delay: r + (typeof o == "function" ? 0 : o) + sv(a, e, o, s, c)
+ delay: r + (typeof o == "function" ? 0 : o) + ov(a, e, o, s, c)
}).then(() => e.notify("AnimationComplete", t)));
}), Promise.all(l);
}, { when: s } = i;
return s ? s === "beforeChildren" ? a().then(() => o()) : o().then(a) : Promise.all([a(), o(n.delay)]);
}
// node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs
-function kte(e, t, n = {}) {
- return e.notify("AnimationStart", t), (Array.isArray(t) ? Promise.all(t.map((t) => Tv(e, t, n))) : typeof t == "string" ? Tv(e, t, n) : Promise.all(wv(e, _v(e, t, n.custom), n))).then(() => {
+function Ate(e, t, n = {}) {
+ return e.notify("AnimationStart", t), (Array.isArray(t) ? Promise.all(t.map((t) => wv(e, t, n))) : typeof t == "string" ? wv(e, t, n) : Promise.all(Cv(e, gv(e, t, n.custom), n))).then(() => {
e.notify("AnimationComplete", t);
});
}
// node_modules/motion-dom/dist/es/value/types/auto.mjs
-var Ate = {
+var jte = {
test: (e) => e === "auto",
parse: (e) => e
-}, jte = (e) => (t) => t.test(e), Mte = [
+}, Mte = (e) => (t) => t.test(e), Nte = [
sh,
wh,
Ch,
Sh,
Eh,
Th,
- Ate
-], Ev = (e) => Mte.find(jte(e));
+ jte
+], Tv = (e) => Nte.find(Mte(e));
// node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs
-function Nte(e) {
+function Pte(e) {
return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || bm(e);
}
// node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs
-var Pte = /* @__PURE__ */ new Set([
+var Fte = /* @__PURE__ */ new Set([
"auto",
"none",
"0"
]);
-function Fte(e, t, n) {
+function Ite(e, t, n) {
let r = 0, i;
for (; r < e.length && !i;) {
let t = e[r];
- typeof t == "string" && !Pte.has(t) && Bh(t) && (i = e[r]), r++;
+ typeof t == "string" && !Fte.has(t) && Bh(t) && (i = e[r]), r++;
}
- if (i && n) for (let r of t) e[r] !== i && (e[r] = t_(n, i));
+ if (i && n) for (let r of t) e[r] !== i && (e[r] = e_(n, i));
}
// node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs
-var Dv = class extends T_ {
+var Ev = class extends w_ {
constructor() {
super(...arguments), this.isAsync = !0;
}
@@ -18101,31 +18101,31 @@ var Dv = class extends T_ {
for (let n = 0; n < e.length; n++) {
let r = e[n];
if (typeof r == "string" && (r = r.trim(), ih(r))) {
- let i = hv(r, t.current);
+ let i = mv(r, t.current);
i !== void 0 && (e[n] = i), n === e.length - 1 && (this.finalKeyframe = r);
}
}
- if (this.resolveNoneKeyframes(), !yv.has(n) || e.length !== 2) return;
+ if (this.resolveNoneKeyframes(), !vv.has(n) || e.length !== 2) return;
let [r, i] = e;
if (typeof r == "number" && typeof i == "number") return;
- let a = Ev(r), o = Ev(i);
- if (oh(r) !== oh(i) && v_[n]) this.needsMeasurement = !0;
+ let a = Tv(r), o = Tv(i);
+ if (oh(r) !== oh(i) && __[n]) this.needsMeasurement = !0;
else if (a !== o) {
- if (m_(a) && m_(o)) for (let t = 0; t < e.length; t++) {
+ if (p_(a) && p_(o)) for (let t = 0; t < e.length; t++) {
let n = e[t];
typeof n == "string" && (e[t] = parseFloat(n));
}
- else v_[n] && (this.needsMeasurement = !0);
+ else __[n] && (this.needsMeasurement = !0);
}
}
resolveNoneKeyframes() {
let { unresolvedKeyframes: e, name: t } = this, n = [];
- for (let t = 0; t < e.length; t++) (e[t] === null || Nte(e[t])) && n.push(t);
- n.length && Fte(e, n, t);
+ for (let t = 0; t < e.length; t++) (e[t] === null || Pte(e[t])) && n.push(t);
+ n.length && Ite(e, n, t);
}
measure() {
let { element: e, name: t } = this;
- return v_[t](window.getComputedStyle(e.current), () => e.measureViewportBox());
+ return __[t](window.getComputedStyle(e.current), () => e.measureViewportBox());
}
measureInitialState() {
let { element: e, unresolvedKeyframes: t, name: n } = this;
@@ -18141,19 +18141,19 @@ var Dv = class extends T_ {
let n = t.length - 1, r = t[n];
t[n] = this.measure(), r !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = r), this.resolveNoneKeyframes();
}
-}, Ov = [
+}, Dv = [
"borderTopLeftRadius",
"borderTopRightRadius",
"borderBottomRightRadius",
"borderBottomLeftRadius"
-], Ite = /* @__PURE__ */ new Set([
+], Lte = /* @__PURE__ */ new Set([
"borderWidth",
"borderTopWidth",
"borderRightWidth",
"borderBottomWidth",
"borderLeftWidth",
"borderRadius",
- ...Ov,
+ ...Dv,
"width",
"maxWidth",
"height",
@@ -18196,21 +18196,21 @@ var Dv = class extends T_ {
"backgroundPositionY"
]);
// node_modules/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs
-function Lte(e, t) {
- for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Ite.has(t) && (e[n] = e[n] + "px");
+function Rte(e, t) {
+ for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Lte.has(t) && (e[n] = e[n] + "px");
}
// node_modules/motion-dom/dist/es/animation/animate/effects.mjs
-var kv = [];
-function Rte(e) {
- Av(e), kv.unshift(e);
+var Ov = [];
+function zte(e) {
+ kv(e), Ov.unshift(e);
}
-function Av(e) {
- hm(kv, e);
+function kv(e) {
+ hm(Ov, e);
}
-function zte(e) {
- return kv.find((t) => t.test(e));
+function Bte(e) {
+ return Ov.find((t) => t.test(e));
}
-function jv(e, t, n = {}, r) {
+function Av(e, t, n = {}, r) {
let i = [], { velocity: a, path: o } = n, s = n.reduceMotion ?? r?.shouldReduceMotion;
o?.animateValues && r && (t = { ...t }, o.animateValues(e, t, n, 0, i));
for (let o in t) {
@@ -18218,7 +18218,7 @@ function jv(e, t, n = {}, r) {
let c = t[o];
if (c === void 0) continue;
let l = e(o), u = l.get();
- u !== void 0 && !l.isAnimating() && !Array.isArray(c) && c === u && !a ? pg.update(() => l.set(c)) : (l.start(mv(o, l, c, s && yv.has(o) ? { type: !1 } : n, r)), l.animation && i.push(l.animation));
+ u !== void 0 && !l.isAnimating() && !Array.isArray(c) && c === u && !a ? pg.update(() => l.set(c)) : (l.start(pv(o, l, c, s && vv.has(o) ? { type: !1 } : n, r)), l.animation && i.push(l.animation));
}
let { transitionEnd: c } = t;
if (c) {
@@ -18229,50 +18229,50 @@ function jv(e, t, n = {}, r) {
}
return i;
}
-function Mv(e, t, n, r, i) {
- return jv((r) => {
+function jv(e, t, n, r, i) {
+ return Av((r) => {
let a = e.get(t, r);
if (!a) {
let o;
if (!i) {
let i = n[r];
- o = Bte(i) ?? e.read(t, r, i);
+ o = Vte(i) ?? e.read(t, r, i);
}
- a = dv(o, { owner: i }), e(t, { [r]: a });
+ a = uv(o, { owner: i }), e(t, { [r]: a });
}
return a;
}, n, r, i);
}
-function Bte(e) {
+function Vte(e) {
let t = Array.isArray(e) ? e[0] : void 0;
return t === null ? void 0 : t;
}
// node_modules/motion-dom/dist/es/utils/is-html-element.mjs
-function Nv(e) {
+function Mv(e) {
return ym(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
}
// node_modules/motion-dom/dist/es/utils/is-svg-element.mjs
-function Pv(e) {
+function Nv(e) {
return ym(e) && "ownerSVGElement" in e;
}
// node_modules/motion-dom/dist/es/scope/active.mjs
-var Fv = {};
-function Iv(e) {
- return Fv.current?.add(e), e;
+var Pv = {};
+function Fv(e) {
+ return Pv.current?.add(e), e;
}
-var Lv = (e) => Fv.current ? Fv.current.bind(e) : e;
+var Iv = (e) => Pv.current ? Pv.current.bind(e) : e;
// node_modules/motion-dom/dist/es/utils/resolve-elements.mjs
-function Rv(e, t, n) {
+function Lv(e, t, n) {
if (e == null) return [];
if (e instanceof EventTarget) return [e];
if (typeof e == "string") {
- let r = t ? t.current : Fv.current?.root || document, i = n?.[e] ?? r.querySelectorAll(e);
+ let r = t ? t.current : Pv.current?.root || document, i = n?.[e] ?? r.querySelectorAll(e);
return i ? Array.from(i) : [];
}
return Array.from(e).filter((e) => e != null);
}
// node_modules/motion-dom/dist/es/effects/MotionValueState.mjs
-var Vte = class {
+var Hte = class {
constructor(e = pg.render) {
this.step = e, this.values = /* @__PURE__ */ new Map(), this.pending = [], this.numPending = 0, this.flush = () => {
let { pending: e, numPending: t } = this;
@@ -18316,10 +18316,10 @@ var Vte = class {
}
};
// node_modules/motion-dom/dist/es/effects/utils/create-effect.mjs
-function zv(e, { step: t, ...n } = {}) {
+function Rv(e, { step: t, ...n } = {}) {
let r = /* @__PURE__ */ new WeakMap();
return Object.assign((n, i) => {
- let a = r.get(n) ?? new Vte(t);
+ let a = r.get(n) ?? new Hte(t);
r.set(n, a);
let o = [];
for (let t in i) {
@@ -18336,83 +18336,83 @@ function zv(e, { step: t, ...n } = {}) {
});
}
// node_modules/motion-dom/dist/es/effects/style/transform.mjs
-function Hte(e) {
+function Ute(e) {
let t = "", { transformKeys: n = [], transformValues: r = {} } = e;
for (let e = 0; e < n.length; e++) {
let i = n[e], a = r[i].getCurrent();
- a !== void 0 && (J_(i, a) || (t += (t && " ") + q_(i, a)));
+ a !== void 0 && (q_(i, a) || (t += (t && " ") + K_(i, a)));
}
let i = e.get("pathRotation")?.get();
- return i && (t += (t && " ") + q_("rotate", i)), t || "none";
+ return i && (t += (t && " ") + K_("rotate", i)), t || "none";
}
// node_modules/motion-dom/dist/es/effects/style/index.mjs
-var Bv = /* @__PURE__ */ new Set([
+var zv = /* @__PURE__ */ new Set([
"originX",
"originY",
"originZ"
-]), Vv = (e, t) => U_(e.get(t)?.get(), $g[t]), Hv = (e, t, n, r) => {
+]), Bv = (e, t) => H_(e.get(t)?.get(), Qg[t]), Vv = (e, t, n, r) => {
let i, a;
- if (p_.has(n)) {
+ if (f_.has(n)) {
if (n !== "pathRotation") {
let e = t.transformKeys ??= [];
- (t.transformValues ??= {})[n] = r, e.includes(n) || (e.push(n), e.sort((e, t) => f_.indexOf(e) - f_.indexOf(t)));
+ (t.transformValues ??= {})[n] = r, e.includes(n) || (e.push(n), e.sort((e, t) => d_.indexOf(e) - d_.indexOf(t)));
}
- t.get("transform") || (!Nv(e) && !t.get("transformBox") && Hv(e, t, "transformBox", new uv("fill-box")), t.set("transform", new uv("none"), () => {
- Y_.get(e)?.check(), e.style.transform = Hte(t);
+ t.get("transform") || (!Mv(e) && !t.get("transformBox") && Vv(e, t, "transformBox", new lv("fill-box")), t.set("transform", new lv("none"), () => {
+ J_.get(e)?.check(), e.style.transform = Ute(t);
})), a = t.get("transform");
- } else Bv.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new uv(""), () => {
- let n = Vv(t, "originX") ?? "50%", r = Vv(t, "originY") ?? "50%", i = Vv(t, "originZ") ?? 0;
+ } else zv.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new lv(""), () => {
+ let n = Bv(t, "originX") ?? "50%", r = Bv(t, "originY") ?? "50%", i = Bv(t, "originZ") ?? 0;
e.style.transformOrigin = `${n} ${r} ${i}`;
- }), a = t.get("transformOrigin")) : i = E_(n) ? () => {
+ }), a = t.get("transformOrigin")) : i = T_(n) ? () => {
e.style.setProperty(n, r.getCurrent());
} : () => {
- e.style[n] = U_(r.getCurrent(), $g[n]);
+ e.style[n] = H_(r.getCurrent(), Qg[n]);
};
return t.set(n, r, i, a);
-}, Ute = (e) => Nv(e) || Pv(e), Uv = (e, t) => {
- if (p_.has(t)) return d_(e, t);
- let n = getComputedStyle(e), r = E_(t) ? n.getPropertyValue(t) : n[t];
+}, Wte = (e) => Mv(e) || Nv(e), Hv = (e, t) => {
+ if (f_.has(t)) return u_(e, t);
+ let n = getComputedStyle(e), r = T_(t) ? n.getPropertyValue(t) : n[t];
return typeof r == "string" && r.trim() || 0;
-}, Wte = /*@__PURE__*/ zv(Hv, {
- test: Ute,
- read: Uv
+}, Gte = /*@__PURE__*/ Rv(Vv, {
+ test: Wte,
+ read: Hv
});
// node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs
-function Wv(e) {
+function Uv(e) {
return e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);
}
// node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs
-function Gv(e, t, n) {
+function Wv(e, t, n) {
let { style: r, vars: i, transformOrigin: a } = e, o = !1, s = !1;
for (let e in t) {
let n = t[e];
- if (p_.has(e)) o = !0;
+ if (f_.has(e)) o = !0;
else if (nh(e)) i[e] = n;
else {
- let t = U_(n, $g[e]);
+ let t = H_(n, Qg[e]);
e.startsWith("origin") ? (s = !0, a[e] = t) : r[e] = t;
}
}
- if (t.transform || (o || n ? r.transform = Zee(t, e.transform, n) : r.transform &&= "none"), s) {
+ if (t.transform || (o || n ? r.transform = Qee(t, e.transform, n) : r.transform &&= "none"), s) {
let { originX: e = "50%", originY: t = "50%", originZ: n = 0 } = a;
r.transformOrigin = `${e} ${t} ${n}`;
}
}
// node_modules/motion-dom/dist/es/render/svg/utils/path.mjs
-var Gte = {
+var Kte = {
offset: "stroke-dashoffset",
array: "stroke-dasharray"
-}, Kte = {
+}, qte = {
offset: "strokeDashoffset",
array: "strokeDasharray"
};
-function qte(e, t, n = 1, r = 0, i = !0) {
+function Jte(e, t, n = 1, r = 0, i = !0) {
e.pathLength = 1;
- let a = i ? Gte : Kte;
+ let a = i ? Kte : qte;
e[a.offset] = `${-r}`, e[a.array] = `${t} ${n}`;
}
// node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs
-var Kv = [
+var Gv = [
"transform",
"opacity",
"clipPath",
@@ -18422,55 +18422,55 @@ var Kv = [
"offsetRotate",
"offsetAnchor"
];
-function qv(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
- if (Gv(e, s, l), c) {
+function Kv(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
+ if (Wv(e, s, l), c) {
e.style.viewBox && (e.attrs.viewBox = e.style.viewBox);
return;
}
e.attrs = e.style, e.style = {};
let { attrs: d, style: f } = e;
- for (let e of Kv) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
- (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox), t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && qte(d, i, a, o, !1);
+ for (let e of Gv) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
+ (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox), t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && Jte(d, i, a, o, !1);
}
// node_modules/motion-dom/dist/es/effects/attr/index.mjs
-function Jte(e, t) {
+function Yte(e, t) {
if (!(t in e)) return !1;
let n = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e), t) || Object.getOwnPropertyDescriptor(e, t);
return n && typeof n.set == "function";
}
-var Jv = (e, t, n, r, i = n) => {
- let a = Jte(e, i);
- !a && (i.startsWith("data") || i.startsWith("aria")) && (i = Wv(i));
- let o = $g[n] || $g[i], s = a ? () => {
- e[i] = U_(r.get(), $g[n]);
+var qv = (e, t, n, r, i = n) => {
+ let a = Yte(e, i);
+ !a && (i.startsWith("data") || i.startsWith("aria")) && (i = Uv(i));
+ let o = Qg[n] || Qg[i], s = a ? () => {
+ e[i] = H_(r.get(), Qg[n]);
} : () => {
- let t = U_(r.get(), o);
+ let t = H_(r.get(), o);
t == null ? e.removeAttribute(i) : e.setAttribute(i, String(t));
};
return t.set(n, r, s);
};
// node_modules/motion-dom/dist/es/effects/svg/index.mjs
-function Yte(e, t, n, r) {
+function Xte(e, t, n, r) {
return pg.render(() => e.setAttribute("pathLength", "1")), n === "pathOffset" ? t.set(n, r, () => {
let t = r.get();
e.setAttribute("stroke-dashoffset", `${-t}`);
- }) : (t.get("stroke-dasharray") || t.set("stroke-dasharray", new uv("1 1"), () => {
+ }) : (t.get("stroke-dasharray") || t.set("stroke-dasharray", new lv("1 1"), () => {
let n = t.get("pathLength")?.get() ?? 1, r = t.get("pathSpacing")?.get();
e.setAttribute("stroke-dasharray", `${n} ${r ?? 1 - Number(n)}`);
}), t.set(n, r, void 0, t.get("stroke-dasharray")));
}
-var Xte = /*@__PURE__*/ zv((e, t, n, r) => n.startsWith("path") && !p_.has(n) ? Yte(e, t, n, r) : n.startsWith("attr") ? Jv(e, t, n, r, Yv(n)) : n === "d" ? t.set(n, r, () => {
+var Zte = /*@__PURE__*/ Rv((e, t, n, r) => n.startsWith("path") && !f_.has(n) ? Xte(e, t, n, r) : n.startsWith("attr") ? qv(e, t, n, r, Jv(n)) : n === "d" ? t.set(n, r, () => {
let t = r.get()?.replace(/path\(|["')]/g, "");
t === void 0 ? e.removeAttribute(n) : e.setAttribute(n, t);
-}) : (p_.has(n) || Bv.has(n) || E_(n) || n in e.style ? Hv : Jv)(e, t, n, r), {
- test: Pv,
- read: (e, t) => p_.has(t) ? $g[t]?.default || 0 : E_(t) || Kv.includes(t) ? Uv(e, t) || e.getAttribute(Wv(t)) || 0 : (t = Yv(t), e.getAttribute(Wv(t)) ?? e.getAttribute(t) ?? void 0)
+}) : (f_.has(n) || zv.has(n) || T_(n) || n in e.style ? Vv : qv)(e, t, n, r), {
+ test: Nv,
+ read: (e, t) => f_.has(t) ? Qg[t]?.default || 0 : T_(t) || Gv.includes(t) ? Hv(e, t) || e.getAttribute(Uv(t)) || 0 : (t = Jv(t), e.getAttribute(Uv(t)) ?? e.getAttribute(t) ?? void 0)
});
-function Yv(e) {
+function Jv(e) {
return e.replace(/^attr([A-Z])/, (e, t) => t.toLowerCase());
}
// node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs
-function Xv({ top: e, left: t, right: n, bottom: r }) {
+function Yv({ top: e, left: t, right: n, bottom: r }) {
return {
x: {
min: t,
@@ -18482,7 +18482,7 @@ function Xv({ top: e, left: t, right: n, bottom: r }) {
}
};
}
-function Zte({ x: e, y: t }) {
+function Qte({ x: e, y: t }) {
return {
top: t.min,
right: e.max,
@@ -18490,7 +18490,7 @@ function Zte({ x: e, y: t }) {
left: e.min
};
}
-function Qte(e, t) {
+function $te(e, t) {
if (!t) return e;
let n = t({
x: e.left,
@@ -18507,13 +18507,13 @@ function Qte(e, t) {
};
}
// node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs
-function Zv(e) {
+function Xv(e) {
return e === void 0 || e === 1;
}
-function Qv({ scale: e, scaleX: t, scaleY: n }) {
- return !Zv(e) || !Zv(t) || !Zv(n);
+function Zv({ scale: e, scaleX: t, scaleY: n }) {
+ return !Xv(e) || !Xv(t) || !Xv(n);
}
-var $v = [
+var Qv = [
"rotate",
"rotateX",
"rotateY",
@@ -18521,67 +18521,67 @@ var $v = [
"skewX",
"skewY"
];
+function $v(e) {
+ return Zv(e) || ty(e) || ey(e);
+}
function ey(e) {
- return Qv(e) || ny(e) || ty(e);
+ return e.z || e.rotate || e.rotateX || e.rotateY || e.rotateZ || e.skewX || e.skewY;
}
function ty(e) {
- return e.z || e.rotate || e.rotateX || e.rotateY || e.rotateZ || e.skewX || e.skewY;
+ return ny(e.x) || ny(e.y);
}
function ny(e) {
- return ry(e.x) || ry(e.y);
-}
-function ry(e) {
return e && e !== "0%";
}
// node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs
-function iy(e, t, n) {
+function ry(e, t, n) {
return n + t * (e - n);
}
-function ay(e, t, n, r, i) {
- return i !== void 0 && (e = iy(e, i, r)), iy(e, n, r) + t;
+function iy(e, t, n, r, i) {
+ return i !== void 0 && (e = ry(e, i, r)), ry(e, n, r) + t;
}
-function oy(e, t = 0, n = 1, r, i) {
- e.min = ay(e.min, t, n, r, i), e.max = ay(e.max, t, n, r, i);
+function ay(e, t = 0, n = 1, r, i) {
+ e.min = iy(e.min, t, n, r, i), e.max = iy(e.max, t, n, r, i);
}
-function sy(e, { x: t, y: n }) {
- oy(e.x, t.translate, t.scale, t.originPoint), oy(e.y, n.translate, n.scale, n.originPoint);
+function oy(e, { x: t, y: n }) {
+ ay(e.x, t.translate, t.scale, t.originPoint), ay(e.y, n.translate, n.scale, n.originPoint);
}
-var cy = .999999999999, ly = 1.0000000000001;
-function $te(e, t, n, r = !1) {
+var sy = .999999999999, cy = 1.0000000000001;
+function ene(e, t, n, r = !1) {
let i = n.length;
if (!i) return;
t.x = t.y = 1;
let a, o;
- for (let s = 0; s < i; s++) a = n[s], o = a.projectionDelta, a.options.visualElement?.props.style?.display !== "contents" && (r === !0 && a.options.layoutScroll && a.scroll && a !== a.root && (uy(e.x, -a.scroll.offset.x), uy(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, sy(e, o)), r && (r.path?.[s] || r) !== a && ey(a.latestValues) && py(e, a.latestValues, a.layout?.layoutBox));
- t.x < ly && t.x > cy && (t.x = 1), t.y < ly && t.y > cy && (t.y = 1);
+ for (let s = 0; s < i; s++) a = n[s], o = a.projectionDelta, a.options.visualElement?.props.style?.display !== "contents" && (r === !0 && a.options.layoutScroll && a.scroll && a !== a.root && (ly(e.x, -a.scroll.offset.x), ly(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, oy(e, o)), r && (r.path?.[s] || r) !== a && $v(a.latestValues) && fy(e, a.latestValues, a.layout?.layoutBox));
+ t.x < cy && t.x > sy && (t.x = 1), t.y < cy && t.y > sy && (t.y = 1);
}
-function uy(e, t) {
+function ly(e, t) {
e.min += t, e.max += t;
}
-function dy(e, t, n, r, i = .5) {
- oy(e, t, n, Qh(e.min, e.max, i), r);
+function uy(e, t, n, r, i = .5) {
+ ay(e, t, n, Qh(e.min, e.max, i), r);
}
-function fy(e, t) {
+function dy(e, t) {
return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;
}
-function py(e, t, n) {
+function fy(e, t, n) {
let r = n ?? e;
- dy(e.x, fy(t.x, r.x), t.scaleX, t.scale, t.originX), dy(e.y, fy(t.y, r.y), t.scaleY, t.scale, t.originY);
+ uy(e.x, dy(t.x, r.x), t.scaleX, t.scale, t.originX), uy(e.y, dy(t.y, r.y), t.scaleY, t.scale, t.originY);
}
// node_modules/motion-dom/dist/es/projection/utils/measure.mjs
-function my(e, t) {
- return Xv(Qte(e.getBoundingClientRect(), t));
+function py(e, t) {
+ return Yv($te(e.getBoundingClientRect(), t));
}
-function ene(e, t, n) {
- let r = my(e, n), { scroll: i } = t;
- return i && (uy(r.x, i.offset.x), uy(r.y, i.offset.y)), r;
+function tne(e, t, n) {
+ let r = py(e, n), { scroll: i } = t;
+ return i && (ly(r.x, i.offset.x), ly(r.y, i.offset.y)), r;
}
-var tne = () => ({
+var nne = () => ({
x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,
y: document.documentElement.scrollTop || document.body?.scrollTop || 0
-}), nne = {}, rne = (e) => Pv(e) ? Xte : Wte, ine = class {
+}), rne = {}, ine = (e) => Nv(e) ? Zte : Gte, ane = class {
constructor(e, t) {
- this.effect = e, this.current = t, this.KeyframeResolver = Dv;
+ this.effect = e, this.current = t, this.KeyframeResolver = Ev;
}
getValue(e) {
return this.effect.get(this.current, e);
@@ -18593,19 +18593,19 @@ var tne = () => ({
this.effect.flush(this.current);
}
measureViewportBox() {
- return my(this.current);
+ return py(this.current);
}
getProps() {
- return nne;
+ return rne;
}
};
-function ane(e, t, n, r) {
- if (Fv.current?.track(e), r) return jv((e) => r.getValue(e, null), t, n, r);
- let i = rne(e);
- return Mv(i, e, t, n, new ine(i, e));
+function one(e, t, n, r) {
+ if (Pv.current?.track(e), r) return Av((e) => r.getValue(e, null), t, n, r);
+ let i = ine(e);
+ return jv(i, e, t, n, new ane(i, e));
}
// node_modules/motion-dom/dist/es/effects/prop/index.mjs
-var one = /*@__PURE__*/ zv((e, t, n, r) => t.set(n, r, () => {
+var sne = /*@__PURE__*/ Rv((e, t, n, r) => t.set(n, r, () => {
e[n] = r.get();
}), {
test: (e) => ym(e),
@@ -18613,110 +18613,110 @@ var one = /*@__PURE__*/ zv((e, t, n, r) => t.set(n, r, () => {
let n = e[t];
return typeof n == "string" || typeof n == "number" ? n : void 0;
}
-}), { schedule: hy, cancel: sne } = /* @__PURE__ */ fg(queueMicrotask, !1);
+}), { schedule: my, cancel: cne } = /* @__PURE__ */ fg(queueMicrotask, !1);
// node_modules/motion-dom/dist/es/animation/animate/single-value.mjs
-function gy(e, t, n) {
- let r = bv(e) ? e : dv(e);
- return r.start(mv("", r, t, n)), r.animation;
+function hy(e, t, n) {
+ let r = yv(e) ? e : uv(e);
+ return r.start(pv("", r, t, n)), r.animation;
}
// node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs
-var _y = {}, vy = {
+var gy = {}, _y = {
value: null,
addProjectionMetrics: null,
countProjection: void 0
};
// node_modules/motion-dom/dist/es/utils/delay.mjs
-function cne(e, t) {
+function lne(e, t) {
let n = $m.now();
- e = Lv(e);
+ e = Iv(e);
let r = ({ timestamp: i }) => {
let a = i - n;
a >= t && (mg(r), e(a - t));
};
- return pg.setup(r, !0), Iv(() => mg(r));
+ return pg.setup(r, !0), Fv(() => mg(r));
}
// node_modules/motion-dom/dist/es/utils/is-ref-object.mjs
-function lne(e) {
+function une(e) {
return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
}
// node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs
-function une(e) {
- return Pv(e) && e.tagName === "svg";
+function dne(e) {
+ return Nv(e) && e.tagName === "svg";
}
// node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs
-function yy(e) {
- return bv(e) ? e.get() : e;
+function vy(e) {
+ return yv(e) ? e.get() : e;
}
// node_modules/motion-dom/dist/es/value/utils/as-number.mjs
-var by = (e) => typeof e == "number" ? e : parseFloat(e), dne = Ov.length, xy = (e) => typeof e == "number" || wh.test(e);
-function fne(e, t, n, r, i, a) {
- i ? (e.opacity = Qh(0, n.opacity ?? 1, pne(r)), e.opacityExit = Qh(t.opacity ?? 1, 0, mne(r))) : a && (e.opacity = Qh(t.opacity ?? 1, n.opacity ?? 1, r));
- for (let i = 0; i < dne; i++) {
- let a = Ov[i], o = Sy(t, a), s = Sy(n, a);
- (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || xy(o) === xy(s) ? (e[a] = Math.max(Qh(by(o), by(s), r), 0), (Ch.test(s) || Ch.test(o)) && (e[a] += "%")) : e[a] = s);
- }
- for (let i = 0; i < $v.length; i++) {
- let a = $v[i];
+var yy = (e) => typeof e == "number" ? e : parseFloat(e), fne = Dv.length, by = (e) => typeof e == "number" || wh.test(e);
+function pne(e, t, n, r, i, a) {
+ i ? (e.opacity = Qh(0, n.opacity ?? 1, mne(r)), e.opacityExit = Qh(t.opacity ?? 1, 0, hne(r))) : a && (e.opacity = Qh(t.opacity ?? 1, n.opacity ?? 1, r));
+ for (let i = 0; i < fne; i++) {
+ let a = Dv[i], o = xy(t, a), s = xy(n, a);
+ (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || by(o) === by(s) ? (e[a] = Math.max(Qh(yy(o), yy(s), r), 0), (Ch.test(s) || Ch.test(o)) && (e[a] += "%")) : e[a] = s);
+ }
+ for (let i = 0; i < Qv.length; i++) {
+ let a = Qv[i];
(t[a] || n[a]) && (e[a] = Qh(t[a] || 0, n[a] || 0, r));
}
}
-function Sy(e, t) {
+function xy(e, t) {
return e[t] === void 0 ? e.borderRadius : e[t];
}
-var pne = /*@__PURE__*/ Cy(0, .5, zm), mne = /*@__PURE__*/ Cy(.5, .95, Sm);
-function Cy(e, t, n) {
+var mne = /*@__PURE__*/ Sy(0, .5, zm), hne = /*@__PURE__*/ Sy(.5, .95, Sm);
+function Sy(e, t, n) {
return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ wm(e, t, r));
}
// node_modules/motion-dom/dist/es/projection/geometry/copy.mjs
-function wy(e, t) {
+function Cy(e, t) {
e.min = t.min, e.max = t.max;
}
-function Ty(e, t) {
- wy(e.x, t.x), wy(e.y, t.y);
+function wy(e, t) {
+ Cy(e.x, t.x), Cy(e.y, t.y);
}
-function Ey(e, t) {
+function Ty(e, t) {
e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;
}
// node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs
-var hne = .9999, gne = 1.0001, _ne = -.01, vne = .01;
-function Dy(e) {
+var gne = .9999, _ne = 1.0001, vne = -.01, yne = .01;
+function Ey(e) {
return e.max - e.min;
}
-function yne(e, t, n) {
+function bne(e, t, n) {
return Math.abs(e - t) <= n;
}
-function Oy(e, t, n, r = .5) {
- e.origin = r, e.originPoint = Qh(t.min, t.max, e.origin), e.scale = Dy(n) / Dy(t), e.translate = Qh(n.min, n.max, e.origin) - e.originPoint, (e.scale >= hne && e.scale <= gne || isNaN(e.scale)) && (e.scale = 1), (e.translate >= _ne && e.translate <= vne || isNaN(e.translate)) && (e.translate = 0);
+function Dy(e, t, n, r = .5) {
+ e.origin = r, e.originPoint = Qh(t.min, t.max, e.origin), e.scale = Ey(n) / Ey(t), e.translate = Qh(n.min, n.max, e.origin) - e.originPoint, (e.scale >= gne && e.scale <= _ne || isNaN(e.scale)) && (e.scale = 1), (e.translate >= vne && e.translate <= yne || isNaN(e.translate)) && (e.translate = 0);
}
-function ky(e, t, n, r) {
- Oy(e.x, t.x, n.x, r?.originX), Oy(e.y, t.y, n.y, r?.originY);
+function Oy(e, t, n, r) {
+ Dy(e.x, t.x, n.x, r?.originX), Dy(e.y, t.y, n.y, r?.originY);
}
-function Ay(e, t, n, r = 0) {
- e.min = (r ? Qh(n.min, n.max, r) : n.min) + t.min, e.max = e.min + Dy(t);
+function ky(e, t, n, r = 0) {
+ e.min = (r ? Qh(n.min, n.max, r) : n.min) + t.min, e.max = e.min + Ey(t);
}
-function bne(e, t, n, r) {
- Ay(e.x, t.x, n.x, r?.x), Ay(e.y, t.y, n.y, r?.y);
+function xne(e, t, n, r) {
+ ky(e.x, t.x, n.x, r?.x), ky(e.y, t.y, n.y, r?.y);
}
-function jy(e, t, n, r = 0) {
+function Ay(e, t, n, r = 0) {
let i = r ? Qh(n.min, n.max, r) : n.min;
- e.min = t.min - i, e.max = e.min + Dy(t);
+ e.min = t.min - i, e.max = e.min + Ey(t);
}
-function My(e, t, n, r) {
- jy(e.x, t.x, n.x, r?.x), jy(e.y, t.y, n.y, r?.y);
+function jy(e, t, n, r) {
+ Ay(e.x, t.x, n.x, r?.x), Ay(e.y, t.y, n.y, r?.y);
}
// node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs
-function Ny(e, t, n, r, i) {
- return e -= t, e = iy(e, 1 / n, r), i !== void 0 && (e = iy(e, 1 / i, r)), e;
+function My(e, t, n, r, i) {
+ return e -= t, e = ry(e, 1 / n, r), i !== void 0 && (e = ry(e, 1 / i, r)), e;
}
-function Py(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
+function Ny(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
if (Ch.test(t) && (t = parseFloat(t), t = Qh(o.min, o.max, t / 100) - o.min), typeof t != "number") return;
let s = Qh(a.min, a.max, r);
- e === a && (s -= t), e.min = Ny(e.min, t, n, s, i), e.max = Ny(e.max, t, n, s, i);
+ e === a && (s -= t), e.min = My(e.min, t, n, s, i), e.max = My(e.max, t, n, s, i);
}
-function Fy(e, t, [n, r, i], a, o) {
- Py(e, t[n], t[r], t[i], t.scale, a, o);
+function Py(e, t, [n, r, i], a, o) {
+ Ny(e, t[n], t[r], t[i], t.scale, a, o);
}
-var xne = [
+var Fy = [
"x",
"scaleX",
"originX"
@@ -18726,7 +18726,7 @@ var xne = [
"originY"
];
function Iy(e, t, n, r) {
- Fy(e.x, t, xne, n?.x, r?.x), Fy(e.y, t, Sne, n?.y, r?.y);
+ Py(e.x, t, Fy, n?.x, r?.x), Py(e.y, t, Sne, n?.y, r?.y);
}
// node_modules/motion-dom/dist/es/projection/geometry/round.mjs
var Ly = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Ry = Ly("applewebkit/") && !Ly("chrome/") ? Math.round : Sm;
@@ -18772,7 +18772,7 @@ function Jy(e, t) {
return qy(e.x, t.x) && qy(e.y, t.y);
}
function Yy(e) {
- return Dy(e.x) / Dy(e.y);
+ return Ey(e.x) / Ey(e.y);
}
function Xy(e, t) {
return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;
@@ -18837,7 +18837,7 @@ var Qy = { correct: (e, t) => {
}
return `${Zy(e, t.target.x)}% ${Zy(e, t.target.y)}%`;
} }, Ene = {
- borderRadius: /* @__PURE__ */ Object.assign({}, Qy, { applyTo: /* @__PURE__ */ Ov.slice() }),
+ borderRadius: /* @__PURE__ */ Object.assign({}, Qy, { applyTo: /* @__PURE__ */ Dv.slice() }),
borderTopLeftRadius: Qy,
borderTopRightRadius: Qy,
borderBottomLeftRadius: Qy,
@@ -18857,8 +18857,8 @@ function Dne(e, t, n) {
if ((i || a || o) && (r = `translate3d(${i}px, ${a}px, ${o}px) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) {
let { transformPerspective: e } = n;
e && (r = `perspective(${e}px) ${r}`);
- for (let e = 0; e < $v.length; e++) {
- let t = $v[e], i = n[t];
+ for (let e = 0; e < Qv.length; e++) {
+ let t = Qv[e], i = n[t];
i && (r += `${t}(${i}deg) `), !e && n.pathRotation && (r += `rotate(${n.pathRotation}deg) `);
}
}
@@ -18895,12 +18895,12 @@ function nb(e, t, n, r) {
let { latestValues: i } = t;
i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));
}
-var rb = (e) => e.instance && Y_.get(e.instance)?.demote() && e.resetSkewAndRotation();
+var rb = (e) => e.instance && J_.get(e.instance)?.demote() && e.resetSkewAndRotation();
function ib(e) {
if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;
let { visualElement: t } = e.options;
if (!t) return;
- let n = Cv(t);
+ let n = Sv(t);
if (window.MotionHasOptimisedAnimation(n, "transform")) {
let { layout: t, layoutId: r } = e.options;
window.MotionCancelOptimisedAnimation(n, "transform", pg, !(t || r));
@@ -18912,16 +18912,16 @@ function ab(e) {
if (e) return e.options.allowProjection === !1 ? ab(e.parent) : e.projection;
}
function ob({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
- return Object.assign(_y, {
+ return Object.assign(gy, {
...Ene,
- ..._y
+ ...gy
}), class {
static create(e, t, n) {
let { layoutId: r, layout: i, drag: a, dragConstraints: o, layoutScroll: s, layoutRoot: c, layoutAnchor: l, layoutCrossfade: u } = t, d = e.projection = new this(e.latestValues, t["data-framer-portal-id"] ? void 0 : ab(e.parent));
d.setOptions({
layoutId: r,
layout: i,
- alwaysMeasureLayout: !!a || o && lne(o),
+ alwaysMeasureLayout: !!a || o && une(o),
visualElement: e,
animationType: typeof i == "string" ? i : "both",
initialPromotionConfig: n,
@@ -18940,7 +18940,7 @@ function ob({ 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(Pne), this.nodes.forEach(Hne), this.nodes.forEach(Une), this.nodes.forEach(Fne), vy.countProjection?.();
+ this.projectionUpdateScheduled = !1, this.nodes.forEach(Pne), this.nodes.forEach(Vne), this.nodes.forEach(Hne), this.nodes.forEach(Fne), _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 kne());
@@ -18956,7 +18956,7 @@ function ob({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
mount(t) {
if (this.instance) return;
- this.isSVG = Pv(t) && !une(t), this.instance = t;
+ this.isSVG = Nv(t) && !dne(t), this.instance = t;
let { layoutId: n, layout: r, visualElement: i } = this.options;
if (i && !i.current && i.mount(t), this.root.nodes.add(this), this.parent?.children.add(this), this.root.hasTreeAnimated && (r || n) && (this.isLayoutDirty = !0), e) {
let n, r = 0, i = () => this.root.updateBlockedByResize = !1;
@@ -18964,7 +18964,7 @@ function ob({ 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 = cne(i, 250), eb.hasAnimatedSinceResize && (eb.hasAnimatedSinceResize = !1, this.nodes.forEach(lb)));
+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n?.(), n = lne(i, 250), eb.hasAnimatedSinceResize && (eb.hasAnimatedSinceResize = !1, this.nodes.forEach(ub)));
});
}
n && this.root.registerSharedNode(n, this), this.addLayoutListener();
@@ -18976,16 +18976,16 @@ function ob({ 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 || !Jy(this.targetLayout, i), l = !t && r;
+ let a = this.options.transition || n.getDefaultTransition() || Kne, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = n.getProps(), c = !this.targetLayout || !Jy(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 = {
- ...pv(a, "layout"),
+ ...fv(a, "layout"),
onPlay: o,
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 || ub(this), this.isLead() && this.options.onExitComplete?.();
this.targetLayout = i;
}));
}
@@ -19002,7 +19002,7 @@ function ob({ 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(Une), this.animationId++);
}
getTransformTemplate() {
let { visualElement: e } = this.options;
@@ -19027,22 +19027,22 @@ function ob({ 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(Ine), this.nodes.forEach(cb);
return;
}
if (this.animationId <= this.animationCommitId) {
- this.nodes.forEach(cb);
+ this.nodes.forEach(lb);
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(Mne), this.nodes.forEach(Nne)) : this.nodes.forEach(cb), this.clearAllSnapshots();
+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Rne), this.nodes.forEach(zne), this.nodes.forEach(Bne), this.nodes.forEach(Mne), this.nodes.forEach(Nne)) : this.nodes.forEach(lb), 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;
}
didUpdate() {
- this.updateScheduled || (this.updateScheduled = !0, hy.read(this.scheduleUpdate));
+ 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(sb), 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));
@@ -19053,7 +19053,7 @@ function ob({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
});
}
updateSnapshot() {
- !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !Dy(this.snapshot.measuredBox.x) && !Dy(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
+ !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !Ey(this.snapshot.measuredBox.x) && !Ey(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
}
updateLayout() {
if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return;
@@ -19081,7 +19081,7 @@ function ob({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout;
e && rb(this);
let t = this.projectionDelta && !Gy(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
- e && this.instance && (t || ey(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());
+ e && this.instance && (t || $v(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());
}
measure(e = !0) {
let t = this.measurePageBox(), n = this.removeElementScroll(t);
@@ -19097,40 +19097,40 @@ function ob({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
let { visualElement: e } = this.options;
if (!e) return Uy();
let t = e.measureViewportBox();
- if (!(this.scroll?.wasRoot || this.path.some(Jne))) {
+ if (!(this.scroll?.wasRoot || this.path.some(qne))) {
let { scroll: e } = this.root;
- e && (uy(t.x, e.offset.x), uy(t.y, e.offset.y));
+ e && (ly(t.x, e.offset.x), ly(t.y, e.offset.y));
}
return t;
}
removeElementScroll(e) {
let t = Uy();
- if (Ty(t, e), this.scroll?.wasRoot) return t;
+ if (wy(t, e), this.scroll?.wasRoot) return t;
for (let n = 0; n < this.path.length; n++) {
let r = this.path[n], { scroll: i, options: a } = r;
- r !== this.root && i && a.layoutScroll && (i.wasRoot && Ty(t, e), uy(t.x, i.offset.x), uy(t.y, i.offset.y));
+ r !== this.root && i && a.layoutScroll && (i.wasRoot && wy(t, e), ly(t.x, i.offset.x), ly(t.y, i.offset.y));
}
return t;
}
applyTransform(e, t = !1, n, r, i = 0) {
let a = n || Uy();
- Ty(a, e);
+ wy(a, e);
for (let e = i; e < this.path.length; e++) {
let n = this.path[e];
- !t && n.options.layoutScroll && n.scroll && n !== n.root && (uy(a.x, -n.scroll.offset.x), uy(a.y, -n.scroll.offset.y)), ey(n.latestValues) && py(a, n.latestValues, n.layout?.layoutBox);
+ !t && n.options.layoutScroll && n.scroll && n !== n.root && (ly(a.x, -n.scroll.offset.x), ly(a.y, -n.scroll.offset.y)), $v(n.latestValues) && fy(a, n.latestValues, n.layout?.layoutBox);
}
- return !r && ey(this.latestValues) && py(a, this.latestValues, this.layout?.layoutBox), a;
+ return !r && $v(this.latestValues) && fy(a, this.latestValues, this.layout?.layoutBox), a;
}
removeTransform(e) {
let t = Uy();
- Ty(t, e);
+ wy(t, e);
for (let e = 0; e < this.path.length; e++) {
let n = this.path[e];
- if (!ey(n.latestValues)) continue;
+ if (!$v(n.latestValues)) continue;
let r;
- n.instance && (Qv(n.latestValues) && n.updateSnapshot(), r = Uy(), Ty(r, n.measurePageBox())), Iy(t, n.latestValues, n.snapshot?.layoutBox, r);
+ n.instance && (Zv(n.latestValues) && n.updateSnapshot(), r = Uy(), wy(r, n.measurePageBox())), Iy(t, n.latestValues, n.snapshot?.layoutBox, r);
}
- return ey(this.latestValues) && Iy(t, this.latestValues), t;
+ return $v(this.latestValues) && Iy(t, this.latestValues), t;
}
setTargetDelta(e) {
this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
@@ -19157,16 +19157,16 @@ function ob({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
if (!this.layout || !(r || i)) return;
this.resolvedRelativeTargetAt = Xm.timestamp;
let a = this.getClosestProjectingParent();
- !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = Uy(), this.targetWithTransforms = Uy()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), bne(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target, !0) : Ty(this.target, this.layout.layoutBox), sy(this.target, this.targetDelta)) : Ty(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && (!a.resumingFrom == !this.resumingFrom || a.options.layoutRoot && !a.resumingFrom) && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), vy.countProjection?.(1));
+ !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = Uy(), this.targetWithTransforms = Uy()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), xne(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target, !0) : wy(this.target, this.layout.layoutBox), oy(this.target, this.targetDelta)) : wy(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && (!a.resumingFrom == !this.resumingFrom || a.options.layoutRoot && !a.resumingFrom) && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), _y.countProjection?.(1));
}
getClosestProjectingParent() {
- if (!(!this.parent || Qv(this.parent.latestValues) || ny(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
+ if (!(!this.parent || Zv(this.parent.latestValues) || ty(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
}
isProjecting() {
return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);
}
createRelativeTarget(e, t, n) {
- this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = Uy(), this.relativeTargetOrigin = Uy(), My(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), Ty(this.relativeTarget, this.relativeTargetOrigin);
+ this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = Uy(), this.relativeTargetOrigin = Uy(), jy(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), wy(this.relativeTarget, this.relativeTargetOrigin);
}
removeRelativeTarget() {
this.relativeParent = this.relativeTarget = void 0;
@@ -19176,11 +19176,11 @@ function ob({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === Xm.timestamp && (n = !1), n) return;
let { layout: r, layoutId: i } = this.options;
if (this.isTreeAnimating = !!(this.parent?.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(r || i)) return;
- Ty(this.layoutCorrected, this.layout.layoutBox);
+ wy(this.layoutCorrected, this.layout.layoutBox);
let a = this.treeScale.x, o = this.treeScale.y;
- $te(this.layoutCorrected, this.treeScale, this.path, t && (e.relativeTarget && !e.relativeParent.resumingFrom ? e.relativeParent : !0)), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = Uy());
+ ene(this.layoutCorrected, this.treeScale, this.path, t && (e.relativeTarget && !e.relativeParent.resumingFrom ? e.relativeParent : !0)), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = Uy());
let { target: s } = e;
- s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Ey(this.prevProjectionDelta.x, this.projectionDelta.x), Ey(this.prevProjectionDelta.y, this.projectionDelta.y)), ky(this.projectionDelta, this.layoutCorrected, s, this.latestValues), this.treeScale.x === a && this.treeScale.y === o && Xy(this.projectionDelta.x, this.prevProjectionDelta.x) && Xy(this.projectionDelta.y, this.prevProjectionDelta.y) || (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), vy.countProjection?.(2)) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
+ s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Ty(this.prevProjectionDelta.x, this.projectionDelta.x), Ty(this.prevProjectionDelta.y, this.projectionDelta.y)), Oy(this.projectionDelta, this.layoutCorrected, s, this.latestValues), this.treeScale.x === a && this.treeScale.y === o && Xy(this.projectionDelta.x, this.prevProjectionDelta.x) && Xy(this.projectionDelta.y, this.prevProjectionDelta.y) || (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), _y.countProjection?.(2)) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
}
hide() {
this.isVisible = !1;
@@ -19197,17 +19197,17 @@ function ob({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
setAnimationOrigin(e, t = !1, n) {
let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = Vy();
this.relativeParent && this.relativeParent.options.layoutRoot || (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;
- let s = Uy(), 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 = Uy(), 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(Gne));
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 && (My(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Gne(this.relativeTarget, this.relativeTargetOrigin, s, n), f && wne(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= Uy(), Ty(f, this.relativeTarget)), c && (this.animationValues = a, fne(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;
+ db(o.x, e.x, n), db(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), Wne(this.relativeTarget, this.relativeTargetOrigin, s, n), f && wne(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= Uy(), 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) {
this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (mg(this.pendingAnimation), void 0), this.pendingAnimation = pg.update(() => {
- eb.hasAnimatedSinceResize = !0, this.motionValue ||= dv(0), this.motionValue.jump(0, !1), this.currentAnimation = gy(this.motionValue, [0, 1e3], {
+ eb.hasAnimatedSinceResize = !0, this.motionValue ||= uv(0), this.motionValue.jump(0, !1), this.currentAnimation = hy(this.motionValue, [0, 1e3], {
...e,
velocity: 0,
isSync: !0,
@@ -19217,7 +19217,7 @@ function ob({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
onComplete: () => {
e.onComplete && e.onComplete(), this.completeAnimation();
}
- }), Tee(this.currentAnimation, this), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;
+ }), Eee(this.currentAnimation, this), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;
});
}
completeAnimation() {
@@ -19231,11 +19231,11 @@ function ob({ 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 && mb(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {
let { layoutBox: e } = this.layout, t = i;
- i = this.target || Uy(), fb(i.x, t.x, e.x), fb(i.y, t.y, e.y);
+ i = this.target || Uy(), pb(i.x, t.x, e.x), pb(i.y, t.y, e.y);
}
- Ty(t, i), py(t, r), ky(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);
+ wy(t, i), fy(t, r), Oy(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);
}
}
registerSharedNode(e, t) {
@@ -19272,10 +19272,10 @@ function ob({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
let { visualElement: e } = this.options;
if (!e) return;
let { latestValues: t } = e;
- if (!ty(t)) return;
+ if (!ey(t)) return;
let n = {};
for (let t = 0; t < tb.length; t++) nb(tb[t], e, n, this.animationValues);
- for (let t = 0; t < $v.length; t++) nb($v[t], e, n, this.animationValues);
+ for (let t = 0; t < Qv.length; t++) nb(Qv[t], e, n, this.animationValues);
e.render();
for (let t in n) e.setStaticValue(t, n[t]), this.animationValues && (this.animationValues[t] = n[t]);
e.scheduleRender();
@@ -19289,11 +19289,11 @@ function ob({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
let r = this.getTransformTemplate();
if (this.needsReset) {
- this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = yy(t?.pointerEvents) || "", e.transform = r ? r(this.latestValues, "") : "none";
+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = vy(t?.pointerEvents) || "", e.transform = r ? r(this.latestValues, "") : "none";
return;
}
if (!this.projectionDelta || !this.layout || !n.target) {
- (this.options.layoutId || this.needsShow) && (this.needsShow = !1, e.visibility = "", e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = yy(t?.pointerEvents) || ""), this.hasProjected && !ey(this.latestValues) && (e.transform = r ? r({}, "") : "none", this.hasProjected = !1);
+ (this.options.layoutId || this.needsShow) && (this.needsShow = !1, e.visibility = "", e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = vy(t?.pointerEvents) || ""), this.hasProjected && !$v(this.latestValues) && (e.transform = r ? r({}, "") : "none", this.hasProjected = !1);
return;
}
e.visibility = "";
@@ -19303,56 +19303,56 @@ function ob({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
r && (a = r(i, a)), e.transform = a;
let { x: o, y: s } = this.projectionDelta;
e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, e.opacity = n.animationValues ? n === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : n === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;
- for (let t in _y) {
+ for (let t in gy) {
if (i[t] === void 0) continue;
- let { correct: r, applyTo: o, isCSSVariable: s } = _y[t], c = a === "none" ? i[t] : r(i[t], n);
+ let { correct: r, applyTo: o, isCSSVariable: s } = gy[t], c = a === "none" ? i[t] : r(i[t], n);
if (o) {
let t = o.length;
for (let n = 0; n < t; n++) e[o[n]] = c;
} else s ? this.options.visualElement.renderState.vars[t] = c : e[t] = c;
}
- this.options.layoutId && (e.pointerEvents = n === this ? yy(t?.pointerEvents) || "" : "none");
+ this.options.layoutId && (e.pointerEvents = n === this ? vy(t?.pointerEvents) || "" : "none");
}
clearSnapshot() {
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(cb), this.root.sharedNodes.clear();
}
};
}
function Mne(e) {
- e.updateLayout(), Rne(e);
+ e.updateLayout(), Lne(e);
}
function Nne(e) {
let t = e.resumeFrom?.snapshot || e.snapshot;
if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {
let { layoutBox: n, measuredBox: r } = e.layout, { animationType: i } = e.options, a = t.source !== e.layout.source, o = (r, a) => {
if (i === "size") $y((e) => {
- let t = Dy(r[e]);
+ let t = Ey(r[e]);
r[e].min = a[e].min, r[e].max = r[e].min + t;
});
else if (i === "x" || i === "y") {
let e = i === "x" ? "y" : "x";
- wy(r[e], a[e]);
- } else pb(i, t.layoutBox, n) && $y((t) => {
- let n = Dy(a[t]);
+ Cy(r[e], a[e]);
+ } else mb(i, t.layoutBox, n) && $y((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);
});
}, s = a ? t.measuredBox : t.layoutBox;
o(s, n);
let c = Vy();
- ky(c, n, t.layoutBox);
+ Oy(c, n, t.layoutBox);
let l = Vy();
- ky(l, a ? e.applyTransform(r, !0) : n, s);
+ Oy(l, a ? e.applyTransform(r, !0) : n, s);
let u = !Gy(c), d = !1, f = e.getClosestProjectingParent();
if ((!e.resumeFrom || f?.options.layoutRoot && e.resumeFrom.path.includes(f)) && f && !f.resumeFrom) {
let { snapshot: r, layout: i } = f;
if (r && i) {
let s = e.options.layoutAnchor || void 0, c = Uy();
- My(c, a ? e.resumeFrom.applyTransform(t.layoutBox, !0, void 0, !0, f.depth + 1) : t.layoutBox, r.layoutBox, s);
+ jy(c, a ? e.resumeFrom.applyTransform(t.layoutBox, !0, void 0, !0, f.depth + 1) : t.layoutBox, r.layoutBox, s);
let l = Uy();
- My(l, n, i.layoutBox, s), a && o(c, l), Jy(c, l) || (d = !0), f.options.layoutRoot && (e.relativeTarget = l, e.relativeTargetOrigin = c, e.relativeParent = f);
+ jy(l, n, i.layoutBox, s), a && o(c, l), Jy(c, l) || (d = !0), f.options.layoutRoot && (e.relativeTarget = l, e.relativeTargetOrigin = c, e.relativeParent = f);
}
}
e.notifyListeners("didUpdate", {
@@ -19367,64 +19367,64 @@ function Nne(e) {
e.options.transition = void 0;
}
function Pne(e) {
- vy.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);
+ _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 Fne(e) {
e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
}
-function Ine(e) {
+function sb(e) {
e.clearSnapshot();
}
-function sb(e) {
+function cb(e) {
e.clearMeasurements();
}
-function Lne(e) {
+function Ine(e) {
e.isLayoutDirty = !0, e.updateLayout();
}
-function cb(e) {
+function lb(e) {
e.isLayoutDirty = !1;
}
-function Rne(e) {
+function Lne(e) {
let { snapshot: t, dragAncestor: n } = e, r = n?.isAnimationBlocked && n.layout;
if (!t || !r || e.resumeFrom || e.isAnimationBlocked) return;
let i = n.dragSnapshot;
- $y((e) => uy(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));
+ $y((e) => ly(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));
}
-function zne(e) {
+function Rne(e) {
e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.dragSnapshot || e.layout, e.isLayoutDirty = !0);
}
-function Bne(e) {
+function zne(e) {
e.relativeTarget && e.relativeParent?.isLayoutDirty && (e.currentAnimation ? e.isLayoutDirty = !0 : (e.targetDelta = void 0, e.removeRelativeTarget()));
}
-function Vne(e) {
+function Bne(e) {
let { visualElement: t } = e.options;
t?.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
}
-function lb(e) {
+function ub(e) {
e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
}
-function Hne(e) {
+function Vne(e) {
e.resolveTargetDelta();
}
-function Une(e) {
+function Hne(e) {
e.calcProjection();
}
-function Wne(e) {
+function Une(e) {
e.resetSkewAndRotation();
}
-function ub(e, t, n) {
+function db(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 fb(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 Wne(e, t, n, r) {
+ fb(e.x, t.x, n.x, r), fb(e.y, t.y, n.y, r);
}
-function Kne(e) {
+function Gne(e) {
return e.animationValues?.opacityExit !== void 0;
}
-var qne = {
+var Kne = {
duration: .45,
ease: [
.4,
@@ -19433,51 +19433,51 @@ var qne = {
1
]
};
-function fb(e, t, n) {
- e.max = Dy(n) + (e.min = t.min);
-}
function pb(e, t, n) {
- return e === "position" || e === "preserve-aspect" && !yne(Yy(t), Yy(n), .2);
+ e.max = Ey(n) + (e.min = t.min);
}
-function Jne(e) {
+function mb(e, t, n) {
+ return e === "position" || e === "preserve-aspect" && !bne(Yy(t), Yy(n), .2);
+}
+function qne(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 hb(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__ */ ob({
- attachResizeListener: (e, t) => mb(e, "resize", t),
- measureScroll: tne,
+var Jne = /* @__PURE__ */ ob({
+ attachResizeListener: (e, t) => hb(e, "resize", t),
+ measureScroll: nne,
checkIsScrollRoot: () => !0
-}), hb = { current: void 0 }, gb = /* @__PURE__ */ ob({
+}), gb = { current: void 0 }, _b = /* @__PURE__ */ ob({
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 (!gb.current) {
+ let e = new Jne({});
+ e.mount(window), e.setOptions({ layoutScroll: !0 }), gb.current = e;
}
- return hb.current;
+ return gb.current;
},
resetTransform: (e, t) => {
e.style.transform = t === void 0 ? "none" : t;
},
checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"
-}), _b = /* @__PURE__ */ new WeakMap();
+}), vb = /* @__PURE__ */ new WeakMap();
// node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs
-function vb(e) {
+function yb(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 bb(e) {
return typeof e == "string" || Array.isArray(e);
}
// node_modules/motion-dom/dist/es/render/utils/variant-props.mjs
-var bb = [
+var xb = [
"animate",
"whileInView",
"whileFocus",
@@ -19485,29 +19485,29 @@ var bb = [
"whileTap",
"whileDrag",
"exit"
-], xb = /* @__PURE__ */ ["initial"].concat(bb);
+], Sb = /* @__PURE__ */ ["initial"].concat(xb);
// 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 Cb(e) {
+ if (yb(e.animate)) return !0;
+ for (let t = 0; t < Sb.length; t++) if (bb(e[Sb[t]])) return !0;
return !1;
}
-function Cb(e) {
- return !!(Sb(e) || e.variants);
+function wb(e) {
+ return !!(Cb(e) || e.variants);
}
// node_modules/motion-dom/dist/es/render/utils/motion-values.mjs
-function Xne(e, t, n) {
+function Yne(e, t, n) {
for (let r in t) {
let i = t[r], a = n[r];
- if (bv(i)) e.addValue(r, i);
- else if (bv(a)) e.addValue(r, dv(i, { owner: e }));
+ if (yv(i)) e.addValue(r, i);
+ else if (yv(a)) e.addValue(r, uv(i, { owner: e }));
else if (a !== i) {
if (e.hasValue(r)) {
let t = e.getValue(r);
t.liveStyle === !0 ? t.jump(i) : t.hasAnimated || t.set(i);
} else {
let t = e.getStaticValue(r);
- e.addValue(r, dv(t === void 0 ? i : t, { owner: e }));
+ e.addValue(r, uv(t === void 0 ? i : t, { owner: e }));
}
}
}
@@ -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 Tb = { current: null }, Eb = { current: !1 }, Xne = typeof window < "u";
+function Db() {
+ if (Eb.current = !0, Xne) {
if (window.matchMedia) {
- let e = window.matchMedia("(prefers-reduced-motion)"), t = () => wb.current = e.matches;
+ let e = window.matchMedia("(prefers-reduced-motion)"), t = () => Tb.current = e.matches;
e.addEventListener("change", t), t();
- } else wb.current = !1;
+ } else Tb.current = !1;
}
}
// node_modules/motion-dom/dist/es/render/VisualElement.mjs
-var Db = [
+var Ob = [
"AnimationStart",
"AnimationComplete",
"Update",
@@ -19533,35 +19533,35 @@ var Db = [
"LayoutMeasure",
"LayoutAnimationStart",
"LayoutAnimationComplete"
-], Ob = {};
-function kb(e) {
- Ob = e;
+], kb = {};
+function Ab(e) {
+ kb = e;
}
-function Qne() {
- return Ob;
+function Zne() {
+ return kb;
}
-var $ne = class {
+var Qne = class {
scrapeMotionValuesFromProps(e, t, n) {
return {};
}
constructor({ parent: e, props: t, presenceContext: n, reducedMotionConfig: r, skipAnimations: i, blockInitialAnimation: a, visualState: o }, s = {}) {
- this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = T_, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
+ this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = w_, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
}, this.renderScheduledAt = 0, this.scheduleRender = () => {
let e = $m.now();
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 = Cb(t), this.isVariantNode = wb(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
let { willChange: u, ...d } = this.scrapeMotionValuesFromProps(t, {}, this);
for (let e in d) {
let t = d[e];
- c[e] !== void 0 && bv(t) && t.set(c[e]);
+ c[e] !== void 0 && yv(t) && t.set(c[e]);
}
}
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, vb.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 : (Eb.current || Db(), this.shouldReduceMotion = Tb.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);
@@ -19589,8 +19589,8 @@ var $ne = class {
this.children.delete(e), this.enteringChildren?.delete(e);
}
bindToMotionValue(e, t) {
- if (this.valueSubscriptions.get(e)?.(), t.accelerate && R_.has(e) && this.current instanceof HTMLElement) {
- let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new P_({
+ if (this.valueSubscriptions.get(e)?.(), t.accelerate && L_.has(e) && this.current instanceof HTMLElement) {
+ let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new N_({
element: this.current,
name: e,
keyframes: r,
@@ -19603,10 +19603,10 @@ var $ne = class {
});
return;
}
- let n = p_.has(e);
+ let n = f_.has(e);
n && this.onBindTransform && this.onBindTransform();
let r = t.on("change", (t) => {
- this.latestValues[e] = t, this.props.onUpdate && pg.preRender(this.notifyUpdate), n && (this.projection && (this.projection.isTransformDirty = !0), Y_.get(this.current)?.check()), this.scheduleRender();
+ this.latestValues[e] = t, this.props.onUpdate && pg.preRender(this.notifyUpdate), n && (this.projection && (this.projection.isTransformDirty = !0), J_.get(this.current)?.check()), this.scheduleRender();
}), i;
typeof window < "u" && window.MotionCheckAppearSync && (i = window.MotionCheckAppearSync(this, e, t)), this.valueSubscriptions.set(e, () => {
r(), i?.();
@@ -19617,8 +19617,8 @@ var $ne = class {
}
updateFeatures() {
let e = "animation";
- for (e in Ob) {
- let t = Ob[e];
+ for (e in kb) {
+ let t = kb[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]) {
@@ -19641,14 +19641,14 @@ var $ne = class {
}
update(e, t) {
let { transformTemplate: n, onUpdate: r } = this.props;
- (e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && Y_.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];
+ (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 < Ob.length; t++) {
+ let n = Ob[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 = Yne(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue?.();
}
getProps() {
return this.props;
@@ -19678,11 +19678,11 @@ var $ne = class {
}
getValue(e, t) {
let n = this.props.values?.[e];
- return n || (n = this.values.get(e), n === void 0 && t !== void 0 && (n = dv(t ?? this.getDefaultValue?.(e), { owner: this }), this.addValue(e, n)), n);
+ return n || (n = this.values.get(e), n === void 0 && t !== void 0 && (n = uv(t ?? this.getDefaultValue?.(e), { owner: this }), this.addValue(e, n)), n);
}
readValue(e, t) {
let n = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : this.getBaseTargetFromProps(this.props, e) ?? this.readValueFromInstance(this.current, e, this.options);
- return n != null && (typeof n == "string" && (vm(n) || bm(n)) ? n = parseFloat(n) : typeof n != "number" && !Jh.test(n) && Jh.test(t) && (n = t_(e, t)), this.setBaseTarget(e, bv(n) ? n.get() : n)), bv(n) ? n.get() : n;
+ return n != null && (typeof n == "string" && (vm(n) || bm(n)) ? n = parseFloat(n) : typeof n != "number" && !Jh.test(n) && Jh.test(t) && (n = e_(e, t)), this.setBaseTarget(e, yv(n) ? n.get() : n)), yv(n) ? n.get() : n;
}
setBaseTarget(e, t) {
this.baseTarget[e] = t;
@@ -19694,11 +19694,11 @@ var $ne = class {
this.events[e]?.notify(...t);
}
scheduleRenderMicrotask() {
- hy.render(this.render);
+ my.render(this.render);
}
-}, Ab = class extends $ne {
+}, jb = class extends Qne {
constructor() {
- super(...arguments), this.KeyframeResolver = Dv;
+ super(...arguments), this.KeyframeResolver = Ev;
}
sortInstanceNodePosition(e, t) {
return e.compareDocumentPosition(t) & 2 ? 1 : -1;
@@ -19713,105 +19713,105 @@ var $ne = class {
handleChildMotionValue() {
this.childSubscription && (this.childSubscription(), delete this.childSubscription);
let { children: e } = this.props;
- bv(e) && (this.childSubscription = e.on("change", (e) => {
+ yv(e) && (this.childSubscription = e.on("change", (e) => {
this.current && (this.current.textContent = `${e}`);
}));
}
};
// node_modules/motion-dom/dist/es/render/html/utils/render.mjs
-function jb(e, { style: t, vars: n }, r, i) {
+function Mb(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 }) {
- return p_.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!_y[e] || e === "opacity");
+function Nb(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 Pb(e, t, n) {
let r = e.style, i = t?.style, a = {};
if (!r) return a;
- for (let t in r) (bv(r[t]) || i && bv(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]) || Nb(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 $ne(e) {
return window.getComputedStyle(e);
}
-var tre = class extends Ab {
+var ere = class extends jb {
constructor() {
- super(...arguments), this.type = "html", this.renderInstance = jb;
+ super(...arguments), this.type = "html", this.renderInstance = Mb;
}
mount(e) {
super.mount(e);
}
readValueFromInstance(e, t) {
- if (p_.has(t)) return this.projection?.isProjecting ? l_(t) : d_(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 = $ne(e), r = (nh(t) ? n.getPropertyValue(t) : n[t]) || 0;
return typeof r == "string" ? r.trim() : r;
}
}
measureInstanceViewportBox(e, { transformPagePoint: t }) {
- return my(e, t);
+ return py(e, t);
}
build(e, t, n) {
- Gv(e, t, n.transformTemplate);
+ Wv(e, t, n.transformTemplate);
}
scrapeMotionValuesFromProps(e, t, n) {
- return Nb(e, t, n);
+ return Pb(e, t, n);
}
-}, Pb = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;
+}, Fb = (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 Ib(e) {
return { point: {
x: e.pageX,
y: e.pageY
} };
}
-var nre = (e) => (t) => Pb(t) && e(t, Fb(t));
+var tre = (e) => (t) => Fb(t) && e(t, Ib(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 Lb(e, t, n, r) {
+ return hb(e, t, tre(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"] : Pv(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 Rb = /* @__PURE__ */ new WeakMap(), zb, Bb = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : Nv(r) && "getBBox" in r ? r.getBBox()[t] : r[n], nre = /*@__PURE__*/ Bb("inline", "width", "offsetWidth"), rre = /*@__PURE__*/ Bb("block", "height", "offsetHeight");
+function ire({ target: e, borderBoxSize: t }) {
+ Rb.get(e)?.forEach((n) => {
n(e, {
get width() {
- return rre(e, t);
+ return nre(e, t);
},
get height() {
- return ire(e, t);
+ return rre(e, t);
}
});
});
}
-function ore(e) {
- e.forEach(are);
+function are(e) {
+ e.forEach(ire);
}
-function sre() {
- typeof ResizeObserver < "u" && (Rb = new ResizeObserver(ore));
+function ore() {
+ typeof ResizeObserver < "u" && (zb = new ResizeObserver(are));
}
-function cre(e, t) {
- Rb || sre();
- let n = Rv(e);
+function sre(e, t) {
+ zb || ore();
+ 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 = Rb.get(e);
+ n || (n = /* @__PURE__ */ new Set(), Rb.set(e, n)), n.add(t), zb?.observe(e);
}), () => {
n.forEach((e) => {
- let n = Lb.get(e);
- n?.delete(t), n?.size || Rb?.unobserve(e);
+ let n = Rb.get(e);
+ n?.delete(t), n?.size || zb?.unobserve(e);
});
};
}
// node_modules/motion-dom/dist/es/resize/handle-window.mjs
-var Bb = /* @__PURE__ */ new Set(), Vb;
-function lre() {
- Vb = () => {
+var Vb = /* @__PURE__ */ new Set(), Hb;
+function cre() {
+ Hb = () => {
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);
+ Vb.forEach((t) => t(e));
+ }, window.addEventListener("resize", Hb);
}
-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 lre(e) {
+ return Vb.add(e), Hb || cre(), () => {
+ Vb.delete(e), !Vb.size && typeof Hb == "function" && (window.removeEventListener("resize", Hb), Hb = void 0);
};
}
// node_modules/motion-dom/dist/es/resize/index.mjs
-function Hb(e, t) {
- return Iv(typeof e == "function" ? ure(e) : cre(e, t));
+function Ub(e, t) {
+ return Fv(typeof e == "function" ? lre(e) : sre(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 Wb = (e, t) => Math.abs(e - t);
+function ure(e, t) {
+ let n = Wb(e.x, t.x), r = Wb(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 Gb = /*#__PURE__*/ new Set(["auto", "scroll"]), Kb = 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 = Jb(this.lastRawMoveEventInfo, this.transformPagePoint));
+ let e = Xb(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = ure(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 = Jb(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 = Xb(e.type === "pointercancel" ? this.lastMoveEventInfo : Jb(t, this.transformPagePoint), this.history);
this.startEvent && n?.(e, a), r?.(e, a);
- }, !Pb(e)) return;
+ }, !Fb(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 = Jb(Ib(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, Xb(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(Lb(this.contextWindow, "pointermove", this.handlePointerMove, u), Lb(this.contextWindow, "pointerup", this.handlePointerUp, u), Lb(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;
+ (Gb.has(e.overflowX) || Gb.has(e.overflowY)) && this.scrollPositions.set(t, qb(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, qb(window)), this.removeScrollListeners = Cm(hb(window, "scroll", this.onElementScroll, { capture: !0 }), hb(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 = qb(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 ? {
+}, qb = (e) => e === window ? {
x: window.scrollX,
y: window.scrollY
} : {
x: e.scrollLeft,
y: e.scrollTop
};
-function qb(e, t) {
+function Jb(e, t) {
return t ? { point: t(e.point) } : e;
}
-function Jb(e, t) {
+function Yb(e, t) {
return {
x: e.x - t.x,
y: e.y - t.y
};
}
-function Yb({ point: e }, t) {
+function Xb({ point: e }, t) {
return {
point: e,
- delta: Jb(e, Xb(t)),
- offset: Jb(e, fre(t)),
- velocity: pre(t, .1)
+ delta: Yb(e, Zb(t)),
+ offset: Yb(e, dre(t)),
+ velocity: fre(t, .1)
};
}
-function fre(e) {
+function dre(e) {
return e[0];
}
-function Xb(e) {
+function Zb(e) {
return e[e.length - 1];
}
-function pre(e, t) {
+function fre(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 = Zb(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 pre = /* @__PURE__ */ new Set([
"BUTTON",
"INPUT",
"SELECT",
"TEXTAREA",
"A"
]);
-function hre(e) {
- return mre.has(e.tagName) || e.isContentEditable === !0;
+function mre(e) {
+ return pre.has(e.tagName) || e.isContentEditable === !0;
}
-var gre = /* @__PURE__ */ new Set([
+var hre = /* @__PURE__ */ new Set([
"INPUT",
"SELECT",
"TEXTAREA"
]);
-function _re(e) {
- return gre.has(e.tagName) || e.isContentEditable === !0;
+function gre(e) {
+ return hre.has(e.tagName) || e.isContentEditable === !0;
}
// node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs
-var Zb = {
+var Qb = {
x: !1,
y: !1
};
-function Qb() {
- return Zb.x || Zb.y;
+function $b() {
+ return Qb.x || Qb.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 _re(e) {
+ return e === "x" || e === "y" ? Qb[e] ? null : (Qb[e] = !0, () => {
+ Qb[e] = !1;
+ }) : Qb.x || Qb.y ? null : (Qb.x = Qb.y = !0, () => {
+ Qb.x = Qb.y = !1;
});
}
// node_modules/motion-dom/dist/es/gestures/drag/utils/constraints.mjs
-function yre(e, { min: t, max: n }, r) {
+function vre(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 ex(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 tx(e, { top: t, left: n, bottom: r, right: i }) {
return {
- x: $b(e.x, n, i),
- y: $b(e.y, t, r)
+ x: ex(e.x, n, i),
+ y: ex(e.y, t, r)
};
}
-function tx(e, t) {
+function nx(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 nx(e, t) {
+function rx(e, t) {
return {
- x: tx(e.x, t.x),
- y: tx(e.y, t.y)
+ x: nx(e.x, t.x),
+ y: nx(e.y, t.y)
};
}
-function bre(e, t) {
- let n = .5, r = Dy(e), i = Dy(t);
+function ix(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 xre(e, t) {
+function yre(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 rx = .35;
-function Sre(e = rx) {
- return e === !1 ? e = 0 : e === !0 && (e = rx), {
- x: ix(e, "left", "right"),
- y: ix(e, "top", "bottom")
+var ax = .35;
+function bre(e = ax) {
+ return e === !1 ? e = 0 : e === !0 && (e = ax), {
+ x: ox(e, "left", "right"),
+ y: ox(e, "top", "bottom")
};
}
-function ix(e, t, n) {
+function ox(e, t, n) {
return {
- min: ax(e, t),
- max: ax(e, n)
+ min: sx(e, t),
+ max: sx(e, n)
};
}
-function ax(e, t) {
+function sx(e, t) {
return typeof e == "number" ? e : e[t] || 0;
}
// node_modules/motion-dom/dist/es/gestures/drag/VisualElementDragControls.mjs
-function ox(e) {
+function cx(e) {
let t = "";
for (let n of e.path) {
n.scroll = void 0, n.updateScroll();
@@ -20057,7 +20057,7 @@ function ox(e) {
}
return t;
}
-var Cre = /* @__PURE__ */ new WeakMap(), wre = class {
+var xre = /* @__PURE__ */ new WeakMap(), Sre = class {
constructor(e, t = () => e.getProps()) {
this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {
x: 0,
@@ -20070,25 +20070,25 @@ var Cre = /* @__PURE__ */ new WeakMap(), wre = 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 = _re(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), $y((e) => {
let t = this.getAxisMotionValue(e).get() || 0;
- if (ih(t) && (t = hv(t, this.visualElement.current) || 0), wh.test(t)) t = parseFloat(t);
+ if (ih(t) && (t = mv(t, this.visualElement.current) || 0), wh.test(t)) t = parseFloat(t);
else if (Ch.test(t)) {
let n = o?.layout?.layoutBox[e];
- n && (t = Dy(n) * (parseFloat(t) / 100));
+ n && (t = Ey(n) * (parseFloat(t) / 100));
}
this.originPoint[e] = t;
- }), this.point = typeof r == "function" && r(this), a && pg.update(() => a(e, t), !1, !0), xv(this.visualElement, "transform"), this.visualElement.animationState?.setActive("whileDrag", !0);
+ }), this.point = typeof r == "function" && r(this), a && pg.update(() => a(e, t), !1, !0), bv(this.visualElement, "transform"), this.visualElement.animationState?.setActive("whileDrag", !0);
}, a = (e, t) => {
this.latestPointerEvent = e, this.latestPanInfo = t;
let { dragPropagation: n, dragDirectionLock: r, onDirectionLock: i, onDrag: a } = this.getProps();
if (!n && !this.openDragLock) return;
let { offset: o } = t;
if (r && this.currentDirection === null) {
- if (this.currentDirection = Ere(o), this.currentDirection === null) return;
+ if (this.currentDirection = wre(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 Cre = /* @__PURE__ */ new WeakMap(), wre = class {
y: 0
});
}, { dragSnapToOrigin: c } = this.getProps();
- this.panSession = new Gb(e, {
+ this.panSession = new Kb(e, {
onSessionStart: r,
onStart: i,
onMove: a,
@@ -20133,26 +20133,26 @@ var Cre = /* @__PURE__ */ new WeakMap(), wre = class {
}
updateAxis(e, t) {
let { drag: n } = this.readProps();
- if (!t || !ux(e, n, this.currentDirection)) return;
+ if (!t || !fx(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 = vre(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;
- sx(e) ? this.constraints && this.scroll === ox(n) || (this.constraints = this.resolveRefConstraints()) : this.constraints = e && r && typeof e == "object" ? ex(r.layoutBox, e) : !1, this.elastic = Sre(t), i !== this.constraints && !sx(e) && r && this.constraints && !this.hasMutatedConstraints && $y((e) => {
- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = xre(r.layoutBox[e], this.constraints[e]));
+ lx(e) ? this.constraints && this.scroll === cx(n) || (this.constraints = this.resolveRefConstraints()) : this.constraints = e && r && typeof e == "object" ? tx(r.layoutBox, e) : !1, this.elastic = bre(t), i !== this.constraints && !lx(e) && r && this.constraints && !this.hasMutatedConstraints && $y((e) => {
+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = yre(r.layoutBox[e], this.constraints[e]));
});
}
resolveRefConstraints() {
let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();
- if (!sx(e)) return !1;
- let n = cx(e), { projection: r } = this.visualElement;
+ if (!lx(e)) return !1;
+ let n = ux(e), { projection: r } = this.visualElement;
if (!r || !r.layout) return !1;
- this.scroll = ox(r);
- let i = ene(n, r.root, this.visualElement.getTransformPagePoint()), a = nx(r.layout.layoutBox, r.removeElementScroll(i));
+ this.scroll = cx(r);
+ let i = tne(n, r.root, this.visualElement.getTransformPagePoint()), a = rx(r.layout.layoutBox, r.removeElementScroll(i));
if (t) {
- let e = t(Zte(a));
- this.hasMutatedConstraints = !!e, e && (a = Xv(e));
+ let e = t(Qte(a));
+ this.hasMutatedConstraints = !!e, e && (a = Yv(e));
}
return a;
}
@@ -20164,13 +20164,13 @@ var Cre = /* @__PURE__ */ new WeakMap(), wre = class {
restDelta: 1,
restSpeed: 10,
...a
- }, l = (i) => r && !(this.point && o) && ux(i, t || n, this.currentDirection) ? e[i] : 0;
+ }, l = (i) => r && !(this.point && o) && fx(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 = $y((e) => {
- if (!ux(e, t || n, this.currentDirection)) return;
+ if (!fx(e, t || n, this.currentDirection)) return;
let r = u[e] || {};
(o === !0 || o === e) && (r = {
min: 0,
@@ -20188,7 +20188,7 @@ var Cre = /* @__PURE__ */ new WeakMap(), wre = class {
}
startAxisValueAnimation(e, t) {
let n = this.getAxisMotionValue(e);
- return xv(this.visualElement, e), n.start(mv(e, n, 0, t, this.visualElement, !1));
+ return bv(this.visualElement, e), n.start(pv(e, n, 0, t, this.visualElement, !1));
}
stopAnimation() {
$y((e) => this.getAxisMotionValue(e).stop());
@@ -20203,7 +20203,7 @@ var Cre = /* @__PURE__ */ new WeakMap(), wre = class {
y: t
}, i = this.visualElement.getTransformPagePoint()?.(r) || r, a = this.visualElement.measureViewportBox();
$y((e) => {
- if (!ux(e, n, this.currentDirection)) return;
+ if (!fx(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 Cre = /* @__PURE__ */ new WeakMap(), wre = class {
scalePositionWithinConstraints() {
if (!this.visualElement.current) return;
let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;
- if (!sx(t) || !n || !this.constraints) return;
+ if (!lx(t) || !n || !this.constraints) return;
this.stopAnimation();
let r = this.constraints, i = {
x: 0,
@@ -20219,7 +20219,7 @@ var Cre = /* @__PURE__ */ new WeakMap(), wre = class {
};
$y((e) => {
let t = this.getAxisMotionValue(e).get();
- i[e] = bre({
+ i[e] = ix({
min: t,
max: t
}, r[e]);
@@ -20227,25 +20227,25 @@ var Cre = /* @__PURE__ */ new WeakMap(), wre = 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(), $y((t) => {
let n = this.getAxisMotionValue(t);
- if (!ux(t, e, null) || !n.get()) return;
+ if (!fx(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;
- Cre.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);
+ xre.set(this.visualElement, this);
+ let e = this.visualElement.current, t = Lb(e, "pointerdown", (t) => {
+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && gre(i);
n && r && !a && this.start(t);
}), n, r = () => {
- let { dragConstraints: t } = this.getProps(), r = sx(t) && cx(t);
- r && (this.constraints = this.resolveRefConstraints(), n ||= Tre(e, r, () => this.scalePositionWithinConstraints()));
+ let { dragConstraints: t } = this.getProps(), r = lx(t) && ux(t);
+ r && (this.constraints = this.resolveRefConstraints(), n ||= Cre(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 = hb(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
this.isDragging && t && ($y((t) => {
- if (!ux(t, this.getProps().drag, this.currentDirection)) return;
+ if (!fx(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 Cre = /* @__PURE__ */ new WeakMap(), wre = class {
};
}
getProps() {
- let e = this.readProps(), { dragElastic: t = rx, dragMomentum: n = !0 } = e;
+ let e = this.readProps(), { dragElastic: t = ax, dragMomentum: n = !0 } = e;
return {
...e,
dragElastic: t,
@@ -20263,32 +20263,32 @@ var Cre = /* @__PURE__ */ new WeakMap(), wre = class {
};
}
};
-function sx(e) {
+function lx(e) {
return !!e && typeof e == "object" && ("current" in e || "nodeType" in e);
}
-var cx = (e) => "current" in e ? e.current : e;
-function lx(e) {
+var ux = (e) => "current" in e ? e.current : e;
+function dx(e) {
let t = !0;
return () => {
t ? t = !1 : e();
};
}
-function Tre(e, t, n) {
- let r = Hb(e, lx(n)), i = Hb(t, lx(n));
+function Cre(e, t, n) {
+ let r = Ub(e, dx(n)), i = Ub(t, dx(n));
return () => {
r(), i();
};
}
-function ux(e, t, n) {
+function fx(e, t, n) {
return (t === !0 || t === e) && (n === null || n === e);
}
-function Ere(e, t = 10) {
+function wre(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 dx(e, t) {
- let n = Rv(e), r = new AbortController();
+function px(e, t) {
+ let n = Lv(e), r = new AbortController();
return [
n,
{
@@ -20296,16 +20296,16 @@ function dx(e, t) {
...t,
signal: r.signal
},
- Iv(() => r.abort())
+ Fv(() => r.abort())
];
}
// node_modules/motion-dom/dist/es/gestures/hover.mjs
-function Dre(e) {
- return !(e.pointerType === "touch" || Qb());
+function Tre(e) {
+ return !(e.pointerType === "touch" || $b());
}
-function Ore(e, t, n = {}) {
- t = Lv(t);
- let [r, i, a] = dx(e, n);
+function Ere(e, t, n = {}) {
+ t = Iv(t);
+ let [r, i, a] = px(e, n);
return r.forEach((e) => {
let n = !1, r = !1, a, o = () => {
e.removeEventListener("pointerleave", u);
@@ -20319,7 +20319,7 @@ function Ore(e, t, n = {}) {
e.pointerType !== "touch" && (n ? r = !0 : s(e));
};
e.addEventListener("pointerenter", (n) => {
- if (!Dre(n)) return;
+ if (!Tre(n)) return;
r = !1;
let o = t(e, n);
typeof o == "function" && (a = o, e.addEventListener("pointerleave", u, i));
@@ -20327,71 +20327,71 @@ function Ore(e, t, n = {}) {
}), a;
}
// node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs
-var fx = (e, t) => t ? e === t || fx(e, t.parentElement) : !1, px = /* @__PURE__ */ new WeakSet();
+var mx = (e, t) => t ? e === t || mx(e, t.parentElement) : !1, hx = /* @__PURE__ */ new WeakSet();
// node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs
-function mx(e) {
+function gx(e) {
return (t) => {
t.key === "Enter" && e(t);
};
}
-function hx(e, t) {
+function _x(e, t) {
e.dispatchEvent(new PointerEvent("pointer" + t, {
isPrimary: !0,
bubbles: !0
}));
}
-var kre = (e, t) => {
- let n = !1, r = mx(() => {
- px.has(e) || (n = !0, hx(e, "down"));
- }), i = mx(() => {
- n && (n = !1, hx(e, "up"));
+var Dre = (e, t) => {
+ let n = !1, r = gx(() => {
+ hx.has(e) || (n = !0, _x(e, "down"));
+ }), i = gx(() => {
+ n && (n = !1, _x(e, "up"));
});
e.addEventListener("keydown", r, t), e.addEventListener("keyup", i, t), e.addEventListener("blur", () => {
- e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && hx(e, "cancel");
+ e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && _x(e, "cancel");
}, {
...t,
once: !0
});
};
// node_modules/motion-dom/dist/es/gestures/press/index.mjs
-function gx(e) {
- return Pb(e) && !Qb();
+function vx(e) {
+ return Fb(e) && !$b();
}
-var _x = /* @__PURE__ */ new WeakSet();
-function Are(e, t, n = {}) {
- t = Lv(t);
- let [r, i, a] = dx(e, n), o = (e) => {
+var yx = /* @__PURE__ */ new WeakSet();
+function Ore(e, t, n = {}) {
+ t = Iv(t);
+ let [r, i, a] = px(e, n), o = (e) => {
let r = e.currentTarget;
- if (!gx(e) || _x.has(e)) return;
- px.add(r), n.stopPropagation && _x.add(e);
+ if (!vx(e) || yx.has(e)) return;
+ hx.add(r), n.stopPropagation && yx.add(e);
let a = t(r, e), o = {
...i,
capture: !0
}, s = (e, t) => {
- window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), px.has(r) && px.delete(r), gx(e) && typeof a == "function" && a(e, { success: t });
+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), hx.has(r) && hx.delete(r), vx(e) && typeof a == "function" && a(e, { success: t });
}, c = (e) => {
- s(e, r === window || r === document || n.useGlobalTarget || fx(r, e.target));
+ s(e, r === window || r === document || n.useGlobalTarget || mx(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), Nv(e) && (e.addEventListener("focus", () => kre(e, i), i), !hre(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
+ (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), Mv(e) && (e.addEventListener("focus", () => Dre(e, i), i), !mre(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
}), a;
}
// node_modules/motion-dom/dist/es/render/dom/style-computed.mjs
-function vx(e, t) {
+function bx(e, t) {
let n = window.getComputedStyle(e);
- return E_(t) ? n.getPropertyValue(t) : n[t];
+ return T_(t) ? n.getPropertyValue(t) : n[t];
}
// node_modules/motion-dom/dist/es/render/Feature.mjs
-var yx = class {
+var xx = class {
constructor(e) {
this.isMounted = !1, this.node = e;
}
update() {}
-}, bx = /* @__PURE__ */ new Set([
+}, Sx = /* @__PURE__ */ new Set([
"baseFrequency",
"diffuseConstant",
"kernelMatrix",
@@ -20415,58 +20415,58 @@ var yx = class {
"startOffset",
"textLength",
"lengthAdjust"
-]), xx = (e) => typeof e == "string" && e.toLowerCase() === "svg";
+]), Cx = (e) => typeof e == "string" && e.toLowerCase() === "svg";
// node_modules/motion-dom/dist/es/render/svg/utils/render.mjs
-function jre(e, t, n, r) {
- jb(e, t, void 0, r);
- for (let n in t.attrs) e.setAttribute(bx.has(n) ? n : Wv(n), t.attrs[n]);
+function kre(e, t, n, r) {
+ Mb(e, t, void 0, r);
+ for (let n in t.attrs) e.setAttribute(Sx.has(n) ? n : Uv(n), t.attrs[n]);
}
// node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs
-function Sx(e, t, n) {
- let r = Nb(e, t, n);
- for (let n in e) if (n !== "children" && (bv(e[n]) || bv(t[n]))) {
- let t = f_.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
+function wx(e, t, n) {
+ let r = Pb(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];
}
return r;
}
// node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs
-var Mre = class extends Ab {
+var Are = class extends jb {
constructor() {
super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = Uy;
}
getBaseTargetFromProps(e, t) {
- return p_.has(t) ? super.getBaseTargetFromProps(e, t) ?? l_(t) : e[t];
+ return f_.has(t) ? super.getBaseTargetFromProps(e, t) ?? c_(t) : e[t];
}
getDefaultValue(e) {
- return p_.has(e) ? this.latestValues[e] ?? l_(e) : void 0;
+ return f_.has(e) ? this.latestValues[e] ?? c_(e) : void 0;
}
readValueFromInstance(e, t) {
- if (p_.has(t)) {
- let e = e_(t);
+ if (f_.has(t)) {
+ let e = $g(t);
return e && e.default || 0;
}
- if (Kv.includes(t)) {
+ if (Gv.includes(t)) {
let n = getComputedStyle(e)[t];
if (typeof n == "string" && n) return n.trim();
}
- return t = bx.has(t) ? t : Wv(t), e.getAttribute(t);
+ return t = Sx.has(t) ? t : Uv(t), e.getAttribute(t);
}
scrapeMotionValuesFromProps(e, t, n) {
- return Sx(e, t, n);
+ return wx(e, t, n);
}
build(e, t, n) {
- qv(e, t, this.isSVGTag, n.transformTemplate, n.style);
+ Kv(e, t, this.isSVGTag, n.transformTemplate, n.style);
}
renderInstance(e, t, n, r) {
- jre(e, t, n, r);
+ kre(e, t, n, r);
}
mount(e) {
- this.isSVGTag = xx(e.tagName), super.mount(e);
+ this.isSVGTag = Cx(e.tagName), super.mount(e);
}
};
// node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs
-function Cx(e, t) {
+function Tx(e, t) {
if (!Array.isArray(t)) return !1;
let n = t.length;
if (n !== e.length) return !1;
@@ -20474,18 +20474,18 @@ function Cx(e, t) {
return !0;
}
// node_modules/motion-dom/dist/es/render/utils/animation-state.mjs
-var Nre = [...bb].reverse(), wx = (e) => e?.out === !0 ? e : e?.out;
-function Pre(e) {
- let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => kte(e, t, n))), n = Tx(), r = !0, i = !1;
+var jre = [...xb].reverse(), Ex = (e) => e?.out === !0 ? e : e?.out;
+function Mre(e) {
+ let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => Ate(e, t, n))), n = Dx(), 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" && _v(e, Array.isArray(t) ? t[0] : t, e.presenceContext?.custom) || void 0, p = /* @__PURE__ */ new Map(), m = {}, h = Infinity, g = e;
+ 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 && wx(f(l ?? (g && g.props.initial))?.transition);
- if (Nre.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 && Ex(f(l ?? (g && g.props.initial))?.transition);
+ if (jre.forEach((t, r) => {
+ let i = n[t], l = o[t], f = g && g.props[t], v = l === void 0 ? bb(f) || f === !1 ? f : void 0 : l, y = bb(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 || yb(v) || typeof v == "boolean") return;
if (b === !1 && (h = r), t === "exit" && i.isActive && b !== !0) {
m = {
...m,
@@ -20493,14 +20493,14 @@ function Pre(e) {
};
return;
}
- let S = Fre(i.prevProp, v), C = S || y && (b && !x || r > h), w = !1, T = Array.isArray(v) ? v : [v], E = {}, D;
+ let S = Nre(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 } = _v(e, n, vv(e, t)) || {};
+ let { transition: r, transitionEnd: i, ...a } = gv(e, n, _v(e, t)) || {};
E = {
...E,
...a,
...i
- }, D = wx(r) || D;
+ }, D = Ex(r) || D;
}
let { prevResolvedValues: O } = i;
for (let t in {
@@ -20508,7 +20508,7 @@ function Pre(e) {
...E
}) {
if (t in m) continue;
- let n = E[t], r = O[t], a = Array.isArray(n) && Array.isArray(r) ? !Cx(n, r) || S : n !== r, o;
+ let n = E[t], r = O[t], a = Array.isArray(n) && Array.isArray(r) ? !Tx(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;
@@ -20523,8 +20523,8 @@ function Pre(e) {
}), C && (!(x && S) || w)) for (let n of T) {
let r = { type: t };
if (typeof n == "string" && u && c && s?.enteringChildren) {
- let t = _v(s, n)?.transition?.delayChildren;
- r.delay = sv(s.enteringChildren, e, t);
+ let t = gv(s, n)?.transition?.delayChildren;
+ r.delay = ov(s.enteringChildren, e, t);
}
d.push({
animation: n,
@@ -20541,7 +20541,7 @@ function Pre(e) {
let s = e.getValue(a);
s && (s.liveStyle = !0);
let c = n && !Array.isArray(l) ? n[a] : void 0, u = e.getBaseTargetFromProps(o, a);
- t[a] = (c === void 0 ? u !== void 0 && !bv(u) ? u : e.initialValues[a] === void 0 ? e.baseTarget[a] : void 0 : c) ?? null;
+ t[a] = (c === void 0 ? u !== void 0 && !yv(u) ? u : e.initialValues[a] === void 0 ? e.baseTarget[a] : void 0 : c) ?? null;
}), r && (t.transition = r), d.push({ animation: t });
}
let v = u && e.blockInitialAnimation || r && !c && (o.initial === !1 || o.initial === o.animate);
@@ -20562,16 +20562,16 @@ function Pre(e) {
},
getState: () => n,
reset: () => {
- n = Tx(), i = !0;
+ n = Dx(), i = !0;
}
};
}
-function Fre(e, t) {
- return typeof t == "string" ? t !== e : Array.isArray(t) ? !Cx(t, e) : !1;
+function Nre(e, t) {
+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !Tx(t, e) : !1;
}
-function Tx() {
+function Dx() {
let e = {};
- for (let t of bb) e[t] = {
+ for (let t of xb) e[t] = {
isActive: t === "animate",
protectedKeys: {},
needsAnimating: {},
@@ -20581,55 +20581,55 @@ function Tx() {
return e;
}
// node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs
-var Ex = /* @__PURE__ */ (0, F.createContext)({
+var Ox = /* @__PURE__ */ (0, F.createContext)({
transformPagePoint: (e) => e,
isStatic: !1,
reducedMotion: "never"
});
// node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs
-function Dx(e, t) {
+function kx(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
-function Ire(...e) {
+function Pre(...e) {
return (t) => {
let n = !1, r = e.map((e) => {
- let r = Dx(e, t);
+ let r = kx(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() : Dx(e[t], null);
+ typeof n == "function" ? n() : kx(e[t], null);
}
};
};
}
-function Lre(...e) {
- return F.useCallback(Ire(...e), e);
+function Fre(...e) {
+ return F.useCallback(Pre(...e), e);
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs
-var Ox = (e) => {
+var Ax = (e) => {
let { width: t, height: n } = e?.getBoundingClientRect() || {};
return [t / e?.offsetWidth || 1, n / e?.offsetHeight || 1];
-}, kx = (e) => {
+}, jx = (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] = Ox(r);
+ let [a, o] = Ax(r);
t += e * a, n += i * o;
}
if (getComputedStyle(r).position === "fixed") break;
}
- let [i, a] = Ox(e.offsetParent);
+ let [i, a] = Ax(e.offsetParent);
return [t / i, n / a];
-}, Rre = class extends F.Component {
+}, Ire = class extends F.Component {
getSnapshotBeforeUpdate(e) {
let t = this.props.getElement();
- if (Nv(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
- let e = t.offsetParent, n = Nv(e) && e.offsetWidth || 0, r = Nv(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 = kx(t);
+ 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 = jx(t);
}
return null;
}
@@ -20638,7 +20638,7 @@ var Ox = (e) => {
return this.props.children;
}
};
-function zre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a, popNode: o }) {
+function Lre({ 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 zre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
right: 0,
bottom: 0,
direction: "ltr"
- }), { nonce: u } = (0, F.useContext)(Ex), d = Lre(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current, p = (e) => {
+ }), { nonce: u } = (0, F.useContext)(Ox), d = Fre(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}`);
};
@@ -20660,10 +20660,10 @@ function zre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
let d = i ?? o.head;
d.appendChild(c), p(c.sheet);
let m = 0, h = 0;
- return hy.setup(() => {
- let [e, t] = kx(r);
+ return my.setup(() => {
+ let [e, t] = jx(r);
m = l.current.point[0] - e, h = l.current.point[1] - t;
- }), hy.read(() => {
+ }), my.read(() => {
let { sheet: e } = c;
if (!e || !m && !h) return;
let t = l.current;
@@ -20671,7 +20671,7 @@ function zre({ 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)(Rre, {
+ }, [t]), (0, I.jsx)(Ire, {
isPresent: t,
getElement: f,
sizeRef: l,
@@ -20680,8 +20680,8 @@ function zre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
});
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs
-var Bre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
- let u = dm(Vre), d = (0, F.useId)(), f = (0, F.useRef)(), p = (0, F.useRef)(n), m = (0, F.useRef)(r);
+var Rre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
+ let u = dm(zre), 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 Bre = ({ 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)(zre, {
+ }, [n]), e = (0, I.jsx)(Lre, {
pop: o === "popLayout",
isPresent: n,
anchorX: s,
@@ -20720,11 +20720,11 @@ var Bre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i
children: e
});
};
-function Vre() {
+function zre() {
return /* @__PURE__ */ new Map();
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs
-function Ax(e = !0) {
+function Mx(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 Ax(e = !0) {
]);
return !n && r ? [!1, o] : [!0];
}
-function jx() {
- return Hre((0, F.useContext)(pm));
+function Nx() {
+ return Bre((0, F.useContext)(pm));
}
-function Hre(e) {
+function Bre(e) {
return e === null || e.isPresent;
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs
-var Mx = (e) => e.key || "";
-function Nx(e) {
+var Px = (e) => e.key || "";
+function Fx(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 Px = ({ 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] = Ax(o), f = (0, F.useMemo)(() => Nx(e), [e]), p = o && !u ? [] : f.map(Mx), 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 Ix = ({ 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] = Mx(o), f = (0, F.useMemo)(() => Fx(e), [e]), p = o && !u ? [] : f.map(Px), 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 Px = ({ 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 = Mx(y[e]);
+ let t = Px(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 Px = ({ 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(Mx(n));
+ let r = p.indexOf(Px(n));
r === -1 ? (e.splice(t++, 0, n), S.push(n)) : t = r + S.length + 1;
}
- return S.every((e) => h.get(Mx(e))) ? e = f : a === "wait" && (e = S), b(Nx(e)), v(f), null;
+ return S.every((e) => h.get(Px(e))) ? e = f : a === "wait" && (e = S), b(Fx(e)), v(f), null;
}
let { forceRender: C } = (0, F.useContext)(um);
return (0, I.jsx)(I.Fragment, { children: y.map((e) => {
- let _ = Mx(e), b = o && !u ? !1 : f === y || p.includes(_);
- return (0, I.jsx)(Bre, {
+ let _ = Px(e), b = o && !u ? !1 : f === y || p.includes(_);
+ return (0, I.jsx)(Rre, {
isPresent: b,
initial: !m.current || n ? void 0 : !1,
custom: t,
@@ -20811,8 +20811,8 @@ var Px = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
children: e
}, _);
}) });
-}, Fx = /* @__PURE__ */ (0, F.createContext)({ strict: !1 }), Ix = {
- animation: ["variants", ...bb],
+}, Lx = /* @__PURE__ */ (0, F.createContext)({ strict: !1 }), Rx = {
+ animation: ["variants", ...xb],
exit: ["exit"],
drag: ["drag", "dragControls"],
focus: ["whileFocus"],
@@ -20839,32 +20839,32 @@ var Px = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
"onViewportLeave"
],
layout: ["layout", "layoutId"]
-}, Lx = !1;
-function Ure() {
- if (Lx) return;
+}, zx = !1;
+function Vre() {
+ if (zx) return;
let e = {};
- for (let t in Ix) e[t] = { isEnabled: (e) => Ix[t].some((t) => !!e[t]) };
- kb(e), Lx = !0;
+ for (let t in Rx) e[t] = { isEnabled: (e) => Rx[t].some((t) => !!e[t]) };
+ Ab(e), zx = !0;
}
-function Rx() {
- return Ure(), Qne();
+function Bx() {
+ return Vre(), Zne();
}
// node_modules/framer-motion/dist/es/motion/features/load-features.mjs
-function Wre(e) {
- let t = Rx();
+function Hre(e) {
+ let t = Bx();
for (let n in e) t[n] = {
...t[n],
...e[n]
};
- kb(t);
+ Ab(t);
}
// node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs
-function Gre({ children: e, ...t }) {
- let n = (0, F.useContext)(Ex);
+function Ure({ children: e, ...t }) {
+ let n = (0, F.useContext)(Ox);
t = {
...n,
...t
- }, t.transition = fv(t.transition, n.transition), t.isStatic = dm(() => t.isStatic);
+ }, t.transition = dv(t.transition, n.transition), t.isStatic = dm(() => t.isStatic);
let r = (0, F.useMemo)(() => t, [
JSON.stringify(t.transition),
t.transformPagePoint,
@@ -20872,77 +20872,77 @@ function Gre({ children: e, ...t }) {
t.skipAnimations,
t.isValidProp
]);
- return (0, I.jsx)(Ex.Provider, {
+ return (0, I.jsx)(Ox.Provider, {
value: r,
children: e
});
}
// node_modules/framer-motion/dist/es/context/MotionContext/index.mjs
-var zx = /* @__PURE__ */ (0, F.createContext)({});
+var Vx = /* @__PURE__ */ (0, F.createContext)({});
// node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs
-function Kre(e, t) {
- if (Sb(e)) {
+function Wre(e, t) {
+ if (Cb(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 || bb(t) ? t : void 0,
+ animate: bb(n) ? n : void 0
};
}
return e.inherit === !1 ? {} : t;
}
// node_modules/framer-motion/dist/es/context/MotionContext/create.mjs
-function qre(e) {
- let { initial: t, animate: n } = Kre(e, (0, F.useContext)(zx));
+function Gre(e) {
+ let { initial: t, animate: n } = Wre(e, (0, F.useContext)(Vx));
return (0, F.useMemo)(() => ({
initial: t,
animate: n
- }), [Bx(t), Bx(n)]);
+ }), [Hx(t), Hx(n)]);
}
-function Bx(e) {
+function Hx(e) {
return Array.isArray(e) ? e.join(" ") : e;
}
// node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs
-var Vx = () => ({
+var Ux = () => ({
style: {},
transform: {},
transformOrigin: {},
vars: {}
});
// node_modules/framer-motion/dist/es/render/html/use-props.mjs
-function Hx(e, t, n) {
- for (let r in t) !bv(t[r]) && !Mb(r, n) && (e[r] = t[r]);
+function Wx(e, t, n) {
+ for (let r in t) !yv(t[r]) && !Nb(r, n) && (e[r] = t[r]);
}
-function Jre({ transformTemplate: e }, t) {
+function Kre({ transformTemplate: e }, t) {
return (0, F.useMemo)(() => {
- let n = Vx();
- return Gv(n, t, e), Object.assign({}, n.vars, n.style);
+ let n = Ux();
+ return Wv(n, t, e), Object.assign({}, n.vars, n.style);
}, [t]);
}
-function Yre(e, t) {
+function qre(e, t) {
let n = e.style || {}, r = {};
- return Hx(r, n, e), Object.assign(r, Jre(e, t)), r;
+ return Wx(r, n, e), Object.assign(r, Kre(e, t)), r;
}
-function Xre(e, t) {
- let n = {}, r = Yre(e, t);
+function Jre(e, t) {
+ let n = {}, r = qre(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 Ux = () => ({
- ...Vx(),
+var Gx = () => ({
+ ...Ux(),
attrs: {}
});
// node_modules/framer-motion/dist/es/render/svg/use-props.mjs
-function Zre(e, t, n, r) {
+function Yre(e, t, n, r) {
let i = (0, F.useMemo)(() => {
- let n = Ux();
- return qv(n, t, xx(r), e.transformTemplate, e.style), {
+ let n = Gx();
+ return Kv(n, t, Cx(r), e.transformTemplate, e.style), {
...n.attrs,
style: { ...n.style }
};
}, [t]);
if (e.style) {
let t = {};
- return Hx(t, e.style, e), {
+ return Wx(t, e.style, e), {
...i,
style: {
...t,
@@ -20953,21 +20953,21 @@ function Zre(e, t, n, r) {
return i;
}
// node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs
-var Qre = /* @__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 Wx(e) {
- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Qre.has(e);
+var Xre = /* @__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 Kx(e) {
+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Xre.has(e);
}
// node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs
-function $re(e, t) {
- return e.startsWith("on") ? !Wx(e) : t?.(e) ?? !Wx(e);
+function Zre(e, t) {
+ return e.startsWith("on") ? !Kx(e) : t?.(e) ?? !Kx(e);
}
-function eie(e, t, n, r) {
+function Qre(e, t, n, r) {
let i = {};
- for (let a in e) a === "values" && typeof e.values == "object" || bv(e[a]) || ($re(a, r) || n === !0 && Wx(a) || !t && !Wx(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);
+ for (let a in e) a === "values" && typeof e.values == "object" || yv(e[a]) || (Zre(a, r) || n === !0 && Kx(a) || !t && !Kx(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);
return i;
}
// node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs
-var tie = [
+var $re = [
"animate",
"circle",
"defs",
@@ -20995,40 +20995,40 @@ var tie = [
"view"
];
// node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs
-function Gx(e) {
- return typeof e != "string" || e.includes("-") ? !1 : !!(tie.indexOf(e) > -1 || /[A-Z]/u.test(e));
+function qx(e) {
+ return typeof e != "string" || e.includes("-") ? !1 : !!($re.indexOf(e) > -1 || /[A-Z]/u.test(e));
}
// node_modules/framer-motion/dist/es/render/dom/use-render.mjs
-function nie(e, t, n, { latestValues: r }, i, a = !1, o, s) {
- let c = (o ?? Gx(e) ? Zre : Xre)(t, r, i, e), l = eie(t, typeof e == "string", a, s), u = e === F.Fragment ? {} : {
+function eie(e, t, n, { latestValues: r }, i, a = !1, o, s) {
+ let c = (o ?? qx(e) ? Yre : Jre)(t, r, i, e), l = Qre(t, typeof e == "string", a, s), u = e === F.Fragment ? {} : {
...l,
...c,
ref: n
- }, { children: d } = t, f = (0, F.useMemo)(() => bv(d) ? d.get() : d, [d]);
+ }, { children: d } = t, f = (0, F.useMemo)(() => yv(d) ? d.get() : d, [d]);
return (0, F.createElement)(e, {
...u,
children: f
});
}
// node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs
-function rie({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
+function tie({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
return {
- latestValues: iie(n, r, i, e),
+ latestValues: nie(n, r, i, e),
renderState: t()
};
}
-function iie(e, t, n, r) {
+function nie(e, t, n, r) {
let i = {}, a = r(e, {});
- for (let e in a) i[e] = yy(a[e]);
- let { initial: o, animate: s } = e, c = Sb(e), l = Cb(e);
+ for (let e in a) i[e] = vy(a[e]);
+ let { initial: o, animate: s } = e, c = Cb(e), l = wb(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" && !yb(d)) {
let t = Array.isArray(d) ? d : [d];
for (let n = 0; n < t.length; n++) {
- let r = gv(e, t[n]);
+ let r = hv(e, t[n]);
if (r) {
let { transitionEnd: e, transition: t, ...n } = r;
for (let e in n) {
@@ -21045,18 +21045,18 @@ function iie(e, t, n, r) {
}
return i;
}
-var Kx = (e) => (t, n) => {
- let r = (0, F.useContext)(zx), i = (0, F.useContext)(pm), a = () => rie(e, t, r, i);
+var Jx = (e) => (t, n) => {
+ let r = (0, F.useContext)(Vx), i = (0, F.useContext)(pm), a = () => tie(e, t, r, i);
return n ? a() : dm(a);
-}, aie = /*@__PURE__*/ Kx({
- scrapeMotionValuesFromProps: Nb,
- createRenderState: Vx
-}), oie = /*@__PURE__*/ Kx({
- scrapeMotionValuesFromProps: Sx,
+}, rie = /*@__PURE__*/ Jx({
+ scrapeMotionValuesFromProps: Pb,
createRenderState: Ux
-}), sie = /* @__PURE__ */ Symbol.for("motionComponentSymbol");
+}), iie = /*@__PURE__*/ Jx({
+ scrapeMotionValuesFromProps: wx,
+ createRenderState: Gx
+}), aie = /* @__PURE__ */ Symbol.for("motionComponentSymbol");
// node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs
-function cie(e, t, n) {
+function oie(e, t, n) {
let r = (0, F.useRef)(n);
(0, F.useInsertionEffect)(() => {
r.current = n;
@@ -21074,10 +21074,10 @@ function cie(e, t, n) {
}, [t]);
}
// node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs
-var qx = /* @__PURE__ */ (0, F.createContext)({});
+var Yx = /* @__PURE__ */ (0, F.createContext)({});
// node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs
-function lie(e, t, n, r, i, a) {
- let { visualElement: o } = (0, F.useContext)(zx), s = (0, F.useContext)(Fx), c = (0, F.useContext)(pm), l = (0, F.useContext)(Ex), u = l.reducedMotion, d = l.skipAnimations, f = (0, F.useRef)(null), p = (0, F.useRef)(!1);
+function sie(e, t, n, r, i, a) {
+ let { visualElement: o } = (0, F.useContext)(Vx), s = (0, F.useContext)(Lx), c = (0, F.useContext)(pm), l = (0, F.useContext)(Ox), 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,11 +21088,11 @@ function lie(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)(qx);
+ let m = f.current, h = (0, F.useContext)(Yx);
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);
});
- let g = n[Sv], _ = (0, F.useRef)(!!g && typeof window < "u" && !window.MotionHandoffIsComplete?.(g) && window.MotionHasOptimisedAnimation?.(g));
+ let g = n[xv], _ = (0, F.useRef)(!!g && typeof window < "u" && !window.MotionHandoffIsComplete?.(g) && window.MotionHasOptimisedAnimation?.(g));
return fm(() => {
p.current && m && (m.animationState?.animateChanges(), m.enteringChildren = void 0);
}, []), fm(() => {
@@ -21104,46 +21104,46 @@ function lie(e, t, n, r, i, a) {
}), m;
}
// node_modules/framer-motion/dist/es/motion/index.mjs
-function Jx(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
- r && Wre(r);
- let a = n ? n === "svg" : Gx(e), o = a ? oie : aie;
+function Xx(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
+ r && Hre(r);
+ let a = n ? n === "svg" : qx(e), o = a ? iie : rie;
function s(n, s) {
- let c, l = uie(n);
- dm(() => !!hb.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {
+ let c, l = cie(n);
+ dm(() => !!gb.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {
...n,
initial: !1
});
let u = {
- ...(0, F.useContext)(Ex),
+ ...(0, F.useContext)(Ox),
...n,
layoutId: l
- }, { isStatic: d, isValidProp: f } = u, p = qre(n), m = o(n, d);
+ }, { isStatic: d, isValidProp: f } = u, p = Gre(n), m = o(n, d);
if (!d && typeof window < "u") {
- die(u, r);
- let t = fie(u);
- p.visualElement = lie(e, m, u, i, t.ProjectionNode, a), (t.isEnabled || p.visualElement?.projection?.options.layoutId) && (c = t.MeasureLayout);
+ lie(u, r);
+ let t = uie(u);
+ p.visualElement = sie(e, m, u, i, t.ProjectionNode, a), (t.isEnabled || p.visualElement?.projection?.options.layoutId) && (c = t.MeasureLayout);
}
- return (0, I.jsxs)(zx.Provider, {
+ return (0, I.jsxs)(Vx.Provider, {
value: p,
children: [c && p.visualElement ? (0, I.jsx)(c, {
visualElement: p.visualElement,
...u
- }) : null, nie(e, n, cie(m, p.visualElement, s), m, d, t, a, f)]
+ }) : null, eie(e, n, oie(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[sie] = e, c;
+ return c[aie] = e, c;
}
-function uie({ layoutId: e }) {
+function cie({ layoutId: e }) {
let t = (0, F.useContext)(um).id;
return t && e !== void 0 ? t + "-" + e : e;
}
-function die(e, t) {
- (0, F.useContext)(Fx).strict;
+function lie(e, t) {
+ (0, F.useContext)(Lx).strict;
}
-function fie(e) {
- let { drag: t, layout: n } = Rx();
+function uie(e) {
+ let { drag: t, layout: n } = Bx();
if (!t && !n) return {};
let r = {
...t,
@@ -21156,19 +21156,19 @@ function fie(e) {
};
}
// node_modules/framer-motion/dist/es/render/components/create-proxy.mjs
-function pie(e, t) {
- if (typeof Proxy > "u") return Jx;
- let n = /* @__PURE__ */ new Map(), r = (n, r) => Jx(n, r, e, t);
- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Jx(a, void 0, e, t)), n.get(a)) });
+function die(e, t) {
+ if (typeof Proxy > "u") return Xx;
+ let n = /* @__PURE__ */ new Map(), r = (n, r) => Xx(n, r, e, t);
+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Xx(a, void 0, e, t)), n.get(a)) });
}
// node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs
-var mie = (e, t) => t.isSVG ?? Gx(e) ? new Mre(t) : new tre(t, { allowProjection: e !== F.Fragment }), hie = class extends yx {
+var fie = (e, t) => t.isSVG ?? qx(e) ? new Are(t) : new ere(t, { allowProjection: e !== F.Fragment }), pie = class extends xx {
constructor(e) {
- super(e), e.animationState ||= Pre(e);
+ super(e), e.animationState ||= Mre(e);
}
updateAnimationControlsSubscription() {
let { animate: e } = this.node.getProps();
- vb(e) && (this.unmountControls = e.subscribe(this.node));
+ yb(e) && (this.unmountControls = e.subscribe(this.node));
}
mount() {
this.updateAnimationControlsSubscription();
@@ -21179,11 +21179,11 @@ var mie = (e, t) => t.isSVG ?? Gx(e) ? new Mre(t) : new tre(t, { allowProjection
unmount() {
this.node.animationState.reset(), this.unmountControls?.();
}
-}, gie = 0, _ie = {
- animation: { Feature: hie },
- exit: { Feature: class extends yx {
+}, mie = 0, hie = {
+ animation: { Feature: pie },
+ exit: { Feature: class extends xx {
constructor() {
- super(...arguments), this.id = gie++;
+ super(...arguments), this.id = mie++;
}
update() {
let { presenceContext: e, prevPresenceContext: t, animationState: n } = this.node;
@@ -21194,7 +21194,7 @@ var mie = (e, t) => t.isSVG ?? Gx(e) ? new Mre(t) : new tre(t, { allowProjection
if (this.exit === !0) {
let { initial: e } = this.node.getProps();
if (e && !Array.isArray(e)) {
- let { transition: t, transitionEnd: n, ...r } = _v(this.node, e) || {};
+ let { transition: t, transitionEnd: n, ...r } = gv(this.node, e) || {};
for (let e in r) this.node.getValue(e)?.jump(r[e]);
}
this.node.blockInitialAnimation = !1, n.reset(), n.animateChanges();
@@ -21213,9 +21213,9 @@ var mie = (e, t) => t.isSVG ?? Gx(e) ? new Mre(t) : new tre(t, { allowProjection
}
unmount() {}
} }
-}, vie = class extends yx {
+}, gie = class extends xx {
constructor(e) {
- super(e), this.removeGroupControls = Sm, this.removeListeners = Sm, this.controls = new wre(e);
+ super(e), this.removeGroupControls = Sm, this.removeListeners = Sm, this.controls = new Sre(e);
}
mount() {
let { dragControls: e } = this.node.getProps();
@@ -21228,14 +21228,14 @@ var mie = (e, t) => t.isSVG ?? Gx(e) ? new Mre(t) : new tre(t, { allowProjection
unmount() {
this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();
}
-}, Yx = (e) => (t, n) => {
+}, Zx = (e) => (t, n) => {
e && pg.update(() => e(t, n), !1, !0);
-}, yie = class extends yx {
+}, _ie = class extends xx {
constructor() {
super(...arguments), this.removePointerDownListener = Sm;
}
onPointerDown(e) {
- this.session = new Gb(e, this.createPanHandlers(), {
+ this.session = new Kb(e, this.createPanHandlers(), {
transformPagePoint: this.node.getTransformPagePoint(),
contextWindow: this.node.current?.ownerDocument.defaultView
});
@@ -21243,16 +21243,16 @@ var mie = (e, t) => t.isSVG ?? Gx(e) ? new Mre(t) : new tre(t, { allowProjection
createPanHandlers() {
let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();
return {
- onSessionStart: Yx(e),
- onStart: Yx(t),
- onMove: Yx(n),
+ onSessionStart: Zx(e),
+ onStart: Zx(t),
+ onMove: Zx(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 = Lb(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
}
update() {
this.session?.updateHandlers(this.createPanHandlers());
@@ -21260,12 +21260,12 @@ var mie = (e, t) => t.isSVG ?? Gx(e) ? new Mre(t) : new tre(t, { allowProjection
unmount() {
this.removePointerDownListener(), this.session?.end();
}
-}, Xx = !1, Zx = ({ layout: e, layoutDependency: t, layoutAnchor: n }) => ({
+}, Qx = !1, $x = ({ layout: e, layoutDependency: t, layoutAnchor: n }) => ({
layout: e,
layoutDependency: t,
layoutAnchor: n,
animationType: typeof e == "string" ? e : "both"
-}), Qx = (e, t) => {
+}), eS = (e, t) => {
let { snapshot: n } = e, r = e.getStack();
r?.remove(e);
let i = r?.lead;
@@ -21274,33 +21274,33 @@ var mie = (e, t) => t.isSVG ?? Gx(e) ? new Mre(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);
};
-}, bie = class extends F.Component {
+}, vie = 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), Xx && i.root.didUpdate(), i.options.layoutId !== r && Qx(i, r)?.(), i.addEventListener("animationComplete", () => this.safeToRemove()), i.setOptions({
+ i && (t.group?.add(i), r && n?.register?.(i), Qx && i.root.didUpdate(), i.options.layoutId !== r && eS(i, r)?.(), i.addEventListener("animationComplete", () => this.safeToRemove()), i.setOptions({
...i.options,
- ...Zx(this.props),
+ ...$x(this.props),
onExitComplete: () => this.safeToRemove()
})), eb.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(), Qx(o, n)), o.setOptions({
+ return o && (o.isPresent = a, this.takeOver = e.layoutId === n ? void 0 : (o.willUpdate(), eS(o, n)), o.setOptions({
...o.options,
- ...Zx(this.props)
- }), Xx = !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(() => {
+ ...$x(this.props)
+ }), Qx = !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;
}
componentDidUpdate() {
let { projection: e } = this.props.visualElement;
- e && (this.takeOver?.(), e.root.didUpdate(), hy.postRender(() => {
+ e && (this.takeOver?.(), e.root.didUpdate(), my.postRender(() => {
!e.currentAnimation && e.isLead() && this.safeToRemove();
}));
}
componentWillUnmount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;
- Xx = !0, r && (r.scheduleCheckAfterUnmount(), t.group?.remove(r), n?.deregister?.(r));
+ Qx = !0, r && (r.scheduleCheckAfterUnmount(), t.group?.remove(r), n?.deregister?.(r));
}
safeToRemove() {
this.props.safeToRemove?.();
@@ -21309,39 +21309,39 @@ var mie = (e, t) => t.isSVG ?? Gx(e) ? new Mre(t) : new tre(t, { allowProjection
return null;
}
};
-function $x(e) {
- let [t, n] = Ax(), r = (0, F.useContext)(um);
- return (0, I.jsx)(bie, {
+function tS(e) {
+ let [t, n] = Mx(), r = (0, F.useContext)(um);
+ return (0, I.jsx)(vie, {
...e,
layoutGroup: r,
- switchLayoutGroup: (0, F.useContext)(qx),
+ switchLayoutGroup: (0, F.useContext)(Yx),
isPresent: t,
safeToRemove: n
});
}
// node_modules/framer-motion/dist/es/motion/features/drag.mjs
-var xie = {
- pan: { Feature: yie },
+var yie = {
+ pan: { Feature: _ie },
drag: {
- Feature: vie,
- ProjectionNode: gb,
- MeasureLayout: $x
+ Feature: gie,
+ ProjectionNode: _b,
+ MeasureLayout: tS
}
};
// node_modules/framer-motion/dist/es/gestures/hover.mjs
-function eS(e, t, n, r) {
+function nS(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, Ib(t)));
}
-var Sie = class extends yx {
+var bie = class extends xx {
mount() {
let { current: e } = this.node;
- e && (this.unmount = Ore(e, (e, t) => (eS(this.node, t, "Hover", "Start"), (e) => eS(this.node, e, "Hover", "End"))));
+ e && (this.unmount = Ere(e, (e, t) => (nS(this.node, t, "Hover", "Start"), (e) => nS(this.node, e, "Hover", "End"))));
}
unmount() {}
-}, Cie = class extends yx {
+}, xie = class extends xx {
constructor() {
super(...arguments), this.isActive = !1;
}
@@ -21358,51 +21358,51 @@ var Sie = class extends yx {
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(hb(this.node.current, "focus", () => this.onFocus()), hb(this.node.current, "blur", () => this.onBlur()));
}
unmount() {}
};
// node_modules/framer-motion/dist/es/gestures/press.mjs
-function tS(e, t, n) {
- e.current instanceof HTMLButtonElement && e.current.disabled || eS(e, t, "Tap", n);
+function rS(e, t, n) {
+ e.current instanceof HTMLButtonElement && e.current.disabled || nS(e, t, "Tap", n);
}
-var wie = class extends yx {
+var Sie = class extends xx {
mount() {
let { current: e } = this.node;
if (!e) return;
let { globalTapTarget: t, propagate: n } = this.node.props;
- this.unmount = Are(e, (e, t) => (tS(this.node, t, "Start"), (e, { success: t }) => tS(this.node, e, t ? "" : "Cancel")), {
+ this.unmount = Ore(e, (e, t) => (rS(this.node, t, "Start"), (e, { success: t }) => rS(this.node, e, t ? "" : "Cancel")), {
useGlobalTarget: t,
stopPropagation: n?.tap === !1
});
}
unmount() {}
-}, nS = /* @__PURE__ */ new WeakMap(), rS = /* @__PURE__ */ new WeakMap(), Tie = (e) => {
- let t = nS.get(e.target);
+}, iS = /* @__PURE__ */ new WeakMap(), aS = /* @__PURE__ */ new WeakMap(), Cie = (e) => {
+ let t = iS.get(e.target);
t && t(e);
-}, Eie = (e) => {
- e.forEach(Tie);
+}, wie = (e) => {
+ e.forEach(Cie);
};
-function Die({ root: e, ...t }) {
+function Tie({ root: e, ...t }) {
let n = e || document;
- rS.has(n) || rS.set(n, {});
- let r = rS.get(n), i = JSON.stringify(t);
- return r[i] || (r[i] = new IntersectionObserver(Eie, {
+ aS.has(n) || aS.set(n, {});
+ let r = aS.get(n), i = JSON.stringify(t);
+ return r[i] || (r[i] = new IntersectionObserver(wie, {
root: e,
...t
})), r[i];
}
-function Oie(e, t, n) {
- let r = Die(t);
- return nS.set(e, n), r.observe(e), () => {
- nS.delete(e), r.unobserve(e);
+function Eie(e, t, n) {
+ let r = Tie(t);
+ return iS.set(e, n), r.observe(e), () => {
+ iS.delete(e), r.unobserve(e);
};
}
// node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs
-var kie = {
+var Die = {
some: 0,
all: 1
-}, Aie = class extends yx {
+}, Oie = class extends xx {
constructor() {
super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
}
@@ -21411,7 +21411,7 @@ var kie = {
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 : kie[r]
+ threshold: typeof r == "number" ? r : Die[r]
}, o = (e) => {
let { isIntersecting: t } = e;
if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;
@@ -21419,7 +21419,7 @@ var kie = {
let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;
a && a(e);
};
- this.stopObserver = Oie(this.node.current, a, o);
+ this.stopObserver = Eie(this.node.current, a, o);
}
mount() {
this.startObserver();
@@ -21431,61 +21431,61 @@ var kie = {
"amount",
"margin",
"root"
- ].some(jie(e, t)) && this.startObserver();
+ ].some(kie(e, t)) && this.startObserver();
}
unmount() {
this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;
}
};
-function jie({ viewport: e = {} }, { viewport: t = {} } = {}) {
+function kie({ viewport: e = {} }, { viewport: t = {} } = {}) {
return (n) => e[n] !== t[n];
}
// node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs
-var Mie = /*@__PURE__*/ pie(/* @__PURE__ */ Object.assign({}, _ie, {
- inView: { Feature: Aie },
- tap: { Feature: wie },
- focus: { Feature: Cie },
- hover: { Feature: Sie }
-}, xie, { layout: {
- ProjectionNode: gb,
- MeasureLayout: $x
-} }), mie);
+var Aie = /*@__PURE__*/ die(/* @__PURE__ */ Object.assign({}, hie, {
+ inView: { Feature: Oie },
+ tap: { Feature: Sie },
+ focus: { Feature: xie },
+ hover: { Feature: bie }
+}, yie, { layout: {
+ ProjectionNode: _b,
+ MeasureLayout: tS
+} }), fie);
// node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs
-function iS() {
- !Tb.current && Eb();
- let [e] = (0, F.useState)(wb.current);
+function oS() {
+ !Eb.current && Db();
+ let [e] = (0, F.useState)(Tb.current);
return e;
}
// node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs
-function aS(e) {
+function sS(e) {
return typeof e == "object" && !Array.isArray(e);
}
// node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.mjs
-function oS(e, t, n, r) {
- return e == null ? [] : typeof e == "string" && aS(t) ? Rv(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];
+function cS(e, t, n, r) {
+ return e == null ? [] : typeof e == "string" && sS(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 Nie(e, t, n) {
+function jie(e, t, n) {
return e * (t + 1) + n * t;
}
// node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs
-function sS(e, t) {
+function lS(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 Pie(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))) : sS(t, r) ?? e;
+function Mie(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))) : lS(t, r) ?? e;
}
// node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs
-function Fie(e, t, n) {
+function Nie(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 Iie(e, t, n, r, i, a) {
- Fie(e, i, a);
+function Pie(e, t, n, r, i, a) {
+ Nie(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 Iie(e, t, n, r, i, a) {
});
}
// node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs
-function Lie(e, t, n = 0) {
+function Fie(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 Rie(e, t) {
+function Iie(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 zie = "easeInOut", Bie = 20;
-function Vie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
+var Lie = "easeInOut", Rie = 20;
+function zie(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 : Pie(f, e, d, u);
+ let a = n, s = (e) => typeof e == "number" ? n + e : Mie(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 Vie(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 = Hie(e), { delay: l = 0, times: u = Rg(c), type: d = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: g = 0, ..._ } = n, { ease: v = t.ease || "easeOut", duration: b } = n;
+ let c = Bie(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 = N_(d) ? d : i?.[d || "keyframes"];
+ 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 && Gie(c)) {
+ if (S === 2 && Uie(c)) {
let t = c[1] - c[0];
e = Math.abs(t);
}
@@ -21541,9 +21541,9 @@ function Vie(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 && Lg(u, T), c.length === 1 && c.unshift(null), m && m < Bie) {
+ if (T > 0 && Ig(u, T), c.length === 1 && c.unshift(null), m && m < Rie) {
let e = b > 0 ? g / b : 0;
- b = Nie(b, m, g);
+ b = jie(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 Vie(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));
}
- Lie(u, m, e);
+ Fie(u, m, e);
}
let E = w + b;
- Iie(r, c, v, u, w, E), y = Math.max(x + b, y), p = Math.max(E, p);
+ Pie(r, c, v, u, w, E), y = Math.max(x + b, y), p = Math.max(E, p);
};
- if (bv(g)) {
- let e = cS(g, c);
- b(_, v, lS("default", e));
+ if (yv(g)) {
+ let e = uS(g, c);
+ b(_, v, dS("default", e));
} else {
- let e = oS(g, _, r, l), t = e.length;
+ let e = cS(g, _, r, l), t = e.length;
for (let n = 0; n < t; n++) {
_ = _, v = v;
- let r = e[n], i = cS(r, c);
- for (let e in _) b(_[e], Uie(v, e), lS(e, i), n, t);
+ let r = e[n], i = uS(r, c);
+ for (let e in _) b(_[e], Vie(v, e), dS(e, i), n, t);
}
}
d = f, f += y, a = Math.max(a, f);
@@ -21576,13 +21576,13 @@ function Vie(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(Rie);
+ a.sort(Iie);
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(zie)), 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(Lie)), c[c.length - 1] !== 1 && (c.push(1), o.push(null)), s.has(r) || s.set(r, {
keyframes: {},
transition: {}
});
@@ -21600,45 +21600,45 @@ function Vie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
}
}), s;
}
-function cS(e, t) {
+function uS(e, t) {
return !t.has(e) && t.set(e, {}), t.get(e);
}
-function lS(e, t) {
+function dS(e, t) {
return t[e] || (t[e] = []), t[e];
}
-function Hie(e) {
+function Bie(e) {
return Array.isArray(e) ? e : [e];
}
-function Uie(e, t) {
+function Vie(e, t) {
return e && e[t] ? {
...e,
...e[t]
} : { ...e };
}
-var Wie = (e) => typeof e == "number", Gie = (e) => e.every(Wie);
+var Hie = (e) => typeof e == "number", Uie = (e) => e.every(Hie);
// node_modules/framer-motion/dist/es/animation/animate/subject.mjs
-function Kie(e, t) {
- return bv(e) || typeof e == "number" || typeof e == "string" && !aS(t);
+function Wie(e, t) {
+ return yv(e) || typeof e == "number" || typeof e == "string" && !sS(t);
}
-function uS(e, t, n, r) {
+function fS(e, t, n, r) {
let i = [];
- if (Kie(e, t)) i.push(gy(e, aS(t) && t.default || t, n && (n.default || n)));
+ if (Wie(e, t)) i.push(hy(e, sS(t) && t.default || t, n && (n.default || n)));
else {
if (e == null) return i;
- let a = oS(e, t, r), o = a.length;
+ let a = cS(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(...ane(r, t, s, _b.get(r))) : i.push(...Mv(zte(r) ?? one, 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, vb.get(r))) : i.push(...jv(Bte(r) ?? sne, r, t, s));
}
}
return i;
}
// node_modules/framer-motion/dist/es/animation/animate/sequence.mjs
-function qie(e, t, n, r) {
+function Gie(e, t, n, r) {
let i = [];
- return Vie(e.map((e) => {
+ return zie(e.map((e) => {
if (Array.isArray(e) && typeof e[0] == "function") {
- let t = e[0], n = dv(0);
+ let t = e[0], n = uv(0);
return n.on("change", t), e.length === 1 ? [n, [0, 1]] : e.length === 2 ? [
n,
[0, 1],
@@ -21650,31 +21650,31 @@ function qie(e, t, n, r) {
];
}
return e;
- }), t, n, { spring: Pg }, r).forEach(({ keyframes: e, transition: t }, n) => {
- i.push(...uS(n, e, t));
+ }), t, n, { spring: Ng }, r).forEach(({ keyframes: e, transition: t }, n) => {
+ i.push(...fS(n, e, t));
}), i;
}
// node_modules/framer-motion/dist/es/animation/timeline/index.mjs
-var dS = 0;
-function Jie(e, t) {
+var pS = 0;
+function Kie(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 fS = (e, t) => t === void 0 ? e : {
+var mS = (e, t) => t === void 0 ? e : {
name: e,
at: t
};
-function pS(e) {
+function hS(e) {
e.pause(), e.time = 0, e.stop();
}
-var mS = class e {
+var gS = 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 = Fv.current, this.isKilled = !1, this.isWrapped = !1, this.stop = () => {
+ 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();
- }, this.isPaused = t.autoplay === !1, this.newFinished(), e.forEach((e) => this.add(e)), n ? (this.isDirty = !1, this.isWrapped = !0, this.group = new av(n), this.watch()) : (this.invalidate(), this.flush());
+ }, this.isPaused = t.autoplay === !1, this.newFinished(), e.forEach((e) => this.add(e)), n ? (this.isDirty = !1, this.isWrapped = !0, this.group = new iv(n), this.watch()) : (this.invalidate(), this.flush());
let { scope: r } = t;
r && (r.animations.push(this), this.finished.then(() => hm(r.animations, this)));
}
@@ -21689,7 +21689,7 @@ var mS = class e {
item: e,
at: t,
marker: {
- name: "_m" + dS++,
+ name: "_m" + pS++,
time: 0,
callback: e
}
@@ -21700,7 +21700,7 @@ var mS = class e {
item: t || {},
at: e,
marker: {
- name: "_m" + dS++,
+ name: "_m" + pS++,
time: 0,
callback: t,
pause: !0
@@ -21794,50 +21794,50 @@ var mS = class e {
this.isDirty && !this.parent && !this.isKilled && this.build();
}
adopt(e) {
- this.group &&= (pS(this.group), void 0), this.isDirty = !1, this.parent = e;
+ this.group &&= (hS(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, pS(e)), this.isRebuilding = !1);
+ e && (this.isRebuilding = !0, this.scrollTimeline ? (this.detachScroll?.(), e.cancel()) : (t = e.animations.length ? e.time : 0, hS(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 = Fv.current;
- Fv.current = this.motionScope;
+ let d = /* @__PURE__ */ new Map(), f = {}, p = Pv.current;
+ Pv.current = this.motionScope;
let m;
try {
- m = qie(this.toSequence(d), {
+ m = Gie(this.toSequence(d), {
defaultTransition: n,
...u
}, c, f);
} finally {
- Fv.current = p;
+ Pv.current = p;
}
let h = f.labels, g = u.duration ?? f.duration, _ = f.duration ? g / f.duration : 1;
if (h.forEach((e, t) => h.set(t, e * _)), this.markers = [], d.forEach((e, t) => {
e.time = h.get(t), h.delete(t), g = Math.max(g, e.time), this.markers.push(e);
}), this.markers.sort((e, t) => e.time - t.time), this.labels = h, this.totalDuration = g, this.clock = this.clockAnimation = void 0, this.markers.length || this.stopAt !== void 0 || i || a) {
- let e = this.clock = dv(0);
- e.on("change", (t) => e === this.clock && this.onClock(t)), m.unshift(this.clockAnimation = gy(e, [0, g], {
+ let e = this.clock = uv(0);
+ e.on("change", (t) => e === this.clock && this.onClock(t)), m.unshift(this.clockAnimation = hy(e, [0, g], {
...u,
duration: g,
ease: "linear"
}));
}
- let v = this.group = new av(m);
+ let v = this.group = new iv(m);
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), fS(i.name, r)) : n instanceof e ? {
+ return this.entries.map(({ item: n, at: r, marker: i }) => i ? (t.set(i.name, i), mS(i.name, r)) : n instanceof e ? {
sequence: n.toSequence(t),
at: r
- } : typeof n == "string" ? fS(n, r) : r === void 0 ? n : Array.isArray(n) ? Jie(n, r) : {
+ } : typeof n == "string" ? mS(n, r) : r === void 0 ? n : Array.isArray(n) ? Kie(n, r) : {
...n,
at: r
});
}
resolve(e) {
- return this.flush(), typeof e == "number" ? e : sS(e, this.labels) ?? this.time;
+ return this.flush(), typeof e == "number" ? e : lS(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 mS = class e {
}
};
// node_modules/framer-motion/dist/es/animation/animate/index.mjs
-function Yie(e) {
+function qie(e) {
return Array.isArray(e) && e.some(Array.isArray);
}
-function Xie(e = {}) {
+function Jie(e = {}) {
let { scope: t, reduceMotion: n, skipAnimations: r } = e;
function i(e, i, a) {
- let o = Fv.current?.transition, s = {};
+ let o = Pv.current?.transition, s = {};
n !== void 0 && (s.reduceMotion = n), r !== void 0 && (s.skipAnimations = r);
let c;
- if (Yie(e)) {
+ if (qie(e)) {
let n = {
...s,
...i,
@@ -21903,14 +21903,14 @@ function Xie(e = {}) {
o && (n.defaultTransition = {
...o,
...n.defaultTransition
- }), c = new mS(e, n);
+ }), c = new gS(e, n);
} else {
let { onComplete: n, ...r } = a || {}, l = {
...s,
...o,
...r
}, { onUpdate: u } = r;
- c = new mS([typeof e == "number" || typeof e == "string" && (typeof i == "string" || Array.isArray(i)) ? [
+ c = new gS([typeof e == "number" || typeof e == "string" && (typeof i == "string" || Array.isArray(i)) ? [
u || (() => {}),
Array.isArray(i) ? i : [e, i],
{
@@ -21925,29 +21925,29 @@ function Xie(e = {}) {
...s,
onComplete: n,
scope: t
- }, uS(e, i, l, t));
+ }, fS(e, i, l, t));
}
return c;
}
return i;
}
-var hS = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Xie(), {
- addEffect: Rte,
- removeEffect: Av
+var _S = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Jie(), {
+ addEffect: zte,
+ removeEffect: kv
});
// node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs
-function Zie(e, t, n, r) {
+function Yie(e, t, n, r) {
if (e == null) return [];
- let i = Rv(e, r), a = i.length, o = [];
+ let i = Lv(e, r), a = i.length, o = [];
for (let e = 0; e < a; e++) {
let r = i[e], s = { ...n };
typeof s.delay == "function" && (s.delay = s.delay(e, a));
for (let e in t) {
let n = t[e];
Array.isArray(n) || (n = [n]);
- let i = { ...pv(s, e) };
+ let i = { ...fv(s, e) };
i.duration &&= /* @__PURE__ */ Em(i.duration), i.delay &&= /* @__PURE__ */ Em(i.delay);
- let a = ute(r), c = lte(e, i.pseudoElement || ""), l = a.get(c);
+ let a = dte(r), c = ute(e, i.pseudoElement || ""), l = a.get(c);
l && l.stop(), o.push({
map: a,
key: c,
@@ -21963,21 +21963,21 @@ function Zie(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] = vx(r, i)), n_(t), Lte(t, i), !a && t.length < 2 && t.unshift(vx(r, i)), n.keyframes = t;
+ !a && t[0] === null && (t[0] = bx(r, i)), t_(t), Rte(t, i), !a && t.length < 2 && t.unshift(bx(r, i)), n.keyframes = t;
}
let s = [];
for (let e = 0; e < o.length; e++) {
- let { map: t, key: n, options: r } = o[e], i = new P_(r);
+ let { map: t, key: n, options: r } = o[e], i = new N_(r);
t.set(n, i), i.finished.finally(() => t.delete(n)), s.push(i);
}
return s;
}
-var Qie = /*@__PURE__*/ ((e) => {
+var Xie = /*@__PURE__*/ ((e) => {
function t(t, n, r) {
- return new av(Zie(t, n, r, e));
+ return new iv(Yie(t, n, r, e));
}
return t;
-})(), gS = Mie, _S = class {
+})(), vS = Aie, yS = 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 Qie = /*@__PURE__*/ ((e) => {
let r = this.clone();
return t.addDescendants(r, e), r;
}
-}, vS = class extends _S {
+}, bS = class extends yS {
filter(e, t, n) {
- let [r, i] = SS(e, t, this.firstChildKey, n), a = this.clone();
+ let [r, i] = wS(e, t, this.firstChildKey, n), a = this.clone();
return a.firstChildKey = r, a.lastChildKey = i, a;
}
};
-(class extends _S {
+(class extends yS {
static {
this.type = "header";
}
});
-var yS = class extends _S {
+var xS = class extends yS {
static {
this.type = "loader";
}
-}, bS = class extends vS {
+}, SS = class extends bS {
static {
this.type = "item";
}
@@ -22018,7 +22018,7 @@ var yS = class extends _S {
}
return null;
}
-}, $ie = class extends vS {
+}, Zie = class extends bS {
static {
this.type = "section";
}
@@ -22030,7 +22030,7 @@ var yS = class extends _S {
}
return null;
}
-}, xS = class {
+}, CS = class {
get size() {
return this.itemCount;
}
@@ -22105,14 +22105,14 @@ var yS = class extends _S {
this.firstKey = e, this.lastKey = t, this.frozen = !n;
}
filter(e) {
- let t = new this.constructor(), [n, r] = SS(this, t, this.firstKey, e);
+ let t = new this.constructor(), [n, r] = wS(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 SS(e, t, n, r) {
+function wS(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 SS(e, t, n, r) {
return [i?.key ?? null, a?.key ?? null];
}
// node_modules/react-aria/dist/private/collections/Document.mjs
-var CS = class {
+var TS = 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 CS = class {
for (; e && e.isHidden;) e = e.previousSibling;
return e;
}
-}, wS = class e extends CS {
+}, ES = class e extends TS {
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 CS = class {
setAttribute() {}
setAttributeNS() {}
removeAttribute() {}
-}, eae = class extends CS {
+}, Qie = class extends TS {
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 CS = class {
return !0;
}
createElement(e) {
- return new wS(e, this);
+ return new ES(e, this);
}
getMutableCollection() {
return this.nextCollection ||= this.collection.clone(), this.nextCollection;
@@ -22288,8 +22288,8 @@ var CS = class {
return this.inSubscription || (this.queuedRender = !1, this.updateCollection()), this.collection;
}
updateCollection() {
- for (let e of this.dirtyNodes) e instanceof wS && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
- for (let e of this.dirtyNodes) e instanceof wS ? (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 ES && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
+ for (let e of this.dirtyNodes) e instanceof ES ? (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 CS = class {
}
};
// node_modules/react-aria/dist/private/collections/useCachedChildren.mjs
-function TS(e) {
+function DS(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 = tae(a) ? a : null, o = n ? s.get(n) : null;
+ let n = $ie(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 TS(e) {
i
]);
}
-function tae(e) {
+function $ie(e) {
switch (typeof e) {
case "object": return e != null;
case "function":
@@ -22347,24 +22347,24 @@ function tae(e) {
}
}
// node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs
-function ES(e) {
+function OS(e) {
e.focus({ preventScroll: !0 });
}
// node_modules/react-aria/dist/private/utils/domHelpers.mjs
-var DS = (e) => nae(e) ? e.document : rae(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), OS = (e) => DS(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
-function kS(e) {
+var kS = (e) => eae(e) ? e.document : tae(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), AS = (e) => kS(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
+function jS(e) {
return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";
}
-function nae(e) {
+function eae(e) {
return typeof e == "object" && !!e && "window" in e && e.window === e;
}
-function rae(e) {
- return kS(e) && e.nodeType === 9;
+function tae(e) {
+ return jS(e) && e.nodeType === 9;
}
-function AS(e) {
- return kS(e) && e.nodeType === 11 && "host" in e;
+function MS(e) {
+ return jS(e) && e.nodeType === 11 && "host" in e;
}
-function jS(e, t, n, r) {
+function NS(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 jS(e, t, n, r) {
for (let e of i) e.removeEventListener(t, n, r);
};
}
-function MS(e, t, n, r) {
+function PS(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 MS(e, t, n, r) {
};
}
// node_modules/react-stately/dist/private/flags/flags.mjs
-var iae = !1;
-function NS() {
- return iae;
+var nae = !1;
+function FS() {
+ return nae;
}
// node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs
-function PS(e, t) {
- if (!NS()) return t && e ? e.contains(t) : !1;
+function IS(e, t) {
+ if (!FS()) 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 : AS(n) ? n.host : n.parentNode;
+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : MS(n) ? n.host : n.parentNode;
}
return !1;
}
-var FS = (e = document) => {
- if (!NS()) return e.activeElement;
+var LS = (e = document) => {
+ if (!FS()) 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 (NS() && e.target instanceof Element && e.target.shadowRoot) {
+ if (FS() && 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 IS(e, t) {
+function RS(e, t) {
if (t === null) return [];
- t ??= OS(e);
+ t ??= AS(e);
let n = [t];
- if (!NS() || !e || e === t) return n;
+ if (!FS() || !e || e === t) return n;
let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;
- for (; AS(i) && i !== r;) n.push(i), i = i.host.getRootNode();
+ for (; MS(i) && i !== r;) n.push(i), i = i.host.getRootNode();
return n;
}
-function LS(e) {
+function zS(e) {
if (!e) return !1;
- let t = e.getRootNode(), n = OS(e);
+ let t = e.getRootNode(), n = AS(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 aae = typeof Element < "u" && "checkVisibility" in Element.prototype;
-function oae(e) {
- let t = OS(e);
+var rae = typeof Element < "u" && "checkVisibility" in Element.prototype;
+function iae(e) {
+ let t = AS(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 } = OS(e), { display: n, visibility: r } = t(e);
+ let { getComputedStyle: t } = AS(e), { display: n, visibility: r } = t(e);
i = n !== "none" && r !== "hidden" && r !== "collapse";
}
return i;
}
-function sae(e, t) {
+function aae(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 RS(e, t) {
- return aae ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && oae(e) && sae(e, t) && (!e.parentElement || RS(e.parentElement, e));
+function BS(e, t) {
+ return rae ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && iae(e) && aae(e, t) && (!e.parentElement || BS(e.parentElement, e));
}
// node_modules/react-aria/dist/private/utils/isFocusable.mjs
-var zS = [
+var VS = [
"input:not([disabled]):not([type=hidden])",
"select:not([disabled])",
"textarea:not([disabled])",
@@ -22464,39 +22464,39 @@ var zS = [
"video[controls]",
"[contenteditable]:not([contenteditable^=\"false\"])",
"permission"
-], cae = zS.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
-zS.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
-var lae = zS.join(":not([hidden]):not([tabindex=\"-1\"]),");
-function BS(e, t) {
- return e.matches(cae) && !HS(e) && (t?.skipVisibilityCheck || RS(e));
+], oae = VS.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
+VS.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
+var sae = VS.join(":not([hidden]):not([tabindex=\"-1\"]),");
+function HS(e, t) {
+ return e.matches(oae) && !WS(e) && (t?.skipVisibilityCheck || BS(e));
}
-function VS(e) {
- return e.matches(lae) && RS(e) && !HS(e);
+function US(e) {
+ return e.matches(sae) && BS(e) && !WS(e);
}
-function HS(e) {
+function WS(e) {
let t = e;
for (; t != null;) {
- if (t instanceof OS(t).HTMLElement && t.inert) return !0;
+ if (t instanceof AS(t).HTMLElement && t.inert) return !0;
t = t.parentElement;
}
return !1;
}
// node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs
-var US = typeof document < "u" ? F.useLayoutEffect : () => {};
+var GS = typeof document < "u" ? F.useLayoutEffect : () => {};
// node_modules/react-aria/dist/private/interactions/utils.mjs
-function WS(e) {
+function KS(e) {
let t = e;
return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;
}
-function GS(e, t) {
+function qS(e, t) {
Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });
}
-function KS(e) {
+function JS(e) {
let t = (0, F.useRef)({
isFocused: !1,
observer: null
});
- return US(() => {
+ return GS(() => {
let e = t.current;
return () => {
e.observer &&= (e.observer.disconnect(), null);
@@ -22508,14 +22508,14 @@ function KS(e) {
let n = r;
n.addEventListener("focusout", (r) => {
if (t.current.isFocused = !1, n.disabled) {
- let t = WS(r);
+ let t = KS(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 === FS() ? null : FS();
+ let e = n === LS() ? null : LS();
n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: e
@@ -22528,80 +22528,80 @@ function KS(e) {
}
}, [e]);
}
-var qS = !1;
-function uae(e) {
- for (; e && !BS(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
- let t = FS(OS(e).document);
+var YS = !1;
+function cae(e) {
+ for (; e && !HS(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
+ let t = LS(AS(e).document);
if (!t || t === e) return;
- let n = e?.getRootNode(), r = n != null && AS(n) ? n : OS(e), i = (t) => t === e || kS(t) && PS(e, t), a = (e) => e === t || t != null && kS(e) && PS(t, e);
- qS = !0;
+ let n = e?.getRootNode(), r = n != null && MS(n) ? n : AS(e), i = (t) => t === e || jS(t) && IS(e, t), a = (e) => e === t || t != null && jS(e) && IS(t, e);
+ YS = !0;
let o = !1, s = (e) => {
(a(G(e)) || o) && e.stopImmediatePropagation();
}, c = (n) => {
- (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, ES(t), d()));
+ (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, OS(t), d()));
}, l = (e) => {
(i(G(e)) || o) && e.stopImmediatePropagation();
}, u = (e) => {
- (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, ES(t), d()));
+ (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, OS(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), qS = !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), YS = !1, o = !1;
}, f = requestAnimationFrame(d);
return d;
}
// node_modules/react-aria/dist/private/utils/platform.mjs
-function JS(e) {
+function XS(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 YS(e) {
+function ZS(e) {
return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);
}
-function XS(e) {
+function QS(e) {
let t = null;
return () => (t ??= e(), t);
}
-var ZS = XS(function() {
- return YS(/^Mac/i);
-}), dae = XS(function() {
- return YS(/^iPhone/i);
-}), QS = XS(function() {
- return YS(/^iPad/i) || ZS() && navigator.maxTouchPoints > 1;
-}), $S = XS(function() {
- return dae() || QS();
-}), fae = XS(function() {
- return ZS() || $S();
-}), eC = XS(function() {
- return JS(/AppleWebKit/i) && ($S() || !tC());
-}), tC = XS(function() {
- return JS(/Chrome|CriOS|CrMo/i);
-}), nC = XS(function() {
- return JS(/Android/i);
+var $S = QS(function() {
+ return ZS(/^Mac/i);
+}), lae = QS(function() {
+ return ZS(/^iPhone/i);
+}), eC = QS(function() {
+ return ZS(/^iPad/i) || $S() && navigator.maxTouchPoints > 1;
+}), tC = QS(function() {
+ return lae() || eC();
+}), uae = QS(function() {
+ return $S() || tC();
+}), nC = QS(function() {
+ return XS(/AppleWebKit/i) && (tC() || !rC());
+}), rC = QS(function() {
+ return XS(/Chrome|CriOS|CrMo/i);
+}), iC = QS(function() {
+ return XS(/Android/i);
});
// node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs
-function rC(e) {
- return e.pointerType === "" && e.isTrusted ? !0 : nC() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
+function aC(e) {
+ return e.pointerType === "" && e.isTrusted ? !0 : iC() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
}
-function pae(e) {
- return !nC() && e.width === 0 && e.height === 0 || nC() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
+function dae(e) {
+ return !iC() && e.width === 0 && e.height === 0 || iC() && 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 mae = /*#__PURE__*/ (0, F.createContext)({
+var fae = /*#__PURE__*/ (0, F.createContext)({
isNative: !0,
- open: _ae,
+ open: hae,
useHref: (e) => e
});
-function iC() {
- return (0, F.useContext)(mae);
+function oC() {
+ return (0, F.useContext)(fae);
}
-function hae(e, t) {
+function pae(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 aC(e, t, n = !0) {
- let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = eC() && ZS() && !QS() ? new KeyboardEvent("keydown", {
+function sC(e, t, n = !0) {
+ let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = nC() && $S() && !eC() ? new KeyboardEvent("keydown", {
keyIdentifier: "Enter",
metaKey: r,
ctrlKey: i,
@@ -22616,21 +22616,21 @@ function aC(e, t, n = !0) {
bubbles: !0,
cancelable: !0
});
- aC.isOpening = n, ES(e), e.dispatchEvent(s), aC.isOpening = !1;
+ sC.isOpening = n, OS(e), e.dispatchEvent(s), sC.isOpening = !1;
}
-aC.isOpening = !1;
-function gae(e, t) {
+sC.isOpening = !1;
+function mae(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 _ae(e, t) {
- gae(e, (e) => aC(e, t));
+function hae(e, t) {
+ mae(e, (e) => sC(e, t));
}
-function oC(e) {
- let t = iC().useHref(e.href ?? "");
+function cC(e) {
+ let t = oC().useHref(e.href ?? "");
return {
"data-href": e.href ? t : void 0,
"data-target": e.target,
@@ -22640,8 +22640,8 @@ function oC(e) {
"data-referrer-policy": e.referrerPolicy
};
}
-function sC(e) {
- let t = iC().useHref(e?.href ?? ""), n = {};
+function lC(e) {
+ let t = oC().useHref(e?.href ?? ""), n = {};
if (e) for (let r of [
"href",
"target",
@@ -22652,138 +22652,138 @@ function sC(e) {
]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);
return n;
}
-function vae(e, t, n, r) {
- !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && hae(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));
+function gae(e, t, n, r) {
+ !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && pae(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));
}
// node_modules/react-aria/dist/private/ssr/SSRProvider.mjs
-var cC = {
+var uC = {
prefix: String(Math.round(Math.random() * 1e10)),
current: 0
-}, lC = /*#__PURE__*/ F.createContext(cC), yae = /*#__PURE__*/ F.createContext(!1);
+}, dC = /*#__PURE__*/ F.createContext(uC), _ae = /*#__PURE__*/ F.createContext(!1);
typeof window < "u" && window.document && window.document.createElement;
-var uC = /* @__PURE__ */ new WeakMap();
-function bae(e = !1) {
- let t = (0, F.useContext)(lC), n = (0, F.useRef)(null);
+var fC = /* @__PURE__ */ new WeakMap();
+function vae(e = !1) {
+ let t = (0, F.useContext)(dC), 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 = uC.get(e);
- n == null ? uC.set(e, {
+ let n = fC.get(e);
+ n == null ? fC.set(e, {
id: t.current,
state: e.memoizedState
- }) : e.memoizedState !== n.state && (t.current = n.id, uC.delete(e));
+ }) : e.memoizedState !== n.state && (t.current = n.id, fC.delete(e));
}
n.current = ++t.current;
}
return n.current;
}
-function xae(e) {
- let t = (0, F.useContext)(lC), n = bae(!!e), r = `react-aria${t.prefix}`;
+function yae(e) {
+ let t = (0, F.useContext)(dC), n = vae(!!e), r = `react-aria${t.prefix}`;
return e || `${r}-${n}`;
}
-function Sae(e) {
- let t = F.useId(), [n] = (0, F.useState)(dC()), r = n ? "react-aria" : `react-aria${cC.prefix}`;
+function bae(e) {
+ let t = F.useId(), [n] = (0, F.useState)(pC()), r = n ? "react-aria" : `react-aria${uC.prefix}`;
return e || `${r}-${t}`;
}
-var Cae = typeof F.useId == "function" ? Sae : xae;
-function wae() {
+var xae = typeof F.useId == "function" ? bae : yae;
+function Sae() {
return !1;
}
-function Tae() {
+function Cae() {
return !0;
}
-function Eae(e) {
+function wae(e) {
return () => {};
}
-function dC() {
- return typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore(Eae, wae, Tae) : (0, F.useContext)(yae);
+function pC() {
+ return typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore(wae, Sae, Cae) : (0, F.useContext)(_ae);
}
// node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs
-var fC = null, pC = /* @__PURE__ */ new Set(), mC = /* @__PURE__ */ new Map(), hC = !1, gC = !1, Dae = {
+var mC = null, hC = /* @__PURE__ */ new Set(), gC = /* @__PURE__ */ new Map(), _C = !1, vC = !1, Tae = {
Tab: !0,
Escape: !0
};
-function _C(e, t) {
- for (let n of pC) n(e, t);
-}
-function Oae(e) {
- return !(e.metaKey || !ZS() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
+function yC(e, t) {
+ for (let n of hC) n(e, t);
}
-function vC(e) {
- hC = !0, !aC.isOpening && Oae(e) && (fC = "keyboard", _C("keyboard", e));
-}
-function yC(e) {
- fC = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (hC = !0, _C("pointer", e));
+function Eae(e) {
+ return !(e.metaKey || !$S() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
}
function bC(e) {
- !aC.isOpening && rC(e) && (hC = !0, fC = "virtual");
+ _C = !0, !sC.isOpening && Eae(e) && (mC = "keyboard", yC("keyboard", e));
}
function xC(e) {
- if (qS) return;
- let t = G(e), n = OS(t), r = DS(t);
- t === n ? gC = !0 : t !== r && e.isTrusted && (!hC && !gC && (fC = "virtual", _C("virtual", e)), hC = !1, gC = !1);
+ mC = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (_C = !0, yC("pointer", e));
}
-function SC() {
- qS || (hC = !1, gC = !0);
+function SC(e) {
+ !sC.isOpening && aC(e) && (_C = !0, mC = "virtual");
}
function CC(e) {
- let t = FS(DS(G(e)));
+ if (YS) return;
+ let t = G(e), n = AS(t), r = kS(t);
+ t === n ? vC = !0 : t !== r && e.isTrusted && (!_C && !vC && (mC = "virtual", yC("virtual", e)), _C = !1, vC = !1);
+}
+function wC() {
+ YS || (_C = !1, vC = !0);
+}
+function TC(e) {
+ let t = LS(kS(G(e)));
queueMicrotask(() => {
- FS(DS(G(e))) !== t && OC("keyboard");
+ LS(kS(G(e))) !== t && AC("keyboard");
});
}
-function wC(e) {
+function EC(e) {
if (typeof window > "u" || typeof document > "u") return;
- let t = OS(e), n = DS(e);
- if (mC.get(t)) return;
+ let t = AS(e), n = kS(e);
+ if (gC.get(t)) return;
let r = t.HTMLElement.prototype.focus;
Reflect.defineProperty(t.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
value: function() {
- hC = !0, r.apply(this, arguments);
+ _C = !0, r.apply(this, arguments);
}
- }), 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 }), mC.set(t, { focus: r });
+ }), 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 }), gC.set(t, { focus: r });
}
-var TC = (e, t) => {
- let n = OS(e), r = DS(e);
- t && r.removeEventListener("DOMContentLoaded", t), mC.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
+var DC = (e, t) => {
+ let n = AS(e), r = kS(e);
+ t && r.removeEventListener("DOMContentLoaded", t), gC.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
- value: mC.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)), mC.delete(n));
+ value: gC.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)), gC.delete(n));
};
-function kae(e) {
- let t = DS(e), n;
+function Dae(e) {
+ let t = kS(e), n;
return t.readyState === "loading" ? (n = () => {
- wC(e);
- }, t.addEventListener("DOMContentLoaded", n)) : wC(e), () => TC(e, n);
+ EC(e);
+ }, t.addEventListener("DOMContentLoaded", n)) : EC(e), () => DC(e, n);
}
-typeof document < "u" && kae();
-function EC() {
- return fC !== "pointer";
+typeof document < "u" && Dae();
+function OC() {
+ return mC !== "pointer";
}
-function DC() {
- return fC;
+function kC() {
+ return mC;
}
-function OC(e) {
- fC = e, _C(e, null);
+function AC(e) {
+ mC = e, yC(e, null);
}
-function kC() {
- wC();
- let [e, t] = (0, F.useState)(fC);
+function jC() {
+ EC();
+ let [e, t] = (0, F.useState)(mC);
return (0, F.useEffect)(() => {
let e = () => {
- t(fC);
+ t(mC);
};
- return pC.add(e), () => {
- pC.delete(e);
+ return hC.add(e), () => {
+ hC.delete(e);
};
- }, []), dC() ? null : e;
+ }, []), pC() ? null : e;
}
-var Aae = /* @__PURE__ */ new Set([
+var Oae = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -22794,107 +22794,107 @@ var Aae = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function jae(e, t, n) {
- let r = n ? G(n) : void 0, i = DS(r), a = OS(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 = FS(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 && !Dae[n.key]);
+function kae(e, t, n) {
+ let r = n ? G(n) : void 0, i = kS(r), a = AS(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 = LS(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 && !Tae[n.key]);
}
-function AC(e = {}) {
- let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, F.useState)(n || EC());
- return jC((e) => {
+function MC(e = {}) {
+ let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, F.useState)(n || OC());
+ return NC((e) => {
i(e);
}, [t], { isTextInput: t }), { isFocusVisible: r };
}
-function jC(e, t, n) {
- wC(), (0, F.useEffect)(() => {
+function NC(e, t, n) {
+ EC(), (0, F.useEffect)(() => {
if (n?.enabled === !1) return;
let t = (t, r) => {
- jae(!!n?.isTextInput, t, r) && e(EC());
+ kae(!!n?.isTextInput, t, r) && e(OC());
};
- return pC.add(t), () => {
- pC.delete(t);
+ return hC.add(t), () => {
+ hC.delete(t);
};
}, t);
}
// node_modules/react-aria/dist/private/utils/runAfterTransition.mjs
-var MC = /* @__PURE__ */ new Map(), NC = /* @__PURE__ */ new Set();
-function PC(e) {
+var PC = /* @__PURE__ */ new Map(), FC = /* @__PURE__ */ new Set();
+function IC(e) {
return "propertyName" in e;
}
-function Mae(e) {
+function Aae(e) {
let t = G(e);
- 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);
+ 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);
}
-function FC(e) {
+function LC(e) {
let t = G(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);
+ 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);
}
-function IC() {
- jS(document, "transitionrun", Mae), jS(document, "transitionend", FC);
+function RC() {
+ NS(document, "transitionrun", Aae), NS(document, "transitionend", LC);
}
-function Nae() {
- for (let [e] of MC) "isConnected" in e && !e.isConnected && MC.delete(e);
+function jae() {
+ for (let [e] of PC) "isConnected" in e && !e.isConnected && PC.delete(e);
}
-typeof document < "u" && (document.readyState === "loading" ? jS(document, "DOMContentLoaded", IC) : IC());
-function LC(e) {
+typeof document < "u" && (document.readyState === "loading" ? NS(document, "DOMContentLoaded", RC) : RC());
+function zC(e) {
let t = window.requestAnimationFrame(() => {
- if (Nae(), MC.size === 0) return e(!1);
- NC.add(e);
+ if (jae(), PC.size === 0) return e(!1);
+ FC.add(e);
});
return () => {
- window.cancelAnimationFrame(t), NC.delete(e);
+ window.cancelAnimationFrame(t), FC.delete(e);
};
}
// node_modules/react-aria/dist/private/interactions/focusSafely.mjs
-function RC(e) {
+function BC(e) {
if (!e.isConnected) return;
- let t = DS(e);
- if (DC() === "virtual") {
- let n = FS(t);
- LC(() => {
- let r = FS(t);
- (r === n || r === t.body) && e.isConnected && ES(e);
+ let t = kS(e);
+ if (kC() === "virtual") {
+ let n = LS(t);
+ zC(() => {
+ let r = LS(t);
+ (r === n || r === t.body) && e.isConnected && OS(e);
});
- } else ES(e);
+ } else OS(e);
}
// node_modules/react-aria/dist/private/utils/chain.mjs
-function zC(...e) {
+function VC(...e) {
return (...t) => {
for (let n of e) typeof n == "function" && n(...t);
};
}
// node_modules/react-aria/dist/private/utils/useValueEffect.mjs
-function Pae(e) {
+function Mae(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 US(() => {
+ return GS(() => {
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 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 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 HC = /* @__PURE__ */ new WeakMap();
-function UC(e) {
- let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(null), i = Cae(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 US(() => {
+var WC = /* @__PURE__ */ new WeakMap();
+function GC(e) {
+ let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(null), i = xae(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 GS(() => {
let e = i;
return () => {
- VC && (VC.unregister(a), HC.delete(a)), BC.delete(e);
+ UC && (UC.unregister(a), WC.delete(a)), HC.delete(e);
};
}, [i]), (0, F.useEffect)(() => {
let e = r.current;
@@ -22903,57 +22903,57 @@ function UC(e) {
};
}), i;
}
-function Iae(e, t) {
+function Pae(e, t) {
if (e === t) return e;
- let n = BC.get(e);
+ let n = HC.get(e);
if (n) return n.forEach((e) => e.current = t), t;
- let r = BC.get(t);
+ let r = HC.get(t);
return r ? (r.forEach((t) => t.current = e), e) : t;
}
-function WC(e = []) {
- let t = UC(), [n, r] = Pae(t), i = (0, F.useCallback)(() => {
+function KC(e = []) {
+ let t = GC(), [n, r] = Mae(t), i = (0, F.useCallback)(() => {
r(function* () {
yield t, yield document.getElementById(t) ? t : void 0;
});
}, [t, r]);
- return US(i, [
+ return GS(i, [
t,
i,
...e
]), n;
}
// node_modules/react-aria/dist/private/utils/mergeRefs.mjs
-function GC(...e) {
+function qC(...e) {
return e.length === 1 && e[0] ? e[0] : (t) => {
let n = !1, r = e.map((e) => {
- let r = KC(e, t);
+ let r = JC(e, t);
return n ||= typeof r == "function", r;
});
if (n) return () => {
r.forEach((t, n) => {
- typeof t == "function" ? t() : KC(e[n], null);
+ typeof t == "function" ? t() : JC(e[n], null);
});
};
};
}
-function KC(e, t) {
+function JC(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
// node_modules/clsx/dist/clsx.mjs
-function qC(e) {
+function YC(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 = qC(e[t])) && (r && (r += " "), r += n);
+ for (t = 0; t < i; t++) e[t] && (n = YC(e[t])) && (r && (r += " "), r += n);
} else for (n in e) e[n] && (r && (r += " "), r += n);
}
return r;
}
-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);
+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);
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] = 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;
+ 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;
}
}
return t;
}
// node_modules/react-aria/dist/private/interactions/useFocus.mjs
-function YC(e) {
+function ZC(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 = KS(a), s = (0, F.useCallback)((e) => {
- let t = G(e), r = DS(t), a = r ? FS(r) : FS();
+ }, [r, i]), o = JS(a), s = (0, F.useCallback)((e) => {
+ let t = G(e), r = kS(t), a = r ? LS(r) : LS();
t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));
}, [
i,
@@ -22986,7 +22986,7 @@ function YC(e) {
} };
}
// node_modules/react-aria/dist/private/interactions/createEventHandler.mjs
-function XC(e) {
+function QC(e) {
if (e) return (t) => {
let n = !0;
e({
@@ -23010,33 +23010,33 @@ function XC(e) {
};
}
// node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs
-var Lae = /* @__PURE__ */ new Set([
+var Fae = /* @__PURE__ */ new Set([
"shift",
"alt",
"control",
"meta",
"mod"
-]), Rae = [
+]), Iae = [
"Alt",
"Control",
"Meta",
"Shift"
];
-function zae(e) {
+function Lae(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(ZS() ? "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($S() ? "Meta" : "Control"), t;
}
-function Bae(e) {
+function Rae(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 ZC(e) {
- return Rae.filter((t) => e.has(t));
+function $C(e) {
+ return Iae.filter((t) => e.has(t));
}
-function Vae(e) {
+function zae(e) {
let t = e.split("+").reduce((e, t) => {
let n = t.toLowerCase();
- 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;
+ 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;
}, {
shift: !1,
alt: !1,
@@ -23048,10 +23048,10 @@ function Vae(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 QC(e) {
+function ew(e) {
return e.toLowerCase();
}
-var Hae = {
+var Bae = {
space: " ",
esc: "escape",
del: "delete",
@@ -23063,26 +23063,26 @@ var Hae = {
pageup: "pageup",
pagedown: "pagedown"
};
-function Uae(e) {
- let t = QC(e);
- return Hae[t] ?? t;
+function Vae(e) {
+ let t = ew(e);
+ return Bae[t] ?? t;
}
-function Wae(e) {
- let t = ZC(zae(e)), n = Uae(e.key);
+function Hae(e) {
+ let t = $C(Lae(e)), n = Vae(e.key);
return t.length > 0 ? `${t.join("+")}+${n}` : n;
}
-function Gae(e) {
- let t = ZC(Bae(e)), n = QC(e.key);
+function Uae(e) {
+ let t = $C(Rae(e)), n = ew(e.key);
return (t.length > 0 ? `${t.join("+")}+` : "") + n;
}
-function Kae(e) {
+function Wae(e) {
let t = /* @__PURE__ */ new Map();
for (let [n, r] of Object.entries(e)) {
- let e = Vae(n);
- t.set(Wae(e), r);
+ let e = zae(n);
+ t.set(Hae(e), r);
}
return (e) => {
- let n = Gae(e), r = t.get(n), i = r?.(e);
+ let n = Uae(e), r = t.get(n), i = r?.(e);
i === void 0 && r !== void 0 ? i = {
shouldContinuePropagation: !1,
shouldPreventDefault: !0
@@ -23093,23 +23093,23 @@ function Kae(e) {
};
}
// node_modules/react-aria/dist/private/interactions/useKeyboard.mjs
-function $C(e) {
+function tw(e) {
let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;
if (t) {
- let o = Kae(t), s = XC((e) => {
- PS(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();
- }), c = XC((e) => {
- PS(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();
+ let o = Wae(t), s = QC((e) => {
+ IS(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();
+ }), c = QC((e) => {
+ IS(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();
});
- 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);
+ 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);
return { keyboardProps: e.isDisabled ? {} : {
onKeyDown: i,
onKeyUp: a
} };
}
// node_modules/react-aria/dist/private/utils/useObjectRef.mjs
-function ew(e) {
+function nw(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 ew(e) {
}), [r]);
}
// node_modules/react-aria/dist/private/utils/useSyncRef.mjs
-function tw(e, t) {
- US(() => {
+function rw(e, t) {
+ GS(() => {
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 nw = /*#__PURE__*/ F.createContext(null);
-function qae(e) {
- let t = (0, F.useContext)(nw) || {};
- tw(t, e);
+var iw = /*#__PURE__*/ F.createContext(null);
+function Gae(e) {
+ let t = (0, F.useContext)(iw) || {};
+ rw(t, e);
let { ref: n, ...r } = t;
return r;
}
-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);
+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);
(0, F.useEffect)(() => {
- s.current && t.current && RC(t.current), s.current = !1;
+ s.current && t.current && BC(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 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);
+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);
return /*#__PURE__*/ F.createElement("template", null, t);
}
-function aw(e) {
- let t = (t, n) => (0, F.useContext)(iw) ? null : e(t, n);
+function sw(e) {
+ let t = (t, n) => (0, F.useContext)(ow) ? null : e(t, n);
return t.displayName = e.displayName || e.name, (0, F.forwardRef)(t);
}
-function ow() {
- return (0, F.useContext)(iw);
+function cw() {
+ return (0, F.useContext)(ow);
}
// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
-var Yae = /* @__PURE__ */ o(((e) => {
+var qae = /* @__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 Yae = /* @__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;
-})), 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, {
+})), 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, {
render: e.children,
collection: t
}));
}
-function Zae({ collection: e, render: t }) {
+function Yae({ collection: e, render: t }) {
return t(e);
}
-function Qae(e, t, n) {
- let r = dC(), i = (0, F.useRef)(r);
+function Xae(e, t, n) {
+ let r = pC(), i = (0, F.useRef)(r);
i.current = r;
let a = (0, F.useCallback)(() => i.current ? n() : t(), [t, n]);
- return (0, Xae.useSyncExternalStore)(e, a);
+ return (0, Jae.useSyncExternalStore)(e, a);
}
-var $ae = typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore : Qae;
-function eoe(e) {
- let [t] = (0, F.useState)(() => new eae(e?.() || new xS()));
+var Zae = typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore : Xae;
+function Qae(e) {
+ let [t] = (0, F.useState)(() => new Qie(e?.() || new CS()));
return {
- collection: $ae((0, F.useCallback)((e) => t.subscribe(e), [t]), (0, F.useCallback)(() => {
+ collection: Zae((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 dw = /*#__PURE__*/ (0, F.createContext)(null);
-function toe(e) {
- return class extends _S {
+var pw = /*#__PURE__*/ (0, F.createContext)(null);
+function $ae(e) {
+ return class extends yS {
static {
this.type = e;
}
};
}
-function fw(e, t, n, r, i, a) {
- typeof e == "string" && (e = toe(e));
+function mw(e, t, n, r, i, a) {
+ typeof e == "string" && (e = $ae(e));
let o = (0, F.useCallback)((i) => {
i?.setProps(t, n, e, r, a);
}, [
@@ -23284,82 +23284,82 @@ function fw(e, t, n, r, i, a) {
r,
a,
e
- ]), s = (0, F.useContext)(dw);
+ ]), s = (0, F.useContext)(pw);
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(dw.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(pw.Provider, { value: o }, i) : null;
}
return /*#__PURE__*/ F.createElement(e.type, { ref: o }, i);
}
-function pw(e, t) {
+function hw(e, t) {
let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, F.forwardRef)((r, i) => {
- let a = (0, F.useContext)(nw);
- if (!(0, F.useContext)(cw)) {
+ let a = (0, F.useContext)(iw);
+ if (!(0, F.useContext)(uw)) {
if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");
return t(r, i);
}
- 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 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 r.displayName = t.name, r;
}
-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));
+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));
return i.displayName = t.name, i;
}
-function hw(e) {
- return TS({
+function _w(e) {
+ return DS({
...e,
addIdAndValue: !0
});
}
-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({
+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({
...e,
idScope: r,
dependencies: n
});
- return (0, F.useContext)(lw) && (i = /*#__PURE__*/ F.createElement(noe, null, i)), t = (0, F.useMemo)(() => ({
+ return (0, F.useContext)(dw) && (i = /*#__PURE__*/ F.createElement(eoe, null, i)), t = (0, F.useMemo)(() => ({
dependencies: n,
idScope: r
- }), [r, ...n]), /*#__PURE__*/ F.createElement(gw.Provider, { value: t }, i);
+ }), [r, ...n]), /*#__PURE__*/ F.createElement(vw.Provider, { value: t }, i);
}
-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 dC() ? /*#__PURE__*/ F.createElement(dw.Provider, { value: t }, n) : /*#__PURE__*/ (0, Lt.createPortal)(n, t);
+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 pC() ? /*#__PURE__*/ F.createElement(pw.Provider, { value: t }, n) : /*#__PURE__*/ (0, Lt.createPortal)(n, t);
}
// node_modules/react-aria/dist/private/utils/constants.mjs
-var roe = "react-aria-clear-focus", ioe = "react-aria-focus";
+var toe = "react-aria-clear-focus", noe = "react-aria-focus";
// node_modules/react-aria/dist/private/focus/virtualFocus.mjs
-function vw(e) {
- let t = ooe(DS(e));
- t !== e && (t && aoe(t, e), e && yw(e, t));
+function bw(e) {
+ let t = ioe(kS(e));
+ t !== e && (t && roe(t, e), e && xw(e, t));
}
-function aoe(e, t) {
+function roe(e, t) {
e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: t
}));
}
-function yw(e, t) {
+function xw(e, t) {
e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {
bubbles: !0,
relatedTarget: t
}));
}
-function ooe(e) {
- let t = FS(e), n = t?.getAttribute("aria-activedescendant");
+function ioe(e) {
+ let t = LS(e), n = t?.getAttribute("aria-activedescendant");
return n && e.getElementById(n) || t;
}
// node_modules/react-aria/dist/private/utils/getMetaValue.mjs
-function bw(e, t) {
- let n = OS(t), r = DS(t);
+function Sw(e, t) {
+ let n = AS(t), r = kS(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 xw = 100, Sw = 600, Cw = {
+var Cw = 100, ww = 600, Tw = {
isOpen: !1,
screenWidth: 0,
screenHeight: 0,
@@ -23369,7 +23369,7 @@ var xw = 100, Sw = 600, Cw = {
endTimeStamp: 0,
resizeTimeStamp: 0,
resizeTimeout: 0
-}, soe = /* @__PURE__ */ new Set([
+}, aoe = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -23380,7 +23380,7 @@ var xw = 100, Sw = 600, Cw = {
"submit",
"reset"
]);
-function ww() {
+function Ew() {
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 ww() {
angle: window.screen.orientation?.angle ?? 0
};
}
-function coe(e) {
- Cw.resizeTimeStamp <= e.timeStamp + 50 && (Cw.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(Cw.resizeTimeout), Cw.resizeTimeout = window.setTimeout(Tw, 150));
-}
-function Tw() {
- let e = bw("viewport");
- if (nC() && 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() ? FS() : 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 ooe(e) {
+ Tw.resizeTimeStamp <= e.timeStamp + 50 && (Tw.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(Tw.resizeTimeout), Tw.resizeTimeout = window.setTimeout(Dw, 150));
}
-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 Dw() {
+ let e = Sw("viewport");
+ if (iC() && 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() ? LS() : 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 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 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 Ew() {
- let e = ww();
- jS(window.visualViewport, "resize", eC() ? Tw : coe), jS(window.screen.orientation, "change", loe), jS(window, "focus", uoe, {
+function Ow() {
+ let e = Ew();
+ NS(window.visualViewport, "resize", nC() ? Dw : ooe), NS(window.screen.orientation, "change", soe), NS(window, "focus", coe, {
capture: !0,
passive: !0
- }), Cw.screenWidth = e.width, Cw.screenHeight = e.height, Cw.screenAngle = e.angle;
+ }), Tw.screenWidth = e.width, Tw.screenHeight = e.height, Tw.screenAngle = e.angle;
}
-typeof document < "u" && (document.readyState === "loading" ? jS(document, "DOMContentLoaded", Ew) : Ew());
-function Dw() {
- let e = bw("viewport");
- return nC() && 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;
+typeof document < "u" && (document.readyState === "loading" ? NS(document, "DOMContentLoaded", Ow) : Ow());
+function kw() {
+ let e = Sw("viewport");
+ return iC() && 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;
}
-function Ow(e) {
- if (!(e instanceof Element) || !BS(e)) return !1;
- let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !soe.has(e.type);
+function Aw(e) {
+ if (!(e instanceof Element) || !HS(e)) return !1;
+ let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !aoe.has(e.type);
return t || n || r;
}
-function kw(e) {
- return ZS() ? e.metaKey : e.ctrlKey;
+function jw(e) {
+ return $S() ? e.metaKey : e.ctrlKey;
}
-function Aw() {
- return Cw.isOpen;
+function Mw() {
+ return Tw.isOpen;
}
// node_modules/react-aria/dist/private/utils/useEffectEvent.mjs
-var doe = F.useInsertionEffect ?? US;
-function jw(e) {
+var loe = F.useInsertionEffect ?? GS;
+function Nw(e) {
let t = (0, F.useRef)(null);
- return doe(() => {
+ return loe(() => {
t.current = e;
}, [e]), (0, F.useCallback)((...e) => {
let n = t.current;
@@ -23447,10 +23447,10 @@ function jw(e) {
}, []);
}
// node_modules/react-aria/dist/private/utils/useEvent.mjs
-function Mw(e, t, n, r) {
- let i = jw(n), a = n == null;
+function Pw(e, t, n, r) {
+ let i = Nw(n), a = n == null;
(0, F.useEffect)(() => {
- if (!(a || e.current == null)) return jS(e.current, t, i, r);
+ if (!(a || e.current == null)) return NS(e.current, t, i, r);
}, [
e,
t,
@@ -23459,16 +23459,16 @@ function Mw(e, t, n, r) {
]);
}
// node_modules/react-aria/dist/private/utils/useLabels.mjs
-function Nw(e, t) {
+function Fw(e, t) {
let { id: n, "aria-label": r, "aria-labelledby": i } = e;
- 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), {
+ 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), {
id: n,
"aria-label": r,
"aria-labelledby": i
};
}
// node_modules/react-aria/dist/private/i18n/utils.mjs
-var foe = /* @__PURE__ */ new Set([
+var uoe = /* @__PURE__ */ new Set([
"Arab",
"Syrc",
"Samr",
@@ -23479,7 +23479,7 @@ var foe = /* @__PURE__ */ new Set([
"Adlm",
"Rohg",
"Hebr"
-]), poe = /* @__PURE__ */ new Set([
+]), doe = /* @__PURE__ */ new Set([
"ae",
"ar",
"arc",
@@ -23500,19 +23500,19 @@ var foe = /* @__PURE__ */ new Set([
"ur",
"yi"
]);
-function moe(e) {
+function foe(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 foe.has(t.script);
+ if (t.script) return uoe.has(t.script);
}
let t = e.split("-")[0];
- return poe.has(t);
+ return doe.has(t);
}
// node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs
-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";
+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";
try {
Intl.DateTimeFormat.supportedLocalesOf([e]);
} catch {
@@ -23520,31 +23520,31 @@ function Fw() {
}
return {
locale: e,
- direction: moe(e) ? "rtl" : "ltr"
+ direction: foe(e) ? "rtl" : "ltr"
};
}
-var Iw = Fw(), Lw = /* @__PURE__ */ new Set();
-function Rw() {
- Iw = Fw();
- for (let e of Lw) e(Iw);
+var Rw = Lw(), zw = /* @__PURE__ */ new Set();
+function Bw() {
+ Rw = Lw();
+ for (let e of zw) e(Rw);
}
-function hoe() {
- let e = dC(), [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);
+function poe() {
+ let e = pC(), [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);
}), []), e ? {
- locale: typeof window < "u" && window[Pw] || "en-US",
+ locale: typeof window < "u" && window[Iw] || "en-US",
direction: "ltr"
} : t;
}
// node_modules/react-aria/dist/private/i18n/I18nProvider.mjs
-var goe = /*#__PURE__*/ F.createContext(null);
-function zw() {
- let e = hoe();
- return (0, F.useContext)(goe) || e;
+var moe = /*#__PURE__*/ F.createContext(null);
+function Vw() {
+ let e = poe();
+ return (0, F.useContext)(moe) || e;
}
// node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs
-var _oe = Symbol.for("react-aria.i18n.locale"), voe = Symbol.for("react-aria.i18n.strings"), Bw = void 0, Vw = class e {
+var hoe = Symbol.for("react-aria.i18n.locale"), goe = Symbol.for("react-aria.i18n.strings"), Hw = void 0, Uw = 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 _oe = Symbol.for("react-aria.i18n.locale"), voe = Symbol.for("react-aria.i18
}
getStringsForLocale(e) {
let t = this.strings[e];
- return t || (t = yoe(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
+ return t || (t = _oe(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
}
static getGlobalDictionaryForPackage(t) {
if (typeof window > "u") return null;
- let n = window[_oe];
- if (Bw === void 0) {
- let t = window[voe];
+ let n = window[hoe];
+ if (Hw === void 0) {
+ let t = window[goe];
if (!t) return null;
- Bw = {};
- for (let r in t) Bw[r] = new e({ [n]: t[r] }, n);
+ Hw = {};
+ for (let r in t) Hw[r] = new e({ [n]: t[r] }, n);
}
- let r = Bw?.[t];
+ let r = Hw?.[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 yoe(e, t, n = "en-US") {
+function _oe(e, t, n = "en-US") {
if (t[e]) return t[e];
- let r = boe(e), i = xoe(e);
+ let r = voe(e), i = yoe(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 boe(e) {
+function voe(e) {
return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];
}
-function xoe(e) {
+function yoe(e) {
if (Intl.Locale) return new Intl.Locale(e).script;
}
// node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs
-var Hw = /* @__PURE__ */ new Map(), Uw = /* @__PURE__ */ new Map(), Soe = class {
+var Ww = /* @__PURE__ */ new Map(), Gw = /* @__PURE__ */ new Map(), boe = class {
constructor(e, t) {
this.locale = e, this.strings = t;
}
@@ -23597,36 +23597,36 @@ var Hw = /* @__PURE__ */ new Map(), Uw = /* @__PURE__ */ new Map(), Soe = class
plural(e, t, n = "cardinal") {
let r = t["=" + e];
if (r) return 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;
+ 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;
}
number(e) {
- let t = Uw.get(this.locale);
- return t || (t = new Intl.NumberFormat(this.locale), Uw.set(this.locale, t)), t.format(e);
+ let t = Gw.get(this.locale);
+ return t || (t = new Intl.NumberFormat(this.locale), Gw.set(this.locale, t)), t.format(e);
}
select(e, t) {
let n = e[t] || e.other;
return typeof n == "function" ? n() : n;
}
-}, Ww = /* @__PURE__ */ new WeakMap();
-function Coe(e) {
- let t = Ww.get(e);
- return t || (t = new Vw(e), Ww.set(e, t)), t;
+}, Kw = /* @__PURE__ */ new WeakMap();
+function xoe(e) {
+ let t = Kw.get(e);
+ return t || (t = new Uw(e), Kw.set(e, t)), t;
}
-function woe(e, t) {
- return t && Vw.getGlobalDictionaryForPackage(t) || Coe(e);
+function Soe(e, t) {
+ return t && Uw.getGlobalDictionaryForPackage(t) || xoe(e);
}
-function Gw(e, t) {
- let { locale: n } = zw(), r = woe(e, t);
- return (0, F.useMemo)(() => new Soe(n, r), [n, r]);
+function qw(e, t) {
+ let { locale: n } = Vw(), r = Soe(e, t);
+ return (0, F.useMemo)(() => new boe(n, r), [n, r]);
}
// node_modules/react-aria/dist/private/utils/filterDOMProps.mjs
-var Toe = /* @__PURE__ */ new Set(["id"]), Eoe = /* @__PURE__ */ new Set([
+var Coe = /* @__PURE__ */ new Set(["id"]), woe = /* @__PURE__ */ new Set([
"aria-label",
"aria-labelledby",
"aria-describedby",
"aria-details"
-]), Doe = /* @__PURE__ */ new Set([
+]), Toe = /* @__PURE__ */ new Set([
"href",
"hrefLang",
"target",
@@ -23634,60 +23634,60 @@ var Toe = /* @__PURE__ */ new Set(["id"]), Eoe = /* @__PURE__ */ new Set([
"download",
"ping",
"referrerPolicy"
-]), Ooe = /* @__PURE__ */ new Set([
+]), Eoe = /* @__PURE__ */ new Set([
"dir",
"lang",
"hidden",
"inert",
"translate",
"suppressHydrationWarning"
-]), 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 = {}) {
+]), 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 = {}) {
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) && (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]);
+ 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]);
return s;
}
// node_modules/react-aria/dist/private/interactions/textSelection.mjs
-var Jw = "default", Yw = "", Xw = /* @__PURE__ */ new WeakMap();
-function Zw(e) {
- if ($S() && eC()) {
- if (Jw === "default") {
- let t = DS(e);
- Yw = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
- }
- Jw = "disabled";
+var Xw = "default", Zw = "", Qw = /* @__PURE__ */ new WeakMap();
+function $w(e) {
+ if (tC() && nC()) {
+ if (Xw === "default") {
+ let t = kS(e);
+ Zw = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
+ }
+ Xw = "disabled";
} else if (e instanceof HTMLElement || e instanceof SVGElement) {
let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- Xw.set(e, e.style[t]), e.style[t] = "none";
+ Qw.set(e, e.style[t]), e.style[t] = "none";
}
}
-function Qw(e) {
- if ($S() && eC()) {
- if (Jw !== "disabled") return;
- Jw = "restoring", setTimeout(() => {
- LC(() => {
- if (Jw === "restoring") {
- let t = DS(e);
- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = Yw || ""), Yw = "", Jw = "default";
+function eT(e) {
+ if (tC() && nC()) {
+ if (Xw !== "disabled") return;
+ Xw = "restoring", setTimeout(() => {
+ zC(() => {
+ if (Xw === "restoring") {
+ let t = kS(e);
+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = Zw || ""), Zw = "", Xw = "default";
}
});
}, 300);
- } 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);
+ } 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);
}
}
// node_modules/react-aria/dist/private/utils/getNonce.mjs
-var $w = /* @__PURE__ */ new WeakMap();
-function eT(e) {
- let t = DS(e), n = $w.get(t);
- return n ??= bw("csp-nonce", t), n !== void 0 && $w.set(t, n), n;
+var tT = /* @__PURE__ */ new WeakMap();
+function nT(e) {
+ let t = kS(e), n = tT.get(t);
+ return n ??= Sw("csp-nonce", t), n !== void 0 && tT.set(t, n), n;
}
// node_modules/react-aria/dist/private/interactions/context.mjs
-var tT = F.createContext({ register: () => {} });
-tT.displayName = "PressResponderContext";
+var rT = F.createContext({ register: () => {} });
+rT.displayName = "PressResponderContext";
// node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs
-function nT() {
+function iT() {
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 nT() {
};
}
// node_modules/react-aria/dist/private/interactions/usePress.mjs
-function Aoe(e) {
- let t = (0, F.useContext)(tT);
+function Ooe(e) {
+ let t = (0, F.useContext)(rT);
if (t) {
let { register: n, ref: r, ...i } = t;
e = K(i, e), n();
}
- return tw(t, e.ref), e;
+ return rw(t, e.ref), e;
}
-var rT = class {
+var aT = class {
#e;
constructor(e, t, n, r) {
this.#e = !0;
@@ -23734,9 +23734,9 @@ var rT = class {
get shouldStopPropagation() {
return this.#e;
}
-}, 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)({
+}, 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)({
isPressed: !1,
ignoreEmulatedMouseEvents: !1,
didFirePressStart: !1,
@@ -23746,12 +23746,12 @@ function sT(e) {
isOverTarget: !1,
pointerType: null,
disposables: []
- }), { addGlobalListener: _, removeAllGlobalListeners: v } = nT(), y = (0, F.useCallback)((e, t) => {
+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = iT(), 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 rT("pressstart", t, e);
+ let n = new aT("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 sT(e) {
o.didFirePressStart = !1, o.isTriggeringEvent = !0;
let c = !0;
if (i) {
- let t = new rT("pressend", r, e);
+ let t = new aT("pressend", r, e);
i(t), c = t.shouldStopPropagation;
}
if (n && n(!1), h(!1), t && a && !s) {
- let n = new rT("press", r, e);
+ let n = new aT("press", r, e);
t(n), c &&= n.shouldStopPropagation;
}
return o.isTriggeringEvent = !1, c;
@@ -23778,19 +23778,19 @@ function sT(e) {
i,
n,
t
- ]), x = jw(b), S = jw((0, F.useCallback)((e, t) => {
+ ]), x = Nw(b), S = Nw((0, F.useCallback)((e, t) => {
let n = g.current;
if (s) return !1;
if (a) {
n.isTriggeringEvent = !0;
- let r = new rT("pressup", t, e);
+ let r = new aT("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(uT(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || Qw(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);
for (let e of t.disposables) e();
t.disposables = [];
}
@@ -23798,7 +23798,7 @@ function sT(e) {
d,
v,
b
- ]), w = jw(C);
+ ]), w = Nw(C);
(0, F.useEffect)(() => {
s && g.current.isPressed && w({
currentTarget: g.current.target,
@@ -23815,39 +23815,39 @@ function sT(e) {
}, [s, o]), D = (0, F.useCallback)((e, t) => {
if (!s && o) {
let n = new MouseEvent("click", e);
- GS(n, t), o(WS(n));
+ qS(n, t), o(KS(n));
}
}, [s, o]), O = (0, F.useMemo)(() => {
let e = g.current, t = {
onKeyDown(t) {
- if (lT(t.nativeEvent, t.currentTarget) && PS(t.currentTarget, G(t))) {
- dT(G(t), t.key) && t.preventDefault();
+ if (dT(t.nativeEvent, t.currentTarget) && IS(t.currentTarget, G(t))) {
+ pT(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;
- _(DS(t.currentTarget), "keyup", zC((t) => {
- lT(t, i) && !t.repeat && PS(i, G(t)) && e.target && S(uT(e.target, t), "keyboard");
- }, n), !0), r && t.stopPropagation(), t.metaKey && ZS() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
+ _(kS(t.currentTarget), "keyup", VC((t) => {
+ dT(t, i) && !t.repeat && IS(i, G(t)) && e.target && S(fT(e.target, t), "keyboard");
+ }, n), !0), r && t.stopPropagation(), t.metaKey && $S() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
},
onClick(t) {
- if ((!t || PS(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !aC.isOpening) {
+ if ((!t || IS(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !sC.isOpening) {
let n = !0;
- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || rC(t.nativeEvent))) {
+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || aC(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(uT(t.currentTarget, t), r), a = x(uT(t.currentTarget, t), r, !0);
+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(fT(t.currentTarget, t), r), a = x(fT(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 && lT(t, e.target)) {
- dT(G(t), t.key) && t.preventDefault();
- let n = G(t), r = PS(e.target, n);
- x(uT(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && cT(e.target) && PS(e.target, n) && !t[iT] && (t[iT] = !0, aC(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
+ if (e.isPressed && e.target && dT(t, e.target)) {
+ pT(G(t), t.key) && t.preventDefault();
+ let n = G(t), r = IS(e.target, n);
+ x(fT(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && uT(e.target) && IS(e.target, n) && !t[oT] && (t[oT] = !0, sC(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 sT(e) {
};
if (typeof PointerEvent < "u") {
t.onPointerDown = (t) => {
- if (t.button !== 0 || !PS(t.currentTarget, G(t))) return;
- if (pae(t.nativeEvent)) {
+ if (t.button !== 0 || !IS(t.currentTarget, G(t))) return;
+ if (dae(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 || Zw(e.target), i = y(t, e.pointerType);
+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || $w(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)), _(DS(t.currentTarget), "pointerup", n, !1), _(DS(t.currentTarget), "pointercancel", r, !1);
+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(kS(t.currentTarget), "pointerup", n, !1), _(kS(t.currentTarget), "pointercancel", r, !1);
}
i && t.stopPropagation();
}, t.onMouseDown = (t) => {
- if (PS(t.currentTarget, G(t)) && t.button === 0) {
+ if (IS(t.currentTarget, G(t)) && t.button === 0) {
if (l) {
- let n = uae(t.target);
+ let n = cae(t.target);
n && e.disposables.push(n);
}
t.stopPropagation();
}
}, t.onPointerUp = (t) => {
- PS(t.currentTarget, G(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);
+ IS(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(uT(e.target, t), e.pointerType));
+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(fT(e.target, t), e.pointerType));
}, t.onPointerLeave = (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));
+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(fT(e.target, t), e.pointerType, !1), T(t));
};
let n = (t) => {
if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {
- if (PS(e.target, G(t)) && e.pointerType != null) {
+ if (IS(e.target, G(t)) && e.pointerType != null) {
let n = !1, r = setTimeout(() => {
- e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (ES(e.target), e.target.click()));
+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (OS(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 sT(e) {
w(e);
};
t.onDragStart = (e) => {
- PS(e.currentTarget, G(e)) && w(e);
+ IS(e.currentTarget, G(e)) && w(e);
};
}
return t;
@@ -23915,14 +23915,14 @@ function sT(e) {
]);
return (0, F.useEffect)(() => {
if (!f) return;
- let e = DS(f.current);
- if (!e || !e.head || e.getElementById(aT)) return;
+ let e = kS(f.current);
+ if (!e || !e.head || e.getElementById(sT)) return;
let t = e.createElement("style");
- t.id = aT;
- let n = eT(e);
+ t.id = sT;
+ let n = nT(e);
n && (t.nonce = n), t.textContent = `
@layer {
- [${oT}] {
+ [${cT}] {
touch-action: pan-x pan-y pinch-zoom;
}
}
@@ -23930,23 +23930,23 @@ function sT(e) {
}, [f]), (0, F.useEffect)(() => {
let e = g.current;
return () => {
- d || Qw(e.target ?? void 0);
+ d || eT(e.target ?? void 0);
for (let t of e.disposables) t();
e.disposables = [];
};
}, [d]), {
isPressed: c || m,
- pressProps: K(p, O, { [oT]: !0 })
+ pressProps: K(p, O, { [cT]: !0 })
};
}
-function cT(e) {
+function uT(e) {
return e.tagName === "A" && e.hasAttribute("href");
}
-function lT(e, t) {
+function dT(e, t) {
let { key: n, code: r } = e, i = t, a = i.getAttribute("role");
- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof OS(i).HTMLInputElement && !fT(i, n) || i instanceof OS(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && cT(i)) && n !== "Enter");
+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof AS(i).HTMLInputElement && !mT(i, n) || i instanceof AS(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && uT(i)) && n !== "Enter");
}
-function uT(e, t) {
+function fT(e, t) {
let n = t.clientX, r = t.clientY;
return {
currentTarget: e,
@@ -23959,13 +23959,13 @@ function uT(e, t) {
key: t.key
};
}
-function joe(e) {
- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !cT(e);
+function koe(e) {
+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !uT(e);
}
-function dT(e, t) {
- return ZS() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !fT(e, t) : joe(e);
+function pT(e, t) {
+ return $S() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !mT(e, t) : koe(e);
}
-var Moe = /* @__PURE__ */ new Set([
+var Aoe = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -23976,11 +23976,11 @@ var Moe = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function fT(e, t) {
- return e.type === "checkbox" || e.type === "radio" ? t === " " : Moe.has(e.type);
+function mT(e, t) {
+ return e.type === "checkbox" || e.type === "radio" ? t === " " : Aoe.has(e.type);
}
// node_modules/react-aria/dist/private/button/useButton.mjs
-function Noe(e, t) {
+function joe(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 Noe(e, t) {
"aria-disabled": !r || n === "input" ? void 0 : r,
rel: n === "a" ? m : void 0
};
- let { pressProps: _, isPressed: v } = sT({
+ let { pressProps: _, isPressed: v } = lT({
onPressStart: a,
onPressEnd: o,
onPressChange: c,
@@ -24012,9 +24012,9 @@ function Noe(e, t) {
isDisabled: r,
preventFocusOnPress: l,
ref: t
- }), { focusableProps: y } = rw(e, t);
+ }), { focusableProps: y } = aw(e, t);
u && (y.tabIndex = r ? -1 : y.tabIndex);
- let b = K(y, _, qw(e, { labelable: !0 }));
+ let b = K(y, _, Yw(e, { labelable: !0 }));
return {
isPressed: v,
buttonProps: K(g, b, {
@@ -24028,7 +24028,7 @@ function Noe(e, t) {
};
}
// node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs
-var Poe = class {
+var Moe = 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 Poe = class {
return this._currentNode;
}
set currentNode(e) {
- if (!PS(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");
+ if (!IS(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 Poe = class {
}
firstChild() {
let e = this.currentNode, t = this.nextNode();
- return PS(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
+ return IS(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
}
lastChild() {
let e = this._walkerStack[0].lastChild();
@@ -24131,44 +24131,44 @@ var Poe = class {
return null;
}
};
-function pT(e, t, n, r) {
- return NS() ? new Poe(e, t, n, r) : e.createTreeWalker(t, n, r);
+function hT(e, t, n, r) {
+ return FS() ? new Moe(e, t, n, r) : e.createTreeWalker(t, n, r);
}
// node_modules/react-aria/dist/private/focus/FocusScope.mjs
-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]);
- US(() => {
- let e = c || jT.root;
- if (jT.getTreeNode(e.scopeRef) && gT && !CT(gT, e.scopeRef)) {
- let t = jT.getTreeNode(gT);
+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]);
+ GS(() => {
+ let e = c || NT.root;
+ if (NT.getTreeNode(e.scopeRef) && vT && !TT(vT, e.scopeRef)) {
+ let t = NT.getTreeNode(vT);
t && (e = t);
}
- e.addChild(l), jT.addNode(l);
- }, [l, c]), US(() => {
- let e = jT.getTreeNode(s);
+ e.addChild(l), NT.addNode(l);
+ }, [l, c]), GS(() => {
+ let e = NT.getTreeNode(s);
e && (e.contain = !!n);
- }, [n]), US(() => {
+ }, [n]), GS(() => {
let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();
- for (; e && e !== o.current;) t.push(e), e.addEventListener(hT, n), e = e.nextSibling;
+ for (; e && e !== o.current;) t.push(e), e.addEventListener(_T, n), e = e.nextSibling;
return s.current = t, () => {
- for (let e of t) e.removeEventListener(hT, n);
+ for (let e of t) e.removeEventListener(_T, n);
};
- }, [t]), Voe(s, r, n), Roe(s, n), Hoe(s, r, n), Boe(s, i), (0, F.useEffect)(() => {
- let e = FS(DS(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]), US(() => () => {
- let e = jT.getTreeNode(s)?.parent?.scopeRef ?? null;
- s !== gT && !CT(s, gT) || e && !jT.getTreeNode(e) || (gT = e), jT.removeTreeNode(s);
+ }, [t]), zoe(s, r, n), Ioe(s, n), Boe(s, r, n), Roe(s, i), (0, F.useEffect)(() => {
+ let e = LS(kS(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]), GS(() => () => {
+ let e = NT.getTreeNode(s)?.parent?.scopeRef ?? null;
+ s !== vT && !TT(s, vT) || e && !NT.getTreeNode(e) || (vT = e), NT.removeTreeNode(s);
}, [s]);
- let u = (0, F.useMemo)(() => Foe(s), []), d = (0, F.useMemo)(() => ({
+ let u = (0, F.useMemo)(() => Noe(s), []), d = (0, F.useMemo)(() => ({
focusManager: u,
parentNode: l
}), [l, u]);
- return /*#__PURE__*/ F.createElement(mT.Provider, { value: d }, /*#__PURE__*/ F.createElement("span", {
+ return /*#__PURE__*/ F.createElement(gT.Provider, { value: d }, /*#__PURE__*/ F.createElement("span", {
"data-focus-scope-start": !0,
hidden: !0,
ref: a
@@ -24178,154 +24178,154 @@ function _T(e) {
ref: o
}));
}
-function Foe(e) {
+function Noe(e) {
return {
focusNext(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || FS(DS(n[0] ?? void 0)), c = n[0].previousElementSibling, l = kT(vT(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || LS(kS(n[0] ?? void 0)), c = n[0].previousElementSibling, l = jT(bT(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = xT(s, n) ? s : c;
+ l.currentNode = CT(s, n) ? s : c;
let u = l.nextNode();
- return !u && a && (l.currentNode = c, u = l.nextNode()), u && wT(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && ET(u, !0), u;
},
focusPrevious(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || FS(DS(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = kT(vT(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || LS(kS(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = jT(bT(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = xT(s, n) ? s : c;
+ l.currentNode = CT(s, n) ? s : c;
let u = l.previousNode();
- return !u && a && (l.currentNode = c, u = l.previousNode()), u && wT(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && ET(u, !0), u;
},
focusFirst(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = kT(vT(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = jT(bT(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[0].previousElementSibling;
let o = a.nextNode();
- return o && wT(o, !0), o;
+ return o && ET(o, !0), o;
},
focusLast(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = kT(vT(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = jT(bT(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[n.length - 1].nextElementSibling;
let o = a.previousNode();
- return o && wT(o, !0), o;
+ return o && ET(o, !0), o;
}
};
}
-function vT(e) {
+function bT(e) {
return e[0].parentElement;
}
-function yT(e) {
- let t = jT.getTreeNode(gT);
+function xT(e) {
+ let t = NT.getTreeNode(vT);
for (; t && t.scopeRef !== e;) {
if (t.contain) return !1;
t = t.parent;
}
return !0;
}
-function Ioe(e) {
- if (!e.form) return Array.from(DS(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
- let t = e.form.elements.namedItem(e.name), n = OS(e);
+function Poe(e) {
+ if (!e.form) return Array.from(kS(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
+ let t = e.form.elements.namedItem(e.name), n = AS(e);
return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];
}
-function Loe(e) {
+function Foe(e) {
if (e.checked) return !0;
- let t = Ioe(e);
+ let t = Poe(e);
return t.length > 0 && !t.some((e) => e.checked);
}
-function Roe(e, t) {
+function Ioe(e, t) {
let n = (0, F.useRef)(void 0), r = (0, F.useRef)(void 0);
- US(() => {
+ GS(() => {
let i = e.current;
if (!t) {
r.current &&= (cancelAnimationFrame(r.current), void 0);
return;
}
- let a = DS(i ? i[0] : void 0), o = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !yT(e) || t.isComposing) return;
- let n = FS(a), r = e.current;
- if (!r || !xT(n, r)) return;
- let i = kT(vT(r), { tabbable: !0 }, r);
+ let a = kS(i ? i[0] : void 0), o = (t) => {
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !xT(e) || t.isComposing) return;
+ let n = LS(a), r = e.current;
+ if (!r || !CT(n, r)) return;
+ let i = jT(bT(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 && (wT(o, !0), o instanceof OS(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 && (ET(o, !0), o instanceof AS(o).HTMLInputElement && o.select());
}, s = (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));
+ (!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));
}, c = (t) => {
r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
- let r = DC(), i = (r === "virtual" || r === null) && nC() && tC(), o = FS(a);
- if (!i && o && yT(e) && !ST(o, e)) {
- gT = e;
+ let r = kC(), i = (r === "virtual" || r === null) && iC() && rC(), o = LS(a);
+ if (!i && o && xT(e) && !wT(o, e)) {
+ vT = e;
let r = G(t);
- r && r.isConnected ? (n.current = r, wT(n.current)) : gT.current && ET(gT.current);
+ r && r.isConnected ? (n.current = r, ET(n.current)) : vT.current && OT(vT.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]), US(() => () => {
+ }, [e, t]), GS(() => () => {
r.current && cancelAnimationFrame(r.current);
}, [r]);
}
-function bT(e) {
- return ST(e);
+function ST(e) {
+ return wT(e);
}
-function xT(e, t) {
- return !e || !t ? !1 : t.some((t) => PS(t, e));
+function CT(e, t) {
+ return !e || !t ? !1 : t.some((t) => IS(t, e));
}
-function ST(e, t = null) {
+function wT(e, t = null) {
if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;
- for (let { scopeRef: n } of jT.traverse(jT.getTreeNode(t))) if (n && xT(e, n.current)) return !0;
+ for (let { scopeRef: n } of NT.traverse(NT.getTreeNode(t))) if (n && CT(e, n.current)) return !0;
return !1;
}
-function zoe(e) {
- return ST(e, gT);
+function Loe(e) {
+ return wT(e, vT);
}
-function CT(e, t) {
- let n = jT.getTreeNode(t)?.parent;
+function TT(e, t) {
+ let n = NT.getTreeNode(t)?.parent;
for (; n;) {
if (n.scopeRef === e) return !0;
n = n.parent;
}
return !1;
}
-function wT(e, t = !1) {
+function ET(e, t = !1) {
if (e != null && !t) try {
- RC(e);
+ BC(e);
} catch {}
else if (e != null) try {
e.focus();
} catch {}
}
-function TT(e, t = !0) {
- let n = e[0].previousElementSibling, r = vT(e), i = kT(r, { tabbable: t }, e);
+function DT(e, t = !0) {
+ let n = e[0].previousElementSibling, r = bT(e), i = jT(r, { tabbable: t }, e);
i.currentNode = n;
let a = i.nextNode();
- return t && !a && (r = vT(e), i = kT(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
+ return t && !a && (r = bT(e), i = jT(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
}
-function ET(e, t = !0) {
- wT(TT(e, t));
+function OT(e, t = !0) {
+ ET(DT(e, t));
}
-function Boe(e, t) {
+function Roe(e, t) {
let n = F.useRef(t);
(0, F.useEffect)(() => {
- n.current && (gT = e, !xT(FS(DS(e.current ? e.current[0] : void 0)), gT.current) && e.current && ET(e.current)), n.current = !1;
+ n.current && (vT = e, !CT(LS(kS(e.current ? e.current[0] : void 0)), vT.current) && e.current && OT(e.current)), n.current = !1;
}, [e]);
}
-function Voe(e, t, n) {
- US(() => {
+function zoe(e, t, n) {
+ GS(() => {
if (t || n) return;
- let r = e.current, i = DS(r ? r[0] : void 0), a = (t) => {
+ let r = e.current, i = kS(r ? r[0] : void 0), a = (t) => {
let n = G(t);
- xT(n, e.current) ? gT = e : bT(n) || (gT = null);
+ CT(n, e.current) ? vT = e : ST(n) || (vT = 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 Voe(e, t, n) {
n
]);
}
-function DT(e) {
- let t = jT.getTreeNode(gT);
+function kT(e) {
+ let t = NT.getTreeNode(vT);
for (; t && t.scopeRef !== e;) {
if (t.nodeToRestore) return !1;
t = t.parent;
}
return t?.scopeRef === e;
}
-function Hoe(e, t, n) {
- let r = (0, F.useRef)(typeof document < "u" ? FS(DS(e.current ? e.current[0] : void 0)) : null);
- US(() => {
- let r = e.current, i = DS(r ? r[0] : void 0);
+function Boe(e, t, n) {
+ let r = (0, F.useRef)(typeof document < "u" ? LS(kS(e.current ? e.current[0] : void 0)) : null);
+ GS(() => {
+ let r = e.current, i = kS(r ? r[0] : void 0);
if (!t || n) return;
let a = () => {
- (!gT || CT(gT, e)) && xT(FS(i), e.current) && (gT = e);
+ (!vT || TT(vT, e)) && CT(LS(i), e.current) && (vT = 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]), US(() => {
- let r = DS(e.current ? e.current[0] : void 0);
+ }, [e, n]), GS(() => {
+ let r = kS(e.current ? e.current[0] : void 0);
if (!t) return;
let i = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !yT(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !xT(e) || t.isComposing) return;
let n = r.activeElement;
- if (!ST(n, e) || !DT(e)) return;
- let i = jT.getTreeNode(e);
+ if (!wT(n, e) || !kT(e)) return;
+ let i = NT.getTreeNode(e);
if (!i) return;
- let a = i.nodeToRestore, o = kT(r.body, { tabbable: !0 });
+ let a = i.nodeToRestore, o = jT(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 || !ST(s, e)) && a) {
+ if (a && a.isConnected && a !== r.body || (a = void 0, i.nodeToRestore = void 0), (!s || !wT(s, e)) && a) {
o.currentNode = a;
do
s = t.shiftKey ? o.previousNode() : o.nextNode();
- while (ST(s, e));
- t.preventDefault(), t.stopPropagation(), s ? wT(s, !0) : bT(a) ? wT(a, !0) : n.blur();
+ while (wT(s, e));
+ t.preventDefault(), t.stopPropagation(), s ? ET(s, !0) : ST(a) ? ET(a, !0) : n.blur();
}
};
return n || r.addEventListener("keydown", i, !0), () => {
@@ -24382,31 +24382,31 @@ function Hoe(e, t, n) {
e,
t,
n
- ]), US(() => {
- let n = DS(e.current ? e.current[0] : void 0);
+ ]), GS(() => {
+ let n = kS(e.current ? e.current[0] : void 0);
if (!t) return;
- let i = jT.getTreeNode(e);
+ let i = NT.getTreeNode(e);
if (i) return i.nodeToRestore = r.current ?? void 0, () => {
- let r = jT.getTreeNode(e);
+ let r = NT.getTreeNode(e);
if (!r) return;
- let i = r.nodeToRestore, a = FS(n);
- if (t && i && (a && ST(a, e) || a === n.body && DT(e))) {
- let t = jT.clone();
+ let i = r.nodeToRestore, a = LS(n);
+ if (t && i && (a && wT(a, e) || a === n.body && kT(e))) {
+ let t = NT.clone();
requestAnimationFrame(() => {
if (n.activeElement === n.body) {
let n = t.getTreeNode(e);
for (; n;) {
if (n.nodeToRestore && n.nodeToRestore.isConnected) {
- OT(n.nodeToRestore);
+ AT(n.nodeToRestore);
return;
}
n = n.parent;
}
for (n = t.getTreeNode(e); n;) {
- if (n.scopeRef && n.scopeRef.current && jT.getTreeNode(n.scopeRef)) {
- let e = TT(n.scopeRef.current, !0);
+ if (n.scopeRef && n.scopeRef.current && NT.getTreeNode(n.scopeRef)) {
+ let e = DT(n.scopeRef.current, !0);
if (e) {
- OT(e);
+ AT(e);
return;
}
}
@@ -24418,21 +24418,21 @@ function Hoe(e, t, n) {
};
}, [e, t]);
}
-function OT(e) {
- e.dispatchEvent(new CustomEvent(hT, {
+function AT(e) {
+ e.dispatchEvent(new CustomEvent(_T, {
bubbles: !0,
cancelable: !0
- })) && wT(e);
+ })) && ET(e);
}
-function kT(e, t, n) {
- let r = t?.tabbable ? VS : BS, i = DS(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = pT(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
- return PS(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;
+function jT(e, t, n) {
+ let r = t?.tabbable ? US : HS, i = kS(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = hT(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
+ return IS(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;
} });
return t?.from && (a.currentNode = t.from), a;
}
-var Uoe = class e {
+var Voe = class e {
constructor() {
- this.fastMap = /* @__PURE__ */ new Map(), this.root = new AT({ scopeRef: null }), this.fastMap.set(null, this.root);
+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new MT({ scopeRef: null }), this.fastMap.set(null, this.root);
}
get size() {
return this.fastMap.size;
@@ -24443,7 +24443,7 @@ var Uoe = class e {
addTreeNode(e, t, n) {
let r = this.fastMap.get(t ?? null);
if (!r) return;
- let i = new AT({ scopeRef: e });
+ let i = new MT({ scopeRef: e });
r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);
}
addNode(e) {
@@ -24454,7 +24454,7 @@ var Uoe = 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 && xT(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 && CT(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 Uoe = class e {
for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);
return t;
}
-}, AT = class {
+}, MT = class {
constructor(e) {
this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;
}
@@ -24476,13 +24476,13 @@ var Uoe = class e {
removeChild(e) {
this.children.delete(e), e.parent = void 0;
}
-}, 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);
+}, 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);
}, 100));
}
-var Woe = class {
+var Hoe = 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 Woe = class {
destroy() {
this.node &&= (document.body.removeChild(this.node), null);
}
- announce(e, t = "assertive", n = MT) {
+ announce(e, t = "assertive", n = PT) {
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 Woe = class {
}
};
// node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs
-function FT(e, t) {
- let n = (0, F.useRef)(!0), r = (0, F.useRef)(null), i = jw(e);
+function LT(e, t) {
+ let n = (0, F.useRef)(!0), r = (0, F.useRef)(null), i = Nw(e);
(0, F.useEffect)(() => (n.current = !0, () => {
n.current = !1;
}), []), (0, F.useEffect)(() => {
@@ -24529,30 +24529,30 @@ function FT(e, t) {
}, t);
}
// node_modules/react-aria/dist/private/utils/isScrollable.mjs
-function IT(e, t) {
+function RT(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 LT(e, t) {
+function zT(e, t) {
let n = e;
- for (IT(n, t) && (n = n.parentElement); n && !IT(n, t);) n = n.parentElement;
+ for (RT(n, t) && (n = n.parentElement); n && !RT(n, t);) n = n.parentElement;
return n || document.scrollingElement || document.documentElement;
}
// node_modules/react-aria/dist/private/utils/getScrollParents.mjs
-function RT(e, t) {
+function BT(e, t) {
let n = [], r = document.scrollingElement || document.documentElement;
- for (; e && (IT(e, t) && n.push(e), e !== r);) e = e.parentElement;
+ for (; e && (RT(e, t) && n.push(e), e !== r);) e = e.parentElement;
return n;
}
// node_modules/react-aria/dist/private/utils/scrollIntoView.mjs
-function zT(e, t, n = {}) {
- e !== t && Goe(e, t, t.getBoundingClientRect(), n);
+function VT(e, t, n = {}) {
+ e !== t && Uoe(e, t, t.getBoundingClientRect(), n);
}
-function Goe(e, t, n, r = {}) {
+function Uoe(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;
- $S() && eC() || u.direction === "ltr" ? I -= te : u.direction === "rtl" && (F += te);
+ tC() && nC() || 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 Goe(e, t, n, r = {}) {
top: o
});
}
-function BT(e, t = {}) {
+function HT(e, t = {}) {
let { containingElement: n } = t;
if (e && e.isConnected) {
let t = document.scrollingElement || document.documentElement;
@@ -24586,45 +24586,45 @@ function BT(e, t = {}) {
inline: "center"
}), e.scrollIntoView?.({ block: "nearest" }));
} else {
- let { left: t, top: r } = e.getBoundingClientRect(), i = RT(e, !0);
- for (let t of i) zT(t, e);
+ let { left: t, top: r } = e.getBoundingClientRect(), i = BT(e, !0);
+ for (let t of i) VT(t, e);
let { left: a, top: o } = e.getBoundingClientRect();
if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {
- i = n ? RT(n, !0) : [];
- for (let e of i) zT(e, n, {
+ i = n ? BT(n, !0) : [];
+ for (let e of i) VT(e, n, {
block: "center",
inline: "center"
});
- for (let t of RT(e, !0)) zT(t, e);
+ for (let t of BT(e, !0)) VT(t, e);
}
}
}
}
// node_modules/react-aria/dist/private/utils/useDescription.mjs
-var Koe = 0, VT = /* @__PURE__ */ new Map();
-function HT(e) {
+var Woe = 0, UT = /* @__PURE__ */ new Map();
+function WT(e) {
let [t, n] = (0, F.useState)();
- return US(() => {
+ return GS(() => {
if (!e) return;
- let t = VT.get(e);
+ let t = UT.get(e);
if (t) n(t.element.id);
else {
- let r = `react-aria-description-${Koe++}`;
+ let r = `react-aria-description-${Woe++}`;
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
- }, VT.set(e, t);
+ }, UT.set(e, t);
}
return t.refCount++, () => {
- t && --t.refCount === 0 && (t.element.remove(), VT.delete(e));
+ t && --t.refCount === 0 && (t.element.remove(), UT.delete(e));
};
}, [e]), { "aria-describedby": e ? t : void 0 };
}
// node_modules/react-aria/dist/private/utils/useFormReset.mjs
-function UT(e, t, n) {
- let r = jw((e) => {
+function GT(e, t, n) {
+ let r = Nw((e) => {
n && !e.defaultPrevented && n(t);
});
(0, F.useEffect)(() => {
@@ -24635,21 +24635,21 @@ function UT(e, t, n) {
}, [e]);
}
// node_modules/react-aria/dist/private/form/useFormValidation.mjs
-function WT(e, t, n) {
+function KT(e, t, n) {
let { validationBehavior: r, focus: i } = e;
- US(() => {
+ GS(() => {
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(Joe(n.current));
+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(Koe(n.current));
}
});
- let a = (0, F.useRef)(!1), o = jw(() => {
+ let a = (0, F.useRef)(!1), o = Nw(() => {
a.current || t.resetValidation();
- }), s = jw((e) => {
+ }), s = Nw((e) => {
t.displayValidation.isInvalid || t.commitValidation();
let r = n?.current?.form;
- !e.defaultPrevented && n && r && Yoe(r) === n.current && (i ? i() : n.current?.focus(), OC("keyboard")), e.preventDefault();
- }), c = jw(() => {
+ !e.defaultPrevented && n && r && qoe(r) === n.current && (i ? i() : n.current?.focus(), AC("keyboard")), e.preventDefault();
+ }), c = Nw(() => {
t.commitValidation();
});
(0, F.useEffect)(() => {
@@ -24663,7 +24663,7 @@ function WT(e, t, n) {
};
}, [n, r]);
}
-function qoe(e) {
+function Goe(e) {
let t = e.validity;
return {
badInput: t.badInput,
@@ -24679,14 +24679,14 @@ function qoe(e) {
valid: t.valid
};
}
-function Joe(e) {
+function Koe(e) {
return {
isInvalid: !e.validity.valid,
- validationDetails: qoe(e),
+ validationDetails: Goe(e),
validationErrors: e.validationMessage ? [e.validationMessage] : []
};
}
-function Yoe(e) {
+function qoe(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 Yoe(e) {
return null;
}
// node_modules/react-aria/dist/private/utils/useSlot.mjs
-function Xoe(e = !0) {
+function Joe(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 US(() => {
+ return GS(() => {
r.current || n(!1);
}, []), [i, t];
}
-function GT(e = !0) {
- let t = UC(), [n, r] = Xoe(e);
+function qT(e = !0) {
+ let t = GC(), [n, r] = Joe(e);
return {
id: r ? t : void 0,
ref: n
};
}
// node_modules/react-stately/dist/private/form/useFormValidationState.mjs
-var KT = {
+var JT = {
badInput: !1,
customError: !1,
patternMismatch: !1,
@@ -24722,18 +24722,18 @@ var KT = {
typeMismatch: !1,
valueMissing: !1,
valid: !0
-}, qT = {
- ...KT,
+}, YT = {
+ ...JT,
customError: !0,
valid: !1
-}, JT = {
+}, XT = {
isInvalid: !1,
- validationDetails: KT,
+ validationDetails: JT,
validationErrors: []
-}, Zoe = (0, F.createContext)({}), YT = "__reactAriaFormValidationState";
-function XT(e) {
+}, Yoe = (0, F.createContext)({}), ZT = "__reactAriaFormValidationState";
+function QT(e) {
if (e.__reactAriaFormValidationState) {
- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[YT];
+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[ZT];
return {
realtimeValidation: t,
displayValidation: n,
@@ -24742,70 +24742,70 @@ function XT(e) {
commitValidation: a
};
}
- return Qoe(e);
+ return Xoe(e);
}
-function Qoe(e) {
+function Xoe(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: qT
- }, l = (0, F.useMemo)(() => !o || i == null ? null : QT($oe(o, i)), [o, i]);
+ validationDetails: YT
+ }, l = (0, F.useMemo)(() => !o || i == null ? null : eE(Zoe(o, i)), [o, i]);
a?.validationDetails.valid && (a = void 0);
- 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);
+ 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);
u !== f && (p(u), h(!1));
- 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 = () => {
+ 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 = () => {
if (!S) return;
C(!1);
let e = l || a || _.current;
- $T(e, b.current) || (b.current = e, y(e));
+ tE(e, b.current) || (b.current = e, y(e));
}, [S, C] = (0, F.useState)(!1);
return (0, F.useEffect)(x), {
- realtimeValidation: c || g || l || a || JT,
+ realtimeValidation: c || g || l || a || XT,
displayValidation: s === "native" ? c || g || v : c || g || l || a || v,
updateValidation(e) {
- s === "aria" && !$T(v, e) ? y(e) : _.current = e;
+ s === "aria" && !tE(v, e) ? y(e) : _.current = e;
},
resetValidation() {
- let e = JT;
- $T(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
+ let e = XT;
+ tE(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
},
commitValidation() {
s === "native" && C(!0), h(!0);
}
};
}
-function ZT(e) {
+function $T(e) {
return e ? Array.isArray(e) ? e : [e] : [];
}
-function $oe(e, t) {
+function Zoe(e, t) {
if (typeof e == "function") {
let n = e(t);
- if (n && typeof n != "boolean") return ZT(n);
+ if (n && typeof n != "boolean") return $T(n);
}
return [];
}
-function QT(e) {
+function eE(e) {
return e.length ? {
isInvalid: !0,
validationErrors: e,
- validationDetails: qT
+ validationDetails: YT
} : null;
}
-function $T(e, t) {
+function tE(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 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({
+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({
...e,
value: t.isSelected
}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;
- WT(e, b, n);
+ KT(e, b, n);
let w = (e) => {
e.stopPropagation(), t.setSelected(G(e).checked);
- }, { pressProps: T, isPressed: E } = sT({
+ }, { pressProps: T, isPressed: E } = lT({
onPressStart: m,
onPressEnd: h,
onPressChange: g,
@@ -24813,7 +24813,7 @@ function eE(e, t, n) {
onPressUp: v,
onClick: y,
isDisabled: r
- }), [D, O] = (0, F.useState)(!1), { pressProps: k } = sT({
+ }), [D, O] = (0, F.useState)(!1), { pressProps: k } = lT({
onPressStart(e) {
e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (m?.(e), g?.(!0), O(!0));
},
@@ -24830,13 +24830,13 @@ function eE(e, t, n) {
return;
}
_?.(r), t.toggle(), n.current?.focus();
- let { [YT]: i } = e, { commitValidation: a } = i || b;
+ let { [ZT]: i } = e, { commitValidation: a } = i || b;
a();
},
isDisabled: r || i
- }), { 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();
+ }), { 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();
return {
labelProps: K(k, { onClick: (e) => e.preventDefault() }),
inputProps: K(M, {
@@ -24872,8 +24872,8 @@ function eE(e, t, n) {
};
}
// node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs
-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;
+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;
return (0, F.useEffect)(() => {
n.current && (n.current.indeterminate = !!m);
}), {
@@ -24891,17 +24891,17 @@ function tE(e, t, n) {
};
}
// node_modules/react-aria/dist/private/checkbox/utils.mjs
-var ese = /* @__PURE__ */ new WeakMap();
+var Qoe = /* @__PURE__ */ new WeakMap();
// node_modules/react-aria/dist/private/label/useLabel.mjs
-function nE(e) {
+function iE(e) {
let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;
- t = UC(t);
- let o = UC(), s = {};
+ t = GC(t);
+ let o = GC(), s = {};
n && (r = r ? `${o} ${r}` : o, s = {
id: o,
htmlFor: a === "label" ? t : void 0
});
- let c = Nw({
+ let c = Fw({
id: t,
"aria-label": i,
"aria-labelledby": r
@@ -24912,13 +24912,13 @@ function nE(e) {
};
}
// node_modules/react-aria/dist/private/label/useField.mjs
-function rE(e) {
- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = nE(e), s = WC([
+function aE(e) {
+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = iE(e), s = KC([
!!t,
!!n,
r,
i
- ]), c = WC([
+ ]), c = KC([
!!t,
!!n,
r,
@@ -24936,26 +24936,26 @@ function rE(e) {
};
}
// node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs
-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) => {
- PS(e.currentTarget, G(e)) && a.current.isFocusWithin && !PS(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
+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) => {
+ IS(e.currentTarget, G(e)) && a.current.isFocusWithin && !IS(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
}, [
n,
i,
a,
s
- ]), l = KS(c), u = (0, F.useCallback)((e) => {
- if (!PS(e.currentTarget, G(e))) return;
- let t = G(e), n = DS(t), s = FS(n);
+ ]), l = JS(c), u = (0, F.useCallback)((e) => {
+ if (!IS(e.currentTarget, G(e))) return;
+ let t = G(e), n = kS(t), s = LS(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 && !PS(t, r)) {
+ if (a.current.isFocusWithin && !IS(t, r)) {
let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });
- GS(e, t);
- let i = WS(e);
+ qS(e, t);
+ let i = KS(e);
c(i);
}
}, { capture: !0 });
@@ -24976,14 +24976,14 @@ function iE(e) {
} };
}
// node_modules/react-stately/dist/private/utils/useControlledState.mjs
-var tse = F.useInsertionEffect ?? F.useLayoutEffect;
-function aE(e, t, n) {
+var $oe = F.useInsertionEffect ?? F.useLayoutEffect;
+function sE(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;
- tse(() => {
+ $oe(() => {
a.current = c;
});
let [, l] = (0, F.useReducer)(() => ({}), {});
@@ -24993,8 +24993,8 @@ function aE(e, t, n) {
}, [n])];
}
// node_modules/react-stately/dist/private/toggle/useToggleState.mjs
-function oE(e = {}) {
- let { isReadOnly: t } = e, [n, r] = aE(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, F.useState)(n);
+function cE(e = {}) {
+ let { isReadOnly: t } = e, [n, r] = sE(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, F.useState)(n);
function a(e) {
t || r(e);
}
@@ -25009,26 +25009,26 @@ function oE(e = {}) {
};
}
// node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs
-function nse(e, t, n) {
- let r = oE({
+function ese(e, t, n) {
+ let r = cE({
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 } = ese.get(t);
+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = Qoe.get(t);
c = e.validationBehavior ?? c;
- let { realtimeValidation: l } = XT({
+ let { realtimeValidation: l } = QT({
...e,
value: r.isSelected,
name: void 0,
validationBehavior: "aria"
- }), u = (0, F.useRef)(JT), d = () => {
+ }), u = (0, F.useRef)(XT), 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 = tE({
+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = rE({
...e,
isReadOnly: e.isReadOnly || t.isReadOnly,
isDisabled: e.isDisabled || t.isDisabled,
@@ -25036,7 +25036,7 @@ function nse(e, t, n) {
form: e.form || a,
isRequired: e.isRequired ?? t.isRequired,
validationBehavior: c,
- [YT]: {
+ [ZT]: {
realtimeValidation: f,
displayValidation: p,
resetValidation: t.resetValidation,
@@ -25059,10 +25059,10 @@ function nse(e, t, n) {
};
}
// node_modules/react-stately/dist/private/utils/number.mjs
-function sE(e, t = -Infinity, n = Infinity) {
+function lE(e, t = -Infinity, n = Infinity) {
return Math.min(Math.max(e, t), n);
}
-function cE(e, t) {
+function uE(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 cE(e, t) {
}
return n;
}
-function lE(e, t, n, r) {
+function dE(e, t, n, r) {
t = Number(t), n = Number(n);
- 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;
+ 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;
}
// node_modules/@internationalized/number/dist/private/NumberFormatter.mjs
-var uE = /* @__PURE__ */ new Map(), dE = !1;
+var fE = /* @__PURE__ */ new Map(), pE = !1;
try {
- dE = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";
+ pE = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";
} catch {}
-var rse = class {
+var tse = class {
constructor(e, t = {}) {
- this.numberFormatter = ise(e, t), this.options = t;
+ this.numberFormatter = nse(e, t), this.options = t;
}
format(e) {
let t = "";
- return t = !dE && this.options.signDisplay != null ? ase(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;
+ return t = !pE && this.options.signDisplay != null ? rse(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;
}
formatToParts(e) {
return this.numberFormatter.formatToParts(e);
@@ -25123,21 +25123,21 @@ var rse = class {
}
resolvedOptions() {
let e = this.numberFormatter.resolvedOptions();
- return !dE && this.options.signDisplay != null && (e = {
+ return !pE && this.options.signDisplay != null && (e = {
...e,
signDisplay: this.options.signDisplay
}), e;
}
};
-function ise(e, t = {}) {
+function nse(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 (uE.has(r)) return uE.get(r);
+ if (fE.has(r)) return fE.get(r);
let i = new Intl.NumberFormat(e, t);
- return uE.set(r, i), i;
+ return fE.set(r, i), i;
}
-function ase(e, t, n) {
+function rse(e, t, n) {
if (t === "auto") return e.format(n);
if (t === "never") return e.format(Math.abs(n));
{
@@ -25150,12 +25150,12 @@ function ase(e, t, n) {
}
}
// node_modules/react-aria/dist/private/interactions/useMove.mjs
-function fE(e) {
+function mE(e) {
let { onMoveStart: t, onMove: n, onMoveEnd: r } = e, i = (0, F.useRef)({
didMove: !1,
lastPosition: null,
id: null
- }), { addGlobalListener: a, removeGlobalListener: o } = nT(), s = jw((0, F.useCallback)((e, r, a, o) => {
+ }), { addGlobalListener: a, removeGlobalListener: o } = iT(), s = Nw((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 fE(e) {
t,
n,
i
- ])), c = jw((0, F.useCallback)((e, t) => {
- Qw(), i.current.didMove && r?.({
+ ])), c = Nw((0, F.useCallback)((e, t) => {
+ eT(), i.current.didMove && r?.({
type: "moveend",
pointerType: t,
shiftKey: e.shiftKey,
@@ -25189,7 +25189,7 @@ function fE(e) {
}, [r, i]));
return { moveProps: (0, F.useMemo)(() => {
let e = {}, t = () => {
- Zw(), i.current.didMove = !1;
+ $w(), i.current.didMove = !1;
};
{
let n = (e) => {
@@ -25204,7 +25204,7 @@ function fE(e) {
if (e.pointerId === i.current.id) {
let t = e.pointerType || "mouse";
c(e, t), i.current.id = null;
- let a = OS(G(e));
+ let a = AS(G(e));
o(a, "pointermove", n, !1), o(a, "pointerup", r, !1), o(a, "pointercancel", r, !1);
}
};
@@ -25214,7 +25214,7 @@ function fE(e) {
pageX: e.pageX,
pageY: e.pageY
}, i.current.id = e.pointerId;
- let o = OS(G(e));
+ let o = AS(G(e));
a(o, "pointermove", n, !1), a(o, "pointerup", r, !1), a(o, "pointercancel", r, !1);
}
};
@@ -25247,7 +25247,7 @@ function fE(e) {
]) };
}
// node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs
-var pE = {
+var hE = {
border: 0,
clip: "rect(0 0 0 0)",
clipPath: "inset(50%)",
@@ -25259,37 +25259,37 @@ var pE = {
width: "1px",
whiteSpace: "nowrap"
};
-function mE(e = {}) {
- let { style: t, isFocusable: n } = e, [r, i] = (0, F.useState)(!1), { focusWithinProps: a } = iE({
+function gE(e = {}) {
+ let { style: t, isFocusable: n } = e, [r, i] = (0, F.useState)(!1), { focusWithinProps: a } = oE({
isDisabled: !n,
onFocusWithinChange: (e) => i(e)
}), o = (0, F.useMemo)(() => r ? t : t ? {
- ...pE,
+ ...hE,
...t
- } : pE, [r]);
+ } : hE, [r]);
return { visuallyHiddenProps: {
...a,
style: o
} };
}
-function hE(e) {
- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = mE(e);
+function _E(e) {
+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = gE(e);
return /*#__PURE__*/ F.createElement(n, K(a, o), t);
}
// node_modules/react-aria/dist/private/textfield/useTextField.mjs
-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({
+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({
...e,
value: c
- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = rE({
+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = aE({
...e,
isInvalid: f,
errorMessage: e.errorMessage || p
- }), y = qw(e, { labelable: !0 }), b = {
+ }), y = Yw(e, { labelable: !0 }), b = {
type: o,
pattern: e.pattern
}, [x] = (0, F.useState)(c);
- return UT(t, e.defaultValue ?? x, l), WT(e, d, t), {
+ return GT(t, e.defaultValue ?? x, l), KT(e, d, t), {
labelProps: h,
inputProps: K(y, n === "input" ? b : void 0, {
disabled: r,
@@ -25335,26 +25335,26 @@ function ose(e, t) {
};
}
// node_modules/react-aria/dist/private/i18n/useNumberFormatter.mjs
-function sse(e = {}) {
- let { locale: t } = zw();
- return (0, F.useMemo)(() => new rse(t, e), [t, e]);
+function ase(e = {}) {
+ let { locale: t } = Vw();
+ return (0, F.useMemo)(() => new tse(t, e), [t, e]);
}
// node_modules/react-aria/dist/private/slider/utils.mjs
-var gE = /* @__PURE__ */ new WeakMap();
-function _E(e, t) {
- let n = gE.get(e);
+var vE = /* @__PURE__ */ new WeakMap();
+function yE(e, t) {
+ let n = vE.get(e);
if (!n) throw Error("Unknown slider state");
return `${n.id}-${t}`;
}
// node_modules/react-aria/dist/private/slider/useSlider.mjs
-function cse(e, t, n) {
- let { labelProps: r, fieldProps: i } = nE(e), a = e.orientation === "vertical";
- gE.set(t, {
+function ose(e, t, n) {
+ let { labelProps: r, fieldProps: i } = iE(e), a = e.orientation === "vertical";
+ vE.set(t, {
id: r.id ?? i.id,
"aria-describedby": e["aria-describedby"],
"aria-details": e["aria-details"]
});
- 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({
+ 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({
onMoveStart() {
d.current = null;
},
@@ -25364,7 +25364,7 @@ function cse(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 = sE(d.current / s, 0, 1);
+ let e = lE(d.current / s, 0, 1);
t.setThumbPercent(l.current, e);
}
},
@@ -25388,7 +25388,7 @@ function cse(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(_E(t, 0))?.focus(), OC("keyboard");
+ document.getElementById(yE(t, 0))?.focus(), AC("keyboard");
}), {
labelProps: r,
groupProps: {
@@ -25411,26 +25411,26 @@ function cse(e, t, n) {
}
}, f),
outputProps: {
- htmlFor: t.values.map((e, n) => _E(t, n)).join(" "),
+ htmlFor: t.values.map((e, n) => yE(t, n)).join(" "),
"aria-live": "off"
}
};
}
// node_modules/react-aria/dist/private/slider/useSliderThumb.mjs
-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({
+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({
...e,
- id: _E(t, n),
+ id: yE(t, n),
"aria-labelledby": `${g.id} ${e["aria-labelledby"] ?? ""}`.trim()
}), y = t.values[n], b = (0, F.useCallback)(() => {
- s.current && ES(s.current);
+ s.current && OS(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 } = $C({
+ }, { keyboardProps: T } = tw({
shortcuts: {
PageUp: () => w(() => {
t.incrementThumb(n, t.pageSize);
@@ -25446,7 +25446,7 @@ function lse(e, t) {
})
},
allowRepeats: !0
- }), { moveProps: E } = fE({
+ }), { moveProps: E } = mE({
onMoveStart() {
C.current = null, t.setThumbDragging(n, !0);
},
@@ -25457,7 +25457,7 @@ function lse(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, sE(C.current / g, 0, 1));
+ (f || S) && (t = -t), C.current += t, c(n, lE(C.current / g, 0, 1));
}
},
onMoveEnd() {
@@ -25465,7 +25465,7 @@ function lse(e, t) {
}
});
t.setThumbEditable(n, !d);
- let { focusableProps: D } = rw(K(e, {
+ let { focusableProps: D } = aw(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 lse(e, t) {
k(e.changedTouches[0].identifier);
}
});
- return UT(s, t.defaultValues[n], (e) => {
+ return GT(s, t.defaultValues[n], (e) => {
t.setThumbValue(n, e);
}), {
inputProps: K(D, v, {
@@ -25525,42 +25525,42 @@ function lse(e, t) {
};
}
// node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs
-var use = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
-function vE(e) {
+var cse = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
+function bE(e) {
return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;
}
-var yE = /* @__PURE__ */ new WeakMap(), bE = [];
-function xE(e, t) {
- let n = OS(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) => {
+var xE = /* @__PURE__ */ new WeakMap(), SE = [];
+function CE(e, t) {
+ let n = AS(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) => {
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 (NS()) {
+ if (FS()) {
let t = i.getRootNode();
for (let n of e) {
let e = n.getRootNode();
- for (; AS(e) && e !== t;) u.add(e), e = e.host.getRootNode();
+ for (; MS(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 (PS(e, t)) return NodeFilter.FILTER_SKIP;
+ for (let t of o) if (IS(e, t)) return NodeFilter.FILTER_SKIP;
return NodeFilter.FILTER_ACCEPT;
- }, n = pT(DS(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
+ }, n = hT(kS(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 = yE.get(e) ?? 0;
- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), yE.set(e, t + 1));
+ let t = xE.get(e) ?? 0;
+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), xE.set(e, t + 1));
};
- bE.length && bE[bE.length - 1].disconnect(), d(i);
+ SE.length && SE[SE.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) => PS(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 (NS()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => IS(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 (FS()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -25573,11 +25573,11 @@ function xE(e, t) {
subtree: !0
});
let m = /* @__PURE__ */ new Set();
- if (NS()) for (let e of u) {
+ if (FS()) 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) => PS(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 (NS()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => IS(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 (FS()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -25603,56 +25603,56 @@ function xE(e, t) {
p.disconnect();
}
};
- return bE.push(h), () => {
- if (p.disconnect(), NS()) for (let e of m) e.disconnect();
+ return SE.push(h), () => {
+ if (p.disconnect(), FS()) for (let e of m) e.disconnect();
for (let e of s) {
- let t = yE.get(e);
- t != null && (t === 1 ? (l(e, !1), yE.delete(e)) : yE.set(e, t - 1));
+ let t = xE.get(e);
+ t != null && (t === 1 ? (l(e, !1), xE.delete(e)) : xE.set(e, t - 1));
}
- h === bE[bE.length - 1] ? (bE.pop(), bE.length && bE[bE.length - 1].observe()) : bE.splice(bE.indexOf(h), 1);
+ h === SE[SE.length - 1] ? (SE.pop(), SE.length && SE[SE.length - 1].observe()) : SE.splice(SE.indexOf(h), 1);
};
}
-function SE(e) {
- let t = bE[bE.length - 1];
+function wE(e) {
+ let t = SE[SE.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 CE = /* @__PURE__ */ new WeakMap();
-function dse(e) {
+var TE = /* @__PURE__ */ new WeakMap();
+function lse(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function fse(e, t) {
- let n = CE.get(e);
+function use(e, t) {
+ let n = TE.get(e);
if (!n) throw Error("Unknown list");
- return `${n.id}-option-${dse(t)}`;
+ return `${n.id}-option-${lse(t)}`;
}
// node_modules/react-aria/dist/private/selection/utils.mjs
-function wE(e) {
- return fae() ? e.altKey : e.ctrlKey;
+function EE(e) {
+ return uae() ? e.altKey : e.ctrlKey;
}
-function TE(e, t) {
+function DE(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 EE = /* @__PURE__ */ new WeakMap();
-function pse(e) {
- let t = UC();
- return EE.set(e, t), t;
+var OE = /* @__PURE__ */ new WeakMap();
+function dse(e) {
+ let t = GC();
+ return OE.set(e, t), t;
}
-function mse(e) {
- return EE.get(e);
+function fse(e) {
+ return OE.get(e);
}
// node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs
-var DE = class {
+var kE = class {
constructor(e) {
this.ref = e;
}
getItemRect(e) {
let t = this.ref.current;
if (!t) return null;
- let n = e == null ? null : TE(this.ref, e);
+ let n = e == null ? null : DE(this.ref, e);
if (!n) return null;
let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();
return {
@@ -25678,12 +25678,12 @@ var DE = class {
height: e?.clientHeight ?? 0
};
}
-}, OE = class {
+}, AE = 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 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.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.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
}
isDisabled(e) {
@@ -25723,14 +25723,14 @@ var DE = class {
return e.x === t.x || e.y !== t.y;
}
isReversed(e) {
- let t = this.getNextKey(e), n = TE(this.ref, e);
+ let t = this.getNextKey(e), n = DE(this.ref, e);
if (t != null) {
- let e = TE(this.ref, t);
+ let e = DE(this.ref, t);
return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;
}
let r = this.getPreviousKey(e);
if (r != null) {
- let e = TE(this.ref, r);
+ let e = DE(this.ref, r);
return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;
}
return !1;
@@ -25764,7 +25764,7 @@ var DE = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !IT(t)) return this.getFirstKey();
+ if (t && !RT(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 DE = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !IT(t)) return this.getLastKey();
+ if (t && !RT(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 DE = class {
}
return null;
}
-}, kE = {};
-kE = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
+}, jE = {};
+jE = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
// node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs
-var AE = {};
-AE = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
+var ME = {};
+ME = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
// node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs
-var jE = {};
-jE = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
+var NE = {};
+NE = { 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 ME = {};
-ME = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
+var PE = {};
+PE = { 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 NE = {};
-NE = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
+var FE = {};
+FE = { 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 PE = {};
-PE = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
+var IE = {};
+IE = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
// node_modules/react-aria/dist/private/intl/menu/en-US.mjs
-var FE = {};
-FE = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
+var LE = {};
+LE = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
// node_modules/react-aria/dist/private/intl/menu/es-ES.mjs
-var IE = {};
-IE = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
+var RE = {};
+RE = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
// node_modules/react-aria/dist/private/intl/menu/et-EE.mjs
-var LE = {};
-LE = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
+var zE = {};
+zE = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
// node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs
-var RE = {};
-RE = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
+var BE = {};
+BE = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
// node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs
-var zE = {};
-zE = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
+var VE = {};
+VE = { 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 BE = {};
-BE = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
+var HE = {};
+HE = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
// node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs
-var VE = {};
-VE = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
+var UE = {};
+UE = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
// node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs
-var HE = {};
-HE = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
+var WE = {};
+WE = { 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 UE = {};
-UE = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
+var GE = {};
+GE = { 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 WE = {};
-WE = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
+var KE = {};
+KE = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
// node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs
-var GE = {};
-GE = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
+var qE = {};
+qE = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
// node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs
-var KE = {};
-KE = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
+var JE = {};
+JE = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
// node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs
-var qE = {};
-qE = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
+var YE = {};
+YE = { 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 JE = {};
-JE = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
+var XE = {};
+XE = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
// node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs
-var YE = {};
-YE = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
+var ZE = {};
+ZE = { 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 XE = {};
-XE = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
+var QE = {};
+QE = { 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 ZE = {};
-ZE = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
+var $E = {};
+$E = { 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 QE = {};
-QE = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
+var eD = {};
+eD = { 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 $E = {};
-$E = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
+var tD = {};
+tD = { 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 eD = {};
-eD = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
+var nD = {};
+nD = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
// node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs
-var tD = {};
-tD = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
+var rD = {};
+rD = { 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 nD = {};
-nD = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
+var iD = {};
+iD = { 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 rD = {};
-rD = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
+var aD = {};
+aD = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
// node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs
-var iD = {};
-iD = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
+var oD = {};
+oD = { 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 aD = {};
-aD = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
+var sD = {};
+sD = { 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 oD = {};
-oD = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
+var cD = {};
+cD = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
// node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs
-var sD = {};
-sD = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
+var lD = {};
+lD = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
// node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs
-var cD = {};
-cD = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
+var uD = {};
+uD = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
// node_modules/react-aria/dist/private/menu/intlStrings.mjs
-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
+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
};
// node_modules/react-aria/dist/private/interactions/useLongPress.mjs
-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({
+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({
isDisabled: t,
onPressStart(e) {
if (e.continuePropagation(), d(e)) {
@@ -25952,12 +25952,12 @@ function uD(e) {
...e,
type: "longpressstart"
}), c.current = setTimeout(() => {
- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), DS(e.target).activeElement !== e.target && ES(e.target), a && a({
+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), kS(e.target).activeElement !== e.target && OS(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 = OS(e.target);
+ let t = AS(e.target);
l(t, "pointerup", () => {
setTimeout(() => {
u();
@@ -25972,11 +25972,11 @@ function uD(e) {
});
}
});
- return { longPressProps: K(f, HT(a && !t ? s : void 0)) };
+ return { longPressProps: K(f, WT(a && !t ? s : void 0)) };
}
// node_modules/react-aria/dist/private/interactions/useContextMenu.mjs
-function gse(e) {
- let { onContextMenu: t } = e, n = (0, F.useRef)(!1), { longPressProps: r } = uD({
+function mse(e) {
+ let { onContextMenu: t } = e, n = (0, F.useRef)(!1), { longPressProps: r } = fD({
onLongPressStart() {
n.current = !1;
},
@@ -25988,7 +25988,7 @@ function gse(e) {
});
}
});
- return t ? { contextMenuProps: K($S() ? r : {}, {
+ return t ? { contextMenuProps: K(tC() ? r : {}, {
onContextMenu(e) {
e.stopPropagation(), e.preventDefault(), n.current = !0;
let r = e.currentTarget.getBoundingClientRect();
@@ -25999,7 +25999,7 @@ function gse(e) {
});
},
onKeyDown(e) {
- if (ZS() && e.ctrlKey && e.key === "Enter") {
+ if ($S() && e.ctrlKey && e.key === "Enter") {
n.current = !1;
let r = e.currentTarget;
e.stopPropagation(), setTimeout(() => {
@@ -26018,13 +26018,13 @@ function gse(e) {
}) } : { contextMenuProps: {} };
}
// node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs
-var dD = /* @__PURE__ */ new WeakMap();
-function _se(e) {
+var pD = /* @__PURE__ */ new WeakMap();
+function hse(e) {
let { triggerRef: t, isOpen: n, onClose: r } = e;
- (0, F.useEffect)(() => !n || r === null ? void 0 : jS(IS(t.current), "scroll", (e) => {
+ (0, F.useEffect)(() => !n || r === null ? void 0 : NS(RS(t.current), "scroll", (e) => {
let n = G(e);
- if (!t.current || n instanceof Node && !PS(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
- let i = r || dD.get(t.current);
+ if (!t.current || n instanceof Node && !IS(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
+ let i = r || pD.get(t.current);
i && i();
}, !0), [
n,
@@ -26033,14 +26033,14 @@ function _se(e) {
]);
}
// node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs
-function vse(e, t, n) {
+function gse(e, t, n) {
let { type: r } = e, { isOpen: i } = t;
(0, F.useEffect)(() => {
- n && n.current && dD.set(n.current, t.close);
+ n && n.current && pD.set(n.current, t.close);
});
let a;
r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");
- let o = UC();
+ let o = GC();
return {
triggerProps: {
"aria-haspopup": a,
@@ -26052,14 +26052,14 @@ function vse(e, t, n) {
};
}
// node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs
-function yse(e) {
+function _se(e) {
return e && e.__esModule ? e.default : e;
}
-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") => {
+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") => {
if (!e || n.isDefaultPrevented()) return !1;
t.toggle(r);
- }, { keyboardProps: u } = $C({
+ }, { keyboardProps: u } = tw({
isDisabled: i,
shortcuts: {
Enter: (e) => l(a !== "longPress", e, "first"),
@@ -26071,7 +26071,7 @@ function fD(e, t, n) {
"Alt+ArrowDown": (e) => l(!0, e, "first"),
"Alt+ArrowUp": (e) => l(!0, e, "last")
}
- }), d = Gw(yse(lD), "@react-aria/menu"), { longPressProps: f } = uD({
+ }), d = qw(_se(dD), "@react-aria/menu"), { longPressProps: f } = fD({
isDisabled: i || a !== "longPress",
accessibilityDescription: d.format("longPressMessage"),
onLongPressStart() {
@@ -26083,14 +26083,14 @@ function fD(e, t, n) {
}), p = {
preventFocusOnPress: !0,
onPressStart(e) {
- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (ES(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (OS(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
},
onPress(e) {
- e.pointerType === "touch" && !i && (ES(e.target), t.toggle());
+ e.pointerType === "touch" && !i && (OS(e.target), t.toggle());
}
};
delete s.onPress;
- let { contextMenuProps: m } = gse({ onContextMenu(e) {
+ let { contextMenuProps: m } = mse({ onContextMenu(e) {
let n = e.target.getBoundingClientRect();
t.setPoint({
x: n.x + e.x,
@@ -26134,8 +26134,8 @@ function fD(e, t, n) {
};
}
// node_modules/react-aria/dist/private/selection/useTypeSelect.mjs
-var pD = 1e3;
-function mD(e) {
+var hD = 1e3;
+function gD(e) {
let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, F.useRef)({
search: "",
timeout: void 0
@@ -26154,12 +26154,12 @@ function mD(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, pD);
+ }, hD);
}
} : void 0,
onKeyDown: t.getKeyForSearch ? (e) => {
- let a = bse(e.key);
- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !PS(e.currentTarget, G(e)) || i.current.search.length === 0 && a === " ")) {
+ let a = vse(e.key);
+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !IS(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 mD(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, pD);
+ }, hD);
}
} : void 0
} };
}
-function bse(e) {
+function vse(e) {
return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";
}
// node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs
-function hD(e, t) {
+function _D(e, t) {
let n = (0, F.useRef)(!0), r = (0, F.useRef)(null);
- US(() => (n.current = !0, () => {
+ GS(() => (n.current = !0, () => {
n.current = !1;
- }), []), US(() => {
+ }), []), GS(() => {
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 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(), _ = iC(), v = (e, n, i) => {
+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(), _ = oC(), v = (e, n, i) => {
if (n != null) {
- if (t.isLink(n) && m === "selection" && l && !wE(e)) {
+ if (t.isLink(n) && m === "selection" && l && !EE(e)) {
(0, Lt.flushSync)(() => {
t.setFocusedKey(n, i);
});
- let a = TE(r, n), o = t.getItemProps(n);
+ let a = DE(r, n), o = t.getItemProps(n);
if (a) {
_.open(a, e, o.href, o.routerOptions);
return;
@@ -26207,7 +26207,7 @@ function gD(e) {
t.extendSelection(n);
return;
}
- if (l && !wE(e)) {
+ if (l && !EE(e)) {
t.replaceSelection(n);
return;
}
@@ -26234,9 +26234,9 @@ function gD(e) {
}, x = (e) => {
if (n.getFirstKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getFirstKey(t.focusedKey, kw(e));
+ let r = n.getFirstKey(t.focusedKey, jw(e));
if (t.setFocusedKey(r), r != null) {
- if (kw(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (jw(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -26268,9 +26268,9 @@ function gD(e) {
}, w = (e) => {
if (n.getLastKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getLastKey(t.focusedKey, kw(e));
+ let r = n.getLastKey(t.focusedKey, jw(e));
if (t.setFocusedKey(r), r != null) {
- if (kw(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (jw(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -26301,12 +26301,12 @@ function gD(e) {
else return !1;
}, k = () => {
if (!f && r.current) {
- let e = kT(r.current, { tabbable: !0 }), t, n;
+ let e = jT(r.current, { tabbable: !0 }), t, n;
do
n = e.lastChild(), n && (t = n);
while (n);
- let i = FS();
- t && (!LS(t) || i && !VS(i)) && ES(t);
+ let i = LS();
+ t && (!zS(t) || i && !US(i)) && OS(t);
}
return {
shouldContinuePropagation: !0,
@@ -26316,11 +26316,11 @@ function gD(e) {
shouldContinuePropagation: !0,
shouldPreventDefault: !1
}), j = (e, t) => ({
- [ZS() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
+ [$S() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
[e + "+Shift"]: t,
- [ZS() ? e + "+Alt" : e + "+Control"]: t,
+ [$S() ? e + "+Alt" : e + "+Control"]: t,
[e]: t
- }), { keyboardProps: M } = $C({
+ }), { keyboardProps: M } = tw({
shortcuts: {
...j("ArrowDown", y),
...j("ArrowUp", b),
@@ -26330,7 +26330,7 @@ function gD(e) {
...j("PageUp", E)
},
allowRepeats: !0
- }), { keyboardProps: ee } = $C({ shortcuts: {
+ }), { keyboardProps: ee } = tw({ shortcuts: {
...j("Home", x),
...j("End", w),
"Mod+A": D,
@@ -26341,7 +26341,7 @@ function gD(e) {
top: 0,
left: 0
});
- Mw(p, "scroll", () => {
+ Pw(p, "scroll", () => {
N.current = {
top: p.current?.scrollTop ?? 0,
left: p.current?.scrollLeft ?? 0
@@ -26349,11 +26349,11 @@ function gD(e) {
});
let te = (e) => {
if (t.isFocused) {
- PS(e.currentTarget, G(e)) || t.setFocused(!1);
+ IS(e.currentTarget, G(e)) || t.setFocused(!1);
return;
}
- if (!PS(e.currentTarget, G(e))) return;
- let i = DC();
+ if (!IS(e.currentTarget, G(e))) return;
+ let i = kC();
t.setFocused(!0);
let a = (e) => {
e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));
@@ -26364,27 +26364,27 @@ function gD(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 = TE(r, t.focusedKey);
- e instanceof HTMLElement && (!LS(e) && !d && ES(e), (i === "keyboard" || h && i === "virtual") && BT(e, { containingElement: r.current }));
+ let e = DE(r, t.focusedKey);
+ e instanceof HTMLElement && (!zS(e) && !d && OS(e), (i === "keyboard" || h && i === "virtual") && HT(e, { containingElement: r.current }));
}
}, P = (e) => {
- PS(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
+ IS(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
}, ne = (0, F.useRef)(!1);
- Mw(r, ioe, d ? (e) => {
+ Pw(r, noe, d ? (e) => {
let { detail: n } = e;
e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (ne.current = !0);
} : void 0);
let re = n.getFirstKey?.() ?? null;
- hD(() => {
+ _D(() => {
if (ne.current) {
if (re == null) {
- let e = FS();
- vw(r.current), yw(e, null), t.collection.size > 0 && (ne.current = !1);
+ let e = LS();
+ bw(r.current), xw(e, null), t.collection.size > 0 && (ne.current = !1);
} else t.setFocusedKey(re), ne.current = !1;
}
- }, [re, t.collection.size]), hD(() => {
+ }, [re, t.collection.size]), _D(() => {
t.collection.size > 0 && (ne.current = !1);
- }, [t.focusedKey]), Mw(r, roe, d ? (e) => {
+ }, [t.focusedKey]), Pw(r, toe, 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 gD(e) {
break;
}
}
- 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);
+ 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);
}
});
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 = DC(), n = TE(r, t.focusedKey);
+ let e = kC(), n = DE(r, t.focusedKey);
if (!(n instanceof HTMLElement)) return;
(e === "keyboard" || ie.current) && (oe.current && cancelAnimationFrame(oe.current), oe.current = requestAnimationFrame(() => {
- p.current && (zT(p.current, n), e !== "virtual" && BT(n, { containingElement: r.current }));
+ p.current && (VT(p.current, n), e !== "virtual" && HT(n, { containingElement: r.current }));
}));
}
- !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && RC(r.current), ae.current = t.focusedKey, ie.current = !1;
+ !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && BC(r.current), ae.current = t.focusedKey, ie.current = !1;
}), (0, F.useEffect)(() => () => {
oe.current && cancelAnimationFrame(oe.current);
- }, []), Mw(r, "react-aria-focus-scope-restore", (e) => {
+ }, []), Pw(r, "react-aria-focus-scope-restore", (e) => {
e.preventDefault(), t.setFocused(!0);
});
let se = {
@@ -26424,27 +26424,27 @@ function gD(e) {
onMouseDown(e) {
p.current === G(e) && e.preventDefault();
}
- }, { typeSelectProps: ce } = mD({
+ }, { typeSelectProps: ce } = gD({
keyboardDelegate: n,
selectionManager: t
});
u || (se = K(ce, se));
let le;
d || (le = t.focusedKey == null ? 0 : -1);
- let ue = pse(t.collection);
+ let ue = dse(t.collection);
return { collectionProps: K(se, {
tabIndex: le,
"data-collection": ue
}) };
}
// node_modules/react-stately/dist/private/collections/getChildNodes.mjs
-function _D(e, t) {
+function yD(e, t) {
return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;
}
-function vD(e) {
- return yD(e, 0);
+function bD(e) {
+ return xD(e, 0);
}
-function yD(e, t) {
+function xD(e, t) {
if (t < 0) return;
let n = 0;
for (let r of e) {
@@ -26452,106 +26452,106 @@ function yD(e, t) {
n++;
}
}
-function bD(e) {
+function SD(e) {
let t;
for (let n of e) t = n;
return t;
}
-function xD(e, t, n) {
+function CD(e, t, n) {
if (t.parentKey === n.parentKey) return t.index - n.index;
- let r = [...SD(e, t), t], i = [...SD(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
+ let r = [...wD(e, t), t], i = [...wD(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 SD(e, t) {
+function wD(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 CD = /* @__PURE__ */ new WeakMap();
-function wD(e) {
- let t = CD.get(e);
+var TD = /* @__PURE__ */ new WeakMap();
+function ED(e) {
+ let t = TD.get(e);
if (t != null) return t;
let n = 0, r = (t) => {
- for (let i of t) i.type === "section" ? r(_D(i, e)) : i.type === "item" && n++;
+ for (let i of t) i.type === "section" ? r(yD(i, e)) : i.type === "item" && n++;
};
- return r(e), CD.set(e, n), n;
+ return r(e), TD.set(e, n), n;
}
// node_modules/react-aria/dist/private/i18n/useCollator.mjs
-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);
+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);
let r = new Intl.Collator(t, e);
- return TD.set(n, r), r;
+ return DD.set(n, r), r;
}
// node_modules/react-aria/dist/private/interactions/PressResponder.mjs
-var xse = /*#__PURE__*/ F.forwardRef(({ children: e, ...t }, n) => {
- let r = (0, F.useRef)(!1), i = (0, F.useContext)(tT), a = K(i || {}, {
+var yse = /*#__PURE__*/ F.forwardRef(({ children: e, ...t }, n) => {
+ let r = (0, F.useRef)(!1), i = (0, F.useContext)(rT), a = K(i || {}, {
...t,
register() {
r.current = !0, i && i.register();
}
});
- return a.ref = ew(n || i?.ref), tw(i, a.ref), (0, F.useEffect)(() => {
+ return a.ref = nw(n || i?.ref), rw(i, a.ref), (0, F.useEffect)(() => {
r.current ||= !0;
- }, []), /*#__PURE__*/ F.createElement(tT.Provider, { value: a }, e);
+ }, []), /*#__PURE__*/ F.createElement(rT.Provider, { value: a }, e);
});
-function Sse({ children: e }) {
+function bse({ children: e }) {
let t = (0, F.useMemo)(() => ({ register: () => {} }), []);
- return /*#__PURE__*/ F.createElement(tT.Provider, { value: t }, e);
+ return /*#__PURE__*/ F.createElement(rT.Provider, { value: t }, e);
}
// node_modules/react-aria/dist/private/overlays/PortalProvider.mjs
-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);
+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);
}
-function kD() {
- return (0, F.useContext)(DD) ?? {};
+function jD() {
+ return (0, F.useContext)(kD) ?? {};
}
// node_modules/react-aria/dist/private/overlays/Overlay.mjs
-var AD = /*#__PURE__*/ F.createContext(null);
-function jD(e) {
- let t = dC(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => ({
+var MD = /*#__PURE__*/ F.createContext(null);
+function ND(e) {
+ let t = pC(), { 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 } = kD();
+ }), [i, a]), { getContainer: s } = jD();
if (!e.portalContainer && s && (n = s()), !n) return null;
let c = e.children;
- return e.disableFocusManagement || (c = /*#__PURE__*/ F.createElement(_T, {
+ return e.disableFocusManagement || (c = /*#__PURE__*/ F.createElement(yT, {
restoreFocus: !0,
contain: (e.shouldContainFocus || i) && !r
- }, 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);
+ }, 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);
}
-function MD() {
- let e = (0, F.useContext)(AD)?.setContain;
- US(() => {
+function PD() {
+ let e = (0, F.useContext)(MD)?.setContain;
+ GS(() => {
e?.(!0);
}, [e]);
}
// node_modules/react-aria/dist/private/dialog/useDialog.mjs
-function Cse(e, t) {
- let { role: n = "dialog", isEntering: r } = e, i = WC();
+function xse(e, t) {
+ let { role: n = "dialog", isEntering: r } = e, i = KC();
i = e["aria-label"] ? void 0 : i;
- let a = WC();
+ let a = KC();
a = n === "alertdialog" && !e["aria-describedby"] ? a : void 0;
let o = (0, F.useRef)(!1);
(0, F.useEffect)(() => {
- if (!r && t.current && !LS(t.current)) {
- RC(t.current);
+ if (!r && t.current && !zS(t.current)) {
+ BC(t.current);
let e = setTimeout(() => {
- (FS() === t.current || FS() === document.body) && (o.current = !0, t.current && (t.current.blur(), RC(t.current)), o.current = !1);
+ (LS() === t.current || LS() === document.body) && (o.current = !0, t.current && (t.current.blur(), BC(t.current)), o.current = !1);
}, 500);
return () => {
clearTimeout(e);
};
}
- }, [t, r]), MD(), (0, F.useRef)(!1), (0, F.useEffect)(() => {});
+ }, [t, r]), PD(), (0, F.useRef)(!1), (0, F.useEffect)(() => {});
let s = e["aria-describedby"] ?? a;
return {
dialogProps: {
- ...qw(e, { labelable: !0 }),
+ ...Yw(e, { labelable: !0 }),
role: n,
tabIndex: -1,
"aria-labelledby": e["aria-labelledby"] ?? i,
@@ -26565,23 +26565,23 @@ function Cse(e, t) {
};
}
// node_modules/react-aria/dist/private/focus/useFocusRing.mjs
-function ND(e = {}) {
+function FD(e = {}) {
let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, F.useRef)({
isFocused: !1,
- isFocusVisible: t || EC()
+ isFocusVisible: t || OC()
}), [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 = EC(), o(e), l();
+ i.current.isFocused = e, i.current.isFocusVisible = OC(), o(e), l();
}, [l]);
- jC((e) => {
+ NC((e) => {
i.current.isFocusVisible = e, l();
}, [n, a], {
enabled: a,
isTextInput: n
});
- let { focusProps: d } = YC({
+ let { focusProps: d } = ZC({
isDisabled: r,
onFocusChange: u
- }), { focusWithinProps: f } = iE({
+ }), { focusWithinProps: f } = oE({
isDisabled: !r,
onFocusWithinChange: u
});
@@ -26592,41 +26592,41 @@ function ND(e = {}) {
};
}
// node_modules/react-aria/dist/private/i18n/useListFormatter.mjs
-function wse(e = {}) {
- let { locale: t } = zw();
+function Sse(e = {}) {
+ let { locale: t } = Vw();
return (0, F.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
}
// node_modules/react-aria/dist/private/interactions/useHover.mjs
-var PD = !1, FD = 0;
-function Tse() {
- PD = !0, setTimeout(() => {
- PD = !1;
+var ID = !1, LD = 0;
+function Cse() {
+ ID = !0, setTimeout(() => {
+ ID = !1;
}, 500);
}
-function ID(e) {
- e.pointerType === "touch" && Tse();
+function RD(e) {
+ e.pointerType === "touch" && Cse();
}
-function Ese() {
- let e = DS(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 wse() {
+ let e = kS(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 LD(e) {
+function zD(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)(Ese, []);
- let { addGlobalListener: c, removeAllGlobalListeners: l } = nT(), { hoverProps: u, triggerHoverEnd: d } = (0, F.useMemo)(() => {
+ (0, F.useEffect)(wse, []);
+ let { addGlobalListener: c, removeAllGlobalListeners: l } = iT(), { hoverProps: u, triggerHoverEnd: d } = (0, F.useMemo)(() => {
let e = (e, r) => {
- if (s.pointerType = r, i || r === "touch" || s.isHovered || !PS(e.currentTarget, G(e))) return;
+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !IS(e.currentTarget, G(e))) return;
s.isHovered = !0;
let l = e.currentTarget;
- s.target = l, c(DS(G(e)), "pointerover", (e) => {
- s.isHovered && s.target && !PS(s.target, G(e)) && a(e, e.pointerType);
+ s.target = l, c(kS(G(e)), "pointerover", (e) => {
+ s.isHovered && s.target && !IS(s.target, G(e)) && a(e, e.pointerType);
}, { capture: !0 }), t && t({
type: "hoverstart",
target: l,
@@ -26641,9 +26641,9 @@ function LD(e) {
}), n && n(!1), o(!1));
}, u = {};
return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {
- PD && t.pointerType === "mouse" || e(t, t.pointerType);
+ ID && t.pointerType === "mouse" || e(t, t.pointerType);
}, u.onPointerLeave = (e) => {
- !i && PS(e.currentTarget, G(e)) && a(e, e.pointerType);
+ !i && IS(e.currentTarget, G(e)) && a(e, e.pointerType);
}), {
hoverProps: u,
triggerHoverEnd: a
@@ -26665,22 +26665,22 @@ function LD(e) {
};
}
// node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs
-function Dse(e) {
+function Tse(e) {
let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, F.useRef)({
isPointerDown: !1,
ignoreEmulatedMouseEvents: !1
- }), o = jw((e) => {
- n && RD(e, t) && (i && i(e), a.current.isPointerDown = !0);
- }), s = jw((e) => {
+ }), o = Nw((e) => {
+ n && BD(e, t) && (i && i(e), a.current.isPointerDown = !0);
+ }), s = Nw((e) => {
n && n(e);
});
(0, F.useEffect)(() => {
let e = a.current;
if (r) return;
- let n = t.current, i = DS(n);
+ let n = t.current, i = kS(n);
if (typeof PointerEvent < "u") {
let n = (n) => {
- e.isPointerDown && RD(n, t) && s(n), e.isPointerDown = !1;
+ e.isPointerDown && BD(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 Dse(e) {
}
}, [t, r]);
}
-function RD(e, t) {
+function BD(e, t) {
if (e.button > 0) return !1;
let n = G(e);
if (n) {
let e = n.ownerDocument;
- if (!e || !PS(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
+ if (!e || !IS(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 zD = /* @__PURE__ */ new WeakMap();
-function BD(e, t) {
- let { id: n } = zD.get(e) ?? {};
+var VD = /* @__PURE__ */ new WeakMap();
+function HD(e, t) {
+ let { id: n } = VD.get(e) ?? {};
if (!n) throw Error("Unknown list");
- return `${n}-${Ose(t)}`;
+ return `${n}-${Ese(t)}`;
}
-function Ose(e) {
+function Ese(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
// node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs
-var VD = {};
-VD = {
+var UD = {};
+UD = {
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 @@ VD = {
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 HD = {};
-HD = {
+var WD = {};
+WD = {
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 @@ HD = {
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 UD = {};
-UD = {
+var GD = {};
+GD = {
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 @@ UD = {
selectedItem: (e) => `Vybr\xe1na polo\u{17E}ka ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/da-DK.mjs
-var WD = {};
-WD = {
+var KD = {};
+KD = {
deselectedItem: (e) => `${e.item} ikke valgt.`,
longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",
select: "Vælg",
@@ -26764,8 +26764,8 @@ WD = {
selectedItem: (e) => `${e.item} valgt.`
};
// node_modules/react-aria/dist/private/intl/grid/de-DE.mjs
-var GD = {};
-GD = {
+var qD = {};
+qD = {
deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,
longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",
select: "Auswählen",
@@ -26778,8 +26778,8 @@ GD = {
selectedItem: (e) => `${e.item} ausgew\xe4hlt.`
};
// node_modules/react-aria/dist/private/intl/grid/el-GR.mjs
-var KD = {};
-KD = {
+var JD = {};
+JD = {
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 @@ KD = {
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 qD = {};
-qD = {
+var YD = {};
+YD = {
deselectedItem: (e) => `${e.item} not selected.`,
select: "Select",
selectedCount: (e, t) => `${t.plural(e.count, {
@@ -26806,8 +26806,8 @@ qD = {
longPressToSelect: "Long press to enter selection mode."
};
// node_modules/react-aria/dist/private/intl/grid/es-ES.mjs
-var JD = {};
-JD = {
+var XD = {};
+XD = {
deselectedItem: (e) => `${e.item} no seleccionado.`,
longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",
select: "Seleccionar",
@@ -26820,8 +26820,8 @@ JD = {
selectedItem: (e) => `${e.item} seleccionado.`
};
// node_modules/react-aria/dist/private/intl/grid/et-EE.mjs
-var YD = {};
-YD = {
+var ZD = {};
+ZD = {
deselectedItem: (e) => `${e.item} pole valitud.`,
longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",
select: "Vali",
@@ -26834,8 +26834,8 @@ YD = {
selectedItem: (e) => `${e.item} valitud.`
};
// node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs
-var XD = {};
-XD = {
+var QD = {};
+QD = {
deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,
longPressToSelect: "Siirry valintatilaan painamalla pitkään.",
select: "Valitse",
@@ -26848,8 +26848,8 @@ XD = {
selectedItem: (e) => `${e.item} valittu.`
};
// node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs
-var ZD = {};
-ZD = {
+var $D = {};
+$D = {
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 @@ ZD = {
selectedItem: (e) => `${e.item} s\xe9lectionn\xe9.`
};
// node_modules/react-aria/dist/private/intl/grid/he-IL.mjs
-var QD = {};
-QD = {
+var eO = {};
+eO = {
deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,
longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",
select: "בחר",
@@ -26876,8 +26876,8 @@ QD = {
selectedItem: (e) => `${e.item} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`
};
// node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs
-var $D = {};
-$D = {
+var tO = {};
+tO = {
deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,
longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",
select: "Odaberite",
@@ -26890,8 +26890,8 @@ $D = {
selectedItem: (e) => `Stavka ${e.item} je odabrana.`
};
// node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs
-var eO = {};
-eO = {
+var nO = {};
+nO = {
deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,
longPressToSelect: "Nyomja hosszan a kijelöléshez.",
select: "Kijelölés",
@@ -26904,8 +26904,8 @@ eO = {
selectedItem: (e) => `${e.item} kijel\xf6lve.`
};
// node_modules/react-aria/dist/private/intl/grid/it-IT.mjs
-var tO = {};
-tO = {
+var rO = {};
+rO = {
deselectedItem: (e) => `${e.item} non selezionato.`,
longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",
select: "Seleziona",
@@ -26918,8 +26918,8 @@ tO = {
selectedItem: (e) => `${e.item} selezionato.`
};
// node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs
-var nO = {};
-nO = {
+var iO = {};
+iO = {
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 @@ nO = {
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 rO = {};
-rO = {
+var aO = {};
+aO = {
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 @@ rO = {
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 iO = {};
-iO = {
+var oO = {};
+oO = {
deselectedItem: (e) => `${e.item} nepasirinkta.`,
longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",
select: "Pasirinkti",
@@ -26960,8 +26960,8 @@ iO = {
selectedItem: (e) => `Pasirinkta: ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs
-var aO = {};
-aO = {
+var sO = {};
+sO = {
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 @@ aO = {
selectedItem: (e) => `Atlas\u{12B}ts vienums ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs
-var oO = {};
-oO = {
+var cO = {};
+cO = {
deselectedItem: (e) => `${e.item} er ikke valgt.`,
longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",
select: "Velg",
@@ -26988,8 +26988,8 @@ oO = {
selectedItem: (e) => `${e.item} er valgt.`
};
// node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs
-var sO = {};
-sO = {
+var lO = {};
+lO = {
deselectedItem: (e) => `${e.item} niet geselecteerd.`,
longPressToSelect: "Druk lang om de selectiemodus te openen.",
select: "Selecteren",
@@ -27002,8 +27002,8 @@ sO = {
selectedItem: (e) => `${e.item} geselecteerd.`
};
// node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs
-var cO = {};
-cO = {
+var uO = {};
+uO = {
deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,
longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",
select: "Zaznacz",
@@ -27016,8 +27016,8 @@ cO = {
selectedItem: (e) => `Zaznaczono ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs
-var lO = {};
-lO = {
+var dO = {};
+dO = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",
select: "Selecionar",
@@ -27030,8 +27030,8 @@ lO = {
selectedItem: (e) => `${e.item} selecionado.`
};
// node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs
-var uO = {};
-uO = {
+var fO = {};
+fO = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Prima continuamente para entrar no modo de seleção.",
select: "Selecionar",
@@ -27044,8 +27044,8 @@ uO = {
selectedItem: (e) => `${e.item} selecionado.`
};
// node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs
-var dO = {};
-dO = {
+var pO = {};
+pO = {
deselectedItem: (e) => `${e.item} neselectat.`,
longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",
select: "Selectare",
@@ -27058,8 +27058,8 @@ dO = {
selectedItem: (e) => `${e.item} selectat.`
};
// node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs
-var fO = {};
-fO = {
+var mO = {};
+mO = {
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 @@ fO = {
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 pO = {};
-pO = {
+var hO = {};
+hO = {
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 @@ pO = {
selectedItem: (e) => `Vybrat\xe9 polo\u{17E}ky: ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs
-var mO = {};
-mO = {
+var gO = {};
+gO = {
deselectedItem: (e) => `Element ${e.item} ni izbran.`,
longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",
select: "Izberite",
@@ -27100,8 +27100,8 @@ mO = {
selectedItem: (e) => `Element ${e.item} je izbran.`
};
// node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs
-var hO = {};
-hO = {
+var _O = {};
+_O = {
deselectedItem: (e) => `${e.item} nije izabrano.`,
longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",
select: "Izaberite",
@@ -27114,8 +27114,8 @@ hO = {
selectedItem: (e) => `${e.item} je izabrano.`
};
// node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs
-var gO = {};
-gO = {
+var vO = {};
+vO = {
deselectedItem: (e) => `${e.item} ej markerat.`,
longPressToSelect: "Tryck länge när du vill öppna väljarläge.",
select: "Markera",
@@ -27128,8 +27128,8 @@ gO = {
selectedItem: (e) => `${e.item} markerat.`
};
// node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs
-var _O = {};
-_O = {
+var yO = {};
+yO = {
deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,
longPressToSelect: "Seçim moduna girmek için uzun basın.",
select: "Seç",
@@ -27142,8 +27142,8 @@ _O = {
selectedItem: (e) => `${e.item} se\xe7ildi.`
};
// node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs
-var vO = {};
-vO = {
+var bO = {};
+bO = {
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 @@ vO = {
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 yO = {};
-yO = {
+var xO = {};
+xO = {
deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,
longPressToSelect: "长按以进入选择模式。",
select: "选择",
@@ -27170,8 +27170,8 @@ yO = {
selectedItem: (e) => `\u{5DF2}\u{9009}\u{62E9} ${e.item}\u{3002}`
};
// node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs
-var bO = {};
-bO = {
+var SO = {};
+SO = {
deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,
longPressToSelect: "長按以進入選擇模式。",
select: "選取",
@@ -27184,54 +27184,54 @@ bO = {
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 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
+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
};
// node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs
-function kse(e) {
+function Dse(e) {
return e && e.__esModule ? e.default : e;
}
-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)(() => {
+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)(() => {
if (!t.selectionManager.isFocused || i === a.current) {
a.current = i;
return;
}
- let e = CO(i, a.current), o = CO(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
+ let e = TO(i, a.current), o = TO(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 SO(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 && PT(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 && IT(c.join(" ")), a.current = i;
}, [
i,
t.selectionManager.selectedKeys,
@@ -27262,7 +27262,7 @@ function SO(e, t) {
n,
r
]);
- FT(() => {
+ LT(() => {
if (t.selectionManager.isFocused) o();
else {
let e = requestAnimationFrame(o);
@@ -27270,20 +27270,20 @@ function SO(e, t) {
}
}, [i, t.selectionManager.isFocused]);
}
-function CO(e, t) {
+function TO(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 wO(e, t) {
+function EO(e, t) {
let n = t?.isDisabled, [r, i] = (0, F.useState)(!1);
- return US(() => {
+ return GS(() => {
if (e?.current && !n) {
let t = () => {
if (e.current) {
- let t = kT(e.current, { tabbable: !0 });
+ let t = jT(e.current, { tabbable: !0 });
i(!!t.nextNode());
}
};
@@ -27301,12 +27301,12 @@ function wO(e, t) {
}), !n && r;
}
// node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs
-function Ase(e) {
+function Ose(e) {
return e && e.__esModule ? e.default : e;
}
-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)(() => {
+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)(() => {
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 TO(e) {
]));
}
// node_modules/react-aria/dist/private/selection/useSelectableList.mjs
-function EO(e) {
- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = ED({
+function OO(e) {
+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = OD({
usage: "search",
sensitivity: "base"
- }), l = t.disabledBehavior, u = (0, F.useMemo)(() => a || new OE({
+ }), l = t.disabledBehavior, u = (0, F.useMemo)(() => a || new AE({
collection: n,
disabledKeys: r,
disabledBehavior: l,
@@ -27339,7 +27339,7 @@ function EO(e) {
c,
l,
s
- ]), { collectionProps: d } = gD({
+ ]), { collectionProps: d } = vD({
...e,
ref: i,
selectionManager: t,
@@ -27348,10 +27348,10 @@ function EO(e) {
return { listProps: d };
}
// node_modules/react-aria/dist/private/gridlist/useGridList.mjs
-function jse(e, t, n) {
+function kse(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 } = EO({
+ let { listProps: f } = OO({
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
@@ -27366,30 +27366,30 @@ function jse(e, t, n) {
autoFocus: e.autoFocus,
escapeKeyBehavior: u,
UNSTABLE_focusOnEntry: e.UNSTABLE_focusOnEntry
- }), p = UC(e.id);
- zD.set(t, {
+ }), p = GC(e.id);
+ VD.set(t, {
id: p,
onAction: o,
linkBehavior: c,
keyboardNavigationBehavior: l,
shouldSelectOnPressUp: d
});
- let m = TO({
+ let m = DO({
selectionManager: t.selectionManager,
hasItemActions: !!o
- }), h = wO(n, { isDisabled: t.collection.size !== 0 }), g = K(qw(e, { labelable: !0 }), {
+ }), h = EO(n, { isDisabled: t.collection.size !== 0 }), g = K(Yw(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), SO({}, t), { gridProps: g };
+ return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), wO({}, t), { gridProps: g };
}
// node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
-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 = iC();
- t = UC(t);
+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 = oC();
+ t = GC(t);
let p = (e) => {
- if (e.pointerType === "keyboard" && wE(e)) n.toggleSelection(r);
+ if (e.pointerType === "keyboard" && EE(e)) n.toggleSelection(r);
else {
if (n.selectionMode === "none") return;
if (n.isLink(r)) {
@@ -27400,11 +27400,11 @@ function DO(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 && (kw(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 && (jw(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
}
};
(0, F.useEffect)(() => {
- r === n.focusedKey && n.isFocused && (o ? vw(i.current) : s ? s() : FS() !== i.current && i.current && RC(i.current));
+ r === n.focusedKey && n.isFocused && (o ? bw(i.current) : s ? s() : LS() !== i.current && i.current && BC(i.current));
}, [
i,
r,
@@ -27432,22 +27432,22 @@ function DO(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 || kO(e.key)) && p(e);
+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || jO(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" && !OO(e.key)) return;
+ if (e.pointerType === "keyboard" && !AO(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 || kO(e.key))) && p(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);
}, k.onPress = (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));
+ (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));
});
- let A = mse(n.collection);
+ let A = fse(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 DO(e) {
"onPress",
"onPressUp",
"onClick"
- ]) D[e] && (k[e] = zC(k[e], D[e]));
- let { pressProps: j, isPressed: M } = sT(k), ee = x ? (e) => {
+ ]) D[e] && (k[e] = VC(k[e], D[e]));
+ let { pressProps: j, isPressed: M } = lT(k), ee = x ? (e) => {
C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), O(e));
- } : void 0, { longPressProps: N } = uD({
+ } : void 0, { longPressProps: N } = fD({
isDisabled: !w,
onLongPress(e) {
e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));
@@ -27473,7 +27473,7 @@ function DO(e) {
}), te = (e) => {
C.current === "touch" && T.current && e.preventDefault();
}, P = d !== "none" && n.isLink(r) ? (e) => {
- aC.isOpening || e.preventDefault();
+ sC.isOpening || e.preventDefault();
} : void 0, ne = K(m, v || b || o && !c ? j : {}, w ? N : {}, {
onDoubleClick: ee,
onDragStartCapture: te,
@@ -27486,7 +27486,7 @@ function DO(e) {
if (e != null) return e !== A;
t = t.parentElement;
}
- return VS(e);
+ return US(e);
}, I = ne.onPointerDown;
ne.onPointerDown = (e) => {
let t = G(e);
@@ -27506,14 +27506,14 @@ function DO(e) {
hasAction: S
};
}
-function OO(e) {
+function AO(e) {
return e === "Enter";
}
-function kO(e) {
+function jO(e) {
return e === " ";
}
// node_modules/react-aria/dist/private/gridlist/useGridListItem.mjs
-var AO = {
+var MO = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -27523,18 +27523,18 @@ var AO = {
rtl: "ArrowRight"
}
};
-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 = () => {
+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 = () => {
if (n.current !== null) {
if (a === "child") {
- if (LS(n.current) && n.current !== FS(DS(n.current))) return;
- let e = kT(n.current, { tabbable: !0 }).firstChild();
+ if (zS(n.current) && n.current !== LS(kS(n.current))) return;
+ let e = jT(n.current, { tabbable: !0 }).firstChild();
if (e) {
- RC(e), BT(e, { containingElement: LT(e) });
+ BC(e), HT(e, { containingElement: zT(e) });
return;
}
}
- (p.current != null && r.key !== p.current || !LS(n.current)) && RC(n.current);
+ (p.current != null && r.key !== p.current || !zS(n.current)) && BC(n.current);
}
}, h = {}, g = e.hasChildItems, _ = t.selectionManager.isLink(r.key);
if (r != null && "expandedKeys" in t) {
@@ -27544,7 +27544,7 @@ function Mse(e, t, n) {
if (r.level >= 0 && r?.parentKey != null) {
let e = t.collection.getItem(r.parentKey);
if (e) {
- let n = Nse(e, t.collection);
+ let n = jse(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 Mse(e, t, n) {
"aria-setsize": i
};
}
- let { itemProps: v, ...y } = DO({
+ let { itemProps: v, ...y } = kO({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
isVirtualized: i,
shouldSelectOnPressUp: e.shouldSelectOnPressUp || d,
- onAction: c || r.props?.onAction ? zC(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,
+ onAction: c || r.props?.onAction ? VC(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,
focus: m,
linkBehavior: l
}), b = (e) => {
- let i = FS(DS(n.current));
- if (!PS(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) {
+ let i = LS(kS(n.current));
+ if (!IS(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) {
case "ArrowLeft":
if (u === "arrow") {
let t = s === "rtl" ? a.nextNode() : a.previousNode();
- 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) });
+ 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) });
else {
a.currentNode = n.current;
- let e = MO(a);
- e && (RC(e), BT(e, { containingElement: LT(n.current) }));
+ let e = PO(a);
+ e && (BC(e), HT(e, { containingElement: zT(n.current) }));
}
}
break;
case "ArrowRight":
if (u === "arrow") {
let t = s === "rtl" ? a.previousNode() : a.nextNode();
- 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) });
+ 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) });
else {
a.currentNode = n.current;
- let e = MO(a);
- e && (RC(e), BT(e, { containingElement: LT(n.current) }));
+ let e = PO(a);
+ e && (BC(e), HT(e, { containingElement: zT(n.current) }));
}
}
break;
case "ArrowUp":
- case "ArrowDown": !e.altKey && PS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
+ case "ArrowDown": !e.altKey && IS(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 && PS(n.current, e.relatedTarget) || requestAnimationFrame(() => {
- a === "child" && FS(DS(n.current)) === n.current && m();
- }) : EC() || t.selectionManager.setFocusedKey(r.key);
+ p.current = r.key, G(e) === n.current ? a === "child" && e.relatedTarget && IS(n.current, e.relatedTarget) || requestAnimationFrame(() => {
+ a === "child" && LS(kS(n.current)) === n.current && m();
+ }) : OC() || t.selectionManager.setFocusedKey(r.key);
}, S = (e) => {
- let i = FS(DS(n.current));
- if (PS(e.currentTarget, G(e)) && n.current && i) {
+ let i = LS(kS(n.current));
+ if (IS(e.currentTarget, G(e)) && n.current && i) {
if (u === "tab") {
if (G(e) !== n.current && e.key !== "Tab") {
e.stopPropagation();
return;
}
- if (jO(e, t, r, g, s, i, n.current, o)) return;
+ if (NO(e, t, r, g, s, i, n.current, o)) return;
}
if (e.key === "Tab" && u === "tab") {
- let t = kT(n.current, { tabbable: !0 });
+ let t = jT(n.current, { tabbable: !0 });
t.currentNode = i, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
- }, C = oC(r.props), w = K(v, y.hasAction ? C : {}, {
+ }, C = cC(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) ? `${BD(t, r.key)} ${f}` : void 0,
- id: BD(t, r.key)
+ "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${HD(t, r.key)} ${f}` : void 0,
+ id: HD(t, r.key)
});
a === "child" && o && u === "tab" && (w.tabIndex = -1);
let T = w.onKeyDown;
@@ -27644,66 +27644,66 @@ function Mse(e, t, n) {
...y
};
}
-function jO(e, t, n, r, i, a, o, s) {
+function NO(e, t, n, r, i, a, o, s) {
if (!("expandedKeys" in t) || !s && a !== o) return !1;
- 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 (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 (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 MO(e) {
+function PO(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
while (n);
return t;
}
-function Nse(e, t) {
+function jse(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 Pse(e) {
+function Mse(e) {
return e && e.__esModule ? e.default : e;
}
-function NO(e, t) {
- let { key: n } = e, r = t.selectionManager, i = UC(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
+function FO(e, t) {
+ let { key: n } = e, r = t.selectionManager, i = GC(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
return { checkboxProps: {
id: i,
- "aria-label": Gw(Pse(xO), "@react-aria/grid").format("select"),
+ "aria-label": qw(Mse(CO), "@react-aria/grid").format("select"),
isSelected: o,
isDisabled: a,
onChange: () => r.toggleSelection(n)
} };
}
// node_modules/react-aria/dist/private/gridlist/useGridListSelectionCheckbox.mjs
-function Fse(e, t) {
- let { key: n } = e, { checkboxProps: r } = NO(e, t);
+function Nse(e, t) {
+ let { key: n } = e, { checkboxProps: r } = FO(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${BD(t, n)}`
+ "aria-labelledby": `${r.id} ${HD(t, n)}`
} };
}
// node_modules/react-aria/dist/private/listbox/useListBox.mjs
-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");
+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");
i === "toggle" && o === "action" && (o = "override");
- let { listProps: s } = EO({
+ let { listProps: s } = OO({
...e,
ref: n,
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
linkBehavior: o
- }), { focusWithinProps: c } = iE({
+ }), { focusWithinProps: c } = oE({
onFocusWithin: e.onFocus,
onBlurWithin: e.onBlur,
onFocusWithinChange: e.onFocusChange
- }), l = UC(e.id);
- CE.set(t, {
+ }), l = GC(e.id);
+ TE.set(t, {
id: l,
shouldUseVirtualFocus: e.shouldUseVirtualFocus,
shouldSelectOnPressUp: e.shouldSelectOnPressUp,
@@ -27713,7 +27713,7 @@ function Ise(e, t, n) {
linkBehavior: o,
UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior
});
- let { labelProps: u, fieldProps: d } = nE({
+ let { labelProps: u, fieldProps: d } = iE({
...e,
id: l,
labelElementType: "span"
@@ -27728,8 +27728,8 @@ function Ise(e, t, n) {
};
}
// node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs
-function Lse(e) {
- let { heading: t, "aria-label": n } = e, r = UC();
+function Fse(e) {
+ let { heading: t, "aria-label": n } = e, r = GC();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -27747,8 +27747,8 @@ function Lse(e) {
};
}
// node_modules/react-aria/dist/private/listbox/useOption.mjs
-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 = {
+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 = {
role: "option",
"aria-disabled": a || void 0,
"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,
@@ -27758,9 +27758,9 @@ function Rse(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"] = wD(t.collection);
+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = ED(t.collection);
}
- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = fse(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = DO({
+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = use(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = kO({
selectionManager: t.selectionManager,
key: r,
ref: n,
@@ -27769,18 +27769,18 @@ function Rse(e, t, n) {
isVirtualized: u,
shouldUseVirtualFocus: l,
isDisabled: a,
- onAction: h || m?.props?.onAction ? zC(m?.props?.onAction, h) : void 0,
+ onAction: h || m?.props?.onAction ? VC(m?.props?.onAction, h) : void 0,
linkBehavior: i?.linkBehavior,
UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,
id: g
- }), { hoverProps: S } = LD({
+ }), { hoverProps: S } = zD({
isDisabled: a || !c,
onHoverStart() {
- EC() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
+ OC() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
}
- }), C = qw(m?.props);
+ }), C = Yw(m?.props);
delete C.id;
- let w = sC(m?.props);
+ let w = lC(m?.props);
return {
optionProps: {
...p,
@@ -27790,7 +27790,7 @@ function Rse(e, t, n) {
labelProps: { id: d },
descriptionProps: { id: f },
isFocused: y,
- isFocusVisible: y && t.selectionManager.isFocused && EC(),
+ isFocusVisible: y && t.selectionManager.isFocused && OC(),
isSelected: o,
isDisabled: a,
isPressed: v,
@@ -27799,12 +27799,12 @@ function Rse(e, t, n) {
};
}
// node_modules/react-aria/dist/private/menu/utils.mjs
-var PO = /* @__PURE__ */ new WeakMap();
+var IO = /* @__PURE__ */ new WeakMap();
// node_modules/react-aria/dist/private/menu/useMenu.mjs
-function zse(e, t, n) {
+function Lse(e, t, n) {
let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;
!e["aria-label"] && e["aria-labelledby"];
- let s = qw(e, { labelable: !0 }), { listProps: c } = EO({
+ let s = Yw(e, { labelable: !0 }), { listProps: c } = OO({
...o,
ref: n,
selectionManager: t.selectionManager,
@@ -27813,7 +27813,7 @@ function zse(e, t, n) {
shouldFocusWrap: r,
linkBehavior: "override"
});
- return PO.set(t, {
+ return IO.set(t, {
onClose: e.onClose,
onAction: e.onAction,
shouldUseVirtualFocus: e.shouldUseVirtualFocus
@@ -27829,15 +27829,15 @@ function zse(e, t, n) {
}) };
}
// node_modules/react-aria/dist/private/menu/useMenuItem.mjs
-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 = iC(), M = () => {
+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 = oC(), 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 = WC(), te = WC(), P = WC(), ne = {
+ let N = KC(), te = KC(), P = KC(), ne = {
id: r,
"aria-disabled": E || void 0,
role: ee,
@@ -27854,17 +27854,17 @@ function Bse(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"] = wD(t.collection);
+ ne["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, ne["aria-setsize"] = ED(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(), vae(e, j, k.props.href, k?.props.routerOptions);
+ m?.(e), M(), gae(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 } = DO({
+ }, { itemProps: se, isFocused: ce } = kO({
id: r,
selectionManager: C,
key: i,
@@ -27873,27 +27873,27 @@ function Bse(e, t, n) {
allowsDifferentPressOrigin: !0,
linkBehavior: "none",
shouldUseVirtualFocus: O.shouldUseVirtualFocus
- }), { pressProps: le, isPressed: ue } = sT({
+ }), { pressProps: le, isPressed: ue } = lT({
onPressStart: l,
onPress: d,
onPressUp: ae,
onPressChange: I,
onPressEnd: p,
isDisabled: E
- }), { hoverProps: de } = LD({
+ }), { hoverProps: de } = zD({
isDisabled: E,
onHoverStart(e) {
- !EC() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);
+ !OC() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);
},
onHoverChange: g,
onHoverEnd: _
- }), { keyboardProps: fe } = $C({
+ }), { keyboardProps: fe } = tw({
shortcuts: {
" ": (e) => {
ie.current = {
pointerType: "keyboard",
key: " "
- }, G(e).click(), OC("keyboard");
+ }, G(e).click(), AC("keyboard");
},
Enter: (e) => {
ie.current = {
@@ -27901,8 +27901,8 @@ function Bse(e, t, n) {
key: "Enter"
};
let t = G(e);
- if (t.tagName !== "A") t.click(), OC("keyboard");
- else return OC("keyboard"), {
+ if (t.tagName !== "A") t.click(), AC("keyboard");
+ else return AC("keyboard"), {
shouldPreventDefault: !1,
shouldContinuePropagation: !1
};
@@ -27910,13 +27910,13 @@ function Bse(e, t, n) {
},
onKeyDown: v,
onKeyUp: y
- }), { focusableProps: pe } = rw({
+ }), { focusableProps: pe } = aw({
onBlur: S,
onFocus: b,
onFocusChange: x
- }, n), me = qw(k?.props);
+ }, n), me = Yw(k?.props);
delete me.id;
- let he = sC(k?.props);
+ let he = lC(k?.props);
return {
menuItemProps: {
...ne,
@@ -27931,15 +27931,15 @@ function Bse(e, t, n) {
descriptionProps: { id: te },
keyboardShortcutProps: { id: P },
isFocused: ce,
- isFocusVisible: ce && C.isFocused && EC() && !T,
+ isFocusVisible: ce && C.isFocused && OC() && !T,
isSelected: D,
isPressed: ue,
isDisabled: E
};
}
// node_modules/react-aria/dist/private/menu/useMenuSection.mjs
-function Vse(e) {
- let { heading: t, "aria-label": n } = e, r = UC();
+function zse(e) {
+ let { heading: t, "aria-label": n } = e, r = GC();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -27954,15 +27954,15 @@ function Vse(e) {
};
}
// node_modules/react-aria/dist/private/utils/useResizeObserver.mjs
-function Hse() {
+function Bse() {
return window.ResizeObserver !== void 0;
}
-function FO(e) {
- let { ref: t, box: n, onResize: r } = e, i = jw(r);
+function LO(e) {
+ let { ref: t, box: n, onResize: r } = e, i = Nw(r);
(0, F.useEffect)(() => {
let e = t?.current;
if (e) {
- if (Hse()) {
+ if (Bse()) {
let t = new window.ResizeObserver((e) => {
e.length && i();
});
@@ -27977,154 +27977,154 @@ function FO(e) {
}, [t, n]);
}
// node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs
-var IO = {};
-IO = { dismiss: "تجاهل" };
+var RO = {};
+RO = { dismiss: "تجاهل" };
// node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs
-var LO = {};
-LO = { dismiss: "Отхвърляне" };
+var zO = {};
+zO = { dismiss: "Отхвърляне" };
// node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs
-var RO = {};
-RO = { dismiss: "Odstranit" };
+var BO = {};
+BO = { dismiss: "Odstranit" };
// node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs
-var zO = {};
-zO = { dismiss: "Luk" };
+var VO = {};
+VO = { dismiss: "Luk" };
// node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs
-var BO = {};
-BO = { dismiss: "Schließen" };
+var HO = {};
+HO = { dismiss: "Schließen" };
// node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs
-var VO = {};
-VO = { dismiss: "Απόρριψη" };
+var UO = {};
+UO = { dismiss: "Απόρριψη" };
// node_modules/react-aria/dist/private/intl/overlays/en-US.mjs
-var HO = {};
-HO = { dismiss: "Dismiss" };
+var WO = {};
+WO = { dismiss: "Dismiss" };
// node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs
-var UO = {};
-UO = { dismiss: "Descartar" };
+var GO = {};
+GO = { dismiss: "Descartar" };
// node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs
-var WO = {};
-WO = { dismiss: "Lõpeta" };
+var KO = {};
+KO = { dismiss: "Lõpeta" };
// node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs
-var GO = {};
-GO = { dismiss: "Hylkää" };
+var qO = {};
+qO = { dismiss: "Hylkää" };
// node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs
-var KO = {};
-KO = { dismiss: "Rejeter" };
+var JO = {};
+JO = { dismiss: "Rejeter" };
// node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs
-var qO = {};
-qO = { dismiss: "התעלם" };
+var YO = {};
+YO = { dismiss: "התעלם" };
// node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs
-var JO = {};
-JO = { dismiss: "Odbaci" };
+var XO = {};
+XO = { dismiss: "Odbaci" };
// node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs
-var YO = {};
-YO = { dismiss: "Elutasítás" };
+var ZO = {};
+ZO = { dismiss: "Elutasítás" };
// node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs
-var XO = {};
-XO = { dismiss: "Ignora" };
+var QO = {};
+QO = { dismiss: "Ignora" };
// node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs
-var ZO = {};
-ZO = { dismiss: "閉じる" };
+var $O = {};
+$O = { dismiss: "閉じる" };
// node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs
-var QO = {};
-QO = { dismiss: "무시" };
+var ek = {};
+ek = { dismiss: "무시" };
// node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs
-var $O = {};
-$O = { dismiss: "Atmesti" };
+var tk = {};
+tk = { dismiss: "Atmesti" };
// node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs
-var ek = {};
-ek = { dismiss: "Nerādīt" };
+var nk = {};
+nk = { dismiss: "Nerādīt" };
// node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs
-var tk = {};
-tk = { dismiss: "Lukk" };
+var rk = {};
+rk = { dismiss: "Lukk" };
// node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs
-var nk = {};
-nk = { dismiss: "Negeren" };
+var ik = {};
+ik = { dismiss: "Negeren" };
// node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs
-var rk = {};
-rk = { dismiss: "Zignoruj" };
+var ak = {};
+ak = { dismiss: "Zignoruj" };
// node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs
-var ik = {};
-ik = { dismiss: "Descartar" };
+var ok = {};
+ok = { dismiss: "Descartar" };
// node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs
-var ak = {};
-ak = { dismiss: "Dispensar" };
+var sk = {};
+sk = { dismiss: "Dispensar" };
// node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs
-var ok = {};
-ok = { dismiss: "Revocare" };
+var ck = {};
+ck = { dismiss: "Revocare" };
// node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs
-var sk = {};
-sk = { dismiss: "Пропустить" };
+var lk = {};
+lk = { dismiss: "Пропустить" };
// node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs
-var ck = {};
-ck = { dismiss: "Zrušiť" };
+var uk = {};
+uk = { dismiss: "Zrušiť" };
// node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs
-var lk = {};
-lk = { dismiss: "Opusti" };
+var dk = {};
+dk = { dismiss: "Opusti" };
// node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs
-var uk = {};
-uk = { dismiss: "Odbaci" };
+var fk = {};
+fk = { dismiss: "Odbaci" };
// node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs
-var dk = {};
-dk = { dismiss: "Avvisa" };
+var pk = {};
+pk = { dismiss: "Avvisa" };
// node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs
-var fk = {};
-fk = { dismiss: "Kapat" };
+var mk = {};
+mk = { dismiss: "Kapat" };
// node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs
-var pk = {};
-pk = { dismiss: "Скасувати" };
+var hk = {};
+hk = { dismiss: "Скасувати" };
// node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs
-var mk = {};
-mk = { dismiss: "取消" };
+var gk = {};
+gk = { dismiss: "取消" };
// node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs
-var hk = {};
-hk = { dismiss: "關閉" };
+var _k = {};
+_k = { dismiss: "關閉" };
// node_modules/react-aria/dist/private/overlays/intlStrings.mjs
-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
+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
};
// node_modules/react-aria/dist/private/overlays/DismissButton.mjs
-function Use(e) {
+function Vse(e) {
return e && e.__esModule ? e.default : e;
}
-function _k(e) {
- let { onDismiss: t, ...n } = e, r = Nw(n, Gw(Use(gk), "@react-aria/overlays").format("dismiss")), i = () => {
+function yk(e) {
+ let { onDismiss: t, ...n } = e, r = Fw(n, qw(Vse(vk), "@react-aria/overlays").format("dismiss")), i = () => {
t && t();
};
- return /*#__PURE__*/ F.createElement(hE, null, /*#__PURE__*/ F.createElement("button", {
+ return /*#__PURE__*/ F.createElement(_E, null, /*#__PURE__*/ F.createElement("button", {
...r,
tabIndex: -1,
onClick: i,
@@ -28135,35 +28135,35 @@ function _k(e) {
}));
}
// node_modules/react-aria/dist/private/overlays/useOverlay.mjs
-var vk = [];
-function yk(e, t) {
+var bk = [];
+function xk(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 && !vk.includes(t)) return vk.push(t), () => {
- let e = vk.indexOf(t);
- e >= 0 && vk.splice(e, 1);
+ if (i && !bk.includes(t)) return bk.push(t), () => {
+ let e = bk.indexOf(t);
+ e >= 0 && bk.splice(e, 1);
};
}, [i, t]);
let l = () => {
- vk[vk.length - 1] === t && n && n();
+ bk[bk.length - 1] === t && n && n();
}, u = (e) => {
- let n = vk[vk.length - 1];
+ let n = bk[bk.length - 1];
c.current = n, (!s || s(G(e))) && n === t && e.stopPropagation();
}, d = (e) => {
- (!s || s(G(e))) && (vk[vk.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
- }, { keyboardProps: f } = $C({ shortcuts: { Escape: () => {
+ (!s || s(G(e))) && (bk[bk.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
+ }, { keyboardProps: f } = tw({ shortcuts: { Escape: () => {
if (!o) l();
else return !1;
} } });
- Dse({
+ Tse({
ref: t,
onInteractOutside: a && i ? d : void 0,
onInteractOutsideStart: u
});
- let { focusWithinProps: p } = iE({
+ let { focusWithinProps: p } = oE({
isDisabled: !r,
onBlurWithin: (e) => {
- e.relatedTarget && !zoe(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();
+ e.relatedTarget && !Loe(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();
}
});
return {
@@ -28175,87 +28175,87 @@ function yk(e, t) {
};
}
// node_modules/react-aria/dist/private/utils/runAfterKeyboard.mjs
-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 && eC() && !t.aborted) window.clearInterval(bk.get(window)), bk.set(window, Ck(Wse));
+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 && nC() && !t.aborted) window.clearInterval(Sk.get(window)), Sk.set(window, Tk(Hse));
else {
- 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));
+ 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));
}
}
-function Ck(e = Kse) {
- return window.setInterval(qse, Gse, Aw(), AbortSignal.timeout(e));
+function Tk(e = Wse) {
+ return window.setInterval(Gse, Use, Mw(), AbortSignal.timeout(e));
}
-function wk(e) {
- if (!Dw()) return e(!1), () => {};
+function Ek(e) {
+ if (!kw()) return e(!1), () => {};
let t = window.requestAnimationFrame(() => {
t = window.requestAnimationFrame(() => {
- let t = Ow(document.hasFocus() ? FS() : null);
- if (Aw() === t || Aw() && !t) return e(t);
- Sk.add(e), bk.has(window) || bk.set(window, Ck());
+ let t = Aw(document.hasFocus() ? LS() : null);
+ if (Mw() === t || Mw() && !t) return e(t);
+ wk.add(e), Sk.has(window) || Sk.set(window, Tk());
});
});
return () => {
- window.cancelAnimationFrame(t), Sk.delete(e);
+ window.cancelAnimationFrame(t), wk.delete(e);
};
}
-function Jse(e) {
- if (!Dw()) return e(!1), () => {};
+function Kse(e) {
+ if (!kw()) return e(!1), () => {};
let t = window.requestAnimationFrame(() => {
t = window.requestAnimationFrame(() => {
- let t = Ow(document.hasFocus() ? FS() : null);
- if (Aw() === t) return e(t);
- xk.add(e), bk.has(window) || bk.set(window, Ck());
+ let t = Aw(document.hasFocus() ? LS() : null);
+ if (Mw() === t) return e(t);
+ Ck.add(e), Sk.has(window) || Sk.set(window, Tk());
});
});
return () => {
- window.cancelAnimationFrame(t), xk.delete(e);
+ window.cancelAnimationFrame(t), Ck.delete(e);
};
}
// node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs
-var Tk = typeof document < "u" && window.visualViewport, Ek = 0, Dk;
-function Ok(e = {}) {
+var Dk = typeof document < "u" && window.visualViewport, Ok = 0, kk;
+function Ak(e = {}) {
let { isDisabled: t, UNSTABLE_overrideFocus: n } = e;
- US(() => {
- if (!t) return Ek++, Ek === 1 && (Dk = $S() && eC() ? Xse() : Yse(n)), () => {
- Ek--, Ek === 0 && Dk();
+ GS(() => {
+ if (!t) return Ok++, Ok === 1 && (kk = tC() && nC() ? Jse() : qse(n)), () => {
+ Ok--, Ok === 0 && kk();
};
}, [t, n]);
}
-function Yse(e) {
+function qse(e) {
let t = window.innerWidth - document.documentElement.clientWidth;
- return zC(t > 0 && ("scrollbarGutter" in document.documentElement.style ? MS(document.documentElement, "scrollbar-gutter", "stable") : MS(document.documentElement, "padding-right", `${t}px`)), MS(document.documentElement, "overflow", "hidden"), e && Ak(), e && Dw() && kk());
+ return VC(t > 0 && ("scrollbarGutter" in document.documentElement.style ? PS(document.documentElement, "scrollbar-gutter", "stable") : PS(document.documentElement, "padding-right", `${t}px`)), PS(document.documentElement, "overflow", "hidden"), e && Mk(), e && kw() && jk());
}
-function Xse() {
- let e = MS(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
+function Jse() {
+ let e = PS(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
let r = G(e);
- t = IT(r, !0) ? r : LT(r, !0), n = !1;
+ t = RT(r, !0) ? r : zT(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 = eT();
+ }, i = document.createElement("style"), a = nT();
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 = Ak(), c = zC(jS(document, "touchstart", r, {
+ }, s = Mk(), c = VC(NS(document, "touchstart", r, {
passive: !1,
capture: !0
- }), jS(document, "touchmove", o, {
+ }), NS(document, "touchmove", o, {
passive: !1,
capture: !0
- }), kk());
+ }), jk());
return () => {
e(), c(), i.remove(), s();
};
}
-function kk() {
- return jS(document, "blur", (e) => {
+function jk() {
+ return NS(document, "blur", (e) => {
let t = G(e), n = e.relatedTarget;
- n && Ow(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
+ n && Aw(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
}, !0);
}
-function Ak() {
+function Mk() {
let e = HTMLElement.prototype.focus;
return Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
@@ -28266,9 +28266,9 @@ function Ak() {
preventScroll: !0
}), !t || !t.preventScroll) {
let e = () => {
- FS() === this && Zse(this);
+ LS() === this && Yse(this);
};
- wk((t) => t ? e() : Jse(() => e()));
+ Ek((t) => t ? e() : Kse(() => e()));
}
}
}), () => {
@@ -28279,15 +28279,15 @@ function Ak() {
});
};
}
-function Zse(e) {
+function Yse(e) {
let t = document.scrollingElement || document.documentElement, n = e;
for (; n && n !== t && n.isConnected;) {
- let e = LT(n);
+ let e = zT(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;
- Tk && (n = Math.min(n, Tk.offsetTop + Tk.height));
+ Dk && (n = Math.min(n, Dk.offsetTop + Dk.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 Zse(e) {
}
}
// node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs
-function Qse(e, t, n) {
- let { overlayProps: r, underlayProps: i } = yk({
+function Xse(e, t, n) {
+ let { overlayProps: r, underlayProps: i } = xk({
...e,
isOpen: t.isOpen,
onClose: t.close
}, n);
- Ok({
+ Ak({
isDisabled: !t.isOpen,
UNSTABLE_overrideFocus: e.UNSTABLE_overrideFocus
- }), MD();
+ }), PD();
let { isEntering: a } = e;
return (0, F.useEffect)(() => {
- if (t.isOpen && n.current) return a ? SE(n.current) : xE([n.current], { shouldUseInert: !0 });
+ if (t.isOpen && n.current) return a ? wE(n.current) : CE([n.current], { shouldUseInert: !0 });
}, [
t.isOpen,
a,
@@ -28322,33 +28322,33 @@ function Qse(e, t, n) {
};
}
// node_modules/react-aria/dist/private/overlays/calculatePosition.mjs
-var jk = {
+var Nk = {
top: "top",
bottom: "top",
left: "left",
right: "left"
-}, Mk = {
+}, Pk = {
top: "bottom",
bottom: "top",
left: "right",
right: "left"
-}, $se = {
+}, Zse = {
top: "left",
left: "top"
-}, Nk = {
+}, Fk = {
top: "height",
left: "width"
-}, Pk = {
+}, Ik = {
width: "totalWidth",
height: "totalHeight"
-}, Fk = {}, ece = () => typeof document < "u" ? window.visualViewport : null;
-function Ik(e, t) {
+}, Lk = {}, Qse = () => typeof document < "u" ? window.visualViewport : null;
+function Rk(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} = Hk(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
- return eC() && (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} = Wk(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
+ return nC() && (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 Ik(e, t) {
left: s
};
}
-function tce(e) {
+function $se(e) {
return {
top: e.scrollTop,
left: e.scrollLeft,
@@ -28366,11 +28366,11 @@ function tce(e) {
height: e.scrollHeight
};
}
-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]];
+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]];
return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;
}
-function nce(e) {
+function ece(e) {
let t = window.getComputedStyle(e);
return {
top: parseInt(t.marginTop, 10) || 0,
@@ -28379,55 +28379,55 @@ function nce(e) {
right: parseInt(t.marginRight, 10) || 0
};
}
-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] = {
+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] = {
placement: t,
crossPlacement: n,
axis: r,
crossAxis: i,
size: a,
crossSize: o
- }, Fk[e];
+ }, Lk[e];
}
-function zk(e, t, n, r, i, a, o, s, c, l, u) {
+function Vk(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] = sE(_[m], v, y), d === p) {
- let t = s ? u[h] : u[Pk[h]];
- _[Mk[p]] = Math.floor(t - e[p] + i);
+ if (_[m] = lE(_[m], v, y), d === p) {
+ let t = s ? u[h] : u[Ik[h]];
+ _[Pk[p]] = Math.floor(t - e[p] + i);
} else _[p] = Math.floor(e[p] + e[h] + i);
return _;
}
-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 = {
+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 = {
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 Bk(e, t, n, r, i, a, o, s) {
+function Hk(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[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);
+ 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);
}
-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);
+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);
if (o && n[y] > E) {
- 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 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 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 = Lk(b, w[b], n[x], s, c, a, l);
+ let O = zk(b, w[b], n[x], s, c, a, l);
w[b] += O;
- 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 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 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 ice(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
triggerAnchorPoint: ne
};
}
-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 ? oce(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Hk(n, !1, p) : Uk(n, h, !1, p);
+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 ? ice(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Wk(n, !1, p) : Gk(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 = Hk(r, !0), x = nce(r);
+ let b = Wk(r, !0), x = ece(r);
b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);
- let S = tce(i), C = Ik(s, m), w = Ik(h, m), T;
+ let S = $se(i), C = Rk(s, m), w = Rk(h, m), T;
if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {
- let e = Vk(h, !1);
+ let e = Uk(h, !1);
T = {
top: -(e.top - C.top),
left: -(e.left - C.left),
@@ -28463,11 +28463,11 @@ function ace(e) {
left: 0,
width: 0,
height: 0
- } : Uk(s, h, !1);
- let E = PS(s, h);
- return ice(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
+ } : Gk(s, h, !1);
+ let E = IS(s, h);
+ return nce(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
}
-function Vk(e, t) {
+function Uk(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 Vk(e, t) {
height: a
};
}
-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;
+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;
return {
top: r + s - l,
left: i + c - u,
@@ -28485,29 +28485,29 @@ function Hk(e, t, n) {
height: o
};
}
-function Uk(e, t, n, r) {
+function Gk(e, t, n, r) {
let i = window.getComputedStyle(e), a;
- if (i.position === "fixed") a = r || Vk(e, n);
+ if (i.position === "fixed") a = r || Uk(e, n);
else {
- a = Hk(e, n, r);
- let i = Hk(t, n), o = window.getComputedStyle(t);
+ a = Wk(e, n, r);
+ let i = Wk(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 oce(e) {
+function ice(e) {
let t = e.offsetParent;
- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Wk(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Wk(t);) t = t.parentElement;
+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Kk(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Kk(t);) t = t.parentElement;
return t || document.documentElement;
}
-function Wk(e) {
+function Kk(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 Gk = typeof document < "u" ? window.visualViewport : null;
-function sce(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 = [
+var qk = typeof document < "u" ? window.visualViewport : null;
+function ace(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 = [
p,
s,
i.current,
@@ -28524,15 +28524,15 @@ function sce(e) {
g,
_,
n
- ], S = (0, F.useRef)(Gk?.scale);
+ ], S = (0, F.useRef)(qk?.scale);
(0, F.useEffect)(() => {
- m && (S.current = Gk?.scale);
+ m && (S.current = qk?.scale);
}, [m]);
let C = (0, F.useCallback)(() => {
- if (p === !1 || !m || !i.current || !r.current || !u || Gk?.scale !== S.current) return;
+ if (p === !1 || !m || !i.current || !r.current || !u || qk?.scale !== S.current) return;
let e = null;
- if (o.current && LS(o.current)) {
- let t = FS()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
+ if (o.current && zS(o.current)) {
+ let t = LS()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
e = {
type: "top",
offset: (t?.top ?? 0) - n.top
@@ -28540,8 +28540,8 @@ function sce(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 = ace({
- placement: cce(s, t),
+ let y = rce({
+ placement: oce(s, t),
overlayNode: i.current,
targetNode: r.current,
scrollNode: o.current || i.current,
@@ -28551,28 +28551,28 @@ function sce(e) {
offset: d,
crossOffset: f,
maxHeight: g,
- arrowSize: n ?? (a?.current ? Vk(a.current, !0).width : 0),
+ arrowSize: n ?? (a?.current ? Uk(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 = FS();
+ let x = LS();
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);
- US(C, x), Kk(C), FO({
+ GS(C, x), Jk(C), LO({
ref: i,
onResize: C
- }), FO({
+ }), LO({
ref: r,
onResize: C
});
let w = (0, F.useRef)(!1);
- US(() => {
+ GS(() => {
let e, t = () => {
w.current = !0, clearTimeout(e), e = setTimeout(() => {
w.current = !1;
@@ -28580,16 +28580,16 @@ function sce(e) {
}, n = () => {
w.current && t();
};
- Gk?.addEventListener("resize", t), Gk?.addEventListener("scroll", n);
- let r = jS(IS(window), "scroll", n);
+ qk?.addEventListener("resize", t), qk?.addEventListener("scroll", n);
+ let r = NS(RS(window), "scroll", n);
return () => {
- Gk?.removeEventListener("resize", t), Gk?.removeEventListener("scroll", n), r();
+ qk?.removeEventListener("resize", t), qk?.removeEventListener("scroll", n), r();
};
}, [C]);
let T = (0, F.useCallback)(() => {
w.current || h?.();
}, [h, w]);
- return _se({
+ return hse({
triggerRef: r,
isOpen: m,
onClose: h && T
@@ -28615,24 +28615,24 @@ function sce(e) {
updatePosition: C
};
}
-function Kk(e) {
- US(() => (window.addEventListener("resize", e, !1), () => {
+function Jk(e) {
+ GS(() => (window.addEventListener("resize", e, !1), () => {
window.removeEventListener("resize", e, !1);
}), [e]);
}
-function cce(e, t) {
+function oce(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 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({
+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({
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 } = sce({
+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = ace({
...c,
targetRef: n,
overlayRef: r,
@@ -28640,15 +28640,15 @@ function lce(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)
});
- 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 });
+ 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 });
}, [
a,
t.isOpen,
r,
i
]);
- let { focusWithinProps: g } = iE(e);
+ let { focusWithinProps: g } = oE(e);
return {
popoverProps: K(u, f, g),
arrowProps: p,
@@ -28658,12 +28658,12 @@ function lce(e, t) {
};
}
// node_modules/react-aria/dist/private/radio/utils.mjs
-var qk = /* @__PURE__ */ new WeakMap();
+var Yk = /* @__PURE__ */ new WeakMap();
// node_modules/react-aria/dist/private/radio/useRadio.mjs
-function uce(e, t, n) {
+function cce(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: _ } = sT({
+ }, { pressProps: g, isPressed: _ } = lT({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -28671,7 +28671,7 @@ function uce(e, t, n) {
onPressUp: d,
onClick: f,
isDisabled: p
- }), { pressProps: v, isPressed: y } = sT({
+ }), { pressProps: v, isPressed: y } = lT({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -28681,11 +28681,11 @@ function uce(e, t, n) {
onPress(e) {
u?.(e), t.setSelectedValue(r), n.current?.focus();
}
- }), { focusableProps: b } = rw(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = qw(e, { labelable: !0 }), C = -1;
+ }), { focusableProps: b } = aw(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = Yw(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 } = qk.get(t);
- UT(n, t.defaultSelectedValue, t.setSelectedValue), WT({ validationBehavior: O }, t, n);
- let k = GT();
+ 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();
return {
labelProps: K(v, (0, F.useMemo)(() => ({
onClick: (e) => e.preventDefault(),
@@ -28716,13 +28716,13 @@ function uce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/radio/useRadioGroup.mjs
-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({
+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({
...e,
labelElementType: "span",
isInvalid: t.isInvalid,
errorMessage: e.errorMessage || d
- }), _ = qw(e, { labelable: !0 }), { focusWithinProps: v } = iE({
+ }), _ = Yw(e, { labelable: !0 }), { focusWithinProps: v } = oE({
onBlurWithin(n) {
e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);
},
@@ -28730,13 +28730,13 @@ function dce(e, t) {
onFocusWithinChange: e.onFocusChange
});
function y(e, n) {
- let r = kT(n.currentTarget, {
+ let r = jT(n.currentTarget, {
from: G(n),
- accept: (e) => e instanceof OS(e).HTMLInputElement && e.type === "radio"
+ accept: (e) => e instanceof AS(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 } = $C({
+ let { keyboardProps: b } = tw({
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 dce(e, t) {
ArrowUp: (e) => y("prev", e)
},
allowRepeats: !0
- }), x = UC(n);
- return qk.set(t, {
+ }), x = GC(n);
+ return Yk.set(t, {
name: x,
form: r,
descriptionId: h.id,
@@ -28773,21 +28773,21 @@ function dce(e, t) {
};
}
// node_modules/react-aria/dist/private/select/useSelect.mjs
-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({
+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({
usage: "search",
sensitivity: "base"
- }), u = (0, F.useMemo)(() => r || new OE(t.collection, t.disabledKeys, n, l), [
+ }), u = (0, F.useMemo)(() => r || new AE(t.collection, t.disabledKeys, n, l), [
r,
t.collection,
t.disabledKeys,
l,
n
- ]), { menuTriggerProps: d, menuProps: f } = fD({
+ ]), { menuTriggerProps: d, menuProps: f } = mD({
isDisabled: i,
type: "listbox"
- }, t, n), { keyboardProps: p } = $C({
+ }, t, n), { keyboardProps: p } = tw({
shortcuts: {
ArrowLeft: () => {
if (t.selectionManager.selectionMode === "multiple") return !1;
@@ -28803,21 +28803,21 @@ function fce(e, t, n) {
allowRepeats: !0,
onKeyDown: e.onKeyDown,
onKeyUp: e.onKeyUp
- }), { typeSelectProps: m } = mD({
+ }), { typeSelectProps: m } = gD({
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 } = rE({
+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = aE({
...e,
labelElementType: "span",
isInvalid: h,
errorMessage: e.errorMessage || g
});
t.selectionManager.selectionMode === "multiple" && (m = {});
- let S = qw(e, { labelable: !0 }), C = K(m, d, y), w = UC();
- return Jk.set(t, {
+ let S = Yw(e, { labelable: !0 }), C = K(m, d, y), w = GC();
+ return Xk.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -28827,13 +28827,13 @@ function fce(e, t, n) {
labelProps: {
...v,
onClick: () => {
- e.isDisabled || (n.current?.focus(), OC("keyboard"));
+ e.isDisabled || (n.current?.focus(), AC("keyboard"));
}
},
triggerProps: K(S, {
...C,
isDisabled: i,
- onKeyDown: zC(C.onKeyDown, p.onKeyDown),
+ onKeyDown: VC(C.onKeyDown, p.onKeyDown),
onKeyUp: p.onKeyUp,
"aria-labelledby": [
w,
@@ -28857,7 +28857,7 @@ function fce(e, t, n) {
disallowEmptySelection: !0,
linkBehavior: "selection",
onBlur: (n) => {
- PS(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
+ IS(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 fce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-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: {
+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: {
position: "fixed",
top: 0,
left: 0
} });
- UT(e.selectRef, t.defaultValue, t.setValue), WT({
+ GT(e.selectRef, t.defaultValue, t.setValue), KT({
validationBehavior: c,
focus: () => n.current?.focus()
}, t, e.selectRef);
@@ -28913,8 +28913,8 @@ function pce(e, t, n) {
}
};
}
-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({
+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({
...e,
selectRef: t.collection.size <= 300 ? s : c
}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];
@@ -28938,7 +28938,7 @@ function mce(e) {
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = Jk.get(t) || {};
+ let { validationBehavior: e } = Xk.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -28968,8 +28968,8 @@ function mce(e) {
return null;
}
// node_modules/react-aria/dist/private/separator/useSeparator.mjs
-function hce(e) {
- let t = qw(e, { labelable: !0 }), n;
+function pce(e) {
+ let t = Yw(e, { labelable: !0 }), n;
return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {
...t,
role: "separator",
@@ -28977,8 +28977,8 @@ function hce(e) {
} };
}
// node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function gce(e, t, n) {
- let { labelProps: r, inputProps: i, isSelected: a, ...o } = eE(e, t, n);
+function mce(e, t, n) {
+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = nE(e, t, n);
return {
labelProps: r,
inputProps: {
@@ -28991,10 +28991,10 @@ function gce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var Yk = class {
+var Zk = 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 _ce(e.layout) : new DE(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new hce(e.layout) : new kE(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -29030,7 +29030,7 @@ var Yk = class {
let n = this.collection.getItem(e);
if (!n) return null;
let r = 0;
- for (let e of _D(n, this.collection)) {
+ for (let e of yD(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 Yk = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = _D(t, this.collection);
- return (this.direction === "rtl" ? bD(e)?.key : vD(e)?.key) ?? null;
+ let e = yD(t, this.collection);
+ return (this.direction === "rtl" ? SD(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 = _D(n, this.collection), i = (this.direction === "rtl" ? yD(r, t.index - 1) : yD(r, t.index + 1)) ?? null;
+ let r = yD(n, this.collection), i = (this.direction === "rtl" ? xD(r, t.index - 1) : xD(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 Yk = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = _D(t, this.collection);
- return (this.direction === "rtl" ? vD(e)?.key : bD(e)?.key) ?? null;
+ let e = yD(t, this.collection);
+ return (this.direction === "rtl" ? bD(e)?.key : SD(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = _D(n, this.collection), i = (this.direction === "rtl" ? yD(r, t.index + 1) : yD(r, t.index - 1)) ?? null;
+ let r = yD(n, this.collection), i = (this.direction === "rtl" ? xD(r, t.index + 1) : xD(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 Yk = 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 ? vD(_D(e, this.collection))?.key ?? null : null;
+ return e ? bD(yD(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 = vD(_D(e, this.collection))?.key ?? null;
+ n = bD(yD(e, this.collection))?.key ?? null;
}
return n;
}
@@ -29112,13 +29112,13 @@ var Yk = 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(_D(e, this.collection))?.key ?? null : null;
+ return e ? SD(yD(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 = bD(_D(e, this.collection))?.key ?? null;
+ n = SD(yD(e, this.collection))?.key ?? null;
}
return n;
}
@@ -29154,13 +29154,13 @@ var Yk = 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" ? vD(_D(t, this.collection))?.key ?? null : t.key;
+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? bD(yD(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;
}
-}, _ce = class {
+}, hce = class {
constructor(e) {
this.layout = e;
}
@@ -29173,15 +29173,15 @@ var Yk = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, Xk = /* @__PURE__ */ new WeakMap();
+}, Qk = /* @__PURE__ */ new WeakMap();
// node_modules/react-aria/dist/private/grid/useGrid.mjs
-function Zk(e, t, n) {
+function gce(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 = ED({
+ let h = OD({
usage: "search",
sensitivity: "base"
- }), { direction: g } = zw(), _ = t.selectionManager.disabledBehavior, v = (0, F.useMemo)(() => a || new Yk({
+ }), { direction: g } = Vw(), _ = t.selectionManager.disabledBehavior, v = (0, F.useMemo)(() => a || new Zk({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -29198,7 +29198,7 @@ function Zk(e, t, n) {
g,
h,
o
- ]), { collectionProps: y } = gD({
+ ]), { collectionProps: y } = vD({
ref: n,
selectionManager: m,
keyboardDelegate: v,
@@ -29206,8 +29206,8 @@ function Zk(e, t, n) {
scrollRef: s,
disallowTypeAhead: i,
escapeKeyBehavior: d
- }), b = UC(e.id);
- Xk.set(t, {
+ }), b = GC(e.id);
+ Qk.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -29216,42 +29216,42 @@ function Zk(e, t, n) {
shouldSelectOnPressUp: f,
keyboardNavigationBehavior: p
});
- let x = TO({
+ let x = DO({
selectionManager: m,
hasItemActions: !!(l || u)
- }), S = qw(e, { labelable: !0 }), C = (0, F.useCallback)((e) => {
- m.isFocused ? PS(e.currentTarget, G(e)) || m.setFocused(!1) : PS(e.currentTarget, G(e)) && m.setFocused(!0);
+ }), S = Yw(e, { labelable: !0 }), C = (0, F.useCallback)((e) => {
+ m.isFocused ? IS(e.currentTarget, G(e)) || m.setFocused(!1) : IS(e.currentTarget, G(e)) && m.setFocused(!0);
}, [m]), w = (0, F.useMemo)(() => ({
onBlur: y.onBlur,
onFocus: C
- }), [C, y.onBlur]), T = wO(n, { isDisabled: t.collection.size !== 0 }), E = K(S, {
+ }), [C, y.onBlur]), T = EO(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), SO({ getRowText: c }, t), { gridProps: E };
+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), wO({ getRowText: c }, t), { gridProps: E };
}
// node_modules/react-aria/dist/private/table/utils.mjs
-var Qk = /* @__PURE__ */ new WeakMap();
-function $k(e) {
+var $k = /* @__PURE__ */ new WeakMap();
+function eA(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function eA(e, t) {
- let n = Qk.get(e);
+function tA(e, t) {
+ let n = $k.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${$k(t)}`;
+ return `${n}-${eA(t)}`;
}
-function tA(e, t, n) {
- let r = Qk.get(e);
+function nA(e, t, n) {
+ let r = $k.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${$k(t)}-${$k(n)}`;
+ return `${r}-${eA(t)}-${eA(n)}`;
}
-function nA(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => tA(e, t, n)).join(" ");
+function rA(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => nA(e, t, n)).join(" ");
}
// node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var rA = {};
-rA = {
+var iA = {};
+iA = {
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 @@ rA = {
sortable: "عمود قابل للترتيب"
};
// node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var iA = {};
-iA = {
+var aA = {};
+aA = {
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 @@ iA = {
sortable: "сортираща колона"
};
// node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var aA = {};
-aA = {
+var oA = {};
+oA = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -29295,8 +29295,8 @@ aA = {
sortable: "sloupec s možností řazení"
};
// node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var oA = {};
-oA = {
+var sA = {};
+sA = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -29310,8 +29310,8 @@ oA = {
sortable: "sorterbar kolonne"
};
// node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var sA = {};
-sA = {
+var cA = {};
+cA = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -29325,8 +29325,8 @@ sA = {
sortable: "sortierbare Spalte"
};
// node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var cA = {};
-cA = {
+var lA = {};
+lA = {
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 @@ cA = {
sortable: "Στήλη διαλογής"
};
// node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var lA = {};
-lA = {
+var uA = {};
+uA = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -29355,8 +29355,8 @@ lA = {
collapse: "Collapse"
};
// node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var uA = {};
-uA = {
+var dA = {};
+dA = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -29370,8 +29370,8 @@ uA = {
sortable: "columna ordenable"
};
// node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var dA = {};
-dA = {
+var fA = {};
+fA = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -29385,8 +29385,8 @@ dA = {
sortable: "sorditav veerg"
};
// node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var fA = {};
-fA = {
+var pA = {};
+pA = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -29400,8 +29400,8 @@ fA = {
sortable: "lajiteltava sarake"
};
// node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var pA = {};
-pA = {
+var mA = {};
+mA = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -29415,8 +29415,8 @@ pA = {
sortable: "colonne triable"
};
// node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var mA = {};
-mA = {
+var hA = {};
+hA = {
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 @@ mA = {
sortable: "עמודה שניתן למיין"
};
// node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var hA = {};
-hA = {
+var gA = {};
+gA = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -29445,8 +29445,8 @@ hA = {
sortable: "stupac koji se može razvrstati"
};
// node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var gA = {};
-gA = {
+var _A = {};
+_A = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -29460,8 +29460,8 @@ gA = {
sortable: "rendezendő oszlop"
};
// node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var _A = {};
-_A = {
+var vA = {};
+vA = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -29475,8 +29475,8 @@ _A = {
sortable: "colonna ordinabile"
};
// node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var vA = {};
-vA = {
+var yA = {};
+yA = {
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 @@ vA = {
sortable: "並べ替え可能な列"
};
// node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var yA = {};
-yA = {
+var bA = {};
+bA = {
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 @@ yA = {
sortable: "정렬 가능한 열"
};
// node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var bA = {};
-bA = {
+var xA = {};
+xA = {
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 @@ bA = {
sortable: "rikiuojamas stulpelis"
};
// node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var xA = {};
-xA = {
+var SA = {};
+SA = {
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 @@ xA = {
sortable: "kārtojamā kolonna"
};
// node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var SA = {};
-SA = {
+var CA = {};
+CA = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -29550,8 +29550,8 @@ SA = {
sortable: "kolonne som kan sorteres"
};
// node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var CA = {};
-CA = {
+var wA = {};
+wA = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -29565,8 +29565,8 @@ CA = {
sortable: "sorteerbare kolom"
};
// node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var wA = {};
-wA = {
+var TA = {};
+TA = {
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 @@ wA = {
sortable: "kolumna z możliwością sortowania"
};
// node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var TA = {};
-TA = {
+var EA = {};
+EA = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -29595,8 +29595,8 @@ TA = {
sortable: "coluna classificável"
};
// node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var EA = {};
-EA = {
+var DA = {};
+DA = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -29610,8 +29610,8 @@ EA = {
sortable: "Coluna ordenável"
};
// node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var DA = {};
-DA = {
+var OA = {};
+OA = {
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 @@ DA = {
sortable: "coloană sortabilă"
};
// node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var OA = {};
-OA = {
+var kA = {};
+kA = {
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 @@ OA = {
sortable: "сортируемый столбец"
};
// node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var kA = {};
-kA = {
+var AA = {};
+AA = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -29655,8 +29655,8 @@ kA = {
sortable: "zoraditeľný stĺpec"
};
// node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var AA = {};
-AA = {
+var jA = {};
+jA = {
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 @@ AA = {
sortable: "razvrstljivi stolpec"
};
// node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var jA = {};
-jA = {
+var MA = {};
+MA = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -29685,8 +29685,8 @@ jA = {
sortable: "kolona koja se može sortirati"
};
// node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var MA = {};
-MA = {
+var NA = {};
+NA = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -29700,8 +29700,8 @@ MA = {
sortable: "sorterbar kolumn"
};
// node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var NA = {};
-NA = {
+var PA = {};
+PA = {
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 @@ NA = {
sortable: "Sıralanabilir sütun"
};
// node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var PA = {};
-PA = {
+var FA = {};
+FA = {
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 @@ PA = {
sortable: "сортувальний стовпець"
};
// node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var FA = {};
-FA = {
+var IA = {};
+IA = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -29745,8 +29745,8 @@ FA = {
sortable: "可排序的列"
};
// node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var IA = {};
-IA = {
+var LA = {};
+LA = {
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 @@ IA = {
sortable: "可排序的欄"
};
// node_modules/react-aria/dist/private/table/intlStrings.mjs
-var LA = {};
-LA = {
- "ar-AE": rA,
- "bg-BG": iA,
- "cs-CZ": aA,
- "da-DK": oA,
- "de-DE": sA,
- "el-GR": cA,
- "en-US": lA,
- "es-ES": uA,
- "et-EE": dA,
- "fi-FI": fA,
- "fr-FR": pA,
- "he-IL": mA,
- "hr-HR": hA,
- "hu-HU": gA,
- "it-IT": _A,
- "ja-JP": vA,
- "ko-KR": yA,
- "lt-LT": bA,
- "lv-LV": xA,
- "nb-NO": SA,
- "nl-NL": CA,
- "pl-PL": wA,
- "pt-BR": TA,
- "pt-PT": EA,
- "ro-RO": DA,
- "ru-RU": OA,
- "sk-SK": kA,
- "sl-SI": AA,
- "sr-SP": jA,
- "sv-SE": MA,
- "tr-TR": NA,
- "uk-UA": PA,
- "zh-CN": FA,
- "zh-TW": IA
+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
};
// node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var vce = class extends Yk {
+var _ce = class extends Zk {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -29806,7 +29806,7 @@ var vce = class extends Yk {
let n = this.collection.getItem(e);
if (!n) return null;
if (n.type === "column") {
- let e = vD(_D(n, this.collection));
+ let e = bD(yD(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 vce = class extends Yk {
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 _D(n, this.collection)) if (e.type === "column") return e.key;
+ for (let e of yD(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 = [..._D(n, this.collection)];
+ let n = this.collection.headerRows[e.level], r = [...yD(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 vce = class extends Yk {
let t = o.textValue.slice(0, e.length);
if (this.collator.compare(t, e) === 0) return o.key;
}
- for (let r of _D(o, this.collection)) {
+ for (let r of yD(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 vce = class extends Yk {
}
};
// node_modules/react-aria/dist/private/table/useTable.mjs
-function yce(e) {
+function vce(e) {
return e && e.__esModule ? e.default : e;
}
-function bce(e, t, n) {
- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = ED({
+function yce(e, t, n) {
+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = OD({
usage: "search",
sensitivity: "base"
- }), { direction: c } = zw(), l = t.selectionManager.disabledBehavior, u = (0, F.useMemo)(() => r || new vce({
+ }), { direction: c } = Vw(), l = t.selectionManager.disabledBehavior, u = (0, F.useMemo)(() => r || new _ce({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -29901,51 +29901,51 @@ function bce(e, t, n) {
s,
a,
o
- ]), d = UC(e.id);
- Qk.set(t, d);
- let { gridProps: f } = Zk({
+ ]), d = GC(e.id);
+ $k.set(t, d);
+ let { gridProps: f } = gce({
...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 = Gw(yce(LA), "@react-aria/table"), g = (0, F.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = qw(vce(RA), "@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
- ]), _ = HT(g);
- return FT(() => {
- g && PT(g, "assertive", 500);
+ ]), _ = WT(g);
+ return LT(() => {
+ g && IT(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 RA(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 = () => {
+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 = () => {
if (n.current) {
- let e = kT(n.current);
+ let e = jT(n.current);
if (p === "child") {
- let i = FS(DS(n.current));
- if (LS(n.current) && n.current !== i) return;
- let a = DS(n.current);
+ let i = LS(kS(n.current));
+ if (zS(n.current) && n.current !== i) return;
+ let a = kS(n.current);
if (!i || i === a.body || i === n.current) {
let e = h.current;
- if (e && m.current === r.key && PS(n.current, e)) {
- RC(e);
+ if (e && m.current === r.key && IS(n.current, e)) {
+ BC(e);
return;
}
}
- let o = t.selectionManager.childFocusStrategy === "last" ? zA(e) : e.firstChild();
+ let o = t.selectionManager.childFocusStrategy === "last" ? BA(e) : e.firstChild();
if (o) {
- RC(o);
+ BC(o);
return;
}
}
- (m.current != null && r.key !== m.current || !LS(n.current)) && RC(n.current);
+ (m.current != null && r.key !== m.current || !zS(n.current)) && BC(n.current);
}
- }, { itemProps: _, isPressed: v } = DO({
+ }, { itemProps: _, isPressed: v } = kO({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -29957,44 +29957,44 @@ function RA(e, t, n) {
}), y = K(_, {
role: "gridcell",
onKeyDownCapture: f !== "tab" || o ? (e) => {
- let i = FS(DS(n.current));
- if (!PS(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
- let a = kT(n.current);
+ let i = LS(kS(n.current));
+ if (!IS(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
+ let a = jT(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) RC(t), BT(t, { containingElement: LT(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) BC(t), HT(t, { containingElement: zT(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" ? (RC(n.current), BT(n.current, { containingElement: LT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : zA(a), t && (RC(t), BT(t, { containingElement: LT(n.current) })));
+ 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) })));
}
break;
}
case "ArrowRight": {
let t = l === "rtl" ? a.previousNode() : a.nextNode();
- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) RC(t), BT(t, { containingElement: LT(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) BC(t), HT(t, { containingElement: zT(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" ? (RC(n.current), BT(n.current, { containingElement: LT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? zA(a) : a.firstChild(), t && (RC(t), BT(t, { containingElement: LT(n.current) })));
+ 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) })));
}
break;
}
case "ArrowUp":
- case "ArrowDown": !e.altKey && PS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
+ case "ArrowDown": !e.altKey && IS(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 = FS(DS(n.current));
- if (PS(e.currentTarget, G(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {
+ let r = LS(kS(n.current));
+ if (IS(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 = kT(n.current, { tabbable: !0 });
+ let t = jT(n.current, { tabbable: !0 });
t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
@@ -30005,9 +30005,9 @@ function RA(e, t, n) {
onFocus: (e) => {
if (m.current = r.key, G(e) !== n.current) {
let i = G(e);
- n.current && PS(n.current, i) && (h.current = i), EC() || t.selectionManager.setFocusedKey(r.key);
- } else p === "child" && e.relatedTarget && PS(n.current, e.relatedTarget) || requestAnimationFrame(() => {
- p === "child" && FS(DS(n.current)) === n.current && g();
+ n.current && IS(n.current, i) && (h.current = i), OC() || t.selectionManager.setFocusedKey(r.key);
+ } else p === "child" && e.relatedTarget && IS(n.current, e.relatedTarget) || requestAnimationFrame(() => {
+ p === "child" && LS(kS(n.current)) === n.current && g();
});
},
...p === "child" && f === "tab" ? { tabIndex: -1 } : {}
@@ -30022,7 +30022,7 @@ function RA(e, t, n) {
isPressed: v
};
}
-function zA(e) {
+function BA(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -30030,32 +30030,32 @@ function zA(e) {
return t;
}
// node_modules/react-aria/dist/private/table/useTableCell.mjs
-function xce(e, t, n) {
- let { gridCellProps: r, isPressed: i } = RA(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = tA(t, e.node.parentKey, a)), {
+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)), {
gridCellProps: r,
isPressed: i
};
}
// node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function Sce(e) {
+function xce(e) {
return e && e.__esModule ? e.default : e;
}
-function Cce(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = RA({
+function Sce(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = zA({
focusMode: "child",
...e
- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = sT({
+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = lT({
isDisabled: !i || o,
onPress() {
t.sort(r.key);
},
ref: n
- }), { focusableProps: l } = rw({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
- r.props.allowsSorting && !nC() && (u = d ? f : "none");
- let p = Gw(Sce(LA), "@react-aria/table"), m;
- i && (m = `${p.format("sortable")}`, d && f && nC() && (m = `${m}, ${p.format(f)}`));
- let h = HT(m), g = t.collection.size === 0;
+ }), { focusableProps: l } = aw({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
+ r.props.allowsSorting && !iC() && (u = d ? f : "none");
+ let p = qw(xce(RA), "@react-aria/table"), m;
+ i && (m = `${p.format("sortable")}`, d && f && iC() && (m = `${m}, ${p.format(f)}`));
+ let h = WT(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 Cce(e, t, n) {
columnHeaderProps: {
...K(l, a, s, h, g ? { tabIndex: -1 } : null),
role: "columnheader",
- id: eA(t, r.key),
+ id: tA(t, r.key),
"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
"aria-sort": u
},
@@ -30074,17 +30074,17 @@ function Cce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/table/useTableColumnResize.mjs
-function wce(e) {
+function Cce(e) {
return e && e.__esModule ? e.default : e;
}
-function Tce(e, t, n) {
- let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = Gw(wce(LA), "@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) => {
+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) => {
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 && RC(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 && BC(i.current)), m.current = null;
}, [
t,
i,
@@ -30092,14 +30092,14 @@ function Tce(e, t, n) {
]), C = () => {
if (g) S(r);
else return !1;
- }, { keyboardProps: w } = $C({ shortcuts: {
+ }, { keyboardProps: w } = tw({ shortcuts: {
Escape: () => C(),
Enter: () => {
g ? S(r) : b(r);
},
" ": () => C(),
Tab: () => C()
- } }), T = (0, F.useRef)(0), { moveProps: E } = fE({
+ } }), T = (0, F.useRef)(0), { moveProps: E } = mE({
onMoveStart(e) {
T.current = t.getColumnWidth(r.key), e.pointerType === "mouse" && v(!0), b(r);
},
@@ -30115,12 +30115,12 @@ function Tce(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 = kC();
+ let A = Math.floor(t.getColumnWidth(r.key)), j = jC();
j === "virtual" && typeof window < "u" && "ontouchstart" in window && (j = "touch");
- let M = HT(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {
+ let M = WT(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {
"aria-label": l,
"aria-orientation": "horizontal",
- "aria-labelledby": `${d} ${eA(t.tableState, r.key)}`,
+ "aria-labelledby": `${d} ${tA(t.tableState, r.key)}`,
"aria-valuetext": u.format("columnSize", { value: A }),
type: "range",
min: O,
@@ -30128,11 +30128,11 @@ function Tce(e, t, n) {
value: A,
...M
}, N = (0, F.useCallback)(() => {
- n.current && RC(n.current);
- }, [n]), te = t.resizingColumn, P = (0, F.useRef)(null), ne = jw(b);
+ n.current && BC(n.current);
+ }, [n]), te = t.resizingColumn, P = (0, F.useRef)(null), ne = Nw(b);
(0, F.useEffect)(() => {
if (P.current !== te && te != null && te === r.key) {
- h.current = FS() === n.current, ne(r);
+ h.current = LS() === n.current, ne(r);
let e = setTimeout(() => N(), 0), t = setTimeout(N, 400);
return () => {
clearTimeout(e), clearTimeout(t);
@@ -30148,7 +30148,7 @@ function Tce(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 } = sT({
+ }, { pressProps: I } = lT({
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 Tce(e, t, n) {
onPress: (e) => {
(e.pointerType === "touch" && h.current || e.pointerType === "mouse") && t.resizingColumn != null && S(r);
}
- }), { visuallyHiddenProps: ie } = mE();
+ }), { visuallyHiddenProps: ie } = gE();
return {
resizerProps: K(w, {
...E,
@@ -30175,19 +30175,19 @@ function Tce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs
-function Ece(e, t, n) {
+function Tce(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 Dce(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({
+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({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
isVirtualized: i,
shouldSelectOnPressUp: c || a,
- onAction: l || r?.props?.onAction ? zC(r?.props?.onAction, l) : void 0,
+ onAction: l || r?.props?.onAction ? VC(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 Dce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/table/useTableRow.mjs
-function Oce(e) {
+function Dce(e) {
return e && e.__esModule ? e.default : e;
}
-var BA = {
+var VA = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -30214,21 +30214,21 @@ var BA = {
rtl: "ArrowRight"
}
};
-function kce(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Dce(e, t, n), { direction: s } = zw();
+function Oce(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Ece(e, t, n), { direction: s } = Vw();
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 = Gw(Oce(LA), "@react-aria/table"), u = Nw({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = qw(Dce(RA), "@react-aria/table"), u = Fw({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": nA(t, r.key)
+ "aria-labelledby": rA(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = VA(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 = VA(t.collection, a);
+ 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);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === BA.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === BA.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 === 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()));
},
"aria-expanded": i ? t.expandedKeys === "all" || t.expandedKeys.has(r.key) : void 0,
"aria-level": e.level + 1,
@@ -30246,42 +30246,42 @@ function kce(e, t, n) {
};
}
}
- let p = oC(r.props), m = o.hasAction ? p : {};
+ let p = cC(r.props), m = o.hasAction ? p : {};
return {
rowProps: {
...K(a, d, m),
- "aria-labelledby": nA(t, r.key)
+ "aria-labelledby": rA(t, r.key)
},
expandButtonProps: f,
...o
};
}
-function VA(e, t) {
+function HA(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 Ace() {
+function kce() {
return { rowGroupProps: { role: "rowgroup" } };
}
// node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function HA() {
- return Ace();
+function UA() {
+ return kce();
}
// node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function jce(e) {
+function Ace(e) {
return e && e.__esModule ? e.default : e;
}
-function Mce(e, t) {
- let { key: n } = e, { checkboxProps: r } = NO(e, t);
+function jce(e, t) {
+ let { key: n } = e, { checkboxProps: r } = FO(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${nA(t, n)}`
+ "aria-labelledby": `${r.id} ${rA(t, n)}`
} };
}
-function Nce(e) {
+function Mce(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": Gw(jce(LA), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": qw(Ace(RA), "@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 Nce(e) {
} };
}
// node_modules/react-aria/dist/private/tabs/utils.mjs
-var UA = /* @__PURE__ */ new WeakMap();
-function WA(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${UA.get(e)}-${n}-${t}`) : "";
+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}`) : "";
}
// node_modules/react-aria/dist/private/tabs/useTab.mjs
-function Pce(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({
+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({
selectionManager: o,
key: r,
ref: n,
isDisabled: l,
shouldSelectOnPressUp: a ?? u?.props.href != null,
linkBehavior: "selection"
- }), p = WA(t, r, "tab"), m = WA(t, r, "tabpanel"), { tabIndex: h } = d, g = qw(u?.props, { labelable: !0 });
+ }), p = GA(t, r, "tab"), m = GA(t, r, "tabpanel"), { tabIndex: h } = d, g = Yw(u?.props, { labelable: !0 });
delete g.id;
- let _ = sC(u?.props), { focusableProps: v } = rw({
+ let _ = lC(u?.props), { focusableProps: v } = aw({
...u?.props,
isDisabled: l
}, n);
@@ -30323,7 +30323,7 @@ function Pce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var Fce = class {
+var Pce = 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 Fce = class {
}
};
// node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function Ice(e, t, n) {
- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = zw(), { collectionProps: l } = gD({
+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({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, F.useMemo)(() => new Fce(a, c, r, s), [
+ keyboardDelegate: (0, F.useMemo)(() => new Pce(a, c, r, s), [
a,
s,
r,
@@ -30380,9 +30380,9 @@ function Ice(e, t, n) {
disallowEmptySelection: !0,
scrollRef: n,
linkBehavior: "selection"
- }), u = UC();
- return UA.set(t, u), { tabListProps: {
- ...K(l, Nw({
+ }), u = GC();
+ return WA.set(t, u), { tabListProps: {
+ ...K(l, Fw({
...e,
id: u
})),
@@ -30392,12 +30392,12 @@ function Ice(e, t, n) {
} };
}
// node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function Lce(e, t, n) {
- let r = wO(n) ? void 0 : 0, i = WA(t, e.id ?? t?.selectedKey, "tabpanel");
- return { tabPanelProps: K(Nw({
+function Ice(e, t, n) {
+ let r = EO(n) ? void 0 : 0, i = GA(t, e.id ?? t?.selectedKey, "tabpanel");
+ return { tabPanelProps: K(Fw({
...e,
id: i,
- "aria-labelledby": WA(t, t?.selectedKey, "tab")
+ "aria-labelledby": GA(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -30406,265 +30406,265 @@ function Lce(e, t, n) {
}) };
}
// node_modules/react-aria/dist/private/tree/useTree.mjs
-function Rce(e, t, n) {
- let { gridProps: r } = jse(e, t, n);
+function Lce(e, t, n) {
+ let { gridProps: r } = kse(e, t, n);
return r.role = "treegrid", { gridProps: r };
}
// node_modules/react-aria/dist/private/intl/tree/ar-AE.mjs
-var GA = {};
-GA = {
+var KA = {};
+KA = {
collapse: "طي",
expand: "تمديد"
};
// node_modules/react-aria/dist/private/intl/tree/bg-BG.mjs
-var KA = {};
-KA = {
+var qA = {};
+qA = {
collapse: "Свиване",
expand: "Разширяване"
};
// node_modules/react-aria/dist/private/intl/tree/cs-CZ.mjs
-var qA = {};
-qA = {
+var JA = {};
+JA = {
collapse: "Sbalit",
expand: "Roztáhnout"
};
// node_modules/react-aria/dist/private/intl/tree/da-DK.mjs
-var JA = {};
-JA = {
+var YA = {};
+YA = {
collapse: "Skjul",
expand: "Udvid"
};
// node_modules/react-aria/dist/private/intl/tree/de-DE.mjs
-var YA = {};
-YA = {
+var XA = {};
+XA = {
collapse: "Reduzieren",
expand: "Erweitern"
};
// node_modules/react-aria/dist/private/intl/tree/el-GR.mjs
-var XA = {};
-XA = {
+var ZA = {};
+ZA = {
collapse: "Σύμπτυξη",
expand: "Ανάπτυξη"
};
// node_modules/react-aria/dist/private/intl/tree/en-US.mjs
-var ZA = {};
-ZA = {
+var QA = {};
+QA = {
expand: "Expand",
collapse: "Collapse"
};
// node_modules/react-aria/dist/private/intl/tree/es-ES.mjs
-var QA = {};
-QA = {
+var $A = {};
+$A = {
collapse: "Contraer",
expand: "Expandir"
};
// node_modules/react-aria/dist/private/intl/tree/et-EE.mjs
-var $A = {};
-$A = {
+var ej = {};
+ej = {
collapse: "Ahenda",
expand: "Laienda"
};
// node_modules/react-aria/dist/private/intl/tree/fi-FI.mjs
-var ej = {};
-ej = {
+var tj = {};
+tj = {
collapse: "Pienennä",
expand: "Laajenna"
};
// node_modules/react-aria/dist/private/intl/tree/fr-FR.mjs
-var tj = {};
-tj = {
+var nj = {};
+nj = {
collapse: "Réduire",
expand: "Développer"
};
// node_modules/react-aria/dist/private/intl/tree/he-IL.mjs
-var nj = {};
-nj = {
+var rj = {};
+rj = {
collapse: "כווץ",
expand: "הרחב"
};
// node_modules/react-aria/dist/private/intl/tree/hr-HR.mjs
-var rj = {};
-rj = {
+var ij = {};
+ij = {
collapse: "Sažmi",
expand: "Proširi"
};
// node_modules/react-aria/dist/private/intl/tree/hu-HU.mjs
-var ij = {};
-ij = {
+var aj = {};
+aj = {
collapse: "Összecsukás",
expand: "Kibontás"
};
// node_modules/react-aria/dist/private/intl/tree/it-IT.mjs
-var aj = {};
-aj = {
+var oj = {};
+oj = {
collapse: "Comprimi",
expand: "Espandi"
};
// node_modules/react-aria/dist/private/intl/tree/ja-JP.mjs
-var oj = {};
-oj = {
+var sj = {};
+sj = {
collapse: "折りたたむ",
expand: "展開"
};
// node_modules/react-aria/dist/private/intl/tree/ko-KR.mjs
-var sj = {};
-sj = {
+var cj = {};
+cj = {
collapse: "접기",
expand: "펼치기"
};
// node_modules/react-aria/dist/private/intl/tree/lt-LT.mjs
-var cj = {};
-cj = {
+var lj = {};
+lj = {
collapse: "Sutraukti",
expand: "Išskleisti"
};
// node_modules/react-aria/dist/private/intl/tree/lv-LV.mjs
-var lj = {};
-lj = {
+var uj = {};
+uj = {
collapse: "Sakļaut",
expand: "Izvērst"
};
// node_modules/react-aria/dist/private/intl/tree/nb-NO.mjs
-var uj = {};
-uj = {
+var dj = {};
+dj = {
collapse: "Skjul",
expand: "Utvid"
};
// node_modules/react-aria/dist/private/intl/tree/nl-NL.mjs
-var dj = {};
-dj = {
+var fj = {};
+fj = {
collapse: "Samenvouwen",
expand: "Uitvouwen"
};
// node_modules/react-aria/dist/private/intl/tree/pl-PL.mjs
-var fj = {};
-fj = {
+var pj = {};
+pj = {
collapse: "Zwiń",
expand: "Rozwiń"
};
// node_modules/react-aria/dist/private/intl/tree/pt-BR.mjs
-var pj = {};
-pj = {
+var mj = {};
+mj = {
collapse: "Recolher",
expand: "Expandir"
};
// node_modules/react-aria/dist/private/intl/tree/pt-PT.mjs
-var mj = {};
-mj = {
+var hj = {};
+hj = {
collapse: "Colapsar",
expand: "Expandir"
};
// node_modules/react-aria/dist/private/intl/tree/ro-RO.mjs
-var hj = {};
-hj = {
+var gj = {};
+gj = {
collapse: "Restrângeți",
expand: "Extindeți"
};
// node_modules/react-aria/dist/private/intl/tree/ru-RU.mjs
-var gj = {};
-gj = {
+var _j = {};
+_j = {
collapse: "Свернуть",
expand: "Развернуть"
};
// node_modules/react-aria/dist/private/intl/tree/sk-SK.mjs
-var _j = {};
-_j = {
+var vj = {};
+vj = {
collapse: "Zbaliť",
expand: "Rozbaliť"
};
// node_modules/react-aria/dist/private/intl/tree/sl-SI.mjs
-var vj = {};
-vj = {
+var yj = {};
+yj = {
collapse: "Strni",
expand: "Razširi"
};
// node_modules/react-aria/dist/private/intl/tree/sr-SP.mjs
-var yj = {};
-yj = {
+var bj = {};
+bj = {
collapse: " Skupi",
expand: "Proširi"
};
// node_modules/react-aria/dist/private/intl/tree/sv-SE.mjs
-var bj = {};
-bj = {
+var xj = {};
+xj = {
collapse: "Dölj",
expand: "Expandera"
};
// node_modules/react-aria/dist/private/intl/tree/tr-TR.mjs
-var xj = {};
-xj = {
+var Sj = {};
+Sj = {
collapse: "Daralt",
expand: "Genişlet"
};
// node_modules/react-aria/dist/private/intl/tree/uk-UA.mjs
-var Sj = {};
-Sj = {
+var Cj = {};
+Cj = {
collapse: "Згорнути",
expand: "Розгорнути"
};
// node_modules/react-aria/dist/private/intl/tree/zh-CN.mjs
-var Cj = {};
-Cj = {
+var wj = {};
+wj = {
collapse: "折叠",
expand: "扩展"
};
// node_modules/react-aria/dist/private/intl/tree/zh-TW.mjs
-var wj = {};
-wj = {
+var Tj = {};
+Tj = {
collapse: "收合",
expand: "展開"
};
// node_modules/react-aria/dist/private/tree/intlStrings.mjs
-var Tj = {};
-Tj = {
- "ar-AE": GA,
- "bg-BG": KA,
- "cs-CZ": qA,
- "da-DK": JA,
- "de-DE": YA,
- "el-GR": XA,
- "en-US": ZA,
- "es-ES": QA,
- "et-EE": $A,
- "fi-FI": ej,
- "fr-FR": tj,
- "he-IL": nj,
- "hr-HR": rj,
- "hu-HU": ij,
- "it-IT": aj,
- "ja-JP": oj,
- "ko-KR": sj,
- "lt-LT": cj,
- "lv-LV": lj,
- "nb-NO": uj,
- "nl-NL": dj,
- "pl-PL": fj,
- "pt-BR": pj,
- "pt-PT": mj,
- "ro-RO": hj,
- "ru-RU": gj,
- "sk-SK": _j,
- "sl-SI": vj,
- "sr-SP": yj,
- "sv-SE": bj,
- "tr-TR": xj,
- "uk-UA": Sj,
- "zh-CN": Cj,
- "zh-TW": wj
+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
};
// node_modules/react-aria/dist/private/tree/useTreeItem.mjs
-function zce(e) {
+function Rce(e) {
return e && e.__esModule ? e.default : e;
}
-function Ej(e, t, n) {
- let { node: r } = e, i = Mse(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = Gw(zce(Tj), "@react-aria/tree"), s = {
+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 = {
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,
- ...Nw({
+ ...Fw({
"aria-label": a ? o.format("collapse") : o.format("expand"),
"aria-labelledby": i.rowProps.id
})
@@ -30675,15 +30675,15 @@ function Ej(e, t, n) {
};
}
// src/react/components/selection-dock.tsx
-var Dj = "(prefers-reduced-motion: reduce)", Bce = () => matchMedia(Dj).matches, Vce = (e) => {
- let t = matchMedia(Dj);
+var Oj = "(prefers-reduced-motion: reduce)", zce = () => matchMedia(Oj).matches, Bce = (e) => {
+ let t = matchMedia(Oj);
return t.addEventListener("change", e), () => t.removeEventListener("change", e);
-}, Oj = /* @__PURE__ */ new Map(), kj = () => {
+}, kj = /* @__PURE__ */ new Map(), Aj = () => {
let e = document.documentElement;
- Oj.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...Oj.values())}px`) : e.style.removeProperty("--selection-dock-space");
+ kj.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...kj.values())}px`) : e.style.removeProperty("--selection-dock-space");
};
-function Hce({ children: e, count: t, label: n }) {
- let r = (0, F.useRef)(null), i = jx(), a = (0, F.useSyncExternalStore)(Vce, Bce, () => !1), { isFocusVisible: o } = AC(), s = a || o, c = {
+function Vce({ children: e, count: t, label: n }) {
+ let r = (0, F.useRef)(null), i = Nx(), a = (0, F.useSyncExternalStore)(Bce, zce, () => !1), { isFocusVisible: o } = MC(), s = a || o, c = {
opacity: 0,
transform: "translate(-50%, 8px)"
};
@@ -30691,12 +30691,12 @@ function Hce({ children: e, count: t, label: n }) {
let e = r.current;
if (!e || !i) return;
let t = () => {
- Oj.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), kj();
+ kj.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), Aj();
}, n = new ResizeObserver(t);
return n.observe(e), window.addEventListener("resize", t), t(), () => {
- n.disconnect(), window.removeEventListener("resize", t), Oj.delete(e), kj();
+ n.disconnect(), window.removeEventListener("resize", t), kj.delete(e), Aj();
};
- }, [i]), /* @__PURE__ */ (0, I.jsxs)(gS.div, {
+ }, [i]), /* @__PURE__ */ (0, I.jsxs)(vS.div, {
ref: r,
role: "group",
"aria-label": n,
@@ -30729,17 +30729,17 @@ function Hce({ children: e, count: t, label: n }) {
}), e]
});
}
-function Aj({ visible: e, ...t }) {
- return /* @__PURE__ */ (0, I.jsx)(Px, { children: e ? /* @__PURE__ */ (0, I.jsx)(Hce, { ...t }, "selection") : null });
+function jj({ visible: e, ...t }) {
+ return /* @__PURE__ */ (0, I.jsx)(Ix, { children: e ? /* @__PURE__ */ (0, I.jsx)(Vce, { ...t }, "selection") : null });
}
// src/react/batch-dock/batch-dock-api.ts
-var jj = {
+var Mj = {
group: "clear",
operation: "clear",
label: "取消",
glyph: "x"
};
-function Uce(e, t = !1) {
+function Hce(e, t = !1) {
switch (e) {
case "trash": return [
{
@@ -30755,7 +30755,7 @@ function Uce(e, t = !1) {
glyph: "trash",
danger: !0
},
- jj
+ Mj
];
case "junk": return [
t ? {
@@ -30776,7 +30776,7 @@ function Uce(e, t = !1) {
glyph: "trash",
danger: !0
},
- jj
+ Mj
];
case "follow": return [
{
@@ -30797,7 +30797,7 @@ function Uce(e, t = !1) {
label: "忽略",
glyph: "eye-off"
},
- jj
+ Mj
];
default: return [
{
@@ -30831,38 +30831,38 @@ function Uce(e, t = !1) {
glyph: "trash",
danger: !0
},
- jj
+ Mj
];
}
}
// src/react/batch-dock/batch-dock-island.tsx
-var Mj = null, Nj = {
+var Nj = null, Pj = {
count: 0,
context: "catalog",
junkDismissed: !1
-}, Pj = /* @__PURE__ */ new Set();
-function Wce(e) {
- return Pj.add(e), () => {
- Pj.delete(e);
+}, Fj = /* @__PURE__ */ new Set();
+function Uce(e) {
+ return Fj.add(e), () => {
+ Fj.delete(e);
};
}
-function Gce() {
- for (let e of [...Pj]) e();
+function Wce() {
+ for (let e of [...Fj]) e();
}
-var Kce = { render(e) {
- Nj = e, (0, Lt.flushSync)(Gce);
+var Gce = { render(e) {
+ Pj = e, (0, Lt.flushSync)(Wce);
} };
-function qce(e) {
- return Mj = e, Kce;
+function Kce(e) {
+ return Nj = e, Gce;
}
-function Jce() {
- let e = (0, F.useSyncExternalStore)(Wce, () => Nj);
- return Mj ? /* @__PURE__ */ (0, I.jsx)(Yce, {
- host: Mj,
+function qce() {
+ let e = (0, F.useSyncExternalStore)(Uce, () => Pj);
+ return Nj ? /* @__PURE__ */ (0, I.jsx)(Jce, {
+ host: Nj,
props: e
}) : null;
}
-function Yce({ host: e, props: t }) {
+function Jce({ 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 Yce({ host: e, props: t }) {
className: "peach-react",
"data-batch-scope": "",
"data-context": t.context,
- children: /* @__PURE__ */ (0, I.jsx)(Aj, {
+ children: /* @__PURE__ */ (0, I.jsx)(jj, {
label: "所选项目操作",
visible: t.count > 0,
count: `已选 ${t.count.toLocaleString()} 项`,
- children: Uce(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, I.jsxs)("button", {
+ children: Hce(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 Yce({ host: e, props: t }) {
});
}
// src/number-setting.ts
-function Fj(e, t, n, r) {
+function Ij(e, t, n, r) {
return Number.isInteger(e) && e >= t && e <= n ? e : r;
}
// src/settings-store.ts
-function Xce(e, t) {
+function Yce(e, t) {
let n = /* @__PURE__ */ new Set(), r = 0, i = () => {
r += 1, n.forEach((e) => e());
};
@@ -30915,7 +30915,7 @@ function Xce(e, t) {
};
}
// src/sort-preferences.ts
-var Ij = [
+var Lj = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -30924,7 +30924,7 @@ var Ij = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], Lj = ["release", "发行时间"], Rj = [...Ij, Lj].map(([e]) => e), zj = {
+], Rj = ["release", "发行时间"], zj = [...Lj, Rj].map(([e]) => e), Bj = {
rating: ["从高到低", "从低到高"],
o: ["从多到少", "从少到多"],
plays: ["从多到少", "从少到多"],
@@ -30933,43 +30933,43 @@ var Ij = [
new: ["从新到旧", "从旧到新"],
played: ["从近到远", "从远到近"],
release: ["从新到旧", "从旧到新"]
-}, Bj = {
+}, Vj = {
big: ["size", "desc"],
short: ["dur", "asc"],
long: ["dur", "desc"]
-}, Vj = (e, t, n = zj) => (n[e] || [])[+(t === "asc")] || "", Hj = (e, t = zj) => t[e] ? "desc" : "";
-function Uj(e, t, n, r = zj) {
+}, Hj = (e, t, n = Bj) => (n[e] || [])[+(t === "asc")] || "", Uj = (e, t = Bj) => t[e] ? "desc" : "";
+function Wj(e, t, n, r = Bj) {
return e === t ? r[e] ? {
sort: e,
dir: n === "asc" ? "desc" : "asc"
} : null : {
sort: e,
- dir: Hj(e, r)
+ dir: Uj(e, r)
};
}
-function Wj(e, t, n) {
+function Gj(e, t, n) {
return e === "seed" ? "" : e === t && n === "asc" ? "asc" : "desc";
}
-function Gj(e, t, n, r, i = n) {
- let a = e ? Bj[e] : void 0, o = a ? a[0] : e, s = o && Rj.includes(o) ? o : i;
- return zj[s] ? {
+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] ? {
sort: s,
- dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Wj(s, n, r)
+ dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Gj(s, n, r)
} : {
sort: s,
dir: ""
};
}
// src/appearance/home-glow.ts
-var Kj = [
+var qj = [
"spot1",
"spot2",
"spot3"
-], Zce = [
+], Xce = [
"光晕一",
"光晕二",
"光晕三"
-], qj = "native", Jj = [
+], Jj = "native", Yj = [
[
"ash",
"灰雾",
@@ -31275,7 +31275,7 @@ var Kj = [
"rose"
],
[
- qj,
+ Jj,
"玻璃原色",
{
spot1: {
@@ -31293,7 +31293,7 @@ var Kj = [
},
"blue"
]
-], Yj = (e) => e === qj, Xj = [...Jj.map(([e, t]) => [e, t]), ["custom", "自定义"]], Qce = (e) => (Xj.find(([t]) => t === e) || Xj[0])[1], Zj = (e) => structuredClone((Jj.find(([t]) => t === e) || Jj[0])[2]), Qj = [
+], 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 = [
["red", "红"],
["orange", "橙"],
["amber", "琥珀"],
@@ -31306,7 +31306,7 @@ var Kj = [
["violet", "紫罗兰"],
["fuchsia", "品红"],
["rose", "玫红"]
-], $j = "blue", eM = (e) => Qj.some(([t]) => t === e) ? e : $j, $ce = (e) => (Jj.find(([t]) => t === e) || [])[3] || "blue", ele = [
+], eM = "blue", tM = (e) => $j.some(([t]) => t === e) ? e : eM, Qce = (e) => (Yj.find(([t]) => t === e) || [])[3] || "blue", $ce = [
["all", "全部"],
["gray", "灰"],
["red", "红"],
@@ -31316,7 +31316,7 @@ var Kj = [
["blue", "蓝"],
["purple", "紫"],
["brown", "棕"]
-], tle = [
+], ele = [
[
"gray",
"云灰",
@@ -31712,11 +31712,11 @@ var Kj = [
"霁蓝",
"#6686b8"
]
-], tM = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, nM = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, nle = (e, t) => `rgba(${[
+], 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(${[
1,
3,
5
-].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, rle = {
+].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, nle = {
strength: [
0,
100,
@@ -31742,7 +31742,7 @@ var Kj = [
100,
50
]
-}, rM = {
+}, iM = {
on: !0,
preset: "ash",
strength: 100,
@@ -31750,56 +31750,56 @@ var Kj = [
speed: 100,
soften: 50,
size: 50,
- ...Zj("ash")
+ ...Qj("ash")
};
-function iM(e) {
- let t = e && typeof e == "object" ? e : {}, n = Xj.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = Zj(r === "custom" ? "ash" : r), a = {
+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 = {
on: t.on !== !1,
preset: r
};
- for (let [e, [n, r, i]] of Object.entries(rle)) a[e] = tM(+t[e], n, r, i);
- for (let e of Kj) {
+ for (let [e, [n, r, i]] of Object.entries(nle)) a[e] = nM(+t[e], n, r, i);
+ for (let e of qj) {
let r = n && t[e] && typeof t[e] == "object" ? t[e] : {}, o = i[e];
a[e] = {
- color: nM(r.color, o.color),
- alpha: tM(+r.alpha, 0, 100, o.alpha)
+ color: rM(r.color, o.color),
+ alpha: nM(+r.alpha, 0, 100, o.alpha)
};
}
return a;
}
-var ile = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, aM = /* @__PURE__ */ new WeakMap();
-function ale(e, t) {
+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) {
if (!e) return;
- let n = aM.get(e);
- n || (n = /* @__PURE__ */ new Map(), aM.set(e, n));
- let r = t.on && !Yj(t.preset), i = (t, r) => {
+ let n = oM.get(e);
+ n || (n = /* @__PURE__ */ new Map(), oM.set(e, n));
+ let r = t.on && !Xj(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"), Kj.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"), qj.forEach((e, n) => {
let r = t[e];
- i(`--glow-spot-${n + 1}-color`, nle(r.color, r.alpha));
+ i(`--glow-spot-${n + 1}-color`, tle(r.color, r.alpha));
});
}
-function ole(e, t) {
+function ale(e, t) {
if (!e) return;
- let n = !t.on || Yj(t.preset);
+ let n = !t.on || Xj(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 sle = "peach.settings.v1", cle = [
+var ole = "peach.settings.v1", sle = [
"system",
"light",
"dark"
-], oM = [
+], sM = [
0,
7,
30,
90
-], lle = [
+], cle = [
"feedHideGroupCompilations",
"feedHideSoloCompilations",
"feedHideExcerpts"
-], sM = {
+], cM = {
batchSize: 60,
defaultSort: "seed",
sortDefaultsVersion: 3,
@@ -31820,56 +31820,56 @@ var sle = "peach.settings.v1", cle = [
theme: "system",
groupCollapse: !0,
sidebarOrder: [...Ll],
- homeGlow: rM,
- accent: $j,
+ homeGlow: iM,
+ accent: eM,
performerNameLanguage: "zh-CN"
-}, cM = (e, t, n) => t.includes(e) ? e : n;
-function ule(e) {
+}, lM = (e, t, n) => t.includes(e) ? e : n;
+function lle(e) {
let t = e && typeof e == "object" ? e : {}, n = {
- ...sM,
+ ...cM,
...t
};
- n.followInitialDays = oM.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;
+ n.followInitialDays = sM.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 = Bj[n.defaultSort];
- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Fj(+n.batchSize, 1, 200, 60), n.defaultSort = cM(n.defaultSort, Rj, "seed"), n.hoverDelaySeconds = Fj(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Fj(+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 = Fj(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Fj(+n.relatedLimit, 0, 60, 20), n.feedLimit = Fj(+n.feedLimit, 1, 100, 12), Object.assign(n, Qa(n)), n.theme = cM(n.theme, cle, "system"), n.performerNameLanguage = cM(n.performerNameLanguage, ["zh-CN", "ja"], "zh-CN"), n.homeGlow = iM(n.homeGlow), n.accent = eM(n.accent), n.sidebarOrder = Vl(n.sidebarOrder), {
+ 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), {
settings: n,
migrated: r
};
}
-function dle(e) {
+function ule(e) {
let t = {};
try {
t = JSON.parse(e.getItem("peach.settings.v1") || "{}");
} catch {}
- return ule(t);
+ return lle(t);
}
-var lM = null;
-function uM() {
- if (lM) return lM;
- let { settings: e, migrated: t } = dle(localStorage);
- return lM = Xce(sle, e), t && lM.save(), lM;
+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;
}
-function dM(e, t, n = uM()) {
+function fM(e, t, n = dM()) {
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;
- oM.includes(a) && (r.followInitialDays = a, n.save());
- for (let t of lle) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());
+ 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());
let o = e && e.searchHistoryLimit;
- Number.isInteger(o) && o >= 0 && o <= 50 ? o !== r.searchHistoryLimit && (r.searchHistoryLimit = Fj(o, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== sM.searchHistoryLimit && fle(n);
+ 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);
let s = Array.isArray(e && e.sidebarOrder) ? e.sidebarOrder : null;
s && s.length && s.join(",") !== r.sidebarOrder.join(",") && (r.sidebarOrder = s, n.save());
}
-function fle(e = uM()) {
+function dle(e = dM()) {
return wn("/api/settings", {
method: "POST",
body: JSON.stringify({ searchHistoryLimit: e.value.searchHistoryLimit })
}).catch(() => {});
}
// src/appearance/theme.ts
-var ple = [
+var fle = [
[
"system",
"跟随系统",
@@ -31885,31 +31885,31 @@ var ple = [
"深色",
"moon"
]
-], mle = null, fM = () => mle ??= matchMedia("(prefers-color-scheme: dark)"), pM = null;
-function hle() {
- return pM || (pM = document.createElement("style"), pM.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), pM.isConnected || document.head.append(pM), () => {
+], 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), () => {
getComputedStyle(document.documentElement).opacity;
let e = () => {
- cancelAnimationFrame(t), clearTimeout(n), pM?.remove();
+ cancelAnimationFrame(t), clearTimeout(n), mM?.remove();
}, t = requestAnimationFrame(e), n = setTimeout(e, 100);
};
}
-function mM(e = uM().value.theme) {
- let t = hle(), n = document.documentElement;
+function hM(e = dM().value.theme) {
+ let t = mle(), n = document.documentElement;
e === "system" ? delete n.dataset.theme : n.dataset.theme = e;
- let r = e === "dark" || e === "system" && fM().matches;
+ let r = e === "dark" || e === "system" && pM().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 hM = !1;
-function gle() {
- hM || (hM = !0, fM().addEventListener("change", () => {
- uM().value.theme === "system" && mM();
+var gM = !1;
+function hle() {
+ gM || (gM = !0, pM().addEventListener("change", () => {
+ dM().value.theme === "system" && hM();
}));
}
// src/appearance/layout.ts
-var gM = [[
+var _M = [[
"big",
"大图",
"maximize"
@@ -31917,7 +31917,7 @@ var gM = [[
"small",
"小图",
"layout-grid"
-]], _M = [[
+]], vM = [[
"big",
"大图",
"maximize"
@@ -31925,7 +31925,7 @@ var gM = [[
"small",
"小图",
"layout-grid"
-]], vM = [[
+]], yM = [[
"fixed",
"固定比例",
"layout-grid"
@@ -31933,127 +31933,127 @@ var gM = [[
"masonry",
"瀑布流",
"columns-2"
-]], yM = .75, bM = () => uM().value, xM = (e = bM()) => Za(e.javLayout), _le = (e = bM()) => Za(e.homeLayout), SM = (e, t = bM()) => e ? _le(t) : xM(t), CM = _M.map(([e]) => e), wM = vM.map(([e]) => e), TM = (e = bM()) => cM(e.photoSize, CM, "small"), EM = (e = bM()) => cM(e.photoLayout, wM, "masonry"), DM = null;
-function OM(e, t = bM()) {
+]], 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()) {
let n = {
active: e.active,
- size: SM(e.home, t),
+ size: CM(e.home, t),
portrait: e.portrait,
javImage: t.javImage
- }, r = DM;
- return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (DM = n), DM;
+ }, r = OM;
+ return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (OM = n), OM;
}
-function kM(e) {
- return e.portrait ? 9 / 16 : e.active && e.size === "big" ? yM : 16 / 9;
+function AM(e) {
+ return e.portrait ? 9 / 16 : e.active && e.size === "big" ? bM : 16 / 9;
}
-function vle(e, t = uM()) {
+function _le(e, t = dM()) {
t.value.homeLayout = Za(e), t.save();
}
-function AM(e, t = uM()) {
+function jM(e, t = dM()) {
t.value.javLayout = Za(e), t.save();
}
-function yle(e, t = uM()) {
+function vle(e, t = dM()) {
t.value.homeLayout = t.value.javLayout = Za(e), t.save();
}
-function ble(e, t = uM()) {
- t.value.photoSize = cM(e, CM, "small"), t.save();
+function yle(e, t = dM()) {
+ t.value.photoSize = lM(e, wM, "small"), t.save();
}
-function jM(e, t = uM()) {
- t.value.photoLayout = cM(e, wM, "masonry"), t.save();
+function MM(e, t = dM()) {
+ t.value.photoLayout = lM(e, TM, "masonry"), t.save();
}
// src/appearance/density.ts
-var MM = "density", NM = {
+var NM = "density", PM = {
big: "336px",
dense: "168px"
-}, PM = () => localStorage.getItem(MM) === "dense" ? "dense" : "big";
-function FM(e, t) {
- let [n, r] = _M;
+}, FM = () => localStorage.getItem(NM) === "dense" ? "dense" : "big";
+function IM(e, t) {
+ let [n, r] = vM;
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);
}
- IM(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");
+ LM(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");
}
-function IM(e, t, n) {
+function LM(e, t, n) {
e.getAttribute(t) !== n && e.setAttribute(t, n);
}
-var LM = () => document.querySelector("#density");
-function RM(e = PM()) {
+var RM = () => document.querySelector("#density");
+function zM(e = FM()) {
let t = document.documentElement;
- t.style.getPropertyValue("--tile") !== NM[e] && t.style.setProperty("--tile", NM[e]), IM(document.body, "data-density", e);
- let n = LM();
- n && (IM(n, "aria-pressed", String(e === "dense")), IM(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), FM(n, e === "big" ? "big" : "small"));
+ 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"));
}
-function xle() {
- let e = PM() === "big" ? "dense" : "big";
- localStorage.setItem(MM, e), RM(e);
+function ble() {
+ let e = FM() === "big" ? "dense" : "big";
+ localStorage.setItem(NM, e), zM(e);
}
-function Sle(e) {
- let t = LM();
- t && (IM(t, "aria-pressed", String(e === "small")), IM(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), FM(t, e));
+function xle(e) {
+ let t = RM();
+ t && (LM(t, "aria-pressed", String(e === "small")), LM(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), IM(t, e));
}
// src/appearance/glow.ts
-function zM(e = uM()) {
- ale(document.querySelector(".glowlayer"), e.value.homeGlow);
+function BM(e = dM()) {
+ ile(document.querySelector(".glowlayer"), e.value.homeGlow);
}
-var BM = 0;
-function VM(e = uM()) {
- BM ||= requestAnimationFrame(() => {
- BM = 0, zM(e);
+var VM = 0;
+function HM(e = dM()) {
+ VM ||= requestAnimationFrame(() => {
+ VM = 0, BM(e);
});
}
-function HM(e = uM()) {
- ole(document.documentElement, e.value.homeGlow);
+function UM(e = dM()) {
+ ale(document.documentElement, e.value.homeGlow);
}
-function UM(e = uM()) {
+function WM(e = dM()) {
document.documentElement.dataset.accent = e.value.accent;
}
-var WM = (e, t, n) => ({
+var GM = (e, t, n) => ({
key: e,
label: t,
- native: Yj(e),
- fill: Yj(e) ? "" : ile(n)
+ native: Xj(e),
+ fill: Xj(e) ? "" : rle(n)
});
-function Cle(e) {
- let t = Jj.map(([e, t, n]) => WM(e, t, Kj.map((e) => n[e].color)));
- return e.preset === "custom" && t.push(WM("custom", "自定义", Kj.map((t) => e[t].color))), t;
+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;
}
-var wle = Qj;
-function Tle(e, t = uM()) {
+var Cle = $j;
+function wle(e, t = dM()) {
if (e === "custom") return;
let n = t.value.homeGlow;
- n.preset = e, Object.assign(n, Zj(e)), t.value.accent = $ce(e), t.save(), VM(t), HM(t), UM(t);
+ n.preset = e, Object.assign(n, Qj(e)), t.value.accent = Qce(e), t.save(), HM(t), UM(t), WM(t);
}
-function Ele(e, t = uM()) {
- t.value.accent = eM(e), t.save(), UM(t);
+function Tle(e, t = dM()) {
+ t.value.accent = tM(e), t.save(), WM(t);
}
-function Dle(e = uM()) {
+function Ele(e = dM()) {
let t = e.value.homeGlow;
- t.preset = rM.preset, Object.assign(t, Zj(t.preset)), e.value.accent = $j, e.save(), VM(e), HM(e), UM(e);
+ t.preset = iM.preset, Object.assign(t, Qj(t.preset)), e.value.accent = eM, e.save(), HM(e), UM(e), WM(e);
}
-function GM(e, t) {
- e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && Yj(t.preset)), e.toggleAttribute("data-glow-off", !t.on);
+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 Ole(e, t = uM()) {
- return GM(e, t.value.homeGlow), t.subscribe(() => GM(e, t.value.homeGlow));
+function Dle(e, t = dM()) {
+ return KM(e, t.value.homeGlow), t.subscribe(() => KM(e, t.value.homeGlow));
}
// src/react/components/glow-preset-grid.tsx
-function KM({ store: e, label: t, hidden: n }) {
+function qM({ 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: Cle(r).map((t) => /* @__PURE__ */ (0, I.jsx)("button", {
+ children: Sle(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: () => Tle(t.key, e),
+ onClick: () => wle(t.key, e),
children: /* @__PURE__ */ (0, I.jsx)("span", {
"data-glow-ball": "",
"aria-hidden": "true",
@@ -32064,14 +32064,14 @@ function KM({ store: e, label: t, hidden: n }) {
});
}
// src/react/glow-picker/glow-picker-island.tsx
-var qM = null;
-function kle(e) {
- qM = e;
+var JM = null;
+function Ole(e) {
+ JM = e;
}
-function Ale() {
- return qM ? /* @__PURE__ */ (0, I.jsx)(jle, { host: qM }) : null;
+function kle() {
+ return JM ? /* @__PURE__ */ (0, I.jsx)(Ale, { host: JM }) : null;
}
-function jle({ host: e }) {
+function Ale({ 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 jle({ host: e }) {
children: [/* @__PURE__ */ (0, I.jsx)("span", { children: "光晕" }), /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-glow-preset-reset": "",
- onClick: () => Dle(t),
+ onClick: () => Ele(t),
children: "重置"
})]
}),
- /* @__PURE__ */ (0, I.jsx)(KM, {
+ /* @__PURE__ */ (0, I.jsx)(qM, {
store: t,
label: "光晕",
hidden: !n.on
@@ -32101,14 +32101,14 @@ function jle({ host: e }) {
"data-accent-grid": "",
role: "group",
"aria-label": "强调色",
- children: wle.map(([e, n]) => /* @__PURE__ */ (0, I.jsx)("button", {
+ children: Cle.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: () => Ele(e, t),
+ onClick: () => Tle(e, t),
children: /* @__PURE__ */ (0, I.jsx)("span", {
"data-glow-ball": "",
"aria-hidden": "true",
@@ -32126,31 +32126,31 @@ function jle({ host: e }) {
] });
}
// src/player/host.ts
-var JM = null;
-function Mle(e) {
- JM = e;
+var YM = null;
+function jle(e) {
+ YM = e;
}
-function YM() {
- if (!JM) throw Error("播放器还没有接上宿主(configurePlayer)");
- return JM;
+function XM() {
+ if (!YM) throw Error("播放器还没有接上宿主(configurePlayer)");
+ return YM;
}
// src/player/menu.ts
-var XM = null;
-function Nle(e) {
- XM = e;
+var ZM = null;
+function Mle(e) {
+ ZM = e;
}
-function Ple() {
+function Nle() {
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 ZM = null, QM = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
-function $M() {
+var QM = null, $M = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
+function eN() {
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 = "";
- }), ZM &&= (ZM(), null);
+ }), QM &&= (QM(), null);
}
-async function Fle(e) {
+async function Ple(e) {
try {
return await navigator.clipboard.writeText(e), !0;
} catch {
@@ -32163,8 +32163,8 @@ async function Fle(e) {
return t.remove(), n;
}
}
-function Ile(e) {
- let t = !!XM?.inMiniplayer(e), n = e.peachItem, r = XM?.kind(e) ?? "item", i = (t) => {
+function Fle(e) {
+ let t = !!ZM?.inMiniplayer(e), n = e.peachItem, r = ZM?.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 Ile(e) {
}
return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;
}, a = (e, t) => {
- Fle(i(e)).then((e) => YM().toast(e ? t : "复制失败,请手动复制地址栏", {
+ Ple(i(e)).then((e) => XM().toast(e ? t : "复制失败,请手动复制地址栏", {
timeout: 4e3,
warn: !e
}));
@@ -32192,11 +32192,11 @@ function Ile(e) {
}, t ? {
icon: "maximize-2",
label: "展开",
- run: () => XM?.expand()
+ run: () => ZM?.expand()
} : {
icon: "picture-in-picture-2",
label: "迷你播放器",
- run: () => XM?.toMiniplayer()
+ run: () => ZM?.toMiniplayer()
}];
document.pictureInPictureEnabled && o.push({
icon: "player-pip",
@@ -32219,29 +32219,29 @@ function Ile(e) {
run: () => s.click()
}), o;
}
-function Lle(e, t, n) {
- let r = Ple();
- $M();
- let i = YM().stage();
+function Ile(e, t, n) {
+ let r = Nle();
+ eN();
+ let i = XM().stage();
i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");
- let a = Ile(e);
+ let a = Fle(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}">${QM(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? QM(R("check"), "data-player-menu-check") : ""}</button>`;
+ 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>`;
}).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)];
- $M(), n?.run();
+ eN(), n?.run();
};
});
let s = (e) => {
- r.contains(e.target) || $M();
+ r.contains(e.target) || eN();
}, c = (e) => {
if (e.key === "Escape") {
- e.preventDefault(), e.stopPropagation(), $M();
+ e.preventDefault(), e.stopPropagation(), eN();
return;
}
if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
@@ -32249,49 +32249,49 @@ function Lle(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()) && $M();
+ us(t, e.el()) && eN();
};
setTimeout(() => {
document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {
capture: !0,
passive: !0
});
- }, 0), ZM = () => {
+ }, 0), QM = () => {
document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);
}, o[0]?.focus();
}
-function Rle(e) {
+function Lle(e) {
e.el().addEventListener("contextmenu", (t) => {
- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Lle(e, t.clientX, t.clientY));
- }), e.on("dispose", $M);
+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Ile(e, t.clientX, t.clientY));
+ }), e.on("dispose", eN);
}
// src/player/registry.ts
-var eN = null, tN = () => eN;
-function nN(e) {
- eN = e;
-}
+var tN = null, nN = () => tN;
function rN(e) {
+ tN = e;
+}
+function iN(e) {
e && !e.isDisposed() && requestAnimationFrame(() => {
e.isDisposed() || e.trigger("resize");
});
}
// src/player/stats.ts
-function iN(e) {
+function aN(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 zle(e) {
+function Rle(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 aN = 3e3;
-function oN(e, t) {
+var oN = 3e3;
+function sN(e, t) {
let n = Number(e) || 0, r = Kn(t) || 0;
return n > 0 && r > 0 ? n * 8 / r : 0;
}
-function Ble(e) {
+function zle(e) {
let t = [], n = null, r = 0, i = 0;
return {
bitrate: Number(e) || 0,
@@ -32306,10 +32306,10 @@ function Ble(e) {
},
sample(e) {
if (!e) return i;
- let a = performance.now(), o = zle(e), s = e.currentTime || 0;
+ let a = performance.now(), o = Rle(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 > aN * 2 && (t.length = 0);
+ !i && c > 0 && (r += c), e * 1e3 > oN * 2 && (t.length = 0);
}
for (n = {
at: a,
@@ -32318,26 +32318,26 @@ function Ble(e) {
}, t.push({
at: a,
advanced: r
- }); t.length > 2 && a - t[0].at > aN;) t.shift();
+ }); t.length > 2 && a - t[0].at > oN;) 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 sN = 24;
-function cN(e, t) {
- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > sN && e.splice(0, e.length - sN);
+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 lN = "peach-player-panel";
-function uN(e, t, n, r) {
- let i = [...Array(Math.max(0, sN - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {
+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) => {
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 dN() {
+function Ble() {
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>`;
@@ -33056,23 +33056,23 @@ function ON(e, t) {
e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();
}
function Xle(e, t = !0) {
- let n = YM(), r = n.settings();
+ let n = XM(), 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 kN = /* @__PURE__ */ new WeakMap();
function AN(e) {
if (!e) return;
- let t = YM().settings().theaterMode;
+ let t = XM().settings().theaterMode;
e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), kN.get(e)?.(t ? "默认视图" : "影院模式");
}
function jN(e, t = !0) {
- let n = YM(), r = n.settings();
+ let n = XM(), r = n.settings();
r.theaterMode = !!e, t && n.saveSettings();
let i = n.stage();
- i?.toggleAttribute("data-theater", r.theaterMode), AN(i?.querySelector("[data-player-theater]")), rN(tN());
+ i?.toggleAttribute("data-theater", r.theaterMode), AN(i?.querySelector("[data-player-theater]")), iN(nN());
}
function Zle(e) {
- let t = YM().stage(), n = t?.querySelector("[data-ambient-canvas]");
+ let t = XM().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 Zle(e) {
}, u = (t) => {
e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));
}, d = (t, n) => {
- i || t !== o || (YM().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());
+ i || t !== o || (XM().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());
}, f = () => {
- !i && YM().settings().ambientMode && (l(), e.paused || u(++o));
+ !i && XM().settings().ambientMode && (l(), e.paused || u(++o));
}, p = (e) => {
let n = !!e.detail.enabled;
t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());
@@ -33156,11 +33156,11 @@ function MN(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(lN, { detail: "settings" }));
+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || p?.hide(), e && document.dispatchEvent(new CustomEvent(uN, { detail: "settings" }));
}, S = () => x(!1), C = (e) => {
e.detail !== "settings" && S();
};
- document.addEventListener(lN, C);
+ document.addEventListener(uN, 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,7 +33176,7 @@ function MN(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="${YM().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="${XM().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">${TN()}</span><span>字幕</span><b>${z(p?.label() || "关闭")}</b>${R("player-menu-next")}</button>
@@ -33184,7 +33184,7 @@ function MN(e, t, n = 0, r = null) {
<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 = () => {
- Xle(!YM().settings().ambientMode), k();
+ Xle(!XM().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,7 +33288,7 @@ function MN(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(lN, C), w && clearTimeout(w);
+ 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 qle(e, t, {
render: E,
open: () => {
@@ -33305,11 +33305,11 @@ function MN(e, t, n = 0, r = null) {
function Qle(e, t) {
let n = e.el().querySelector(".vjs-control-bar");
if (!n || n.querySelector("[data-player-theater]")) return;
- let r = YM().settings().theaterMode, i = document.createElement("div");
+ let r = XM().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");
kN.set(a, DN(a, "影院模式", "T")), AN(a), a.onclick = (e) => {
- e.stopPropagation(), jN(!YM().settings().theaterMode);
+ e.stopPropagation(), jN(!XM().settings().theaterMode);
};
}
function $le(e) {
@@ -33373,10 +33373,10 @@ function $le(e) {
"loadedmetadata"
], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);
let E = t.querySelector(":scope>.vjs-picture-in-picture-control");
- DN(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), Yle(e, E, DN(E, "画中画"), (e) => YM().toast(e, { warn: !0 }));
+ DN(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), Yle(e, E, DN(E, "画中画"), (e) => XM().toast(e, { warn: !0 }));
let D = t.querySelector(":scope>.vjs-fullscreen-control"), O = r(D, "player-fullscreen-enter"), k = DN(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 ? "退出全屏" : "全屏"), rN(e);
+ e.el().toggleAttribute("data-peach-fullscreen", t), O?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), k(t ? "退出全屏" : "全屏"), iN(e);
};
e.on([
"fullscreenchange",
@@ -33451,7 +33451,7 @@ function eue(e, t) {
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(YM().settings().seekSeconds) || 10), o = [
+ }, a = () => Math.max(1, Number(XM().settings().seekSeconds) || 10), o = [
["play", () => {
e.play();
}],
@@ -33952,9 +33952,9 @@ function lP() {
oP &&= (clearInterval(oP), null), sP &&= (clearInterval(sP), null), cP &&= (clearTimeout(cP), null);
}
async function mue(e, t, n, r = {}) {
- let i = tN();
+ let i = nN();
if (i && !i.isDisposed()) return i;
- let a = YM(), o = r.resume ?? null;
+ let a = XM(), o = r.resume ?? null;
o?.autoplay && (n = !0), r.guidePreview && (n = !1);
let s = () => r.source ? Promise.resolve(r.source) : sue(e), c;
try {
@@ -33984,7 +33984,7 @@ async function mue(e, t, n, r = {}) {
} }
}
});
- nN(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || zN("item", e), Rle(l), l.on("loadedmetadata", () => {
+ rN(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || zN("item", e), Lle(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 mue(e, t, n, r = {}) {
speed: [],
activity: [],
buffer: []
- }, f = Number(r.size ?? e.size) || 0, p = Ble(oN(f, e.duration)), m = 0, h = !1, g = () => tN() === l && !l.isDisposed(), _ = () => {
+ }, f = Number(r.size ?? e.size) || 0, p = zle(sN(f, e.duration)), m = 0, h = !1, g = () => nN() === 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(() => {
@@ -34010,8 +34010,8 @@ async function mue(e, t, n, r = {}) {
p.sample(t);
let x = mN(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 = iN(t);
- cN(d.speed, x), cN(d.activity, C), cN(d.buffer, w);
+ let w = aN(t);
+ lN(d.speed, x), lN(d.activity, C), lN(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 mue(e, t, n, r = {}) {
[
"连接速度",
D,
- uN(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
+ dN(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
],
[
k[0],
k[1],
- uN(d.activity, "activity", Math.max(1, ...d.activity), k[2])
+ dN(d.activity, "activity", Math.max(1, ...d.activity), k[2])
],
[
"缓冲健康",
`${w.toFixed(1)} 秒`,
- uN(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
+ dN(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
],
["播放时间", `${Jn(t.currentTime)} / ${Jn(u || l.duration())}`],
["日期", (/* @__PURE__ */ new Date()).toLocaleString()]
@@ -34055,7 +34055,7 @@ async function mue(e, t, n, r = {}) {
if (!n || l.isDisposed()) return;
let r = v();
r || p.sample(t);
- let i = mN(l, e.id, ZN(), r ? null : p), a = r ? hN(i) : Vle(i, iN(t));
+ let i = mN(l, e.id, ZN(), r ? null : p), a = r ? hN(i) : Vle(i, aN(t));
n.innerHTML = `${R("gauge")}<span class="sr-only">加载速度</span><span>${z(a)}</span>`;
}, C = () => {
let e = y.chrome?.netBadge;
@@ -34087,7 +34087,7 @@ async function mue(e, t, n, r = {}) {
if (!g()) return;
n?.(t?.qualities?.length ? t.qualities : null);
let r = Number(t?.size) || 0;
- r > 0 && !f && (f = r, p.bitrate = oN(r, e.duration));
+ r > 0 && !f && (f = r, p.bitrate = sN(r, e.duration));
}).catch(() => {}), NN(l, e, { thumbnail: !r.source }), r.guidePreview || eue(l, e), PN(l), r.source || FN(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", () => {
@@ -34101,7 +34101,7 @@ var hue = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>
function uP(e, t = null) {
if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", hue), e.querySelector("#playerStatsBtn")) return;
let n = document.createElement("template");
- n.innerHTML = dN();
+ n.innerHTML = Ble();
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);
}
@@ -34121,12 +34121,12 @@ function dP(e, t) {
o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), oP &&= (clearInterval(oP), null));
};
a.onclick = () => {
- o.hidden ? (document.dispatchEvent(new CustomEvent(lN, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), oP && clearInterval(oP), oP = setInterval(n.updateStats, 1e3)) : e();
+ o.hidden ? (document.dispatchEvent(new CustomEvent(uN, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), oP && clearInterval(oP), oP = setInterval(n.updateStats, 1e3)) : e();
};
let t = (t) => {
t.detail !== "stats" && e();
};
- document.addEventListener(lN, t), s = () => document.removeEventListener(lN, t);
+ document.addEventListener(uN, t), s = () => document.removeEventListener(uN, t);
}
let c = e.el().querySelector("video"), l = c ? Zle(c) : () => {}, u = !0, d = () => {
u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, lP()));
@@ -34135,7 +34135,7 @@ function dP(e, t) {
}
function fP(e, t) {
if (t.kind === "immerse") return fue(e, t);
- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = iP(), c = YM(), l = t.chrome === !1 ? null : e.parentElement;
+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = iP(), c = XM(), l = t.chrome === !1 ? null : e.parentElement;
l && uP(l, e);
let u = zN(n, r, i?.index ?? null), d = {
guidePreview: s,
@@ -34161,7 +34161,7 @@ function fP(e, t) {
t && (e.poster = t);
}
let f = null, p = !1, m = () => {}, h = e, g = () => {
- m(), !(f && a?.(f)) && (RN(h), f ? (tN() === f && (nN(null), lP()), WN(f)) : VN(h));
+ m(), !(f && a?.(f)) && (RN(h), f ? (nN() === f && (rN(null), lP()), WN(f)) : VN(h));
};
return mue(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)) : (rue(u, h), n === "follow" ? iue(r, h) : (h.addEventListener("play", () => {
@@ -35422,13 +35422,13 @@ var jde = (e, t) => {
}, Qde = [], sI = (e) => {
let t = (t) => t[e] || Qde;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, cI = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, lI = /^\((?:(\w[\w-]*):)?(.+)\)$/i, $de = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, efe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, tfe = /\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$/, nfe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, rfe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ife = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, uI = (e) => $de.test(e), dI = (e) => !!e && !Number.isNaN(Number(e)), fI = (e) => !!e && Number.isInteger(Number(e)), pI = (e) => e.endsWith("%") && dI(e.slice(0, -1)), mI = (e) => efe.test(e), hI = () => !0, gI = (e) => tfe.test(e) && !nfe.test(e), _I = () => !1, vI = (e) => rfe.test(e), yI = (e) => ife.test(e), bI = (e) => !CI(e) && !jI(e), xI = (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)), SI = (e) => FI(e, zI, _I), CI = (e) => cI.test(e), wI = (e) => FI(e, BI, gI), TI = (e) => FI(e, lfe, dI), EI = (e) => FI(e, HI, hI), DI = (e) => FI(e, VI, _I), OI = (e) => FI(e, LI, _I), kI = (e) => FI(e, RI, yI), AI = (e) => FI(e, UI, vI), jI = (e) => lI.test(e), MI = (e) => II(e, BI), afe = (e) => II(e, VI), NI = (e) => II(e, LI), ofe = (e) => II(e, zI), sfe = (e) => II(e, RI), PI = (e) => II(e, UI, !0), cfe = (e) => II(e, HI, !0), FI = (e, t, n) => {
+}, cI = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, lI = /^\((?:(\w[\w-]*):)?(.+)\)$/i, $de = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, efe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, tfe = /\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$/, nfe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, rfe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ife = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, uI = (e) => $de.test(e), dI = (e) => !!e && !Number.isNaN(Number(e)), fI = (e) => !!e && Number.isInteger(Number(e)), pI = (e) => e.endsWith("%") && dI(e.slice(0, -1)), mI = (e) => efe.test(e), hI = () => !0, afe = (e) => tfe.test(e) && !nfe.test(e), gI = () => !1, _I = (e) => rfe.test(e), vI = (e) => ife.test(e), yI = (e) => !SI(e) && !AI(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) => PI(e, RI, gI), SI = (e) => cI.test(e), CI = (e) => PI(e, zI, afe), wI = (e) => PI(e, ufe, dI), TI = (e) => PI(e, VI, hI), EI = (e) => PI(e, BI, gI), DI = (e) => PI(e, II, gI), OI = (e) => PI(e, LI, vI), kI = (e) => PI(e, HI, _I), AI = (e) => lI.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 = cI.exec(e);
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, II = (e, t, n = !1) => {
+}, FI = (e, t, n = !1) => {
let r = lI.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, LI = (e) => e === "position" || e === "percentage", RI = (e) => e === "image" || e === "url", zI = (e) => e === "length" || e === "size" || e === "bg-size", BI = (e) => e === "length", lfe = (e) => e === "number", VI = (e) => e === "family-name", HI = (e) => e === "number" || e === "weight", UI = (e) => e === "shadow", WI = () => {
+}, 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 = sI("color"), t = sI("font"), n = sI("text"), r = sI("font-weight"), i = sI("tracking"), a = sI("leading"), o = sI("breakpoint"), s = sI("container"), c = sI("spacing"), l = sI("radius"), u = sI("shadow"), d = sI("inset-shadow"), f = sI("text-shadow"), p = sI("drop-shadow"), m = sI("blur"), h = sI("perspective"), g = sI("aspect"), _ = sI("ease"), v = sI("animate"), y = () => [
"auto",
"avoid",
@@ -35454,8 +35454,8 @@ var jde = (e, t) => {
"left-bottom"
], x = () => [
...b(),
- jI,
- CI
+ AI,
+ SI
], S = () => [
"auto",
"hidden",
@@ -35467,8 +35467,8 @@ var jde = (e, t) => {
"contain",
"none"
], w = () => [
- jI,
- CI,
+ AI,
+ SI,
c
], T = () => [
uI,
@@ -35479,31 +35479,31 @@ var jde = (e, t) => {
fI,
"none",
"subgrid",
- jI,
- CI
+ AI,
+ SI
], D = () => [
"auto",
{ span: [
"full",
fI,
- jI,
- CI
+ AI,
+ SI
] },
fI,
- jI,
- CI
+ AI,
+ SI
], O = () => [
fI,
"auto",
- jI,
- CI
+ AI,
+ SI
], k = () => [
"auto",
"min",
"max",
"fr",
- jI,
- CI
+ AI,
+ SI
], A = () => [
"start",
"end",
@@ -35562,13 +35562,13 @@ var jde = (e, t) => {
...w()
], P = () => [
e,
- jI,
- CI
+ AI,
+ SI
], ne = () => [
...b(),
- NI,
- OI,
- { position: [jI, CI] }
+ MI,
+ DI,
+ { position: [AI, SI] }
], re = () => ["no-repeat", { repeat: [
"",
"x",
@@ -35579,25 +35579,25 @@ var jde = (e, t) => {
"auto",
"cover",
"contain",
- ofe,
- SI,
- { size: [jI, CI] }
+ sfe,
+ xI,
+ { size: [AI, SI] }
], I = () => [
pI,
- MI,
- wI
+ jI,
+ CI
], ie = () => [
"",
"none",
"full",
l,
- jI,
- CI
+ AI,
+ SI
], ae = () => [
"",
dI,
- MI,
- wI
+ jI,
+ CI
], oe = () => [
"solid",
"dashed",
@@ -35623,28 +35623,28 @@ var jde = (e, t) => {
], ce = () => [
dI,
pI,
- NI,
- OI
+ MI,
+ DI
], le = () => [
"",
"none",
m,
- jI,
- CI
+ AI,
+ SI
], ue = () => [
"none",
dI,
- jI,
- CI
+ AI,
+ SI
], de = () => [
"none",
dI,
- jI,
- CI
+ AI,
+ SI
], fe = () => [
dI,
- jI,
- CI
+ AI,
+ SI
], pe = () => [
uI,
"full",
@@ -35670,7 +35670,7 @@ var jde = (e, t) => {
"out",
"in-out"
],
- font: [bI],
+ font: [yI],
"font-weight": [
"thin",
"extralight",
@@ -35718,8 +35718,8 @@ var jde = (e, t) => {
"auto",
"square",
uI,
- CI,
- jI,
+ SI,
+ AI,
g
] }],
container: ["container"],
@@ -35727,15 +35727,15 @@ var jde = (e, t) => {
"",
"normal",
"size",
- jI,
- CI
+ AI,
+ SI
] }],
- "container-named": [xI],
+ "container-named": [bI],
columns: [{ columns: [
dI,
"auto",
- CI,
- jI,
+ SI,
+ AI,
s
] }],
"break-after": [{ "break-after": y() }],
@@ -35834,8 +35834,8 @@ var jde = (e, t) => {
z: [{ z: [
fI,
"auto",
- jI,
- CI
+ AI,
+ SI
] }],
basis: [{ basis: [
uI,
@@ -35861,27 +35861,27 @@ var jde = (e, t) => {
"auto",
"initial",
"none",
- CI
+ SI
] }],
grow: [{ grow: [
"",
dI,
- jI,
- CI
+ AI,
+ SI
] }],
shrink: [{ shrink: [
"",
dI,
- jI,
- CI
+ AI,
+ SI
] }],
order: [{ order: [
fI,
"first",
"last",
"none",
- jI,
- CI
+ AI,
+ SI
] }],
"grid-cols": [{ "grid-cols": E() }],
"col-start-end": [{ col: D() }],
@@ -35988,15 +35988,15 @@ var jde = (e, t) => {
"font-size": [{ text: [
"base",
n,
- MI,
- wI
+ jI,
+ CI
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- cfe,
- EI
+ lfe,
+ TI
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -36009,14 +36009,14 @@ var jde = (e, t) => {
"extra-expanded",
"ultra-expanded",
pI,
- CI
+ SI
] }],
"font-family": [{ font: [
- afe,
- DI,
+ ofe,
+ EI,
t
] }],
- "font-features": [{ "font-features": [CI] }],
+ "font-features": [{ "font-features": [SI] }],
"fvn-normal": ["normal-nums"],
"fvn-ordinal": ["ordinal"],
"fvn-slashed-zero": ["slashed-zero"],
@@ -36025,14 +36025,14 @@ var jde = (e, t) => {
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
tracking: [{ tracking: [
i,
- jI,
- CI
+ AI,
+ SI
] }],
"line-clamp": [{ "line-clamp": [
dI,
"none",
- jI,
- TI
+ AI,
+ wI
] }],
leading: [{ leading: [
"none",
@@ -36041,16 +36041,16 @@ var jde = (e, t) => {
] }],
"list-image": [{ "list-image": [
"none",
- jI,
- CI
+ AI,
+ SI
] }],
"list-style-position": [{ list: ["inside", "outside"] }],
"list-style-type": [{ list: [
"disc",
"decimal",
"none",
- jI,
- CI
+ AI,
+ SI
] }],
"text-alignment": [{ text: [
"left",
@@ -36073,15 +36073,15 @@ var jde = (e, t) => {
dI,
"from-font",
"auto",
- jI,
- wI
+ AI,
+ CI
] }],
"text-decoration-color": [{ decoration: P() }],
"underline-offset": [{ "underline-offset": [
dI,
"auto",
- jI,
- CI
+ AI,
+ SI
] }],
"text-transform": [
"uppercase",
@@ -36103,8 +36103,8 @@ var jde = (e, t) => {
indent: [{ indent: w() }],
"tab-size": [{ tab: [
fI,
- jI,
- CI
+ AI,
+ SI
] }],
"vertical-align": [{ align: [
"baseline",
@@ -36115,8 +36115,8 @@ var jde = (e, t) => {
"text-bottom",
"sub",
"super",
- jI,
- CI
+ AI,
+ SI
] }],
whitespace: [{ whitespace: [
"normal",
@@ -36144,8 +36144,8 @@ var jde = (e, t) => {
] }],
content: [{ content: [
"none",
- jI,
- CI
+ AI,
+ SI
] }],
"bg-attachment": [{ bg: [
"fixed",
@@ -36181,23 +36181,23 @@ var jde = (e, t) => {
"tl"
] },
fI,
- jI,
- CI
+ AI,
+ SI
],
radial: [
"",
- jI,
- CI
+ AI,
+ SI
],
conic: [
"",
fI,
- jI,
- CI
+ AI,
+ SI
]
},
- sfe,
- kI
+ cfe,
+ OI
] }],
"bg-color": [{ bg: P() }],
"gradient-from-pos": [{ from: I() }],
@@ -36265,14 +36265,14 @@ var jde = (e, t) => {
] }],
"outline-offset": [{ "outline-offset": [
dI,
- jI,
- CI
+ AI,
+ SI
] }],
"outline-w": [{ outline: [
"",
dI,
- MI,
- wI
+ jI,
+ CI
] }],
"outline-color": [{ outline: P() }],
shadow: [{ shadow: [
@@ -36280,35 +36280,35 @@ var jde = (e, t) => {
"inner",
"none",
u,
- PI,
- AI
+ NI,
+ kI
] }],
"shadow-color": [{ shadow: P() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- PI,
- AI
+ NI,
+ kI
] }],
"inset-shadow-color": [{ "inset-shadow": P() }],
"ring-w": [{ ring: ae() }],
"ring-w-inset": ["ring-inset"],
"ring-color": [{ ring: P() }],
- "ring-offset-w": [{ "ring-offset": [dI, wI] }],
+ "ring-offset-w": [{ "ring-offset": [dI, 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,
- PI,
- AI
+ NI,
+ kI
] }],
"text-shadow-color": [{ "text-shadow": P() }],
opacity: [{ opacity: [
dI,
- jI,
- CI
+ AI,
+ SI
] }],
"mix-blend": [{ "mix-blend": [
...se(),
@@ -36359,7 +36359,7 @@ var jde = (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": [jI, CI] }],
+ "mask-image-radial": [{ "mask-radial": [AI, 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() }],
@@ -36394,111 +36394,111 @@ var jde = (e, t) => {
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
"mask-image": [{ mask: [
"none",
- jI,
- CI
+ AI,
+ SI
] }],
filter: [{ filter: [
"",
"none",
- jI,
- CI
+ AI,
+ SI
] }],
blur: [{ blur: le() }],
brightness: [{ brightness: [
dI,
- jI,
- CI
+ AI,
+ SI
] }],
contrast: [{ contrast: [
dI,
- jI,
- CI
+ AI,
+ SI
] }],
"drop-shadow": [{ "drop-shadow": [
"",
"none",
p,
- PI,
- AI
+ NI,
+ kI
] }],
"drop-shadow-color": [{ "drop-shadow": P() }],
grayscale: [{ grayscale: [
"",
dI,
- jI,
- CI
+ AI,
+ SI
] }],
"hue-rotate": [{ "hue-rotate": [
dI,
- jI,
- CI
+ AI,
+ SI
] }],
invert: [{ invert: [
"",
dI,
- jI,
- CI
+ AI,
+ SI
] }],
saturate: [{ saturate: [
dI,
- jI,
- CI
+ AI,
+ SI
] }],
sepia: [{ sepia: [
"",
dI,
- jI,
- CI
+ AI,
+ SI
] }],
"backdrop-filter": [{ "backdrop-filter": [
"",
"none",
- jI,
- CI
+ AI,
+ SI
] }],
"backdrop-blur": [{ "backdrop-blur": le() }],
"backdrop-brightness": [{ "backdrop-brightness": [
dI,
- jI,
- CI
+ AI,
+ SI
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
dI,
- jI,
- CI
+ AI,
+ SI
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
dI,
- jI,
- CI
+ AI,
+ SI
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
dI,
- jI,
- CI
+ AI,
+ SI
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
dI,
- jI,
- CI
+ AI,
+ SI
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
dI,
- jI,
- CI
+ AI,
+ SI
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
dI,
- jI,
- CI
+ AI,
+ SI
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
dI,
- jI,
- CI
+ AI,
+ SI
] }],
"border-collapse": [{ border: ["collapse", "separate"] }],
"border-spacing": [{ "border-spacing": w() }],
@@ -36514,39 +36514,39 @@ var jde = (e, t) => {
"shadow",
"transform",
"none",
- jI,
- CI
+ AI,
+ SI
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
dI,
"initial",
- jI,
- CI
+ AI,
+ SI
] }],
ease: [{ ease: [
"linear",
"initial",
_,
- jI,
- CI
+ AI,
+ SI
] }],
delay: [{ delay: [
dI,
- jI,
- CI
+ AI,
+ SI
] }],
animate: [{ animate: [
"none",
v,
- jI,
- CI
+ AI,
+ SI
] }],
backface: [{ backface: ["hidden", "visible"] }],
perspective: [{ perspective: [
h,
- jI,
- CI
+ AI,
+ SI
] }],
"perspective-origin": [{ "perspective-origin": x() }],
rotate: [{ rotate: ue() }],
@@ -36562,8 +36562,8 @@ var jde = (e, t) => {
"skew-x": [{ "skew-x": fe() }],
"skew-y": [{ "skew-y": fe() }],
transform: [{ transform: [
- jI,
- CI,
+ AI,
+ SI,
"",
"none",
"gpu",
@@ -36578,8 +36578,8 @@ var jde = (e, t) => {
"translate-none": ["translate-none"],
zoom: [{ zoom: [
fI,
- jI,
- CI
+ AI,
+ SI
] }],
accent: [{ accent: P() }],
appearance: [{ appearance: ["none", "auto"] }],
@@ -36629,8 +36629,8 @@ var jde = (e, t) => {
"nwse-resize",
"zoom-in",
"zoom-out",
- jI,
- CI
+ AI,
+ SI
] }],
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
@@ -36716,15 +36716,15 @@ var jde = (e, t) => {
"scroll",
"contents",
"transform",
- jI,
- CI
+ AI,
+ SI
] }],
fill: [{ fill: ["none", ...P()] }],
"stroke-w": [{ stroke: [
dI,
- MI,
- wI,
- TI
+ jI,
+ CI,
+ wI
] }],
stroke: [{ stroke: ["none", ...P()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
@@ -36982,16 +36982,16 @@ var jde = (e, t) => {
"selection"
]
};
-}, ufe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (GI(e, "cacheSize", t), GI(e, "prefix", n), GI(e, "experimentalParseClassName", r), KI(e.theme, a.theme), KI(e.classGroups, a.classGroups), KI(e.conflictingClassGroups, a.conflictingClassGroups), KI(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), GI(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), GI(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), qI(e.theme, i.theme), qI(e.classGroups, i.classGroups), qI(e.conflictingClassGroups, i.conflictingClassGroups), qI(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), JI(e, i, "postfixLookupClassGroups"), JI(e, i, "orderSensitiveModifiers"), e), GI = (e, t, n) => {
+}, 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) => {
n !== void 0 && (e[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) GI(e, n, t[n]);
-}, qI = (e, t) => {
- if (t) for (let n in t) JI(e, t, n);
-}, JI = (e, t, n) => {
+ if (t) for (let n in t) qI(e, t, n);
+}, qI = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, dfe = (e, ...t) => typeof e == "function" ? oI(WI, e, ...t) : oI(() => ufe(WI(), e), ...t), ffe = [
+}, ffe = (e, ...t) => typeof e == "function" ? oI(UI, e, ...t) : oI(() => dfe(UI(), e), ...t), pfe = [
"large-title",
"display-1",
"display-2",
@@ -37005,17 +37005,17 @@ var jde = (e, t) => {
"body-2",
"caption-1",
"caption-2"
-], pfe = [
+], mfe = [
"regular",
"medium",
"semibold",
"bold"
-], q = dfe({ extend: { classGroups: { "font-size": [{ text: ffe.flatMap((e) => pfe.map((t) => `${e}-${t}`)) }] } } });
-function YI(e) {
+], q = ffe({ extend: { classGroups: { "font-size": [{ text: pfe.flatMap((e) => mfe.map((t) => `${e}-${t}`)) }] } } });
+function JI(e) {
return e;
}
// src/react/components/pill-tab.tsx
-var mfe = typeof window < "u" ? F.useLayoutEffect : F.useEffect, XI = YI({
+var hfe = typeof window < "u" ? F.useLayoutEffect : F.useEffect, YI = JI({
radius: {
blue: "rounded-full",
gray: "rounded-2lg"
@@ -37037,9 +37037,9 @@ var mfe = typeof window < "u" ? F.useLayoutEffect : F.useEffect, XI = YI({
gray: "text-text-primary"
}
});
-function ZI({ children: e, className: t, ref: n, container: r, ...i }) {
+function XI({ children: e, className: t, ref: n, container: r, ...i }) {
let a = (0, F.useRef)(null), [o, s] = (0, F.useState)(null);
- mfe(() => {
+ hfe(() => {
let e = r === void 0 ? a.current : r;
if (!e) return;
let t = () => {
@@ -37075,7 +37075,7 @@ function ZI({ 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", XI.radius[o.variant], XI.thumb[o.variant]),
+ className: q("pointer-events-none absolute left-0 top-0", YI.radius[o.variant], YI.thumb[o.variant]),
style: {
"--pill-left": `${o.left}px`,
"--pill-top": `${o.top}px`,
@@ -37092,37 +37092,37 @@ function ZI({ 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 QI = null, $I = null, eL = /* @__PURE__ */ new Set();
-function hfe(e) {
- return eL.add(e), () => {
- eL.delete(e);
+var ZI = null, QI = null, $I = /* @__PURE__ */ new Set();
+function gfe(e) {
+ return $I.add(e), () => {
+ $I.delete(e);
};
}
-function gfe() {
- for (let e of [...eL]) e();
+function _fe() {
+ for (let e of [...$I]) e();
}
-var _fe = { render(e) {
- $I = e, (0, Lt.flushSync)(gfe);
+var vfe = { render(e) {
+ QI = e, (0, Lt.flushSync)(_fe);
} };
-function vfe(e) {
- return QI = e, $I = null, _fe;
+function yfe(e) {
+ return ZI = e, QI = null, vfe;
}
-function yfe() {
- let e = (0, F.useSyncExternalStore)(hfe, () => $I);
- return QI && e ? /* @__PURE__ */ (0, I.jsx)(bfe, {
- host: QI,
+function bfe() {
+ let e = (0, F.useSyncExternalStore)(gfe, () => QI);
+ return ZI && e ? /* @__PURE__ */ (0, I.jsx)(xfe, {
+ host: ZI,
props: e
}) : null;
}
-function bfe({ host: e, props: t }) {
+function xfe({ host: e, props: t }) {
let n = GF(t);
return n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(xfe, {
+ /* @__PURE__ */ (0, I.jsx)(Sfe, {
host: e,
pressed: n.pressed,
menu: t.menu
}),
- n.crumb ? /* @__PURE__ */ (0, I.jsx)(Sfe, {
+ n.crumb ? /* @__PURE__ */ (0, I.jsx)(Cfe, {
host: e,
label: n.crumb
}) : null,
@@ -37131,13 +37131,13 @@ function bfe({ host: e, props: t }) {
"data-compact": n.compact ? "" : void 0,
children: n.title
}),
- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, I.jsx)(Cfe, {
+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, I.jsx)(wfe, {
host: e,
lede: n.lede
})
] }) : null;
}
-function xfe({ host: e, pressed: t, menu: n }) {
+function Sfe({ 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 xfe({ host: e, pressed: t, menu: n }) {
}, [t, n]), /* @__PURE__ */ (0, I.jsx)("nav", {
"data-manage-bar": "",
"aria-label": "管理",
- children: /* @__PURE__ */ (0, I.jsx)(ZI, {
+ children: /* @__PURE__ */ (0, I.jsx)(XI, {
ref: r,
"data-manage-menu": "",
"data-pill-nav": "",
@@ -37167,7 +37167,7 @@ function xfe({ host: e, pressed: t, menu: n }) {
})
});
}
-function Sfe({ host: e, label: t }) {
+function Cfe({ host: e, label: t }) {
return /* @__PURE__ */ (0, I.jsx)("nav", {
"data-manage-crumb": "",
"aria-label": "当前位置",
@@ -37183,14 +37183,14 @@ function Sfe({ host: e, label: t }) {
})] })
});
}
-function Cfe({ host: e, lede: t }) {
+function wfe({ 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: JF }
- }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(wfe, { text: t.text }), t.total ? /* @__PURE__ */ (0, I.jsx)("button", {
+ }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Tfe, { text: t.text }), t.total ? /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-empty-trash": "",
"data-danger": "",
@@ -37200,7 +37200,7 @@ function Cfe({ host: e, lede: t }) {
}) : null] })
});
}
-function wfe({ text: e }) {
+function Tfe({ text: e }) {
let t = (0, F.useRef)(null);
return (0, F.useLayoutEffect)(() => {
qs(t.current, e);
@@ -37210,29 +37210,29 @@ function wfe({ text: e }) {
});
}
// src/core/text-lang.ts
-var Tfe = /[぀-ヿㇰ-ㇿヲ-゚]/, Efe = /[㐀-鿿豈-﫿]/, Dfe = /[A-Za-z]/;
-function tL(e) {
+var Efe = /[぀-ヿㇰ-ㇿヲ-゚]/, Dfe = /[㐀-鿿豈-﫿]/, Ofe = /[A-Za-z]/;
+function eL(e) {
let t = String(e ?? "");
- if (Tfe.test(t)) return "ja";
- if (!Efe.test(t) && Dfe.test(t)) return "en";
+ if (Efe.test(t)) return "ja";
+ if (!Dfe.test(t) && Ofe.test(t)) return "en";
}
-var Ofe = (e) => {
- let t = tL(e);
+var kfe = (e) => {
+ let t = eL(e);
return t ? ` lang="${t}"` : "";
-}, kfe = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Afe = (e, t = e?.name) => {
+}, Afe = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, jfe = (e, t = e?.name) => {
let n = String(t || "").trim();
- return e?.is_jav ? n.replace(kfe, "") : n;
-}, jfe = (e) => /[぀-ヿ㐀-鿿]/.test(String(e || "")), Mfe = (e) => {
+ return e?.is_jav ? n.replace(Afe, "") : n;
+}, Mfe = (e) => /[぀-ヿ㐀-鿿]/.test(String(e || "")), Nfe = (e) => {
let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);
- return t.find(jfe) || t[0] || "";
+ return t.find(Mfe) || t[0] || "";
};
-function nL(e, t = e?.name) {
- let n = Afe(e, t), r = String(e?.code || "").trim().toUpperCase();
+function tL(e, t = e?.name) {
+ let n = jfe(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 = Mfe(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 = 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) => [
"中字",
"无码",
"无码破解"
@@ -37243,23 +37243,23 @@ function nL(e, t = e?.name) {
badges: f
};
}
-var rL = (e, t = e?.name) => {
- let { code: n, title: r, badges: i = [] } = nL(e, t);
+var nL = (e, t = e?.name) => {
+ let { code: n, title: r, badges: i = [] } = tL(e, t);
return n ? [
n,
...i,
r
].filter(Boolean).join(" ") : r;
};
-function iL(e, t = e?.name) {
- let { code: n, title: r, badges: i = [] } = nL(e, t);
+function rL(e, t = e?.name) {
+ let { code: n, title: r, badges: i = [] } = tL(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"${Ofe(r)}>${z(r)}</span>` : ""}`;
+ return `<span class="ui-javidentity"><strong class="ui-javcode">${z(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle"${kfe(r)}>${z(r)}</span>` : ""}`;
}
// src/react/activity/tasks.ts
-var aL = "/api/tasks", oL = ["tasks"];
-function Nfe(e, t) {
+var iL = "/api/tasks", aL = ["tasks"];
+function Pfe(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 Nfe(e, t) {
settled: n - r
};
}
-function Pfe(e) {
+function Ffe(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
let e = t.get(n.task_key);
@@ -37281,11 +37281,11 @@ function Pfe(e) {
}
return [...t.values()];
}
-var Ffe = (e, t) => B(`${aL}?${new URLSearchParams({
+var Ife = (e, t) => B(`${iL}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function Ife(...e) {
+function Lfe(...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 Ife(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var Lfe = 2e3, Rfe = 1e4, sL = (e) => e?.running?.length ? Lfe : Rfe, cL = (e) => B(aL, e), zfe = (e, t, n) => V(`${aL}/${e}/control`, { action: t }, "POST", n);
-async function Bfe(e) {
+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) {
await H.fetchQuery({
- queryKey: oL,
- queryFn: () => cL(e)
+ queryKey: aL,
+ queryFn: () => sL(e)
});
}
-var Vfe = {
+var Hfe = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, Hfe = {
+}, Ufe = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "意外中断"
-}, Ufe = (e) => Hfe[e] || e, lL = {
+}, Wfe = (e) => Ufe[e] || e, cL = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -37389,7 +37389,7 @@ var Vfe = {
without_code: "未识别番号",
incomplete: "资料或封面未取得",
result: "结果"
-}, Wfe = [
+}, Gfe = [
"gone_count",
"unclear_count",
"source_failed",
@@ -37411,14 +37411,14 @@ var Vfe = {
"paused_count",
"miss",
"incomplete"
-], Gfe = ["face_match_unavailable"], uL = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || Gfe.some((t) => e.result_summary?.[t] === !0) || Wfe.some((t) => Number(e.result_summary?.[t]) > 0);
-function Kfe(e) {
+], 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) {
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 dL = /* @__PURE__ */ new Set(["library-processing"]);
-function qfe(e, t = !0) {
- if (!uL(e) && e.status !== "failed" || dL.has(e.task_key) && !t) return null;
+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;
let n = {
"link-check": ["/data-cleanup#link-manager", "查看有问题的链接"],
"link-prune": ["/data-cleanup#link-manager", "查看有问题的链接"],
@@ -37436,19 +37436,19 @@ function qfe(e, t = !0) {
label: n[1]
} : null;
}
-function Jfe(e) {
+function Yfe(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 Yfe(e) {
+function Xfe(e) {
let t = /* @__PURE__ */ new Map();
- for (let n of e) dL.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) uL.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 Xfe(e) {
+function Zfe(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 Xfe(e) {
}
return t;
}
-function Zfe(e, t) {
+function Qfe(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -37479,12 +37479,12 @@ function Zfe(e, t) {
}
return n;
}
-var Qfe = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !uL(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), fL = (e) => e.status === "pending" || e.status === "running";
-function $fe(e) {
+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) {
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, hL(e.error) || ope(o) || (fL(e) && i > 0 ? `${mL(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
+ return [r, mL(e.error) || spe(o) || (dL(e) && i > 0 ? `${pL(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
}
-function pL(e) {
+function fL(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 pL(e) {
let r = Math.floor(n / 60);
return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;
}
-function mL(e, t) {
+function pL(e, t) {
let n = Math.max(0, Number(t) || 0);
return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;
}
-function epe(e) {
+function tpe(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 hL(e) {
- let t = epe(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);
+function mL(e) {
+ let t = tpe(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);
return n ? bn(n[1]) : t;
}
-var tpe = {
+var npe = {
partial: "处理已结束,部分项目需处理",
complete: "处理完成",
interrupted: "处理已中断",
@@ -37523,11 +37523,11 @@ var tpe = {
三站都没对上她: "三个来源均未找到与该人物相符的资料页",
已有身份: "已有创作者分类",
已变: "资料已被其他操作修改,本次未保存"
-}, gL = {
+}, hL = {
avwikidb: "AVWikiDB",
javdb: "JavDB",
"minnano-av": "みんなのAV"
-}, npe = {
+}, rpe = {
like: "标记喜欢",
seen: "标记看过",
later: "加入稍后看",
@@ -37538,8 +37538,8 @@ var tpe = {
"dismiss-junk": "确认不是垃圾",
"reconsider-junk": "重新判定垃圾",
region: "判定产地"
-}, rpe = (e) => tpe[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${gL[t.toLowerCase()]} 资料页` : `已保存来自 ${gL[t.toLowerCase()]} 的资料`);
-function _L(e) {
+}, ipe = (e) => npe[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${hL[t.toLowerCase()]} 资料页` : `已保存来自 ${hL[t.toLowerCase()]} 的资料`);
+function gL(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -37549,7 +37549,7 @@ function _L(e) {
minute: "2-digit"
});
}
-var ipe = /* @__PURE__ */ new Set([
+var ape = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -37558,20 +37558,20 @@ var ipe = /* @__PURE__ */ new Set([
"completed_at",
"finished_at"
]);
-function vL(e) {
- let t = ape(e);
+function _L(e) {
+ let t = ope(e);
return e?.face_match_unavailable === !0 && !t.some((e) => /不可用|未生效/.test(e)) && t.push("人脸模型不可用,未做人脸核对"), t;
}
-function ape(e) {
- return Object.entries(e || {}).filter(([e, t]) => !ipe.has(e) && (e in lL || 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" ? hL(String(t)) : e === "outcome" || e === "result" ? rpe(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${lL[e]} ${Yn(Number(t))}` : e === "operation" ? `操作:${npe[String(t)] || "批量操作"}` : `${lL[e]} ${typeof t == "number" ? t.toLocaleString() : 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}`);
}
-var ope = (e) => vL(e).join(" · ");
+var spe = (e) => _L(e).join(" · ");
// src/react/use-entity-names.ts
-function yL() {
+function vL() {
return (0, F.useSyncExternalStore)(Jt, qt, qt);
}
// src/react/components/async-text.tsx
-function bL({ text: e, busy: t, placeholder: n }) {
+function yL({ 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 bL({ text: e, busy: t, placeholder: n }) {
});
}
// src/react/boardui/components/base/buttons/icon-button.tsx
-var xL = YI({
+var bL = JI({
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 xL = YI({
small: "size-4 shrink-0"
}
});
-function SL({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function xL({ 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(xL.base, xL.size[t], n),
+ className: q(bL.base, bL.size[t], n),
...a,
children: /* @__PURE__ */ (0, I.jsx)(e, {
- className: xL.icon[t],
+ className: bL.icon[t],
"aria-hidden": !0
})
});
}
// src/react/components/glass-drift.tsx
-function CL() {
+function SL() {
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-glass-drift": "",
"aria-hidden": "true",
@@ -37630,7 +37630,7 @@ function CL() {
});
}
// src/react/components/use-stuck.ts
-function wL(e) {
+function CL(e) {
(0, F.useEffect)(() => {
let t = e.current;
if (!t) return;
@@ -37647,7 +37647,7 @@ function wL(e) {
}, [e]);
}
// src/react/components/use-horizontal-scroller.ts
-function TL(e, t = !0) {
+function wL(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 TL(e, t = !0) {
}, [n, t]), i;
}
// src/react/components/filter-glass.tsx
-var spe = ({ className: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var cpe = ({ className: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
className: e,
dangerouslySetInnerHTML: { __html: zs("正在处理") }
});
-function EL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {
- return /* @__PURE__ */ (0, I.jsx)(SL, {
+function TL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {
+ return /* @__PURE__ */ (0, I.jsx)(xL, {
...a,
"data-filter-action": "",
size: "small",
- icon: n && r === "spinner" ? spe : t,
+ icon: n && r === "spinner" ? cpe : t,
"aria-label": e,
title: a.title || e,
"aria-busy": n || void 0,
@@ -37681,9 +37681,9 @@ function EL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress
}
});
}
-function cpe({ title: e, children: t }) {
+function lpe({ title: e, children: t }) {
let n = (0, F.useRef)(null);
- return wL(n), /* @__PURE__ */ (0, I.jsxs)("div", {
+ return CL(n), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: n,
role: "group",
"aria-label": e,
@@ -37696,13 +37696,13 @@ function cpe({ title: e, children: t }) {
children: e
}),
t,
- /* @__PURE__ */ (0, I.jsx)(CL, {})
+ /* @__PURE__ */ (0, I.jsx)(SL, {})
]
});
}
-function DL({ 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 = TL(), p = TL(u);
- return wL(d), /* @__PURE__ */ (0, I.jsxs)("div", {
+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", {
ref: d,
role: "group",
"aria-label": e,
@@ -37727,27 +37727,27 @@ function DL({ 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)(CL, {})
+ /* @__PURE__ */ (0, I.jsx)(SL, {})
]
});
}
-var lpe = "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 OL({ children: e, pressed: t, onPress: n, className: r, ...i }) {
+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 }) {
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
...i,
"aria-pressed": t,
- className: q(lpe, r),
+ className: q(upe, r),
onClick: n,
children: e
});
}
-var upe = "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 kL({ children: e, onPress: t, busy: n = !1 }) {
+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 }) {
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-glass-pill": "",
- className: upe,
+ className: dpe,
"aria-busy": n || void 0,
"aria-disabled": n || void 0,
onClick: () => {
@@ -37757,13 +37757,13 @@ function kL({ children: e, onPress: t, busy: n = !1 }) {
});
}
// src/react/components/use-view-glide.ts
-var AL = (e, t) => [
+var kL = (e, t) => [
"x",
"y",
"w",
"h"
].every((n) => e[n] === t[n]);
-function jL(e, t, n) {
+function AL(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 jL(e, t, n) {
h: e.offsetHeight
};
}
-function ML(e, t, n, r, { axis: i = "x" } = {}) {
+function jL(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 ? jL(u, l, i) : null;
+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? AL(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 && AL(f, d)) && Vc(s, o ? f : null, d, i);
+ s.hidden = !1, a.current = d, !(o && f && kL(f, d)) && Vc(s, o ? f : null, d, i);
}, [
e,
t,
@@ -37818,8 +37818,8 @@ function ML(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 ? jL(o, r, i) : null, l = a.current;
- s && l && AL(s, l) || c();
+ 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();
}), u = t.current;
if (u && r) {
l.observe(u);
@@ -37850,7 +37850,7 @@ function ML(e, t, n, r, { axis: i = "x" } = {}) {
};
}
// src/react/boardui/components/base/buttons/button.tsx
-var NL = YI({
+var ML = JI({
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(NL.base, NL.size[t], NL.variant[e], n && NL.iconOnlySize[t], o),
+ className: q(ML.base, ML.size[t], ML.variant[e], n && ML.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, I.jsx)(r, {
- className: NL.icon[t],
+ className: ML.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, I.jsx)("span", {
- className: NL.label[t],
+ className: ML.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, I.jsx)(i, {
- className: NL.icon[t],
+ className: ML.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function PL({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
+function NL({ 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(NL.base, NL.size[t], NL.variant[e], n && NL.iconOnlySize[t], o),
+ className: q(ML.base, ML.size[t], ML.variant[e], n && ML.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, I.jsx)(r, {
- className: NL.icon[t],
+ className: ML.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, I.jsx)("span", {
- className: NL.label[t],
+ className: ML.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, I.jsx)(i, {
- className: NL.icon[t],
+ className: ML.icon[t],
"aria-hidden": !0
}) : null
]
});
}
// node_modules/react-aria-components/dist/private/utils.mjs
-var FL = Symbol("default");
-function IL({ values: e, children: t }) {
+var PL = Symbol("default");
+function FL({ values: e, children: t }) {
for (let [n, r] of e) t = /*#__PURE__*/ F.createElement(n.Provider, { value: r }, t);
return t;
}
-function LL(e) {
+function IL(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 LL(e) {
c
]);
}
-function RL(e, t) {
+function LL(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 || FL;
+ let e = t || PL;
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 RL(e, t) {
}
return n;
}
-function zL(e, t, n) {
- let { ref: r, ...i } = RL(n, e.slot) || {}, a = ew((0, F.useMemo)(() => GC(t, r), [t, r])), o = K(i, e);
+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);
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 zL(e, t, n) {
...e.style
}), [o, a];
}
-function BL(e = !0) {
+function zL(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 US(() => {
+ return GS(() => {
r.current || n(!1);
}, []), [i, t];
}
-function VL(e) {
+function BL(e) {
let t = /^(data-.*)$/, n = {};
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function dpe(e, t, n) {
- let { render: r, ...i } = t, a = (0, F.useRef)(null), o = (0, F.useMemo)(() => GC(n, a), [n, a]);
- US(() => {}, [e, r]);
+function fpe(e, t, n) {
+ let { render: r, ...i } = t, a = (0, F.useRef)(null), o = (0, F.useMemo)(() => qC(n, a), [n, a]);
+ GS(() => {}, [e, r]);
let s = {
...i,
ref: o
};
return r ? r(s, void 0) : /*#__PURE__*/ F.createElement(e, s);
}
-var HL = {}, UL = new Proxy({}, { get(e, t) {
+var VL = {}, HL = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
- let n = HL[t];
- return n || (n = /*#__PURE__*/ (0, F.forwardRef)(dpe.bind(null, t)), HL[t] = n), n;
-} }), WL = /*#__PURE__*/ (0, F.createContext)(null), GL = /*#__PURE__*/ (0, F.createContext)(null), KL = /*#__PURE__*/ (0, F.createContext)(null), qL = {
+ 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 = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
- return JL(e, null, t);
+ return qL(e, null, t);
},
CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {
- return JL(e, t, n);
+ return qL(e, t, n);
}
};
-function JL(e, t, n) {
- return TS({
+function qL(e, t, n) {
+ return DS({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
children(t) {
@@ -38039,11 +38039,11 @@ function JL(e, t, n) {
type: "item",
key: t.key,
dropPosition: "before"
- }), r, fpe(e, t, n));
+ }), r, ppe(e, t, n));
}
});
}
-function fpe(e, t, n) {
+function ppe(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 fpe(e, t, n) {
}
return s;
}
-var YL = /*#__PURE__*/ (0, F.createContext)(qL);
-function XL(e) {
+var JL = /*#__PURE__*/ (0, F.createContext)(KL);
+function YL(e) {
return (0, F.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);
}
// node_modules/react-aria-components/dist/private/Label.mjs
-var ZL = /*#__PURE__*/ (0, F.createContext)({}), QL = /*#__PURE__*/ aw(function(e, t) {
- [e, t] = zL(e, t, ZL);
- let { elementType: n = "label", ...r } = e, i = UL[n];
+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];
return /*#__PURE__*/ F.createElement(i, {
className: "react-aria-Label",
...r,
ref: t
});
-}), ppe = /*#__PURE__*/ (0, F.createContext)(null), $L = /*#__PURE__*/ (0, F.createContext)({}), eR = /*#__PURE__*/ aw(function(e, t) {
- [e, t] = zL(e, t, $L);
- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Noe(e, t);
- i = hpe(i, r);
- let { focusProps: o, isFocused: s, isFocusVisible: c } = ND(e), { hoverProps: l, isHovered: u } = LD({
+}), 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({
...e,
isDisabled: e.isDisabled || r
}), d = {
@@ -38089,24 +38089,24 @@ var ZL = /*#__PURE__*/ (0, F.createContext)({}), QL = /*#__PURE__*/ aw(function(
isFocusVisible: c,
isDisabled: e.isDisabled || !1,
isPending: r ?? !1
- }, f = LL({
+ }, f = IL({
...e,
values: d,
defaultClassName: "react-aria-Button"
- }), p = UC(i.id), m = UC(), h = i["aria-labelledby"];
+ }), p = GC(i.id), m = GC(), 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) && PT(e, "assertive"), g.current = r;
+ (!g.current && s && r || g.current && s && !r) && IT(e, "assertive"), g.current = r;
}, [
r,
s,
h,
p
]);
- let _ = qw(e, { global: !0 });
- return delete _.onClick, /*#__PURE__*/ F.createElement(UL.button, {
+ let _ = Yw(e, { global: !0 });
+ return delete _.onClick, /*#__PURE__*/ F.createElement(HL.button, {
...K(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
@@ -38120,61 +38120,61 @@ var ZL = /*#__PURE__*/ (0, F.createContext)({}), QL = /*#__PURE__*/ aw(function(
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ F.createElement(ppe.Provider, { value: { id: m } }, f.children));
-}), mpe = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
-function hpe(e, t) {
+ }, /*#__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) {
if (t) {
- for (let t in e) t.startsWith("on") && !mpe.test(t) && (e[t] = void 0);
+ for (let t in e) t.startsWith("on") && !hpe.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 tR = /*#__PURE__*/ (0, F.createContext)({}), nR = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = zL(e, t, tR);
- let { children: n, level: r = 3, className: i, ...a } = e, o = UL[`h${r}`];
+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}`];
return /*#__PURE__*/ F.createElement(o, {
...a,
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), rR = /*#__PURE__*/ (0, F.createContext)({}), gpe = /*#__PURE__*/ aw(function(e, t) {
- [e, t] = zL(e, t, rR);
- let { elementType: n = "span", ...r } = e, i = UL[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];
return /*#__PURE__*/ F.createElement(i, {
className: "react-aria-Text",
...r,
ref: t
});
-}), iR = /*#__PURE__*/ (0, F.createContext)(null), aR = /*#__PURE__*/ (0, F.createContext)(null), oR = /*#__PURE__*/ (0, F.createContext)(null), sR = /*#__PURE__*/ (0, F.createContext)(null), _pe = /*#__PURE__*/ (0, F.createContext)(null), cR = /*#__PURE__*/ (0, F.createContext)(null);
-function vpe(e, t) {
- let { validationBehavior: n } = RL(aR) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useContext)(_pe), a = ew((0, F.useMemo)(() => GC(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
- ...VL(e),
+}), 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),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
- return [i ? nse(o, i, a) : tE(o, oE(e), a), a];
+ return [i ? ese(o, i, a) : rE(o, cE(e), a), a];
}
-var ype = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+var bpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = zL(r, t, oR);
- let [i, a] = vpe(e, n);
- return /*#__PURE__*/ F.createElement(cR.Provider, { value: {
+ [e, t] = RL(r, t, aR);
+ let [i, a] = ype(e, n);
+ return /*#__PURE__*/ F.createElement(sR.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
isIndeterminate: e.isIndeterminate,
isRequired: e.isRequired
- } }, /*#__PURE__*/ F.createElement(bpe, {
+ } }, /*#__PURE__*/ F.createElement(xpe, {
...e,
ref: t
}));
-}), bpe = /*#__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)(cR), { isFocused: p, isFocusVisible: m, focusProps: h } = ND(), g = a || o, { hoverProps: _, isHovered: v } = LD({
+}), 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({
...e,
isDisabled: g
- }), y = LL({
+ }), y = IL({
...e,
defaultClassName: u,
values: {
@@ -38189,8 +38189,8 @@ var ype = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
isInvalid: c,
isRequired: f || !1
}
- }), b = qw(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(UL.label, {
+ }), b = Yw(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(HL.label, {
...K(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -38204,20 +38204,20 @@ var ype = /*#__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(hE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {
+ }, /*#__PURE__*/ F.createElement(_E, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {
...K(r, h),
ref: l
})), y.children);
-}), lR = /*#__PURE__*/ (0, F.createContext)({}), uR = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = zL(e, t, lR);
+}), cR = /*#__PURE__*/ (0, F.createContext)({}), lR = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = RL(e, t, cR);
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 } = LD({
+ let { hoverProps: l, isHovered: u } = zD({
onHoverStart: a,
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = ND({ within: !0 }), m = LL({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = FD({ within: !0 }), m = IL({
...e,
values: {
isHovered: u,
@@ -38228,7 +38228,7 @@ var ype = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Group"
});
- return /*#__PURE__*/ F.createElement(UL.div, {
+ return /*#__PURE__*/ F.createElement(HL.div, {
...K(c, p, l),
...m,
ref: t,
@@ -38241,18 +38241,18 @@ var ype = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), dR = /*#__PURE__*/ (0, F.createContext)({}), xpe = (e) => {
+}), uR = /*#__PURE__*/ (0, F.createContext)({}), Spe = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, Spe = /*#__PURE__*/ aw(function(e, t) {
- [e, t] = zL(e, t, dR);
- let { hoverProps: n, isHovered: r } = LD({
+}, Cpe = /*#__PURE__*/ sw(function(e, t) {
+ [e, t] = RL(e, t, uR);
+ let { hoverProps: n, isHovered: r } = zD({
...e,
isDisabled: e.disabled
- }), { isFocused: i, isFocusVisible: a, focusProps: o } = ND({
+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = FD({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = LL({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = IL({
...e,
values: {
isHovered: r,
@@ -38263,8 +38263,8 @@ var ype = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Input"
});
- return /*#__PURE__*/ F.createElement(UL.input, {
- ...K(xpe(e), o, n),
+ return /*#__PURE__*/ F.createElement(HL.input, {
+ ...K(Spe(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -38273,24 +38273,24 @@ var ype = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), Cpe = 0, wpe = 100, Tpe = 1;
-function Epe(e) {
- let { isDisabled: t = !1, minValue: n = Cpe, maxValue: r = wpe, numberFormatter: i, step: a = Tpe, orientation: o = "horizontal" } = e, s = (0, F.useMemo)(() => {
+}), 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)(() => {
let e = (r - n) / 10;
- return e = lE(e, 0, e + a, a), Math.max(e, a);
+ return e = dE(e, 0, e + a, a), Math.max(e, a);
}, [
a,
r,
n
- ]), 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)), [
+ ]), 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)), [
n,
r,
a
- ]), l = (0, F.useMemo)(() => c(pR(e.value)), [e.value, c]), u = (0, F.useMemo)(() => c(pR(e.defaultValue) ?? [n]), [
+ ]), l = (0, F.useMemo)(() => c(fR(e.value)), [e.value, c]), u = (0, F.useMemo)(() => c(fR(e.defaultValue) ?? [n]), [
e.defaultValue,
n,
c
- ]), d = mR(e.value, e.defaultValue, e.onChange), f = mR(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) => {
+ ]), 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) => {
x.current = e, m(e);
}, w = (e) => {
S.current = e, _(e);
@@ -38313,15 +38313,15 @@ function Epe(e) {
function A(e, n) {
if (t || !O(e)) return;
let r = E(e), i = D(e);
- n = lE(n, r, i, a);
- let o = fR(x.current, e, n);
+ n = dE(n, r, i, a);
+ let o = dR(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 = fR(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);
+ S.current = dR(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 Epe(e) {
return Math.round((e - n) / a) * a + n;
}
function P(e) {
- return sE(te(e * (r - n) + n), n, r);
+ return lE(te(e * (r - n) + n), n, r);
}
function ne(e, t = 1) {
let i = Math.max(t, a);
- A(e, lE(p[e] + i, n, r, a));
+ A(e, dE(p[e] + i, n, r, a));
}
function re(e, t = 1) {
let i = Math.max(t, a);
- A(e, lE(p[e] - i, n, r, a));
+ A(e, dE(p[e] - i, n, r, a));
}
return {
values: p,
@@ -38379,31 +38379,31 @@ function Epe(e) {
isDisabled: t
};
}
-function fR(e, t, n) {
+function dR(e, t, n) {
return e[t] === n ? e : [
...e.slice(0, t),
n,
...e.slice(t + 1)
];
}
-function pR(e) {
+function fR(e) {
if (e != null) return Array.isArray(e) ? e : [e];
}
-function mR(e, t, n) {
+function pR(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 Dpe = /*#__PURE__*/ (0, F.createContext)(null), hR = /*#__PURE__*/ (0, F.createContext)(null), gR = /*#__PURE__*/ (0, F.createContext)(null), Ope = /*#__PURE__*/ (0, F.createContext)(null), kpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = zL(e, t, Dpe);
- let n = (0, F.useRef)(null), r = sse(e.formatOptions), i = Epe({
+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({
...e,
numberFormatter: r
- }), [a, o] = BL(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = cse({
+ }), [a, o] = zL(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = ose({
...e,
label: o
- }, i, n), d = LL({
+ }, i, n), d = IL({
...e,
values: {
orientation: i.orientation,
@@ -38411,32 +38411,32 @@ var Dpe = /*#__PURE__*/ (0, F.createContext)(null), hR = /*#__PURE__*/ (0, F.cre
state: i
},
defaultClassName: "react-aria-Slider"
- }), f = qw(e, { global: !0 });
- return delete f.id, /*#__PURE__*/ F.createElement(IL, { values: [
- [hR, i],
- [gR, {
+ }), f = Yw(e, { global: !0 });
+ return delete f.id, /*#__PURE__*/ F.createElement(FL, { values: [
+ [mR, i],
+ [hR, {
...c,
ref: n
}],
- [Ope, u],
- [ZL, {
+ [kpe, u],
+ [XL, {
...l,
ref: a
}]
- ] }, /*#__PURE__*/ F.createElement(UL.div, {
+ ] }, /*#__PURE__*/ F.createElement(HL.div, {
...K(f, d, s),
ref: t,
slot: e.slot || void 0,
"data-orientation": i.orientation,
"data-disabled": i.isDisabled || void 0
}));
-}), Ape = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = zL(e, t, gR);
- let n = (0, F.useContext)(hR), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = LD({
+}), 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({
onHoverStart: r,
onHoverEnd: i,
onHoverChange: a
- }), l = LL({
+ }), l = IL({
...e,
defaultClassName: "react-aria-SliderTrack",
values: {
@@ -38446,7 +38446,7 @@ var Dpe = /*#__PURE__*/ (0, F.createContext)(null), hR = /*#__PURE__*/ (0, F.cre
state: n
}
});
- return /*#__PURE__*/ F.createElement(UL.div, {
+ return /*#__PURE__*/ F.createElement(HL.div, {
...K(o, s),
...l,
ref: t,
@@ -38454,14 +38454,14 @@ var Dpe = /*#__PURE__*/ (0, F.createContext)(null), hR = /*#__PURE__*/ (0, F.cre
"data-orientation": n.orientation || void 0,
"data-disabled": n.isDisabled || void 0
});
-}), jpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { inputRef: n = null } = e, r = (0, F.useContext)(hR), { ref: i } = RL(gR), { index: a = 0 } = e, o = (0, F.useRef)(null), s = n || o, [c, l] = BL(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = lse({
+}), 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({
...e,
index: a,
trackRef: i,
inputRef: s,
label: l
- }, r), { focusProps: g, isFocusVisible: _ } = ND(), { hoverProps: v, isHovered: y } = LD(e), b = LL({
+ }, r), { focusProps: g, isFocusVisible: _ } = FD(), { hoverProps: v, isHovered: y } = zD(e), b = IL({
...e,
defaultClassName: "react-aria-SliderThumb",
values: {
@@ -38472,8 +38472,8 @@ var Dpe = /*#__PURE__*/ (0, F.createContext)(null), hR = /*#__PURE__*/ (0, F.cre
isFocusVisible: _,
isDisabled: h
}
- }), x = qw(e, { global: !0 });
- return delete x.id, /*#__PURE__*/ F.createElement(UL.div, {
+ }), x = Yw(e, { global: !0 });
+ return delete x.id, /*#__PURE__*/ F.createElement(HL.div, {
...K(x, u, v),
...b,
ref: t,
@@ -38486,330 +38486,330 @@ var Dpe = /*#__PURE__*/ (0, F.createContext)(null), hR = /*#__PURE__*/ (0, F.cre
"data-focused": m || void 0,
"data-focus-visible": _ || void 0,
"data-disabled": h || void 0
- }, /*#__PURE__*/ F.createElement(hE, null, /*#__PURE__*/ F.createElement("input", {
+ }, /*#__PURE__*/ F.createElement(_E, null, /*#__PURE__*/ F.createElement("input", {
ref: s,
...K(d, g)
- })), /*#__PURE__*/ F.createElement(IL, { values: [[ZL, {
+ })), /*#__PURE__*/ F.createElement(FL, { values: [[XL, {
...f,
ref: c
}]] }, b.children));
-}), _R = {};
-_R = {
+}), gR = {};
+gR = {
colorSwatchPicker: "تغييرات الألوان",
dropzoneLabel: "DropZone",
selectPlaceholder: "حدد عنصرًا",
tableResizer: "أداة تغيير الحجم"
};
// node_modules/react-aria-components/dist/private/intl/bg-BG.mjs
-var vR = {};
-vR = {
+var _R = {};
+_R = {
colorSwatchPicker: "Цветови мостри",
dropzoneLabel: "DropZone",
selectPlaceholder: "Изберете предмет",
tableResizer: "Преоразмерител"
};
// node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs
-var yR = {};
-yR = {
+var vR = {};
+vR = {
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 bR = {};
-bR = {
+var yR = {};
+yR = {
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 xR = {};
-xR = {
+var bR = {};
+bR = {
colorSwatchPicker: "Farbfelder",
dropzoneLabel: "Ablegebereich",
selectPlaceholder: "Element wählen",
tableResizer: "Größenanpassung"
};
// node_modules/react-aria-components/dist/private/intl/el-GR.mjs
-var SR = {};
-SR = {
+var xR = {};
+xR = {
colorSwatchPicker: "Χρωματικά δείγματα",
dropzoneLabel: "DropZone",
selectPlaceholder: "Επιλέξτε ένα αντικείμενο",
tableResizer: "Αλλαγή μεγέθους"
};
// node_modules/react-aria-components/dist/private/intl/en-US.mjs
-var CR = {};
-CR = {
+var SR = {};
+SR = {
selectPlaceholder: "Select an item",
tableResizer: "Resizer",
dropzoneLabel: "DropZone",
colorSwatchPicker: "Color swatches"
};
// node_modules/react-aria-components/dist/private/intl/es-ES.mjs
-var wR = {};
-wR = {
+var CR = {};
+CR = {
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 TR = {};
-TR = {
+var wR = {};
+wR = {
colorSwatchPicker: "Värvinäidised",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valige üksus",
tableResizer: "Suuruse muutja"
};
// node_modules/react-aria-components/dist/private/intl/fi-FI.mjs
-var ER = {};
-ER = {
+var TR = {};
+TR = {
colorSwatchPicker: "Värimallit",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valitse kohde",
tableResizer: "Koon muuttaja"
};
// node_modules/react-aria-components/dist/private/intl/fr-FR.mjs
-var DR = {};
-DR = {
+var ER = {};
+ER = {
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 OR = {};
-OR = {
+var DR = {};
+DR = {
colorSwatchPicker: "דוגמיות צבע",
dropzoneLabel: "DropZone",
selectPlaceholder: "בחר פריט",
tableResizer: "שינוי גודל"
};
// node_modules/react-aria-components/dist/private/intl/hr-HR.mjs
-var kR = {};
-kR = {
+var OR = {};
+OR = {
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 AR = {};
-AR = {
+var kR = {};
+kR = {
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 jR = {};
-jR = {
+var AR = {};
+AR = {
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 MR = {};
-MR = {
+var jR = {};
+jR = {
colorSwatchPicker: "カラースウォッチ",
dropzoneLabel: "ドロップゾーン",
selectPlaceholder: "項目を選択",
tableResizer: "サイズ変更ツール"
};
// node_modules/react-aria-components/dist/private/intl/ko-KR.mjs
-var NR = {};
-NR = {
+var MR = {};
+MR = {
colorSwatchPicker: "색상 견본",
dropzoneLabel: "드롭 영역",
selectPlaceholder: "항목 선택",
tableResizer: "크기 조정기"
};
// node_modules/react-aria-components/dist/private/intl/lt-LT.mjs
-var PR = {};
-PR = {
+var NR = {};
+NR = {
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 FR = {};
-FR = {
+var PR = {};
+PR = {
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 IR = {};
-IR = {
+var FR = {};
+FR = {
colorSwatchPicker: "Fargekart",
dropzoneLabel: "Droppsone",
selectPlaceholder: "Velg et element",
tableResizer: "Størrelsesendrer"
};
// node_modules/react-aria-components/dist/private/intl/nl-NL.mjs
-var LR = {};
-LR = {
+var IR = {};
+IR = {
colorSwatchPicker: "kleurstalen",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecteer een item",
tableResizer: "Resizer"
};
// node_modules/react-aria-components/dist/private/intl/pl-PL.mjs
-var RR = {};
-RR = {
+var LR = {};
+LR = {
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 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/pt-PT.mjs
-var BR = {};
-BR = {
+var zR = {};
+zR = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
tableResizer: "Redimensionador"
};
// node_modules/react-aria-components/dist/private/intl/ro-RO.mjs
-var VR = {};
-VR = {
+var BR = {};
+BR = {
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 HR = {};
-HR = {
+var VR = {};
+VR = {
colorSwatchPicker: "Цветовые образцы",
dropzoneLabel: "DropZone",
selectPlaceholder: "Выберите элемент",
tableResizer: "Средство изменения размера"
};
// node_modules/react-aria-components/dist/private/intl/sk-SK.mjs
-var UR = {};
-UR = {
+var HR = {};
+HR = {
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 WR = {};
-WR = {
+var UR = {};
+UR = {
colorSwatchPicker: "Barvne palete",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izberite element",
tableResizer: "Spreminjanje velikosti"
};
// node_modules/react-aria-components/dist/private/intl/sr-SP.mjs
-var GR = {};
-GR = {
+var WR = {};
+WR = {
colorSwatchPicker: "Uzorci boje",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izaberite stavku",
tableResizer: "Promena veličine"
};
// node_modules/react-aria-components/dist/private/intl/sv-SE.mjs
-var KR = {};
-KR = {
+var GR = {};
+GR = {
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 qR = {};
-qR = {
+var KR = {};
+KR = {
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 JR = {};
-JR = {
+var qR = {};
+qR = {
colorSwatchPicker: "Зразки кольорів",
dropzoneLabel: "DropZone",
selectPlaceholder: "Виберіть елемент",
tableResizer: "Засіб змінення розміру"
};
// node_modules/react-aria-components/dist/private/intl/zh-CN.mjs
-var YR = {};
-YR = {
+var JR = {};
+JR = {
colorSwatchPicker: "颜色色板",
dropzoneLabel: "放置区域",
selectPlaceholder: "选择一个项目",
tableResizer: "尺寸调整器"
};
// node_modules/react-aria-components/dist/private/intl/zh-TW.mjs
-var XR = {};
-XR = {
+var YR = {};
+YR = {
colorSwatchPicker: "色票",
dropzoneLabel: "放置區",
selectPlaceholder: "選取項目",
tableResizer: "大小調整器"
};
// node_modules/react-aria-components/dist/private/intlStrings.mjs
-var ZR = {};
-ZR = {
- "ar-AE": _R,
- "bg-BG": vR,
- "cs-CZ": yR,
- "da-DK": bR,
- "de-DE": xR,
- "el-GR": SR,
- "en-US": CR,
- "es-ES": wR,
- "et-EE": TR,
- "fi-FI": ER,
- "fr-FR": DR,
- "he-IL": OR,
- "hr-HR": kR,
- "hu-HU": AR,
- "it-IT": jR,
- "ja-JP": MR,
- "ko-KR": NR,
- "lt-LT": PR,
- "lv-LV": FR,
- "nb-NO": IR,
- "nl-NL": LR,
- "pl-PL": RR,
- "pt-BR": zR,
- "pt-PT": BR,
- "ro-RO": VR,
- "ru-RU": HR,
- "sk-SK": UR,
- "sl-SI": WR,
- "sr-SP": GR,
- "sv-SE": KR,
- "tr-TR": qR,
- "uk-UA": JR,
- "zh-CN": YR,
- "zh-TW": XR
+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
};
// node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var QR = /*#__PURE__*/ (0, F.createContext)({}), $R = /*#__PURE__*/ (0, F.createContext)(null), Mpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { render: n } = (0, F.useContext)($R);
+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);
return /*#__PURE__*/ F.createElement(F.Fragment, null, n(e, t));
});
-function ez(e, t) {
+function $R(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(Mpe, { target: e });
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ F.createElement(Npe, { target: e });
}, [
t?.target,
r,
@@ -38817,7 +38817,7 @@ function ez(e, t) {
]);
return e?.useDropIndicator ? i : void 0;
}
-function tz(e, t, n) {
+function ez(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 tz(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 nz = /*#__PURE__*/ (0, F.createContext)({}), Npe = /*#__PURE__*/ (0, F.createContext)(null);
-function rz(e) {
+var tz = /*#__PURE__*/ (0, F.createContext)({}), Ppe = /*#__PURE__*/ (0, F.createContext)(null);
+function nz(e) {
let t = (0, F.useRef)({});
- return /*#__PURE__*/ F.createElement(Npe.Provider, { value: t }, e.children);
+ return /*#__PURE__*/ F.createElement(Ppe.Provider, { value: t }, e.children);
}
// node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var iz = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), az = /*#__PURE__*/ (0, F.createContext)({}), Ppe = /*#__PURE__*/ pw(class extends _S {
+var rz = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), iz = /*#__PURE__*/ (0, F.createContext)({}), Fpe = /*#__PURE__*/ hw(class extends yS {
static {
this.type = "separator";
}
@@ -38857,14 +38857,14 @@ var iz = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), az = /*#__PURE_
return null;
}
}, function(e, t) {
- [e, t] = zL(e, t, az);
+ [e, t] = RL(e, t, iz);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = UL[c], { separatorProps: u } = hce({
+ let l = HL[c], { separatorProps: u } = pce({
...s,
elementType: n,
orientation: r
- }), d = qw(e, { global: !0 });
+ }), d = Yw(e, { global: !0 });
return /*#__PURE__*/ F.createElement(l, {
render: e.render,
...K(d, u),
@@ -38875,12 +38875,12 @@ var iz = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), az = /*#__PURE_
});
});
// node_modules/react-aria/dist/private/utils/inertValue.mjs
-function oz(e) {
+function az(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 sz = class {
+var oz = 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 sz = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, cz = class e extends Set {
+}, sz = 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 Fpe(e, t) {
+function Ipe(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function lz(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)(() => uz(e.selectedKeys), [e.selectedKeys]), (0, F.useMemo)(() => uz(e.defaultSelectedKeys, new cz()), [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 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);
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 lz(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !Fpe(e, d)) && f(e);
+ (r || !Ipe(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
};
}
-function uz(e, t) {
- return e ? e === "all" ? "all" : new cz(e) : t;
+function lz(e, t) {
+ return e ? e === "all" ? "all" : new sz(e) : t;
}
// node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var dz = class e {
+var uz = 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 dz = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && xD(this.collection, n, e) < 0) && (e = n);
+ (!e || n && CD(this.collection, n, e) < 0) && (e = n);
}
return e?.key ?? null;
}
@@ -39037,7 +39037,7 @@ var dz = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && xD(this.collection, n, e) > 0) && (e = n);
+ (!e || n && CD(this.collection, n, e) > 0) && (e = n);
}
return e?.key ?? null;
}
@@ -39056,10 +39056,10 @@ var dz = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new cz([t], t, t);
+ if (this.state.selectedKeys === "all") n = new sz([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new cz(e, r, t);
+ n = new sz(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 dz = class e {
}
getKeyRange(e, t) {
let n = this.collection.getItem(e), r = this.collection.getItem(t);
- return n && r ? xD(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
+ return n && r ? CD(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 dz = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new cz(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new sz(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 cz([t], t, t) : new cz();
+ let n = this.canSelectItem(t) ? new sz([t], t, t) : new sz();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new cz();
+ let t = new sz();
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 dz = 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(vD(_D(i, e))?.key ?? null);
+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(bD(yD(i, e))?.key ?? null);
}
r = e.getKeyAfter(r);
}
@@ -39128,7 +39128,7 @@ var dz = 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 cz());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new sz());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -39169,9 +39169,9 @@ var dz = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, Ipe = class {
+}, Lpe = class {
build(e, t) {
- return this.context = t, fz(() => this.iterateCollection(e));
+ return this.context = t, dz(() => this.iterateCollection(e));
}
*iterateCollection(e) {
let { children: t, items: n } = e;
@@ -39253,10 +39253,10 @@ var dz = class e {
...a,
key: l,
index: s,
- wrapper: Lpe(e.wrapper, a.wrapper)
+ wrapper: Rpe(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 <${pz(t.type)}> in <${pz(r?.type ?? "unknown parent type")}>. Only <${pz(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 <${fz(t.type)}> in <${fz(r?.type ?? "unknown parent type")}>. Only <${fz(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -39278,7 +39278,7 @@ var dz = class e {
wrapper: e.wrapper,
shouldInvalidate: e.shouldInvalidate,
hasChildNodes: e.hasChildNodes || !1,
- childNodes: fz(function* () {
+ childNodes: dz(function* () {
if (!e.hasChildNodes || !e.childNodes) return;
let n = 0;
for (let r of e.childNodes()) {
@@ -39297,7 +39297,7 @@ var dz = class e {
this.cache = /* @__PURE__ */ new WeakMap();
}
};
-function fz(e) {
+function dz(e) {
let t = [], n = null;
return { *[Symbol.iterator]() {
for (let e of t) yield e;
@@ -39305,17 +39305,17 @@ function fz(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function Lpe(e, t) {
+function Rpe(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
}
-function pz(e) {
+function fz(e) {
return e[0].toUpperCase() + e.slice(1);
}
// node_modules/react-stately/dist/private/collections/useCollection.mjs
-function mz(e, t, n) {
- let r = (0, F.useMemo)(() => new Ipe(), []), { children: i, items: a, collection: o } = e;
+function pz(e, t, n) {
+ let r = (0, F.useMemo)(() => new Lpe(), []), { children: i, items: a, collection: o } = e;
return (0, F.useMemo)(() => o || t(r.build({
children: i,
items: a
@@ -39329,27 +39329,27 @@ function mz(e, t, n) {
]);
}
// node_modules/react-stately/dist/private/list/useListState.mjs
-function hz(e) {
- let { filter: t, layoutDelegate: n } = e, r = lz(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = mz(e, (0, F.useCallback)((e) => t ? new sz(t(e)) : new sz(e), [t]), (0, F.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, F.useMemo)(() => new dz(a, r, { layoutDelegate: n }), [
+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 }), [
a,
r,
n
]);
- return gz(a, o), {
+ return hz(a, o), {
collection: a,
disabledKeys: i,
selectionManager: o
};
}
-function Rpe(e, t) {
+function zpe(e, t) {
let n = (0, F.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
- return gz(n, r), {
+ return hz(n, r), {
collection: n,
selectionManager: r,
disabledKeys: e.disabledKeys
};
}
-function gz(e, t) {
+function hz(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 gz(e, t) {
}, [e, t]);
}
// node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function _z(e, t) {
- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, F.useRef)(null), s = jw((e) => {
+function gz(e, t) {
+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, F.useRef)(null), s = Nw((e) => {
for (let t of e) t.isIntersecting && r && r();
});
- US(() => {
+ GS(() => {
if (t.current) {
let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;
o.current = new IntersectionObserver(s, {
- root: LT(t?.current),
+ root: zT(t?.current),
rootMargin: n
}), o.current.observe(t.current);
}
@@ -39399,42 +39399,42 @@ function _z(e, t) {
]);
}
// node_modules/react-aria-components/dist/private/ListBox.mjs
-var vz = /*#__PURE__*/ (0, F.createContext)(null), yz = /*#__PURE__*/ (0, F.createContext)(null), zpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = zL(e, t, vz);
- let n = (0, F.useContext)(yz);
- return n ? /*#__PURE__*/ F.createElement(bz, {
+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, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ F.createElement(uw, { content: /*#__PURE__*/ F.createElement(_w, e) }, (n) => /*#__PURE__*/ F.createElement(Bpe, {
+ }) : /*#__PURE__*/ F.createElement(fw, { content: /*#__PURE__*/ F.createElement(yw, e) }, (n) => /*#__PURE__*/ F.createElement(Vpe, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function Bpe({ props: e, listBoxRef: t, collection: n }) {
+function Vpe({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
children: null,
items: null
};
- let { layoutDelegate: r } = (0, F.useContext)(YL), i = hz({
+ let { layoutDelegate: r } = (0, F.useContext)(JL), i = mz({
...e,
layoutDelegate: r
});
- return /*#__PURE__*/ F.createElement(bz, {
+ return /*#__PURE__*/ F.createElement(yz, {
state: i,
props: e,
listBoxRef: t
});
}
-function bz({ state: e, props: t, listBoxRef: n }) {
- [t, n] = zL(t, n, WL);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Rpe(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = zw(), { disabledBehavior: p, disabledKeys: m } = l, h = ED({
+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({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, F.useContext)(YL), b = (0, F.useMemo)(() => t.keyboardDelegate || new OE({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, F.useContext)(JL), b = (0, F.useMemo)(() => t.keyboardDelegate || new AE({
collection: c,
collator: h,
ref: n,
@@ -39455,7 +39455,7 @@ function bz({ state: e, props: t, listBoxRef: n }) {
t.keyboardDelegate,
i,
_
- ]), { listBoxProps: x } = Ise({
+ ]), { listBoxProps: x } = Pse({
...t,
shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,
keyboardDelegate: b,
@@ -39487,7 +39487,7 @@ function bz({ state: e, props: t, listBoxRef: n }) {
dropTargetDelegate: e
}, C, n), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: O, isFocused: k, isFocusVisible: A } = ND(), j = s.collection.size === 0, M = {
+ let { focusProps: O, isFocused: k, isFocusVisible: A } = FD(), j = s.collection.size === 0, M = {
isDropTarget: T,
isEmpty: j,
isFocused: k,
@@ -39495,7 +39495,7 @@ function bz({ state: e, props: t, listBoxRef: n }) {
layout: t.layout || "stack",
orientation: a,
state: s
- }, ee = LL({
+ }, ee = IL({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
@@ -39505,8 +39505,8 @@ function bz({ state: e, props: t, listBoxRef: n }) {
role: "option",
style: { display: "contents" }
}, t.renderEmptyState(M)));
- let te = qw(t, { global: !0 });
- return /*#__PURE__*/ F.createElement(_T, null, /*#__PURE__*/ F.createElement(UL.div, {
+ let te = Yw(t, { global: !0 });
+ return /*#__PURE__*/ F.createElement(yT, null, /*#__PURE__*/ F.createElement(HL.div, {
...K(te, ee, x, O, w?.collectionProps),
ref: n,
slot: t.slot || void 0,
@@ -39517,60 +39517,60 @@ function bz({ state: e, props: t, listBoxRef: n }) {
"data-focus-visible": A || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
- }, /*#__PURE__*/ F.createElement(IL, { values: [
- [vz, t],
- [yz, s],
- [QR, {
+ }, /*#__PURE__*/ F.createElement(FL, { values: [
+ [_z, t],
+ [vz, s],
+ [ZR, {
dragAndDropHooks: r,
dragState: S,
dropState: C
}],
- [az, { elementType: "div" }],
- [$R, { render: Upe }],
- [KL, {
+ [iz, { elementType: "div" }],
+ [QR, { render: Wpe }],
+ [GL, {
name: "ListBoxSection",
- render: Vpe
+ render: Hpe
}]
- ] }, /*#__PURE__*/ F.createElement(rz, null, /*#__PURE__*/ F.createElement(y, {
+ ] }, /*#__PURE__*/ F.createElement(nz, null, /*#__PURE__*/ F.createElement(y, {
collection: c,
scrollRef: n,
- persistedKeys: tz(l, r, C),
- renderDropIndicator: ez(r, C)
+ persistedKeys: ez(l, r, C),
+ renderDropIndicator: $R(r, C)
}))), N, E));
}
-function Vpe(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, F.useContext)(yz), { dragAndDropHooks: a, dropState: o } = (0, F.useContext)(QR), { CollectionBranch: s } = (0, F.useContext)(YL), [c, l] = BL(), { headingProps: u, groupProps: d } = Lse({
+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({
heading: l,
"aria-label": e["aria-label"] ?? void 0
- }), f = LL({
+ }), f = IL({
...e,
id: void 0,
children: void 0,
defaultClassName: r,
values: void 0
- }), p = qw(e, { global: !0 });
- return delete p.id, /*#__PURE__*/ F.createElement(UL.section, {
+ }), p = Yw(e, { global: !0 });
+ return delete p.id, /*#__PURE__*/ F.createElement(HL.section, {
...K(p, f, d),
ref: t
- }, /*#__PURE__*/ F.createElement(nz.Provider, { value: {
+ }, /*#__PURE__*/ F.createElement(tz.Provider, { value: {
...u,
ref: c
} }, /*#__PURE__*/ F.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: ez(a, o)
+ renderDropIndicator: $R(a, o)
})));
}
-var Hpe = /*#__PURE__*/ pw(bS, function(e, t, n) {
- let r = ew(t), i = (0, F.useContext)(yz), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(QR), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Rse({
+var Upe = /*#__PURE__*/ hw(SS, 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({
key: n.key,
"aria-label": e?.["aria-label"]
- }, i, r), { hoverProps: p, isHovered: m } = LD({
+ }, i, r), { hoverProps: p, isHovered: m } = zD({
isDisabled: !f.allowsSelection && !f.hasAction && !c,
onHoverStart: n.props.onHoverStart,
onHoverChange: n.props.onHoverChange,
onHoverEnd: n.props.onHoverEnd
- }), { keyboardProps: h } = $C(e), { focusProps: g } = YC(e), _ = null;
+ }), { keyboardProps: h } = tw(e), { focusProps: g } = ZC(e), _ = null;
o && a && (_ = a.useDraggableItem({
key: n.key,
hasAction: f.hasAction
@@ -39581,7 +39581,7 @@ var Hpe = /*#__PURE__*/ pw(bS, function(e, t, n) {
key: n.key,
dropPosition: "on"
} }, s, r));
- let y = o && o.isDragging(n.key), b = LL({
+ let y = o && o.isDragging(n.key), b = IL({
...e,
id: void 0,
children: e.children,
@@ -39599,7 +39599,7 @@ var Hpe = /*#__PURE__*/ pw(bS, function(e, t, n) {
(0, F.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let x = e.href ? UL.a : UL.div, S = qw(e, { global: !0 });
+ let x = e.href ? HL.a : HL.div, S = Yw(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 Hpe = /*#__PURE__*/ pw(bS, 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(IL, { values: [[rR, { slots: {
- [FL]: u,
+ }, /*#__PURE__*/ F.createElement(FL, { values: [[nR, { slots: {
+ [PL]: u,
label: u,
description: d
- } }], [iz, { isSelected: f.isSelected }]] }, b.children));
+ } }], [rz, { isSelected: f.isSelected }]] }, b.children));
});
-function Upe(e, t) {
- t = ew(t);
- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(QR), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ F.createElement(Gpe, {
+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, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function Wpe(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = LL({
+function Gpe(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = IL({
...i,
defaultClassName: "react-aria-DropIndicator",
values: { isDropTarget: r }
});
- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(UL.div, {
+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(HL.div, {
...n,
...a,
role: "option",
@@ -39643,10 +39643,10 @@ function Wpe(e, t) {
"data-drop-target": r || void 0
}));
}
-var Gpe = /*#__PURE__*/ (0, F.forwardRef)(Wpe);
-pw(yS, function(e, t, n) {
- let r = (0, F.useContext)(yz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);
- _z((0, F.useMemo)(() => ({
+var Kpe = /*#__PURE__*/ (0, F.forwardRef)(Gpe);
+hw(xS, 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)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -39656,7 +39656,7 @@ pw(yS, function(e, t, n) {
o,
r?.collection
]), c);
- let l = LL({
+ let l = IL({
...s,
id: void 0,
children: n.rendered,
@@ -39669,7 +39669,7 @@ pw(yS, function(e, t, n) {
width: 0,
height: 0
},
- inert: oz(!0)
+ inert: az(!0)
}, /*#__PURE__*/ F.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -39678,18 +39678,18 @@ pw(yS, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(UL.div, {
- ...K(qw(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(HL.div, {
+ ...K(Yw(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
ref: t
}, l.children)));
});
// node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var Kpe = /*#__PURE__*/ (0, F.createContext)({ placement: "bottom" });
+var qpe = /*#__PURE__*/ (0, F.createContext)({ placement: "bottom" });
// node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function xz(e) {
- let [t, n] = aE(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, F.useState)(null);
+function bz(e) {
+ let [t, n] = sE(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, F.useState)(null);
return {
isOpen: t,
setOpen: n,
@@ -39707,15 +39707,15 @@ function xz(e) {
};
}
// node_modules/react-aria/dist/private/utils/animation.mjs
-function Sz(e, t = !0, n) {
+function xz(e, t = !0, n) {
let [r, i] = (0, F.useState)(!0), a = r && t;
- return US(() => {
- if (!t && e.current) return zC(MS(e.current, "opacity", "0"), MS(e.current, "clip", "rect(0 0 0 0)"), MS(e.current, "clip-path", "inset(50%)"), MS(e.current, "mask-image", "linear-gradient(#0000, #0000)"));
- }, [e, t]), US(() => {
+ return GS(() => {
+ if (!t && e.current) return VC(PS(e.current, "opacity", "0"), PS(e.current, "clip", "rect(0 0 0 0)"), PS(e.current, "clip-path", "inset(50%)"), PS(e.current, "mask-image", "linear-gradient(#0000, #0000)"));
+ }, [e, t]), GS(() => {
if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
- }, [e, a]), wz(e, a, n, (0, F.useCallback)(() => i(!1), [])), a;
+ }, [e, a]), Cz(e, a, n, (0, F.useCallback)(() => i(!1), [])), a;
}
-function Cz(e, t, n) {
+function Sz(e, t, n) {
let [r, i] = (0, F.useState)(t ? "open" : "closed");
switch (r) {
case "open":
@@ -39725,13 +39725,13 @@ function Cz(e, t, n) {
case "exiting": t && i("open");
}
let a = r === "exiting";
- return wz(e, a, n, (0, F.useCallback)(() => {
+ return Cz(e, a, n, (0, F.useCallback)(() => {
i((e) => e === "exiting" ? "closed" : e);
}, [])), a;
}
-function wz(e, t, n, r) {
- let i = (0, F.useRef)(null), a = jw(n);
- US(() => {
+function Cz(e, t, n, r) {
+ let i = (0, F.useRef)(null), a = Nw(n);
+ GS(() => {
if (t && e.current && i.current !== t) {
if (i.current = t, !("getAnimations" in e.current)) {
r();
@@ -39756,9 +39756,9 @@ function wz(e, t, n, r) {
]);
}
// node_modules/react-aria-components/dist/private/Popover.mjs
-var Tz = /*#__PURE__*/ (0, F.createContext)(null), Ez = /*#__PURE__*/ (0, F.createContext)(null), Dz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = zL(e, t, Tz);
- let n = (0, F.useContext)(zz), r = xz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Cz(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = ow(), { direction: c } = zw();
+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();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -39769,7 +39769,7 @@ var Tz = /*#__PURE__*/ (0, F.createContext)(null), Ez = /*#__PURE__*/ (0, F.crea
defaultChildren: null
})), /*#__PURE__*/ F.createElement(F.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ F.createElement(qpe, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ F.createElement(Jpe, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -39778,13 +39778,13 @@ var Tz = /*#__PURE__*/ (0, F.createContext)(null), Ez = /*#__PURE__*/ (0, F.crea
dir: c
});
});
-function qpe({ 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)(Ez), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, F.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = lce({
+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({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), g = i.popoverRef, _ = Sz(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = LL({
+ }, e), g = i.popoverRef, _ = xz(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = IL({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -39794,10 +39794,10 @@ function qpe({ 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");
- US(() => {
+ GS(() => {
g.current && S(b && !g.current.querySelector("[role=dialog]"));
}, [g, b]), (0, F.useEffect)(() => {
- x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || DC() !== "pointer") && g.current && !LS(g.current) && RC(g.current);
+ x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || kC() !== "pointer") && g.current && !zS(g.current) && BC(g.current);
}, [
x,
g,
@@ -39805,12 +39805,12 @@ function qpe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
]);
let C = (0, F.useMemo)(() => {
let e = y.children;
- for (let t of [Tz, ...r ?? []]) e = /*#__PURE__*/ F.createElement(t.Provider, { value: null }, e);
+ for (let t of [wz, ...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]);
- US(E, [E]), FO({
+ GS(E, [E]), LO({
ref: y.style?.["--trigger-width"] ? void 0 : i.triggerRef,
onResize: E
});
@@ -39820,9 +39820,9 @@ function qpe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
...y.style,
"--trigger-width": y.style?.["--trigger-width"] || w
};
- US(() => wk(() => u(!0)), []);
- let O = /*#__PURE__*/ F.createElement(UL.div, {
- ...K(qw(i, { global: !0 }), d),
+ GS(() => Ek(() => u(!0)), []);
+ let O = /*#__PURE__*/ F.createElement(HL.div, {
+ ...K(Yw(i, { global: !0 }), d),
...y,
id: x ? i.id : void 0,
role: x ? "dialog" : void 0,
@@ -39837,17 +39837,17 @@ function qpe({ 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(_k, { onDismiss: e.close }), /*#__PURE__*/ F.createElement(Kpe.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ F.createElement(yk, { onDismiss: e.close }), /*#__PURE__*/ F.createElement(qpe.Provider, { value: {
...p,
placement: m,
ref: a
- } }, C), /*#__PURE__*/ F.createElement(_k, { onDismiss: e.close }));
- return c ? /*#__PURE__*/ F.createElement(jD, {
+ } }, C), /*#__PURE__*/ F.createElement(yk, { onDismiss: e.close }));
+ return c ? /*#__PURE__*/ F.createElement(ND, {
...i,
shouldContainFocus: x && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n ?? s?.current ?? void 0
- }, O) : /*#__PURE__*/ F.createElement(jD, {
+ }, O) : /*#__PURE__*/ F.createElement(ND, {
...i,
shouldContainFocus: x && i.trigger !== "PreviewTrigger",
isExiting: t,
@@ -39862,13 +39862,13 @@ function qpe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}), /*#__PURE__*/ F.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ F.createElement(Ez.Provider, { value: o }, O)));
+ }, /*#__PURE__*/ F.createElement(Tz.Provider, { value: o }, O)));
}
// node_modules/react-aria-components/dist/private/Keyboard.mjs
-var Jpe = /*#__PURE__*/ (0, F.createContext)({});
+var Ype = /*#__PURE__*/ (0, F.createContext)({});
// node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs
-function Oz(e) {
- let t = xz(e), [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)([]), o = () => {
+function Dz(e) {
+ let t = bz(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 Oz(e) {
};
}
// node_modules/react-stately/dist/private/tree/TreeCollection.mjs
-var Ype = class {
+var Xpe = 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 Ype = class {
}
};
// node_modules/react-stately/dist/private/tree/useTreeState.mjs
-function kz(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 = lz(e), a = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = mz(e, (0, F.useCallback)((e) => new Ype(e, { expandedKeys: n }), [n]), null);
+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);
return (0, F.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -39945,31 +39945,31 @@ function kz(e) {
expandedKeys: n,
disabledKeys: a,
toggleKey: (e) => {
- r(Xpe(n, e));
+ r(Zpe(n, e));
},
setExpandedKeys: r,
- selectionManager: new dz(o, i)
+ selectionManager: new uz(o, i)
};
}
-function Xpe(e, t) {
+function Zpe(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 Az = /*#__PURE__*/ (0, F.createContext)(null), jz = /*#__PURE__*/ (0, F.createContext)(null), Mz = /*#__PURE__*/ (0, F.createContext)(null), Nz = /*#__PURE__*/ (0, F.createContext)(null);
-function Zpe(e) {
- let t = Oz(e), n = (0, F.useRef)(null), { menuTriggerProps: r, menuProps: i } = fD({
+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({
...e,
type: "menu"
}, t, n), a = (0, F.useRef)(null);
- return ow() ? null : /*#__PURE__*/ F.createElement(IL, { values: [
- [Az, {
+ return cw() ? null : /*#__PURE__*/ F.createElement(FL, { values: [
+ [kz, {
...i,
ref: a
}],
- [zz, t],
- [Mz, t],
- [Tz, {
+ [Rz, t],
+ [jz, t],
+ [wz, {
trigger: "MenuTrigger",
triggerRef: n,
scrollRef: a,
@@ -39977,14 +39977,14 @@ function Zpe(e) {
"aria-labelledby": i["aria-labelledby"],
offset: e.trigger === "contextMenu" ? 0 : void 0
}]
- ] }, /*#__PURE__*/ F.createElement(xse, {
+ ] }, /*#__PURE__*/ F.createElement(yse, {
...r,
ref: n,
isPressed: t.isOpen
}, e.children));
}
-var Qpe = /*#__PURE__*/ (0, F.createContext)(null);
-(class extends _S {
+var $pe = /*#__PURE__*/ (0, F.createContext)(null);
+(class extends yS {
static {
this.type = "submenutrigger";
}
@@ -39997,24 +39997,24 @@ var Qpe = /*#__PURE__*/ (0, F.createContext)(null);
return null;
}
});
-var $pe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- return [e, t] = zL(e, t, Az), /*#__PURE__*/ F.createElement(uw, { content: /*#__PURE__*/ F.createElement(_w, e) }, (n) => /*#__PURE__*/ F.createElement(eme, {
+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, {
props: e,
collection: n,
menuRef: t
}));
});
-function eme({ props: e, collection: t, menuRef: n }) {
- [e, n] = zL(e, n, WL);
- let { filter: r, ...i } = e, a = (0, F.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = kz({
+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({
...e,
collection: a,
children: void 0
- }), s = (0, F.useContext)(Mz), { isVirtualized: c, CollectionRoot: l } = (0, F.useContext)(YL), { menuProps: u } = zse({
+ }), s = (0, F.useContext)(jz), { isVirtualized: c, CollectionRoot: l } = (0, F.useContext)(JL), { menuProps: u } = Lse({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
- }, o, n), d = LL({
+ }, o, n), d = IL({
...e,
children: void 0,
defaultClassName: "react-aria-Menu",
@@ -40024,36 +40024,36 @@ function eme({ props: e, collection: t, menuRef: n }) {
role: "menuitem",
style: { display: "contents" }
}, e.renderEmptyState()));
- let p = qw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(_T, null, /*#__PURE__*/ F.createElement(UL.div, {
+ let p = Yw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(yT, null, /*#__PURE__*/ F.createElement(HL.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(IL, { values: [
- [jz, o],
- [az, { elementType: "div" }],
- [KL, {
+ }, /*#__PURE__*/ F.createElement(FL, { values: [
+ [Az, o],
+ [iz, { elementType: "div" }],
+ [GL, {
name: "MenuSection",
- render: Pz
+ render: Nz
}],
- [Qpe, {
+ [$pe, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
- [Iz, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
+ [Fz, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
+ [UL, null],
[WL, null],
- [GL, null],
- [Nz, o.selectionManager],
- [Mz, s ?? Oz({})]
- ] }, /*#__PURE__*/ F.createElement(rz, null, /*#__PURE__*/ F.createElement(l, {
+ [Mz, o.selectionManager],
+ [jz, s ?? Dz({})]
+ ] }, /*#__PURE__*/ F.createElement(nz, null, /*#__PURE__*/ F.createElement(l, {
collection: o.collection,
- persistedKeys: XL(o.selectionManager.focusedKey),
+ persistedKeys: YL(o.selectionManager.focusedKey),
scrollRef: n
}))), f));
}
-var tme = class extends dz {
+var nme = class extends uz {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -40073,11 +40073,11 @@ var tme = class extends dz {
return this.parent.childFocusStrategy;
}
};
-function Pz(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, F.useContext)(jz), { CollectionBranch: a } = (0, F.useContext)(YL), [o, s] = BL(), { headingProps: c, groupProps: l } = Vse({
+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({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
- }), u = LL({
+ }), u = IL({
...e,
id: void 0,
children: void 0,
@@ -40085,31 +40085,31 @@ function Pz(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, F.useContext)(Nz), f = lz(e), p = e.selectionMode == null ? d : new tme(d, f), m = RL(Iz)?.shouldCloseOnSelect, h = qw(e, { global: !0 });
- return delete h.id, /*#__PURE__*/ F.createElement(UL.section, {
+ }), 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, {
...K(h, u, l),
ref: t
- }, /*#__PURE__*/ F.createElement(IL, { values: [
- [nz, {
+ }, /*#__PURE__*/ F.createElement(FL, { values: [
+ [tz, {
...c,
ref: o
}],
- [Nz, p],
- [Iz, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
+ [Mz, p],
+ [Fz, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
] }, /*#__PURE__*/ F.createElement(a, {
collection: i.collection,
parent: n
})));
}
-var Fz = /*#__PURE__*/ mw($ie, Pz), Iz = /*#__PURE__*/ (0, F.createContext)(null), Lz = /*#__PURE__*/ pw(bS, function(e, t, n) {
- [e, t] = zL(e, t, Iz);
- let r = RL(Iz)?.id, i = (0, F.useContext)(jz), a = ew(t), o = (0, F.useContext)(Nz), { isVirtualized: s } = (0, F.useContext)(YL), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Bse({
+var Pz = /*#__PURE__*/ gw(Zie, Nz), Fz = /*#__PURE__*/ (0, F.createContext)(null), Iz = /*#__PURE__*/ hw(SS, 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({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = LD({ isDisabled: f.isDisabled }), h = LL({
+ }, i, a), { hoverProps: p, isHovered: m } = zD({ isDisabled: f.isDisabled }), h = IL({
...e,
id: void 0,
children: n.rendered,
@@ -40123,7 +40123,7 @@ var Fz = /*#__PURE__*/ mw($ie, Pz), Iz = /*#__PURE__*/ (0, F.createContext)(null
hasSubmenu: !!e["aria-haspopup"],
isOpen: e["aria-expanded"] === "true"
}
- }), g = e.href ? UL.a : UL.div, _ = qw(e, { global: !0 });
+ }), g = e.href ? HL.a : HL.div, _ = Yw(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(g, {
...K(_, h, c, p),
ref: a,
@@ -40136,19 +40136,19 @@ var Fz = /*#__PURE__*/ mw($ie, Pz), Iz = /*#__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(IL, { values: [
- [rR, { slots: {
- [FL]: l,
+ }, /*#__PURE__*/ F.createElement(FL, { values: [
+ [nR, { slots: {
+ [PL]: l,
label: l,
description: u
} }],
- [Jpe, d],
- [iz, { isSelected: f.isSelected }]
+ [Ype, d],
+ [rz, { isSelected: f.isSelected }]
] }, h.children));
});
-pw(yS, function(e, t, n) {
- let r = (0, F.useContext)(jz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);
- _z((0, F.useMemo)(() => ({
+hw(xS, 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)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -40158,7 +40158,7 @@ pw(yS, function(e, t, n) {
o,
r?.collection
]), c);
- let l = LL({
+ let l = IL({
...s,
id: void 0,
children: n.rendered,
@@ -40171,7 +40171,7 @@ pw(yS, function(e, t, n) {
width: 0,
height: 0
},
- inert: oz(!0)
+ inert: az(!0)
}, /*#__PURE__*/ F.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -40180,89 +40180,89 @@ pw(yS, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(UL.div, {
- ...K(qw(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(HL.div, {
+ ...K(Yw(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "menuitem",
ref: t
}, l.children)));
});
// node_modules/react-aria-components/dist/private/Dialog.mjs
-var Rz = /*#__PURE__*/ (0, F.createContext)(null), zz = /*#__PURE__*/ (0, F.createContext)(null), Bz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+var Lz = /*#__PURE__*/ (0, F.createContext)(null), Rz = /*#__PURE__*/ (0, F.createContext)(null), zz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = zL(e, t, Rz);
- let { dialogProps: r, titleProps: i, contentProps: a } = Cse({
+ [e, t] = RL(e, t, Lz);
+ let { dialogProps: r, titleProps: i, contentProps: a } = xse({
...e,
"aria-labelledby": n
- }, t), o = (0, F.useContext)(zz);
+ }, t), o = (0, F.useContext)(Rz);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
- let s = LL({
+ let s = IL({
defaultClassName: "react-aria-Dialog",
className: e.className,
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
- }), c = qw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(UL.section, {
+ }), c = Yw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(HL.section, {
...K(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
- }, /*#__PURE__*/ F.createElement(IL, { values: [
- [tR, { slots: {
- [FL]: {},
+ }, /*#__PURE__*/ F.createElement(FL, { values: [
+ [eR, { slots: {
+ [PL]: {},
title: {
...i,
level: 2
}
} }],
- [rR, { slots: {
- [FL]: {},
+ [nR, { slots: {
+ [PL]: {},
description: a
} }],
- [$L, { slots: {
- [FL]: {},
+ [QL, { slots: {
+ [PL]: {},
close: { onPress: () => o?.close() }
} }]
] }, s.children));
-}), Vz = typeof document < "u" && window.visualViewport;
-function nme() {
- let e = dC(), t = (0, F.useRef)(null), [n, r] = (0, F.useState)(() => e ? {
+}), Bz = typeof document < "u" && window.visualViewport;
+function rme() {
+ let e = pC(), t = (0, F.useRef)(null), [n, r] = (0, F.useState)(() => e ? {
width: 0,
height: 0
- } : Hz());
+ } : Vz());
return (0, F.useEffect)(() => {
let e = (e) => {
r((t) => e.width === t.width && e.height === t.height ? t : e);
}, n = () => {
- Vz && Vz.scale > 1 || e(Hz());
+ Bz && Bz.scale > 1 || e(Vz());
}, i = (n) => {
- Vz && Vz.scale > 1 || Ow(G(n)) && (t.current = wk((t) => {
+ Bz && Bz.scale > 1 || Aw(G(n)) && (t.current = Ek((t) => {
t || e({
width: document.documentElement.clientWidth,
height: document.documentElement.clientHeight
});
}));
};
- return e(Hz()), $S() && eC() && window.addEventListener("blur", i, !0), Vz ? Vz.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
- t.current?.(), $S() && eC() && window.removeEventListener("blur", i, !0), Vz ? Vz.removeEventListener("resize", n) : window.removeEventListener("resize", n);
+ return e(Vz()), tC() && nC() && window.addEventListener("blur", i, !0), Bz ? Bz.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
+ t.current?.(), tC() && nC() && window.removeEventListener("blur", i, !0), Bz ? Bz.removeEventListener("resize", n) : window.removeEventListener("resize", n);
};
}, []), n;
}
-function Hz() {
+function Vz() {
return {
- width: Vz ? Math.min(Vz.width * Vz.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
- height: Vz ? Vz.height * Vz.scale : document.documentElement.clientHeight
+ width: Bz ? Math.min(Bz.width * Bz.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
+ height: Bz ? Bz.height * Bz.scale : document.documentElement.clientHeight
};
}
// node_modules/react-aria-components/dist/private/Modal.mjs
-var rme = /*#__PURE__*/ (0, F.createContext)(null), Uz = /*#__PURE__*/ (0, F.createContext)(null), ime = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- if ((0, F.useContext)(Uz)) return /*#__PURE__*/ F.createElement(Gz, {
+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, {
...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(Wz, {
+ return /*#__PURE__*/ F.createElement(Uz, {
isDismissable: n,
isKeyboardDismissDisabled: r,
isOpen: i,
@@ -40272,15 +40272,15 @@ var rme = /*#__PURE__*/ (0, F.createContext)(null), Uz = /*#__PURE__*/ (0, F.cre
isExiting: l,
UNSTABLE_portalContainer: u,
shouldCloseOnInteractOutside: d
- }, /*#__PURE__*/ F.createElement(Gz, {
+ }, /*#__PURE__*/ F.createElement(Wz, {
...f,
modalRef: t
}, s));
});
-function ame(e, t) {
- [e, t] = zL(e, t, rme);
- let n = (0, F.useContext)(zz), r = xz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = ew(t), o = (0, F.useRef)(null), s = Cz(a, i.isOpen, e.onExit), c = (0, F.useRef)(null), l = Cz(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = dC();
- return !i.isOpen && !u || d ? null : /*#__PURE__*/ F.createElement(ome, {
+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 = pC();
+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ F.createElement(sme, {
...e,
state: i,
isExiting: u,
@@ -40289,12 +40289,12 @@ function ame(e, t) {
onExitRef: c
});
}
-var Wz = /*#__PURE__*/ (0, F.forwardRef)(ame);
-function ome({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
- let r = n.modalRef, { state: i } = n, [a, o] = (0, F.useState)(!1), s = Sz(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = Qse({
+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({
...n,
isEntering: c
- }, i, r), d = (0, F.useContext)(Rz), f = t ? sme(d, { isEntering: c }) : d, p = LL({
+ }, i, r), d = (0, F.useContext)(Lz), f = t ? cme(d, { isEntering: c }) : d, p = IL({
...n,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -40302,9 +40302,9 @@ function ome({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isExiting: n.isExiting,
state: i
}
- }), m = nme(), h, g;
+ }), m = rme(), h, g;
if (typeof document < "u") {
- let e = IT(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
+ let e = RT(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 ome({ 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 US(() => wk(() => o(!0)), []), /*#__PURE__*/ F.createElement(jD, {
+ return GS(() => Ek(() => o(!0)), []), /*#__PURE__*/ F.createElement(ND, {
isExiting: n.isExiting,
portalContainer: e
- }, /*#__PURE__*/ F.createElement(UL.div, {
- ...K(qw(n, { global: !0 }), u),
+ }, /*#__PURE__*/ F.createElement(HL.div, {
+ ...K(Yw(n, { global: !0 }), u),
...p,
style: _,
ref: n.overlayRef,
"data-entering": s || void 0,
"data-exiting": n.isExiting || void 0
- }, /*#__PURE__*/ F.createElement(IL, { values: [
- [Uz, {
+ }, /*#__PURE__*/ F.createElement(FL, { values: [
+ [Hz, {
modalProps: l,
modalRef: r,
isExiting: n.isExiting,
@@ -40333,11 +40333,11 @@ function ome({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isOpen: a,
isDismissable: n.isDismissable
}],
- [zz, i],
- [Rz, f]
+ [Rz, i],
+ [Lz, f]
] }, p.children)));
}
-function sme(e, t) {
+function cme(e, t) {
if (e && "slots" in e && e.slots) {
let n = {};
for (let r in e.slots) n[r] = {
@@ -40354,8 +40354,8 @@ function sme(e, t) {
...t
};
}
-function Gz(e) {
- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, F.useContext)(Uz), s = (0, F.useContext)(zz), c = ew((0, F.useMemo)(() => GC(e.modalRef, n), [e.modalRef, n])), l = Sz(c, o, e.onEnter), u = LL({
+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({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -40364,20 +40364,20 @@ function Gz(e) {
state: s
}
});
- return US(() => {
+ return GS(() => {
i && (i.current = e.onExit);
- }), /*#__PURE__*/ F.createElement(UL.div, {
- ...K(qw(e, { global: !0 }), t),
+ }), /*#__PURE__*/ F.createElement(HL.div, {
+ ...K(Yw(e, { global: !0 }), t),
...u,
ref: c,
"data-entering": l || void 0,
"data-exiting": r || void 0
- }, a && /*#__PURE__*/ F.createElement(_k, { onDismiss: s.close }), u.children);
+ }, a && /*#__PURE__*/ F.createElement(yk, { onDismiss: s.close }), u.children);
}
// node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var cme = Math.round(Math.random() * 1e10), lme = 0;
-function ume(e) {
- let t = (0, F.useMemo)(() => e.name || `radio-group-${cme}-${++lme}`, [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({
+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({
...e,
value: n
}), c = (t) => {
@@ -40399,16 +40399,16 @@ function ume(e) {
};
}
// node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var dme = /*#__PURE__*/ (0, F.createContext)(null), fme = /*#__PURE__*/ (0, F.createContext)(null), Kz = /*#__PURE__*/ (0, F.createContext)(null), qz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = zL(e, t, dme);
- let { validationBehavior: n } = RL(aR) || {}, r = e.validationBehavior ?? n ?? "native", i = ume({
+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({
...e,
validationBehavior: r
- }), [a, o] = BL(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = dce({
+ }), [a, o] = zL(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = lce({
...e,
label: o,
validationBehavior: r
- }, i), f = LL({
+ }, i), f = IL({
...e,
values: {
orientation: e.orientation || "vertical",
@@ -40419,8 +40419,8 @@ var dme = /*#__PURE__*/ (0, F.createContext)(null), fme = /*#__PURE__*/ (0, F.cr
state: i
},
defaultClassName: "react-aria-RadioGroup"
- }), p = qw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(UL.div, {
+ }), p = Yw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(HL.div, {
...K(p, f, s),
ref: t,
slot: e.slot || void 0,
@@ -40429,39 +40429,39 @@ var dme = /*#__PURE__*/ (0, F.createContext)(null), fme = /*#__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(IL, { values: [
- [Kz, i],
- [ZL, {
+ }, /*#__PURE__*/ F.createElement(FL, { values: [
+ [Gz, i],
+ [XL, {
...c,
ref: a,
elementType: "span"
}],
- [rR, { slots: {
+ [nR, { slots: {
description: l,
errorMessage: u
} }],
- [iR, d]
- ] }, /*#__PURE__*/ F.createElement(rz, null, f.children)));
-}), Jz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [rR, d]
+ ] }, /*#__PURE__*/ F.createElement(nz, null, f.children)));
+}), qz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = zL(r, t, fme);
- let i = F.useContext(Kz), a = ew((0, F.useMemo)(() => GC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = uce({
- ...VL(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),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ F.createElement(Yz.Provider, { value: {
+ return /*#__PURE__*/ F.createElement(Jz.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ F.createElement(pme, {
+ } }, /*#__PURE__*/ F.createElement(mme, {
...e,
ref: t
}));
-}), Yz = /*#__PURE__*/ (0, F.createContext)(null), pme = /*#__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)(Yz), l = F.useContext(Kz), { isFocused: u, isFocusVisible: d, focusProps: f } = ND(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = LD({
+}), 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({
...e,
isDisabled: p
- }), g = LL({
+ }), g = IL({
...e,
defaultClassName: s,
values: {
@@ -40475,8 +40475,8 @@ var dme = /*#__PURE__*/ (0, F.createContext)(null), fme = /*#__PURE__*/ (0, F.cr
isInvalid: l.isInvalid,
isRequired: l.isRequired
}
- }), _ = qw(e, { global: !0 });
- return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(UL.label, {
+ }), _ = Yw(e, { global: !0 });
+ return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(HL.label, {
...K(_, n, m, g),
ref: t,
"data-selected": i || void 0,
@@ -40488,18 +40488,18 @@ var dme = /*#__PURE__*/ (0, F.createContext)(null), fme = /*#__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(hE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {
+ }, /*#__PURE__*/ F.createElement(_E, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {
...K(r, f),
ref: c
})), g.children);
});
// node_modules/react-stately/dist/private/select/useSelectState.mjs
-function mme(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = xz(e), [i, a] = (0, F.useState)(null), o = (0, F.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+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, [
e.defaultValue,
e.defaultSelectedKey,
t
- ]), [s, c] = aE((0, F.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
+ ]), [s, c] = sE((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 mme(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = hz({
+ }, d = mz({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, F.useMemo)(() => hme(l), [l]),
+ selectedKeys: (0, F.useMemo)(() => gme(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -40526,7 +40526,7 @@ function mme(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 = XT({
+ }), 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({
...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 mme(e) {
setFocused: g
};
}
-function hme(e) {
+function gme(e) {
if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];
}
// node_modules/react-aria-components/dist/private/Select.mjs
-function gme(e) {
+function _me(e) {
return e && e.__esModule ? e.default : e;
}
-var Xz = /*#__PURE__*/ (0, F.createContext)(null), Zz = /*#__PURE__*/ (0, F.createContext)(null), _me = /*#__PURE__*/ aw(function(e, t) {
- [e, t] = zL(e, t, Xz);
+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);
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 Xz = /*#__PURE__*/ (0, F.createContext)(null), Zz = /*#__PURE__*/ (0, F.crea
i,
a
]);
- return /*#__PURE__*/ F.createElement(uw, { content: o }, (n) => /*#__PURE__*/ F.createElement(yme, {
+ return /*#__PURE__*/ F.createElement(fw, { content: o }, (n) => /*#__PURE__*/ F.createElement(bme, {
props: e,
collection: n,
selectRef: t
}));
-}), vme = [
- ZL,
- $L,
- rR
+}), yme = [
+ XL,
+ QL,
+ nR
];
-function yme({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = RL(aR) || {}, i = e.validationBehavior ?? r ?? "native", a = mme({
+function bme({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = LL(iR) || {}, i = e.validationBehavior ?? r ?? "native", a = hme({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = ND({ within: !0 }), c = (0, F.useRef)(null), [l, u] = BL(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = fce({
- ...VL(e),
+ }), { 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),
label: u,
validationBehavior: i
}, a, c), y = (0, F.useMemo)(() => ({
@@ -40610,48 +40610,48 @@ function yme({ props: e, selectRef: t, collection: n }) {
e.isDisabled,
v.isInvalid,
e.isRequired
- ]), b = LL({
+ ]), b = IL({
...e,
values: y,
defaultClassName: "react-aria-Select"
- }), x = qw(e, { global: !0 });
+ }), x = Yw(e, { global: !0 });
delete x.id;
let S = (0, F.useRef)(null);
- return /*#__PURE__*/ F.createElement(IL, { values: [
- [Xz, e],
- [Zz, a],
- [Qz, p],
- [ZL, {
+ return /*#__PURE__*/ F.createElement(FL, { values: [
+ [Yz, e],
+ [Xz, a],
+ [Zz, p],
+ [XL, {
...d,
ref: l,
elementType: "span"
}],
- [$L, {
+ [QL, {
...f,
ref: c,
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [zz, a],
- [Tz, {
+ [Rz, a],
+ [wz, {
trigger: "Select",
triggerRef: c,
scrollRef: S,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: vme
+ clearContexts: yme
}],
- [vz, {
+ [_z, {
...m,
ref: S
}],
- [yz, a],
- [rR, { slots: {
+ [vz, a],
+ [nR, { slots: {
description: h,
errorMessage: g
} }],
- [iR, v]
- ] }, /*#__PURE__*/ F.createElement(UL.div, {
+ [rR, v]
+ ] }, /*#__PURE__*/ F.createElement(HL.div, {
...K(x, b, s),
ref: t,
slot: e.slot || void 0,
@@ -40661,14 +40661,14 @@ function yme({ 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(mce, {
+ }, b.children, /*#__PURE__*/ F.createElement(fce, {
..._,
autoComplete: e.autoComplete
})));
}
-for (var Qz = /*#__PURE__*/ (0, F.createContext)(null), bme = /*#__PURE__*/ aw(function(e, t) {
- [e, t] = zL(e, t, Qz);
- let n = (0, F.useContext)(Zz), { placeholder: r } = RL(Xz), i = n.selectedItems.map((e) => {
+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) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -40680,7 +40680,7 @@ for (var Qz = /*#__PURE__*/ (0, F.createContext)(null), bme = /*#__PURE__*/ aw(f
selectionMode: "single",
selectionBehavior: "toggle"
})), t;
- }), 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), [
+ }), 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), [
s,
a,
o
@@ -40695,7 +40695,7 @@ for (var Qz = /*#__PURE__*/ (0, F.createContext)(null), bme = /*#__PURE__*/ aw(f
a,
o,
i
- ]), u = Gw(gme(ZR), "react-aria-components"), d = LL({
+ ]), u = qw(_me(XR), "react-aria-components"), d = IL({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -40706,33 +40706,33 @@ for (var Qz = /*#__PURE__*/ (0, F.createContext)(null), bme = /*#__PURE__*/ aw(f
isPlaceholder: n.selectedItems.length === 0,
state: n
}
- }), f = qw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(UL.span, {
+ }), f = Yw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(HL.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
- }, /*#__PURE__*/ F.createElement(rR.Provider, { value: void 0 }, d.children));
-}), xme = /*#__PURE__*/ (0, F.createContext)(null), $z = /*#__PURE__*/ (0, F.createContext)(null), Sme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ }, /*#__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) {
let { inputRef: n = null, ...r } = e;
- [e, t] = zL(r, t, xme);
- let i = ew((0, F.useMemo)(() => GC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = oE(e), o = gce({
- ...VL(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),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ F.createElement(IL, { values: [[$z, a], [eB, {
+ return /*#__PURE__*/ F.createElement(FL, { values: [[Qz, a], [$z, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ F.createElement(Cme, {
+ }]] }, /*#__PURE__*/ F.createElement(wme, {
...e,
ref: t
}));
-}), eB = /*#__PURE__*/ (0, F.createContext)(null), Cme = /*#__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)(eB), { isFocused: f, isFocusVisible: p, focusProps: m } = ND(), h = a || o, g = (0, F.useContext)($z), { hoverProps: _, isHovered: v } = LD({
+}), $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({
...e,
isDisabled: h
- }), y = LL({
+ }), y = IL({
...e,
defaultClassName: u,
values: {
@@ -40747,8 +40747,8 @@ for (var Qz = /*#__PURE__*/ (0, F.createContext)(null), bme = /*#__PURE__*/ aw(f
isRequired: d || !1,
state: g
}
- }), b = qw(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(UL.label, {
+ }), b = Yw(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(HL.label, {
...K(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -40761,11 +40761,11 @@ for (var Qz = /*#__PURE__*/ (0, F.createContext)(null), bme = /*#__PURE__*/ aw(f
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": d || void 0
- }, /*#__PURE__*/ F.createElement(hE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {
+ }, /*#__PURE__*/ F.createElement(_E, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {
...K(r, m),
ref: l
})), y.children);
-}), tB = 10, nB = 5, rB = class {
+}), eB = 10, tB = 5, nB = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -40775,7 +40775,7 @@ for (var Qz = /*#__PURE__*/ (0, F.createContext)(null), bme = /*#__PURE__*/ aw(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) > nB && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > tB && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ 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") {
let t = this.state.collection.getKeyBefore(e.key);
for (; t != null;) {
let e = this.state.collection.getItem(t);
@@ -40854,11 +40854,11 @@ for (var Qz = /*#__PURE__*/ (0, F.createContext)(null), bme = /*#__PURE__*/ aw(f
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > nB && i) {
+ if (Math.abs(r - c.lastSwitchY) > tB && 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 > tB && a) {
+ if (l > eB && 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 Qz = /*#__PURE__*/ (0, F.createContext)(null), bme = /*#__PURE__*/ aw(f
boundaryContext: null
};
}
-}, wme = class {
+}, Tme = 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 Qz = /*#__PURE__*/ (0, F.createContext)(null), bme = /*#__PURE__*/ aw(f
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, iB = "row-header-column-" + Math.random().toString(36).slice(2), aB = "row-header-column-" + Math.random().toString(36).slice(2); iB === aB;) aB = "row-header-column-" + Math.random().toString(36).slice(2);
-function oB(e, t) {
+}, 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) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -41028,13 +41028,13 @@ function oB(e, t) {
textValue: ""
}));
}
-var Tme = class extends wme {
+var Eme = class extends Tme {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: iB,
+ key: rB,
value: null,
textValue: "",
level: 0,
@@ -41049,7 +41049,7 @@ var Tme = class extends wme {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: aB,
+ key: iB,
value: null,
textValue: "",
level: 0,
@@ -41076,7 +41076,7 @@ var Tme = class extends wme {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = oB(s, a);
+ let l = aB(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -41102,10 +41102,10 @@ var Tme = class extends wme {
return this.keyMap.get(e)?.nextKey ?? null;
}
getFirstKey() {
- return vD(this.body.childNodes)?.key ?? null;
+ return bD(this.body.childNodes)?.key ?? null;
}
getLastKey() {
- return bD(this.body.childNodes)?.key ?? null;
+ return SD(this.body.childNodes)?.key ?? null;
}
getItem(e) {
return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;
@@ -41136,15 +41136,15 @@ var Tme = class extends wme {
}
};
// node_modules/react-stately/dist/private/table/TableUtils.mjs
-function Eme(e) {
+function Dme(e) {
return e != null && (!isNaN(e) || String(e).match(/^(\d+)(?=%$)/) !== null);
}
-function Dme(e) {
+function Ome(e) {
if (!e || typeof e == "number") return 1;
let t = e.match(/^(.+)(?=fr$)/);
return t ? parseFloat(t[0]) : 1;
}
-function sB(e, t) {
+function oB(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 sB(e, t) {
}
return e;
}
-function cB(e, t) {
- return e == null ? 2 ** 53 - 1 : sB(e, t);
+function sB(e, t) {
+ return e == null ? 2 ** 53 - 1 : oB(e, t);
}
-function lB(e, t) {
- return e == null ? 0 : sB(e, t);
+function cB(e, t) {
+ return e == null ? 0 : oB(e, t);
}
-function Ome(e, t, n, r, i) {
+function kme(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;
- Eme(o) ? (l = sB(o, e), s = !0) : (u = Dme(o), u <= 0 && (s = !0));
- let f = lB(t.minWidth ?? i?.(a) ?? 0, e), p = cB(t.maxWidth, e), m = Math.max(f, Math.min(l, p));
+ 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));
return s ? d = m : l > m && (s = !0, d = m), s || (c = !0), {
frozen: s,
baseSize: l,
@@ -41198,14 +41198,14 @@ function Ome(e, t, n, r, i) {
i === 0 || Math.sign(i) === Math.sign(e.violation) ? e.frozen = !0 : e.frozen || (c = !0);
});
}
- let u = kme(l);
+ let u = Ame(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 kme(e) {
+function Ame(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 kme(e) {
}), r;
}
// node_modules/react-stately/dist/private/table/TableColumnLayout.mjs
-var Ame = class {
+var jme = 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 Ame = class {
}), o;
}
buildColumnWidths(e, t, n) {
- return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Ome(e, t.columns.map((e) => ({
+ return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), kme(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, lB(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, cB(a.props.maxWidth, e));
+ 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;
}
};
// node_modules/react-stately/dist/private/table/useTableColumnResizeState.mjs
-function jme(e, t) {
- let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, F.useState)(null), s = (0, F.useMemo)(() => new Ame({
+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({
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 jme(e, t) {
]);
}
// node_modules/react-stately/dist/private/grid/useGridState.mjs
-function Mme(e) {
- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || lz(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
+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;
r.setFocusedKey = (e, r) => {
if (n === "cell" && e != null) {
let n = t.getItem(e);
if (n?.type === "item") {
- let i = _D(n, t);
- e = r === "last" ? bD(i)?.key ?? null : vD(i)?.key ?? null;
+ let i = yD(n, t);
+ e = r === "last" ? SD(i)?.key ?? null : bD(i)?.key ?? null;
}
}
a(e, r);
};
- let o = (0, F.useMemo)(() => new dz(t, r), [t, r]), s = (0, F.useRef)(null);
+ let o = (0, F.useMemo)(() => new uz(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 Mme(e) {
}
}
if (u) {
- let i = u.hasChildNodes ? [..._D(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
+ let i = u.hasChildNodes ? [...yD(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 Mme(e) {
};
}
// node_modules/react-stately/dist/private/table/useTableState.mjs
-var Nme = {
+var Pme = {
ascending: "descending",
descending: "ascending"
};
-function Pme(e) {
+function Fme(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 Pme(e) {
i,
r,
a
- ]), c = mz(e, (0, F.useCallback)((e) => new Tme(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Mme({
+ ]), c = pz(e, (0, F.useCallback)((e) => new Eme(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Nme({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
- }), [d, f] = aE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ }), [d, f] = sE(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 Pme(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? Nme[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? Pme[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -41398,7 +41398,7 @@ function Pme(e) {
treeColumn: o
};
}
-function Fme(e, t) {
+function Ime(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 Fme(e, t) {
};
}
// node_modules/react-aria-components/dist/private/Table.mjs
-function Ime(e) {
+function Lme(e) {
return e && e.__esModule ? e.default : e;
}
-var Lme = class extends xS {
+var Rme = class extends CS {
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 Lme = class extends xS {
}
get body() {
for (let e of this) if (e.type === "tablebody") return e;
- return new vB(-2);
+ return new _B(-2);
}
commit(e, t, n = !1) {
this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];
@@ -41451,7 +41451,7 @@ var Lme = class extends xS {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = oB(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 = 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");
}
get columnCount() {
return this.columns.length;
@@ -41532,28 +41532,28 @@ var Lme = class extends xS {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new mB(-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 pB(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, uB = /*#__PURE__*/ (0, F.createContext)(null), Rme = /*#__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);
- US(() => {
+}, 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);
+ GS(() => {
let e = r.current;
- for (; e && e !== n.current && !IT(e);) e = e.parentElement;
+ for (; e && e !== n.current && !RT(e);) e = e.parentElement;
i.current = e;
- }, [n]), FO({
+ }, [n]), LO({
ref: i,
box: "border-box",
onResize() {
o(i.current?.clientWidth ?? 0);
}
- }), US(() => {
+ }), GS(() => {
o(i.current?.clientWidth ?? 0);
}, []);
let s = (0, F.useMemo)(() => ({
tableRef: r,
scrollRef: i,
tableWidth: a,
- useTableColumnResizeState: jme,
+ useTableColumnResizeState: Mme,
onResizeStart: e.onResizeStart,
onResize: e.onResize,
onResizeEnd: e.onResizeEnd
@@ -41564,17 +41564,17 @@ var Lme = class extends xS {
e.onResize,
e.onResizeEnd
]);
- return /*#__PURE__*/ F.createElement(UL.div, {
+ return /*#__PURE__*/ F.createElement(HL.div, {
render: e.render,
- ...qw(e, { global: !0 }),
+ ...Yw(e, { global: !0 }),
ref: n,
className: e.className || "react-aria-ResizableTableContainer",
style: e.style,
onScroll: e.onScroll
- }, /*#__PURE__*/ F.createElement(uB.Provider, { value: s }, e.children));
-}), zme = /*#__PURE__*/ (0, F.createContext)(null), dB = /*#__PURE__*/ (0, F.createContext)(null), fB = /*#__PURE__*/ (0, F.createContext)(null), Bme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = zL(e, t, zme);
- let n = lz(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, F.useMemo)(() => ({
+ }, /*#__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)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
disallowEmptySelection: a,
@@ -41584,26 +41584,26 @@ var Lme = class extends xS {
i,
a,
o
- ]), c = /*#__PURE__*/ F.createElement(Ume.Provider, { value: s }, /*#__PURE__*/ F.createElement(_w, e));
- return /*#__PURE__*/ F.createElement(uw, {
+ ]), c = /*#__PURE__*/ F.createElement(Wme.Provider, { value: s }, /*#__PURE__*/ F.createElement(yw, e));
+ return /*#__PURE__*/ F.createElement(fw, {
content: c,
- createCollection: () => new Lme()
- }, (r) => /*#__PURE__*/ F.createElement(Hme, {
+ createCollection: () => new Rme()
+ }, (r) => /*#__PURE__*/ F.createElement(Ume, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), Vme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(YL);
- return n ? /*#__PURE__*/ F.createElement(UL.div, {
+}), Hme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(JL);
+ return n ? /*#__PURE__*/ F.createElement(HL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(UL.table, {
+ }) : /*#__PURE__*/ F.createElement(HL.table, {
...e,
ref: t
});
-}), pB = {
+}), fB = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -41613,26 +41613,26 @@ var Lme = class extends xS {
rtl: "ArrowRight"
}
};
-function Hme({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
- [e, t] = zL(e, t, WL);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, F.useContext)(uB);
- 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);
+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);
r = (0, F.useMemo)(() => r.withExpandedKeys(l), [r, l]);
- let d = Pme({
+ let d = Fme({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = Fme(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, F.useContext)(YL), { dragAndDropHooks: _ } = e, { gridProps: v } = bce({
+ }), f = Ime(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, F.useContext)(JL), { dragAndDropHooks: _ } = e, { gridProps: v } = yce({
...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 } = zw(), [k] = (0, F.useState)(() => new rB());
+ let S, C, w, T = !1, E = null, D = (0, F.useRef)(null), { direction: O } = Vw(), [k] = (0, F.useState)(() => new nB());
if (b && _) {
S = _.useDraggableCollectionState({
collection: f.collection,
@@ -41647,7 +41647,7 @@ function Hme({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
collection: f.collection,
selectionManager: y
});
- let e = new OE({
+ let e = new AE({
collection: f.collection,
disabledKeys: y.disabledKeys,
disabledBehavior: y.disabledBehavior,
@@ -41667,12 +41667,12 @@ function Hme({ 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 === pB.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === pB.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(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);
}
}
}, C, t), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: A, isFocused: j, isFocusVisible: M } = ND(), ee = LL({
+ let { focusProps: A, isFocused: j, isFocusVisible: M } = FD(), ee = IL({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -41688,19 +41688,19 @@ function Hme({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
tableLayout: "fixed",
width: "min-content"
}));
- let ne = qw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(IL, { values: [
- [dB, f],
- [fB, P],
- [QR, {
+ let ne = Yw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(FL, { values: [
+ [uB, f],
+ [dB, P],
+ [ZR, {
dragAndDropHooks: _,
dragState: S,
dropState: C
}],
- [$R, { render: $me }],
- [WL, null],
- [GL, null]
- ] }, /*#__PURE__*/ F.createElement(_T, null, /*#__PURE__*/ F.createElement(Vme, {
+ [QR, { render: ehe }],
+ [UL, null],
+ [WL, null]
+ ] }, /*#__PURE__*/ F.createElement(yT, null, /*#__PURE__*/ F.createElement(Hme, {
...K(ne, ee, v, A, w?.collectionProps),
style: te,
ref: t,
@@ -41710,55 +41710,55 @@ function Hme({ 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(rz, null, /*#__PURE__*/ F.createElement(g, {
+ }, /*#__PURE__*/ F.createElement(nz, null, /*#__PURE__*/ F.createElement(g, {
collection: f.collection,
scrollRef: c?.scrollRef ?? t,
- persistedKeys: tz(y, _, C)
+ persistedKeys: ez(y, _, C)
})))), E);
}
-var Ume = /*#__PURE__*/ (0, F.createContext)(null), mB = class extends _S {
+var Wme = /*#__PURE__*/ (0, F.createContext)(null), pB = class extends yS {
static {
this.type = "tableheader";
}
-}, Wme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(YL);
- return n ? /*#__PURE__*/ F.createElement(UL.div, {
+}, Gme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(JL);
+ return n ? /*#__PURE__*/ F.createElement(HL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(UL.thead, {
+ }) : /*#__PURE__*/ F.createElement(HL.thead, {
...e,
ref: t
});
-}), hB = /*#__PURE__*/ mw(mB, (e, t) => {
- let n = (0, F.useContext)(dB).collection, r = TS({
+}), mB = /*#__PURE__*/ gw(pB, (e, t) => {
+ let n = (0, F.useContext)(uB).collection, r = DS({
items: n.headerRows,
children: (0, F.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ F.createElement(Kme, { item: e });
+ case "headerrow": return /*#__PURE__*/ F.createElement(qme, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = HA(), { hoverProps: a, isHovered: o } = LD({
+ }), { rowGroupProps: i } = UA(), { hoverProps: a, isHovered: o } = zD({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), s = LL({
+ }), s = IL({
...e,
children: void 0,
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ F.createElement(Wme, {
- ...K(qw(e, { global: !0 }), i, a),
+ return /*#__PURE__*/ F.createElement(Gme, {
+ ...K(Yw(e, { global: !0 }), i, a),
...s,
ref: t,
"data-hovered": o || void 0
}, r);
-}, (e) => /*#__PURE__*/ F.createElement(_w, {
+}, (e) => /*#__PURE__*/ F.createElement(yw, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), Gme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(YL);
+}, e.children)), Kme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(JL);
return n ? /*#__PURE__*/ F.createElement("div", {
...e,
ref: t
@@ -41767,41 +41767,41 @@ var Ume = /*#__PURE__*/ (0, F.createContext)(null), mB = class extends _S {
ref: t
});
});
-function Kme({ item: e }) {
- let t = (0, F.useRef)(null), n = (0, F.useContext)(dB), { isVirtualized: r, CollectionBranch: i } = (0, F.useContext)(YL), { rowProps: a } = Ece({
+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({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = Nce(n);
- return /*#__PURE__*/ F.createElement(Gme, {
+ }, n, t), { checkboxProps: o } = Mce(n);
+ return /*#__PURE__*/ F.createElement(Kme, {
...a,
ref: t
- }, /*#__PURE__*/ F.createElement(IL, { values: [[oR, { slots: { selection: o } }], [sR, { slots: { selection: o } }]] }, /*#__PURE__*/ F.createElement(i, {
+ }, /*#__PURE__*/ F.createElement(FL, { values: [[aR, { slots: { selection: o } }], [oR, { slots: { selection: o } }]] }, /*#__PURE__*/ F.createElement(i, {
collection: n.collection,
parent: e
})));
}
-var qme = class extends _S {
+var Jme = class extends yS {
static {
this.type = "column";
}
-}, Jme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(YL);
- return n ? /*#__PURE__*/ F.createElement(UL.div, {
+}, Yme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(JL);
+ return n ? /*#__PURE__*/ F.createElement(HL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(UL.th, {
+ }) : /*#__PURE__*/ F.createElement(HL.th, {
...e,
ref: t
});
-}), gB = /*#__PURE__*/ pw(qme, (e, t, n) => {
- let r = ew(t), i = (0, F.useContext)(dB), { isVirtualized: a } = (0, F.useContext)(YL), { columnHeaderProps: o, isPressed: s } = Cce({
+}), 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({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = ND(), d = (0, F.useContext)(fB), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = FD(), d = (0, F.useContext)(dB), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = LD({ isDisabled: !e.allowsSorting }), h = LL({
+ let { hoverProps: p, isHovered: m } = zD({ isDisabled: !e.allowsSorting }), h = IL({
...e,
id: void 0,
children: n.rendered,
@@ -41827,8 +41827,8 @@ var qme = class extends _S {
...g,
width: d.getColumnWidth(n.key)
});
- let _ = qw(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ F.createElement(Jme, {
+ let _ = Yw(e, { global: !0 });
+ return delete _.id, /*#__PURE__*/ F.createElement(Yme, {
...K(_, o, u, p),
...h,
style: g,
@@ -41840,29 +41840,29 @@ var qme = class extends _S {
"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(IL, { values: [[_B, {
+ }, /*#__PURE__*/ F.createElement(FL, { values: [[gB, {
column: n,
triggerRef: r
- }], [YL, qL]] }, h.children));
-}), _B = /*#__PURE__*/ (0, F.createContext)(null), Yme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let n = (0, F.useContext)(fB);
+ }], [JL, KL]] }, h.children));
+}), gB = /*#__PURE__*/ (0, F.createContext)(null), Xme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let n = (0, F.useContext)(dB);
if (!n) throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");
- let r = Gw(Ime(ZR), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, F.useContext)(uB), { column: s, triggerRef: c } = (0, F.useContext)(_B), l = (0, F.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Tce({
+ 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({
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 } = 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";
+ }, 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";
S = y ? x === "rtl" ? "right" : "left" : b ? x === "rtl" ? "left" : "right" : "both";
- let C = ew(t), [w, T] = (0, F.useState)("");
+ let C = nw(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 = LL({
+ let E = IL({
...e,
defaultClassName: "react-aria-ColumnResizer",
values: {
@@ -41872,8 +41872,8 @@ var qme = class extends _S {
isHovered: v,
resizableDirection: S
}
- }), D = qw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(UL.div, {
+ }), D = Yw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(HL.div, {
ref: C,
role: "presentation",
...K(D, E, u, _),
@@ -41896,24 +41896,24 @@ var qme = class extends _S {
},
"data-testid": "cursor-overlay"
}), document.body));
-}), vB = class extends vS {
+}), _B = class extends bS {
static {
this.type = "tablebody";
}
-}, Xme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(YL);
- return n ? /*#__PURE__*/ F.createElement(UL.div, {
+}, Zme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(JL);
+ return n ? /*#__PURE__*/ F.createElement(HL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(UL.tbody, {
+ }) : /*#__PURE__*/ F.createElement(HL.tbody, {
...e,
ref: t
});
-}), yB = /*#__PURE__*/ mw(vB, (e, t, n) => {
- let r = (0, F.useContext)(dB), { isVirtualized: i } = (0, F.useContext)(YL), a = r.collection, { CollectionBranch: o } = (0, F.useContext)(YL), { dragAndDropHooks: s, dropState: c } = (0, F.useContext)(QR), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), 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 = {
isDropTarget: u,
isEmpty: d
- }, p = LL({
+ }, p = IL({
...e,
id: void 0,
children: void 0,
@@ -41922,33 +41922,33 @@ var qme = class extends _S {
}), 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(xB, {
+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ F.createElement(bB, {
role: "row",
...t,
style: r
- }, /*#__PURE__*/ F.createElement(CB, {
+ }, /*#__PURE__*/ F.createElement(SB, {
role: "rowheader",
...n,
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = HA(), _ = qw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(Xme, {
+ let { rowGroupProps: g } = UA(), _ = Yw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(Zme, {
...K(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ F.createElement(ihe, null), /*#__PURE__*/ F.createElement(o, {
+ }, l && /*#__PURE__*/ F.createElement(ahe, null), /*#__PURE__*/ F.createElement(o, {
collection: a,
parent: n,
- renderDropIndicator: ez(s, c)
+ renderDropIndicator: $R(s, c)
}), m);
});
-(class extends vS {
+(class extends bS {
static {
this.type = "tablefooter";
}
});
-var bB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Zme = class extends _S {
+var yB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Qme = class extends yS {
static {
this.type = "item";
}
@@ -41960,31 +41960,31 @@ var bB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Zm
}
return null;
}
-}, xB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(YL);
- return n ? /*#__PURE__*/ F.createElement(UL.div, {
+}, bB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(JL);
+ return n ? /*#__PURE__*/ F.createElement(HL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(UL.tr, {
+ }) : /*#__PURE__*/ F.createElement(HL.tr, {
...e,
ref: t
});
-}), SB = /*#__PURE__*/ mw(Zme, (e, t, n) => {
- let r = ew(t), i = (0, F.useContext)(dB), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(QR), { isVirtualized: c, CollectionBranch: l } = (0, F.useContext)(YL), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = kce({
+}), 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({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = ND(), { isFocusVisible: _, focusProps: v } = ND({ within: !0 }), { hoverProps: y, isHovered: b } = LD({
+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = FD(), { isFocusVisible: _, focusProps: v } = FD({ within: !0 }), { hoverProps: y, isHovered: b } = zD({
isDisabled: !p.allowsSelection && !p.hasAction && !u,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: x } = Mce({ key: n.key }, i), S;
+ }), { checkboxProps: x } = jce({ 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 } = mE();
+ let C, w = (0, F.useRef)(null), { visuallyHiddenProps: T } = gE();
s && a && (C = a.useDropIndicator({ target: {
type: "item",
key: n.key,
@@ -41994,7 +41994,7 @@ var bB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Zm
(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 = LL({
+ 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({
...k,
id: void 0,
defaultClassName: "react-aria-Row",
@@ -42015,11 +42015,11 @@ var bB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Zm
isExpanded: j,
level: n.level + 1
}
- }), ee = qw(e, { global: !0 });
- return delete ee.id, delete ee.onClick, /*#__PURE__*/ F.createElement(F.Fragment, null, C && !C.isHidden && /*#__PURE__*/ F.createElement(xB, {
+ }), 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, {
role: "row",
style: { height: 0 }
- }, /*#__PURE__*/ F.createElement(CB, {
+ }, /*#__PURE__*/ F.createElement(SB, {
role: "gridcell",
colSpan: i.collection.columnCount,
style: { padding: 0 }
@@ -42028,7 +42028,7 @@ var bB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Zm
...T,
...C.dropIndicatorProps,
ref: w
- }))), /*#__PURE__*/ F.createElement(xB, {
+ }))), /*#__PURE__*/ F.createElement(bB, {
...K(ee, M, d, g, y, S?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
@@ -42044,17 +42044,17 @@ var bB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Zm
"data-expanded": j || void 0,
"data-has-child-items": A || void 0,
"data-level": n.level + 1
- }, /*#__PURE__*/ F.createElement(IL, { values: [
- [oR, { slots: {
- [FL]: {},
+ }, /*#__PURE__*/ F.createElement(FL, { values: [
+ [aR, { slots: {
+ [PL]: {},
selection: x
} }],
- [sR, { slots: {
- [FL]: {},
+ [oR, { slots: {
+ [PL]: {},
selection: x
} }],
- [$L, { slots: {
- [FL]: {},
+ [QL, { slots: {
+ [PL]: {},
chevron: f,
drag: {
...S?.dragButtonProps,
@@ -42062,8 +42062,8 @@ var bB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Zm
style: { pointerEvents: "none" }
}
} }],
- [iz, { isSelected: p.isSelected }],
- [bB, { isFocusVisibleWithinRow: _ }]
+ [rz, { isSelected: p.isSelected }],
+ [yB, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ F.createElement(l, {
collection: i.collection,
parent: n
@@ -42071,34 +42071,34 @@ var bB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Zm
}, (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(_w, {
+ return /*#__PURE__*/ F.createElement(yw, {
dependencies: t,
items: e.columns,
idScope: e.id
}, e.children);
-}), Qme = class extends _S {
+}), $me = class extends yS {
static {
this.type = "cell";
}
-}, CB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(YL);
- return n ? /*#__PURE__*/ F.createElement(UL.div, {
+}, SB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(JL);
+ return n ? /*#__PURE__*/ F.createElement(HL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(UL.td, {
+ }) : /*#__PURE__*/ F.createElement(HL.td, {
...e,
ref: t
});
-}), wB = /*#__PURE__*/ pw(Qme, (e, t, n) => {
- let r = ew(t), i = (0, F.useContext)(dB), { dragState: a } = (0, F.useContext)(QR), { isVirtualized: o } = (0, F.useContext)(YL);
+}), 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);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = xce({
+ let { gridCellProps: s, isPressed: c } = bce({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = ND(), { hoverProps: f, isHovered: p } = LD({}), { isFocusVisibleWithinRow: m } = (0, F.useContext)(bB), 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 = LL({
+ }, 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({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -42117,8 +42117,8 @@ var bB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Zm
level: _.level + 1,
isTreeColumn: n.column.key === i.treeColumn
}
- }), S = qw(e, { global: !0 });
- return delete S.id, /*#__PURE__*/ F.createElement(CB, {
+ }), S = Yw(e, { global: !0 });
+ return delete S.id, /*#__PURE__*/ F.createElement(SB, {
...K(S, x, s, d, f),
ref: r,
"data-focused": l || void 0,
@@ -42132,14 +42132,14 @@ var bB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Zm
"data-level": _.level + 1,
"data-tree-column": n.column.key === i.treeColumn || void 0,
"data-disabled": b || void 0
- }, /*#__PURE__*/ F.createElement(YL.Provider, { value: qL }, x.children));
+ }, /*#__PURE__*/ F.createElement(JL.Provider, { value: KL }, x.children));
});
-function $me(e, t) {
- t = ew(t);
- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(QR), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+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);
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(rhe, {
+ return /*#__PURE__*/ F.createElement(ihe, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -42148,40 +42148,40 @@ function $me(e, t) {
ref: t
});
}
-var ehe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(YL);
- return n ? /*#__PURE__*/ F.createElement(UL.div, {
+var the = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(JL);
+ return n ? /*#__PURE__*/ F.createElement(HL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(UL.tr, {
+ }) : /*#__PURE__*/ F.createElement(HL.tr, {
...e,
ref: t
});
-}), the = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(YL);
- return n ? /*#__PURE__*/ F.createElement(UL.div, {
+}), nhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(JL);
+ return n ? /*#__PURE__*/ F.createElement(HL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(UL.td, {
+ }) : /*#__PURE__*/ F.createElement(HL.td, {
...e,
ref: t
});
});
-function nhe(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, F.useContext)(dB), { visuallyHiddenProps: c } = mE(), l = LL({
+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({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ F.createElement(ehe, {
- ...qw(e, { global: !0 }),
+ return /*#__PURE__*/ F.createElement(the, {
+ ...Yw(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ F.createElement(the, {
+ }, /*#__PURE__*/ F.createElement(nhe, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -42192,14 +42192,14 @@ function nhe(e, t) {
ref: i
}), l.children));
}
-var rhe = /*#__PURE__*/ (0, F.forwardRef)(nhe);
-function ihe() {
- let e = (0, F.useContext)(dB), { dragAndDropHooks: t, dropState: n } = (0, F.useContext)(QR), 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(xB, {
+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, {
role: "row",
"aria-hidden": i["aria-hidden"],
style: { height: 0 }
- }, /*#__PURE__*/ F.createElement(CB, {
+ }, /*#__PURE__*/ F.createElement(SB, {
role: "gridcell",
colSpan: e.collection.columnCount,
style: { padding: 0 }
@@ -42210,9 +42210,9 @@ function ihe() {
ref: r
})));
}
-pw(yS, function(e, t, n) {
- let r = (0, F.useContext)(dB), { isVirtualized: i } = (0, F.useContext)(YL), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, F.useRef)(null);
- _z((0, F.useMemo)(() => ({
+hw(xS, 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)(() => ({
onLoadMore: o,
collection: r?.collection,
sentinelRef: u,
@@ -42222,7 +42222,7 @@ pw(yS, function(e, t, n) {
s,
r?.collection
]), u);
- let d = LL({
+ let d = IL({
...c,
id: void 0,
children: n.rendered,
@@ -42230,10 +42230,10 @@ pw(yS, 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(xB, {
+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(bB, {
style: { height: 0 },
- inert: oz(!0)
- }, /*#__PURE__*/ F.createElement(CB, { style: {
+ inert: az(!0)
+ }, /*#__PURE__*/ F.createElement(SB, { style: {
padding: 0,
border: 0
} }, /*#__PURE__*/ F.createElement("div", {
@@ -42244,22 +42244,22 @@ pw(yS, function(e, t, n) {
height: 1,
width: 1
}
- }))), a && d.children && /*#__PURE__*/ F.createElement(xB, {
- ...K(qw(e, { global: !0 }), f),
+ }))), a && d.children && /*#__PURE__*/ F.createElement(bB, {
+ ...K(Yw(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
"aria-level": n.level + 1,
"data-level": n.level + 1
- }, /*#__PURE__*/ F.createElement(CB, {
+ }, /*#__PURE__*/ F.createElement(SB, {
role: "rowheader",
...p,
style: m
}, d.children)));
});
// node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function ahe(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 } = hz({
+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({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -42281,24 +42281,24 @@ function ahe(e) {
};
}
// node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function ohe(e) {
- let t = ahe({
+function she(e) {
+ let t = ohe({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? TB(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ defaultSelectedKey: e.defaultSelectedKey ?? wB(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 = TB(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 = 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;
}), {
...t,
isDisabled: e.isDisabled || !1
};
}
-function TB(e, t) {
+function wB(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 TB(e, t) {
return n;
}
// node_modules/react-aria-components/dist/private/Tabs.mjs
-var EB = /*#__PURE__*/ (0, F.createContext)(null), DB = /*#__PURE__*/ (0, F.createContext)(null), she = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = zL(e, t, EB);
+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);
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(uw, { content: n }, (n) => /*#__PURE__*/ F.createElement(che, {
+ }) : n, [n, r]), /*#__PURE__*/ F.createElement(fw, { content: n }, (n) => /*#__PURE__*/ F.createElement(lhe, {
props: e,
collection: n,
tabsRef: t
}));
});
-function che({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = ohe({
+function lhe({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = she({
...e,
collection: n,
children: void 0
- }), { focusProps: a, isFocused: o, isFocusVisible: s } = ND({ within: !0 }), c = (0, F.useMemo)(() => ({
+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = FD({ within: !0 }), c = (0, F.useMemo)(() => ({
orientation: r,
isFocusWithin: o,
isFocusVisible: s
@@ -42332,12 +42332,12 @@ function che({ props: e, tabsRef: t, collection: n }) {
r,
o,
s
- ]), l = LL({
+ ]), l = IL({
...e,
defaultClassName: "react-aria-Tabs",
values: c
- }), u = qw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(UL.div, {
+ }), u = Yw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(HL.div, {
...K(u, l, a),
ref: t,
slot: e.slot || void 0,
@@ -42345,20 +42345,20 @@ function che({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ F.createElement(IL, { values: [[EB, e], [DB, i]] }, l.children));
+ }, /*#__PURE__*/ F.createElement(FL, { values: [[TB, e], [EB, i]] }, l.children));
}
-var OB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- return (0, F.useContext)(DB) ? /*#__PURE__*/ F.createElement(lhe, {
+var DB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ return (0, F.useContext)(EB) ? /*#__PURE__*/ F.createElement(uhe, {
props: e,
forwardedRef: t
- }) : /*#__PURE__*/ F.createElement(_w, e);
+ }) : /*#__PURE__*/ F.createElement(yw, e);
});
-function lhe({ props: e, forwardedRef: t }) {
- let n = (0, F.useContext)(DB), { CollectionRoot: r } = (0, F.useContext)(YL), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = RL(EB), o = ew(t), { tabListProps: s } = Ice({
+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({
...e,
orientation: i,
keyboardActivation: a
- }, n, o), c = LL({
+ }, n, o), c = IL({
...e,
children: null,
defaultClassName: "react-aria-TabList",
@@ -42366,30 +42366,30 @@ function lhe({ props: e, forwardedRef: t }) {
orientation: i,
state: n
}
- }), l = qw(e, { global: !0 });
- return delete l.id, /*#__PURE__*/ F.createElement(UL.div, {
+ }), l = Yw(e, { global: !0 });
+ return delete l.id, /*#__PURE__*/ F.createElement(HL.div, {
...K(l, c, s),
ref: o,
"data-orientation": i || void 0
- }, /*#__PURE__*/ F.createElement(rz, null, /*#__PURE__*/ F.createElement(r, {
+ }, /*#__PURE__*/ F.createElement(nz, null, /*#__PURE__*/ F.createElement(r, {
collection: n.collection,
- persistedKeys: XL(n.selectionManager.focusedKey)
+ persistedKeys: YL(n.selectionManager.focusedKey)
})));
}
-var uhe = /*#__PURE__*/ pw(class extends _S {
+var dhe = /*#__PURE__*/ hw(class extends yS {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, F.useContext)(DB), i = ew(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Pce({
+ let r = (0, F.useContext)(EB), i = nw(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Nce({
key: n.key,
...e
- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = ND(), { hoverProps: f, isHovered: p } = LD({
+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = FD(), { hoverProps: f, isHovered: p } = zD({
isDisabled: s,
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
onHoverChange: e.onHoverChange
- }), m = LL({
+ }), m = IL({
...e,
id: void 0,
children: n.rendered,
@@ -42402,7 +42402,7 @@ var uhe = /*#__PURE__*/ pw(class extends _S {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? UL.a : UL.div, g = qw(e, { global: !0 });
+ }), h = n.props.href ? HL.a : HL.div, g = Yw(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 uhe = /*#__PURE__*/ pw(class extends _S {
"data-focus-visible": d || void 0,
"data-pressed": c || void 0,
"data-hovered": p || void 0
- }, /*#__PURE__*/ F.createElement(iz.Provider, { value: { isSelected: o } }, m.children));
-}), dhe = /*#__PURE__*/ aw(function(e, t) {
- let n = (0, F.useContext)(DB), r = ew(t), i = n.selectedKey === e.id, [a, o] = (0, F.useState)(n.selectedKey == null ? null : i);
+ }, /*#__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);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
- let s = Cz(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ F.createElement(fhe, {
+ let s = Sz(r, i);
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ F.createElement(phe, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function fhe(e) {
- let t = (0, F.useContext)(DB), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Lce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = ND(), d = t.selectedKey === e.id, f = Sz(r) && !i, p = LL({
+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({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
isFocused: l,
isFocusVisible: u,
- isInert: oz(!d),
+ isInert: az(!d),
isEntering: f,
isExiting: a,
state: t
}
- }), m = qw(o, { global: !0 });
+ }), m = Yw(o, { global: !0 });
delete m.id;
let h = d ? K(m, s, c, p) : K(m, p);
- return /*#__PURE__*/ F.createElement(UL.div, {
+ return /*#__PURE__*/ F.createElement(HL.div, {
...h,
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
- inert: oz(!d || e.inert),
+ inert: az(!d || e.inert),
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ F.createElement(IL, { values: [[EB, null], [DB, null]] }, /*#__PURE__*/ F.createElement(YL.Provider, { value: qL }, p.children)));
+ }, /*#__PURE__*/ F.createElement(FL, { values: [[TB, null], [EB, null]] }, /*#__PURE__*/ F.createElement(JL.Provider, { value: KL }, p.children)));
}
// node_modules/react-aria-components/dist/private/TextArea.mjs
-var kB = /*#__PURE__*/ (0, F.createContext)({}), phe = (e) => {
+var OB = /*#__PURE__*/ (0, F.createContext)({}), mhe = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, mhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = zL(e, t, kB);
- let { hoverProps: n, isHovered: r } = LD(e), { isFocused: i, isFocusVisible: a, focusProps: o } = ND({
+}, 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({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = LL({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = IL({
...e,
values: {
isHovered: r,
@@ -42470,8 +42470,8 @@ var kB = /*#__PURE__*/ (0, F.createContext)({}), phe = (e) => {
},
defaultClassName: "react-aria-TextArea"
});
- return /*#__PURE__*/ F.createElement(UL.textarea, {
- ...K(phe(e), o, n),
+ return /*#__PURE__*/ F.createElement(HL.textarea, {
+ ...K(mhe(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -42480,18 +42480,18 @@ var kB = /*#__PURE__*/ (0, F.createContext)({}), phe = (e) => {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), hhe = /*#__PURE__*/ (0, F.createContext)(null), ghe = /*#__PURE__*/ aw(function(e, t) {
- [e, t] = zL(e, t, hhe);
- let { validationBehavior: n } = RL(aR) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useRef)(null);
- [e, i] = zL(e, i, GL);
- let [a, o] = BL(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, F.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = ose({
- ...VL(e),
+}), 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),
inputElementType: s,
label: o,
validationBehavior: r
}, i), m = (0, F.useCallback)((e) => {
i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");
- }, [i]), h = LL({
+ }, [i]), h = IL({
...e,
values: {
isDisabled: e.isDisabled || !1,
@@ -42500,8 +42500,8 @@ var kB = /*#__PURE__*/ (0, F.createContext)({}), phe = (e) => {
isRequired: e.isRequired || !1
},
defaultClassName: "react-aria-TextField"
- }), g = qw(e, { global: !0 });
- return delete g.id, /*#__PURE__*/ F.createElement(UL.div, {
+ }), g = Yw(e, { global: !0 });
+ return delete g.id, /*#__PURE__*/ F.createElement(HL.div, {
...g,
...h,
ref: t,
@@ -42510,31 +42510,31 @@ var kB = /*#__PURE__*/ (0, F.createContext)({}), phe = (e) => {
"data-invalid": p.isInvalid || void 0,
"data-readonly": e.isReadOnly || void 0,
"data-required": e.isRequired || void 0
- }, /*#__PURE__*/ F.createElement(IL, { values: [
- [ZL, {
+ }, /*#__PURE__*/ F.createElement(FL, { values: [
+ [XL, {
...l,
ref: a
}],
- [dR, {
+ [uR, {
...u,
ref: m
}],
- [kB, {
+ [OB, {
...u,
ref: m
}],
- [lR, {
+ [cR, {
role: "presentation",
isInvalid: p.isInvalid,
isDisabled: e.isDisabled || !1
}],
- [rR, { slots: {
+ [nR, { slots: {
description: d,
errorMessage: f
} }],
- [iR, p]
+ [rR, p]
] }, h.children));
-}), _he = class e extends xS {
+}), vhe = class e extends CS {
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 kB = /*#__PURE__*/ (0, F.createContext)({}), phe = (e) => {
constructor(...e) {
super(...e), this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, vhe = /*#__PURE__*/ (0, F.createContext)(null), AB = /*#__PURE__*/ (0, F.createContext)(null), yhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- return [e, t] = zL(e, t, vhe), /*#__PURE__*/ F.createElement(uw, {
- content: /*#__PURE__*/ F.createElement(_w, e),
- createCollection: () => new _he()
- }, (n) => /*#__PURE__*/ F.createElement(bhe, {
+}, 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, {
props: e,
collection: n,
treeRef: t
}));
-}), jB = {
+}), AB = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -42625,17 +42625,17 @@ var kB = /*#__PURE__*/ (0, F.createContext)({}), phe = (e) => {
rtl: "ArrowRight"
}
};
-function bhe({ props: e, collection: t, treeRef: n }) {
- let { dragAndDropHooks: r } = e, { direction: i } = zw(), a = ED({
+function xhe({ props: e, collection: t, treeRef: n }) {
+ let { dragAndDropHooks: r } = e, { direction: i } = Vw(), a = OD({
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)(YL), [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));
- Dhe(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));
- let D = kz({
+ 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({
...e,
selectionMode: u,
expandedKeys: y,
@@ -42643,7 +42643,7 @@ function bhe({ props: e, collection: t, treeRef: n }) {
collection: T,
children: void 0,
disabledBehavior: m
- }), { gridProps: O } = Rce({
+ }), { gridProps: O } = Lce({
...e,
isVirtualized: g,
layoutDelegate: _
@@ -42657,7 +42657,7 @@ function bhe({ 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 rB());
+ let [te] = (0, F.useState)(() => new nB());
if (s && r) {
A = r.useDroppableCollectionState({
collection: D.collection,
@@ -42665,7 +42665,7 @@ function bhe({ 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 OE({
+ let t = new AE({
collection: D.collection,
collator: a,
ref: n,
@@ -42687,12 +42687,12 @@ function bhe({ 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 === jB.expand[i] && n?.hasChildNodes && !D.expandedKeys.has(t.key) || e.key === jB.collapse[i] && n?.hasChildNodes && D.expandedKeys.has(t.key)) && D.toggleKey(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);
}
}
}, A, n), M = A.isDropTarget({ type: "root" });
}
- let P = !(!o || k?.isDisabled), { focusProps: ne, isFocused: re, isFocusVisible: I } = ND(), ie = {
+ let P = !(!o || k?.isDisabled), { focusProps: ne, isFocused: re, isFocusVisible: I } = FD(), ie = {
isEmpty: D.collection.size === 0,
isFocused: re,
isFocusVisible: I,
@@ -42700,7 +42700,7 @@ function bhe({ props: e, collection: t, treeRef: n }) {
selectionMode: D.selectionManager.selectionMode,
allowsDragging: !!P,
state: D
- }, ae = LL({
+ }, ae = IL({
...e,
children: void 0,
defaultClassName: "react-aria-Tree",
@@ -42717,8 +42717,8 @@ function bhe({ props: e, collection: t, treeRef: n }) {
style: { display: "contents" }
}, r));
}
- let se = qw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(_T, null, /*#__PURE__*/ F.createElement(UL.div, {
+ let se = Yw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(yT, null, /*#__PURE__*/ F.createElement(HL.div, {
...K(se, ae, O, ne, j?.collectionProps),
ref: n,
slot: e.slot || void 0,
@@ -42728,54 +42728,54 @@ function bhe({ 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(IL, { values: [
- [AB, D],
- [QR, {
+ }, /*#__PURE__*/ F.createElement(FL, { values: [
+ [kB, D],
+ [ZR, {
dragAndDropHooks: r,
dragState: k,
dropState: A
}],
- [$R, { render: Che }]
- ] }, s && /*#__PURE__*/ F.createElement(Ehe, null), /*#__PURE__*/ F.createElement(rz, null, /*#__PURE__*/ F.createElement(h, {
+ [QR, { render: whe }]
+ ] }, s && /*#__PURE__*/ F.createElement(Dhe, null), /*#__PURE__*/ F.createElement(nz, null, /*#__PURE__*/ F.createElement(h, {
collection: D.collection,
- persistedKeys: tz(D.selectionManager, r, A),
+ persistedKeys: ez(D.selectionManager, r, A),
scrollRef: n,
- renderDropIndicator: ez(r, A)
+ renderDropIndicator: $R(r, A)
}))), oe)), ee);
}
-var xhe = /*#__PURE__*/ pw(class extends _S {
+var She = /*#__PURE__*/ hw(class extends yS {
static {
this.type = "content";
}
}, function(e) {
- let t = (0, F.useContext)(MB), n = LL({
+ let t = (0, F.useContext)(jB), n = IL({
children: e.children,
values: t
});
- return /*#__PURE__*/ F.createElement(YL.Provider, { value: qL }, n.children);
-}), MB = /*#__PURE__*/ (0, F.createContext)(null), She = /*#__PURE__*/ mw(class extends _S {
+ return /*#__PURE__*/ F.createElement(JL.Provider, { value: KL }, n.children);
+}), jB = /*#__PURE__*/ (0, F.createContext)(null), Che = /*#__PURE__*/ gw(class extends yS {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, F.useContext)(AB);
- t = ew(t);
- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, F.useContext)(QR), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Ej({
+ 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({
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: _ } = LD({
+ }, 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({
isDisabled: !f.allowsSelection && !f.hasAction && !s,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { isFocusVisible: v, focusProps: y } = ND(), { isFocusVisible: b, focusProps: x } = ND({ within: !0 }), { checkboxProps: S } = Fse({ key: n.key }, r), C = null;
+ }), { isFocusVisible: v, focusProps: y } = FD(), { isFocusVisible: b, focusProps: x } = FD({ within: !0 }), { checkboxProps: S } = Nse({ 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 } = mE();
+ let w = null, T = (0, F.useRef)(null), E = (0, F.useRef)(null), D = (0, F.useRef)(null), { visuallyHiddenProps: O } = gE();
o && i && (w = i.useDropIndicator({
target: {
type: "item",
@@ -42814,7 +42814,7 @@ var xhe = /*#__PURE__*/ pw(class extends _S {
A,
M,
j
- ]), N = LL({
+ ]), N = IL({
...e,
id: void 0,
children: n.rendered,
@@ -42831,7 +42831,7 @@ var xhe = /*#__PURE__*/ pw(class extends _S {
(0, F.useEffect)(() => {
a && te.current;
}, []);
- let P = TS({
+ let P = DS({
items: r.collection.getChildren(n.key),
children: (e) => {
switch (e.type) {
@@ -42841,7 +42841,7 @@ var xhe = /*#__PURE__*/ pw(class extends _S {
default: throw Error("Unsupported element type in TreeRow: " + e.type);
}
}
- }), ne = UC(), re = qw(e, { global: !0 });
+ }), ne = GC(), re = Yw(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 xhe = /*#__PURE__*/ pw(class extends _S {
"aria-labelledby": `${ne} ${c.id}`,
tabIndex: -1,
ref: D
- }))), /*#__PURE__*/ F.createElement(UL.div, {
+ }))), /*#__PURE__*/ F.createElement(HL.div, {
...K(re, c, y, g, x, C?.dragProps),
...N,
ref: t,
@@ -42884,17 +42884,17 @@ var xhe = /*#__PURE__*/ pw(class extends _S {
}, /*#__PURE__*/ F.createElement("div", {
...l,
style: { display: "contents" }
- }, /*#__PURE__*/ F.createElement(IL, { values: [
- [oR, { slots: {
- [FL]: {},
+ }, /*#__PURE__*/ F.createElement(FL, { values: [
+ [aR, { slots: {
+ [PL]: {},
selection: S
} }],
- [sR, { slots: {
- [FL]: {},
+ [oR, { slots: {
+ [PL]: {},
selection: S
} }],
- [$L, { slots: {
- [FL]: {},
+ [QL, { slots: {
+ [PL]: {},
chevron: {
...u,
ref: T
@@ -42905,13 +42905,13 @@ var xhe = /*#__PURE__*/ pw(class extends _S {
style: { pointerEvents: "none" }
}
} }],
- [MB, { ...ee }],
- [iz, { isSelected: f.isSelected }]
+ [jB, { ...ee }],
+ [rz, { isSelected: f.isSelected }]
] }, P))));
});
-pw(yS, function(e, t, n) {
- let { isVirtualized: r } = (0, F.useContext)(YL), i = (0, F.useContext)(AB), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, F.useRef)(null);
- _z((0, F.useMemo)(() => ({
+hw(xS, 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)(() => ({
onLoadMore: o,
collection: i?.collection,
sentinelRef: l,
@@ -42920,11 +42920,11 @@ pw(yS, function(e, t, n) {
o,
s,
i?.collection
- ]), l), t = ew(t);
- let { rowProps: u, gridCellProps: d } = Ej({ node: n }, i, t), f = u["aria-level"] || 1, p = {
+ ]), l), t = nw(t);
+ let { rowProps: u, gridCellProps: d } = Dj({ node: n }, i, t), f = u["aria-level"] || 1, p = {
role: "row",
"aria-level": u["aria-level"]
- }, m = LL({
+ }, m = IL({
...c,
id: void 0,
children: n.rendered,
@@ -42937,7 +42937,7 @@ pw(yS, function(e, t, n) {
width: 0,
height: 0
},
- inert: oz(!0)
+ inert: az(!0)
}, /*#__PURE__*/ F.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: l,
@@ -42946,9 +42946,9 @@ pw(yS, function(e, t, n) {
height: 1,
width: 1
}
- })), a && m.children && /*#__PURE__*/ F.createElement(UL.div, {
+ })), a && m.children && /*#__PURE__*/ F.createElement(HL.div, {
ref: t,
- ...K(qw(e), p),
+ ...K(Yw(e), p),
...m,
"data-level": f
}, /*#__PURE__*/ F.createElement("div", {
@@ -42956,12 +42956,12 @@ pw(yS, function(e, t, n) {
style: h
}, m.children)));
});
-function Che(e, t) {
- t = ew(t);
- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(QR), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+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);
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(The, {
+ return /*#__PURE__*/ F.createElement(Ehe, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -42970,8 +42970,8 @@ function Che(e, t) {
level: c
});
}
-function whe(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = mE(), c = LL({
+function The(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = gE(), c = IL({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: {
@@ -42980,7 +42980,7 @@ function whe(e, t) {
},
values: { isDropTarget: r }
});
- return /*#__PURE__*/ F.createElement(UL.div, {
+ return /*#__PURE__*/ F.createElement(HL.div, {
...c,
role: "row",
"aria-level": a,
@@ -42993,9 +42993,9 @@ function whe(e, t) {
ref: i
}), c.children));
}
-var The = /*#__PURE__*/ (0, F.forwardRef)(whe);
-function Ehe() {
- let { dragAndDropHooks: e, dropState: t } = (0, F.useContext)(QR), n = (0, F.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = mE();
+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();
return !i && r["aria-hidden"] ? null : /*#__PURE__*/ F.createElement("div", {
role: "row",
"aria-hidden": r["aria-hidden"],
@@ -43007,13 +43007,13 @@ function Ehe() {
ref: n
})));
}
-function Dhe(e, t) {
+function Ohe(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 Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+var khe = ({ 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 Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), 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,
@@ -43029,7 +43029,7 @@ var Ohe = ({ 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" })), NB = ({ 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" })), 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,
@@ -43037,7 +43037,7 @@ var Ohe = ({ 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" })), PB = ({ 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" })), 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,
@@ -43045,7 +43045,7 @@ var Ohe = ({ 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" })), FB = ({ 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" })), 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,
@@ -43053,7 +43053,7 @@ var Ohe = ({ 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" })), Ahe = ({ 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" })), 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,
@@ -43061,7 +43061,7 @@ var Ohe = ({ 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" })), jhe = ({ 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" })), 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,
@@ -43069,7 +43069,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), IB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), FB = ({ 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,
@@ -43077,7 +43077,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M3 12H5V21H3V12ZM19 8H21V21H19V8ZM11 2H13V21H11V2Z" })), LB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M3 12H5V21H3V12ZM19 8H21V21H19V8ZM11 2H13V21H11V2Z" })), IB = ({ 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,
@@ -43085,7 +43085,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M5 2H19C19.5523 2 20 2.44772 20 3V22.1433C20 22.4194 19.7761 22.6434 19.5 22.6434C19.4061 22.6434 19.314 22.6168 19.2344 22.5669L12 18.0313L4.76559 22.5669C4.53163 22.7136 4.22306 22.6429 4.07637 22.4089C4.02647 22.3293 4 22.2373 4 22.1433V3C4 2.44772 4.44772 2 5 2ZM18 4H6V19.4324L12 15.6707L18 19.4324V4Z" })), Mhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M5 2H19C19.5523 2 20 2.44772 20 3V22.1433C20 22.4194 19.7761 22.6434 19.5 22.6434C19.4061 22.6434 19.314 22.6168 19.2344 22.5669L12 18.0313L4.76559 22.5669C4.53163 22.7136 4.22306 22.6429 4.07637 22.4089C4.02647 22.3293 4 22.2373 4 22.1433V3C4 2.44772 4.44772 2 5 2ZM18 4H6V19.4324L12 15.6707L18 19.4324V4Z" })), Nhe = ({ 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,
@@ -43093,7 +43093,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), Nhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), Phe = ({ 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,
@@ -43101,7 +43101,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), Phe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), Fhe = ({ 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,
@@ -43109,7 +43109,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), Fhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), Ihe = ({ 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,
@@ -43117,7 +43117,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Ihe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Lhe = ({ 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,
@@ -43125,7 +43125,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })), Lhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })), Rhe = ({ 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,
@@ -43133,7 +43133,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z" })), RB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z" })), LB = ({ 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,
@@ -43141,7 +43141,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), zB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), RB = ({ 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,
@@ -43149,7 +43149,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), Rhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), zhe = ({ 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,
@@ -43157,7 +43157,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), BB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), zB = ({ 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,
@@ -43165,7 +43165,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM16.5 7.5L14 14L7.5 16.5L10 10L16.5 7.5ZM12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z" })), zhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM16.5 7.5L14 14L7.5 16.5L10 10L16.5 7.5ZM12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z" })), Bhe = ({ 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,
@@ -43173,7 +43173,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), VB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), BB = ({ 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,
@@ -43181,7 +43181,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), Bhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), Vhe = ({ 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,
@@ -43189,7 +43189,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), Vhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), Hhe = ({ 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,
@@ -43197,7 +43197,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M13 13V18.585L14.8284 16.7574L16.2426 18.1716L12 22.4142L7.75736 18.1716L9.17157 16.7574L11 18.585V13H13ZM12 2C15.5934 2 18.5544 4.70761 18.9541 8.19395C21.2858 8.83154 23 10.9656 23 13.5C23 16.3688 20.8036 18.7246 18.0006 18.9776L18.0009 16.9644C19.6966 16.7214 21 15.2629 21 13.5C21 11.567 19.433 10 17.5 10C17.2912 10 17.0867 10.0183 16.8887 10.054C16.9616 9.7142 17 9.36158 17 9C17 6.23858 14.7614 4 12 4C9.23858 4 7 6.23858 7 9C7 9.36158 7.03838 9.7142 7.11205 10.0533C6.91331 10.0183 6.70879 10 6.5 10C4.567 10 3 11.567 3 13.5C3 15.2003 4.21241 16.6174 5.81986 16.934L6.00005 16.9646L6.00039 18.9776C3.19696 18.7252 1 16.3692 1 13.5C1 10.9656 2.71424 8.83154 5.04648 8.19411C5.44561 4.70761 8.40661 2 12 2Z" })), HB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M13 13V18.585L14.8284 16.7574L16.2426 18.1716L12 22.4142L7.75736 18.1716L9.17157 16.7574L11 18.585V13H13ZM12 2C15.5934 2 18.5544 4.70761 18.9541 8.19395C21.2858 8.83154 23 10.9656 23 13.5C23 16.3688 20.8036 18.7246 18.0006 18.9776L18.0009 16.9644C19.6966 16.7214 21 15.2629 21 13.5C21 11.567 19.433 10 17.5 10C17.2912 10 17.0867 10.0183 16.8887 10.054C16.9616 9.7142 17 9.36158 17 9C17 6.23858 14.7614 4 12 4C9.23858 4 7 6.23858 7 9C7 9.36158 7.03838 9.7142 7.11205 10.0533C6.91331 10.0183 6.70879 10 6.5 10C4.567 10 3 11.567 3 13.5C3 15.2003 4.21241 16.6174 5.81986 16.934L6.00005 16.9646L6.00039 18.9776C3.19696 18.7252 1 16.3692 1 13.5C1 10.9656 2.71424 8.83154 5.04648 8.19411C5.44561 4.70761 8.40661 2 12 2Z" })), VB = ({ 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,
@@ -43205,7 +43205,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M1 14.5C1 12.1716 2.22429 10.1291 4.06426 8.9812C4.56469 5.044 7.92686 2 12 2C16.0731 2 19.4353 5.044 19.9357 8.9812C21.7757 10.1291 23 12.1716 23 14.5C23 17.9216 20.3562 20.7257 17 20.9811L7 21C3.64378 20.7257 1 17.9216 1 14.5ZM16.8483 18.9868C19.1817 18.8093 21 16.8561 21 14.5C21 12.927 20.1884 11.4962 18.8771 10.6781L18.0714 10.1754L17.9517 9.23338C17.5735 6.25803 15.0288 4 12 4C8.97116 4 6.42647 6.25803 6.0483 9.23338L5.92856 10.1754L5.12288 10.6781C3.81156 11.4962 3 12.927 3 14.5C3 16.8561 4.81833 18.8093 7.1517 18.9868L7.325 19H16.675L16.8483 18.9868ZM13 12H16L12 17L8 12H11V8H13V12Z" })), Hhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M1 14.5C1 12.1716 2.22429 10.1291 4.06426 8.9812C4.56469 5.044 7.92686 2 12 2C16.0731 2 19.4353 5.044 19.9357 8.9812C21.7757 10.1291 23 12.1716 23 14.5C23 17.9216 20.3562 20.7257 17 20.9811L7 21C3.64378 20.7257 1 17.9216 1 14.5ZM16.8483 18.9868C19.1817 18.8093 21 16.8561 21 14.5C21 12.927 20.1884 11.4962 18.8771 10.6781L18.0714 10.1754L17.9517 9.23338C17.5735 6.25803 15.0288 4 12 4C8.97116 4 6.42647 6.25803 6.0483 9.23338L5.92856 10.1754L5.12288 10.6781C3.81156 11.4962 3 12.927 3 14.5C3 16.8561 4.81833 18.8093 7.1517 18.9868L7.325 19H16.675L16.8483 18.9868ZM13 12H16L12 17L8 12H11V8H13V12Z" })), Uhe = ({ 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,
@@ -43213,7 +43213,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), UB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), HB = ({ 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,
@@ -43221,7 +43221,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), WB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), UB = ({ 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,
@@ -43229,7 +43229,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Uhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Whe = ({ 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,
@@ -43237,7 +43237,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), Whe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), Ghe = ({ 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,
@@ -43245,7 +43245,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z" })), Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z" })), Khe = ({ 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,
@@ -43253,7 +43253,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), qhe = ({ 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,
@@ -43261,7 +43261,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), 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,
@@ -43269,7 +43269,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M15 4H5V20H19V8H15V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM13.529 14.4464C11.9951 15.3524 9.98633 15.1464 8.66839 13.8284C7.1063 12.2663 7.1063 9.73367 8.66839 8.17157C10.2305 6.60948 12.7631 6.60948 14.3252 8.17157C15.6432 9.48951 15.8492 11.4983 14.9432 13.0322L17.1537 15.2426L15.7395 16.6569L13.529 14.4464ZM12.911 12.4142C13.6921 11.6332 13.6921 10.3668 12.911 9.58579C12.13 8.80474 10.8637 8.80474 10.0826 9.58579C9.30156 10.3668 9.30156 11.6332 10.0826 12.4142C10.8637 13.1953 12.13 13.1953 12.911 12.4142Z" })), GB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M15 4H5V20H19V8H15V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM13.529 14.4464C11.9951 15.3524 9.98633 15.1464 8.66839 13.8284C7.1063 12.2663 7.1063 9.73367 8.66839 8.17157C10.2305 6.60948 12.7631 6.60948 14.3252 8.17157C15.6432 9.48951 15.8492 11.4983 14.9432 13.0322L17.1537 15.2426L15.7395 16.6569L13.529 14.4464ZM12.911 12.4142C13.6921 11.6332 13.6921 10.3668 12.911 9.58579C12.13 8.80474 10.8637 8.80474 10.0826 9.58579C9.30156 10.3668 9.30156 11.6332 10.0826 12.4142C10.8637 13.1953 12.13 13.1953 12.911 12.4142Z" })), WB = ({ 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,
@@ -43277,7 +43277,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M2 3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918C2.44405 21 2 20.5551 2 20.0066V3.9934ZM8 5V19H16V5H8ZM4 5V7H6V5H4ZM18 5V7H20V5H18ZM4 9V11H6V9H4ZM18 9V11H20V9H18ZM4 13V15H6V13H4ZM18 13V15H20V13H18ZM4 17V19H6V17H4ZM18 17V19H20V17H18Z" })), Jhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M2 3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918C2.44405 21 2 20.5551 2 20.0066V3.9934ZM8 5V19H16V5H8ZM4 5V7H6V5H4ZM18 5V7H20V5H18ZM4 9V11H6V9H4ZM18 9V11H20V9H18ZM4 13V15H6V13H4ZM18 13V15H20V13H18ZM4 17V19H6V17H4ZM18 17V19H20V17H18Z" })), Yhe = ({ 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,
@@ -43285,7 +43285,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), KB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), GB = ({ 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,
@@ -43293,7 +43293,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 7V19H20V7H4Z" })), qB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 7V19H20V7H4Z" })), KB = ({ 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,
@@ -43301,7 +43301,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M4 5V19H20V7H11.5858L9.58579 5H4ZM12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5Z" })), JB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M4 5V19H20V7H11.5858L9.58579 5H4ZM12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5Z" })), qB = ({ 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,
@@ -43309,7 +43309,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z" })), Yhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z" })), Xhe = ({ 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,
@@ -43317,7 +43317,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 5V19H20V7H11.5858L9.58579 5H4ZM8.59114 13.8089C8.52934 13.5486 8.49663 13.277 8.49663 12.9978C8.49663 12.7186 8.52933 12.4471 8.59112 12.1868L7.59998 11.6146L8.59949 9.88335L9.59133 10.456C9.98424 10.0843 10.4633 9.80275 10.9954 9.64438V8.5H12.9944V9.64438C13.5265 9.80274 14.0056 10.0843 14.3985 10.4559L15.3904 9.88325L16.39 11.6145L15.3987 12.1867C15.4605 12.447 15.4932 12.7186 15.4932 12.9978C15.4932 13.277 15.4605 13.5485 15.3987 13.8088L16.39 14.3811L15.3905 16.1123L14.3986 15.5396C14.0057 15.9113 13.5266 16.1928 12.9945 16.3512V17.4956H10.9955V16.3513C10.4634 16.1929 9.98434 15.9114 9.59141 15.5397L8.59954 16.1124L7.59998 14.3812L8.59114 13.8089ZM11.9949 14.4971C12.8229 14.4971 13.4942 13.8258 13.4942 12.9978C13.4942 12.1698 12.8229 11.4985 11.9949 11.4985C11.1669 11.4985 10.4957 12.1698 10.4957 12.9978C10.4957 13.8258 11.1669 14.4971 11.9949 14.4971Z" })), YB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 5V19H20V7H11.5858L9.58579 5H4ZM8.59114 13.8089C8.52934 13.5486 8.49663 13.277 8.49663 12.9978C8.49663 12.7186 8.52933 12.4471 8.59112 12.1868L7.59998 11.6146L8.59949 9.88335L9.59133 10.456C9.98424 10.0843 10.4633 9.80275 10.9954 9.64438V8.5H12.9944V9.64438C13.5265 9.80274 14.0056 10.0843 14.3985 10.4559L15.3904 9.88325L16.39 11.6145L15.3987 12.1867C15.4605 12.447 15.4932 12.7186 15.4932 12.9978C15.4932 13.277 15.4605 13.5485 15.3987 13.8088L16.39 14.3811L15.3905 16.1123L14.3986 15.5396C14.0057 15.9113 13.5266 16.1928 12.9945 16.3512V17.4956H10.9955V16.3513C10.4634 16.1929 9.98434 15.9114 9.59141 15.5397L8.59954 16.1124L7.59998 14.3812L8.59114 13.8089ZM11.9949 14.4971C12.8229 14.4971 13.4942 13.8258 13.4942 12.9978C13.4942 12.1698 12.8229 11.4985 11.9949 11.4985C11.1669 11.4985 10.4957 12.1698 10.4957 12.9978C10.4957 13.8258 11.1669 14.4971 11.9949 14.4971Z" })), 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,
@@ -43325,7 +43325,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), XB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), YB = ({ 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,
@@ -43333,7 +43333,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), Xhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), Zhe = ({ 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,
@@ -43341,7 +43341,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M16.5 3C19.5376 3 22 5.5 22 9C22 16 14.5 20 12 21.5C9.5 20 2 16 2 9C2 5.5 4.5 3 7.5 3C9.35997 3 11 4 12 5C13 4 14.64 3 16.5 3ZM12.9339 18.6038C13.8155 18.0485 14.61 17.4955 15.3549 16.9029C18.3337 14.533 20 11.9435 20 9C20 6.64076 18.463 5 16.5 5C15.4241 5 14.2593 5.56911 13.4142 6.41421L12 7.82843L10.5858 6.41421C9.74068 5.56911 8.5759 5 7.5 5C5.55906 5 4 6.6565 4 9C4 11.9435 5.66627 14.533 8.64514 16.9029C9.39 17.4955 10.1845 18.0485 11.0661 18.6038C11.3646 18.7919 11.6611 18.9729 12 19.1752C12.3389 18.9729 12.6354 18.7919 12.9339 18.6038Z" })), Zhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M16.5 3C19.5376 3 22 5.5 22 9C22 16 14.5 20 12 21.5C9.5 20 2 16 2 9C2 5.5 4.5 3 7.5 3C9.35997 3 11 4 12 5C13 4 14.64 3 16.5 3ZM12.9339 18.6038C13.8155 18.0485 14.61 17.4955 15.3549 16.9029C18.3337 14.533 20 11.9435 20 9C20 6.64076 18.463 5 16.5 5C15.4241 5 14.2593 5.56911 13.4142 6.41421L12 7.82843L10.5858 6.41421C9.74068 5.56911 8.5759 5 7.5 5C5.55906 5 4 6.6565 4 9C4 11.9435 5.66627 14.533 8.64514 16.9029C9.39 17.4955 10.1845 18.0485 11.0661 18.6038C11.3646 18.7919 11.6611 18.9729 12 19.1752C12.3389 18.9729 12.6354 18.7919 12.9339 18.6038Z" })), Qhe = ({ 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,
@@ -43349,7 +43349,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), Qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), $he = ({ 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,
@@ -43357,7 +43357,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M5 11.1005L7 9.1005L12.5 14.6005L16 11.1005L19 14.1005V5H5V11.1005ZM5 13.9289V19H8.1005L11.0858 16.0147L7 11.9289L5 13.9289ZM10.9289 19H19V16.9289L16 13.9289L10.9289 19ZM4 3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3ZM15.5 10C14.6716 10 14 9.32843 14 8.5C14 7.67157 14.6716 7 15.5 7C16.3284 7 17 7.67157 17 8.5C17 9.32843 16.3284 10 15.5 10Z" })), ZB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M5 11.1005L7 9.1005L12.5 14.6005L16 11.1005L19 14.1005V5H5V11.1005ZM5 13.9289V19H8.1005L11.0858 16.0147L7 11.9289L5 13.9289ZM10.9289 19H19V16.9289L16 13.9289L10.9289 19ZM4 3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3ZM15.5 10C14.6716 10 14 9.32843 14 8.5C14 7.67157 14.6716 7 15.5 7C16.3284 7 17 7.67157 17 8.5C17 9.32843 16.3284 10 15.5 10Z" })), XB = ({ 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,
@@ -43365,7 +43365,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), $he = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), ege = ({ 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,
@@ -43373,7 +43373,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), ege = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), tge = ({ 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,
@@ -43381,7 +43381,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), tge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), nge = ({ 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,
@@ -43389,7 +43389,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), QB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), ZB = ({ 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,
@@ -43397,7 +43397,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), nge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), rge = ({ 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,
@@ -43405,7 +43405,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), rge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), ige = ({ 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,
@@ -43413,7 +43413,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M13.0607 8.11097L14.4749 9.52518C17.2086 12.2589 17.2086 16.691 14.4749 19.4247L14.1214 19.7782C11.3877 22.5119 6.95555 22.5119 4.22188 19.7782C1.48821 17.0446 1.48821 12.6124 4.22188 9.87874L5.6361 11.293C3.68348 13.2456 3.68348 16.4114 5.6361 18.364C7.58872 20.3166 10.7545 20.3166 12.7072 18.364L13.0607 18.0105C15.0133 16.0578 15.0133 12.892 13.0607 10.9394L11.6465 9.52518L13.0607 8.11097ZM19.7782 14.1214L18.364 12.7072C20.3166 10.7545 20.3166 7.58872 18.364 5.6361C16.4114 3.68348 13.2456 3.68348 11.293 5.6361L10.9394 5.98965C8.98678 7.94227 8.98678 11.1081 10.9394 13.0607L12.3536 14.4749L10.9394 15.8891L9.52518 14.4749C6.79151 11.7413 6.79151 7.30911 9.52518 4.57544L9.87874 4.22188C12.6124 1.48821 17.0446 1.48821 19.7782 4.22188C22.5119 6.95555 22.5119 11.3877 19.7782 14.1214Z" })), ige = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M13.0607 8.11097L14.4749 9.52518C17.2086 12.2589 17.2086 16.691 14.4749 19.4247L14.1214 19.7782C11.3877 22.5119 6.95555 22.5119 4.22188 19.7782C1.48821 17.0446 1.48821 12.6124 4.22188 9.87874L5.6361 11.293C3.68348 13.2456 3.68348 16.4114 5.6361 18.364C7.58872 20.3166 10.7545 20.3166 12.7072 18.364L13.0607 18.0105C15.0133 16.0578 15.0133 12.892 13.0607 10.9394L11.6465 9.52518L13.0607 8.11097ZM19.7782 14.1214L18.364 12.7072C20.3166 10.7545 20.3166 7.58872 18.364 5.6361C16.4114 3.68348 13.2456 3.68348 11.293 5.6361L10.9394 5.98965C8.98678 7.94227 8.98678 11.1081 10.9394 13.0607L12.3536 14.4749L10.9394 15.8891L9.52518 14.4749C6.79151 11.7413 6.79151 7.30911 9.52518 4.57544L9.87874 4.22188C12.6124 1.48821 17.0446 1.48821 19.7782 4.22188C22.5119 6.95555 22.5119 11.3877 19.7782 14.1214Z" })), age = ({ 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,
@@ -43421,7 +43421,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z" })), $B = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z" })), QB = ({ 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,
@@ -43429,7 +43429,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12 2C17.5222 2 22 5.97778 22 10.8889C22 13.9556 19.5111 16.4444 16.4444 16.4444H14.4778C13.5556 16.4444 12.8111 17.1889 12.8111 18.1111C12.8111 18.5333 12.9778 18.9222 13.2333 19.2111C13.5 19.5111 13.6667 19.9 13.6667 20.3333C13.6667 21.2556 12.9 22 12 22C6.47778 22 2 17.5222 2 12C2 6.47778 6.47778 2 12 2ZM10.8111 18.1111C10.8111 16.0843 12.451 14.4444 14.4778 14.4444H16.4444C18.4065 14.4444 20 12.851 20 10.8889C20 7.1392 16.4677 4 12 4C7.58235 4 4 7.58235 4 12C4 16.19 7.2226 19.6285 11.324 19.9718C10.9948 19.4168 10.8111 18.7761 10.8111 18.1111ZM7.5 12C6.67157 12 6 11.3284 6 10.5C6 9.67157 6.67157 9 7.5 9C8.32843 9 9 9.67157 9 10.5C9 11.3284 8.32843 12 7.5 12ZM16.5 12C15.6716 12 15 11.3284 15 10.5C15 9.67157 15.6716 9 16.5 9C17.3284 9 18 9.67157 18 10.5C18 11.3284 17.3284 12 16.5 12ZM12 9C11.1716 9 10.5 8.32843 10.5 7.5C10.5 6.67157 11.1716 6 12 6C12.8284 6 13.5 6.67157 13.5 7.5C13.5 8.32843 12.8284 9 12 9Z" })), eV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12 2C17.5222 2 22 5.97778 22 10.8889C22 13.9556 19.5111 16.4444 16.4444 16.4444H14.4778C13.5556 16.4444 12.8111 17.1889 12.8111 18.1111C12.8111 18.5333 12.9778 18.9222 13.2333 19.2111C13.5 19.5111 13.6667 19.9 13.6667 20.3333C13.6667 21.2556 12.9 22 12 22C6.47778 22 2 17.5222 2 12C2 6.47778 6.47778 2 12 2ZM10.8111 18.1111C10.8111 16.0843 12.451 14.4444 14.4778 14.4444H16.4444C18.4065 14.4444 20 12.851 20 10.8889C20 7.1392 16.4677 4 12 4C7.58235 4 4 7.58235 4 12C4 16.19 7.2226 19.6285 11.324 19.9718C10.9948 19.4168 10.8111 18.7761 10.8111 18.1111ZM7.5 12C6.67157 12 6 11.3284 6 10.5C6 9.67157 6.67157 9 7.5 9C8.32843 9 9 9.67157 9 10.5C9 11.3284 8.32843 12 7.5 12ZM16.5 12C15.6716 12 15 11.3284 15 10.5C15 9.67157 15.6716 9 16.5 9C17.3284 9 18 9.67157 18 10.5C18 11.3284 17.3284 12 16.5 12ZM12 9C11.1716 9 10.5 8.32843 10.5 7.5C10.5 6.67157 11.1716 6 12 6C12.8284 6 13.5 6.67157 13.5 7.5C13.5 8.32843 12.8284 9 12 9Z" })), $B = ({ 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,
@@ -43437,7 +43437,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), tV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), eV = ({ 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,
@@ -43445,7 +43445,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), nV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), tV = ({ 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,
@@ -43453,7 +43453,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), rV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), nV = ({ 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,
@@ -43461,7 +43461,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), age = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), oge = ({ 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,
@@ -43469,7 +43469,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M9 7.53861L15 21.5386L18.6594 13H23V11H17.3406L15 16.4614L9 2.46143L5.3406 11H1V13H6.6594L9 7.53861Z" })), iV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M9 7.53861L15 21.5386L18.6594 13H23V11H17.3406L15 16.4614L9 2.46143L5.3406 11H1V13H6.6594L9 7.53861Z" })), rV = ({ 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,
@@ -43477,7 +43477,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), oge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), sge = ({ 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,
@@ -43485,7 +43485,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M4.99958 12.9999C4.99958 7.91198 7.90222 3.5636 11.9996 1.81799C16.0969 3.5636 18.9996 7.91198 18.9996 12.9999C18.9996 13.8229 18.9236 14.6264 18.779 15.4027L20.7194 17.2353C20.8845 17.3913 20.9238 17.6389 20.815 17.8383L18.3196 22.4133C18.1873 22.6557 17.8836 22.7451 17.6412 22.6128C17.5993 22.59 17.5608 22.5612 17.5271 22.5274L15.2925 20.2928C15.1049 20.1053 14.8506 19.9999 14.5854 19.9999H9.41379C9.14857 19.9999 8.89422 20.1053 8.70668 20.2928L6.47209 22.5274C6.27683 22.7227 5.96025 22.7227 5.76498 22.5274C5.73122 22.4937 5.70246 22.4552 5.67959 22.4133L3.18412 17.8383C3.07537 17.6389 3.11464 17.3913 3.27975 17.2353L5.22014 15.4027C5.07551 14.6264 4.99958 13.8229 4.99958 12.9999ZM6.47542 19.6957L7.29247 18.8786C7.85508 18.316 8.61814 17.9999 9.41379 17.9999H14.5854C15.381 17.9999 16.1441 18.316 16.7067 18.8786L17.5237 19.6957L18.5056 17.8955L17.4058 16.8568C16.9117 16.3901 16.6884 15.7045 16.8128 15.0364C16.9366 14.3722 16.9996 13.6911 16.9996 12.9999C16.9996 9.13037 15.0045 5.69965 11.9996 4.04033C8.99462 5.69965 6.99958 9.13037 6.99958 12.9999C6.99958 13.6911 7.06255 14.3722 7.18631 15.0364C7.31078 15.7045 7.08746 16.3901 6.59338 16.8568L5.49353 17.8955L6.47542 19.6957ZM11.9996 12.9999C10.895 12.9999 9.99958 12.1045 9.99958 10.9999C9.99958 9.89537 10.895 8.99994 11.9996 8.99994C13.1041 8.99994 13.9996 9.89537 13.9996 10.9999C13.9996 12.1045 13.1041 12.9999 11.9996 12.9999Z" })), sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M4.99958 12.9999C4.99958 7.91198 7.90222 3.5636 11.9996 1.81799C16.0969 3.5636 18.9996 7.91198 18.9996 12.9999C18.9996 13.8229 18.9236 14.6264 18.779 15.4027L20.7194 17.2353C20.8845 17.3913 20.9238 17.6389 20.815 17.8383L18.3196 22.4133C18.1873 22.6557 17.8836 22.7451 17.6412 22.6128C17.5993 22.59 17.5608 22.5612 17.5271 22.5274L15.2925 20.2928C15.1049 20.1053 14.8506 19.9999 14.5854 19.9999H9.41379C9.14857 19.9999 8.89422 20.1053 8.70668 20.2928L6.47209 22.5274C6.27683 22.7227 5.96025 22.7227 5.76498 22.5274C5.73122 22.4937 5.70246 22.4552 5.67959 22.4133L3.18412 17.8383C3.07537 17.6389 3.11464 17.3913 3.27975 17.2353L5.22014 15.4027C5.07551 14.6264 4.99958 13.8229 4.99958 12.9999ZM6.47542 19.6957L7.29247 18.8786C7.85508 18.316 8.61814 17.9999 9.41379 17.9999H14.5854C15.381 17.9999 16.1441 18.316 16.7067 18.8786L17.5237 19.6957L18.5056 17.8955L17.4058 16.8568C16.9117 16.3901 16.6884 15.7045 16.8128 15.0364C16.9366 14.3722 16.9996 13.6911 16.9996 12.9999C16.9996 9.13037 15.0045 5.69965 11.9996 4.04033C8.99462 5.69965 6.99958 9.13037 6.99958 12.9999C6.99958 13.6911 7.06255 14.3722 7.18631 15.0364C7.31078 15.7045 7.08746 16.3901 6.59338 16.8568L5.49353 17.8955L6.47542 19.6957ZM11.9996 12.9999C10.895 12.9999 9.99958 12.1045 9.99958 10.9999C9.99958 9.89537 10.895 8.99994 11.9996 8.99994C13.1041 8.99994 13.9996 9.89537 13.9996 10.9999C13.9996 12.1045 13.1041 12.9999 11.9996 12.9999Z" })), cge = ({ 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,
@@ -43493,7 +43493,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M4 15V8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5V15.5C13 16.8807 14.1193 18 15.5 18C16.8807 18 18 16.8807 18 15.5V8.82929C16.8348 8.41746 16 7.30622 16 6C16 4.34315 17.3431 3 19 3C20.6569 3 22 4.34315 22 6C22 7.30622 21.1652 8.41746 20 8.82929V15.5C20 17.9853 17.9853 20 15.5 20C13.0147 20 11 17.9853 11 15.5V8.5C11 7.11929 9.88071 6 8.5 6C7.11929 6 6 7.11929 6 8.5V15H9L5 20L1 15H4ZM19 7C19.5523 7 20 6.55228 20 6C20 5.44772 19.5523 5 19 5C18.4477 5 18 5.44772 18 6C18 6.55228 18.4477 7 19 7Z" })), aV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M4 15V8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5V15.5C13 16.8807 14.1193 18 15.5 18C16.8807 18 18 16.8807 18 15.5V8.82929C16.8348 8.41746 16 7.30622 16 6C16 4.34315 17.3431 3 19 3C20.6569 3 22 4.34315 22 6C22 7.30622 21.1652 8.41746 20 8.82929V15.5C20 17.9853 17.9853 20 15.5 20C13.0147 20 11 17.9853 11 15.5V8.5C11 7.11929 9.88071 6 8.5 6C7.11929 6 6 7.11929 6 8.5V15H9L5 20L1 15H4ZM19 7C19.5523 7 20 6.55228 20 6C20 5.44772 19.5523 5 19 5C18.4477 5 18 5.44772 18 6C18 6.55228 18.4477 7 19 7Z" })), iV = ({ 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,
@@ -43501,7 +43501,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), oV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), aV = ({ 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,
@@ -43509,7 +43509,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), sV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), oV = ({ 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,
@@ -43517,7 +43517,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M3.33946 17.0002C2.90721 16.2515 2.58277 15.4702 2.36133 14.6741C3.3338 14.1779 3.99972 13.1668 3.99972 12.0002C3.99972 10.8345 3.3348 9.824 2.36353 9.32741C2.81025 7.71651 3.65857 6.21627 4.86474 4.99001C5.7807 5.58416 6.98935 5.65534 7.99972 5.072C9.01009 4.48866 9.55277 3.40635 9.4962 2.31604C11.1613 1.8846 12.8847 1.90004 14.5031 2.31862C14.4475 3.40806 14.9901 4.48912 15.9997 5.072C17.0101 5.65532 18.2187 5.58416 19.1346 4.99007C19.7133 5.57986 20.2277 6.25151 20.66 7.00021C21.0922 7.7489 21.4167 8.53025 21.6381 9.32628C20.6656 9.82247 19.9997 10.8336 19.9997 12.0002C19.9997 13.166 20.6646 14.1764 21.6359 14.673C21.1892 16.2839 20.3409 17.7841 19.1347 19.0104C18.2187 18.4163 17.0101 18.3451 15.9997 18.9284C14.9893 19.5117 14.4467 20.5941 14.5032 21.6844C12.8382 22.1158 11.1148 22.1004 9.49633 21.6818C9.55191 20.5923 9.00929 19.5113 7.99972 18.9284C6.98938 18.3451 5.78079 18.4162 4.86484 19.0103C4.28617 18.4205 3.77172 17.7489 3.33946 17.0002ZM8.99972 17.1964C10.0911 17.8265 10.8749 18.8227 11.2503 19.9659C11.7486 20.0133 12.2502 20.014 12.7486 19.9675C13.1238 18.8237 13.9078 17.8268 14.9997 17.1964C16.0916 16.5659 17.347 16.3855 18.5252 16.6324C18.8146 16.224 19.0648 15.7892 19.2729 15.334C18.4706 14.4373 17.9997 13.2604 17.9997 12.0002C17.9997 10.74 18.4706 9.5632 19.2729 8.6665C19.1688 8.4405 19.0538 8.21822 18.9279 8.00021C18.802 7.78219 18.667 7.57148 18.5233 7.36842C17.3457 7.61476 16.0911 7.43414 14.9997 6.80405C13.9083 6.17395 13.1246 5.17768 12.7491 4.03455C12.2509 3.98714 11.7492 3.98646 11.2509 4.03292C10.8756 5.17671 10.0916 6.17364 8.99972 6.80405C7.9078 7.43447 6.65245 7.61494 5.47428 7.36803C5.18485 7.77641 4.93463 8.21117 4.72656 8.66637C5.52881 9.56311 5.99972 10.74 5.99972 12.0002C5.99972 13.2604 5.52883 14.4372 4.72656 15.3339C4.83067 15.5599 4.94564 15.7822 5.07152 16.0002C5.19739 16.2182 5.3324 16.4289 5.47612 16.632C6.65377 16.3857 7.90838 16.5663 8.99972 17.1964ZM11.9997 15.0002C10.3429 15.0002 8.99972 13.6571 8.99972 12.0002C8.99972 10.3434 10.3429 9.00021 11.9997 9.00021C13.6566 9.00021 14.9997 10.3434 14.9997 12.0002C14.9997 13.6571 13.6566 15.0002 11.9997 15.0002ZM11.9997 13.0002C12.552 13.0002 12.9997 12.5525 12.9997 12.0002C12.9997 11.4479 12.552 11.0002 11.9997 11.0002C11.4474 11.0002 10.9997 11.4479 10.9997 12.0002C10.9997 12.5525 11.4474 13.0002 11.9997 13.0002Z" })), cge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M3.33946 17.0002C2.90721 16.2515 2.58277 15.4702 2.36133 14.6741C3.3338 14.1779 3.99972 13.1668 3.99972 12.0002C3.99972 10.8345 3.3348 9.824 2.36353 9.32741C2.81025 7.71651 3.65857 6.21627 4.86474 4.99001C5.7807 5.58416 6.98935 5.65534 7.99972 5.072C9.01009 4.48866 9.55277 3.40635 9.4962 2.31604C11.1613 1.8846 12.8847 1.90004 14.5031 2.31862C14.4475 3.40806 14.9901 4.48912 15.9997 5.072C17.0101 5.65532 18.2187 5.58416 19.1346 4.99007C19.7133 5.57986 20.2277 6.25151 20.66 7.00021C21.0922 7.7489 21.4167 8.53025 21.6381 9.32628C20.6656 9.82247 19.9997 10.8336 19.9997 12.0002C19.9997 13.166 20.6646 14.1764 21.6359 14.673C21.1892 16.2839 20.3409 17.7841 19.1347 19.0104C18.2187 18.4163 17.0101 18.3451 15.9997 18.9284C14.9893 19.5117 14.4467 20.5941 14.5032 21.6844C12.8382 22.1158 11.1148 22.1004 9.49633 21.6818C9.55191 20.5923 9.00929 19.5113 7.99972 18.9284C6.98938 18.3451 5.78079 18.4162 4.86484 19.0103C4.28617 18.4205 3.77172 17.7489 3.33946 17.0002ZM8.99972 17.1964C10.0911 17.8265 10.8749 18.8227 11.2503 19.9659C11.7486 20.0133 12.2502 20.014 12.7486 19.9675C13.1238 18.8237 13.9078 17.8268 14.9997 17.1964C16.0916 16.5659 17.347 16.3855 18.5252 16.6324C18.8146 16.224 19.0648 15.7892 19.2729 15.334C18.4706 14.4373 17.9997 13.2604 17.9997 12.0002C17.9997 10.74 18.4706 9.5632 19.2729 8.6665C19.1688 8.4405 19.0538 8.21822 18.9279 8.00021C18.802 7.78219 18.667 7.57148 18.5233 7.36842C17.3457 7.61476 16.0911 7.43414 14.9997 6.80405C13.9083 6.17395 13.1246 5.17768 12.7491 4.03455C12.2509 3.98714 11.7492 3.98646 11.2509 4.03292C10.8756 5.17671 10.0916 6.17364 8.99972 6.80405C7.9078 7.43447 6.65245 7.61494 5.47428 7.36803C5.18485 7.77641 4.93463 8.21117 4.72656 8.66637C5.52881 9.56311 5.99972 10.74 5.99972 12.0002C5.99972 13.2604 5.52883 14.4372 4.72656 15.3339C4.83067 15.5599 4.94564 15.7822 5.07152 16.0002C5.19739 16.2182 5.3324 16.4289 5.47612 16.632C6.65377 16.3857 7.90838 16.5663 8.99972 17.1964ZM11.9997 15.0002C10.3429 15.0002 8.99972 13.6571 8.99972 12.0002C8.99972 10.3434 10.3429 9.00021 11.9997 9.00021C13.6566 9.00021 14.9997 10.3434 14.9997 12.0002C14.9997 13.6571 13.6566 15.0002 11.9997 15.0002ZM11.9997 13.0002C12.552 13.0002 12.9997 12.5525 12.9997 12.0002C12.9997 11.4479 12.552 11.0002 11.9997 11.0002C11.4474 11.0002 10.9997 11.4479 10.9997 12.0002C10.9997 12.5525 11.4474 13.0002 11.9997 13.0002Z" })), lge = ({ 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,
@@ -43525,7 +43525,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM8 5H4V19H8V5ZM10 5V19H20V5H10Z" })), cV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM8 5H4V19H8V5ZM10 5V19H20V5H10Z" })), sV = ({ 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,
@@ -43533,7 +43533,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M7 4V20H17V4H7ZM6 2H18C18.5523 2 19 2.44772 19 3V21C19 21.5523 18.5523 22 18 22H6C5.44772 22 5 21.5523 5 21V3C5 2.44772 5.44772 2 6 2ZM12 17C12.5523 17 13 17.4477 13 18C13 18.5523 12.5523 19 12 19C11.4477 19 11 18.5523 11 18C11 17.4477 11.4477 17 12 17Z" })), lge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M7 4V20H17V4H7ZM6 2H18C18.5523 2 19 2.44772 19 3V21C19 21.5523 18.5523 22 18 22H6C5.44772 22 5 21.5523 5 21V3C5 2.44772 5.44772 2 6 2ZM12 17C12.5523 17 13 17.4477 13 18C13 18.5523 12.5523 19 12 19C11.4477 19 11 18.5523 11 18C11 17.4477 11.4477 17 12 17Z" })), uge = ({ 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,
@@ -43541,7 +43541,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), lV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), cV = ({ 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,
@@ -43549,7 +43549,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M7 7V17H17V7H7ZM6 5H18C18.5523 5 19 5.44772 19 6V18C19 18.5523 18.5523 19 18 19H6C5.44772 19 5 18.5523 5 18V6C5 5.44772 5.44772 5 6 5Z" })), uge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M7 7V17H17V7H7ZM6 5H18C18.5523 5 19 5.44772 19 6V18C19 18.5523 18.5523 19 18 19H6C5.44772 19 5 18.5523 5 18V6C5 5.44772 5.44772 5 6 5Z" })), dge = ({ 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,
@@ -43557,7 +43557,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), dge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), fge = ({ 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,
@@ -43565,7 +43565,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M19 4H5V20H19V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H19.9997C20.5519 2 20.9996 2.44772 20.9997 3L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM11.2929 13.1213L15.5355 8.87868L16.9497 10.2929L11.2929 15.9497L7.40381 12.0607L8.81802 10.6464L11.2929 13.1213Z" })), fge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M19 4H5V20H19V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H19.9997C20.5519 2 20.9996 2.44772 20.9997 3L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM11.2929 13.1213L15.5355 8.87868L16.9497 10.2929L11.2929 15.9497L7.40381 12.0607L8.81802 10.6464L11.2929 13.1213Z" })), pge = ({ 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,
@@ -43573,7 +43573,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), pge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), mge = ({ 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,
@@ -43581,7 +43581,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), uV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), lV = ({ 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,
@@ -43589,7 +43589,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M5.32943 3.27158C6.56252 2.8332 7.9923 3.10749 8.97927 4.09446C10.1002 5.21537 10.3019 6.90741 9.5843 8.23385L20.293 18.9437L18.8788 20.3579L8.16982 9.64875C6.84325 10.3669 5.15069 10.1654 4.02952 9.04421C3.04227 8.05696 2.7681 6.62665 3.20701 5.39332L5.44373 7.63C6.02952 8.21578 6.97927 8.21578 7.56505 7.63C8.15084 7.04421 8.15084 6.09446 7.56505 5.50868L5.32943 3.27158ZM15.6968 5.15512L18.8788 3.38736L20.293 4.80157L18.5252 7.98355L16.7574 8.3371L14.6361 10.4584L13.2219 9.04421L15.3432 6.92289L15.6968 5.15512ZM8.97927 13.2868L10.3935 14.7011L5.09018 20.0044C4.69966 20.3949 4.06649 20.3949 3.67597 20.0044C3.31334 19.6417 3.28744 19.0699 3.59826 18.6774L3.67597 18.5902L8.97927 13.2868Z" })), mge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M5.32943 3.27158C6.56252 2.8332 7.9923 3.10749 8.97927 4.09446C10.1002 5.21537 10.3019 6.90741 9.5843 8.23385L20.293 18.9437L18.8788 20.3579L8.16982 9.64875C6.84325 10.3669 5.15069 10.1654 4.02952 9.04421C3.04227 8.05696 2.7681 6.62665 3.20701 5.39332L5.44373 7.63C6.02952 8.21578 6.97927 8.21578 7.56505 7.63C8.15084 7.04421 8.15084 6.09446 7.56505 5.50868L5.32943 3.27158ZM15.6968 5.15512L18.8788 3.38736L20.293 4.80157L18.5252 7.98355L16.7574 8.3371L14.6361 10.4584L13.2219 9.04421L15.3432 6.92289L15.6968 5.15512ZM8.97927 13.2868L10.3935 14.7011L5.09018 20.0044C4.69966 20.3949 4.06649 20.3949 3.67597 20.0044C3.31334 19.6417 3.28744 19.0699 3.59826 18.6774L3.67597 18.5902L8.97927 13.2868Z" })), hge = ({ 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,
@@ -43597,7 +43597,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), dV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), uV = ({ 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,
@@ -43605,7 +43605,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M20 22H18V20C18 18.3431 16.6569 17 15 17H9C7.34315 17 6 18.3431 6 20V22H4V20C4 17.2386 6.23858 15 9 15H15C17.7614 15 20 17.2386 20 20V22ZM12 13C8.68629 13 6 10.3137 6 7C6 3.68629 8.68629 1 12 1C15.3137 1 18 3.68629 18 7C18 10.3137 15.3137 13 12 13ZM12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z" })), fV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M20 22H18V20C18 18.3431 16.6569 17 15 17H9C7.34315 17 6 18.3431 6 20V22H4V20C4 17.2386 6.23858 15 9 15H15C17.7614 15 20 17.2386 20 20V22ZM12 13C8.68629 13 6 10.3137 6 7C6 3.68629 8.68629 1 12 1C15.3137 1 18 3.68629 18 7C18 10.3137 15.3137 13 12 13ZM12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z" })), dV = ({ 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,
@@ -43613,7 +43613,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), pV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), fV = ({ 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,
@@ -43621,7 +43621,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), hge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), gge = ({ 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,
@@ -43629,7 +43629,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), mV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), pV = ({ 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,
@@ -43637,7 +43637,7 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M4.50772 2.87597C4.57028 2.37554 4.99568 2 5.5 2H18.5C19.0043 2 19.4297 2.37554 19.4923 2.87597L20.9923 14.876C20.9974 14.9171 21 14.9585 21 15V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V15C3 14.9585 3.00258 14.9171 3.00772 14.876L4.50772 2.87597ZM6.38278 4L5.13278 14H18.8672L17.6172 4H6.38278ZM19 16H5V20H19V16ZM15 17H17V19H15V17ZM13 17H11V19H13V17Z" })), gge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M4.50772 2.87597C4.57028 2.37554 4.99568 2 5.5 2H18.5C19.0043 2 19.4297 2.37554 19.4923 2.87597L20.9923 14.876C20.9974 14.9171 21 14.9585 21 15V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V15C3 14.9585 3.00258 14.9171 3.00772 14.876L4.50772 2.87597ZM6.38278 4L5.13278 14H18.8672L17.6172 4H6.38278ZM19 16H5V20H19V16ZM15 17H17V19H15V17ZM13 17H11V19H13V17Z" })), _ge = ({ 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,
@@ -43647,8 +43647,8 @@ var Ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
className: "remixicon " + (n || "")
}, 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 hV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, I.jsxs)(QL, {
+function mV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, I.jsxs)(ZL, {
"data-label": "true",
...a,
className: q("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
@@ -43659,7 +43659,7 @@ function hV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
className: "text-body-medium text-text-error-primary",
children: "*"
}),
- n && /* @__PURE__ */ (0, I.jsx)($he, {
+ n && /* @__PURE__ */ (0, I.jsx)(ege, {
className: "size-4 shrink-0 text-foreground-icon-quaternary",
"aria-hidden": !0
})
@@ -43667,23 +43667,23 @@ function hV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
});
}
// src/react/boardui/components/base/input/hint-text.tsx
-function gV({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, I.jsx)(gpe, {
+function hV({ isInvalid: e = !1, className: t, ...n }) {
+ return /* @__PURE__ */ (0, I.jsx)(_pe, {
slot: e ? "errorMessage" : "description",
...n,
className: q("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
});
}
// src/react/boardui/components/base/input/input.tsx
-var _V = (0, F.createContext)({});
-function vV({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, I.jsx)(_V.Provider, {
+var gV = (0, F.createContext)({});
+function _V({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, I.jsx)(gV.Provider, {
value: {
size: e,
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, I.jsx)(ghe, {
+ children: /* @__PURE__ */ (0, I.jsx)(_he, {
...a,
"data-input-size": e,
className: q("group flex h-max w-full flex-col items-start gap-1", r),
@@ -43691,8 +43691,8 @@ function vV({ size: e = "medium", fieldClassName: t, inputClassName: n, classNam
})
});
}
-vV.displayName = "TextField";
-var yV = YI({
+_V.displayName = "TextField";
+var vV = JI({
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",
@@ -43707,44 +43707,44 @@ var yV = YI({
input: "min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0 font-sans text-body-regular text-text-primary pl-1 placeholder:text-text-tertiary focus:placeholder:text-text-primary disabled:text-input-disabled-text disabled:placeholder:text-input-disabled-text disabled:cursor-not-allowed aria-invalid:placeholder:text-text-error-placeholder",
icon: "size-5 shrink-0"
});
-function bV({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, F.useContext)(_V), u = e ?? l.size ?? "medium", d = r != null;
- return /* @__PURE__ */ (0, I.jsx)(uR, {
+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, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => q(yV.field, d ? yV.fieldWithAddonSize[u] : yV.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),
+ className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => 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", {
- className: yV.content,
+ className: vV.content,
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
- className: yV.leftSection,
+ className: vV.leftSection,
children: [d ? r : t ? /* @__PURE__ */ (0, I.jsx)(t, {
- className: yV.icon,
+ className: vV.icon,
"aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, I.jsx)(Spe, {
+ }) : null, /* @__PURE__ */ (0, I.jsx)(Cpe, {
ref: o,
...c,
- className: q(yV.input, l.inputClassName, a)
+ className: q(vV.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, I.jsx)(n, {
- className: yV.icon,
+ className: vV.icon,
"aria-hidden": !0
}) : null]
})
});
}
-bV.displayName = "InputBase";
-function xV({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {
- return /* @__PURE__ */ (0, I.jsx)(vV, {
+yV.displayName = "InputBase";
+function bV({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {
+ return /* @__PURE__ */ (0, I.jsx)(_V, {
...d,
className: u,
"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- e && /* @__PURE__ */ (0, I.jsx)(hV, {
+ e && /* @__PURE__ */ (0, I.jsx)(mV, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, I.jsx)(bV, {
+ /* @__PURE__ */ (0, I.jsx)(yV, {
ref: c,
groupRef: l,
placeholder: r,
@@ -43753,25 +43753,25 @@ function xV({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, I.jsx)(gV, {
+ t && /* @__PURE__ */ (0, I.jsx)(hV, {
isInvalid: d,
children: t
})
] })
});
}
-xV.displayName = "Input";
+bV.displayName = "Input";
// src/react/components/modal-frame.tsx
-var _ge = {
+var vge = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal",
collections: "max-w-4xl",
tutorial: "max-w-2xl"
};
-function SV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfaceClassName: a = "" }) {
- let { isFocusVisible: o } = AC();
- return /* @__PURE__ */ (0, I.jsx)(Wz, {
+function xV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfaceClassName: a = "" }) {
+ let { isFocusVisible: o } = MC();
+ return /* @__PURE__ */ (0, I.jsx)(Uz, {
isOpen: e,
onOpenChange: t,
isDismissable: !0,
@@ -43779,11 +43779,11 @@ function SV({ 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)(ime, {
+ children: /* @__PURE__ */ (0, I.jsx)(ame, {
"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", _ge[n], a),
- children: /* @__PURE__ */ (0, I.jsx)(Bz, {
+ 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, {
"aria-label": r,
className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",
children: i
@@ -43791,7 +43791,7 @@ function SV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfa
})
});
}
-function CV({ children: e }) {
+function SV({ children: e }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
className: "flex size-14 shrink-0 items-center justify-center rounded-2xl border border-separator-border bg-background-secondary-default text-foreground-icon-secondary",
@@ -43799,7 +43799,7 @@ function CV({ children: e }) {
});
}
// src/react/components/note.tsx
-function wV({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {
+function CV({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {
let s = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-note-layout": "",
className: q("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),
@@ -43847,11 +43847,11 @@ function wV({ tone: e, title: t, action: n, extra: r, children: i, actionLayout:
}
}
// src/react/components/empty-state.tsx
-var vge = {
+var yge = {
standard: "min-h-80 px-6 py-12",
compact: "min-h-60 px-4 py-6"
};
-function yge({ target: e, children: t }) {
+function bge({ target: e, children: t }) {
return /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
variant: "secondary",
@@ -43859,11 +43859,11 @@ function yge({ target: e, children: t }) {
children: t
});
}
-function TV({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {
+function wV({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-empty-state": "",
"data-empty-size": i,
- className: `col-span-full flex w-full min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${vge[i]}`,
+ className: `col-span-full flex w-full min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${yge[i]}`,
children: [
/* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
@@ -43889,9 +43889,9 @@ function TV({ icon: e, title: t, actions: n, children: r, size: i = "standard" }
});
}
// src/react/components/sprite-glyph.tsx
-var EV = /* @__PURE__ */ new Map();
-function DV(e) {
- let t = EV.get(e);
+var TV = /* @__PURE__ */ new Map();
+function EV(e) {
+ let t = TV.get(e);
if (t) return t;
let { wide: n, viewBox: r } = Sn(e), i = n ? ({ className: t }) => /* @__PURE__ */ (0, I.jsx)("svg", {
"aria-hidden": !0,
@@ -43907,10 +43907,10 @@ function DV(e) {
className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
- return i.displayName = `SpriteGlyph(${e})`, EV.set(e, i), i;
+ return i.displayName = `SpriteGlyph(${e})`, TV.set(e, i), i;
}
// src/react/components/settings-dialog-close.tsx
-function OV({ label: e, id: t, onPress: n }) {
+function DV({ label: e, id: t, onPress: n }) {
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
id: t,
@@ -43925,60 +43925,60 @@ function OV({ label: e, id: t, onPress: n }) {
});
}
// src/react/settings/busy-props.ts
-function kV(e) {
+function OV(e) {
return e ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
}
// src/react/library-shortcuts/library-shortcuts.ts
-var AV = ["library-shortcuts"], jV = "/api/library-shortcuts";
-function MV(e = !0) {
+var kV = ["library-shortcuts"], AV = "/api/library-shortcuts";
+function jV(e = !0) {
return Pt({
- queryKey: AV,
- queryFn: ({ signal: e }) => B(jV, e),
+ queryKey: kV,
+ queryFn: ({ signal: e }) => B(AV, e),
enabled: e,
refetchOnMount: e ? "always" : !1
});
}
-function NV() {
+function MV() {
return Ft({
- mutationKey: AV,
- mutationFn: (e) => V(jV, e),
+ mutationKey: kV,
+ mutationFn: (e) => V(AV, e),
onSuccess: (e, t) => {
- H.setQueryData(AV, e), t.action === "favorite" && t.scope === "online" && (H.invalidateQueries({ queryKey: ["follow", "tags"] }), H.invalidateQueries({ queryKey: ["tag-management"] }));
+ H.setQueryData(kV, e), t.action === "favorite" && t.scope === "online" && (H.invalidateQueries({ queryKey: ["follow", "tags"] }), H.invalidateQueries({ queryKey: ["tag-management"] }));
}
});
}
-function PV(e, t) {
+function NV(e, t) {
return e.some((e) => t.scope === "online" ? e.scope === "online" && e.tag_id === t.tag_id : e.scope !== "online" && (t.entity_id ? e.entity_id === t.entity_id : e.kind === t.kind && e.name === t.name));
}
-function bge(e) {
+function xge(e) {
return e.scope === "online" ? `/follow?${new URLSearchParams({ tag: e.name })}` : Nn(e.kind, e.name, e.entity_id);
}
// src/react/library-shortcuts/shortcut-controls.tsx
-var FV = DV("star"), xge = DV("bookmark-plus"), IV = DV("chevron-right"), LV = {
+var PV = EV("star"), Sge = EV("bookmark-plus"), FV = EV("chevron-right"), IV = {
performer: "艺人",
creator: "创作者",
studio: "片商与厂牌",
series: "系列",
agency: "事务所",
tag: "标签"
-}, RV = {
- all: DV("star"),
- performer: DV("user-round"),
- creator: DV("user-round"),
- studio: DV("clapperboard"),
- series: DV("film"),
- agency: DV("briefcase"),
- tag: DV("tags"),
- filters: DV("list-filter")
-}, zV = [
+}, LV = {
+ all: EV("star"),
+ performer: EV("user-round"),
+ creator: EV("user-round"),
+ studio: EV("clapperboard"),
+ series: EV("film"),
+ agency: EV("briefcase"),
+ tag: EV("tags"),
+ filters: EV("list-filter")
+}, RV = [
["all", "全部"],
- ...Object.entries(LV),
+ ...Object.entries(IV),
["filters", "保存的筛选"]
];
-function BV({ label: e, children: t, ...n }) {
+function zV({ label: e, children: t, ...n }) {
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
...n,
@@ -43988,20 +43988,20 @@ function BV({ label: e, children: t, ...n }) {
children: t
});
}
-function VV({ item: e }) {
- return /* @__PURE__ */ (0, I.jsx)(Sge, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);
+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 Sge({ item: e }) {
- yL();
- let t = MV(!1), n = (0, F.useRef)(t.data), r = NV(), i = t.data && t.data !== n.current ? PV(t.data.favorites || [], e) : e.favorite ?? (t.data ? PV(t.data.favorites || [], e) : !1);
+function Cge({ item: e }) {
+ vL();
+ 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",
children: [
- /* @__PURE__ */ (0, I.jsx)(BV, {
+ /* @__PURE__ */ (0, I.jsx)(zV, {
"data-favorite": "",
"aria-pressed": !!i,
label: `${i ? "取消收藏" : "收藏"}${tn(e.kind, e.name, e.entity_id)}`,
- ...kV(r.isPending),
+ ...OV(r.isPending),
onClick: () => {
r.isPending || r.mutate({
action: "favorite",
@@ -44012,9 +44012,9 @@ function Sge({ item: e }) {
children: r.isPending ? /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: zs("") }
- }) : /* @__PURE__ */ (0, I.jsx)(FV, {})
+ }) : /* @__PURE__ */ (0, I.jsx)(PV, {})
}),
- r.isError ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ r.isError ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
children: cr(r.error)
}) : null,
@@ -44028,38 +44028,38 @@ function Sge({ item: e }) {
]
});
}
-function HV({ currentHref: e, kind: t }) {
+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)(EL, {
+ children: /* @__PURE__ */ (0, I.jsx)(TL, {
"data-shortcuts-trigger": "",
label: "我的收藏",
- icon: FV,
+ icon: PV,
"aria-haspopup": "dialog",
"aria-expanded": n,
onPress: () => r(!0)
})
- }), /* @__PURE__ */ (0, I.jsx)(SV, {
+ }), /* @__PURE__ */ (0, I.jsx)(xV, {
isOpen: n,
onOpenChange: r,
width: "collections",
label: "我的收藏",
- children: n ? /* @__PURE__ */ (0, I.jsx)(Cge, {
+ children: n ? /* @__PURE__ */ (0, I.jsx)(wge, {
currentHref: e,
kind: t,
close: () => r(!1)
}) : null
})] });
}
-function Cge({ currentHref: e, kind: t, close: n }) {
- yL();
- let r = MV(), i = NV(), [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);
+function wge({ currentHref: e, kind: t, close: n }) {
+ vL();
+ 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 = ML(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 = jL(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });
(0, F.useLayoutEffect)(() => {
b.current && (x.current = Lo(b.current) || null);
}, []), (0, F.useLayoutEffect)(() => {
@@ -44072,7 +44072,7 @@ function Cge({ currentHref: e, kind: t, close: n }) {
}, [s]), (0, F.useLayoutEffect)(() => {
x.current?.();
});
- let C = zV.find(([e]) => e === s)?.[1] || "全部", w = (e) => {
+ let C = RV.find(([e]) => e === s)?.[1] || "全部", w = (e) => {
let t = [...e.currentTarget.querySelectorAll("[role=\"tab\"]")], n = t.indexOf(e.target);
if (n < 0) return;
let r = e.key === "Home" ? 0 : e.key === "End" ? t.length - 1 : ["ArrowDown", "ArrowRight"].includes(e.key) ? (n + 1) % t.length : ["ArrowUp", "ArrowLeft"].includes(e.key) ? (n + t.length - 1) % t.length : -1;
@@ -44095,7 +44095,7 @@ function Cge({ currentHref: e, kind: t, close: n }) {
children: [/* @__PURE__ */ (0, I.jsx)("h2", {
className: "text-title-2-semibold text-text-primary",
children: C
- }), /* @__PURE__ */ (0, I.jsx)(OV, {
+ }), /* @__PURE__ */ (0, I.jsx)(DV, {
label: "关闭我的收藏",
onPress: n
})]
@@ -44125,8 +44125,8 @@ function Cge({ currentHref: e, kind: t, close: n }) {
role: "presentation",
children: "我的收藏"
}),
- zV.map(([e, t]) => {
- let n = RV[e] || FV, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;
+ RV.map(([e, t]) => {
+ let n = LV[e] || PV, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;
return /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
role: "tab",
@@ -44158,17 +44158,17 @@ function Cge({ currentHref: e, kind: t, close: n }) {
href: "/flagged",
onClick: n,
children: [
- /* @__PURE__ */ (0, I.jsx)(FV, { "aria-hidden": !0 }),
+ /* @__PURE__ */ (0, I.jsx)(PV, { "aria-hidden": !0 }),
"已标记",
- /* @__PURE__ */ (0, I.jsx)(IV, { "aria-hidden": !0 })
+ /* @__PURE__ */ (0, I.jsx)(FV, { "aria-hidden": !0 })
]
}), /* @__PURE__ */ (0, I.jsxs)("a", {
href: "/watch-later",
onClick: n,
children: [
- /* @__PURE__ */ (0, I.jsx)(xge, { "aria-hidden": !0 }),
+ /* @__PURE__ */ (0, I.jsx)(Sge, { "aria-hidden": !0 }),
"稍后看",
- /* @__PURE__ */ (0, I.jsx)(IV, { "aria-hidden": !0 })
+ /* @__PURE__ */ (0, I.jsx)(FV, { "aria-hidden": !0 })
]
})]
})]
@@ -44187,7 +44187,7 @@ function Cge({ currentHref: e, kind: t, close: n }) {
"data-skeleton": "",
className: "h-12 animate-pulse rounded-lg bg-background-secondary-default"
}) : null,
- r.isError ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ r.isError ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -44196,16 +44196,16 @@ function Cge({ currentHref: e, kind: t, close: n }) {
}),
children: cr(r.error)
}) : null,
- i.isError ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ i.isError ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
children: cr(i.error)
}) : null,
E ? s === "filters" ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- E.filters.length ? null : /* @__PURE__ */ (0, I.jsx)(TV, {
+ E.filters.length ? null : /* @__PURE__ */ (0, I.jsx)(wV, {
size: "compact",
- icon: DV("list-filter"),
+ icon: EV("list-filter"),
title: "还没有保存的筛选",
- actions: /* @__PURE__ */ (0, I.jsx)(PL, {
+ actions: /* @__PURE__ */ (0, I.jsx)(NL, {
size: "small",
href: "/",
onClick: n,
@@ -44224,7 +44224,7 @@ function Cge({ currentHref: e, kind: t, close: n }) {
variant: "secondary",
size: "small",
"aria-label": `删除筛选${e.name}`,
- ...kV(i.isPending),
+ ...OV(i.isPending),
onClick: () => {
i.isPending || i.mutate({
action: "delete_filter",
@@ -44239,7 +44239,7 @@ function Cge({ currentHref: e, kind: t, close: n }) {
className: "flex flex-col gap-3",
"aria-label": "保存当前筛选",
children: [
- /* @__PURE__ */ (0, I.jsx)(xV, {
+ /* @__PURE__ */ (0, I.jsx)(bV, {
label: "筛选名称",
value: a,
onChange: o,
@@ -44248,7 +44248,7 @@ function Cge({ currentHref: e, kind: t, close: n }) {
/* @__PURE__ */ (0, I.jsx)(J, {
type: "submit",
disabled: !a.trim(),
- ...kV(i.isPending),
+ ...OV(i.isPending),
children: "保存当前筛选"
}),
d ? /* @__PURE__ */ (0, I.jsx)("span", {
@@ -44259,16 +44259,16 @@ function Cge({ currentHref: e, kind: t, close: n }) {
]
}) : null
] }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(xV, {
+ /* @__PURE__ */ (0, I.jsx)(bV, {
"aria-label": "搜索收藏",
placeholder: "搜索收藏",
- leadingIcon: DV("search"),
+ leadingIcon: EV("search"),
value: l,
onChange: u
}),
- O.length ? null : /* @__PURE__ */ (0, I.jsx)(TV, {
+ O.length ? null : /* @__PURE__ */ (0, I.jsx)(wV, {
size: "compact",
- icon: FV,
+ icon: PV,
title: l ? "没有匹配的收藏" : E.favorites.length ? "还没有此类收藏" : "还没有收藏",
actions: l ? /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
@@ -44278,7 +44278,7 @@ function Cge({ currentHref: e, kind: t, close: n }) {
size: "small",
onClick: () => c("all"),
children: "查看全部收藏"
- }) : /* @__PURE__ */ (0, I.jsx)(PL, {
+ }) : /* @__PURE__ */ (0, I.jsx)(NL, {
size: "small",
href: "/",
onClick: n,
@@ -44292,25 +44292,25 @@ function Cge({ currentHref: e, kind: t, close: n }) {
"data-shortcuts-row": "",
className: "flex min-w-0 items-center justify-between gap-3",
children: [/* @__PURE__ */ (0, I.jsxs)("a", {
- href: bge(e),
+ href: xge(e),
"aria-label": tn(e.kind, e.name, e.entity_id),
onClick: n,
className: "flex min-w-0 flex-1 items-center gap-3 text-body-regular text-text-primary",
- children: [/* @__PURE__ */ (0, I.jsx)(wge, { item: e }, e.image_url), /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(Tge, { item: e }, e.image_url), /* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "truncate",
children: tn(e.kind, e.name, e.entity_id)
}), /* @__PURE__ */ (0, I.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
- children: e.scope === "online" ? "在线标签" : LV[e.kind]
+ children: e.scope === "online" ? "在线标签" : IV[e.kind]
})]
})]
}), /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
"aria-label": `取消收藏${tn(e.kind, e.name, e.entity_id)}`,
- ...kV(i.isPending),
+ ...OV(i.isPending),
onClick: () => {
i.isPending || i.mutate({
action: "favorite",
@@ -44328,8 +44328,8 @@ function Cge({ currentHref: e, kind: t, close: n }) {
]
});
}
-function wge({ item: e }) {
- let t = RV[e.kind] || FV;
+function Tge({ item: e }) {
+ let t = LV[e.kind] || PV;
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-shortcuts-avatar": "",
title: e.image_label || e.name,
@@ -44347,11 +44347,11 @@ function wge({ item: e }) {
});
}
// src/react/components/board-navigation-link.tsx
-function Tge(e) {
+function Ege(e) {
return /* @__PURE__ */ (0, I.jsx)("a", { ...e });
}
// src/react/boardui/components/foundations/icons/chevrons.tsx
-function Ege(e) {
+function Dge(e) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -44365,7 +44365,7 @@ function Ege(e) {
})
});
}
-function Dge(e) {
+function Oge(e) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 12 12",
fill: "none",
@@ -44379,7 +44379,7 @@ function Dge(e) {
})
});
}
-function UV(e) {
+function HV(e) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
fill: "none",
@@ -44392,7 +44392,7 @@ function UV(e) {
});
}
// src/react/boardui/components/base/breadcrumb/breadcrumb.tsx
-function Oge({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {
+function kge({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {
let i = F.Children.toArray(e).filter(F.isValidElement);
return /* @__PURE__ */ (0, I.jsx)("nav", {
ref: r,
@@ -44400,14 +44400,14 @@ function Oge({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r
className: q("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),
children: /* @__PURE__ */ (0, I.jsx)("ol", {
className: "flex items-center gap-2.5 px-1",
- children: i.map((e, t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, I.jsx)(Dge, {
+ children: i.map((e, t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, I.jsx)(Oge, {
className: "size-3 shrink-0 text-text-tertiary",
"aria-hidden": !0
}), e] }, e.key ?? t))
})
});
}
-function WV({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {
+function UV({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {
let o = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [t && /* @__PURE__ */ (0, I.jsx)(t, {
className: "size-4 shrink-0",
"aria-hidden": !0
@@ -44420,7 +44420,7 @@ function WV({ children: e, icon: t, href: n, onClick: r, current: i = !1, classN
let s = q("-mx-1 flex items-center gap-1.5 rounded-md px-1 py-0.5 text-caption-1-medium whitespace-nowrap text-text-tertiary", "transition-colors duration-150 ease outline-none", "hover:bg-background-primary-hover hover:text-text-secondary", "focus-visible:ring-2 focus-visible:ring-border-focus-ring", a);
return /* @__PURE__ */ (0, I.jsx)("li", {
className: "flex items-center",
- children: n ? /* @__PURE__ */ (0, I.jsx)(Tge, {
+ children: n ? /* @__PURE__ */ (0, I.jsx)(Ege, {
href: n,
className: s,
children: o
@@ -44433,14 +44433,14 @@ function WV({ children: e, icon: t, href: n, onClick: r, current: i = !1, classN
});
}
// src/react/boardui/components/foundations/direction/direction.tsx
-function GV() {
- return zw().direction;
+function WV() {
+ return Vw().direction;
}
// src/react/boardui/components/base/dropdown/menu-styles.ts
-var KV = "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", kge = "w-[266px]", Age = "flex w-full flex-col gap-1 outline-none", qV = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", JV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
+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 jge({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {
- let c = GV(), l = (0, F.useContext)(YL), u = l === qL && !s.dragAndDropHooks ? XV : l;
+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;
return /* @__PURE__ */ (0, I.jsx)("div", {
className: "contents",
onKeyDownCapture: (e) => {
@@ -44457,23 +44457,23 @@ function jge({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",
}
}
},
- children: /* @__PURE__ */ (0, I.jsx)(YL.Provider, {
+ children: /* @__PURE__ */ (0, I.jsx)(JL.Provider, {
value: u,
- children: /* @__PURE__ */ (0, I.jsx)(yhe, {
+ children: /* @__PURE__ */ (0, I.jsx)(bhe, {
...s,
ref: o,
selectionMode: n,
"data-size": e,
"data-show-guides": t,
renderEmptyState: r,
- className: (e) => q("group/tree-view flex w-full min-w-0 flex-col rounded-3xl border border-border-button-default bg-background-primary-default p-2 outline-none", u === XV ? "gap-0" : "gap-0.5", "data-[empty]:px-4 data-[empty]:py-8 data-[empty]:text-center data-[empty]:text-body-regular data-[empty]:text-text-tertiary", "data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring", typeof i == "function" ? i(e) : i)
+ className: (e) => q("group/tree-view flex w-full min-w-0 flex-col rounded-3xl border border-border-button-default bg-background-primary-default p-2 outline-none", u === YV ? "gap-0" : "gap-0.5", "data-[empty]:px-4 data-[empty]:py-8 data-[empty]:text-center data-[empty]:text-body-regular data-[empty]:text-text-tertiary", "data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring", typeof i == "function" ? i(e) : i)
})
})
});
}
-function YV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {
- let d = GV();
- return /* @__PURE__ */ (0, I.jsxs)(She, {
+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, {
...u,
ref: l,
textValue: t,
@@ -44482,10 +44482,10 @@ function YV({ 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)(xhe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {
- let f = n === null ? null : o && r ? r : n ?? (t ? o ? JB : KB : Whe);
+ children: [/* @__PURE__ */ (0, I.jsx)(She, { 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)(Nge, {
+ /* @__PURE__ */ (0, I.jsx)(Pge, {
state: l,
id: u,
level: c,
@@ -44495,11 +44495,11 @@ function YV({ 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)(eR, {
+ children: [t ? /* @__PURE__ */ (0, I.jsx)($L, {
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)(FB, {
+ children: /* @__PURE__ */ (0, I.jsx)(PB, {
"aria-hidden": !0,
className: q("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")
})
@@ -44523,24 +44523,24 @@ function YV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
} }), o]
});
}
-var XV = {
- ...qL,
- CollectionRoot: Mge
+var YV = {
+ ...KL,
+ CollectionRoot: Nge
};
-function Mge({ collection: e, ...t }) {
- let n = (0, F.useContext)(AB);
- return n ? /* @__PURE__ */ (0, I.jsx)(Px, {
+function Nge({ collection: e, ...t }) {
+ let n = (0, F.useContext)(kB);
+ return n ? /* @__PURE__ */ (0, I.jsx)(Ix, {
initial: !1,
- children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, I.jsx)(Pge, {
+ 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)(qL.CollectionRoot, {
+ }) : /* @__PURE__ */ (0, I.jsx)(KL.CollectionRoot, {
collection: e,
...t
});
}
-function Nge({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {
+function Pge({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {
let o = e.collection.getItem(t);
if (!o) return null;
let s = [], c = o.parentKey == null ? null : e.collection.getItem(o.parentKey), l = n - 1;
@@ -44599,9 +44599,9 @@ function Nge({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction
]
});
}
-function Pge({ state: e, children: t }) {
- let n = jx(), r = iS(), [i, a] = (0, F.useState)(e);
- return n && i !== e && a(e), /* @__PURE__ */ (0, I.jsx)(gS.div, {
+function Fge({ state: e, children: t }) {
+ let n = Nx(), r = oS(), [i, a] = (0, F.useState)(e);
+ return n && i !== e && a(e), /* @__PURE__ */ (0, I.jsx)(vS.div, {
role: "presentation",
className: "relative min-w-0 shrink-0 overflow-hidden",
"data-tree-view-exiting": !n || void 0,
@@ -44640,14 +44640,14 @@ function Pge({ state: e, children: t }) {
1
]
},
- children: /* @__PURE__ */ (0, I.jsx)(AB.Provider, {
+ children: /* @__PURE__ */ (0, I.jsx)(kB.Provider, {
value: n ? e : i,
children: t
})
});
}
// src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var ZV = {
+var XV = {
md: {
box: "size-4",
glyph: "size-4",
@@ -44661,8 +44661,8 @@ var ZV = {
gap: "gap-1.5"
}
};
-function QV({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = ZV[t], c = n || r, l = o && !a;
+function ZV({ state: e, size: t = "md" }) {
+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = XV[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
className: q("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? q("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : q("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),
@@ -44688,13 +44688,13 @@ function QV({ state: e, size: t = "md" }) {
});
}
// src/react/boardui/components/base/checkbox/checkbox.tsx
-function $V({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = ZV[n];
- return /* @__PURE__ */ (0, I.jsx)(ype, {
+function QV({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = XV[n];
+ return /* @__PURE__ */ (0, I.jsx)(bpe, {
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),
- children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(QV, {
+ children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(ZV, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, I.jsx)("span", {
@@ -44704,7 +44704,7 @@ function $V({ className: e, children: t, size: n = "md", ref: r, ...i }) {
});
}
// src/react/components/overlay-scrollbar.ts
-function eH() {
+function $V() {
let e = (0, F.useRef)(null), t = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
t.current?.node !== e.current && (t.current?.control?.destroy(), t.current = e.current ? {
@@ -44716,43 +44716,43 @@ function eH() {
}, []), e;
}
// src/react/providers.tsx
-var tH = null;
-function Fge() {
- return tH?.isConnected || (tH = document.createElement("div"), tH.className = "peach-react", tH.dataset.reactOverlays = "", document.body.append(tH)), tH;
+var eH = null;
+function Ige() {
+ return eH?.isConnected || (eH = document.createElement("div"), eH.className = "peach-react", eH.dataset.reactOverlays = "", document.body.append(eH)), eH;
}
-function nH({ children: e }) {
+function tH({ children: e }) {
return /* @__PURE__ */ (0, I.jsx)(oe, {
client: H,
- children: /* @__PURE__ */ (0, I.jsx)(Gre, {
+ children: /* @__PURE__ */ (0, I.jsx)(Ure, {
reducedMotion: "user",
- children: /* @__PURE__ */ (0, I.jsx)(OD, {
- getContainer: Fge,
+ children: /* @__PURE__ */ (0, I.jsx)(AD, {
+ getContainer: Ige,
children: e
})
})
});
}
// node_modules/sonner/dist/index.mjs
-function Ige(e) {
+function Lge(e) {
if (!e || typeof document > "u") return;
let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");
n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e));
}
-var Lge = (e) => {
+var Rge = (e) => {
switch (e) {
- case "success": return Bge;
- case "info": return Hge;
- case "warning": return Vge;
- case "error": return Uge;
+ case "success": return Vge;
+ case "info": return Uge;
+ case "warning": return Hge;
+ case "error": return Wge;
default: return null;
}
-}, Rge = Array(12).fill(0), zge = ({ visible: e, className: t }) => /*#__PURE__*/ F.createElement("div", {
+}, zge = Array(12).fill(0), Bge = ({ visible: e, className: t }) => /*#__PURE__*/ F.createElement("div", {
className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
"data-visible": e
-}, /*#__PURE__*/ F.createElement("div", { className: "sonner-spinner" }, Rge.map((e, t) => /*#__PURE__*/ F.createElement("div", {
+}, /*#__PURE__*/ F.createElement("div", { className: "sonner-spinner" }, zge.map((e, t) => /*#__PURE__*/ F.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), Bge = /*#__PURE__*/ F.createElement("svg", {
+})))), Vge = /*#__PURE__*/ F.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -44763,7 +44763,7 @@ var Lge = (e) => {
fillRule: "evenodd",
d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",
clipRule: "evenodd"
-})), Vge = /*#__PURE__*/ F.createElement("svg", {
+})), Hge = /*#__PURE__*/ F.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -44774,7 +44774,7 @@ var Lge = (e) => {
fillRule: "evenodd",
d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",
clipRule: "evenodd"
-})), Hge = /*#__PURE__*/ F.createElement("svg", {
+})), Uge = /*#__PURE__*/ F.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -44785,7 +44785,7 @@ var Lge = (e) => {
fillRule: "evenodd",
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",
clipRule: "evenodd"
-})), Uge = /*#__PURE__*/ F.createElement("svg", {
+})), Wge = /*#__PURE__*/ F.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -44796,7 +44796,7 @@ var Lge = (e) => {
fillRule: "evenodd",
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",
clipRule: "evenodd"
-})), Wge = /*#__PURE__*/ F.createElement("svg", {
+})), Gge = /*#__PURE__*/ F.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -44817,7 +44817,7 @@ var Lge = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), Gge = () => {
+})), Kge = () => {
let [e, t] = F.useState(document.hidden);
return F.useEffect(() => {
let e = () => {
@@ -44825,7 +44825,7 @@ var Lge = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, Kge = 1, qge = 100, rH = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : Kge++, iH = new class {
+}, qge = 1, Jge = 100, nH = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : qge++, rH = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -44835,10 +44835,10 @@ var Lge = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - qge;
+ let e = this.toasts.length - Jge;
e <= 0 || (this.toasts = this.toasts.filter((t) => e > 0 && this.dismissedToasts.has(t.id) ? (this.dismissedToasts.delete(t.id), e--, !1) : !0));
}, this.create = (e) => {
- let { message: t, ...n } = e, r = rH(e), i = this.pendingDismissals.get(r);
+ let { message: t, ...n } = e, r = nH(e), i = this.pendingDismissals.get(r);
i !== void 0 && (cancelAnimationFrame(i), this.pendingDismissals.delete(r), this.dismissedToasts.delete(r));
let a = this.dismissedToasts.has(r), o = e.dismissible === void 0 || e.dismissible;
return a && (this.dismissedToasts.delete(r), this.toasts = this.toasts.filter((e) => e.id !== r)), !a && this.toasts.find((e) => e.id === r) ? this.toasts = this.toasts.map((n) => n.id === r ? (this.publish({
@@ -44913,7 +44913,7 @@ var Lge = (e) => {
type: "default",
message: e
});
- else if (Yge(e) && !e.ok) {
+ else if (Xge(e) && !e.ok) {
i = !1;
let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !F.isValidElement(r) ? r : { message: r };
this.create({
@@ -44957,7 +44957,7 @@ var Lge = (e) => {
}), s = () => new Promise((e, t) => o.then(() => a[0] === "reject" ? t(a[1]) : e(a[1])).catch(t));
return typeof n != "string" && typeof n != "number" ? { unwrap: s } : Object.assign(n, { unwrap: s });
}, this.custom = (e, t) => {
- let n = rH(t);
+ let n = nH(t);
return this.create({
...t,
jsx: e(n),
@@ -44966,34 +44966,34 @@ var Lge = (e) => {
}), n;
}, this.getActiveToasts = () => this.toasts.filter((e) => !this.dismissedToasts.has(e.id)), this.subscribers = [], this.toasts = [], this.dismissedToasts = /* @__PURE__ */ new Set(), this.pendingDismissals = /* @__PURE__ */ new Map();
}
-}(), Jge = (e, t) => iH.message(e, t), Yge = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", aH = Object.assign(Jge, {
- success: iH.success,
- info: iH.info,
- warning: iH.warning,
- error: iH.error,
- custom: iH.custom,
- message: iH.message,
- promise: iH.promise,
- dismiss: iH.dismiss,
- loading: iH.loading
+}(), Yge = (e, t) => rH.message(e, t), Xge = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", iH = Object.assign(Yge, {
+ success: rH.success,
+ info: rH.info,
+ warning: rH.warning,
+ error: rH.error,
+ custom: rH.custom,
+ message: rH.message,
+ promise: rH.promise,
+ dismiss: rH.dismiss,
+ loading: rH.loading
}, {
- getHistory: () => iH.toasts,
- getToasts: () => iH.getActiveToasts()
+ getHistory: () => rH.toasts,
+ getToasts: () => rH.getActiveToasts()
});
-Ige("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
-function oH(e) {
+Lge("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
+function aH(e) {
return e.label !== void 0;
}
-var Xge = 3, Zge = "24px", Qge = "16px", sH = 4e3, $ge = 356, e_e = 14, t_e = 45, n_e = 200;
-function cH(...e) {
+var Zge = 3, Qge = "24px", $ge = "16px", oH = 4e3, e_e = 356, t_e = 14, n_e = 45, r_e = 200;
+function sH(...e) {
return e.filter(Boolean).join(" ");
}
-function r_e(e) {
+function i_e(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var i_e = (e) => {
- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = F.useState(null), [O, k] = F.useState(null), [A, j] = F.useState(!1), [M, ee] = F.useState(!1), [N, te] = F.useState(!1), [P, ne] = F.useState(!1), [re, I] = F.useState(!1), [ie, ae] = F.useState(0), [oe, se] = F.useState(0), ce = F.useRef(n.duration || y || sH), le = F.useRef(null), ue = F.useRef(null), de = c === 0, fe = c + 1 <= o, pe = n.type, me = pe ?? "default", he = n.dismissible !== !1, ge = n.className || "", _e = n.descriptionClassName || "", ve = F.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = F.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = F.useMemo(() => n.duration || y || sH, [n.duration, y]), xe = F.useRef(0), Se = F.useRef(0), Ce = F.useRef(0), we = F.useRef(null), [Te, Ee] = b.split("-"), De = F.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = Gge(), ke = F.useMemo(() => e.swipeDirections ?? r_e(b), [e.swipeDirections, b]), Ae = n.invert || t, je = pe === "loading";
+var a_e = (e) => {
+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = F.useState(null), [O, k] = F.useState(null), [A, j] = F.useState(!1), [M, ee] = F.useState(!1), [N, te] = F.useState(!1), [P, ne] = F.useState(!1), [re, I] = F.useState(!1), [ie, ae] = F.useState(0), [oe, se] = F.useState(0), ce = F.useRef(n.duration || y || oH), le = F.useRef(null), ue = F.useRef(null), de = c === 0, fe = c + 1 <= o, pe = n.type, me = pe ?? "default", he = n.dismissible !== !1, ge = n.className || "", _e = n.descriptionClassName || "", ve = F.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = F.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = F.useMemo(() => n.duration || y || oH, [n.duration, y]), xe = F.useRef(0), Se = F.useRef(0), Ce = F.useRef(0), we = F.useRef(null), [Te, Ee] = b.split("-"), De = F.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = Kge(), ke = F.useMemo(() => e.swipeDirections ?? i_e(b), [e.swipeDirections, b]), Ae = n.invert || t, je = pe === "loading";
Se.current = F.useMemo(() => ve * x + De, [ve, De]), F.useEffect(() => {
ce.current = be;
}, [be]), F.useEffect(() => {
@@ -45034,7 +45034,7 @@ var i_e = (e) => {
let Me = F.useCallback(() => {
ee(!0), ae(Se.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, n_e);
+ }, r_e);
}, [
n,
d,
@@ -45065,18 +45065,18 @@ var i_e = (e) => {
}, [Me, n.delete]);
function Ne() {
return w?.loading ? /*#__PURE__*/ F.createElement("div", {
- className: cH(C?.loader, n?.classNames?.loader, "sonner-loader"),
+ className: sH(C?.loader, n?.classNames?.loader, "sonner-loader"),
"data-visible": pe === "loading"
- }, w.loading) : /*#__PURE__*/ F.createElement(zge, {
- className: cH(C?.loader, n?.classNames?.loader),
+ }, w.loading) : /*#__PURE__*/ F.createElement(Bge, {
+ className: sH(C?.loader, n?.classNames?.loader),
visible: pe === "loading"
});
}
- let Pe = n.icon || w?.[pe] || Lge(pe);
+ let Pe = n.icon || w?.[pe] || Rge(pe);
return /*#__PURE__*/ F.createElement("li", {
tabIndex: 0,
ref: ue,
- className: cH(_, ge, C?.toast, n?.classNames?.toast, C?.[me], n?.classNames?.[me]),
+ className: sH(_, ge, C?.toast, n?.classNames?.toast, C?.[me], n?.classNames?.[me]),
"data-sonner-toast": "",
"data-rich-colors": n.richColors ?? f,
"data-styled": !(n.jsx || n.unstyled || r),
@@ -45119,7 +45119,7 @@ var i_e = (e) => {
if (P || !he) return;
we.current = null;
let e = Number(ue.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(ue.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - le.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;
- if ((E === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= t_e || a > .11)) ae(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), ne(!0);
+ if ((E === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= n_e || a > .11)) ae(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), ne(!0);
else {
var o, s;
(o = ue.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = ue.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), I(!1), te(!1), D(null);
@@ -45158,46 +45158,46 @@ var i_e = (e) => {
onClick: je || !he ? () => {} : () => {
Me(), n.onDismiss == null || n.onDismiss.call(n, n);
},
- className: cH(C?.closeButton, n?.classNames?.closeButton)
- }, w?.close ?? Wge) : null, (pe || n.icon || n.promise) && n.icon !== null && (w?.[pe] !== null || n.icon) ? /*#__PURE__*/ F.createElement("div", {
+ className: sH(C?.closeButton, n?.classNames?.closeButton)
+ }, w?.close ?? Gge) : null, (pe || n.icon || n.promise) && n.icon !== null && (w?.[pe] !== null || n.icon) ? /*#__PURE__*/ F.createElement("div", {
"data-icon": "",
- className: cH(C?.icon, n?.classNames?.icon)
+ className: sH(C?.icon, n?.classNames?.icon)
}, pe === "loading" ? n.icon || Ne() : n.promise ? Ne() : null, pe === "loading" ? null : Pe) : null, /*#__PURE__*/ F.createElement("div", {
"data-content": "",
- className: cH(C?.content, n?.classNames?.content)
+ className: sH(C?.content, n?.classNames?.content)
}, /*#__PURE__*/ F.createElement("div", {
"data-title": "",
- className: cH(C?.title, n?.classNames?.title)
+ className: sH(C?.title, n?.classNames?.title)
}, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /*#__PURE__*/ F.createElement("div", {
"data-description": "",
- className: cH(v, _e, C?.description, n?.classNames?.description)
- }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ F.isValidElement(n.cancel) ? n.cancel : n.cancel && oH(n.cancel) ? /*#__PURE__*/ F.createElement("button", {
+ className: sH(v, _e, C?.description, n?.classNames?.description)
+ }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ F.isValidElement(n.cancel) ? n.cancel : n.cancel && aH(n.cancel) ? /*#__PURE__*/ F.createElement("button", {
"data-button": !0,
"data-cancel": !0,
style: n.cancelButtonStyle || h,
onClick: (e) => {
- oH(n.cancel) && he && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Me());
+ aH(n.cancel) && he && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Me());
},
- className: cH(C?.cancelButton, n?.classNames?.cancelButton)
- }, n.cancel.label) : null, /*#__PURE__*/ F.isValidElement(n.action) ? n.action : n.action && oH(n.action) ? /*#__PURE__*/ F.createElement("button", {
+ className: sH(C?.cancelButton, n?.classNames?.cancelButton)
+ }, n.cancel.label) : null, /*#__PURE__*/ F.isValidElement(n.action) ? n.action : n.action && aH(n.action) ? /*#__PURE__*/ F.createElement("button", {
"data-button": !0,
"data-action": !0,
style: n.actionButtonStyle || g,
onClick: (e) => {
- oH(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Me());
+ aH(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Me());
},
- className: cH(C?.actionButton, n?.classNames?.actionButton)
+ className: sH(C?.actionButton, n?.classNames?.actionButton)
}, n.action.label) : null);
};
-function lH() {
+function cH() {
if (typeof window > "u" || typeof document > "u") return "ltr";
let e = document.documentElement.getAttribute("dir");
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
-function a_e(e, t) {
+function o_e(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Qge : Zge;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? $ge : Qge;
function o(e) {
[
"top",
@@ -45218,11 +45218,11 @@ function a_e(e, t) {
}) : o(a);
}), n;
}
-var uH = /*#__PURE__*/ F.forwardRef(function(e, t) {
- let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = Xge, toastOptions: g, dir: _ = lH(), gap: v = e_e, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = F.useState([]), w = F.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = F.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = F.useState([]), [O, k] = F.useState(!1), [A, j] = F.useState(!1), [M, ee] = F.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), N = F.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = F.useRef(null), ne = F.useRef(!1), re = F.useCallback((e) => {
- C((t) => (t.find((t) => t.id === e.id)?.delete || iH.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
+var lH = /*#__PURE__*/ F.forwardRef(function(e, t) {
+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = Zge, toastOptions: g, dir: _ = cH(), gap: v = t_e, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = F.useState([]), w = F.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = F.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = F.useState([]), [O, k] = F.useState(!1), [A, j] = F.useState(!1), [M, ee] = F.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), N = F.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = F.useRef(null), ne = F.useRef(!1), re = F.useCallback((e) => {
+ C((t) => (t.find((t) => t.id === e.id)?.delete || rH.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
}, []);
- return F.useEffect(() => iH.subscribe((e) => {
+ return F.useEffect(() => rH.subscribe((e) => {
e.dismiss ? requestAnimationFrame(() => {
C((t) => t.map((t) => t.id === e.id ? {
...t,
@@ -45291,7 +45291,7 @@ var uH = /*#__PURE__*/ F.forwardRef(function(e, t) {
let [i, a] = t.split("-");
return w.length ? /*#__PURE__*/ F.createElement("ol", {
key: t,
- dir: _ === "auto" ? lH() : _,
+ dir: _ === "auto" ? cH() : _,
tabIndex: -1,
ref: N,
className: c,
@@ -45301,10 +45301,10 @@ var uH = /*#__PURE__*/ F.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${E[0]?.height || 0}px`,
- "--width": `${$ge}px`,
+ "--width": `${e_e}px`,
"--gap": `${v}px`,
...m,
- ...a_e(l, u)
+ ...o_e(l, u)
},
onBlur: (e) => {
ne.current && !e.currentTarget.contains(e.relatedTarget) && (ne.current = !1, P.current &&= (P.current.focus({ preventScroll: !0 }), null));
@@ -45322,7 +45322,7 @@ var uH = /*#__PURE__*/ F.forwardRef(function(e, t) {
e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || j(!0);
},
onPointerUp: () => j(!1)
- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ F.createElement(i_e, {
+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ F.createElement(a_e, {
key: n.id,
icons: y,
index: i,
@@ -45352,35 +45352,35 @@ var uH = /*#__PURE__*/ F.forwardRef(function(e, t) {
swipeDirections: e.swipeDirections
}))) : null;
}));
-}), dH = "/api/library-processing", fH = ["library-processing"], o_e = (e, t, n) => {
+}), uH = "/api/library-processing", dH = ["library-processing"], s_e = (e, t, n) => {
let r = new URLSearchParams({
estimate: "1",
stage: e.stage || "all"
});
- return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), e.scope && r.set("scope", e.scope), e.incremental && r.set("incremental", "1"), n && r.set("inventory", n), B(`${dH}?${r}`, t);
-}, s_e = {
+ return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), e.scope && r.set("scope", e.scope), e.incremental && r.set("incremental", "1"), n && r.set("inventory", n), B(`${uH}?${r}`, t);
+}, c_e = {
fetching_cover: "封面",
querying_metadata: "资料"
};
-function pH(e) {
+function fH(e) {
if (e?.status !== "running" || e.current_asset_id == null) return null;
- let t = s_e[e.current_action || ""];
+ let t = c_e[e.current_action || ""];
return !t || (e.waited_seconds || 0) < 120 ? null : {
what: t,
source: e.current_source
};
}
-function mH({ what: e, source: t }) {
+function pH({ what: e, source: t }) {
return `${`${t?.label ? `${t.label} ` : "外部来源"}迟迟没有返回${e}`}。可以先跳过这部,任务结束后再重试。`;
}
-var hH = (e) => !!e && [
+var mH = (e) => !!e && [
"running",
"pausing",
"paused",
"stopping"
-].includes(e.status), gH = (e) => e?.status === "failed" && e.outcome === "partial", _H = "已入库的视频可在全部内容中浏览,未完成项可单独重试。", vH = "/?loc=&thumb=0";
-function yH(e) {
- if (!hH(e)) return "";
+].includes(e.status), hH = (e) => e?.status === "failed" && e.outcome === "partial", gH = "已入库的视频可在全部内容中浏览,未完成项可单独重试。", _H = "/?loc=&thumb=0";
+function vH(e) {
+ if (!mH(e)) return "";
if (e.status === "stopping") return "正在取消,等待当前步骤退出;已取得的结果会保留";
if (e.status === "paused") return "已暂停,继续后更新预估";
if (e.status === "pausing") return "正在暂停,当前步骤结束后暂停";
@@ -45391,30 +45391,30 @@ function yH(e) {
let r = n >= 86400 ? 86400 : n >= 3600 ? 3600 : 60, i = r === 86400 ? "天" : r === 3600 ? "小时" : "分钟", a = r === 60 ? 1 : 10, o = Math.max(1 / a, Math.floor(t / r * a) / a), s = Math.max(o, Math.ceil(n / r * a) / a);
return `预计剩余约 ${o === s ? `${s}` : `${o}–${s}`} ${i}${e.eta_initial || e.eta_kind !== "measured" ? "(粗估)" : ""}${e.eta_scope ? ` · ${e.eta_scope}` : ""}`;
}
-var bH = (e) => B(dH, e);
-async function xH(e) {
+var yH = (e) => B(uH, e);
+async function bH(e) {
await H.fetchQuery({
- queryKey: fH,
- queryFn: () => bH(e)
+ queryKey: dH,
+ queryFn: () => yH(e)
});
}
-var c_e = 2e3, l_e = 1e4, SH = "连接中断,正在重新读取处理进度", u_e = {
+var l_e = 2e3, u_e = 1e4, xH = "连接中断,正在重新读取处理进度", d_e = {
manual: "在网页发起",
scheduled: "定时发起",
startup: "服务启动时自动发起",
cli: "由命令行或托盘发起"
};
-function d_e(e, t) {
+function f_e(e, t) {
return `保存后 Peach 会重新启动。${e.trigger === "cli" ? "这个任务由命令行或托盘发起,在独立进程里运行,不受重启影响。" : e.status === "paused" ? "已暂停的任务会保持暂停,重启后点继续即可接着处理。" : "正在进行的任务会随重启中断,重启后从中断处继续。"}${t ? "勾选的「保存后扫描并补全资料」会排在当前任务之后。" : ""}`;
}
-function f_e(e) {
- let t = u_e[e.trigger || ""];
+function p_e(e) {
+ let t = d_e[e.trigger || ""];
return `当前的扫描与采集任务${t ? `(${t})` : ""}还没结束,等它完成或取消后再开始新的同步`;
}
-function CH(e, t) {
- return hH(e) ? c_e : t ? l_e : !1;
+function SH(e, t) {
+ return mH(e) ? l_e : t ? u_e : !1;
}
-var p_e = {
+var m_e = {
scanning_files: "扫描文件",
reading_local: "检查配套文件",
reading_local_cover: "读取配套图片",
@@ -45423,25 +45423,25 @@ var p_e = {
skipped: "已跳过",
generating_preview: "生成视频预览",
writing_candidates: "保存待确认资料"
-}, wH = {
+}, CH = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
-function m_e(e) {
- let t = Object.entries(e).filter(([e, t]) => wH[e] && t > 0).map(([e, t]) => `${wH[e]} ${t.toLocaleString()} 部`);
+function h_e(e) {
+ let t = Object.entries(e).filter(([e, t]) => CH[e] && t > 0).map(([e, t]) => `${CH[e]} ${t.toLocaleString()} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
-function h_e(e) {
+function g_e(e) {
if (e.status === "paused") return "已暂停";
if (e.status === "pausing") return "正在暂停";
- let t = p_e[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${pL(e.waited_seconds)}` : "";
+ let t = m_e[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${fL(e.waited_seconds)}` : "";
return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;
}
-function g_e(e) {
- let t = e.total ? `${mL(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";
- return h_e(e) + (t ? ` · ${t}` : "");
-}
function __e(e) {
+ let t = e.total ? `${pL(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) {
let t = e.issue_preview || [];
return t.length ? {
label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
@@ -45455,22 +45455,22 @@ function __e(e) {
log: e.issues_log || ""
} : null;
}
-var TH = "peach.library-processing.announced", v_e = 120;
-function EH(e) {
+var wH = "peach.library-processing.announced", y_e = 120;
+function TH(e) {
let t = e.completed_at == null ? Infinity : Date.now() / 1e3 - e.completed_at;
- return !!e.job_id && t >= 0 && t < v_e;
+ return !!e.job_id && t >= 0 && t < y_e;
}
-function y_e(e, t, n) {
- if (e.status === "complete" && (n || EH(e))) {
+function b_e(e, t, n) {
+ if (e.status === "complete" && (n || TH(e))) {
try {
- if (e.job_id && localStorage.getItem(TH) === e.job_id) return;
- e.job_id && localStorage.setItem(TH, e.job_id);
+ if (e.job_id && localStorage.getItem(wH) === e.job_id) return;
+ e.job_id && localStorage.setItem(wH, e.job_id);
} catch {}
e.requested_stage === "previews" ? t(`视频预览已生成:${e.previews || 0} 部`) : t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条` + (e.previews ? `,生成 ${e.previews} 部视频预览` : ""));
}
}
// src/react/boardui/components/base/buttons/link-button.tsx
-var DH = YI({
+var EH = JI({
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",
@@ -45487,15 +45487,15 @@ var DH = YI({
secondary: "text-text-secondary active:text-text-primary disabled:text-text-tertiary aria-disabled:text-text-tertiary"
}
});
-function OH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = q(DH.base, DH.size[t], DH.variant[e], a), l = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
+function DH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
+ let c = q(EH.base, EH.size[t], EH.variant[e], a), l = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
n ? /* @__PURE__ */ (0, I.jsx)(n, {
- className: DH.icon[t],
+ className: EH.icon[t],
"aria-hidden": !0
}) : null,
i != null && /* @__PURE__ */ (0, I.jsx)("span", { children: i }),
r ? /* @__PURE__ */ (0, I.jsx)(r, {
- className: DH.icon[t],
+ className: EH.icon[t],
"aria-hidden": !0
}) : null
] });
@@ -45521,7 +45521,7 @@ function OH({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili
});
}
// src/react/settings/use-action.ts
-function kH(e = "") {
+function OH(e = "") {
let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(""), [i, a] = (0, F.useState)(e);
(0, F.useEffect)(() => () => t.current?.abort(), []);
async function o(e, n, i, o) {
@@ -45546,10 +45546,10 @@ function kH(e = "") {
};
}
// src/react/library-processing/slow-item.tsx
-function AH({ state: e }) {
- let t = kH(), n = (e) => {
- t.busy || t.run(e.action, (t) => V(dH, e, "POST", t), (e) => {
- H.setQueryData(fH, e), H.invalidateQueries({ queryKey: fH });
+function kH({ state: e }) {
+ let t = OH(), n = (e) => {
+ t.busy || t.run(e.action, (t) => V(uH, e, "POST", t), (e) => {
+ H.setQueryData(dH, e), H.invalidateQueries({ queryKey: dH });
});
};
return /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -45561,7 +45561,7 @@ function AH({ state: e }) {
size: "small",
variant: "secondary",
disabled: e.skip_requested,
- ...kV(t.busy === "skip_current"),
+ ...OV(t.busy === "skip_current"),
onClick: () => {
e.job_id && e.current_asset_id != null && n({
action: "skip_current",
@@ -45585,37 +45585,37 @@ function AH({ state: e }) {
]
});
}
-function b_e({ state: e, slow: t }) {
- return /* @__PURE__ */ (0, I.jsx)(wV, {
+function x_e({ state: e, slow: t }) {
+ return /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "warning",
- action: /* @__PURE__ */ (0, I.jsx)(AH, { state: e }),
- children: mH(t)
+ action: /* @__PURE__ */ (0, I.jsx)(kH, { state: e }),
+ children: pH(t)
});
}
-function x_e({ state: e, slow: t }) {
+function S_e({ state: e, slow: t }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-processing-slow": "",
className: "flex min-w-0 flex-wrap items-center justify-between gap-3",
children: [/* @__PURE__ */ (0, I.jsx)("p", {
className: "min-w-0 flex-auto text-body-2-regular wrap-anywhere",
- children: mH(t)
- }), /* @__PURE__ */ (0, I.jsx)(AH, { state: e })]
+ children: pH(t)
+ }), /* @__PURE__ */ (0, I.jsx)(kH, { state: e })]
});
}
// src/react/components/use-moving-surface.ts
-var S_e = {
+var C_e = {
selection: {
- type: Pg,
+ type: Ng,
duration: .16,
bounce: 0
},
hover: {
- type: Pg,
+ type: Ng,
duration: .08,
bounce: 0
}
};
-function jH(e) {
+function AH(e) {
let [t, n] = (0, F.useState)(null);
return (0, F.useLayoutEffect)(() => {
if (!t) return;
@@ -45636,7 +45636,7 @@ function jH(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 = Qie(n, { transform: [r, E] }, S_e[e]);
+ l = Xie(n, { transform: [r, E] }, C_e[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -45672,24 +45672,24 @@ function jH(e) {
}, [t, e]), n;
}
// src/react/components/menu-dialog.tsx
-function MH(e) {
- let t = jH("hover");
- return /* @__PURE__ */ (0, I.jsx)(Bz, {
+function jH(e) {
+ let t = AH("hover");
+ return /* @__PURE__ */ (0, I.jsx)(zz, {
...e,
ref: t
});
}
// src/react/library-processing/processing-effort.tsx
-var NH = [
+var MH = [
"low",
"standard",
"high"
-], PH = [
+], NH = [
"低占用",
"标准",
"全速"
-], FH = DV("snail"), IH = DV("zap");
-function LH({ className: e }) {
+], PH = EV("snail"), FH = EV("zap");
+function IH({ className: e }) {
return /* @__PURE__ */ (0, I.jsxs)("svg", {
className: `processing-effort-double ${e ?? ""}`,
"aria-hidden": "true",
@@ -45720,12 +45720,12 @@ function LH({ className: e }) {
]
});
}
-var C_e = [
+var w_e = [
+ PH,
FH,
- IH,
- LH
+ IH
];
-function w_e({ animate: e }) {
+function T_e({ animate: e }) {
let [t, n] = (0, F.useState)(document.hidden);
return (0, F.useEffect)(() => {
let e = () => n(document.hidden);
@@ -45757,8 +45757,8 @@ function w_e({ animate: e }) {
} }, t))]
});
}
-function RH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
- let i = Math.max(0, NH.indexOf(e)), [a, o] = (0, F.useState)(i);
+function LH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
+ let i = Math.max(0, MH.indexOf(e)), [a, o] = (0, F.useState)(i);
return (0, F.useEffect)(() => {
t || o(i);
}, [i, t]), /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -45769,7 +45769,7 @@ function RH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "text-text-tertiary",
children: "处理强度 "
- }), PH[a]]
+ }), NH[a]]
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "processing-effort-scale text-caption-1-regular text-text-tertiary",
@@ -45777,19 +45777,19 @@ function RH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
children: [
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-selected": a === 0 || void 0,
- children: [/* @__PURE__ */ (0, I.jsx)(FH, {}), "最慢"]
+ children: [/* @__PURE__ */ (0, I.jsx)(PH, {}), "最慢"]
}),
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-selected": a === 1 || void 0,
- children: [/* @__PURE__ */ (0, I.jsx)(IH, {}), "标准"]
+ children: [/* @__PURE__ */ (0, I.jsx)(FH, {}), "标准"]
}),
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-selected": a === 2 || void 0,
- children: [/* @__PURE__ */ (0, I.jsx)(LH, {}), "最快"]
+ children: [/* @__PURE__ */ (0, I.jsx)(IH, {}), "最快"]
})
]
}),
- /* @__PURE__ */ (0, I.jsxs)(kpe, {
+ /* @__PURE__ */ (0, I.jsxs)(Ape, {
"aria-label": "处理速度",
minValue: 0,
maxValue: 2,
@@ -45798,10 +45798,10 @@ function RH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
isDisabled: t,
onChange: o,
onChangeEnd: (e) => {
- e !== i && n(NH[e]);
+ e !== i && n(MH[e]);
},
className: "processing-effort-slider",
- children: [/* @__PURE__ */ (0, I.jsx)(QL, {
+ children: [/* @__PURE__ */ (0, I.jsx)(ZL, {
className: "processing-effort-label",
children: "处理速度"
}), /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -45821,11 +45821,11 @@ function RH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
/* @__PURE__ */ (0, I.jsx)("i", {})
]
}),
- a === 2 ? /* @__PURE__ */ (0, I.jsx)(w_e, { animate: r }) : null,
- /* @__PURE__ */ (0, I.jsx)(Ape, {
+ a === 2 ? /* @__PURE__ */ (0, I.jsx)(T_e, { animate: r }) : null,
+ /* @__PURE__ */ (0, I.jsx)(jpe, {
className: "processing-effort-hit",
- children: /* @__PURE__ */ (0, I.jsx)(jpe, {
- "aria-label": PH[a],
+ children: /* @__PURE__ */ (0, I.jsx)(Mpe, {
+ "aria-label": NH[a],
className: "processing-effort-thumb"
})
})
@@ -45839,8 +45839,8 @@ function RH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
]
});
}
-function T_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {
- let i = (0, F.useRef)(null), [a, o] = (0, F.useState)(!1), s = Math.max(0, NH.indexOf(e));
+function E_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {
+ let i = (0, F.useRef)(null), [a, o] = (0, F.useState)(!1), s = Math.max(0, MH.indexOf(e));
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "processing-effort-trigger",
"data-speed": e,
@@ -45848,28 +45848,28 @@ function T_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {
ref: i,
size: "small",
variant: "secondary",
- "aria-label": `处理速度:${PH[s]}`,
+ "aria-label": `处理速度:${NH[s]}`,
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-disabled": t,
- leadingIcon: C_e[s],
- trailingIcon: NB,
+ leadingIcon: w_e[s],
+ trailingIcon: MB,
onClick: () => {
t || o(!a);
},
- children: PH[s]
+ children: NH[s]
})
- }), /* @__PURE__ */ (0, I.jsx)(Dz, {
+ }), /* @__PURE__ */ (0, I.jsx)(Ez, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "top start",
offset: 8,
- className: KV,
- children: /* @__PURE__ */ (0, I.jsx)(MH, {
+ className: GV,
+ children: /* @__PURE__ */ (0, I.jsx)(jH, {
"aria-label": "处理速度",
className: "outline-none",
- children: /* @__PURE__ */ (0, I.jsx)(RH, {
+ children: /* @__PURE__ */ (0, I.jsx)(LH, {
value: e,
busy: t,
onChange: n,
@@ -45879,10 +45879,10 @@ function T_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {
})] });
}
// src/react/library-processing/processing-controls.tsx
-function zH({ state: e, disabled: t = !1 }) {
- let n = kH(), r = (0, F.useRef)(!1), i = hH(e), a = e.status === "stopping", o = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", s = a ? "正在取消" : "取消任务", c = (e) => {
- t || n.busy || n.run(e.action, (t) => V(dH, e, "POST", t), (e) => {
- H.setQueryData(fH, e), H.invalidateQueries({ queryKey: fH });
+function RH({ state: e, disabled: t = !1 }) {
+ let n = OH(), r = (0, F.useRef)(!1), i = mH(e), a = e.status === "stopping", o = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", s = a ? "正在取消" : "取消任务", c = (e) => {
+ t || n.busy || n.run(e.action, (t) => V(uH, e, "POST", t), (e) => {
+ H.setQueryData(dH, e), H.invalidateQueries({ queryKey: dH });
});
}, l = () => {
let i = e.job_id;
@@ -45906,7 +45906,7 @@ function zH({ state: e, disabled: t = !1 }) {
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, I.jsx)(T_e, {
+ /* @__PURE__ */ (0, I.jsx)(E_e, {
value: e.speed_mode || "standard",
busy: t || !!n.busy || a,
animate: e.status !== "paused" && e.status !== "pausing",
@@ -45920,11 +45920,11 @@ function zH({ state: e, disabled: t = !1 }) {
size: "small",
variant: "secondary",
iconOnly: !0,
- leadingIcon: e.status === "paused" ? nV : eV,
+ leadingIcon: e.status === "paused" ? tV : $B,
"aria-label": o,
title: o,
disabled: t || !e.job_id || e.status === "pausing" || a,
- ...kV(n.busy === "pause" || n.busy === "resume"),
+ ...OV(n.busy === "pause" || n.busy === "resume"),
onClick: () => {
e.job_id && c({
action: e.status === "paused" ? "resume" : "pause",
@@ -45936,11 +45936,11 @@ function zH({ state: e, disabled: t = !1 }) {
size: "small",
variant: "secondary",
iconOnly: !0,
- leadingIcon: lV,
+ leadingIcon: cV,
"aria-label": s,
title: s,
disabled: t || !e.job_id || a,
- ...kV(n.busy === "cancel"),
+ ...OV(n.busy === "cancel"),
onClick: l
}) : null
]
@@ -45952,11 +45952,11 @@ function zH({ state: e, disabled: t = !1 }) {
});
}
// src/react/library-processing/use-library-processing.ts
-function BH({ toast: e, mode: t, monitor: n }) {
+function zH({ toast: e, mode: t, monitor: n }) {
let r = t === "notice" || !!n, i = Pt({
- queryKey: fH,
- queryFn: ({ signal: e }) => bH(e),
- refetchInterval: (e) => CH(e.state.data, r)
+ queryKey: dH,
+ queryFn: ({ signal: e }) => yH(e),
+ refetchInterval: (e) => SH(e.state.data, r)
}), [a, o] = (0, F.useState)(null), s = (0, F.useRef)(void 0), c = i.data;
return (0, F.useEffect)(() => {
if (!c) return;
@@ -45967,8 +45967,8 @@ function BH({ toast: e, mode: t, monitor: n }) {
"pausing",
"paused",
"stopping"
- ].includes(n) && !hH(c);
- r && o(c), (r || t === "notice") && y_e(c, e, r);
+ ].includes(n) && !mH(c);
+ r && o(c), (r || t === "notice") && b_e(c, e, r);
}, [
c,
t,
@@ -45980,38 +45980,38 @@ function BH({ toast: e, mode: t, monitor: n }) {
};
}
// src/react/components/card.tsx
-var E_e = "min-w-0", D_e = {
+var D_e = "min-w-0", O_e = {
filled: "bg-background-secondary-default",
outlined: "border border-separator-border bg-background-primary-default",
raised: "bg-background-primary-default"
-}, O_e = {
+}, k_e = {
default: "rounded-2xl shadow-card",
chart: "rounded-2-5xl",
surface: "rounded-surface",
plain: "rounded-2xl"
-}, k_e = {
+}, A_e = {
line: "border border-border-button-default",
soft: "border border-separator-border",
error: "outline-1 -outline-offset-1 outline-border-error-default"
-}, A_e = {
+}, j_e = {
none: "",
default: "p-5"
-}, j_e = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", M_e = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";
-function VH(e = {}) {
+}, M_e = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", N_e = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";
+function BH(e = {}) {
let { variant: t = "filled", padding: n = "default", interactive: r, selectable: i, bordered: a, className: o } = e, s = e.radius ?? (t === "outlined" ? "surface" : "default");
return [
- E_e,
- D_e[t],
- O_e[s],
- A_e[n],
- a ? k_e[a] : "",
- r ? j_e : "",
- i ? M_e : "",
+ D_e,
+ O_e[t],
+ k_e[s],
+ j_e[n],
+ a ? A_e[a] : "",
+ r ? M_e : "",
+ i ? N_e : "",
o ?? ""
].filter(Boolean).join(" ");
}
// src/react/components/loading-dots.tsx
-function HH({ label: e }) {
+function VH({ label: e }) {
return /* @__PURE__ */ (0, I.jsxs)("p", {
role: "status",
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
@@ -46030,21 +46030,21 @@ function HH({ label: e }) {
});
}
// src/react/components/progress.tsx
-var UH = 100, N_e = .4;
-function WH({ label: e, value: t, max: n = 100, stops: r = [] }) {
- let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * UH;
+var HH = 100, P_e = .4;
+function UH({ label: e, value: t, max: n = 100, stops: r = [] }) {
+ let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * HH;
return /* @__PURE__ */ (0, I.jsxs)("svg", {
role: "progressbar",
"aria-label": e,
"aria-valuemin": 0,
"aria-valuemax": i,
"aria-valuenow": a(t),
- viewBox: `0 0 ${UH} 1`,
+ viewBox: `0 0 ${HH} 1`,
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
/* @__PURE__ */ (0, I.jsx)("rect", {
- width: UH,
+ width: HH,
height: 1,
className: "fill-background-tertiary-default"
}),
@@ -46055,7 +46055,7 @@ function WH({ label: e, value: t, max: n = 100, stops: r = [] }) {
}),
r.map((e) => /* @__PURE__ */ (0, I.jsx)("rect", {
x: o(e),
- width: N_e,
+ width: P_e,
height: 1,
className: "fill-background-secondary-default"
}, e))
@@ -46063,26 +46063,26 @@ function WH({ label: e, value: t, max: n = 100, stops: r = [] }) {
});
}
// src/react/components/task-progress.tsx
-function GH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
+function WH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-task-progress": !0,
- className: r ? "flex flex-col gap-1.5" : VH({
+ className: r ? "flex flex-col gap-1.5" : BH({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-1.5 px-4 py-3.5"
}),
- children: n && n > 0 ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(WH, {
+ children: n && n > 0 ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(UH, {
label: e,
value: t,
max: n
}), /* @__PURE__ */ (0, I.jsx)("p", {
className: "text-caption-1-regular text-text-secondary wrap-anywhere",
children: e
- })] }) : /* @__PURE__ */ (0, I.jsx)(HH, { label: e })
+ })] }) : /* @__PURE__ */ (0, I.jsx)(VH, { label: e })
});
}
// src/react/library-processing/processing-line.tsx
-function KH(e) {
+function GH(e) {
let [t, n] = (0, F.useState)({
snapshot: e,
seconds: 0
@@ -46098,17 +46098,17 @@ function KH(e) {
return () => window.clearInterval(r);
}, [e, i]);
let a = i && t.snapshot === e ? t.seconds : 0;
- return g_e(a ? {
+ return __e(a ? {
...e,
waited_seconds: r + a
} : e);
}
-function P_e({ state: e }) {
- return KH(e);
-}
function F_e({ state: e }) {
- let t = KH(e);
- return /* @__PURE__ */ (0, I.jsx)(GH, {
+ return GH(e);
+}
+function I_e({ state: e }) {
+ let t = GH(e);
+ return /* @__PURE__ */ (0, I.jsx)(WH, {
embedded: !0,
label: t,
value: Math.min(e.checked || 0, e.total || 0),
@@ -46116,7 +46116,7 @@ function F_e({ state: e }) {
});
}
// src/react/components/collapse-region.tsx
-function qH({ open: e, children: t, ...n }) {
+function KH({ open: e, children: t, ...n }) {
let r = (0, F.useRef)(null), i = (0, F.useRef)(!1);
return (0, F.useLayoutEffect)(() => {
let t = r.current;
@@ -46127,7 +46127,7 @@ function qH({ open: e, children: t, ...n }) {
children: t
});
}
-function JH(e) {
+function qH(e) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
...e,
"aria-hidden": !0,
@@ -46142,19 +46142,19 @@ function JH(e) {
});
}
// src/react/boardui/components/application/settings/settings-rows.tsx
-function YH({ className: e, children: t }) {
+function JH({ className: e, children: t }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
className: q("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
-function XH({ className: e, children: t }) {
+function YH({ className: e, children: t }) {
return /* @__PURE__ */ (0, I.jsx)("p", {
className: q("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function I_e({ label: e, description: t, children: n }) {
+function L_e({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: q("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -46170,7 +46170,7 @@ function I_e({ label: e, description: t, children: n }) {
});
}
// src/react/settings/section.tsx
-function L_e({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, children: o }) {
+function R_e({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, children: o }) {
let s = n ? /* @__PURE__ */ (0, I.jsxs)("span", {
className: "inline-flex items-center gap-1.5",
children: [n, e]
@@ -46178,12 +46178,12 @@ function L_e({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, childr
className: "flex w-full flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, I.jsx)("div", {
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, I.jsx)(XH, { children: s })
+ children: /* @__PURE__ */ (0, I.jsx)(YH, { children: s })
}), /* @__PURE__ */ (0, I.jsx)("div", {
className: "flex min-w-0 max-w-full",
children: i
})]
- }) : /* @__PURE__ */ (0, I.jsx)(XH, { children: s }), /* @__PURE__ */ (0, I.jsx)(YH, { children: o })] });
+ }) : /* @__PURE__ */ (0, I.jsx)(YH, { children: s }), /* @__PURE__ */ (0, I.jsx)(JH, { children: o })] });
return a ? /* @__PURE__ */ (0, I.jsx)("form", {
id: r,
"data-guide-target": t,
@@ -46200,13 +46200,13 @@ function L_e({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, childr
children: c
});
}
-function R_e({ children: e }) {
+function z_e({ children: e }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
className: "ui-settings-rows flex flex-col empty:hidden",
children: e
});
}
-function z_e({ divided: e = !1, children: t }) {
+function B_e({ divided: e = !1, children: t }) {
return e ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3 empty:hidden [&>.ui-settings-facts]:-mr-3",
children: t
@@ -46215,7 +46215,7 @@ function z_e({ divided: e = !1, children: t }) {
children: t
});
}
-function B_e({ label: e, html: t }) {
+function V_e({ label: e, html: t }) {
let [n] = (0, F.useState)(t);
return /* @__PURE__ */ (0, I.jsx)("div", {
className: "contents",
@@ -46225,7 +46225,7 @@ function B_e({ label: e, html: t }) {
dangerouslySetInnerHTML: { __html: n }
});
}
-function V_e({ status: e, children: t }) {
+function H_e({ status: e, children: t }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3 empty:hidden",
children: [e ? /* @__PURE__ */ (0, I.jsx)("div", {
@@ -46234,34 +46234,34 @@ function V_e({ status: e, children: t }) {
}) : null, t]
});
}
-function ZH({ role: e, children: t }) {
+function XH({ role: e, children: t }) {
return /* @__PURE__ */ (0, I.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function QH({ children: e }) {
+function ZH({ children: e }) {
return /* @__PURE__ */ (0, I.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function $H({ children: e }) {
+function QH({ children: e }) {
return /* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e
});
}
-function H_e({ href: e, children: t, leadingIcon: n }) {
- return /* @__PURE__ */ (0, I.jsx)(OH, {
+function U_e({ href: e, children: t, leadingIcon: n }) {
+ return /* @__PURE__ */ (0, I.jsx)(DH, {
href: e,
target: "_blank",
rel: "noopener noreferrer",
size: "small",
leadingIcon: n,
- trailingIcon: UB,
+ trailingIcon: HB,
className: "min-w-0 max-w-full",
children: /* @__PURE__ */ (0, I.jsx)("span", {
className: "min-w-0 whitespace-normal break-all",
@@ -46269,22 +46269,22 @@ function H_e({ href: e, children: t, leadingIcon: n }) {
})
});
}
-function U_e() {
- return /* @__PURE__ */ (0, I.jsx)(OH, {
+function W_e() {
+ return /* @__PURE__ */ (0, I.jsx)(DH, {
href: "/tasks",
size: "small",
- trailingIcon: PB,
+ trailingIcon: NB,
className: "self-start",
children: "在任务中心查看进度"
});
}
-function W_e({ children: e }) {
+function G_e({ children: e }) {
return /* @__PURE__ */ (0, I.jsx)("dl", {
className: "ui-settings-facts flex flex-col empty:hidden",
children: e
});
}
-function G_e({ term: e, children: t }) {
+function K_e({ term: e, children: t }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0",
children: [/* @__PURE__ */ (0, I.jsx)("dt", {
@@ -46296,7 +46296,7 @@ function G_e({ term: e, children: t }) {
})]
});
}
-function eU({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {
+function $H({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {
let s = (0, F.useId)(), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(!1), [d, f] = (0, F.useState)(n ?? t);
return (0, F.useLayoutEffect)(() => {
n !== void 0 && n !== d && c.current && l.current && (zo(c.current, l.current, n), f(n));
@@ -46312,12 +46312,12 @@ function eU({ 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)(FB, {
+ i ? null : /* @__PURE__ */ (0, I.jsx)(PB, {
"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)(FB, {
+ i ? /* @__PURE__ */ (0, I.jsx)(PB, {
"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
@@ -46333,7 +46333,7 @@ function eU({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:
})]
});
}
-function K_e({ name: e }) {
+function q_e({ name: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
"aria-hidden": !0,
"data-source-mark": e,
@@ -46343,34 +46343,34 @@ function K_e({ name: e }) {
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
}
-function tU({ mark: e }) {
+function eU({ mark: e }) {
return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, I.jsx)("img", {
src: e,
alt: "",
width: 16,
height: 16,
className: "size-(--icon-inline) shrink-0"
- }) : /* @__PURE__ */ (0, I.jsx)(K_e, { name: e });
+ }) : /* @__PURE__ */ (0, I.jsx)(q_e, { name: e });
}
// src/react/components/source-label.tsx
-var nU = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, q_e = Object.fromEntries(Object.entries(gs).map(([e, t]) => [e, function({ className: e }) {
+var tU = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, J_e = Object.fromEntries(Object.entries(gs).map(([e, t]) => [e, function({ className: e }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
className: e,
- children: /* @__PURE__ */ (0, I.jsx)(tU, { mark: t })
+ children: /* @__PURE__ */ (0, I.jsx)(eU, { mark: t })
});
}]));
-function J_e({ className: e }) {
+function Y_e({ className: e }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
className: e,
- children: /* @__PURE__ */ (0, I.jsx)(tU, { mark: "database" })
+ children: /* @__PURE__ */ (0, I.jsx)(eU, { mark: "database" })
});
}
-var rU = (e) => q_e[nU(e)] ?? J_e;
-function Y_e({ site: e, label: t }) {
+var nU = (e) => J_e[tU(e)] ?? Y_e;
+function X_e({ site: e, label: t }) {
let [n, r] = (0, F.useState)(!1), i = e === "javdb" ? "/site-mark?source=javdb" : e === "missav" ? "/site-mark?domain=missav.com" : null;
return /* @__PURE__ */ (0, I.jsxs)("span", {
className: "inline-flex min-w-0 items-center gap-1.5",
- children: [n || !i ? /* @__PURE__ */ (0, I.jsx)(tU, { mark: "globe" }) : /* @__PURE__ */ (0, I.jsx)("img", {
+ children: [n || !i ? /* @__PURE__ */ (0, I.jsx)(eU, { mark: "globe" }) : /* @__PURE__ */ (0, I.jsx)("img", {
src: i,
alt: "",
className: "size-(--icon-inline) shrink-0 object-contain",
@@ -46378,24 +46378,24 @@ function Y_e({ site: e, label: t }) {
}), /* @__PURE__ */ (0, I.jsx)("span", { children: t })]
});
}
-function iU({ source: e, label: t }) {
- let n = nU(e);
+function rU({ source: e, label: t }) {
+ let n = tU(e);
return /* @__PURE__ */ (0, I.jsxs)("span", {
className: "inline-flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, I.jsx)(tU, { mark: gs[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(eU, { mark: gs[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, I.jsx)("span", {
className: "min-w-0 truncate",
children: t
})]
});
}
// src/react/library-processing/processing-traffic.tsx
-var aU = (e) => Yn(e).replace(/\s/g, ""), oU = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : aU(e), X_e = (e, t) => {
- if (e === t) return aU(t);
+var iU = (e) => Yn(e).replace(/\s/g, ""), aU = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : iU(e), Z_e = (e, t) => {
+ if (e === t) return iU(t);
let [n, r] = Yn(e).split(" "), [i, a] = Yn(t).split(" ");
- return r === a ? `${n}-${i}${a}` : `${aU(e)}-${aU(t)}`;
-}, sU = (e, t, n) => e === void 0 ? X_e(t, n) : `${e > 0 ? "约 " : ""}${aU(e)}`;
-function cU({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDetailsChange: i }) {
- let a = eH(), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = r ?? o;
+ return r === a ? `${n}-${i}${a}` : `${iU(e)}-${iU(t)}`;
+}, oU = (e, t, n) => e === void 0 ? Z_e(t, n) : `${e > 0 ? "约 " : ""}${iU(e)}`;
+function sU({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDetailsChange: i }) {
+ let a = $V(), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = r ?? o;
if (!e) return null;
let u = (e) => e.toLocaleString("zh-CN"), d = !!e.workload || !(!e.inventory || e.inventory.complete) || !!(e.unknown_files && e.inventory?.complete !== !1) || !!e.inventory?.errors;
return /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -46432,7 +46432,7 @@ function cU({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe
children: "部分目录无法读取,数量和预估不完整"
}) : null
]
- }), /* @__PURE__ */ (0, I.jsx)(qH, {
+ }), /* @__PURE__ */ (0, I.jsx)(KH, {
open: !n,
"data-processing-estimate": "",
children: /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -46446,25 +46446,25 @@ function cU({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe
children: [
/* @__PURE__ */ (0, I.jsxs)("p", {
className: "inline-flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, I.jsx)(YB, {
+ children: [/* @__PURE__ */ (0, I.jsx)(JB, {
"aria-hidden": !0,
className: "size-(--icon-inline) shrink-0"
}), e.inventory && !e.inventory.complete ? "已识别流量" : "预计流量"]
}),
/* @__PURE__ */ (0, I.jsx)("p", {
className: "text-title-3-semibold text-text-primary",
- children: sU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)
+ children: oU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)
}),
/* @__PURE__ */ (0, I.jsxs)("p", { children: [
e.unknown_route_estimated_bytes ? "已确认代理" : "代理",
" ",
- sU(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)
+ oU(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)
] }),
t ? null : /* @__PURE__ */ (0, I.jsxs)("p", { children: [
"已用 ",
- /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.partial ? "约 " : "", aU(e.used_bytes)] }),
+ /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.partial ? "约 " : "", iU(e.used_bytes)] }),
" · 代理 ",
- aU(e.metered_used_bytes)
+ iU(e.metered_used_bytes)
] })
]
}), e.disk ? /* @__PURE__ */ (0, I.jsxs)("section", {
@@ -46473,25 +46473,25 @@ function cU({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe
children: [
/* @__PURE__ */ (0, I.jsxs)("p", {
className: "inline-flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, I.jsx)(mV, {
+ children: [/* @__PURE__ */ (0, I.jsx)(pV, {
"aria-hidden": !0,
className: "size-(--icon-inline) shrink-0"
}), e.inventory && !e.inventory.complete ? "已识别占用" : "预计占用"]
}),
/* @__PURE__ */ (0, I.jsxs)("p", {
className: "text-title-3-semibold text-text-primary",
- children: ["约 ", aU(e.disk.estimated_bytes)]
+ children: ["约 ", iU(e.disk.estimated_bytes)]
}),
- e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, I.jsxs)("p", { children: ["抽帧临时文件约 ", oU(e.disk.temporary_bytes)] }) : null,
+ e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, I.jsxs)("p", { children: ["抽帧临时文件约 ", aU(e.disk.temporary_bytes)] }) : null,
e.disk.volumes.map((e) => /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, I.jsxs)("p", { children: [
e.path,
" 剩余 ",
- e.free_bytes == null ? "未取得" : aU(e.free_bytes)
+ e.free_bytes == null ? "未取得" : iU(e.free_bytes)
] }), e.can_fit === !1 ? /* @__PURE__ */ (0, I.jsxs)("p", {
role: "status",
- children: ["空间不足,还差 ", aU(e.shortfall_bytes || 0)]
+ children: ["空间不足,还差 ", iU(e.shortfall_bytes || 0)]
}) : null]
}, e.path)),
e.disk.cache_unknown ? /* @__PURE__ */ (0, I.jsx)("p", {
@@ -46507,7 +46507,7 @@ function cU({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe
className: "self-start",
"aria-expanded": l,
"aria-controls": c,
- trailingIcon: l ? jhe : NB,
+ trailingIcon: l ? Mhe : MB,
onClick: () => {
s(!l), i?.(!l);
},
@@ -46526,12 +46526,12 @@ function cU({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 items-start justify-between gap-2",
- children: [e.root ? /* @__PURE__ */ (0, I.jsx)(iU, {
+ children: [e.root ? /* @__PURE__ */ (0, I.jsx)(rU, {
source: e.location,
label: e.label
}) : /* @__PURE__ */ (0, I.jsxs)("span", {
className: "inline-flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, I.jsx)(tU, { mark: "globe" }), e.label]
+ children: [/* @__PURE__ */ (0, I.jsx)(eU, { mark: "globe" }), e.label]
}), /* @__PURE__ */ (0, I.jsx)("span", {
className: "shrink-0",
children: e.connection === "system" ? "跟随系统" : e.connection === "unknown" ? "连接待确认" : e.metered ? "代理" : "直连"
@@ -46553,7 +46553,7 @@ function cU({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe
"待补资料 ",
u(e.workload.pending_jav_titles),
" 部 · 平均约 ",
- oU(e.workload.metadata_average_bytes || 0),
+ aU(e.workload.metadata_average_bytes || 0),
"/部"
]
}) : null,
@@ -46563,8 +46563,8 @@ function cU({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe
"已用",
e.unobserved.length ? "约" : "",
" ",
- aU(e.used_bytes)
- ] }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["预计 ", sU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]
+ iU(e.used_bytes)
+ ] }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["预计 ", oU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]
})
]
}, e.key))
@@ -46577,15 +46577,15 @@ function cU({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe
});
}
// src/react/library-processing/library-processing-notice.tsx
-var lU = "peach.library-processing.collapsed";
-function uU(e) {
+var cU = "peach.library-processing.collapsed";
+function lU(e) {
try {
- return !e || sessionStorage.getItem(lU) !== e;
+ return !e || sessionStorage.getItem(cU) !== e;
} catch {
return !0;
}
}
-function Z_e({ value: e, max: t }) {
+function Q_e({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, I.jsxs)("svg", {
role: "progressbar",
@@ -46615,17 +46615,17 @@ function Z_e({ value: e, max: t }) {
})]
});
}
-function dU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
- let [i, a] = (0, F.useState)(() => uU(e?.job_id)), [o, s] = (0, F.useState)(!1), c = (0, F.useRef)(!1), l = (0, F.useRef)(0), u = i && !o, d = (0, F.useRef)(u);
+function uU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
+ let [i, a] = (0, F.useState)(() => lU(e?.job_id)), [o, s] = (0, F.useState)(!1), c = (0, F.useRef)(!1), l = (0, F.useRef)(0), u = i && !o, d = (0, F.useRef)(u);
d.current = u;
- let f = (0, F.useId)(), [p, m] = (0, F.useState)(!1), h = (0, F.useRef)(null), g = !t && gH(e), _ = e?.status === "failed" && !g, v = hH(e);
+ let f = (0, F.useId)(), [p, m] = (0, F.useState)(!1), h = (0, F.useRef)(null), g = !t && hH(e), _ = e?.status === "failed" && !g, v = mH(e);
(0, F.useEffect)(() => {
- a(uU(e?.job_id)), m(!1);
+ a(lU(e?.job_id)), m(!1);
}, [e?.job_id]);
let y = () => {
if (!(o && (c.current = !0, s(!1), i))) {
try {
- i && e?.job_id ? sessionStorage.setItem(lU, e.job_id) : sessionStorage.removeItem(lU);
+ i && e?.job_id ? sessionStorage.setItem(cU, e.job_id) : sessionStorage.removeItem(cU);
} catch {}
i && m(!1), a(!i);
}
@@ -46655,7 +46655,7 @@ function dU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
r = !0, o.disconnect(), u.disconnect(), window.removeEventListener("resize", a), t.style.removeProperty("--processing-toast-space");
};
}, [n]), e?.archived && !t || !t && !v && !_ && !g) return null;
- let b = t ? null : pH(e), x = !!t || !!e?.stalled || g || !!b, S = g ? "处理已结束,部分项目需处理" : _ ? "扫描与采集已中断" : e?.status === "paused" ? "扫描与采集已暂停" : "扫描与采集";
+ let b = t ? null : fH(e), x = !!t || !!e?.stalled || g || !!b, S = g ? "处理已结束,部分项目需处理" : _ ? "扫描与采集已中断" : e?.status === "paused" ? "扫描与采集已暂停" : "扫描与采集";
return /* @__PURE__ */ (0, I.jsxs)("aside", {
ref: h,
"data-processing-dock": "",
@@ -46669,13 +46669,13 @@ function dU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
children: [
- v && e?.total ? /* @__PURE__ */ (0, I.jsx)(Z_e, {
+ v && e?.total ? /* @__PURE__ */ (0, I.jsx)(Q_e, {
value: e.checked || 0,
max: e.total
- }) : _ || x ? /* @__PURE__ */ (0, I.jsx)(Hhe, {
+ }) : _ || x ? /* @__PURE__ */ (0, I.jsx)(Uhe, {
"aria-hidden": !0,
className: "size-5 shrink-0"
- }) : /* @__PURE__ */ (0, I.jsx)(ege, {
+ }) : /* @__PURE__ */ (0, I.jsx)(tge, {
"aria-hidden": !0,
className: "size-5 shrink-0"
}),
@@ -46687,14 +46687,14 @@ function dU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
}), v ? /* @__PURE__ */ (0, I.jsx)("p", {
"data-processing-eta": "",
className: "text-caption-1-regular text-text-secondary tabular-nums wrap-anywhere",
- children: yH(e)
+ children: vH(e)
}) : null]
}),
/* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
variant: "secondary",
iconOnly: !0,
- leadingIcon: JH,
+ leadingIcon: qH,
"data-processing-toggle": "",
"data-collapse-upward": "",
"aria-label": u ? "收起任务详情" : "展开任务详情",
@@ -46706,24 +46706,24 @@ function dU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
size: "small",
variant: "secondary",
iconOnly: !0,
- leadingIcon: zB,
+ leadingIcon: RB,
"aria-label": "隐藏任务提示",
onClick: r
}) : null
]
}),
- /* @__PURE__ */ (0, I.jsx)(cU, {
+ /* @__PURE__ */ (0, I.jsx)(sU, {
traffic: e?.traffic,
compact: !u,
detailsOpen: p,
onDetailsChange: m
}),
- b ? /* @__PURE__ */ (0, I.jsx)(x_e, {
+ b ? /* @__PURE__ */ (0, I.jsx)(S_e, {
state: e,
slow: b
}) : null
]
- }), /* @__PURE__ */ (0, I.jsx)(qH, {
+ }), /* @__PURE__ */ (0, I.jsx)(KH, {
id: f,
open: u,
"data-processing-body": "",
@@ -46740,14 +46740,14 @@ function dU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
"aria-current": e.status === "current" ? "step" : void 0,
className: q("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),
children: [
- e.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(Ihe, {
+ e.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(Lhe, {
"aria-hidden": !0,
className: "size-(--icon-inline) shrink-0"
- }) : /* @__PURE__ */ (0, I.jsx)(Lhe, {
+ }) : /* @__PURE__ */ (0, I.jsx)(Rhe, {
"aria-hidden": !0,
className: q("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")
}),
- /* @__PURE__ */ (0, I.jsx)(hE, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),
+ /* @__PURE__ */ (0, I.jsx)(_E, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),
e.status === "complete" ? /* @__PURE__ */ (0, I.jsx)("s", {
className: "wrap-anywhere",
children: e.label
@@ -46760,11 +46760,11 @@ function dU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
}) : null,
/* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular wrap-anywhere",
- children: t || (_ || g ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, I.jsx)(P_e, { state: e }))
+ children: t || (_ || g ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, I.jsx)(F_e, { state: e }))
}),
g ? /* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular wrap-anywhere",
- children: _H
+ children: gH
}) : null,
v && e?.stage && !e.steps?.length ? /* @__PURE__ */ (0, I.jsxs)("p", {
className: "text-caption-1-regular text-text-tertiary",
@@ -46778,20 +46778,20 @@ function dU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
}), /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-2 pt-3",
children: [
- /* @__PURE__ */ (0, I.jsx)(OH, {
+ /* @__PURE__ */ (0, I.jsx)(DH, {
href: "/data-cleanup#libraryProcessing",
variant: "secondary",
size: "small",
- trailingIcon: PB,
+ trailingIcon: NB,
children: t || _ || g ? "打开扫描与采集" : "任务详情"
}),
- g ? /* @__PURE__ */ (0, I.jsx)(OH, {
- href: vH,
+ g ? /* @__PURE__ */ (0, I.jsx)(DH, {
+ href: _H,
size: "small",
- trailingIcon: PB,
+ trailingIcon: NB,
children: "查看全部内容"
}) : null,
- v ? /* @__PURE__ */ (0, I.jsx)(zH, {
+ v ? /* @__PURE__ */ (0, I.jsx)(RH, {
state: e,
disabled: !!t
}) : null
@@ -46801,67 +46801,67 @@ function dU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
})]
});
}
-function Q_e(e) {
- let { job: t } = BH(e);
- return /* @__PURE__ */ (0, I.jsx)(dU, {
+function $_e(e) {
+ let { job: t } = zH(e);
+ return /* @__PURE__ */ (0, I.jsx)(uU, {
state: t.data,
- problem: t.isError ? t.data ? SH : cr(t.error) : ""
+ problem: t.isError ? t.data ? xH : cr(t.error) : ""
});
}
// src/react/library-processing/processing-notice-visibility.ts
-var fU = "peach.library-processing.visibility", pU = /* @__PURE__ */ new Set(), mU = "";
-function $_e() {
+var dU = "peach.library-processing.visibility", fU = /* @__PURE__ */ new Set(), pU = "";
+function eve() {
try {
- return sessionStorage.getItem(fU) || "";
+ return sessionStorage.getItem(dU) || "";
} catch {
- return mU;
+ return pU;
}
}
-function eve(e) {
- return pU.add(e), () => {
- pU.delete(e);
+function tve(e) {
+ return fU.add(e), () => {
+ fU.delete(e);
};
}
-function hU(e, t) {
- mU = `${t ? "shown" : "hidden"}:${e}`;
+function mU(e, t) {
+ pU = `${t ? "shown" : "hidden"}:${e}`;
try {
- sessionStorage.setItem(fU, mU);
+ sessionStorage.setItem(dU, pU);
} catch {}
- pU.forEach((e) => e());
+ fU.forEach((e) => e());
}
-function gU(e) {
- let t = (0, F.useSyncExternalStore)(eve, $_e, () => "");
+function hU(e) {
+ let t = (0, F.useSyncExternalStore)(tve, eve, () => "");
return {
hidden: t === `hidden:${e}`,
requested: t === `shown:${e}`
};
}
// src/react/library-processing/library-processing-dock.tsx
-var _U = "peach-library-processing";
-function tve({ toast: e }) {
- let { job: t, settled: n } = BH({
+var gU = "peach-library-processing";
+function nve({ toast: e }) {
+ let { job: t, settled: n } = zH({
toast: e,
mode: "notice"
- }), r = (0, F.useRef)(!1), i = t.data, a = i?.job_id || "unavailable", { hidden: o, requested: s } = gU(a), c = t.isError ? i ? SH : cr(t.error) : "";
+ }), r = (0, F.useRef)(!1), i = t.data, a = i?.job_id || "unavailable", { hidden: o, requested: s } = hU(a), c = t.isError ? i ? xH : cr(t.error) : "";
return (0, F.useEffect)(() => {
- let e = hH(i), t = i?.status === "failed" && (n?.job_id === i.job_id || EH(i));
- o || i?.archived && !c || !e && !c && !t && !(s && i?.status === "failed") ? (r.current && aH.dismiss(_U), r.current = !1) : (aH.custom(() => /* @__PURE__ */ (0, I.jsx)("div", {
+ let e = mH(i), t = i?.status === "failed" && (n?.job_id === i.job_id || TH(i));
+ o || i?.archived && !c || !e && !c && !t && !(s && i?.status === "failed") ? (r.current && iH.dismiss(gU), r.current = !1) : (iH.custom(() => /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, I.jsx)(dU, {
+ children: /* @__PURE__ */ (0, I.jsx)(uU, {
state: i,
problem: c,
measure: !0,
- onHide: () => hU(a, !1)
+ onHide: () => mU(a, !1)
})
}), {
- id: _U,
+ id: gU,
toasterId: "processing",
duration: Infinity,
dismissible: !1,
closeButton: !1,
className: "processing-task-toast",
onDismiss: () => {
- hU(a, !1), r.current = !1;
+ mU(a, !1), r.current = !1;
}
}), r.current = !0);
}, [
@@ -46872,19 +46872,19 @@ function tve({ toast: e }) {
o,
s
]), (0, F.useEffect)(() => () => {
- r.current && aH.dismiss(_U), r.current = !1;
+ r.current && iH.dismiss(gU), r.current = !1;
}, []), null;
}
// src/react/network-banner.tsx
-var nve = ["network-status"], rve = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";
-function ive(e) {
+var rve = ["network-status"], ive = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";
+function ave(e) {
return e?.state === "online" ? 12e4 : 3e4;
}
-function ave() {
+function ove() {
let e = Pt({
- queryKey: nve,
+ queryKey: rve,
queryFn: ({ signal: e }) => B("/api/network-status", e),
- refetchInterval: (e) => ive(e.state.data),
+ refetchInterval: (e) => ave(e.state.data),
retry: !1
}), t = document.querySelector("[data-network-banner]");
return e.data?.state !== "offline" || !t ? null : (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsxs)("aside", {
@@ -46895,38 +46895,38 @@ function ave() {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-alert" })
- }), /* @__PURE__ */ (0, I.jsx)("p", { children: rve })] }), /* @__PURE__ */ (0, I.jsx)("a", {
+ }), /* @__PURE__ */ (0, I.jsx)("p", { children: ive })] }), /* @__PURE__ */ (0, I.jsx)("a", {
href: "/settings/network#peachProxy",
children: "检查 Peach 代理"
})]
}), t);
}
// src/react/components/segmented.tsx
-function ove(e) {
- let t = TL(jH("selection"));
- return /* @__PURE__ */ (0, I.jsx)(OB, {
+function sve(e) {
+ let t = wL(AH("selection"));
+ return /* @__PURE__ */ (0, I.jsx)(DB, {
...e,
ref: t
});
}
-function vU(e) {
- let t = TL(jH("selection"));
- return /* @__PURE__ */ (0, I.jsx)(qz, {
+function _U(e) {
+ let t = wL(AH("selection"));
+ return /* @__PURE__ */ (0, I.jsx)(Kz, {
...e,
ref: t
});
}
-var yU = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", bU = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", sve = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", xU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", SU = "relative flex size-8 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)", CU = [
+var vU = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", yU = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", cve = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", bU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", xU = "relative flex size-8 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)", SU = [
["library", "馆藏"],
["releases", "新作"],
["discover", "发现"],
["wants", "想要"]
-], wU = (e) => CU.some(([t]) => t === e) ? e : "library", TU = (e) => wU(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
-function cve(e) {
+], CU = (e) => SU.some(([t]) => t === e) ? e : "library", wU = (e) => CU(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
+function lve(e) {
let t = new URLSearchParams(e);
return t.delete("tab"), t.set("jav", "1"), "/?" + t;
}
-function lve(e) {
+function uve(e) {
let t = new URLSearchParams(location.search);
for (let [n, r] of Object.entries(e)) r ? t.set(n, r) : t.delete(n);
Ep(location.pathname + (t.size ? `?${t}` : ""), {
@@ -46935,24 +46935,24 @@ function lve(e) {
});
}
// src/onboarding/guide-catalog.ts
-var EU = (e, t, n, r, i, a) => ({
+var TU = (e, t, n, r, i, a) => ({
id: e,
title: t,
body: n,
route: r,
target: i,
scope: a
-}), DU = (e, t, n, r, i) => EU(e, t, n, r, i), OU = [
+}), EU = (e, t, n, r, i) => TU(e, t, n, r, i), DU = [
{
id: "basics",
kind: "interface",
title: "认识界面",
summary: "4 步认识搜索、导航、作品详情和设置。",
steps: [
- DU("search", "搜索馆藏", "输入作品名、番号、艺人、厂牌或标签。搜索结果来自已经入库的内容。", "/", "#q, #searchBtn"),
- DU("navigation", "切换浏览入口", "在侧栏按人物、厂牌和标签浏览。手机上用导航按钮展开侧栏;入口与顺序可以在设置里调整。", "/", "#filterBtn, [data-sidebar-nav]"),
- DU("cards", "打开作品详情", "选择作品查看资料、版本和播放入口。首次扫描尚未入库时,可以先继续认识导航。", "/", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),
- DU("preferences", "调整自己的界面", "侧栏底部的设置包含显示与播放偏好;手机上先展开侧栏。媒体目录、网络和后台服务放在其中的 Peach 配置入口。", "/", "#settingsBtn, #filterBtn")
+ EU("search", "搜索馆藏", "输入作品名、番号、艺人、厂牌或标签。搜索结果来自已经入库的内容。", "/", "#q, #searchBtn"),
+ EU("navigation", "切换浏览入口", "在侧栏按人物、厂牌和标签浏览。手机上用导航按钮展开侧栏;入口与顺序可以在设置里调整。", "/", "#filterBtn, [data-sidebar-nav]"),
+ EU("cards", "打开作品详情", "选择作品查看资料、版本和播放入口。首次扫描尚未入库时,可以先继续认识导航。", "/", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),
+ EU("preferences", "调整自己的界面", "侧栏底部的设置包含显示与播放偏好;手机上先展开侧栏。媒体目录、网络和后台服务放在其中的 Peach 配置入口。", "/", "#settingsBtn, #filterBtn")
]
},
{
@@ -46961,23 +46961,23 @@ var EU = (e, t, n, r, i, a) => ({
title: "找到并播放",
summary: "搜索、筛选、详情、版本、字幕和播放器。",
steps: [
- DU("library", "选择媒体库", "导航顶部可以切换全部媒体库或某个媒体库;手机上先展开侧栏。媒体库把不同目录组织成一组。", "/", "#brandHome, #filterBtn"),
- DU("search", "按关键词找内容", "输入作品、番号或人物名称,结合筛选与排序定位内容。搜索记录数量可在搜索与推荐中设置。", "/", "#q, #searchBtn"),
- DU("filter", "筛选与清除", "多个筛选条件会共同缩小结果。找不到内容时先检查媒体库和筛选条件。", "/", "[data-catalog-frame]"),
+ EU("library", "选择媒体库", "导航顶部可以切换全部媒体库或某个媒体库;手机上先展开侧栏。媒体库把不同目录组织成一组。", "/", "#brandHome, #filterBtn"),
+ EU("search", "按关键词找内容", "输入作品、番号或人物名称,结合筛选与排序定位内容。搜索记录数量可在搜索与推荐中设置。", "/", "#q, #searchBtn"),
+ EU("filter", "筛选与清除", "多个筛选条件会共同缩小结果。找不到内容时先检查媒体库和筛选条件。", "/", "[data-catalog-frame]"),
{
- ...EU("detail", "作品详情", "这里显示当前作品的标题和源文件工具。评分、人物和标签在下方;有分卷或版本的作品可从馆藏卡片进入相应队列。", "/", "[data-item-title]"),
+ ...TU("detail", "作品详情", "这里显示当前作品的标题和源文件工具。评分、人物和标签在下方;有分卷或版本的作品可从馆藏卡片进入相应队列。", "/", "[data-item-title]"),
surface: "detail"
},
{
- ...EU("player", "播放器控件", "底部控制条提供播放、进度、音量和全屏。右侧齿轮打开播放速度、字幕、画面旋转和清晰度等选项。", "/", "#stage .vjs-control-bar"),
+ ...TU("player", "播放器控件", "底部控制条提供播放、进度、音量和全屏。右侧齿轮打开播放速度、字幕、画面旋转和清晰度等选项。", "/", "#stage .vjs-control-bar"),
surface: "player"
},
{
- ...EU("subtitles", "字幕与播放选项", "从播放器齿轮菜单进入字幕,可以选择已有字幕、加载本地字幕文件或搜索字幕;播放速度和清晰度也在这个菜单中。", "/", "#stage [data-player-subtitles]"),
+ ...TU("subtitles", "字幕与播放选项", "从播放器齿轮菜单进入字幕,可以选择已有字幕、加载本地字幕文件或搜索字幕;播放速度和清晰度也在这个菜单中。", "/", "#stage [data-player-subtitles]"),
surface: "subtitles"
},
{
- ...EU("external", "外部播放器", "在这里选择本地播放器、M3U 播放列表或网络播放地址,再点打开。另一台设备需要能访问当前 Peach 地址。", "/", "#stage [data-local-playback-row]"),
+ ...TU("external", "外部播放器", "在这里选择本地播放器、M3U 播放列表或网络播放地址,再点打开。另一台设备需要能访问当前 Peach 地址。", "/", "#stage [data-local-playback-row]"),
surface: "detail"
}
]
@@ -46989,15 +46989,15 @@ var EU = (e, t, n, r, i, a) => ({
summary: "评分、标记、播放列表与当前播放队列。",
steps: [
{
- ...DU("marks", "评分", "点击星星给作品评分;下方的喜欢、稍后看和加入播放列表用于保存感兴趣的内容。", "/", "#stage [data-item-rating]"),
+ ...EU("marks", "评分", "点击星星给作品评分;下方的喜欢、稍后看和加入播放列表用于保存感兴趣的内容。", "/", "#stage [data-item-rating]"),
surface: "detail"
},
{
- ...DU("mark-actions", "标记与加入列表", "喜欢影响口味推荐,稍后看便于回找;加入播放列表可把作品整理到自己的列表。", "/", "#stage [data-item-feedback]"),
+ ...EU("mark-actions", "标记与加入列表", "喜欢影响口味推荐,稍后看便于回找;加入播放列表可把作品整理到自己的列表。", "/", "#stage [data-item-feedback]"),
surface: "detail"
},
- DU("lists", "建立播放列表", "在这里输入名称,创建自己的播放列表。之后从作品详情的加入播放列表按钮添加内容。", "/playlists", "[data-playlist-create]"),
- DU("queue", "从列表开始播放", "选择一张播放列表卡片进入队列,查看和调整播放顺序。没有列表时先创建,再加入作品。", "/playlists", "[data-playlist-card]")
+ EU("lists", "建立播放列表", "在这里输入名称,创建自己的播放列表。之后从作品详情的加入播放列表按钮添加内容。", "/playlists", "[data-playlist-create]"),
+ EU("queue", "从列表开始播放", "选择一张播放列表卡片进入队列,查看和调整播放顺序。没有列表时先创建,再加入作品。", "/playlists", "[data-playlist-card]")
]
},
{
@@ -47006,10 +47006,10 @@ var EU = (e, t, n, r, i, a) => ({
title: "按人物与主题浏览",
summary: "从人物、厂牌和标签继续发现相关馆藏。",
steps: [
- DU("people", "艺人与创作者", "选择人物卡片进入资料页,查看相关作品、照片与已连接的来源。上方可以切换艺人、卖家与在线人物。", "/performers", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),
- DU("studios", "厂牌", "选择厂牌卡片集中查看作品。资料页中的作品仍会受到当前媒体库范围影响。", "/studios", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),
- DU("tags", "标签与主题", "选择标签继续浏览相关馆藏;本地与在线使用不同的标签词表。", "/tags", "[data-index-body] [data-alpha-tag], [data-index-body] [data-tag-chip], [data-index-body] [data-empty-state]"),
- DU("manage-tags", "管理标签", "铅笔按钮打开标签管理,用于整理标签名称和关系;再次点击返回浏览。", "/tags", "[data-tag-mode]")
+ EU("people", "艺人与创作者", "选择人物卡片进入资料页,查看相关作品、照片与已连接的来源。上方可以切换艺人、卖家与在线人物。", "/performers", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),
+ EU("studios", "厂牌", "选择厂牌卡片集中查看作品。资料页中的作品仍会受到当前媒体库范围影响。", "/studios", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),
+ EU("tags", "标签与主题", "选择标签继续浏览相关馆藏;本地与在线使用不同的标签词表。", "/tags", "[data-index-body] [data-alpha-tag], [data-index-body] [data-tag-chip], [data-index-body] [data-empty-state]"),
+ EU("manage-tags", "管理标签", "铅笔按钮打开标签管理,用于整理标签名称和关系;再次点击返回浏览。", "/tags", "[data-tag-mode]")
]
},
{
@@ -47018,10 +47018,10 @@ var EU = (e, t, n, r, i, a) => ({
title: "JAV 与追新",
summary: "馆藏、新作、想要清单与高清版。",
steps: [
- DU("library", "JAV 馆藏", "按番号、出演者和厂牌查找已入库的作品,可以选择官方封面或预览图。", TU("library"), "[data-catalog-frame]"),
- DU("new", "发现推荐", "发现页按口味推荐作品。在这里切换馆藏或外部内容,并按标签筛选。", TU("discover"), "[data-jav-filter] [data-catalog-views]"),
- DU("wants", "查看想要清单", "喜欢的外部作品可以加入想要清单;在这里切换馆藏、发现与想要。", TU("discover"), "[aria-label=\"JAV 分区\"]"),
- DU("quality", "高清版", "待升级卡片列出当前版本信息和判定原因,可以查看版本或查找资源;没有目标时这里显示空状态。", "/quality-goals", "[data-goal-id], #main [data-empty-state]")
+ EU("library", "JAV 馆藏", "按番号、出演者和厂牌查找已入库的作品,可以选择官方封面或预览图。", wU("library"), "[data-catalog-frame]"),
+ EU("new", "发现推荐", "发现页按口味推荐作品。在这里切换馆藏或外部内容,并按标签筛选。", wU("discover"), "[data-jav-filter] [data-catalog-views]"),
+ EU("wants", "查看想要清单", "喜欢的外部作品可以加入想要清单;在这里切换馆藏、发现与想要。", wU("discover"), "[aria-label=\"JAV 分区\"]"),
+ EU("quality", "高清版", "待升级卡片列出当前版本信息和判定原因,可以查看版本或查找资源;没有目标时这里显示空状态。", "/quality-goals", "[data-goal-id], #main [data-empty-state]")
]
},
{
@@ -47030,9 +47030,9 @@ var EU = (e, t, n, r, i, a) => ({
title: "关注创作者",
summary: "多来源更新、同作品合并和来源状态。",
steps: [
- DU("feed", "集中看关注更新", "来自不同来源的创作者更新汇集在这里,选择一项更新查看内容;尚未关注来源时,按空状态中的入口添加。", "/follow", "[data-follow-item], [data-follow-empty] [data-empty-state]"),
- DU("sources", "管理关注来源", "从列表查看启用状态、采集结果和失败原因;切换到添加区域,添加创作者或订阅来源。", "/subscriptions", "[aria-label=\"关注管理区域\"]"),
- DU("credentials", "按需配置凭据", "部分来源需要登录凭据;先确认要启用的来源,再展开对应站点,填写其要求的信息。", "/settings/subscriptions", "[data-guide-target=\"credentials\"]")
+ EU("feed", "集中看关注更新", "来自不同来源的创作者更新汇集在这里,选择一项更新查看内容;尚未关注来源时,按空状态中的入口添加。", "/follow", "[data-follow-item], [data-follow-empty] [data-empty-state]"),
+ EU("sources", "管理关注来源", "从列表查看启用状态、采集结果和失败原因;切换到添加区域,添加创作者或订阅来源。", "/subscriptions", "[aria-label=\"关注管理区域\"]"),
+ EU("credentials", "按需配置凭据", "部分来源需要登录凭据;先确认要启用的来源,再展开对应站点,填写其要求的信息。", "/settings/subscriptions", "[data-guide-target=\"credentials\"]")
]
},
{
@@ -47041,9 +47041,9 @@ var EU = (e, t, n, r, i, a) => ({
title: "专注观看",
summary: "播放墙、沉浸模式与详情小窗。",
steps: [
- DU("wall", "播放墙", "播放墙提供多画面观看入口。结束导览后点击进入,再选择要播放的内容。", "/", "#wallBtn"),
- DU("immerse", "沉浸模式", "沉浸模式适合连续观看。点击入口会进入观看流程,请在准备好播放时使用。", "/", "#immerseBtn"),
- DU("mini", "离开详情后继续看", "开启小窗播放后,离开详情可以继续观看。自动播放、小窗和快进步长都在浏览与播放设置中。", "/settings/playback", "#miniplayerSetting")
+ EU("wall", "播放墙", "播放墙提供多画面观看入口。结束导览后点击进入,再选择要播放的内容。", "/", "#wallBtn"),
+ EU("immerse", "沉浸模式", "沉浸模式适合连续观看。点击入口会进入观看流程,请在准备好播放时使用。", "/", "#immerseBtn"),
+ EU("mini", "离开详情后继续看", "开启小窗播放后,离开详情可以继续观看。自动播放、小窗和快进步长都在浏览与播放设置中。", "/settings/playback", "#miniplayerSetting")
]
},
{
@@ -47052,11 +47052,11 @@ var EU = (e, t, n, r, i, a) => ({
title: "整理与维护",
summary: "扫描、补资料、复核、文件整理与回收站。",
steps: [
- DU("scan", "扫描与补资料", "在媒体库处理区域选择扫描和资料处理范围。读取策略取决于媒体库配置;导览不会启动任务。", "/data-cleanup", "#libraryProcessing"),
- DU("review", "人工复核", "先按分类找到待复核资料,再查看项目的来源和证据后作决定。", "/review", "[aria-labelledby=\"reviewcategories\"]"),
- DU("organize", "文件整理", "文件整理先查看预览,确认命名与目标目录再执行。资料整理和真实文件操作有不同的影响范围。", "/data-cleanup", "[data-cleanup-organize]"),
- DU("trash", "回收站", "查看已移入回收站的作品,按需要恢复或处理。永久删除前认真核对确认框中的范围。", "/trash", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),
- DU("tasks", "任务与失败原因", "任务记录显示处理状态;展开记录查看详情与失败原因。还没有任务时,这里会说明哪些操作会留下记录。", "/tasks", "[data-run-id], #main [data-empty-state]")
+ EU("scan", "扫描与补资料", "在媒体库处理区域选择扫描和资料处理范围。读取策略取决于媒体库配置;导览不会启动任务。", "/data-cleanup", "#libraryProcessing"),
+ EU("review", "人工复核", "先按分类找到待复核资料,再查看项目的来源和证据后作决定。", "/review", "[aria-labelledby=\"reviewcategories\"]"),
+ EU("organize", "文件整理", "文件整理先查看预览,确认命名与目标目录再执行。资料整理和真实文件操作有不同的影响范围。", "/data-cleanup", "[data-cleanup-organize]"),
+ EU("trash", "回收站", "查看已移入回收站的作品,按需要恢复或处理。永久删除前认真核对确认框中的范围。", "/trash", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),
+ EU("tasks", "任务与失败原因", "任务记录显示处理状态;展开记录查看详情与失败原因。还没有任务时,这里会说明哪些操作会留下记录。", "/tasks", "[data-run-id], #main [data-empty-state]")
]
},
{
@@ -47065,10 +47065,10 @@ var EU = (e, t, n, r, i, a) => ({
title: "了解自己的馆藏",
summary: "统计、口味,以及浏览历史和书签来源。",
steps: [
- DU("stats", "馆藏统计", "选择统计视图查看馆藏、存储和观看情况,各视图中的入口可继续查看相关作品。", "/stats", "[aria-label=\"统计视图\"]"),
- DU("taste", "口味与记录", "在这里切换浏览器记录与 Peach 观看评价,分析各自的口味。", "/taste", "[aria-label=\"口味分析的数据来源\"]"),
- DU("import", "取得浏览历史与书签", "读取浏览器记录需要在运行 Peach 的电脑操作;更多方式菜单可以导入历史或书签文件,适合其它设备。", "/taste", "[data-guide-target=\"history-import\"]"),
- DU("history", "管理记录来源", "已取得的记录来源集中列在这里,可以停用本机浏览器读取或移除已导入的数据源;导览不会修改这些记录。", "/taste", "section[aria-label=\"数据源\"]")
+ EU("stats", "馆藏统计", "选择统计视图查看馆藏、存储和观看情况,各视图中的入口可继续查看相关作品。", "/stats", "[aria-label=\"统计视图\"]"),
+ EU("taste", "口味与记录", "在这里切换浏览器记录与 Peach 观看评价,分析各自的口味。", "/taste", "[aria-label=\"口味分析的数据来源\"]"),
+ EU("import", "取得浏览历史与书签", "读取浏览器记录需要在运行 Peach 的电脑操作;更多方式菜单可以导入历史或书签文件,适合其它设备。", "/taste", "[data-guide-target=\"history-import\"]"),
+ EU("history", "管理记录来源", "已取得的记录来源集中列在这里,可以停用本机浏览器读取或移除已导入的数据源;导览不会修改这些记录。", "/taste", "section[aria-label=\"数据源\"]")
]
},
{
@@ -47077,9 +47077,9 @@ var EU = (e, t, n, r, i, a) => ({
title: "从外部加入内容",
summary: "云下载、目录映射与浏览器添加。",
steps: [
- DU("downloads", "配置下载渠道", "先连接支持的渠道,再指定云端目标目录与本地媒体目录。下载完成后按目录规则入库。", "/settings/downloads", "[data-guide-target=\"download\"]"),
- DU("search", "搜索资源", "资源搜索使用配置的索引器。查到结果后还需要你主动选择下载。", "/settings/subscriptions", "[data-guide-target=\"indexers\"]"),
- DU("browser", "浏览器添加 JAV", "用户脚本与 Peach 配对后可从浏览器添加作品。专用令牌、默认渠道和开关在下载渠道里管理。", "/settings/downloads", "[data-guide-target=\"browser\"]")
+ EU("downloads", "配置下载渠道", "先连接支持的渠道,再指定云端目标目录与本地媒体目录。下载完成后按目录规则入库。", "/settings/downloads", "[data-guide-target=\"download\"]"),
+ EU("search", "搜索资源", "资源搜索使用配置的索引器。查到结果后还需要你主动选择下载。", "/settings/subscriptions", "[data-guide-target=\"indexers\"]"),
+ EU("browser", "浏览器添加 JAV", "用户脚本与 Peach 配对后可从浏览器添加作品。专用令牌、默认渠道和开关在下载渠道里管理。", "/settings/downloads", "[data-guide-target=\"browser\"]")
]
},
{
@@ -47088,18 +47088,18 @@ var EU = (e, t, n, r, i, a) => ({
title: "手机与其他设备",
summary: "访问地址、密码、局域网和公网入口。",
steps: [
- DU("address", "找到访问地址", "同一局域网的设备使用 Peach 的局域网地址。仅本机访问时,其它设备无法连接。", "/settings/network", "[data-guide-target=\"port\"]"),
- DU("password", "访问密码", "能连接到 Peach 的设备按访问密码登录。显示偏好与访问权限是不同的设置。", "/settings/network", "[data-guide-target=\"access\"]"),
- DU("tunnel", "需要时启用公网入口", "Cloudflare 公网入口适合离开局域网后访问,需要按实际部署配置连接信息。", "/settings/network", "[data-guide-target=\"tunnel\"]")
+ EU("address", "找到访问地址", "同一局域网的设备使用 Peach 的局域网地址。仅本机访问时,其它设备无法连接。", "/settings/network", "[data-guide-target=\"port\"]"),
+ EU("password", "访问密码", "能连接到 Peach 的设备按访问密码登录。显示偏好与访问权限是不同的设置。", "/settings/network", "[data-guide-target=\"access\"]"),
+ EU("tunnel", "需要时启用公网入口", "Cloudflare 公网入口适合离开局域网后访问,需要按实际部署配置连接信息。", "/settings/network", "[data-guide-target=\"tunnel\"]")
]
}
-], uve = "当前浏览器 · 修改后自动保存", kU = "跟随馆藏 · 修改后自动保存", AU = "运行 Peach 的电脑 · 确认后保存配置", jU = (e, t, n = uve) => t.map(([t, r, i, a, o]) => EU(t, r, i, `/settings/${e}`, a || `[data-guide-target="${t}"]`, o || n)), MU = [
+], dve = "当前浏览器 · 修改后自动保存", OU = "跟随馆藏 · 修改后自动保存", kU = "运行 Peach 的电脑 · 确认后保存配置", AU = (e, t, n = dve) => t.map(([t, r, i, a, o]) => TU(t, r, i, `/settings/${e}`, a || `[data-guide-target="${t}"]`, o || n)), jU = [
{
id: "appearance",
kind: "settings",
title: Ef.appearance,
summary: "主题、光晕与导航入口。",
- steps: jU("appearance", [
+ steps: AU("appearance", [
[
"theme",
"主题",
@@ -47129,7 +47129,7 @@ var EU = (e, t, n, r, i, a) => ({
"导航入口与顺序",
"把常用入口放到侧栏,拖动调整顺序。",
"[data-sidebar-setting]",
- kU
+ OU
]
])
},
@@ -47138,7 +47138,7 @@ var EU = (e, t, n, r, i, a) => ({
kind: "settings",
title: Ef.playback,
summary: "列表呈现、悬停预览与播放行为。",
- steps: jU("playback", [
+ steps: AU("playback", [
[
"batch",
"每批作品",
@@ -47194,13 +47194,13 @@ var EU = (e, t, n, r, i, a) => ({
kind: "settings",
title: Ef.jav,
summary: "封面与新作筛选。",
- steps: jU("jav", [
+ steps: AU("jav", [
[
"names",
"女优名称",
"选择中文或日文名称;偏好跟随馆藏,其他设备读取同一份设置。",
"#performerNameLanguageSetting",
- kU
+ OU
],
[
"image",
@@ -47225,21 +47225,21 @@ var EU = (e, t, n, r, i, a) => ({
"隐藏大合集",
"过滤新作中的大合集,只影响新作展示,馆藏仍可查找。",
"#feedHideGroupSetting",
- kU
+ OU
],
[
"solo-compilations",
"隐藏单人合集",
"过滤新作中的单人合集,只影响新作展示,馆藏仍可查找。",
"#feedHideSoloSetting",
- kU
+ OU
],
[
"excerpts",
"隐藏切片",
"过滤新作中的切片,只影响新作展示,馆藏仍可查找。",
"#feedHideExcerptSetting",
- kU
+ OU
]
])
},
@@ -47248,12 +47248,12 @@ var EU = (e, t, n, r, i, a) => ({
kind: "settings",
title: Ef.search,
summary: "搜索记录、推荐数量与口味入口。",
- steps: [...jU("search", [[
+ steps: [...AU("search", [[
"history",
"搜索记录",
"设置保留的搜索记录上限,0 表示不记录。",
"#searchHistoryLimitSetting"
- ]], kU), ...jU("search", [[
+ ]], OU), ...AU("search", [[
"related",
"相关推荐数量",
"决定详情中显示多少项相关推荐。口味和记录来源在口味页面管理。",
@@ -47265,7 +47265,7 @@ var EU = (e, t, n, r, i, a) => ({
kind: "settings",
title: Ef.content,
summary: "SFW 模式与画面显示。",
- steps: jU("content", [[
+ steps: AU("content", [[
"sfw",
"SFW 模式",
"隐藏敏感画面并停止悬停预览,适合需要遮挡画面的环境。访问控制请另设访问密码。",
@@ -47277,7 +47277,7 @@ var EU = (e, t, n, r, i, a) => ({
kind: "settings",
title: Df.library,
summary: "媒体库、目录、读取与处理方式。",
- steps: jU("library", [
+ steps: AU("library", [
[
"media",
"媒体库名称与外观",
@@ -47328,14 +47328,14 @@ var EU = (e, t, n, r, i, a) => ({
"视频预览",
"生成视频预览会读取视频并产生缓存。时间轴预览的开关与采集间隔控制本机磁盘缩略图;抽帧解码方式决定生成预览使用的解码器。修改后自动保存,并受媒体库处理方式与读取策略约束。"
]
- ], AU)
+ ], kU)
},
{
id: "subscriptions",
kind: "settings",
title: Df.subscriptions,
summary: "资料来源、关注、索引器与站点入口。",
- steps: jU("subscriptions", [
+ steps: AU("subscriptions", [
[
"sources",
"采集来源与登录状态",
@@ -47362,14 +47362,14 @@ var EU = (e, t, n, r, i, a) => ({
"作品资料站点",
"配置资料站点和镜像入口,用于打开相关作品页面。地址和登录凭据分别管理。"
]
- ], AU)
+ ], kU)
},
{
id: "downloads",
kind: "settings",
title: Df.downloads,
summary: "云下载目录、账号与浏览器配对。",
- steps: jU("downloads", [
+ steps: AU("downloads", [
[
"download",
"云下载",
@@ -47385,14 +47385,14 @@ var EU = (e, t, n, r, i, a) => ({
"浏览器添加 JAV",
"安装用户脚本并配对 Peach。默认渠道决定提交到哪里;启用开关控制功能,专用令牌可更新或关闭,脚本检测帮助确认配对。"
]
- ], AU)
+ ], kU)
},
{
id: "network",
kind: "settings",
title: Df.network,
summary: "访问端口、代理、密码和公网入口。",
- steps: jU("network", [
+ steps: AU("network", [
[
"port",
"访问地址与端口",
@@ -47413,14 +47413,14 @@ var EU = (e, t, n, r, i, a) => ({
"Cloudflare 公网入口",
"临时链接用于临时连接,命名隧道使用主机名与隧道令牌。连接状态显示是否已可用,按需要启用。"
]
- ], AU)
+ ], kU)
},
{
id: "app-maintenance",
kind: "settings",
title: Df.maintenance,
summary: "更新、存储、数据选择与应用维护。",
- steps: jU("maintenance", [
+ steps: AU("maintenance", [
[
"updates",
"检查更新",
@@ -47461,14 +47461,14 @@ var EU = (e, t, n, r, i, a) => ({
"卸载 Peach",
"卸载移除程序;完全卸载还移除设置、资料库、记录、凭据和缓存。执行前核对页面列出的数据目录与确认内容。"
]
- ], AU)
+ ], kU)
},
{
id: "diagnostics",
kind: "settings",
title: Df.diagnostics,
summary: "遇到问题时查看检查项与诊断报告。",
- steps: jU("diagnostics", [
+ steps: AU("diagnostics", [
[
"attention",
"需要关注的检查项",
@@ -47493,7 +47493,7 @@ var EU = (e, t, n, r, i, a) => ({
]
], "只读检查 · 重新检查与下载由你主动执行")
}
-], dve = {
+], fve = {
glow: [
["配色预设", "一次应用一组配色和参数,适合先挑选整体外观。"],
["强度", "控制光晕的明亮程度;太抢眼时降低。"],
@@ -47600,8 +47600,8 @@ var EU = (e, t, n, r, i, a) => ({
["上传预览", "查看本次会包含的内容,再决定是否启用明细上传。"]
]
};
-for (let e of MU) for (let t of e.steps) t.details = dve[t.id], (t.id === "preview" || t.id === "transcode") && (t.scope = "运行 Peach 的电脑 · 修改后自动保存"), (t.id === "follow-options" || t.id === "sources" || t.id === "reporting" || t.id === "storage") && (t.scope = "按页面中各项的保存或确认动作生效");
-var NU = [...OU, ...MU], fve = [
+for (let e of jU) for (let t of e.steps) t.details = fve[t.id], (t.id === "preview" || t.id === "transcode") && (t.scope = "运行 Peach 的电脑 · 修改后自动保存"), (t.id === "follow-options" || t.id === "sources" || t.id === "reporting" || t.id === "storage") && (t.scope = "按页面中各项的保存或确认动作生效");
+var MU = [...DU, ...jU], pve = [
{
id: "browse",
kind: "interface",
@@ -47679,35 +47679,35 @@ var NU = [...OU, ...MU], fve = [
]
}
];
-function pve(e) {
- return e === "/" ? OU[0] : MU.find((t) => t.steps[0]?.route === e) || OU.find((t) => t.id !== "basics" && t.steps.some((t) => t.route === e)) || OU[0];
+function mve(e) {
+ return e === "/" ? DU[0] : jU.find((t) => t.steps[0]?.route === e) || DU.find((t) => t.id !== "basics" && t.steps.some((t) => t.route === e)) || DU[0];
}
// src/onboarding/guide-state.ts
-var mve = () => ({
+var hve = () => ({
version: 1,
campaign: "",
invited: !1,
completed: !1,
chapters: {}
});
-function PU(e, t) {
+function NU(e, t) {
let n = e.chapters[t.id]?.read || [];
return t.steps.every((e) => n.includes(e.id));
}
-function hve(e, t) {
+function gve(e, t) {
let n = e.chapters[t.id];
- return !n || PU(e, t) ? 0 : n.next < t.steps.length ? n.next : t.steps.findIndex((e) => !n.read.includes(e.id));
+ return !n || NU(e, t) ? 0 : n.next < t.steps.length ? n.next : t.steps.findIndex((e) => !n.read.includes(e.id));
}
-function gve() {
+function _ve() {
return B("/api/tutorial-progress");
}
-function _ve(e, t) {
+function vve(e, t) {
return V("/api/tutorial-progress", {
campaign: e,
...t
});
}
-function vve(e, t, n, r, i) {
+function yve(e, t, n, r, i) {
let a = e.chapters[t] || {
next: 0,
read: [],
@@ -47725,68 +47725,68 @@ function vve(e, t, n, r, i) {
}
};
}
-var FU = null, IU = /* @__PURE__ */ new Set();
-function LU(e = {}) {
- IU.size || (FU = e);
- for (let t of IU) t(e);
+var PU = null, FU = /* @__PURE__ */ new Set();
+function IU(e = {}) {
+ FU.size || (PU = e);
+ for (let t of FU) t(e);
}
-function yve(e) {
- if (IU.add(e), FU) {
- let t = FU;
- FU = null, queueMicrotask(() => {
- IU.has(e) && e(t);
+function bve(e) {
+ if (FU.add(e), PU) {
+ let t = PU;
+ PU = null, queueMicrotask(() => {
+ FU.has(e) && e(t);
});
}
return () => {
- IU.delete(e);
+ FU.delete(e);
};
}
// src/react/onboarding/guide-directory.tsx
-var bve = {
- browse: oV,
- collect: LB,
- watch: tV,
- manage: qB,
- experience: $B,
- discovery: aV,
- storage: VB,
- system: sV
-}, xve = {
- basics: BB,
- "find-play": oV,
- entities: dV,
- jav: GB,
- save: LB,
- follow: aV,
- insights: IB,
- viewing: tV,
- devices: cV,
- external: HB,
- maintenance: uV,
- appearance: $B,
- playback: tV,
- content: WB,
- "search-settings": oV,
- "jav-settings": GB,
- subscriptions: aV,
- library: VB,
- downloads: HB,
- network: cV,
- "app-maintenance": uV,
- diagnostics: age
+var xve = {
+ browse: aV,
+ collect: IB,
+ watch: eV,
+ manage: KB,
+ experience: QB,
+ discovery: iV,
+ storage: BB,
+ system: oV
+}, Sve = {
+ basics: zB,
+ "find-play": aV,
+ entities: uV,
+ jav: WB,
+ save: IB,
+ follow: iV,
+ insights: FB,
+ viewing: eV,
+ devices: sV,
+ external: VB,
+ maintenance: lV,
+ appearance: QB,
+ playback: eV,
+ content: UB,
+ "search-settings": aV,
+ "jav-settings": WB,
+ subscriptions: iV,
+ library: BB,
+ downloads: VB,
+ network: sV,
+ "app-maintenance": lV,
+ diagnostics: oge
};
-function Sve({ chapter: e, className: t = "size-5" }) {
- let n = xve[e] || BB;
+function Cve({ chapter: e, className: t = "size-5" }) {
+ let n = Sve[e] || zB;
return /* @__PURE__ */ (0, I.jsx)(n, {
"aria-hidden": !0,
className: q(t, "shrink-0")
});
}
-function RU({ icon: e, title: t, description: n, children: r, completed: i = !1 }) {
+function LU({ icon: e, title: t, description: n, children: r, completed: i = !1 }) {
return /* @__PURE__ */ (0, I.jsxs)("section", {
"data-guide-banner": "",
"data-guide-completed": i || void 0,
- className: VH({
+ className: BH({
radius: "plain",
className: "flex flex-col gap-4"
}),
@@ -47815,8 +47815,8 @@ function RU({ icon: e, title: t, description: n, children: r, completed: i = !1
})]
});
}
-function zU({ chapter: e, progress: t, loading: n, start: r }) {
- let i = PU(t, e), a = !i && !!t.chapters[e.id];
+function RU({ chapter: e, progress: t, loading: n, start: r }) {
+ let i = NU(t, e), a = !i && !!t.chapters[e.id];
return /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
disabled: n,
@@ -47826,7 +47826,7 @@ function zU({ chapter: e, progress: t, loading: n, start: r }) {
children: [
/* @__PURE__ */ (0, I.jsx)("span", {
className: "peach-guide-topic-icon",
- children: /* @__PURE__ */ (0, I.jsx)(Sve, { chapter: e.id })
+ children: /* @__PURE__ */ (0, I.jsx)(Cve, { chapter: e.id })
}),
/* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex min-w-0 flex-1 flex-col gap-1",
@@ -47838,7 +47838,7 @@ function zU({ chapter: e, progress: t, loading: n, start: r }) {
children: e.summary
})]
}),
- i ? /* @__PURE__ */ (0, I.jsx)(BU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {
+ i ? /* @__PURE__ */ (0, I.jsx)(zU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {
className: "shrink-0 text-caption-1-regular tabular-nums text-text-secondary",
children: [
a ? "继续 · " : "",
@@ -47846,17 +47846,17 @@ function zU({ chapter: e, progress: t, loading: n, start: r }) {
" 步"
]
}),
- /* @__PURE__ */ (0, I.jsx)(FB, {
+ /* @__PURE__ */ (0, I.jsx)(PB, {
"aria-hidden": !0,
className: "size-(--icon-inline) shrink-0 text-text-secondary"
})
]
});
}
-function BU() {
+function zU() {
return /* @__PURE__ */ (0, I.jsxs)("span", {
className: "inline-flex shrink-0 items-center gap-1 rounded-full bg-notification-success-background px-2 py-1 text-caption-1-medium text-notification-success-foreground",
- children: [/* @__PURE__ */ (0, I.jsx)(RB, {
+ children: [/* @__PURE__ */ (0, I.jsx)(LB, {
"aria-hidden": !0,
className: "size-4"
}), /* @__PURE__ */ (0, I.jsx)("span", {
@@ -47865,17 +47865,17 @@ function BU() {
})]
});
}
-function Cve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading: a, start: o }) {
- let [s, c] = (0, F.useState)(null), l = NU.find((t) => t.id === (e === "interface" ? "basics" : "appearance")), u = PU(i, l), d = !u && !!i.chapters[l.id], f = t.trim().toLowerCase(), p = NU.filter((t) => t.kind === e && `${t.title} ${t.summary} ${t.steps.map((e) => `${e.title} ${e.body} ${(e.details || []).flat().join(" ")}`).join(" ")}`.toLowerCase().includes(f));
+function wve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading: a, start: o }) {
+ let [s, c] = (0, F.useState)(null), l = MU.find((t) => t.id === (e === "interface" ? "basics" : "appearance")), u = NU(i, l), d = !u && !!i.chapters[l.id], f = t.trim().toLowerCase(), p = MU.filter((t) => t.kind === e && `${t.title} ${t.summary} ${t.steps.map((e) => `${e.title} ${e.body} ${(e.details || []).flat().join(" ")}`).join(" ")}`.toLowerCase().includes(f));
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, I.jsxs)(RU, {
+ /* @__PURE__ */ (0, I.jsxs)(LU, {
completed: u,
- icon: e === "interface" ? BB : sV,
+ icon: e === "interface" ? zB : oV,
title: e === "interface" ? "先认识 Peach" : "按习惯调整 Peach",
description: e === "interface" ? "先用 4 步认识常用入口,其余功能用到时再看。" : "先了解外观与导航,其余设置按需要查看。",
- children: [u ? /* @__PURE__ */ (0, I.jsx)(BU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: [u ? /* @__PURE__ */ (0, I.jsx)(zU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {
className: "text-body-2-regular text-text-secondary",
children: [l.steps.length, " 步 · 随时可以退出"]
}), /* @__PURE__ */ (0, I.jsx)(J, {
@@ -47888,26 +47888,26 @@ function Cve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:
})
})]
}),
- /* @__PURE__ */ (0, I.jsx)(vV, {
+ /* @__PURE__ */ (0, I.jsx)(_V, {
"aria-label": "搜索教程",
value: t,
onChange: n,
- children: /* @__PURE__ */ (0, I.jsx)(bV, {
+ children: /* @__PURE__ */ (0, I.jsx)(yV, {
type: "search",
placeholder: e === "settings" ? "搜索设置名称或用途" : "搜索功能或页面",
- leadingIcon: oV
+ leadingIcon: aV
})
}),
f ? p.length ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-guide-chapters",
- children: p.map((e) => /* @__PURE__ */ (0, I.jsx)(zU, {
+ children: p.map((e) => /* @__PURE__ */ (0, I.jsx)(RU, {
chapter: e,
progress: i,
loading: a,
start: o
}, e.id))
- }) : /* @__PURE__ */ (0, I.jsx)(TV, {
- icon: oV,
+ }) : /* @__PURE__ */ (0, I.jsx)(wV, {
+ icon: aV,
title: "没有匹配的教程",
size: "compact",
children: "试试功能名或设置名称。"
@@ -47925,12 +47925,12 @@ function Cve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:
}) : null]
}), /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-guide-topics",
- children: fve.filter((t) => t.kind === e).map((e) => {
- let t = bve[e.id];
+ children: pve.filter((t) => t.kind === e).map((e) => {
+ let t = xve[e.id];
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-guide-topic": e.id,
className: "peach-guide-topic",
- children: /* @__PURE__ */ (0, I.jsx)(eU, {
+ children: /* @__PURE__ */ (0, I.jsx)($H, {
trailing: !0,
isOpen: s === e.id,
onOpenChange: (t) => c(t ? e.id : null),
@@ -47955,8 +47955,8 @@ function Cve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:
}),
children: /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-guide-topic-chapters",
- children: e.chapters.map((e) => /* @__PURE__ */ (0, I.jsx)(zU, {
- chapter: NU.find((t) => t.id === e),
+ children: e.chapters.map((e) => /* @__PURE__ */ (0, I.jsx)(RU, {
+ chapter: MU.find((t) => t.id === e),
progress: i,
loading: a,
start: o
@@ -47970,14 +47970,14 @@ function Cve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:
});
}
// src/onboarding/guide-entry.ts
-var VU = "侧栏收起时,先点左上角的导航按钮。", HU = (...e) => ({
+var BU = "侧栏收起时,先点左上角的导航按钮。", VU = (...e) => ({
path: ["侧栏", ...e],
- hint: VU
-}), UU = (e) => ({
+ hint: BU
+}), HU = (e) => ({
path: ["侧栏底部的设置", e],
- hint: VU
+ hint: BU
});
-function wve(e) {
+function Tve(e) {
if (e.surface) return e.id === "external" ? { path: [
"作品卡片",
"作品详情",
@@ -47995,7 +47995,7 @@ function wve(e) {
let [t = "/", n = ""] = e.route.split("#")[0].split("?"), r = t.split("/")[2];
if (t.startsWith("/settings/")) {
let e = Ef[r];
- if (e) return UU(e);
+ if (e) return HU(e);
let t = Df[r];
if (t) return {
path: [
@@ -48003,11 +48003,11 @@ function wve(e) {
"Peach 配置",
t
],
- hint: VU
+ hint: BU
};
}
let i = new URLSearchParams(n);
- if (t === "/jav" || i.get("jav") === "1") return HU("JAV", CU.find(([e]) => e === (i.get("tab") || "library"))?.[1] || CU[0][1]);
+ if (t === "/jav" || i.get("jav") === "1") return VU("JAV", SU.find(([e]) => e === (i.get("tab") || "library"))?.[1] || SU[0][1]);
if (t === "/") {
switch (e.id) {
case "search": return {
@@ -48017,9 +48017,9 @@ function wve(e) {
case "navigation": return { path: ["左上角导航按钮", "侧栏中的浏览入口"] };
case "library": return {
path: ["侧栏顶部", "媒体库选择器"],
- hint: VU
+ hint: BU
};
- case "preferences": return UU(Ef.appearance);
+ case "preferences": return HU(Ef.appearance);
case "wall": return { path: ["页面顶部", "播放墙按钮"] };
case "immerse": return { path: ["页面顶部", "沉浸模式按钮"] };
case "cards":
@@ -48041,22 +48041,22 @@ function wve(e) {
hint: "来源、时长等更多筛选位于侧栏。"
};
}
- return HU("首页");
+ return VU("首页");
}
if ([
"/review",
"/quality-goals",
"/trash"
- ].includes(t)) return HU("管理", Zf["/data-cleanup"].title, t === "/trash" ? "回收站" : Zf[t].title);
+ ].includes(t)) return VU("管理", Zf["/data-cleanup"].title, t === "/trash" ? "回收站" : Zf[t].title);
let a = Zf[t];
if (a?.nav && a.title) {
- let e = HU(a.title);
+ let e = VU(a.title);
return t === "/playlists" && (e.hint = "若侧栏没有播放列表,到设置 → 外观与导航 → 导航入口与顺序添加;手机上先展开侧栏。"), e;
}
- if (a?.section && a.title) return HU("管理", a.title);
+ if (a?.section && a.title) return VU("管理", a.title);
}
// src/react/onboarding/guide-help.tsx
-function Tve({ details: e }) {
+function Eve({ details: e }) {
return e?.length ? /* @__PURE__ */ (0, I.jsx)("dl", {
className: "flex flex-col gap-3",
children: e.map(([e, t]) => /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -48071,24 +48071,24 @@ function Tve({ details: e }) {
}, e))
}) : null;
}
-function Eve({ chapter: e }) {
- let t = NU.find((t) => t.id === e);
+function Dve({ chapter: e }) {
+ let t = MU.find((t) => t.id === e);
return t ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "text-body-2-regular text-text-secondary",
- children: /* @__PURE__ */ (0, I.jsxs)(eU, {
+ children: /* @__PURE__ */ (0, I.jsxs)($H, {
summary: "了解这些设置",
children: [/* @__PURE__ */ (0, I.jsx)("p", { children: t.summary }), /* @__PURE__ */ (0, I.jsx)("div", { children: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- onClick: () => LU({ chapter: e }),
+ onClick: () => IU({ chapter: e }),
children: "逐步了解这个分区"
}) })]
})
}) : null;
}
// src/react/onboarding/guide-popover.tsx
-function Dve({ step: e, position: t, total: n, missing: r, next: i, previous: a, close: o, invitation: s }) {
- let c = eH(), l = wve(e);
+function Ove({ step: e, position: t, total: n, missing: r, next: i, previous: a, close: o, invitation: s }) {
+ let c = $V(), l = Tve(e);
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "peach-guide-popover-content",
onPointerDown: (e) => e.stopPropagation(),
@@ -48099,7 +48099,7 @@ function Dve({ step: e, position: t, total: n, missing: r, next: i, previous: a,
id: "driver-popover-title",
className: "text-body-medium text-text-primary",
children: e.title
- }), /* @__PURE__ */ (0, I.jsx)(OV, {
+ }), /* @__PURE__ */ (0, I.jsx)(DV, {
label: s ? "关闭教程提示" : "结束导览",
onPress: o
})]
@@ -48116,7 +48116,7 @@ function Dve({ step: e, position: t, total: n, missing: r, next: i, previous: a,
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex items-center gap-2 text-body-2-medium text-text-secondary",
- children: [/* @__PURE__ */ (0, I.jsx)(sge, {
+ children: [/* @__PURE__ */ (0, I.jsx)(cge, {
className: "size-4 shrink-0",
"aria-hidden": "true"
}), "打开方式"]
@@ -48125,7 +48125,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)(FB, {
+ children: [t ? /* @__PURE__ */ (0, I.jsx)(PB, {
className: "size-4 shrink-0 text-text-secondary",
"aria-hidden": "true"
}) : null, /* @__PURE__ */ (0, I.jsx)("span", { children: e })]
@@ -48146,15 +48146,15 @@ function Dve({ step: e, position: t, total: n, missing: r, next: i, previous: a,
className: "text-caption-1-regular text-text-secondary",
children: "导览期间不自动播放;退出后仍按原来的播放设置使用。"
}) : null,
- e.details?.length ? /* @__PURE__ */ (0, I.jsx)(eU, {
+ e.details?.length ? /* @__PURE__ */ (0, I.jsx)($H, {
summary: "更多说明",
- children: /* @__PURE__ */ (0, I.jsx)(Tve, { details: e.details })
+ children: /* @__PURE__ */ (0, I.jsx)(Eve, { details: e.details })
}) : null,
e.scope ? /* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: e.scope
}) : null,
- r ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ r ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "neutral",
children: e.surface ? "尚未取得可演示的视频或对应控件。请先添加视频,或跳过后稍后重看。" : "当前页面未显示这个入口,可能尚无内容、没有配置权限或仍在加载。可以跳过,稍后重看。"
}) : null
@@ -48208,14 +48208,14 @@ function Dve({ step: e, position: t, total: n, missing: r, next: i, previous: a,
]
});
}
-function WU(e, t, n) {
+function UU(e, t, n) {
let r = document.createElement("div");
e.replaceChildren(r, t);
let i = (0, Rt.createRoot)(r);
- return (0, Lt.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(Dve, { ...n }))), () => i.unmount();
+ return (0, Lt.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(Ove, { ...n }))), () => i.unmount();
}
// src/react/onboarding/tutorial-center.tsx
-function Ove({ go: e }) {
+function kve({ go: e }) {
let [t, n] = (0, F.useState)(null), [r, i] = (0, F.useState)(""), [a, o] = (0, F.useState)(0);
(0, F.useEffect)(() => {
let e = new AbortController();
@@ -48229,8 +48229,8 @@ function Ove({ go: e }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, I.jsxs)(RU, {
- icon: oge,
+ /* @__PURE__ */ (0, I.jsxs)(LU, {
+ icon: sge,
title: "从第一份收藏开始",
description: "连接媒体目录,查看入库结果,再打开馆藏。",
children: [/* @__PURE__ */ (0, I.jsx)("span", {
@@ -48241,7 +48241,7 @@ function Ove({ go: e }) {
children: "连接媒体目录"
})]
}),
- r ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ r ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -48257,7 +48257,7 @@ function Ove({ go: e }) {
/* @__PURE__ */ (0, I.jsxs)("li", { children: [
/* @__PURE__ */ (0, I.jsx)("span", {
className: "peach-guide-topic-icon",
- children: /* @__PURE__ */ (0, I.jsx)(qB, {
+ children: /* @__PURE__ */ (0, I.jsx)(KB, {
"aria-hidden": !0,
className: "size-5"
})
@@ -48276,7 +48276,7 @@ function Ove({ go: e }) {
/* @__PURE__ */ (0, I.jsxs)("li", { children: [
/* @__PURE__ */ (0, I.jsx)("span", {
className: "peach-guide-topic-icon",
- children: /* @__PURE__ */ (0, I.jsx)(gge, {
+ children: /* @__PURE__ */ (0, I.jsx)(_ge, {
"aria-hidden": !0,
className: "size-5"
})
@@ -48295,7 +48295,7 @@ function Ove({ go: e }) {
/* @__PURE__ */ (0, I.jsxs)("li", { children: [
/* @__PURE__ */ (0, I.jsx)("span", {
className: "peach-guide-topic-icon",
- children: /* @__PURE__ */ (0, I.jsx)(tV, {
+ children: /* @__PURE__ */ (0, I.jsx)(eV, {
"aria-hidden": !0,
className: "size-5"
})
@@ -48313,7 +48313,7 @@ function Ove({ go: e }) {
] })
]
}),
- /* @__PURE__ */ (0, I.jsx)(eU, {
+ /* @__PURE__ */ (0, I.jsx)($H, {
summary: "更多接入方式",
children: /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-guide-routes",
@@ -48322,31 +48322,31 @@ function Ove({ go: e }) {
title: "关注创作者",
description: l ? "当前启用来源的必要凭据已具备。" : s.length ? "已有关注来源,请检查必要凭据。" : "添加想持续追踪的创作者与来源。",
path: "/subscriptions",
- icon: aV
+ icon: iV
},
{
title: "口味与记录",
description: t?.taste.history_sources ? `已导入 ${t.taste.history_sources} 份浏览器历史。` : "按需要导入浏览历史或书签。",
path: "/taste",
- icon: IB
+ icon: FB
},
{
title: "云下载与浏览器添加",
description: "连接渠道、设置目标目录,按需要配对用户脚本。",
path: "/settings/downloads",
- icon: HB
+ icon: VB
},
{
title: "手机访问",
description: "查看访问范围、地址与密码。",
path: "/settings/network",
- icon: cV
+ icon: sV
},
...u ? [{
title: "人工复核",
description: `当前有 ${u.toLocaleString()} 条待复核资料。`,
path: "/review",
- icon: RB
+ icon: LB
}] : []
].map(({ title: t, description: n, path: r, icon: i }) => /* @__PURE__ */ (0, I.jsxs)("div", { children: [
/* @__PURE__ */ (0, I.jsx)("span", {
@@ -48373,16 +48373,16 @@ function Ove({ go: e }) {
]
});
}
-var GU = "tutorial-sync";
-function kve({ actions: e }) {
- let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(!1), [a, o] = (0, F.useState)("interface"), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(mve), [d, f] = (0, F.useState)(!1), [p, m] = (0, F.useState)(""), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(!1), y = eH(), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(0), C = (0, F.useRef)(l);
+var WU = "tutorial-sync";
+function Ave({ actions: e }) {
+ let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(!1), [a, o] = (0, F.useState)("interface"), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(hve), [d, f] = (0, F.useState)(!1), [p, m] = (0, F.useState)(""), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(!1), y = $V(), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(0), C = (0, F.useRef)(l);
C.current = l;
let w = (0, F.useRef)(0), T = (0, F.useRef)(null), E = (0, F.useRef)(""), D = (0, F.useRef)(!1), O = (0, F.useRef)(() => {}), k = (0, F.useRef)(Promise.resolve()), A = (0, F.useRef)(0), j = (0, F.useRef)(0), M = (0, F.useRef)(!0), ee = (e) => {
C.current = e, u(e);
}, N = async (e = !0) => {
let t = j.current;
try {
- let n = await gve();
+ let n = await _ve();
return !M.current || t !== j.current ? !1 : (ee(n), f(!0), e && m(""), b.current || i(!n.invited && !n.completed), !0);
} catch {
return M.current && m("未取得账本中的教程状态,请重新读取。"), !1;
@@ -48392,7 +48392,7 @@ function kve({ actions: e }) {
let n = ++j.current;
A.current += 1, k.current = k.current.then(async () => {
try {
- let r = await _ve(e.campaign, t);
+ let r = await vve(e.campaign, t);
M.current && n === j.current && ee(r);
} catch {
M.current && (m("教程进度未保存到本机账本,其他设备尚未同步。请重新读取后继续。"), n === j.current && await N(!1));
@@ -48402,8 +48402,8 @@ function kve({ actions: e }) {
});
}, P = (0, F.useRef)(N);
P.current = N, (0, F.useEffect)(() => {
- !p || t ? aH.dismiss(GU) : aH.error(p, {
- id: GU,
+ !p || t ? iH.dismiss(WU) : iH.error(p, {
+ id: WU,
toasterId: "receipts",
duration: Infinity,
action: {
@@ -48414,7 +48414,7 @@ function kve({ actions: e }) {
}
});
}, [p, t]), (0, F.useEffect)(() => () => {
- aH.dismiss(GU);
+ iH.dismiss(WU);
}, []), (0, F.useEffect)(() => {
if (!d && !p) return;
let e = document.getElementById("tutorialBtn");
@@ -48435,7 +48435,7 @@ function kve({ actions: e }) {
let i = !1, a = null;
return import("./peach-app.guide-driver-BZX0VpRC.js").then(({ createGuideSession: t }) => {
i || (a = t({
- mountPopover: WU,
+ mountPopover: UU,
invitation: !0,
navigate: e.navigate,
previous: () => {},
@@ -48474,12 +48474,12 @@ function kve({ actions: e }) {
D.current = !1;
});
document.addEventListener("input", e), document.addEventListener("change", e);
- let r = yve((e) => {
+ let r = bve((e) => {
(async () => {
let t = document.activeElement;
if (await k.current, !M.current || !await N() || e.invitation) return;
ie(), T.current = t, g(""), c("");
- let r = NU.find((t) => t.id === e.chapter);
+ let r = MU.find((t) => t.id === e.chapter);
e.reopen ? (i(!1), te({
...C.current,
invited: !0,
@@ -48508,11 +48508,11 @@ function kve({ actions: e }) {
g("请先关闭当前详情或对话框,再开始导览。");
return;
}
- if (t.steps.some((e) => e.surface) && l8()?.miniplayerActive()) {
+ if (t.steps.some((e) => e.surface) && c8()?.miniplayerActive()) {
g("请先关闭正在播放的小窗,再开始播放器导览。");
return;
}
- let i = r ? hve(C.current, t) : 0;
+ let i = r ? gve(C.current, t) : 0;
if (D.current && t.steps.some((e) => e.route && e.route !== location.pathname)) {
g("当前配置表单有编辑内容。请先处理表单,再开启需要切换页面的章节。");
return;
@@ -48546,7 +48546,7 @@ function kve({ actions: e }) {
}), b.current?.show(t.steps[w.current], w.current, t.steps.length);
};
b.current = r({
- mountPopover: WU,
+ mountPopover: UU,
navigate: e.navigate,
close: () => {
ie(!0), o(t.kind);
@@ -48557,18 +48557,18 @@ function kve({ actions: e }) {
},
next: async (e = !1) => {
let n = w.current + 1;
- if (te(vve(C.current, t.id, t.steps[w.current].id, n, e), {
+ if (te(yve(C.current, t.id, t.steps[w.current].id, n, e), {
action: "step",
chapter: t.id,
step: t.steps[w.current].id,
next: n,
skipped: e
}), n >= t.steps.length) {
- if (t.id === "basics" && PU(C.current, t) && te({
+ if (t.id === "basics" && NU(C.current, t) && te({
...C.current,
completed: !0
}, { action: "complete" }), await k.current, a !== S.current) return;
- ie(!0), o(t.kind), g(PU(C.current, t) ? t.id === "basics" ? C.current.completed ? "快速导览已完成,所有设备的教程入口都会收起。以后可到设置 → Peach 配置 → 应用与维护 → 新手教程重新打开,其余内容按需查看。" : "导览已结束,但完成状态未保存。请重新读取教程状态后再试。" : "这段导览已完成。需要时再了解其他功能。" : "本章已结束,未显示的步骤尚未完成,可以稍后继续。");
+ ie(!0), o(t.kind), g(NU(C.current, t) ? t.id === "basics" ? C.current.completed ? "快速导览已完成,所有设备的教程入口都会收起。以后可到设置 → Peach 配置 → 应用与维护 → 新手教程重新打开,其余内容按需查看。" : "导览已结束,但完成状态未保存。请重新读取教程状态后再试。" : "这段导览已完成。需要时再了解其他功能。" : "本章已结束,未显示的步骤尚未完成,可以稍后继续。");
} else w.current = n, l();
}
}), l();
@@ -48581,8 +48581,8 @@ function kve({ actions: e }) {
O.current = (e, t) => {
se(e, t);
};
- let ce = pve(location.pathname);
- return (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: /* @__PURE__ */ (0, I.jsxs)(SV, {
+ let ce = mve(location.pathname);
+ return (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: /* @__PURE__ */ (0, I.jsxs)(xV, {
isOpen: t,
onOpenChange: (e) => {
e || ae();
@@ -48597,18 +48597,18 @@ function kve({ actions: e }) {
id: "guideTitle",
className: "text-title-2-medium text-text-primary",
children: "新手教程"
- }), /* @__PURE__ */ (0, I.jsx)(OV, {
+ }), /* @__PURE__ */ (0, I.jsx)(DV, {
label: "关闭新手教程",
onPress: ae
})]
}),
/* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-guide-tools flex shrink-0 flex-col gap-4 px-6 pt-4 pb-3",
- children: /* @__PURE__ */ (0, I.jsx)(vU, {
+ children: /* @__PURE__ */ (0, I.jsx)(_U, {
"aria-label": "教程路径",
name: "guide-path",
orientation: "horizontal",
- className: yU,
+ className: vU,
value: a,
onChange: (e) => {
o(e), c(""), g("");
@@ -48617,9 +48617,9 @@ function kve({ actions: e }) {
["start", "开始使用"],
["interface", "界面导览"],
["settings", "设置导览"]
- ].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Jz, {
+ ].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(qz, {
value: e,
- className: bU,
+ className: yU,
children: t
}, e))
})
@@ -48630,7 +48630,7 @@ function kve({ actions: e }) {
ref: y,
className: "peach-guide-body",
children: [
- p ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ p ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
className: "mb-4",
action: /* @__PURE__ */ (0, I.jsx)(J, {
@@ -48642,12 +48642,12 @@ function kve({ actions: e }) {
}),
children: p
}) : null,
- h ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ h ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "neutral",
className: "mb-4",
children: h
}) : null,
- a === "start" ? /* @__PURE__ */ (0, I.jsx)(Ove, { go: oe }) : /* @__PURE__ */ (0, I.jsx)(Cve, {
+ a === "start" ? /* @__PURE__ */ (0, I.jsx)(kve, { go: oe }) : /* @__PURE__ */ (0, I.jsx)(wve, {
kind: a,
query: s,
setQuery: c,
@@ -48665,15 +48665,15 @@ function kve({ actions: e }) {
}) }), document.body);
}
// src/react/client-updates.tsx
-var Ave = 12e4, jve = 15e3, KU = () => document.visibilityState !== "hidden", qU = /* @__PURE__ */ new Set([
+var jve = 12e4, Mve = 15e3, GU = () => document.visibilityState !== "hidden", KU = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), JU = "/settings/maintenance#releaseUpdates";
-function Mve() {
+]), qU = "/settings/maintenance#releaseUpdates";
+function Nve() {
try {
let e = JSON.parse(document.getElementById("peach-client-runtime")?.textContent || "null");
return typeof e?.version == "string" && typeof e?.build_id == "string" ? {
@@ -48684,23 +48684,23 @@ function Mve() {
return null;
}
}
-function YU() {
- let e = (0, F.useRef)(Mve()), [t, n] = (0, F.useState)(null);
+function JU() {
+ let e = (0, F.useRef)(Nve()), [t, n] = (0, F.useState)(null);
return (0, F.useEffect)(() => {
let t = !1, r, i, a = async () => {
- if (t || !KU()) return;
+ if (t || !GU()) return;
let o = new AbortController();
i = o;
- let s = setTimeout(() => o.abort(), jve);
+ let s = setTimeout(() => o.abort(), Mve);
o.signal.addEventListener("abort", () => clearTimeout(s), { once: !0 });
try {
let r = await B("/api/client-updates", o.signal);
!t && !o.signal.aborted && typeof r?.runtime?.version == "string" && typeof r.runtime.build_id == "string" && (e.current ??= { ...r.runtime }, n(r));
} catch {} finally {
- clearTimeout(s), i === o && (i = void 0, !t && KU() && (r = setTimeout(a, Ave)));
+ clearTimeout(s), i === o && (i = void 0, !t && GU() && (r = setTimeout(a, jve)));
}
}, o = () => {
- clearTimeout(r), i?.abort(), i = void 0, KU() && a();
+ clearTimeout(r), i?.abort(), i = void 0, GU() && a();
};
return document.addEventListener("visibilitychange", o), document.addEventListener("peach:client-updates", o), a(), () => {
t = !0, clearTimeout(r), i?.abort(), document.removeEventListener("visibilitychange", o), document.removeEventListener("peach:client-updates", o);
@@ -48710,12 +48710,12 @@ function YU() {
refresh: !!t && !!e.current && (t.runtime.version !== e.current.version || t.runtime.build_id !== e.current.build_id)
};
}
-function Nve({ navigate: e }) {
- let { snapshot: t, refresh: n } = YU(), [r, i] = (0, F.useState)(""), a = document.querySelector("[data-network-banner]");
+function Pve({ navigate: e }) {
+ let { snapshot: t, refresh: n } = JU(), [r, i] = (0, F.useState)(""), a = document.querySelector("[data-network-banner]");
if (!t || !a) return null;
- let { release: o, update_job: s, runtime: c } = t, l = n ? "refresh" : s.state === "ready" ? "ready" : qU.has(s.state) ? "preparing" : o.state === "available" && o.latest_version ? "available" : null;
+ let { release: o, update_job: s, runtime: c } = t, l = n ? "refresh" : s.state === "ready" ? "ready" : KU.has(s.state) ? "preparing" : o.state === "available" && o.latest_version ? "available" : null;
if (!l) return null;
- let u = (s.state === "ready" || qU.has(s.state)) && s.version || o.latest_version, d = JSON.stringify(l === "refresh" ? [
+ let u = (s.state === "ready" || KU.has(s.state)) && s.version || o.latest_version, d = JSON.stringify(l === "refresh" ? [
l,
c.version,
c.build_id
@@ -48738,22 +48738,22 @@ function Nve({ navigate: e }) {
children: [" Peach ", u]
}) : null] })] }), /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex-wrap",
- children: [l === "refresh" ? /* @__PURE__ */ (0, I.jsx)(OH, {
+ children: [l === "refresh" ? /* @__PURE__ */ (0, I.jsx)(DH, {
variant: "secondary",
size: "small",
onClick: () => window.location.reload(),
"data-copy-key": "clientUpdates.refresh.action",
children: "刷新页面"
- }) : /* @__PURE__ */ (0, I.jsx)(OH, {
+ }) : /* @__PURE__ */ (0, I.jsx)(DH, {
variant: "secondary",
size: "small",
- href: JU,
+ href: qU,
onClick: (t) => {
- t.button !== 0 || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || (t.preventDefault(), e(JU));
+ t.button !== 0 || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || (t.preventDefault(), e(qU));
},
"data-copy-key": `clientUpdates.${l}.action`,
children: l === "preparing" ? "查看进度" : "查看更新"
- }), /* @__PURE__ */ (0, I.jsx)(OH, {
+ }), /* @__PURE__ */ (0, I.jsx)(DH, {
variant: "secondary",
size: "small",
onClick: () => i(d),
@@ -48764,8 +48764,8 @@ function Nve({ navigate: e }) {
}, d), a);
}
// src/react/router/pages/settings.tsx
-function Pve() {
- let e = (0, F.useContext)(oG), { pathname: t } = Qd();
+function Fve() {
+ let e = (0, F.useContext)(aG), { pathname: t } = Qd();
return (0, F.useEffect)(() => {
e?.openSettings?.(jf(t));
}, [e, t]), (0, F.useEffect)(() => () => {
@@ -48775,7 +48775,7 @@ function Pve() {
}, [e]), null;
}
// src/junk-queue.ts
-var XU = [
+var YU = [
[
"",
"全部",
@@ -48811,40 +48811,40 @@ var XU = [
"其它",
"hard-drive"
]
-], Fve = (e) => XU.find(([t]) => t === e)?.[0] ?? "";
-function ZU(e) {
+], Ive = (e) => YU.find(([t]) => t === e)?.[0] ?? "";
+function XU(e) {
let t = new URLSearchParams(e);
return {
- kind: Fve(t.get("type")),
+ kind: Ive(t.get("type")),
view: t.get("view") === "dismissed" ? "dismissed" : "pending"
};
}
-function QU(e = "", t = "pending") {
+function ZU(e = "", t = "pending") {
let n = new URLSearchParams();
e && n.set("type", e), t === "dismissed" && n.set("view", "dismissed");
let r = n.toString();
return `/junk-files${r ? `?${r}` : ""}`;
}
-function $U(e) {
+function QU(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: QU("", "pending")
+ href: ZU("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: QU("", "dismissed")
+ href: ZU("", "dismissed")
};
}
-var eW = (e) => e === "dismissed" ? "已排除" : "待判断", tW = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
-function Ive({ kind: e, view: t }) {
- let n = XU.map(([n, r, i]) => `<a href="${QU(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${tW(i)}${z(r)}</a>`).join(""), r = $U(t);
- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Fs(eW(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${tW(r.glyph)}${r.label}</a></nav></div></div></div>`;
+var $U = (e) => e === "dismissed" ? "已排除" : "待判断", eW = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
+function Lve({ kind: e, view: t }) {
+ let n = YU.map(([n, r, i]) => `<a href="${ZU(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${eW(i)}${z(r)}</a>`).join(""), r = QU(t);
+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Fs($U(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${eW(r.glyph)}${r.label}</a></nav></div></div></div>`;
}
// src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function Lve(e, t, n) {
+function Rve(e, t, n) {
(0, F.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -48858,7 +48858,7 @@ function Lve(e, t, n) {
n
]);
}
-function Rve(e, t) {
+function zve(e, t) {
let n = (0, F.useRef)(!1);
return (0, F.useEffect)(() => {
if (!e) return;
@@ -48871,33 +48871,33 @@ function Rve(e, t) {
}, [e, t]), (e) => e && n.current ? (n.current = !1, !1) : !0;
}
// src/react/boardui/components/base/select/select.tsx
-var nW = (0, F.createContext)("md");
-function rW({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var tW = (0, F.createContext)("md");
+function nW({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
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)(_me, {
+ Rve(d, () => f(!1), [l, u]);
+ let p = zve(d, l);
+ return /* @__PURE__ */ (0, I.jsx)(vme, {
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)(eR, {
+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)($L, {
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)(bme, {
+ children: [/* @__PURE__ */ (0, I.jsx)(xme, {
className: q("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, I.jsx)(Ege, { 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)(Dz, {
+ }), /* @__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, {
ref: u,
isNonModal: !0,
offset: 4,
- className: q(kge, KV, "p-2", n),
- children: /* @__PURE__ */ (0, I.jsx)(zpe, {
+ className: q(Age, GV, "p-2", n),
+ children: /* @__PURE__ */ (0, I.jsx)(Bpe, {
items: a,
- className: q(Age, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, I.jsx)(nW.Provider, {
+ className: q(jge, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, I.jsx)(tW.Provider, {
value: r,
children: i
})
@@ -48905,16 +48905,16 @@ function rW({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function iW({ className: e, children: t, ...n }) {
- let r = (0, F.useContext)(nW);
- return /* @__PURE__ */ (0, I.jsx)(Hpe, {
+function rW({ className: e, children: t, ...n }) {
+ let r = (0, F.useContext)(tW);
+ return /* @__PURE__ */ (0, I.jsx)(Upe, {
...n,
- className: (t) => q(qV, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),
+ className: (t) => 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 aW = YI({
+var iW = JI({
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",
@@ -48933,15 +48933,15 @@ var aW = YI({
soft: "bg-background-secondary-default text-text-secondary"
}
});
-function oW({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
+function aW({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
ref: r,
- className: q(aW.base, aW.variant[e], aW.color[t], n),
+ className: q(iW.base, iW.variant[e], iW.color[t], n),
...i
});
}
// src/react/components/art-slot.tsx
-function sW({ artwork: e, identity: t = e.html, relayout: n }) {
+function oW({ artwork: e, identity: t = e.html, relayout: n }) {
let [r, i] = (0, F.useState)({
identity: t,
artwork: e
@@ -48960,7 +48960,7 @@ function sW({ artwork: e, identity: t = e.html, relayout: n }) {
});
}
// src/react/activity/downloads-panel.tsx
-var cW = "/api/downloads", lW = ["downloads"], zve = "/api/downloads/cancel", Bve = "/api/downloads/postprocess", uW = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Vve = {
+var sW = "/api/downloads", cW = ["downloads"], Bve = "/api/downloads/cancel", Vve = "/api/downloads/postprocess", lW = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Hve = {
ingested: "lime",
failed: "rose",
cancelled: "neutral",
@@ -48969,21 +48969,21 @@ var cW = "/api/downloads", lW = ["downloads"], zve = "/api/downloads/cancel", Bv
remote_done: "lime",
landed: "lime",
submitted: "neutral"
-}, dW = (e) => {
- let t = e.display_code || e.code || "", { title: n } = nL({
+}, uW = (e) => {
+ let t = e.display_code || e.code || "", { title: n } = tL({
is_jav: !!t,
code: t,
name: e.display_title ?? e.title ?? e.display_name ?? e.remote_name
});
return [t, n].filter(Boolean).join(" · ") || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`;
-}, fW = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", Hve = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");
-function Uve() {
+}, dW = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", Uve = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");
+function Wve() {
let e = (0, F.useId)(), t = It({
- queryKey: [...lW, "pages"],
+ queryKey: [...cW, "pages"],
initialPageParam: null,
- queryFn: ({ signal: e, pageParam: t }) => B(`${cW}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),
+ queryFn: ({ signal: e, pageParam: t }) => B(`${sW}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),
getNextPageParam: (e) => e.has_more ? e.next_before_id ?? void 0 : void 0,
- refetchInterval: (e) => e.state.data?.pages.some((e) => uW(e) === 5e3) ? 5e3 : 3e4
+ refetchInterval: (e) => e.state.data?.pages.some((e) => lW(e) === 5e3) ? 5e3 : 3e4
}), n = t.data?.pages || [], r = [...new Map(n.flatMap((e) => e.tasks).map((e) => [e.id, e])).values()];
return !r.length && !t.error ? null : /* @__PURE__ */ (0, I.jsxs)("section", {
id: "cloudDownloads",
@@ -48995,14 +48995,14 @@ function Uve() {
className: "text-title-2-medium text-text-primary",
children: "云下载"
}),
- t.error ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ t.error ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
children: cr(t.error)
}) : null,
r.length ? /* @__PURE__ */ (0, I.jsx)("ul", {
"aria-live": "polite",
className: "flex min-w-0 flex-col gap-3",
- children: r.map((e) => /* @__PURE__ */ (0, I.jsx)(Wve, {
+ children: r.map((e) => /* @__PURE__ */ (0, I.jsx)(Gve, {
task: e,
writable: n[0]?.available ?? !1
}, e.id))
@@ -49010,9 +49010,9 @@ function Uve() {
t.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: NB,
+ leadingIcon: MB,
className: "self-start",
- ...kV(t.isFetchingNextPage),
+ ...OV(t.isFetchingNextPage),
onClick: () => {
t.isFetching || t.fetchNextPage();
},
@@ -49021,16 +49021,16 @@ function Uve() {
]
});
}
-function Wve({ task: e, writable: t }) {
- yL();
- let n = ae(), r = kH(), [i, a] = (0, F.useState)(!1), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = fW(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 = [
+function Gve({ task: e, writable: t }) {
+ vL();
+ 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,
- _L(e.submitted_at)
+ gL(e.submitted_at)
].filter(Boolean).join(" · "), h = () => {
- n.invalidateQueries({ queryKey: lW });
+ n.invalidateQueries({ queryKey: cW });
}, g = () => {
- r.run("cancel", (t) => V(zve, { id: e.id }, "POST", t), h);
+ r.run("cancel", (t) => V(Bve, { id: e.id }, "POST", t), h);
}, _ = () => {
let t = {
magnet: e.source_uri,
@@ -49040,16 +49040,16 @@ function Wve({ task: e, writable: t }) {
title: e.title,
origin: e.origin
};
- r.run("resubmit", (e) => V(cW, t, "POST", e), h);
+ r.run("resubmit", (e) => V(sW, t, "POST", e), h);
}, v = () => {
navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));
}, y = () => {
- r.run("postprocess", (t) => V(Bve, { id: e.id }, "POST", t), h);
+ r.run("postprocess", (t) => V(Vve, { id: e.id }, "POST", t), h);
};
return /* @__PURE__ */ (0, I.jsxs)("li", {
"data-download-state": e.state,
"data-download-id": e.id,
- className: VH({
+ className: BH({
padding: "none",
bordered: p ? "error" : void 0,
className: "flex flex-col"
@@ -49060,14 +49060,14 @@ function Wve({ task: e, writable: t }) {
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-download-cover": "",
"data-media-pic": "",
- style: { "--card-ratio": String(yM) },
+ style: { "--card-ratio": String(bM) },
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", {
"data-media-nopic": "",
children: "无封面"
}),
- u?.has_cover ? /* @__PURE__ */ (0, I.jsx)(sW, {
+ u?.has_cover ? /* @__PURE__ */ (0, I.jsx)(oW, {
artwork: {
kind: "cover",
html: xo(u, "big")
@@ -49077,7 +49077,7 @@ function Wve({ task: e, writable: t }) {
f ? /* @__PURE__ */ (0, I.jsx)("a", {
"data-download-cover-link": "",
href: f,
- "aria-label": `打开作品详情:${dW(e)}`,
+ "aria-label": `打开作品详情:${uW(e)}`,
className: "absolute inset-0 z-1 rounded-lg outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring"
}) : null
]
@@ -49088,19 +49088,19 @@ function Wve({ task: e, writable: t }) {
className: "flex min-w-0 flex-col items-start gap-1 sm:flex-row sm:items-center sm:gap-2",
children: [/* @__PURE__ */ (0, I.jsx)("strong", {
className: "min-w-0 w-full flex-1 truncate text-title-1-medium text-text-primary sm:w-auto",
- title: dW(e),
+ title: uW(e),
children: f ? /* @__PURE__ */ (0, I.jsx)("a", {
"data-download-title-link": "",
href: f,
className: "block truncate rounded-sm outline-none hover:underline focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring",
- children: dW(e)
- }) : dW(e)
+ children: uW(e)
+ }) : uW(e)
}), /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex shrink-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(oW, {
- color: Vve[e.state] ?? "neutral",
+ children: [/* @__PURE__ */ (0, I.jsx)(aW, {
+ color: Hve[e.state] ?? "neutral",
children: e.state_label
- }), e.state === "ingested" ? /* @__PURE__ */ (0, I.jsx)(oW, {
+ }), e.state === "ingested" ? /* @__PURE__ */ (0, I.jsx)(aW, {
color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : e.postprocess_state === "running" ? "blue" : "neutral",
children: e.postprocess_label
}) : null]
@@ -49110,7 +49110,7 @@ function Wve({ task: e, writable: t }) {
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "flex shrink-0",
- children: /* @__PURE__ */ (0, I.jsx)(iU, {
+ children: /* @__PURE__ */ (0, I.jsx)(rU, {
source: e.provider,
label: e.provider_label
})
@@ -49137,7 +49137,7 @@ function Wve({ task: e, writable: t }) {
children: [d.map((e) => tn("performer", e.name, e.id)).join("、"), (u?.performer_total || 0) > d.length ? ` 等 ${u.performer_total} 人` : ""]
})]
}) : null,
- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, I.jsx)(WH, {
+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, I.jsx)(UH, {
label: "远端下载进度",
value: Math.round(e.progress * 100),
max: 100
@@ -49147,7 +49147,7 @@ function Wve({ task: e, writable: t }) {
title: e.ledger_path,
children: e.ledger_path
}) : null,
- r.error ? /* @__PURE__ */ (0, I.jsx)(QH, { children: r.error }) : null,
+ r.error ? /* @__PURE__ */ (0, I.jsx)(ZH, { children: r.error }) : null,
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-download-actions": "",
className: "flex flex-wrap items-center gap-2 pt-1 sm:mt-auto",
@@ -49172,21 +49172,21 @@ function Wve({ task: e, writable: t }) {
e.cancellable ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- ...kV(r.busy === "cancel"),
+ ...OV(r.busy === "cancel"),
onClick: g,
children: "取消"
}) : null,
e.resubmittable ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- ...kV(r.busy === "resubmit"),
+ ...OV(r.busy === "resubmit"),
onClick: _,
children: "重新提交"
}) : null,
e.postprocess_retryable ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- ...kV(r.busy === "postprocess"),
+ ...OV(r.busy === "postprocess"),
onClick: y,
children: "重试入库后整理"
}) : null
@@ -49201,33 +49201,33 @@ function Wve({ task: e, writable: t }) {
id: c,
"data-download-title-full": !0,
className: "wrap-anywhere px-5 pb-4 text-body-2-regular text-text-secondary",
- children: dW(e)
+ children: uW(e)
}) : null,
l || e.postprocess_detail ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3",
children: /* @__PURE__ */ (0, I.jsx)("p", {
className: "wrap-anywhere text-caption-1-regular text-text-secondary",
- children: l || Hve(e)
+ children: l || Uve(e)
})
}) : null
]
});
}
// src/react/activity/work-code.ts
-var pW = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), mW = (e, t) => !!pW(e) && pW(e) === pW(t);
+var fW = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), pW = (e, t) => !!fW(e) && fW(e) === fW(t);
// src/react/activity/resource-search.tsx
-function Gve({ className: e }) {
+function Kve({ className: e }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
className: e,
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: zs("") }
});
}
-function Kve(e) {
+function qve(e) {
return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";
}
-function qve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
- let [a, o] = (0, F.useState)(e), [s, c] = (0, F.useState)(() => Kve(t)), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(null), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), y = kH(), b = (0, F.useRef)(null);
+function Jve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
+ let [a, o] = (0, F.useState)(e), [s, c] = (0, F.useState)(() => qve(t)), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(null), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), y = OH(), b = (0, F.useRef)(null);
(0, F.useEffect)(() => () => b.current?.abort(), []);
let x = () => {
if (!a.trim() || y.busy) return;
@@ -49243,7 +49243,7 @@ function qve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
let e = new AbortController();
b.current = e, B(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {
if (e.signal.aborted) return;
- let r = (n.items || []).find((e) => mW(e.code, t));
+ let r = (n.items || []).find((e) => pW(e.code, t));
i(r ? {
code: r.code,
title: String(r.catalog_title || r.name || ""),
@@ -49264,18 +49264,18 @@ function qve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
"aria-busy": !!y.busy,
className: "flex min-w-0 flex-col gap-4",
children: [
- t ? /* @__PURE__ */ (0, I.jsxs)(ZH, { children: [
+ t ? /* @__PURE__ */ (0, I.jsxs)(XH, { children: [
"版本目标:",
t,
"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"
] }) : null,
- /* @__PURE__ */ (0, I.jsx)(xV, {
+ /* @__PURE__ */ (0, I.jsx)(bV, {
label: "按番号查找资源",
value: a,
maxLength: 80,
placeholder: "输入番号,按回车搜索",
enterKeyHint: "search",
- leadingIcon: y.busy ? Gve : oV,
+ leadingIcon: y.busy ? Kve : aV,
isReadOnly: !!y.busy,
"aria-busy": !!y.busy,
onChange: o,
@@ -49285,7 +49285,7 @@ function qve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, I.jsx)($H, { children: "优先寻找" }), /* @__PURE__ */ (0, I.jsxs)(rW, {
+ children: [/* @__PURE__ */ (0, I.jsx)(QH, { children: "优先寻找" }), /* @__PURE__ */ (0, I.jsxs)(nW, {
"aria-label": "优先寻找",
selectedKey: s,
isDisabled: !!y.busy,
@@ -49293,15 +49293,15 @@ function qve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
e !== null && c(String(e));
},
children: [
- /* @__PURE__ */ (0, I.jsx)(iW, {
+ /* @__PURE__ */ (0, I.jsx)(rW, {
id: "quality",
children: "高清"
}),
- /* @__PURE__ */ (0, I.jsx)(iW, {
+ /* @__PURE__ */ (0, I.jsx)(rW, {
id: "chinese",
children: "中字"
}),
- /* @__PURE__ */ (0, I.jsx)(iW, {
+ /* @__PURE__ */ (0, I.jsx)(rW, {
id: "uncensored",
children: "无码"
})
@@ -49310,32 +49310,32 @@ function qve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex gap-3 max-sm:flex-col",
- children: [/* @__PURE__ */ (0, I.jsx)(xV, {
+ children: [/* @__PURE__ */ (0, I.jsx)(bV, {
label: "最小体积(GiB)",
inputMode: "decimal",
value: l,
onChange: u
- }), /* @__PURE__ */ (0, I.jsx)(xV, {
+ }), /* @__PURE__ */ (0, I.jsx)(bV, {
label: "最大体积(GiB)",
inputMode: "decimal",
value: d,
onChange: f
})]
}),
- y.busy ? /* @__PURE__ */ (0, I.jsx)(ZH, {
+ y.busy ? /* @__PURE__ */ (0, I.jsx)(XH, {
role: "status",
children: "正在搜索资源"
}) : null,
- y.error ? /* @__PURE__ */ (0, I.jsx)(QH, { children: y.error }) : null,
- p?.error ? /* @__PURE__ */ (0, I.jsx)(ZH, {
+ y.error ? /* @__PURE__ */ (0, I.jsx)(ZH, { children: y.error }) : null,
+ p?.error ? /* @__PURE__ */ (0, I.jsx)(XH, {
role: "status",
children: p.error
}) : null,
- p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, I.jsx)(ZH, {
+ p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, I.jsx)(XH, {
role: "status",
children: "没有符合条件的资源。"
}) : null,
- p?.warnings.map((e) => /* @__PURE__ */ (0, I.jsx)(ZH, { children: e }, e)),
+ p?.warnings.map((e) => /* @__PURE__ */ (0, I.jsx)(XH, { children: e }, e)),
p?.items.length ? /* @__PURE__ */ (0, I.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: p.items.map((e) => /* @__PURE__ */ (0, I.jsxs)("li", {
@@ -49345,7 +49345,7 @@ function qve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
className: "break-words text-body-2-medium text-text-primary",
children: e.name
}),
- /* @__PURE__ */ (0, I.jsx)(ZH, { children: [
+ /* @__PURE__ */ (0, I.jsx)(XH, { children: [
e.size > 0 ? `${(e.size / 1024 ** 3).toFixed(2)} GiB` : "体积未取得",
e.seeders >= 0 ? `${e.seeders} 个做种` : "做种未取得",
e.resolution ? `${e.resolution}p` : "",
@@ -49369,19 +49369,19 @@ function qve({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
});
}
// src/react/activity/cloud-download-dialog.tsx
-var Jve = {
+var Yve = {
submitted: "已提交离线下载,进度在任务中心",
adopted: "这个磁力已有任务,没有重复提交",
adopted_remote: "网盘中已有相同的下载任务,Peach 已开始跟踪进度"
};
-function hW({ prefill: e, close: t, receipt: n, provider: r }) {
- return /* @__PURE__ */ (0, I.jsx)(SV, {
+function mW({ prefill: e, close: t, receipt: n, provider: r }) {
+ return /* @__PURE__ */ (0, I.jsx)(xV, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
},
width: "form",
- children: e ? /* @__PURE__ */ (0, I.jsx)(Yve, {
+ children: e ? /* @__PURE__ */ (0, I.jsx)(Xve, {
prefill: e,
close: t,
receipt: n,
@@ -49389,26 +49389,26 @@ function hW({ prefill: e, close: t, receipt: n, provider: r }) {
}) : null
});
}
-function Yve({ prefill: e, close: t, receipt: n, provider: r }) {
+function Xve({ prefill: e, close: t, receipt: n, provider: r }) {
let i = Pt({
- queryKey: lW,
- queryFn: ({ signal: e }) => B(`${cW}?limit=50`, e),
- refetchInterval: (e) => uW(e.state.data)
+ queryKey: cW,
+ queryFn: ({ signal: e }) => B(`${sW}?limit=50`, e),
+ 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)(nR, {
+ children: [/* @__PURE__ */ (0, I.jsx)(tR, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "查找资源"
}), /* @__PURE__ */ (0, I.jsx)(J, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: zB,
+ leadingIcon: RB,
"aria-label": "关闭资源面板",
onClick: t
})]
});
- return a ? /* @__PURE__ */ (0, I.jsx)(Xve, {
+ return a ? /* @__PURE__ */ (0, I.jsx)(Zve, {
header: o,
snapshot: a,
prefill: e,
@@ -49421,7 +49421,7 @@ function Yve({ prefill: e, close: t, receipt: n, provider: r }) {
o,
/* @__PURE__ */ (0, I.jsx)("div", {
className: "flex min-h-0 flex-col gap-4 overflow-y-auto p-5",
- children: i.error ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ children: i.error ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
children: cr(i.error)
}) : null
@@ -49437,8 +49437,8 @@ function Yve({ prefill: e, close: t, receipt: n, provider: r }) {
]
});
}
-function Xve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {
- let o = ae(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, F.useState)(c?.key || ""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(n.code ?? ""), [h, g] = (0, F.useState)(c?.target || ""), [_, v] = (0, F.useState)(n.code ? n : null), [y, b] = (0, F.useState)(""), x = t.available && s.some((e) => e.key === l), S = kH(), C = (0, F.useRef)(null), w = (e) => {
+function Zve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {
+ let o = ae(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, F.useState)(c?.key || ""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(n.code ?? ""), [h, g] = (0, F.useState)(c?.target || ""), [_, v] = (0, F.useState)(n.code ? n : null), [y, b] = (0, F.useState)(""), x = t.available && s.some((e) => e.key === l), S = OH(), C = (0, F.useRef)(null), w = (e) => {
u(e), g(s.find((t) => t.key === e)?.target ?? "");
};
return /* @__PURE__ */ (0, I.jsxs)("form", {
@@ -49454,14 +49454,14 @@ function Xve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
title: _?.title,
origin: _?.origin
};
- b(""), S.run("submit", (e) => V(cW, t, "POST", e), (e) => {
- o.invalidateQueries({ queryKey: lW });
- let t = Jve[e.outcome];
+ b(""), S.run("submit", (e) => V(sW, t, "POST", e), (e) => {
+ o.invalidateQueries({ queryKey: cW });
+ let t = Yve[e.outcome];
if (e.ok && t) {
i(t), r();
return;
}
- let n = fW(e.task);
+ let n = dW(e.task);
b(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");
});
},
@@ -49485,7 +49485,7 @@ function Xve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
children: [/* @__PURE__ */ (0, I.jsx)("p", {
className: "break-words text-body-medium text-text-primary",
children: _ ? [_.code, _.title].filter(Boolean).join(" · ") : "作品资料未取得"
- }), _ ? /* @__PURE__ */ (0, I.jsx)(ZH, { children: [
+ }), _ ? /* @__PURE__ */ (0, I.jsx)(XH, { children: [
_.performers,
_.studio,
_.release_date,
@@ -49493,22 +49493,22 @@ function Xve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
].filter(Boolean).join(" · ") }) : null]
})]
}) : null,
- /* @__PURE__ */ (0, I.jsx)(qve, {
+ /* @__PURE__ */ (0, I.jsx)(Jve, {
initialCode: n.code ?? "",
reason: n.searchReason,
onSearch: (e) => {
- mW(e, _?.code) || (v(mW(e, n.code) ? n : null), f("")), m(e);
+ pW(e, _?.code) || (v(pW(e, n.code) ? n : null), f("")), m(e);
},
- onWork: (e) => v((t) => e ? mW(t?.code, e.code) ? {
+ onWork: (e) => v((t) => e ? pW(t?.code, e.code) ? {
...t,
...e,
origin: t?.origin || e.origin
- } : e : mW(t?.code, n.code) ? t : null),
+ } : e : pW(t?.code, n.code) ? t : null),
choose: (e, t) => {
f(e), m(t), C.current?.focus();
}
}),
- /* @__PURE__ */ (0, I.jsx)(xV, {
+ /* @__PURE__ */ (0, I.jsx)(bV, {
ref: C,
label: "磁力链接",
placeholder: "magnet:?xt=urn:btih:…",
@@ -49520,38 +49520,38 @@ function Xve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-1",
children: [
- /* @__PURE__ */ (0, I.jsx)($H, { children: "下载到" }),
- /* @__PURE__ */ (0, I.jsx)(rW, {
+ /* @__PURE__ */ (0, I.jsx)(QH, { children: "下载到" }),
+ /* @__PURE__ */ (0, I.jsx)(nW, {
"aria-label": "下载到",
selectedKey: l || null,
isDisabled: !s.length,
onSelectionChange: (e) => {
e !== null && w(String(e));
},
- children: s.map((e) => /* @__PURE__ */ (0, I.jsx)(iW, {
+ children: s.map((e) => /* @__PURE__ */ (0, I.jsx)(rW, {
id: e.key,
textValue: e.label,
- children: /* @__PURE__ */ (0, I.jsx)(iU, {
+ children: /* @__PURE__ */ (0, I.jsx)(rU, {
source: e.key,
label: e.label
})
}, e.key))
}),
- l === "115" ? /* @__PURE__ */ (0, I.jsx)(ZH, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null
+ l === "115" ? /* @__PURE__ */ (0, I.jsx)(XH, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null
]
}),
- t.available ? null : /* @__PURE__ */ (0, I.jsx)(wV, {
+ t.available ? null : /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "neutral",
children: "云下载只在允许修改数据库的设备上可用。"
}),
- s.length ? null : /* @__PURE__ */ (0, I.jsxs)(wV, {
+ s.length ? null : /* @__PURE__ */ (0, I.jsxs)(CV, {
tone: "neutral",
children: ["尚未配置下载渠道。", /* @__PURE__ */ (0, I.jsx)("a", {
href: "/settings/library?section=%E4%B8%8B%E8%BD%BD%E6%B8%A0%E9%81%93",
children: "下载渠道设置"
})]
}),
- /* @__PURE__ */ (0, I.jsx)(xV, {
+ /* @__PURE__ */ (0, I.jsx)(bV, {
label: "目标目录",
placeholder: "/云下载",
autoComplete: "off",
@@ -49559,17 +49559,17 @@ function Xve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
value: h,
onChange: g
}),
- n.code ? null : /* @__PURE__ */ (0, I.jsx)(xV, {
+ n.code ? null : /* @__PURE__ */ (0, I.jsx)(bV, {
label: "番号",
placeholder: "可不填",
autoComplete: "off",
maxLength: 60,
value: p,
onChange: (e) => {
- m(e), mW(e, _?.code) || v(null);
+ m(e), pW(e, _?.code) || v(null);
}
}),
- y || S.error ? /* @__PURE__ */ (0, I.jsx)(QH, { children: y || S.error }) : null
+ y || S.error ? /* @__PURE__ */ (0, I.jsx)(ZH, { children: y || S.error }) : null
]
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -49581,7 +49581,7 @@ function Xve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
}), /* @__PURE__ */ (0, I.jsx)(J, {
type: "submit",
disabled: !d.trim() || !x,
- ...kV(S.busy === "submit"),
+ ...OV(S.busy === "submit"),
children: "提交下载"
})]
})
@@ -49589,18 +49589,18 @@ function Xve({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
});
}
// src/react/wants/wants.ts
-var gW = "/api/wants", _W = ["wants"], Zve = (e) => [
+var hW = "/api/wants", gW = ["wants"], Qve = (e) => [
"wants",
"follow",
e
-], Qve = [
+], $ve = [
["searching", "待找"],
["unreleased", "未发售"],
["given_up", "暂时放弃"],
["acquired", "已入库"]
-], vW = (e) => B(gW, e);
-function $ve(e, t) {
- H.setQueryData(_W, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
+], _W = (e) => B(hW, e);
+function eye(e, t) {
+ H.setQueryData(gW, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
...n,
items: n.items.map((n) => n.id === e ? {
...n,
@@ -49608,21 +49608,21 @@ function $ve(e, t) {
} : n)
} : n);
}
-var eye = (e, t) => B(`${gW}?follow=${encodeURIComponent(e)}`, t), yW = (e, t) => V(gW, {
+var tye = (e, t) => B(`${hW}?follow=${encodeURIComponent(e)}`, t), vW = (e, t) => V(hW, {
action: "add",
...e
-}, "POST", t), bW = (e, t) => V(gW, {
+}, "POST", t), yW = (e, t) => V(hW, {
action: "remove",
ids: e
-}, "POST", t), tye = (e, t) => V(gW, {
+}, "POST", t), nye = (e, t) => V(hW, {
action: "reset",
ids: e
-}, "POST", t), xW = () => H.invalidateQueries({ queryKey: _W }), 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/discovery-sorts.ts
-var wW = [
+var CW = [
[
"taste",
"口味",
@@ -49630,7 +49630,7 @@ var wW = [
],
[
"release_date",
- Lj[1],
+ Rj[1],
"按发行日期排序"
],
[
@@ -49648,10 +49648,10 @@ var wW = [
"番号",
"按番号排序"
]
-], TW = [
+], wW = [
[
"release_date",
- Lj[1],
+ Rj[1],
"按发行日期排序"
],
[
@@ -49675,10 +49675,10 @@ var wW = [
"按口味匹配排序"
]
];
-function EW(e) {
+function TW(e) {
return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";
}
-function DW(e) {
+function EW(e) {
if (typeof e != "number" || !Number.isFinite(e)) return {
score: "—",
label: "资料未取得",
@@ -49703,13 +49703,13 @@ function DW(e) {
};
}
// src/react/jav/jav.ts
-var OW = (e, t = "taste", n = "desc") => [
+var DW = (e, t = "taste", n = "desc") => [
"jav-discoveries",
e,
t,
n
];
-function kW(e, t, n = {}) {
+function OW(e, t, n = {}) {
let r = new URLSearchParams({
scope: e,
limit: "100",
@@ -49718,7 +49718,7 @@ function kW(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 AW(e) {
+function kW(e) {
let t = new URLSearchParams(e), n = t.get("sort"), r = t.get("seed") || "";
return {
page: Math.max(1, Math.floor(Number(t.get("page"))) || 1),
@@ -49726,12 +49726,12 @@ function AW(e) {
studio: t.get("studio") || "",
tag: t.get("tag") || "",
q: (t.get("q") || "").trim(),
- sort: n === "random" && r ? "random" : TW.find(([e]) => e === n)?.[0] || "release_date",
+ sort: n === "random" && r ? "random" : wW.find(([e]) => e === n)?.[0] || "release_date",
dir: t.get("dir") === "asc" ? "asc" : "desc",
seed: r
};
}
-var jW = (e) => [
+var AW = (e) => [
"jav-releases",
e.page,
e.performer,
@@ -49742,7 +49742,7 @@ var jW = (e) => [
e.dir,
e.seed
];
-function MW(e, t, n = "") {
+function jW(e, t, n = "") {
let r = new URLSearchParams({
page: String(e.page),
size: "24",
@@ -49758,7 +49758,7 @@ function MW(e, t, n = "") {
]) e[t] && r.set(t, e[t]);
return n && r.set("metadata_job_id", n), B(`/api/jav/releases?${r}`, t);
}
-function NW(e, t, n) {
+function MW(e, t, n) {
let r = Co({
...e,
is_jav: !0
@@ -49767,40 +49767,40 @@ function NW(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 PW(e, t) {
+async function NW(e, t) {
if (e === "wants") await H.ensureQueryData({
- queryKey: _W,
- queryFn: () => vW(t),
+ queryKey: gW,
+ queryFn: () => _W(t),
staleTime: 3e4,
revalidateIfStale: !0
});
else if (e === "discover") await H.ensureQueryData({
- queryKey: OW("external"),
- queryFn: () => kW("external", t),
+ queryKey: DW("external"),
+ queryFn: () => OW("external", t),
staleTime: 3e4,
revalidateIfStale: !0
});
else if (e === "releases") {
- let e = AW(location.search);
+ let e = kW(location.search);
await H.ensureQueryData({
- queryKey: jW(e),
- queryFn: () => MW(e, t),
+ queryKey: AW(e),
+ queryFn: () => jW(e, t),
staleTime: 3e4,
revalidateIfStale: !0
});
}
}
// src/react/components/board-tabs.tsx
-function FW({ value: e }) {
+function PW({ 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 IW = "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 LW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
- let a = (0, F.useRef)(null), o = TL(a);
+var FW = "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 IW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
+ let a = (0, F.useRef)(null), o = wL(a);
return (0, F.useLayoutEffect)(() => {
let e = a.current;
e && (() => {
@@ -49809,7 +49809,7 @@ function LW({ 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)(ZI, {
+ }, [t]), /* @__PURE__ */ (0, I.jsx)(XI, {
ref: o,
role: "tablist",
"aria-label": n,
@@ -49824,7 +49824,7 @@ function LW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
},
className: `relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0 ${i}`,
children: e.map((e) => {
- let n = e.symbol ? DV(e.symbol) : null, i = e.value === t;
+ let n = e.symbol ? EV(e.symbol) : null, i = e.value === t;
return /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
role: "tab",
@@ -49833,7 +49833,7 @@ function LW({ 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: IW,
+ className: FW,
onClick: () => {
i || r(e.value);
},
@@ -49843,7 +49843,7 @@ function LW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
});
}
// src/react/jav/jav-header.tsx
-function RW({ tab: e, navigate: t, find: n, search: r }) {
+function LW({ tab: e, navigate: t, find: n, search: r }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex w-full flex-col gap-4",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -49862,45 +49862,45 @@ function RW({ tab: e, navigate: t, find: n, search: r }) {
children: "查找资源"
})
]
- }), /* @__PURE__ */ (0, I.jsx)(LW, {
- tabs: CU.map(([e, t]) => ({
+ }), /* @__PURE__ */ (0, I.jsx)(IW, {
+ tabs: SU.map(([e, t]) => ({
value: e,
label: t
})),
value: e,
label: "JAV 分区",
className: "",
- onChange: (e) => t(TU(e))
+ onChange: (e) => t(wU(e))
})]
});
}
-function zW({ navigate: e, receipt: t }) {
+function RW({ navigate: e, receipt: t }) {
let [n, r] = (0, F.useState)(null);
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(RW, {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(LW, {
tab: "library",
navigate: e,
find: () => r({})
- }), /* @__PURE__ */ (0, I.jsx)(hW, {
+ }), /* @__PURE__ */ (0, I.jsx)(mW, {
prefill: n,
close: () => r(null),
receipt: t
})] });
}
// src/react/router/pages/catalog.tsx
-var BW = () => uu, VW = W.navigation.seq, HW = W.navigation.openEpoch, UW = W.navigation.location.pathname, WW = {
- seq: VW,
+var zW = () => uu, BW = W.navigation.seq, VW = W.navigation.openEpoch, HW = W.navigation.location.pathname, UW = {
+ seq: BW,
claimed: !0,
- from: UW
+ from: HW
};
W.listen((e) => {
- WW = {
+ UW = {
seq: e.seq,
- claimed: e.openEpoch === HW,
- from: UW
- }, HW = e.openEpoch, UW = e.location.pathname;
+ claimed: e.openEpoch === VW,
+ from: HW
+ }, VW = e.openEpoch, HW = e.location.pathname;
});
-var GW = !1;
-function KW(e) {
+var WW = !1;
+function GW(e) {
let { seq: t, openEpoch: n, location: r } = W.navigation, i = Rf(r.pathname), a = Op() ?? r, o = U ?? {};
return {
seq: t,
@@ -49912,7 +49912,7 @@ function KW(e) {
opened: e
};
}
-function qW(e, t, n, r) {
+function KW(e, t, n, r) {
let i = { ...U }, a = om("catalog");
if (a) return { ...a };
if (e === "/trash") return {
@@ -49924,7 +49924,7 @@ function qW(e, t, n, r) {
state: "trash",
q: ""
};
- let o = new URLSearchParams(t), { defaultSort: s, defaultSortDirection: c } = uM().value;
+ let o = new URLSearchParams(t), { defaultSort: s, defaultSortDirection: c } = dM().value;
return {
...i,
loc: o.get("loc") ?? r.defaultLoc(),
@@ -49938,7 +49938,7 @@ function qW(e, t, n, r) {
dur_max: o.get("dur_max") || "",
orient: o.get("orient") || "",
state: On[e] || o.get("state") || "",
- ...Gj(o.get("sort"), o.get("dir"), s, c),
+ ...Kj(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") || "",
@@ -49949,14 +49949,14 @@ function qW(e, t, n, r) {
folder_recursive: o.get("folder_recursive") === "0" ? "0" : ""
};
}
-function JW(e) {
+function qW(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 YW(e, t) {
- let n = { ...e }, r = KW(n.opened);
+function JW(e, t) {
+ let n = { ...e }, r = GW(n.opened);
Object.assign(e, r);
let i = t.catalog;
if (!i || r.opens === 0) return;
@@ -49968,39 +49968,39 @@ function YW(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;
- JW(() => i.load());
+ qW(() => i.load());
return;
}
- r.epoch !== n.epoch && (a = W.navigation.action === "POP" && WW.from !== "/");
+ r.epoch !== n.epoch && (a = W.navigation.action === "POP" && UW.from !== "/");
}
let { pathname: o, search: s } = W.navigation.location;
if (o === "/" && new URLSearchParams(s).get("state") === "ads") {
- let { kind: e, view: t } = ZU(s);
- GW = !0, Ep(QU(e, t), { replace: !0 });
+ let { kind: e, view: t } = XU(s);
+ WW = !0, Ep(ZU(e, t), { replace: !0 });
return;
}
- let c = GW;
- GW = !1, a &&= o === "/" && !sm(), e.opened = !0, yu({ state: qW(o, s, a, i) }), JW(() => i.open(o, {
+ let c = WW;
+ WW = !1, a &&= o === "/" && !sm(), e.opened = !0, yu({ state: KW(o, s, a, i) }), qW(() => i.open(o, {
entering: a,
retitle: c
}));
}
-function XW() {
- let e = (0, F.useContext)(oG), t = aG(), n = (0, F.useSyncExternalStore)(xu, BW), r = Qd(), i = (0, F.useRef)(null), a = (0, F.useRef)({
+function YW() {
+ let e = (0, F.useContext)(aG), t = iG(), n = (0, F.useSyncExternalStore)(xu, zW), 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 = KW(!Rf(W.navigation.location.pathname));
- return !t.covered && t.opens > 0 && (GW || WW.seq === VW ? t.opens = -1 : WW.claimed ? t.seq = -1 : t.epoch = -1), i.current = t, () => {
+ let t = GW(!Rf(W.navigation.location.pathname));
+ return !t.covered && t.opens > 0 && (WW || UW.seq === BW ? t.opens = -1 : UW.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 && YW(i.current, e);
+ t.queued = !1, t.mounted && i.current && JW(i.current, e);
}));
}, [
t,
@@ -50009,7 +50009,7 @@ function XW() {
e
]), null;
}
-function ZW() {
+function XW() {
let { pathname: e } = Qd();
return (0, F.useLayoutEffect)(() => {
if (e !== "/wall") return;
@@ -50022,19 +50022,19 @@ function ZW() {
e.inert = n[t] || !1;
});
};
- }, [e]), Rf(e) && !Lf(e) ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(XW, {}, e === "/junk-files" ? "/junk-files" : "/"), An(e) ? /* @__PURE__ */ (0, I.jsx)(dG, {}) : null] });
+ }, [e]), Rf(e) && !Lf(e) ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(YW, {}, e === "/junk-files" ? "/junk-files" : "/"), An(e) ? /* @__PURE__ */ (0, I.jsx)(uG, {}) : null] });
}
-function QW() {
- let e = (0, F.useContext)(oG), t = document.getElementById("javLibraryHeader");
- return t && e ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(zW, {
+function ZW() {
+ let e = (0, F.useContext)(aG), t = document.getElementById("javLibraryHeader");
+ return t && e ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(RW, {
navigate: e.navigate,
receipt: (t) => e.receipt(t)
}), t) : null;
}
// src/react/router/pages/overlay.tsx
-var $W = () => uu, eG = () => du;
-function tG() {
- let e = (0, F.useContext)(oG), t = (0, F.useSyncExternalStore)(xu, eG), n = (0, F.useSyncExternalStore)(xu, $W);
+var QW = () => uu, $W = () => du;
+function eG() {
+ let e = (0, F.useContext)(aG), t = (0, F.useSyncExternalStore)(xu, $W), n = (0, F.useSyncExternalStore)(xu, QW);
return (0, F.useEffect)(() => {
if (!t || !n) return;
let r = !0;
@@ -50049,8 +50049,8 @@ function tG() {
e
]), null;
}
-function nG(e, t = !1) {
- let n = (0, F.useSyncExternalStore)(xu, $W), r = (0, F.useRef)(void 0);
+function tG(e, t = !1) {
+ let n = (0, F.useSyncExternalStore)(xu, QW), 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";
@@ -50069,11 +50069,11 @@ function nG(e, t = !1) {
}));
}, [n]);
}
-function rG() {
- let e = (0, F.useContext)(oG), t = (0, F.useRef)(e);
+function nG() {
+ let e = (0, F.useContext)(aG), t = (0, F.useRef)(e);
return (0, F.useLayoutEffect)(() => {
t.current = e;
- }, [e]), nG((t) => {
+ }, [e]), tG((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)(() => () => {
@@ -50082,8 +50082,8 @@ function rG() {
});
}, []), null;
}
-function nye({ path: e }) {
- aG();
+function rye({ path: e }) {
+ iG();
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,
@@ -50095,24 +50095,24 @@ function nye({ path: e }) {
seq: n,
navigationSeq: n,
settings: !1
- }), /* @__PURE__ */ (0, I.jsx)(rG, {}, `${e} ${o.current.seq}`);
+ }), /* @__PURE__ */ (0, I.jsx)(nG, {}, `${e} ${o.current.seq}`);
}
-function rye() {
- let e = (0, F.useContext)(oG);
- return nG(() => {
+function iye() {
+ let e = (0, F.useContext)(aG);
+ return tG(() => {
e?.follow?.ground();
}), null;
}
-function iye() {
- return /* @__PURE__ */ (0, I.jsx)(rye, {}, aG());
+function aye() {
+ return /* @__PURE__ */ (0, I.jsx)(iye, {}, iG());
}
// src/react/router/router.tsx
-var iG = (0, F.createContext)(0), aG = () => (0, F.useContext)(iG), oG = (0, F.createContext)(null);
-function aye({ children: e }) {
+var rG = (0, F.createContext)(0), iG = () => (0, F.useContext)(rG), aG = (0, F.createContext)(null);
+function oye({ 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)(iG.Provider, {
+ })), []), /* @__PURE__ */ (0, I.jsx)(rG.Provider, {
value: t.openEpoch,
children: /* @__PURE__ */ (0, I.jsx)(Cf, {
location: t.location,
@@ -50122,34 +50122,34 @@ function aye({ children: e }) {
})
});
}
-function oye({ target: e }) {
+function sye({ target: e }) {
let t = ef();
return (0, F.useLayoutEffect)(() => {
e.current = t;
}), null;
}
-function sye(e, t, n) {
+function cye(e, t, n) {
let r = new URL(e, window.location.href);
- z6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);
+ R6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);
}
-function cye() {
- let e = (0, F.useContext)(oG), [t, n] = (0, F.useState)(lp), r = (0, F.useRef)(null);
+function lye() {
+ let e = (0, F.useContext)(aG), [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 && sye(t, e, r.current);
+ e && r.current && cye(t, e, r.current);
}, [e]);
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(oye, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, I.jsx)(lye, {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(sye, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, I.jsx)(uye, {
entry: t,
- children: /* @__PURE__ */ (0, I.jsx)(uye, {
+ children: /* @__PURE__ */ (0, I.jsx)(dye, {
entry: t,
actions: e,
go: i
})
}, t.revision)) : null] });
}
-var lye = class extends F.Component {
+var uye = class extends F.Component {
state = { failed: !1 };
static getDerivedStateFromError() {
return { failed: !0 };
@@ -50160,48 +50160,48 @@ var lye = class extends F.Component {
render() {
return this.state.failed ? null : this.props.children;
}
-}, uye = (0, F.memo)(function({ entry: e, actions: t, go: n }) {
- return $6(e.path) ? (0, Lt.createPortal)(PFe(e.path, e.props, t, n), e.host, String(e.revision)) : null;
+}, dye = (0, F.memo)(function({ entry: e, actions: t, go: n }) {
+ return Q6(e.path) ? (0, Lt.createPortal)(LFe(e.path, e.props, t, n), e.host, String(e.revision)) : null;
});
-function dye({ children: e }) {
+function fye({ children: e }) {
let t = Qd();
- aG();
+ iG();
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(R6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {
+ Object.entries(L6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {
path: e,
element: t.element
}, e)),
- Object.entries(AFe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {
+ Object.entries(NFe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {
path: e,
element: t.element
}, e)),
- Object.entries(B6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {
+ Object.entries(z6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {
path: e,
element: t.element
}, e)),
- Object.entries(U6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {
+ Object.entries(H6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {
path: e,
element: t.element
}, e)),
- Object.entries(G6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {
+ Object.entries(W6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {
path: e,
element: t.element
}, e)),
- Q6.map((e) => /* @__PURE__ */ (0, I.jsx)(Sf, {
+ Z6.map((e) => /* @__PURE__ */ (0, I.jsx)(Sf, {
path: e,
- element: K6["/"].element
+ element: G6["/"].element
}, e)),
- Object.entries(jFe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Sf, {
+ Object.entries(PFe).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)(iye, {}) : K6["/"].element
+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, I.jsx)(aye, {}) : G6["/"].element
}, e)),
kf.map((e) => /* @__PURE__ */ (0, I.jsx)(Sf, {
path: e,
@@ -50217,7 +50217,7 @@ function dye({ children: e }) {
location: r ?? t,
children: [Pf.map((e) => /* @__PURE__ */ (0, I.jsx)(Sf, {
path: e,
- element: /* @__PURE__ */ (0, I.jsx)(nye, { path: e })
+ element: /* @__PURE__ */ (0, I.jsx)(rye, { path: e })
}, e)), /* @__PURE__ */ (0, I.jsx)(Sf, {
path: "*",
element: null
@@ -50225,38 +50225,38 @@ function dye({ children: e }) {
}),
/* @__PURE__ */ (0, I.jsxs)(wf, { children: [kf.map((e) => /* @__PURE__ */ (0, I.jsx)(Sf, {
path: e,
- element: /* @__PURE__ */ (0, I.jsx)(Pve, {})
+ element: /* @__PURE__ */ (0, I.jsx)(Fve, {})
}, e)), /* @__PURE__ */ (0, I.jsx)(Sf, {
path: "*",
element: null
})] })
] });
}
-function fye({ children: e, actions: t = null, background: n, processing: r = !1 }) {
- return /* @__PURE__ */ (0, I.jsxs)(nH, { children: [n, /* @__PURE__ */ (0, I.jsx)(oG.Provider, {
+function pye({ children: e, actions: t = null, background: n, processing: r = !1 }) {
+ return /* @__PURE__ */ (0, I.jsxs)(tH, { children: [n, /* @__PURE__ */ (0, I.jsx)(aG.Provider, {
value: t,
- children: /* @__PURE__ */ (0, I.jsxs)(aye, { children: [
- /* @__PURE__ */ (0, I.jsx)(cye, {}),
- /* @__PURE__ */ (0, I.jsx)(QW, {}),
- /* @__PURE__ */ (0, I.jsx)(tG, {}),
- r && t ? /* @__PURE__ */ (0, I.jsx)(tve, { toast: t.toast }) : null,
- r && t ? /* @__PURE__ */ (0, I.jsx)(ave, {}) : 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)(dye, { children: e })
+ children: /* @__PURE__ */ (0, I.jsxs)(oye, { children: [
+ /* @__PURE__ */ (0, I.jsx)(lye, {}),
+ /* @__PURE__ */ (0, I.jsx)(ZW, {}),
+ /* @__PURE__ */ (0, I.jsx)(eG, {}),
+ r && t ? /* @__PURE__ */ (0, I.jsx)(nve, { toast: t.toast }) : null,
+ r && t ? /* @__PURE__ */ (0, I.jsx)(ove, {}) : null,
+ r && t ? /* @__PURE__ */ (0, I.jsx)(Pve, { navigate: t.navigate }) : null,
+ r && t ? /* @__PURE__ */ (0, I.jsx)(Ave, { actions: t }) : null,
+ /* @__PURE__ */ (0, I.jsx)(fye, { children: e })
] })
})] });
}
-var pye = { onCaughtError: (e) => {
+var mye = { onCaughtError: (e) => {
globalThis.reportError?.(e);
-} }, sG = {
+} }, oG = {
category: "个人分类",
creator: "创作者/账号",
performer: "人物",
seller: "卖家",
studio: "厂牌"
};
-function cG(e, t = "", n = "") {
+function sG(e, t = "", n = "") {
let r = new URLSearchParams({
...e,
folder: t,
@@ -50268,14 +50268,14 @@ function cG(e, t = "", n = "") {
queryFn: ({ signal: e }) => B(`/api/folders?${r}`, e)
};
}
-function lG(e, t) {
+function cG(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 mye({ folder: e, rule: t, revision: n, close: r }) {
- let i = (0, F.useContext)(oG), a = kH(), [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 hye({ folder: e, rule: t, revision: n, close: r }) {
+ let i = (0, F.useContext)(aG), 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,
@@ -50304,7 +50304,7 @@ function mye({ folder: e, rule: t, revision: n, close: r }) {
})
})).confirmed ? b("已移除目录规则") : _(!1);
}, w = !!a.busy, T = (e, t) => a.busy === e ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: zs(t) } }), t] }) : null;
- return g ? null : /* @__PURE__ */ (0, I.jsx)(SV, {
+ return g ? null : /* @__PURE__ */ (0, I.jsx)(xV, {
isOpen: !0,
onOpenChange: (e) => {
!e && !w && r();
@@ -50318,7 +50318,7 @@ function mye({ 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)(nR, {
+ children: [/* @__PURE__ */ (0, I.jsx)(tR, {
slot: "title",
className: "text-title-2-medium",
children: "设置目录用途"
@@ -50326,7 +50326,7 @@ function mye({ folder: e, rule: t, revision: n, close: r }) {
className: "mt-1 text-body-2-regular text-text-secondary wrap-anywhere",
children: e.path
})]
- }), /* @__PURE__ */ (0, I.jsx)(OV, {
+ }), /* @__PURE__ */ (0, I.jsx)(DV, {
label: "关闭目录用途",
onPress: () => {
w || r();
@@ -50338,20 +50338,20 @@ function mye({ folder: e, rule: t, revision: n, close: r }) {
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, I.jsx)(hV, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, I.jsx)(rW, {
+ children: [/* @__PURE__ */ (0, I.jsx)(mV, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, I.jsx)(nW, {
"aria-label": "这个文件夹用于",
selectedKey: o,
isDisabled: w,
onSelectionChange: (e) => {
s(e), y();
},
- children: Object.entries(sG).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(iW, {
+ children: Object.entries(oG).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(rW, {
id: e,
children: t
}, e))
})]
}),
- o === "category" ? null : /* @__PURE__ */ (0, I.jsx)(xV, {
+ o === "category" ? null : /* @__PURE__ */ (0, I.jsx)(bV, {
label: "关联名称",
value: c,
onChange: (e) => {
@@ -50362,7 +50362,7 @@ function mye({ folder: e, rule: t, revision: n, close: r }) {
isDisabled: w,
isRequired: !0
}),
- /* @__PURE__ */ (0, I.jsx)($V, {
+ /* @__PURE__ */ (0, I.jsx)(QV, {
isSelected: u,
isDisabled: w,
onChange: (e) => {
@@ -50370,7 +50370,7 @@ function mye({ folder: e, rule: t, revision: n, close: r }) {
},
children: "应用到子文件夹"
}),
- /* @__PURE__ */ (0, I.jsx)($V, {
+ /* @__PURE__ */ (0, I.jsx)(QV, {
isSelected: f,
isDisabled: w,
onChange: (e) => {
@@ -50407,9 +50407,9 @@ function mye({ folder: e, rule: t, revision: n, close: r }) {
children: e.name
}, e.id))
}) : null,
- m.conflicts.length ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ m.conflicts.length ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "warning",
- extra: /* @__PURE__ */ (0, I.jsx)(eU, {
+ extra: /* @__PURE__ */ (0, I.jsx)($H, {
summary: "查看归属冲突",
children: /* @__PURE__ */ (0, I.jsx)("ul", {
className: "mt-2 flex flex-col gap-2",
@@ -50427,7 +50427,7 @@ function mye({ folder: e, rule: t, revision: n, close: r }) {
}) : null
]
}) : null,
- a.error ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ a.error ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
children: a.error
}) : null
@@ -50442,7 +50442,7 @@ function mye({ folder: e, rule: t, revision: n, close: r }) {
onClick: () => {
w || C();
},
- ...kV(a.busy === "remove"),
+ ...OV(a.busy === "remove"),
children: "移除规则"
}) : null,
/* @__PURE__ */ (0, I.jsx)(J, {
@@ -50454,13 +50454,13 @@ function mye({ folder: e, rule: t, revision: n, close: r }) {
}),
m ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "primary",
- ...kV(a.busy === "save"),
+ ...OV(a.busy === "save"),
onClick: S,
children: T("save", "正在保存") || "保存目录用途"
}) : /* @__PURE__ */ (0, I.jsx)(J, {
variant: "primary",
disabled: o !== "category" && !c.trim(),
- ...kV(a.busy === "preview"),
+ ...OV(a.busy === "preview"),
onClick: () => {
x();
},
@@ -50473,7 +50473,7 @@ function mye({ folder: e, rule: t, revision: n, close: r }) {
});
}
// src/react/catalog-folders/use-folder-sticky-offset.ts
-function hye(e, t) {
+function gye(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 = () => {
@@ -50496,34 +50496,34 @@ function hye(e, t) {
}, [e, t]);
}
// src/react/catalog-folders/catalog-folders-page.tsx
-function uG() {
- return Zd() ? /* @__PURE__ */ (0, I.jsx)(gye, {}) : null;
+function lG() {
+ return Zd() ? /* @__PURE__ */ (0, I.jsx)(_ye, {}) : null;
}
-function gye() {
- let e = Qd(), t = (0, F.useContext)(oG);
+function _ye() {
+ let e = Qd(), t = (0, F.useContext)(aG);
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)(SL, {
+ return /* @__PURE__ */ (0, I.jsx)(xL, {
size: "small",
"data-folder-mode-toggle": "",
"aria-label": "文件夹模式",
title: "文件夹模式",
"aria-pressed": r,
- icon: KB,
- onClick: () => t?.navigate(lG(e, r ? {
+ icon: GB,
+ onClick: () => t?.navigate(cG(e, r ? {
browse: null,
folder: null,
folder_recursive: null
} : { browse: "folders" }))
});
}
-function _ye({ children: e, enabled: t }) {
- return Zd() ? /* @__PURE__ */ (0, I.jsx)(vye, {
+function vye({ children: e, enabled: t }) {
+ return Zd() ? /* @__PURE__ */ (0, I.jsx)(yye, {
enabled: t,
children: e
}) : /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: e });
}
-function vye({ children: e, enabled: t }) {
+function yye({ 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",
@@ -50543,7 +50543,7 @@ function vye({ children: e, enabled: t }) {
hidden: !c
}), e]
}),
- n && i ? /* @__PURE__ */ (0, I.jsx)(dG, {
+ n && i ? /* @__PURE__ */ (0, I.jsx)(uG, {
treeTarget: n,
headerTarget: i,
enabled: t
@@ -50551,14 +50551,14 @@ function vye({ children: e, enabled: t }) {
]
});
}
-function dG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
- let r = Qd(), i = (0, F.useContext)(oG), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {
+function uG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
+ let r = Qd(), i = (0, F.useContext)(aG), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {
loc: a.get("loc") ?? "",
library: a.get("library") ?? ""
};
- hye(o, e);
+ gye(o, e);
let c = a.get("folder") || "", l = Pt({
- ...cG(s, c),
+ ...sG(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), () => {
@@ -50572,11 +50572,11 @@ function dG({ 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(lG(r, {
+ d(!1), i.navigate(cG(r, {
browse: "folders",
folder: e
}));
- }, _ = l.data, v = /* @__PURE__ */ (0, I.jsx)(bye, {
+ }, _ = l.data, v = /* @__PURE__ */ (0, I.jsx)(xye, {
scope: s,
selected: c,
current: _,
@@ -50593,21 +50593,21 @@ function dG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
children: [
/* @__PURE__ */ (0, I.jsx)("span", {
className: "folder-drawer-trigger",
- children: /* @__PURE__ */ (0, I.jsx)(SL, {
+ children: /* @__PURE__ */ (0, I.jsx)(xL, {
"aria-label": "打开文件夹目录",
- icon: cge,
+ icon: lge,
size: "small",
onClick: () => d(!0)
})
}),
- /* @__PURE__ */ (0, I.jsxs)(Oge, {
+ /* @__PURE__ */ (0, I.jsxs)(kge, {
"aria-label": "文件夹路径",
- children: [/* @__PURE__ */ (0, I.jsx)(WV, {
+ children: [/* @__PURE__ */ (0, I.jsx)(UV, {
current: !c,
onClick: () => g(""),
- icon: KB,
+ icon: GB,
children: "全部文件夹"
- }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, I.jsx)(WV, {
+ }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, I.jsx)(UV, {
current: t === _.ancestors.length - 1,
onClick: () => g(e.id),
children: /* @__PURE__ */ (0, I.jsx)("span", {
@@ -50617,15 +50617,15 @@ function dG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
})
}, e.id))]
}),
- _?.selected ? /* @__PURE__ */ (0, I.jsx)(SL, {
+ _?.selected ? /* @__PURE__ */ (0, I.jsx)(xL, {
"aria-label": "设置目录用途",
- icon: Yhe,
+ icon: Xhe,
size: "small",
onClick: () => p(!0)
}) : null
]
}),
- l.error && !u ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ l.error && !u ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -50637,7 +50637,7 @@ function dG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
}),
children: cr(l.error)
}) : null,
- _?.conflicts?.length ? /* @__PURE__ */ (0, I.jsxs)(wV, {
+ _?.conflicts?.length ? /* @__PURE__ */ (0, I.jsxs)(CV, {
tone: "warning",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -50649,14 +50649,14 @@ function dG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
}) : null,
_?.selected ? /* @__PURE__ */ (0, I.jsxs)("div", {
className: "folder-scope-row",
- children: [/* @__PURE__ */ (0, I.jsx)($V, {
+ children: [/* @__PURE__ */ (0, I.jsx)(QV, {
size: "sm",
isSelected: a.get("folder_recursive") !== "0",
- onChange: (e) => i.navigate(lG(r, { folder_recursive: e ? null : "0" })),
+ onChange: (e) => i.navigate(cG(r, { folder_recursive: e ? null : "0" })),
children: "包含子文件夹"
}), /* @__PURE__ */ (0, I.jsx)("span", {
className: "text-caption-1-regular text-text-tertiary",
- children: _.rule ? `${sG[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"
+ children: _.rule ? `${oG[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"
})]
}) : null,
l.isPending ? /* @__PURE__ */ (0, I.jsx)("div", {
@@ -50666,13 +50666,13 @@ function dG({ 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)(yye, {
+ _?.children.length ? /* @__PURE__ */ (0, I.jsx)(bye, {
nodes: _.children,
go: g
}, c) : null
]
}), h),
- /* @__PURE__ */ (0, I.jsxs)(SV, {
+ /* @__PURE__ */ (0, I.jsxs)(xV, {
isOpen: u,
onOpenChange: d,
width: "form",
@@ -50682,7 +50682,7 @@ function dG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
children: [/* @__PURE__ */ (0, I.jsx)("h2", {
className: "text-title-2-medium",
children: "文件夹"
- }), /* @__PURE__ */ (0, I.jsx)(OV, {
+ }), /* @__PURE__ */ (0, I.jsx)(DV, {
label: "关闭文件夹目录",
onPress: () => d(!1)
})]
@@ -50691,7 +50691,7 @@ function dG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
children: u ? v : null
})]
}),
- f && _?.selected ? /* @__PURE__ */ (0, I.jsx)(mye, {
+ f && _?.selected ? /* @__PURE__ */ (0, I.jsx)(hye, {
folder: _.selected,
rule: _.rule,
revision: _.rules_revision,
@@ -50699,7 +50699,7 @@ function dG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
}, _.selected.id) : null
] });
}
-function yye({ nodes: e, go: t }) {
+function bye({ 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",
@@ -50710,7 +50710,7 @@ function yye({ nodes: e, go: t }) {
children: a.map((e) => /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: KB,
+ leadingIcon: GB,
onClick: () => t(e.id),
children: /* @__PURE__ */ (0, I.jsx)("span", {
className: "truncate",
@@ -50727,28 +50727,28 @@ function yye({ nodes: e, go: t }) {
}) : null]
});
}
-function bye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
- let a = Pt(cG(e)), [o, s] = (0, F.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, F.useState)(""), u = (0, F.useDeferredValue)(c), d = Pt({
- ...cG(e, "", u),
+function xye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
+ let a = Pt(sG(e)), [o, s] = (0, F.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, F.useState)(""), u = (0, F.useDeferredValue)(c), d = Pt({
+ ...sG(e, "", u),
enabled: !!u.trim()
- }), f = eH();
+ }), 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) => cG(e, t)) }), h = /* @__PURE__ */ new Map();
+ let p = [...o].map(String), m = Mt({ queries: p.map((t) => sG(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);
let g = (e) => {
let t = h.get(e.id);
- return /* @__PURE__ */ (0, I.jsx)(YV, {
+ return /* @__PURE__ */ (0, I.jsx)(JV, {
id: e.id,
label: e.name,
- icon: KB,
- expandedIcon: JB,
+ icon: GB,
+ expandedIcon: qB,
iconClassName: "size-(--icon-inline)",
trailingContent: e.parent ? void 0 : e.location === "local" ? "本地" : e.location,
- children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, I.jsx)(YV, {
+ children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, I.jsx)(JV, {
id: `${e.id}:loading`,
label: "正在读取文件夹",
isDisabled: !0
@@ -50764,15 +50764,15 @@ function bye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
"aria-label": "文件夹导航",
className: "catalog-folder-navigation flex min-h-0 min-w-0 flex-col gap-3",
children: [
- /* @__PURE__ */ (0, I.jsx)(xV, {
+ /* @__PURE__ */ (0, I.jsx)(bV, {
"aria-label": "查找文件夹",
placeholder: "查找文件夹",
- leadingIcon: oV,
+ leadingIcon: aV,
value: c,
onChange: l,
size: "small"
}),
- v ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ v ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -50807,20 +50807,20 @@ function bye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
"aria-busy": "true",
className: "h-8 skeleton-sheen",
"aria-label": "正在查找文件夹"
- }) : d.error ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ }) : d.error ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
children: cr(d.error)
}) : d.data?.matches.length ? d.data.matches.map((e) => /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: KB,
+ leadingIcon: GB,
onClick: () => {
l(""), r(e.id);
},
children: e.name
- }, e.id)) : /* @__PURE__ */ (0, I.jsx)(TV, {
+ }, e.id)) : /* @__PURE__ */ (0, I.jsx)(wV, {
size: "compact",
- icon: oV,
+ icon: aV,
title: "没有匹配的文件夹",
actions: /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
@@ -50829,7 +50829,7 @@ function bye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
}),
children: "换个目录名称试试。"
})
- }) : a.data?.roots.length ? /* @__PURE__ */ (0, I.jsx)(jge, {
+ }) : a.data?.roots.length ? /* @__PURE__ */ (0, I.jsx)(Mge, {
"aria-label": "媒体目录",
size: "sm",
expandedKeys: o,
@@ -50837,11 +50837,11 @@ function bye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
selectedKeys: new Set(t ? [t] : []),
onSelectionChange: _,
children: a.data?.roots.map(g)
- }) : /* @__PURE__ */ (0, I.jsx)(TV, {
+ }) : /* @__PURE__ */ (0, I.jsx)(wV, {
size: "compact",
- icon: KB,
+ icon: GB,
title: "尚未添加媒体目录",
- actions: /* @__PURE__ */ (0, I.jsx)(PL, {
+ actions: /* @__PURE__ */ (0, I.jsx)(NL, {
size: "small",
href: "/settings/library",
children: "添加媒体"
@@ -50854,63 +50854,63 @@ function bye({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
});
}
// src/react/catalog-grid/catalog-view.ts
-var fG = "peach.catalog-view.v1", pG = /* @__PURE__ */ new Set(), mG = "cards";
-function hG() {
+var dG = "peach.catalog-view.v1", fG = /* @__PURE__ */ new Set(), pG = "cards";
+function mG() {
try {
- return localStorage.getItem(fG) === "list" ? "list" : "cards";
+ return localStorage.getItem(dG) === "list" ? "list" : "cards";
} catch {
- return mG;
+ return pG;
}
}
-function xye(e) {
- mG = e === "list" ? "list" : "cards";
+function Sye(e) {
+ pG = e === "list" ? "list" : "cards";
try {
- localStorage.setItem(fG, mG);
+ localStorage.setItem(dG, pG);
} catch {}
- pG.forEach((e) => e());
+ fG.forEach((e) => e());
}
-function Sye(e) {
- pG.add(e);
+function Cye(e) {
+ fG.add(e);
let t = (t) => {
- (t.key === fG || t.key === null) && e();
+ (t.key === dG || t.key === null) && e();
};
return addEventListener("storage", t), () => {
- pG.delete(e), removeEventListener("storage", t);
+ fG.delete(e), removeEventListener("storage", t);
};
}
-var gG = () => (0, F.useSyncExternalStore)(Sye, hG, () => "cards");
+var hG = () => (0, F.useSyncExternalStore)(Cye, mG, () => "cards");
// src/react/catalog-grid/catalog-view-toggle.tsx
-function _G() {
- let e = gG();
- return /* @__PURE__ */ (0, I.jsxs)(qz, {
+function gG() {
+ let e = hG();
+ return /* @__PURE__ */ (0, I.jsxs)(Kz, {
"aria-label": "馆藏显示方式",
orientation: "horizontal",
value: e,
- onChange: xye,
+ onChange: Sye,
"data-entity-layout": "",
- className: xU,
- children: [/* @__PURE__ */ (0, I.jsx)(Jz, {
+ className: bU,
+ children: [/* @__PURE__ */ (0, I.jsx)(qz, {
value: "cards",
"aria-label": "卡片",
- className: SU,
+ className: xU,
"data-glass-segment": "",
children: /* @__PURE__ */ (0, I.jsx)("span", {
title: "卡片",
className: "pointer-events-none contents",
- children: /* @__PURE__ */ (0, I.jsx)(QB, {
+ children: /* @__PURE__ */ (0, I.jsx)(ZB, {
"aria-hidden": "true",
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, I.jsx)(Jz, {
+ }), /* @__PURE__ */ (0, I.jsx)(qz, {
value: "list",
"aria-label": "列表",
- className: SU,
+ className: xU,
"data-glass-segment": "",
children: /* @__PURE__ */ (0, I.jsx)("span", {
title: "列表",
className: "pointer-events-none contents",
- children: /* @__PURE__ */ (0, I.jsx)(ige, {
+ children: /* @__PURE__ */ (0, I.jsx)(age, {
"aria-hidden": "true",
className: "size-4"
})
@@ -50919,8 +50919,8 @@ function _G() {
});
}
// src/react/components/icon-swap.tsx
-function vG({ a: e, b: t, state: n, className: r }) {
- let { isFocusVisible: i } = AC();
+function _G({ a: e, b: t, state: n, className: r }) {
+ let { isFocusVisible: i } = MC();
return /* @__PURE__ */ (0, I.jsxs)("span", {
"aria-hidden": !0,
className: `iconswap ${r || ""}`,
@@ -50936,114 +50936,114 @@ function vG({ a: e, b: t, state: n, className: r }) {
})]
});
}
-function yG({ className: e }) {
- return /* @__PURE__ */ (0, I.jsx)(vG, {
- a: Ahe,
- b: khe,
+function vG({ className: e }) {
+ return /* @__PURE__ */ (0, I.jsx)(_G, {
+ a: jhe,
+ b: Ahe,
className: e
});
}
// src/react/follow-feed/follow-marks.ts
-var bG = (e) => typeof e == "string" ? e : "", xG = (e) => e.aliases;
-function SG(e, t = "") {
+var yG = (e) => typeof e == "string" ? e : "", bG = (e) => e.aliases;
+function xG(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 CG(e, t = "") {
+function SG(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 wG = (e) => bG(e.title).trim() || "未命名内容", TG = (e, t) => ai(e, xG(t));
-function EG(e) {
+var CG = (e) => yG(e.title).trim() || "未命名内容", wG = (e, t) => ai(e, bG(t));
+function TG(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 = bG(n.entity_name);
+ let n = t[0], r = yG(n.entity_name);
return cn("creator", r, n.entity_id), r;
}
-function DG(e, t) {
+function EG(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 OG(e, t, n) {
- let r = xG(n), i = e.credit, a = i?.poster;
+function DG(e, t, n) {
+ let r = bG(n), i = e.credit, a = i?.poster;
if (!a) {
let n = ai(t, r);
return {
- author: n || bG(e.author) || bG(e.source_label) || "创作者未取得",
- avatar: DG(t, n),
+ author: n || yG(e.author) || yG(e.source_label) || "创作者未取得",
+ avatar: EG(t, n),
credited: "",
- entityName: EG(t)
+ entityName: TG(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: DG(c, l),
+ avatar: EG(c, l),
credited: i.credited || "",
- entityName: EG(c)
+ entityName: TG(c)
};
}
-function kG(e, t = e.primary) {
+function OG(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 = bG(e.primary.version);
+ let i = yG(e.primary.version);
i && n.push(r("version", z(i)));
- let a = bG(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
+ let a = yG(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
return o && n.push(r(a, o)), n.join("");
}
-function AG(e, t = e.primary) {
+function kG(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]) => SG(e, t) || `<span>${z(t)}</span>`).join("");
+ let r = [...n].map(([e, t]) => xG(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 jG(e, t) {
- let n = bG(e.media_error);
+function AG(e, t) {
+ let n = yG(e.media_error);
return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";
}
-var Cye = 864e5, wye = (e, t) => {
+var wye = 864e5, Tye = (e, t) => {
let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();
- return Number.isFinite(n) && n - t > Cye;
+ return Number.isFinite(n) && n - t > wye;
};
-function MG(e, t) {
- let n = bG(e.published_at);
+function jG(e, t) {
+ let n = yG(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: wye(n, t) ? " · 晚于现在" : ""
+ suffix: Tye(n, t) ? " · 晚于现在" : ""
};
}
-function NG(e, t = Date.now()) {
- let n = MG(e, t);
+function MG(e, t = Date.now()) {
+ let n = jG(e, t);
return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";
}
-function Tye(e, t = Date.now()) {
- let n = MG(e, t);
+function Eye(e, t = Date.now()) {
+ let n = jG(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 PG = /* @__PURE__ */ new Set(), FG = [], IG = null;
-function LG() {
- if (IG = null, !FG.length) return;
- let e = FG.splice(0, 200);
+var NG = /* @__PURE__ */ new Set(), PG = [], FG = null;
+function IG() {
+ if (FG = null, !PG.length) return;
+ let e = PG.splice(0, 200);
wn("/api/follow/image-dims", {
method: "POST",
body: JSON.stringify({ entries: e })
- }).catch(() => {}), FG.length && (IG = setTimeout(LG, 800));
+ }).catch(() => {}), PG.length && (FG = setTimeout(IG, 800));
}
-function Eye(e, t, n, r) {
+function Dye(e, t, n, r) {
let i = `${e}:${t ?? ""}`;
- PG.has(i) || (PG.add(i), FG.push(t === null ? {
+ NG.has(i) || (NG.add(i), PG.push(t === null ? {
item: e,
width: n,
height: r
@@ -51052,25 +51052,25 @@ function Eye(e, t, n, r) {
width: n,
height: r,
media: t
- }), IG ||= setTimeout(LG, 800));
+ }), FG ||= setTimeout(IG, 800));
}
// src/react/entity-filter/entity-filter.ts
-var Dye = (e) => e === "videos", RG = () => /* @__PURE__ */ (0, I.jsx)("span", {
+var Oye = (e) => e === "videos", LG = () => /* @__PURE__ */ (0, I.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), Oye = DV("shuffle"), kye = DV("arrow-up"), Aye = DV("arrow-down");
-function jye(e) {
- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = Dye(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({
+}), kye = EV("shuffle"), Aye = EV("arrow-up"), jye = EV("arrow-down");
+function Mye(e) {
+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = Oye(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({
k: e,
label: t
- })) : i, m = (0, 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 = ML(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = ML(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 = ML(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 = 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}`);
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)(zG, {
+ }, [c]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(RG, {
items: o,
hidden: !l,
actions: s
- }), /* @__PURE__ */ (0, I.jsx)(DL, {
+ }), /* @__PURE__ */ (0, I.jsx)(EL, {
label: "筛选与排序",
topLabel: "媒体与标签",
attrs: {
@@ -51099,19 +51099,19 @@ function jye(e) {
})
] }),
top: !n && !d ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Fye, {
+ n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Iye, {
keys: n,
view: t,
row: _,
glide: S,
onView: s.setView
- }), d ? /* @__PURE__ */ (0, I.jsx)(RG, {}) : null] }) : null,
- T ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Nye, {
+ }), d ? /* @__PURE__ */ (0, I.jsx)(LG, {}) : null] }) : null,
+ T ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Pye, {
head: T,
row: w,
glide: E,
onMedia: s.onlineMedia
- }), /* @__PURE__ */ (0, I.jsx)(RG, {})] }) : null,
+ }), /* @__PURE__ */ (0, I.jsx)(LG, {})] }) : null,
/* @__PURE__ */ (0, I.jsxs)("div", {
ref: v,
"data-entity-scroll": "",
@@ -51132,11 +51132,11 @@ function jye(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)(RG, {}) : null]
+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, I.jsx)(LG, {}) : null]
}), /* @__PURE__ */ (0, I.jsx)("div", {
ref: y,
"data-entity-tags": "",
- children: l ? a.map((e) => /* @__PURE__ */ (0, I.jsxs)(OL, {
+ children: l ? a.map((e) => /* @__PURE__ */ (0, I.jsxs)(DL, {
"data-entity-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -51145,17 +51145,17 @@ function jye(e) {
"data-count-badge": e.k,
children: e.n.toLocaleString()
})]
- }, e.k)) : u ? /* @__PURE__ */ (0, I.jsx)(Pye, {
+ }, e.k)) : u ? /* @__PURE__ */ (0, I.jsx)(Fye, {
head: u,
actions: s
}) : null
})]
})
] }),
- bottom: /* @__PURE__ */ (0, I.jsx)(Iye, { ...e })
+ bottom: /* @__PURE__ */ (0, I.jsx)(Lye, { ...e })
})] });
}
-var Mye = [[
+var Nye = [[
"videos",
"视频",
"play",
@@ -51166,7 +51166,7 @@ var Mye = [[
"pics",
"image"
]];
-function Nye({ head: e, row: t, glide: n, onMedia: r }) {
+function Pye({ head: e, row: t, glide: n, onMedia: r }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
ref: t,
role: "group",
@@ -51174,7 +51174,7 @@ function Nye({ head: e, row: t, glide: n, onMedia: r }) {
"data-entity-media": "",
"data-online-media": "",
onPointerLeave: n.leave,
- children: Mye.map(([t, i, a, o]) => {
+ children: Nye.map(([t, i, a, o]) => {
let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -51192,7 +51192,7 @@ function Nye({ head: e, row: t, glide: n, onMedia: r }) {
})
});
}
-function Pye({ head: e, actions: t }) {
+function Fye({ head: e, actions: t }) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
e.providers.map(([n, r]) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -51202,10 +51202,10 @@ function Pye({ head: e, actions: t }) {
title: r,
"aria-label": `来源:${r}`,
onClick: () => t.onlineProvider(n),
- dangerouslySetInnerHTML: { __html: SG(n) }
+ dangerouslySetInnerHTML: { __html: xG(n) }
}, n)),
- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, I.jsx)(RG, {}) : null,
- e.tags.map((e) => /* @__PURE__ */ (0, I.jsxs)(OL, {
+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, I.jsx)(LG, {}) : null,
+ e.tags.map((e) => /* @__PURE__ */ (0, I.jsxs)(DL, {
"data-follow-tag": e.k,
"data-entity-press": "",
"data-tag-cat": `r34-${e.cat}`,
@@ -51218,7 +51218,7 @@ function Pye({ head: e, actions: t }) {
}, e.k))
] });
}
-function Fye({ keys: e, view: t, row: n, glide: r, onView: i }) {
+function Iye({ keys: e, view: t, row: n, glide: r, onView: i }) {
let a = [];
return e.people && a.push({
value: "people",
@@ -51266,7 +51266,7 @@ function Fye({ keys: e, view: t, row: n, glide: r, onView: i }) {
})
});
}
-function zG({ items: e, hidden: t, actions: n }) {
+function RG({ items: e, hidden: t, actions: n }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-entity-combo": "",
hidden: t,
@@ -51286,7 +51286,7 @@ function zG({ items: e, hidden: t, actions: n }) {
})] }) : null
});
}
-function Iye(e) {
+function Lye(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", {
@@ -51298,30 +51298,30 @@ function Iye(e) {
dangerouslySetInnerHTML: { __html: R("chevron-left") }
}), /* @__PURE__ */ (0, I.jsx)("span", { children: "全部照片" })]
}) : null,
- /* @__PURE__ */ (0, I.jsx)(Lye, {
+ /* @__PURE__ */ (0, I.jsx)(Rye, {
text: n,
busy: r
}),
- /* @__PURE__ */ (0, I.jsx)(HV, { currentHref: () => location.pathname + location.search }),
- t === "videos" && i ? /* @__PURE__ */ (0, I.jsx)(Rye, {
+ /* @__PURE__ */ (0, I.jsx)(VV, { currentHref: () => location.pathname + location.search }),
+ t === "videos" && i ? /* @__PURE__ */ (0, I.jsx)(zye, {
head: i,
actions: o
}) : null,
- t === "photos" && a ? /* @__PURE__ */ (0, I.jsx)(Bye, {
+ t === "photos" && a ? /* @__PURE__ */ (0, I.jsx)(Vye, {
head: a,
actions: o,
helpers: s
}) : null,
- t === "online" && e.online ? /* @__PURE__ */ (0, I.jsx)(zye, {
+ t === "online" && e.online ? /* @__PURE__ */ (0, I.jsx)(Bye, {
head: e.online,
actions: o
}) : null
] });
}
-function Lye({ text: e, busy: t }) {
+function Rye({ text: e, busy: t }) {
return /* @__PURE__ */ (0, I.jsx)("h3", {
"data-entity-readout": "",
- children: /* @__PURE__ */ (0, I.jsx)(bL, {
+ children: /* @__PURE__ */ (0, I.jsx)(yL, {
text: t ? void 0 : e,
busy: t,
placeholder: /* @__PURE__ */ (0, I.jsx)("span", {
@@ -51332,22 +51332,22 @@ function Lye({ text: e, busy: t }) {
})
});
}
-function BG({ name: e, label: t, value: n, options: r, onChange: i }) {
- return /* @__PURE__ */ (0, I.jsx)(qz, {
+function zG({ name: e, label: t, value: n, options: r, onChange: i }) {
+ return /* @__PURE__ */ (0, I.jsx)(Kz, {
name: e,
"aria-label": t,
orientation: "horizontal",
value: n,
onChange: i,
"data-entity-layout": "",
- className: xU,
+ className: bU,
children: r.map(([e, t, n]) => {
- let r = DV(n);
- return /* @__PURE__ */ (0, I.jsx)(Jz, {
+ let r = EV(n);
+ return /* @__PURE__ */ (0, I.jsx)(qz, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: SU,
+ className: xU,
children: /* @__PURE__ */ (0, I.jsx)("span", {
title: t,
className: "contents",
@@ -51357,38 +51357,38 @@ function BG({ name: e, label: t, value: n, options: r, onChange: i }) {
})
});
}
-function VG({ onPress: e, busy: t = !1 }) {
- return /* @__PURE__ */ (0, I.jsx)(EL, {
+function BG({ onPress: e, busy: t = !1 }) {
+ return /* @__PURE__ */ (0, I.jsx)(TL, {
"data-entity-batch": "",
label: "换一批",
busy: t,
busyStyle: "strand",
- icon: Oye,
+ icon: kye,
onPress: e
});
}
-function Rye({ head: e, actions: t }) {
- let n = gG();
+function zye({ head: e, actions: t }) {
+ let n = hG();
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(VG, { onPress: () => void t.reshuffle() }),
- e.jav && n === "cards" ? /* @__PURE__ */ (0, I.jsx)(BG, {
+ /* @__PURE__ */ (0, I.jsx)(BG, { onPress: () => void t.reshuffle() }),
+ e.jav && n === "cards" ? /* @__PURE__ */ (0, I.jsx)(zG, {
label: "JAV 卡片版式",
value: e.jav.layout,
options: e.jav.options,
onChange: t.setJavLayout
}) : null,
- /* @__PURE__ */ (0, I.jsx)(_G, {}),
- /* @__PURE__ */ (0, I.jsx)(uG, {}),
- /* @__PURE__ */ (0, I.jsx)(HG, {
+ /* @__PURE__ */ (0, I.jsx)(gG, {}),
+ /* @__PURE__ */ (0, I.jsx)(lG, {}),
+ /* @__PURE__ */ (0, I.jsx)(VG, {
sorts: e.sorts,
onSort: t.setSort
})
]
});
}
-function HG({ sorts: e, onSort: t }) {
+function VG({ 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,
@@ -51396,20 +51396,20 @@ function HG({ 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)(vG, {
- a: kye,
- b: Aye,
+ children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, I.jsx)(_G, {
+ a: Aye,
+ b: jye,
state: e.dir === "asc" ? "a" : "b",
className: "size-(--icon-inline)"
}) : null]
}, e.key)) });
}
-function zye({ head: e, actions: t }) {
+function Bye({ head: e, actions: t }) {
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(VG, { onPress: t.onlineShuffle }),
- e.media === "images" ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(BG, {
+ /* @__PURE__ */ (0, I.jsx)(BG, { onPress: t.onlineShuffle }),
+ e.media === "images" ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(zG, {
label: "图片布局",
value: e.photoLayout,
options: e.photoLayouts,
@@ -51429,27 +51429,27 @@ function zye({ head: e, actions: t }) {
dangerouslySetInnerHTML: { __html: R("captions-off") }
})]
})] }) : null,
- /* @__PURE__ */ (0, I.jsx)(HG, {
+ /* @__PURE__ */ (0, I.jsx)(VG, {
sorts: e.sorts,
onSort: t.onlineSort
})
]
});
}
-function Bye({ head: e, actions: t, helpers: n }) {
+function Vye({ 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)(VG, {
+ e.shuffle ? /* @__PURE__ */ (0, I.jsx)(BG, {
onPress: () => {
i(!0), t.reshuffle().finally(() => i(!1));
},
busy: r
}) : null,
- /* @__PURE__ */ (0, I.jsx)(BG, {
+ /* @__PURE__ */ (0, I.jsx)(zG, {
label: "图片布局",
value: e.layout,
options: e.layouts,
@@ -51464,8 +51464,8 @@ function Bye({ head: e, actions: t, helpers: n }) {
});
}
// src/react/catalog-filter/catalog-filter.ts
-var Vye = "peach.catalog.tiers.v1";
-function UG() {
+var Hye = "peach.catalog.tiers.v1";
+function HG() {
try {
let e = JSON.parse(localStorage.getItem("peach.catalog.tiers.v1") || "{}");
return {
@@ -51479,40 +51479,40 @@ function UG() {
};
}
}
-function Hye(e) {
+function Uye(e) {
try {
let t = JSON.stringify({
performers: e.performers,
studios: e.studios
});
- localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(Vye, t);
+ localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(Hye, t);
} catch {}
}
// src/react/catalog-filter/catalog-filter-page.tsx
-function Uye(e) {
- let t = !e.tiers, n = Xye(e.comboHost);
+function Wye(e) {
+ let t = !e.tiers, n = Zye(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)(zG, {
+ n ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(RG, {
items: e.combo,
hidden: e.comboHidden,
actions: e.actions
}), n) : null,
- /* @__PURE__ */ (0, I.jsx)(Kye, { ...e }),
- e.offscreen ? null : /* @__PURE__ */ (0, I.jsx)(Wye, { ...e })
+ /* @__PURE__ */ (0, I.jsx)(qye, { ...e }),
+ e.offscreen ? null : /* @__PURE__ */ (0, I.jsx)(Gye, { ...e })
]
});
}
-function Wye(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 = ML(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
+function Gye(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);
(0, F.useEffect)(() => {
n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);
}, [n]);
- let d = !e.tiers, f = GG(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
+ let d = !e.tiers, f = WG(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
return (0, F.useLayoutEffect)(() => {
if (d) {
l(!1);
@@ -51536,7 +51536,7 @@ function Wye(e) {
e.sorts
]), (0, F.useLayoutEffect)(() => {
Zs(o.current, "tagbar");
- }, [f]), /* @__PURE__ */ (0, I.jsx)(DL, {
+ }, [f]), /* @__PURE__ */ (0, I.jsx)(EL, {
label: "筛选与排序",
topLabel: "视图与标签",
attrs: {
@@ -51580,23 +51580,23 @@ function Wye(e) {
}), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: o,
"data-catalog-tags": "",
- children: [e.empty || d ? /* @__PURE__ */ (0, I.jsx)(WG, { kind: "tag" }) : null, f.map((n) => /* @__PURE__ */ (0, I.jsx)(Gye, {
+ children: [e.empty || d ? /* @__PURE__ */ (0, I.jsx)(UG, { kind: "tag" }) : null, f.map((n) => /* @__PURE__ */ (0, I.jsx)(Kye, {
tag: n,
pending: e.tiersPending,
onPress: t.toggleTag
}, n.k))]
})]
}),
- bottom: e.trash ? null : /* @__PURE__ */ (0, I.jsx)(Jye, { ...e })
+ bottom: e.trash ? null : /* @__PURE__ */ (0, I.jsx)(Yye, { ...e })
});
}
-function Gye({ tag: e, pending: t, onPress: n }) {
- return /* @__PURE__ */ (0, I.jsxs)(OL, {
+function Kye({ tag: e, pending: t, onPress: n }) {
+ return /* @__PURE__ */ (0, I.jsxs)(DL, {
"data-catalog-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
onPress: () => n(e.k),
- children: [/* @__PURE__ */ (0, I.jsx)(bL, {
+ children: [/* @__PURE__ */ (0, I.jsx)(yL, {
text: e.label,
busy: t
}), e.n == null ? null : /* @__PURE__ */ (0, I.jsx)("span", {
@@ -51605,15 +51605,15 @@ function Gye({ tag: e, pending: t, onPress: n }) {
})]
});
}
-function Kye(e) {
- yL();
+function qye(e) {
+ vL();
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 = GG(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = GG(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, F.useMemo)(() => i ? UG() : 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 = WG(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = WG(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, F.useMemo)(() => i ? HG() : 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 || Hye({
+ i || Uye({
performers: f,
studios: p
});
@@ -51634,7 +51634,7 @@ function Kye(e) {
children: [f ? /* @__PURE__ */ (0, I.jsx)("div", {
ref: o,
"data-catalog-tier": "performers",
- children: a ? /* @__PURE__ */ (0, I.jsx)(WG, { kind: "performer" }) : l.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {
+ children: a ? /* @__PURE__ */ (0, I.jsx)(UG, { kind: "performer" }) : l.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-tier-performer": "",
"data-entity-kind": "performer",
@@ -51645,7 +51645,7 @@ function Kye(e) {
dangerouslySetInnerHTML: { __html: n.ringHtml }
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-tier-name": "",
- children: /* @__PURE__ */ (0, I.jsx)(bL, {
+ children: /* @__PURE__ */ (0, I.jsx)(yL, {
text: tn("performer", n.name),
busy: e.tiersPending
})
@@ -51654,13 +51654,13 @@ function Kye(e) {
}) : null, p ? /* @__PURE__ */ (0, I.jsx)("div", {
ref: s,
"data-catalog-tier": "studios",
- children: a ? /* @__PURE__ */ (0, I.jsx)(WG, { kind: "studio" }) : u.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {
+ children: a ? /* @__PURE__ */ (0, I.jsx)(UG, { 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)(qye, { studio: n }), /* @__PURE__ */ (0, I.jsx)(bL, {
+ children: [/* @__PURE__ */ (0, I.jsx)(Jye, { studio: n }), /* @__PURE__ */ (0, I.jsx)(yL, {
text: n.name,
busy: e.tiersPending
})]
@@ -51668,7 +51668,7 @@ function Kye(e) {
}) : null]
});
}
-function qye({ studio: e }) {
+function Jye({ studio: e }) {
let [t, n] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsx)("span", {
"data-tier-mark": "",
@@ -51686,7 +51686,7 @@ function qye({ studio: e }) {
}) : e.fallback
});
}
-function WG({ kind: e }) {
+function UG({ kind: e }) {
let t = Array.from({ length: 64 }, (e, t) => t);
return e === "tag" ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-catalog-placeholder": "tag",
@@ -51702,43 +51702,43 @@ function WG({ kind: e }) {
children: [/* @__PURE__ */ (0, I.jsx)("span", {}), /* @__PURE__ */ (0, I.jsx)("span", { children: "\xA0" })]
}, t)) });
}
-function Jye({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
- let a = gG(), [o, s] = (0, F.useState)(!1);
+function Yye({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
+ let a = hG(), [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)(Yye, { count: e }), /* @__PURE__ */ (0, I.jsx)(HV, { currentHref: i.currentHref })]
+ children: [/* @__PURE__ */ (0, I.jsx)(Xye, { count: e }), /* @__PURE__ */ (0, I.jsx)(VV, { currentHref: i.currentHref })]
}), /* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(VG, {
+ /* @__PURE__ */ (0, I.jsx)(BG, {
onPress: () => {
s(!0), i.reshuffle().finally(() => s(!1));
},
busy: o || t
}),
- n && a === "cards" ? /* @__PURE__ */ (0, I.jsx)(BG, {
+ n && a === "cards" ? /* @__PURE__ */ (0, I.jsx)(zG, {
name: n.name,
label: n.label,
value: n.value,
options: n.options,
onChange: i.setLayout
}, n.name) : null,
- /* @__PURE__ */ (0, I.jsx)(_G, {}),
- /* @__PURE__ */ (0, I.jsx)(uG, {}),
- /* @__PURE__ */ (0, I.jsx)(HG, {
+ /* @__PURE__ */ (0, I.jsx)(gG, {}),
+ /* @__PURE__ */ (0, I.jsx)(lG, {}),
+ /* @__PURE__ */ (0, I.jsx)(VG, {
sorts: r,
onSort: i.setSort
})
]
})] });
}
-function Yye({ count: e }) {
+function Xye({ 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)(bL, {
+ children: /* @__PURE__ */ (0, I.jsx)(yL, {
text: t,
busy: e === null,
placeholder: /* @__PURE__ */ (0, I.jsx)("span", {
@@ -51749,7 +51749,7 @@ function Yye({ count: e }) {
})
});
}
-function Xye(e) {
+function Zye(e) {
let [t, n] = (0, F.useState)(null);
return (0, F.useLayoutEffect)(() => {
if (!e) return;
@@ -51759,7 +51759,7 @@ function Xye(e) {
};
}, [e]), t;
}
-function GG(e, t, n, r, i) {
+function WG(e, t, n, r, i) {
let a = () => ({
key: n,
limit: r,
@@ -51802,8 +51802,8 @@ function GG(e, t, n, r, i) {
}), l.slice(0, c.limit);
}
// src/react/components/grid-reveal.tsx
-var KG = "100% 0px";
-function Zye(e, t) {
+var GG = "100% 0px";
+function Qye(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);
@@ -51829,7 +51829,7 @@ function Zye(e, t) {
fading: n === "fade"
};
}
-function qG({ message: e, onRetry: t }) {
+function KG({ message: e, onRetry: t }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-media-error": "",
onClick: (e) => {
@@ -51842,7 +51842,7 @@ function qG({ message: e, onRetry: t }) {
});
}
// src/react/components/skeleton-content.tsx
-function JG({ pending: e, skeletonHtml: t, children: n }) {
+function qG({ 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);
@@ -51866,63 +51866,63 @@ function JG({ pending: e, skeletonHtml: t, children: n }) {
});
}
// src/library-catalog.ts
-var YG = "peach.library-colors.v1", XG = null, ZG = /* @__PURE__ */ new Set();
-function Qye() {
+var JG = "peach.library-colors.v1", YG = null, XG = /* @__PURE__ */ new Set();
+function $ye() {
try {
- let e = JSON.parse(localStorage.getItem(YG) || "{}");
+ let e = JSON.parse(localStorage.getItem(JG) || "{}");
return e && typeof e == "object" ? e : {};
} catch {
return {};
}
}
-function QG(e) {
- XG = e;
+function ZG(e) {
+ YG = e;
try {
- localStorage.setItem(YG, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));
+ localStorage.setItem(JG, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));
} catch {}
- ZG.forEach((t) => t(e));
+ XG.forEach((t) => t(e));
}
-function $G() {
- return XG;
+function QG() {
+ return YG;
}
-function $ye(e) {
- return ZG.add(e), () => {
- ZG.delete(e);
+function ebe(e) {
+ return XG.add(e), () => {
+ XG.delete(e);
};
}
// src/react/components/library-tint.ts
-var eK = /* @__PURE__ */ new Map(), tK = !1, nK = /* @__PURE__ */ new Set();
-function ebe(e) {
+var $G = /* @__PURE__ */ new Map(), eK = !1, tK = /* @__PURE__ */ new Set();
+function tbe(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();
return t.remove(), n;
}
-function rK(e) {
- eK = e;
+function nK(e) {
+ $G = e;
let t = document.getElementById("peach-library-tints");
- t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...eK.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${ebe(e.color)}}`).join("\n");
+ t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...$G.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${tbe(e.color)}}`).join("\n");
}
-function iK(e) {
- rK(e), nK.forEach((e) => e());
+function rK(e) {
+ nK(e), tK.forEach((e) => e());
}
-var aK = (e) => new Map(e.map((e) => [e.id, {
+var iK = (e) => new Map(e.map((e) => [e.id, {
id: e.id,
name: e.name,
icon: gs[e.icon || ""] || e.icon || "database",
location: e.roots?.[0]?.location || "",
color: e.color || ""
-}])), oK = !1;
-function tbe() {
- if (oK) return;
- oK = !0, $ye((e) => iK(aK(e)));
- let e = $G();
+}])), aK = !1;
+function nbe() {
+ if (aK) return;
+ aK = !0, ebe((e) => rK(iK(e)));
+ let e = QG();
if (e) {
- rK(aK(e));
+ nK(iK(e));
return;
}
- let t = Object.entries(Qye()).filter(([, e]) => e);
- t.length && rK(new Map(t.map(([e, t]) => [e, {
+ let t = Object.entries($ye()).filter(([, e]) => e);
+ t.length && nK(new Map(t.map(([e, t]) => [e, {
id: e,
name: "",
icon: "database",
@@ -51930,64 +51930,64 @@ function tbe() {
color: t
}])));
}
-function nbe() {
- tK || $G() || (tK = !0, B("/api/libraries").then((e) => QG(e.libraries || [])).catch(() => {
- tK = !1;
+function rbe() {
+ eK || QG() || (eK = !0, B("/api/libraries").then((e) => ZG(e.libraries || [])).catch(() => {
+ eK = !1;
}));
}
-function rbe(e, t) {
- let n = eK.get(e) ?? {
+function ibe(e, t) {
+ let n = $G.get(e) ?? {
id: e,
name: "",
icon: "database",
location: "",
color: ""
};
- iK(new Map([...eK, [e, {
+ rK(new Map([...$G, [e, {
...n,
color: t
}]]));
}
-function ibe(e) {
- return nK.add(e), () => {
- nK.delete(e);
+function abe(e) {
+ return tK.add(e), () => {
+ tK.delete(e);
};
}
-function sK({ names: e = !1 } = {}) {
- return tbe(), e && nbe(), (0, F.useSyncExternalStore)(ibe, () => eK, () => eK);
+function oK({ names: e = !1 } = {}) {
+ return nbe(), e && rbe(), (0, F.useSyncExternalStore)(abe, () => $G, () => $G);
}
// src/react/components/row-click.ts
-var abe = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";
-function cK(e, t) {
+var obe = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";
+function sK(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest(abe);
+ let r = n.closest(obe);
return !r || !t.contains(r) || r === t;
}
-function lK(e) {
+function cK(e) {
e.shiftKey && e.preventDefault();
}
// src/react/components/media-card.tsx
-var uK = 9 / 16, dK = "未命名视频";
-function fK({ name: e }) {
+var lK = 9 / 16, uK = "未命名视频";
+function dK({ 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 obe = {
+var sbe = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
-}, sbe = {
+}, cbe = {
manual: "手动",
junk: "垃圾",
duplicate: "重复",
missing: "文件缺失"
};
-function cbe(e) {
+function lbe(e) {
if (Number(e.duration) < 0) return {
key: "unavailable",
label: "探查错误"
@@ -52015,16 +52015,16 @@ function cbe(e) {
label: "尚未探查"
};
}
-function pK({ item: e }) {
+function fK({ item: e }) {
if (e.disposal !== "trash") return null;
- let t = e.disposal_reason && sbe[e.disposal_reason] || "原因未记录";
+ let t = e.disposal_reason && cbe[e.disposal_reason] || "原因未记录";
return /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-disposal-reason": "",
title: `归入原因:${t}`,
children: t
});
}
-function mK({ item: e, actions: t }) {
+function pK({ item: e, actions: t }) {
let [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(""), o = e.disposal === "trash" ? "restore" : "dispose", s = o === "restore" ? "还原" : "移入回收站";
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -52043,10 +52043,10 @@ function mK({ item: e, actions: t }) {
children: i
}) : null] });
}
-function hK(e, t, n) {
- return t === "short" ? uK : kM(n);
+function mK(e, t, n) {
+ return t === "short" ? lK : AM(n);
}
-function gK(e) {
+function hK(e) {
let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = ko(e), s = i[0] || "", c = mo(e);
return {
avatar: r ? /* @__PURE__ */ (0, I.jsx)("div", {
@@ -52078,7 +52078,7 @@ function gK(e) {
"data-entity-kind": "performer",
"data-entity-name": s,
title: tn("performer", s),
- children: [/* @__PURE__ */ (0, I.jsx)(fK, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: tn("performer", s) })]
+ children: [/* @__PURE__ */ (0, I.jsx)(dK, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: tn("performer", s) })]
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-who-more": "",
children: `等 ${o} 人`
@@ -52088,16 +52088,16 @@ function gK(e) {
"data-entity-kind": t,
"data-entity-name": n,
title: tn(t, n),
- children: [/* @__PURE__ */ (0, I.jsx)(fK, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: tn(t, n) })]
+ children: [/* @__PURE__ */ (0, I.jsx)(dK, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: tn(t, n) })]
}) : /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-media-who": "",
"data-open-unowned": "",
- children: [/* @__PURE__ */ (0, I.jsx)(fK, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, I.jsx)(dK, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]
})
};
}
-function lbe() {
+function ube() {
return /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -52116,7 +52116,7 @@ function lbe() {
})]
});
}
-function ube({ item: e, actions: t, on: n, onChange: r }) {
+function dbe({ item: e, actions: t, on: n, onChange: r }) {
let [i, a] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-media-later": "",
@@ -52131,11 +52131,11 @@ function ube({ item: e, actions: t, on: n, onChange: r }) {
},
"aria-busy": i || void 0,
"aria-disabled": i || void 0,
- children: /* @__PURE__ */ (0, I.jsx)(fK, { name: n ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, I.jsx)(dK, { name: n ? "check" : "bookmark-plus" })
})
});
}
-function dbe({ reason: e }) {
+function fbe({ 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,
@@ -52149,15 +52149,15 @@ function dbe({ reason: e }) {
e.stopPropagation(), r(!0);
},
children: e
- }), /* @__PURE__ */ (0, I.jsx)(Dz, {
+ }), /* @__PURE__ */ (0, I.jsx)(Ez, {
triggerRef: t,
isOpen: n,
onOpenChange: r,
placement: "top",
offset: 8,
containerPadding: 12,
- className: KV,
- children: /* @__PURE__ */ (0, I.jsx)(Bz, {
+ 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",
@@ -52165,18 +52165,18 @@ function dbe({ reason: e }) {
})
})] });
}
-function _K(e, t) {
+function gK(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 fbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {
- yL();
- let u = (0, F.useRef)(null), [d, f] = (0, F.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = sK(), 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);
+function pbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {
+ vL();
+ let u = (0, F.useRef)(null), [d, f] = (0, F.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = oK(), 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 = hK(e, t, n), w = S ? n.size : "small", T = C === uK && !!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() || dK, A = o.titleHtml(e, O).trim() || z(dK), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = Number(M) > 0 ? null : cbe(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 } = gK(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 = mK(e, t, n), w = S ? n.size : "small", T = C === lK && !!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() || uK, A = o.titleHtml(e, O).trim() || z(uK), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = Number(M) > 0 ? null : lbe(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 } = hK(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;
@@ -52203,10 +52203,10 @@ function fbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
l && r.contains(l) ? s.toggleTag(l.dataset.tag || "") : c(e, r);
}, ie = /* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-pic": "",
- "data-pic-portrait": C === uK ? "" : void 0,
+ "data-pic-portrait": C === lK ? "" : void 0,
style: { "--card-ratio": String(C) },
children: [
- E.html ? /* @__PURE__ */ (0, I.jsx)(sW, {
+ E.html ? /* @__PURE__ */ (0, I.jsx)(oW, {
artwork: E,
identity: D,
relayout: (e) => Cl(e, w)
@@ -52220,11 +52220,11 @@ function fbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
}),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, I.jsx)(fK, { name: "check" })
+ children: /* @__PURE__ */ (0, I.jsx)(dK, { name: "check" })
}),
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, I.jsx)(fK, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, I.jsx)(dK, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]
}),
y && !b ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-group": "",
@@ -52240,7 +52240,7 @@ function fbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-copy-key": ee ? `media.duration.${ee.key}` : void 0,
children: ee ? ee.label : qn(M)
}),
- !i && e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)(mK, {
+ !i && e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)(pK, {
item: e,
actions: s
}) : null,
@@ -52256,22 +52256,22 @@ function fbe({ 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)(lbe, {}),
+ /* @__PURE__ */ (0, I.jsx)(ube, {}),
p || g.length ? /* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-status": "",
children: [p ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-status": "later",
title: "稍后看",
"aria-label": "稍后看",
- children: /* @__PURE__ */ (0, I.jsx)(fK, { name: "bookmark" })
+ children: /* @__PURE__ */ (0, I.jsx)(dK, { name: "bookmark" })
}) : null, g.length ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-status": "flagged",
title: `已标记:${g.join("、")}`,
"aria-label": `已标记:${g.join("、")}`,
- children: /* @__PURE__ */ (0, I.jsx)(fK, { name: "heart" })
+ children: /* @__PURE__ */ (0, I.jsx)(dK, { name: "heart" })
}) : null]
}) : null,
- i ? null : /* @__PURE__ */ (0, I.jsx)(ube, {
+ i ? null : /* @__PURE__ */ (0, I.jsx)(dbe, {
item: e,
actions: s,
on: p,
@@ -52286,27 +52286,27 @@ function fbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), _K(u.current, -a);
+ e.stopPropagation(), gK(u.current, -a);
},
title: `后退 ${a} 秒`,
"aria-label": `后退 ${a} 秒`,
- children: /* @__PURE__ */ (0, I.jsx)(fK, { name: "rotate-ccw" })
+ children: /* @__PURE__ */ (0, I.jsx)(dK, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), _K(u.current, a);
+ e.stopPropagation(), gK(u.current, a);
},
title: `前进 ${a} 秒`,
"aria-label": `前进 ${a} 秒`,
- children: /* @__PURE__ */ (0, I.jsx)(fK, { name: "rotate-cw" })
+ children: /* @__PURE__ */ (0, I.jsx)(dK, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-open": "",
title: "打开详情",
"aria-label": "打开详情",
- children: /* @__PURE__ */ (0, I.jsx)(fK, { name: "expand" })
+ children: /* @__PURE__ */ (0, I.jsx)(dK, { name: "expand" })
})
]
})
@@ -52326,7 +52326,7 @@ function fbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-pending-delete": e.disposal === "trash" ? "" : void 0,
"data-selected": r ? "" : void 0,
onClick: re,
- onMouseDown: lK,
+ onMouseDown: cK,
children: [
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -52368,15 +52368,15 @@ function fbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-media-release": "",
dateTime: e.release_date,
title: e.release_date,
- children: [/* @__PURE__ */ (0, I.jsx)(fK, { name: "calendar" }), e.release_date]
+ children: [/* @__PURE__ */ (0, I.jsx)(dK, { name: "calendar" }), e.release_date]
}) : null, /* @__PURE__ */ (0, I.jsxs)("span", {
"data-media-size": "",
- children: [/* @__PURE__ */ (0, I.jsx)(fK, { name: "hard-drive" }), Number(j) > 0 ? Yn(Number(j)) : "大小未知"]
+ children: [/* @__PURE__ */ (0, I.jsx)(dK, { name: "hard-drive" }), Number(j) > 0 ? Yn(Number(j)) : "大小未知"]
})]
})
]
}),
- t === "next" ? e.why ? /* @__PURE__ */ (0, I.jsx)(dbe, { reason: e.why }) : null : ne.length || e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)("div", {
+ t === "next" ? e.why ? /* @__PURE__ */ (0, I.jsx)(fbe, { reason: e.why }) : null : ne.length || e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-media-tags": "",
children: ne.map((t) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -52386,15 +52386,15 @@ function fbe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
children: o.tagLabel(t)
}, t))
}) : null,
- /* @__PURE__ */ (0, I.jsx)(pK, { item: e })
+ /* @__PURE__ */ (0, I.jsx)(fK, { item: e })
]
})]
})
]
});
}
-function pbe({ 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") ? "网址快捷方式" : obe[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";
+function mbe({ 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") ? "网址快捷方式" : sbe[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";
return /* @__PURE__ */ (0, I.jsxs)("article", {
ref: o,
"data-media-card": "",
@@ -52406,14 +52406,14 @@ function pbe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
onClick: (t) => {
o.current && (n || t.shiftKey || t.ctrlKey || t.metaKey ? (t.preventDefault(), i.toggleSelection(e.id, t.shiftKey)) : a(e, o.current));
},
- onMouseDown: lK,
+ onMouseDown: cK,
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-pic": "",
style: { "--card-ratio": "1.7777777777777777" },
children: [
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, I.jsx)(fK, { name: u }), /* @__PURE__ */ (0, I.jsx)("b", { children: l })]
+ children: [/* @__PURE__ */ (0, I.jsx)(dK, { name: u }), /* @__PURE__ */ (0, I.jsx)("b", { children: l })]
}),
s ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-art": "thumb",
@@ -52425,13 +52425,13 @@ function pbe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
}),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, I.jsx)(fK, { name: "check" })
+ children: /* @__PURE__ */ (0, I.jsx)(dK, { name: "check" })
}),
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, I.jsx)(fK, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, I.jsx)(dK, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]
}),
- n ? null : /* @__PURE__ */ (0, I.jsx)(mK, {
+ n ? null : /* @__PURE__ */ (0, I.jsx)(pK, {
item: e,
actions: i
})
@@ -52442,7 +52442,7 @@ function pbe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
"data-media-avatar": "",
"data-media-kind-glyph": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, I.jsx)(fK, { name: u })
+ children: /* @__PURE__ */ (0, I.jsx)(dK, { name: u })
}), /* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-text": "",
children: [
@@ -52470,29 +52470,29 @@ function pbe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
]
}),
e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)("div", { "data-media-tags": "" }) : null,
- /* @__PURE__ */ (0, I.jsx)(pK, { item: e })
+ /* @__PURE__ */ (0, I.jsx)(fK, { item: e })
]
})]
})]
});
}
-function mbe(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, I.jsx)(pbe, { ...e }) : /* @__PURE__ */ (0, I.jsx)(fbe, { ...e });
+function hbe(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, I.jsx)(mbe, { ...e }) : /* @__PURE__ */ (0, I.jsx)(pbe, { ...e });
}
-var vK = (0, F.memo)(mbe), hbe = 1100, gbe = 340, _be = 5e3;
-function vbe(e, t, n) {
+var _K = (0, F.memo)(hbe), gbe = 1100, _be = 340, vbe = 5e3;
+function ybe(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, _be);
+ }, s = () => o(!1), c = setTimeout(s, vbe);
t.cancels.add(s), i.onerror = s, i.onload = () => {
i.naturalWidth ? typeof i.decode == "function" ? i.decode().then(() => o(!0), s) : o(!0) : o(!1);
}, i.src = e;
});
}
-function yK({ load: e, canFlip: t, referrerPolicy: n }) {
+function vK({ load: e, canFlip: t, referrerPolicy: n }) {
let [r, i] = (0, F.useState)([]), [a, o] = (0, F.useState)(0), [s, c] = (0, F.useState)(null), l = (0, F.useRef)({
live: !1,
generation: 0,
@@ -52534,11 +52534,11 @@ function yK({ load: e, canFlip: t, referrerPolicy: n }) {
return;
}
if (!r() || !u.current.canFlip() || a.length < 2) return;
- let s = await Promise.all(a.map((t) => vbe(t, e, n)));
+ let s = await Promise.all(a.map((t) => ybe(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, hbe);
+ p(), e.cycle = setInterval(p, gbe);
}));
};
return (0, F.useEffect)(() => d, [d]), {
@@ -52547,7 +52547,7 @@ function yK({ 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(gbe, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(_be, () => {
e.armed = null, m();
});
},
@@ -52557,8 +52557,8 @@ function yK({ load: e, canFlip: t, referrerPolicy: n }) {
};
}
// src/react/components/mix-card.tsx
-var bK = DV("play");
-function ybe({ src: e }) {
+var yK = EV("play");
+function bbe({ src: e }) {
let [t, n] = (0, F.useState)(!1);
return t ? null : /* @__PURE__ */ (0, I.jsx)("img", {
"data-mix-poster": "",
@@ -52571,8 +52571,8 @@ function ybe({ src: e }) {
className: "absolute inset-0 block size-full object-contain"
});
}
-var xK = "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 bbe({ faces: e, fallback: t, onOpenEntity: n }) {
+var bK = "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 xbe({ 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", {
@@ -52580,18 +52580,18 @@ function bbe({ faces: e, fallback: t, onOpenEntity: n }) {
title: `打开资料页:${e.name}`,
"aria-label": `打开资料页:${e.name}`,
onClick: () => n(e.kind, e.name),
- className: `${xK} cursor-pointer outline-none`,
+ className: `${bK} cursor-pointer outline-none`,
dangerouslySetInnerHTML: { __html: go(e.name, e, Xa(e.name), e.kind) }
}, `${e.kind}:${e.id}`))
}) : /* @__PURE__ */ (0, I.jsx)("span", {
"data-mix-initial": "",
"aria-hidden": !0,
- className: `${xK} mt-0.5`,
+ className: `${bK} mt-0.5`,
children: t
});
}
-function SK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {
- let b = yK({
+function xK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {
+ let b = vK({
load: i,
canFlip: a
}), x = (0, F.useRef)(b.onPointerLeave);
@@ -52618,11 +52618,11 @@ function SK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
style: d === void 0 ? void 0 : { "--card-ratio": String(d) },
className: "relative z-1 flex aspect-video items-center justify-center overflow-hidden",
children: [
- f?.html ? /* @__PURE__ */ (0, I.jsx)(sW, {
+ f?.html ? /* @__PURE__ */ (0, I.jsx)(oW, {
artwork: f,
identity: p,
relayout: m
- }) : r ? /* @__PURE__ */ (0, I.jsx)(ybe, { src: r }, r) : /* @__PURE__ */ (0, I.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, I.jsx)(bbe, { src: r }, r) : /* @__PURE__ */ (0, I.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -52652,7 +52652,7 @@ function SK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-mix-badge": "",
className: "absolute right-2.25 bottom-2.25 z-6 flex min-h-7 items-center gap-1.5 rounded-2lg px-2.25 py-1 text-caption-1-semibold text-text-white",
- children: [/* @__PURE__ */ (0, I.jsx)(bK, {
+ children: [/* @__PURE__ */ (0, I.jsx)(yK, {
"aria-hidden": !0,
className: "size-(--icon-inline)"
}), g ?? `${n.toLocaleString()} 个视频`]
@@ -52665,8 +52665,8 @@ function SK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
_ ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-mix-glyph": "",
"aria-hidden": !0,
- children: /* @__PURE__ */ (0, I.jsx)(bK, {})
- }) : /* @__PURE__ */ (0, I.jsx)(bbe, {
+ children: /* @__PURE__ */ (0, I.jsx)(yK, {})
+ }) : /* @__PURE__ */ (0, I.jsx)(xbe, {
faces: o,
fallback: $n(e),
onOpenEntity: s
@@ -52689,7 +52689,7 @@ function SK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
});
}
// src/react/video-wall/folia/blockReflows.ts
-var xbe = [
+var Sbe = [
[
[
{
@@ -56250,7 +56250,7 @@ var xbe = [
}
]
]
-], CK = [
+], SK = [
[
{
x: 0,
@@ -56547,89 +56547,89 @@ var xbe = [
rows: 2
}
]
-], wK = (e) => e.map((e) => ({
+], CK = (e) => e.map((e) => ({
...e,
x: 12 - e.x - e.cols
-})), TK = (e) => e.map((e) => ({
+})), wK = (e) => e.map((e) => ({
...e,
y: 8 - e.y - e.rows
-})), EK = [
+})), TK = [
(e) => e,
+ CK,
wK,
- TK,
- (e) => wK(TK(e))
-], DK = CK.flatMap((e) => EK.map((t) => t(e))), Sbe = xbe.flatMap((e) => EK.map((t) => e.map(t)));
-DK.length;
-var Cbe = (e, t) => {
+ (e) => CK(wK(e))
+], EK = SK.flatMap((e) => TK.map((t) => t(e))), Cbe = Sbe.flatMap((e) => TK.map((t) => e.map(t)));
+EK.length;
+var wbe = (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;
-}, OK = (e, t) => {
- let n = CK.length;
- return ((e + t * 2) % n + n) % n * EK.length + Cbe(e, t) % EK.length;
-}, wbe = (e, t) => DK[OK(e, t)], Tbe = (e, t, n) => n < 0 || n >= 12 ? null : Sbe[OK(e, t)][n], kK = 103.36, AK = 6.08, jK = 12 * kK, MK = 8 * kK, NK = 12, PK = (e, t) => (e % t + t) % t, Ebe = (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 FK(e, t) {
- let n = Math.max(1, Math.ceil(e / NK)), r = t ? 3 : Math.min(3, n);
+}, DK = (e, t) => {
+ let n = SK.length;
+ return ((e + t * 2) % n + n) % n * TK.length + wbe(e, t) % TK.length;
+}, Tbe = (e, t) => EK[DK(e, t)], Ebe = (e, t, n) => n < 0 || n >= 12 ? null : Cbe[DK(e, t)][n], OK = 103.36, kK = 6.08, AK = 12 * OK, jK = 8 * OK, MK = 12, NK = (e, t) => (e % t + t) % t, Dbe = (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 PK(e, t) {
+ let n = Math.max(1, Math.ceil(e / MK)), r = t ? 3 : Math.min(3, n);
return {
columns: r,
- width: r * jK,
- height: Math.ceil(n / r) * MK
+ width: r * AK,
+ height: Math.ceil(n / r) * jK
};
}
-function IK(e, t, n) {
- let { x: r, y: i, cols: a, rows: o } = wbe(e, t)[n];
+function FK(e, t, n) {
+ let { x: r, y: i, cols: a, rows: o } = Tbe(e, t)[n];
return {
- x: e * jK + r * kK,
- y: t * MK + i * kK,
- width: a * kK - AK,
- height: o * kK - AK
+ x: e * AK + r * OK,
+ y: t * jK + i * OK,
+ width: a * OK - kK,
+ height: o * OK - kK
};
}
-function Dbe(e) {
+function Obe(e) {
return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);
}
-function LK(e, t, n) {
+function IK(e, t, n) {
if (!e) return null;
let [r, i, a] = n.split(":").map(Number);
if (![
r,
i,
a
- ].every(Number.isInteger) || a < 0 || a >= NK) return null;
- let o = FK(e, t), s = o.height / MK;
+ ].every(Number.isInteger) || a < 0 || a >= MK) return null;
+ let o = PK(e, t), s = o.height / jK;
if (t && (r < 0 || r >= o.columns || i < 0 || i >= s)) return null;
- let c = t ? r : PK(r, o.columns), l = ((t ? i : PK(i, s)) * o.columns + c) * NK + a;
+ let c = t ? r : NK(r, o.columns), l = ((t ? i : NK(i, s)) * o.columns + c) * MK + a;
return t && l >= e ? null : {
- ...IK(r, i, a),
+ ...FK(r, i, a),
index: l % e,
key: n
};
}
-function Obe(e, t) {
+function kbe(e, t) {
if (t < 0 || t >= e) return null;
- let n = Math.floor(t / NK);
- return LK(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % NK}`);
+ let n = Math.floor(t / MK);
+ return IK(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % MK}`);
}
-function RK(e, t, n) {
- let [r, i, a] = n.key.split(":").map(Number), o = Tbe(r, i, a);
+function LK(e, t, n) {
+ let [r, i, a] = n.key.split(":").map(Number), o = Ebe(r, i, a);
return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {
- x: r * jK + e.x * kK,
- y: i * MK + e.y * kK,
- width: e.cols * kK - AK,
- height: e.rows * kK - AK
+ x: r * AK + e.x * OK,
+ y: i * jK + e.y * OK,
+ width: e.cols * OK - kK,
+ height: e.rows * OK - kK
}]));
}
-function kbe(e) {
+function Abe(e) {
let t = 0, n = 0;
for (let r = Math.max(0, e - 36); r < e; r += 1) {
- let e = Math.floor(r / NK), i = IK(e % 3, Math.floor(e / 3), r % NK);
+ let e = Math.floor(r / MK), i = FK(e % 3, Math.floor(e / 3), r % MK);
t = Math.max(t, i.x + i.width), n = Math.max(n, i.y + i.height);
}
return {
- width: e >= 36 ? 3 * jK - AK : t,
+ width: e >= 36 ? 3 * AK - kK : t,
height: n
};
}
-function Abe(e, t, n, r) {
+function jbe(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 {
@@ -56638,22 +56638,22 @@ function Abe(e, t, n, r) {
y: i(e.y, n.height, t.height)
};
}
-function jbe(e, t, n, r) {
+function Mbe(e, t, n, r) {
if (!e || !r.width || !r.height) return [];
let i = 180 / n.scale, a = {
x: -n.x / n.scale - i,
y: -n.y / n.scale - i,
width: r.width / n.scale + i * 2,
height: r.height / n.scale + i * 2
- }, o = FK(e, t), s = o.height / MK, c = [];
- for (let n = Math.floor(a.y / MK); n <= Math.floor((a.y + a.height) / MK); n += 1) for (let r = Math.floor(a.x / jK); r <= Math.floor((a.x + a.width) / jK); r += 1) {
+ }, o = PK(e, t), s = o.height / jK, c = [];
+ for (let n = Math.floor(a.y / jK); n <= Math.floor((a.y + a.height) / jK); n += 1) for (let r = Math.floor(a.x / AK); r <= Math.floor((a.x + a.width) / AK); r += 1) {
if (t && (r < 0 || r >= o.columns || n < 0 || n >= s)) continue;
- let i = t ? r : PK(r, o.columns), l = t ? n : PK(n, s);
- for (let s = 0; s < NK; s += 1) {
- let u = (l * o.columns + i) * NK + s;
+ let i = t ? r : NK(r, o.columns), l = t ? n : NK(n, s);
+ for (let s = 0; s < MK; s += 1) {
+ let u = (l * o.columns + i) * MK + s;
if (t && u >= e) continue;
- let d = IK(r, n, s);
- Ebe(d, a) && c.push({
+ let d = FK(r, n, s);
+ Dbe(d, a) && c.push({
...d,
index: u % e,
key: `${r}:${n}:${s}`
@@ -56662,7 +56662,7 @@ function jbe(e, t, n, r) {
}
return c;
}
-var Mbe = class {
+var Nbe = class {
positions = /* @__PURE__ */ new Map();
used = /* @__PURE__ */ new Set();
cursor = 0;
@@ -56674,7 +56674,7 @@ var Mbe = class {
this.cursor = e;
}
tile(e, t) {
- let n = this.positions.get(e), r = n === void 0 ? null : LK(t, !1, e);
+ let n = this.positions.get(e), r = n === void 0 ? null : IK(t, !1, e);
return r ? {
...r,
index: n
@@ -56704,7 +56704,7 @@ var Mbe = class {
let e = 0;
for (let t of this.positions.keys()) e = Math.max(e, Number(t.split(":")[0]));
return {
- x: (e + 2) * jK,
+ x: (e + 2) * AK,
y: 0
};
}
@@ -56717,10 +56717,10 @@ var Mbe = class {
c < i && (r = s, i = c);
}
if (r) return r;
- let a = this.fresh(), o = `${Math.round(a.x / jK)}:0:0`;
+ let a = this.fresh(), o = `${Math.round(a.x / AK)}:0:0`;
return this.positions.set(o, t), this.used.add(t), this.tile(o, e);
}
-}, zK = [
+}, RK = [
"q",
"performer",
"series",
@@ -56735,16 +56735,16 @@ var Mbe = class {
"dur_max",
"region"
];
-function Nbe(e = {}) {
- return zK.some((t) => !!e[t]);
+function Pbe(e = {}) {
+ return RK.some((t) => !!e[t]);
}
// src/react/video-wall/use-wall-camera.ts
-var BK = {
+var zK = {
x: 16,
y: 16,
scale: 1
};
-function Pbe(e, t, n = BK, r = !1) {
+function Fbe(e, t, n = zK, r = !1) {
let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)({
width: 0,
height: 0
@@ -56764,7 +56764,7 @@ function Pbe(e, t, n = BK, 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 = Abe(e, o.current, kbe(r), c && !f && !n);
+ let { count: r, finite: c, focused: f } = d.current, p = jbe(e, o.current, Abe(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));
@@ -56835,7 +56835,7 @@ function Pbe(e, t, n = BK, 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 = hS(0, 1, {
+ !t || v() ? _(a, !0, n) : p.current = _S(0, 1, {
duration: .42,
ease: [
.22,
@@ -56864,7 +56864,7 @@ function Pbe(e, t, n = BK, r = !1) {
},
snapshot: () => ({ ...s.current }),
reset: () => {
- g(), _({ ...BK }, !0);
+ g(), _({ ...zK }, !0);
},
pan: (e, t) => {
g(), _({
@@ -56925,16 +56925,16 @@ function Pbe(e, t, n = BK, r = !1) {
};
}
// src/react/video-wall/wall-motion.ts
-var Fbe = {
+var Ibe = {
type: "spring",
stiffness: 300,
damping: 34
-}, Ibe = {
+}, Lbe = {
delay: .14,
duration: .24
};
// src/react/video-wall/use-wall-playback.ts
-function Lbe(e, t, n) {
+function Rbe(e, t, n) {
let [r, i] = (0, F.useState)({
paused: !0,
time: 0,
@@ -56975,15 +56975,15 @@ function Lbe(e, t, n) {
};
}
// src/react/video-wall/wall-controls.tsx
-function Rbe({ 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 = iS(), x = Lbe(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {
+function zbe({ 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 = oS(), x = Rbe(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)(gS.div, {
+ return /* @__PURE__ */ (0, I.jsxs)(vS.div, {
"data-wall-focus-actions": "",
initial: !b && {
opacity: 0,
@@ -56993,7 +56993,7 @@ function Rbe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
opacity: 1,
transform: "translateY(0px)"
},
- transition: b ? { duration: 0 } : Ibe,
+ transition: b ? { duration: 0 } : Lbe,
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-wall-control-row": "",
children: [
@@ -57001,7 +57001,7 @@ function Rbe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
type: "button",
"data-wall-play": "",
"data-wall-pause": w ? void 0 : "",
- ...kV(C),
+ ...OV(C),
"aria-label": r ? "正在打开" : i ? "正在读取版本" : w ? "播放" : "暂停",
title: w ? "播放" : "暂停",
onClick: () => void T(),
@@ -57051,7 +57051,7 @@ function Rbe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
- ...kV(d),
+ ...OV(d),
"aria-label": u ? "移出稍后看" : "稍后看",
title: "稍后看",
"aria-pressed": u,
@@ -57097,7 +57097,7 @@ function Rbe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
});
}
// src/react/components/mix-queue.tsx
-function VK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
+function BK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
let c = (0, F.useRef)(null), l = (0, F.useCallback)((e) => {
c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);
}, [a]);
@@ -57133,7 +57133,7 @@ function VK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,
})]
});
}
-function HK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
+function VK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
let s = /* @__PURE__ */ (0, I.jsx)("span", {
"data-mix-item-text": "",
children: a
@@ -57156,7 +57156,7 @@ function HK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }
}), r]
});
}
-var zbe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {
+var Bbe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {
"data-mix-group-label": "",
children: [
e,
@@ -57165,16 +57165,16 @@ var zbe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {
]
});
// src/react/video-wall/wall-queue.tsx
-function Bbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {
+function Vbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-wall-queue": "",
id: "wall-queue",
- children: /* @__PURE__ */ (0, I.jsx)(VK, {
+ children: /* @__PURE__ */ (0, I.jsx)(BK, {
kind: n,
title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",
summary: `${e.length} 个视频`,
onClose: a,
- children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)(HK, {
+ children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)(VK, {
current: e.id === t,
"data-wall-source": e.id,
"aria-label": [
@@ -57183,7 +57183,7 @@ function Bbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })
r(e)
].filter(Boolean).join(" · "),
onClick: () => i(e),
- pic: /* @__PURE__ */ (0, I.jsx)(sW, { artwork: wo(e, "small", !0, "cover") }),
+ 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 ? KP(e.part_label) : "",
@@ -57194,7 +57194,7 @@ function Bbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })
});
}
// src/react/video-wall/wall-route.ts
-function Vbe(e = `${location.pathname}${location.search}`, t = {}) {
+function Hbe(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",
@@ -57209,17 +57209,17 @@ function Vbe(e = `${location.pathname}${location.search}`, t = {}) {
}
return s.set("returnTo", `${n.pathname}${n.search}`), `/wall?${s}`;
}
-function UK(e = `${location.pathname}${location.search}`) {
+function HK(e = `${location.pathname}${location.search}`) {
let t = new URL(e, location.origin).searchParams;
- for (let e of zK) t.delete(e);
+ for (let e of RK) t.delete(e);
return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;
}
-function WK() {
+function UK() {
let e = new URLSearchParams(W.navigation.location.search).get("returnTo") || "/";
W.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");
}
// src/react/video-wall/video-wall.tsx
-var GK = /* @__PURE__ */ new Map(), KK = (0, F.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {
+var WK = /* @__PURE__ */ new Map(), GK = (0, F.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {
let i = wo(!e.is_jav && t === "thumbnail" && e.has_thumb ? {
...e,
has_cover: !1
@@ -57232,7 +57232,7 @@ var GK = /* @__PURE__ */ new Map(), KK = (0, F.memo)(function({ item: e, image:
ref: a,
"data-media-pic": "",
style: { "--card-ratio": String(r) },
- children: /* @__PURE__ */ (0, I.jsx)(sW, {
+ children: /* @__PURE__ */ (0, I.jsx)(oW, {
artwork: i,
relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {
e.complete && e.naturalWidth && ll(e, r);
@@ -57240,11 +57240,11 @@ var GK = /* @__PURE__ */ new Map(), KK = (0, F.memo)(function({ item: e, image:
})
});
});
-function Hbe({ 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 Ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {
let p = String(e[0]?.id), [m] = (0, F.useState)(() => {
- let e = GK.get(f);
+ let e = WK.get(f);
return e && (i || t || e.pool === p) ? e : void 0;
- }), [h] = (0, F.useState)(() => m?.exploration || new Mbe()), 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 Nbe()), 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 ? {
@@ -57260,11 +57260,11 @@ function Hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
tagLabel: u.tagLabel,
mixRelated: async () => []
}, e)
- }), N = M ? ee.data : void 0, te = N?.items.find((e) => e.id === LP(N, O || w?.id || null)) || w, P = Pbe(e.length, t && !!e.length, m?.camera || {
+ }), N = M ? ee.data : void 0, te = N?.items.find((e) => e.id === LP(N, O || w?.id || null)) || w, P = Fbe(e.length, t && !!e.length, m?.camera || {
x: 0,
y: 0,
scale: innerWidth < 640 ? .68 : 1
- }, !!w), ne = iS(), [re, ie] = (0, F.useState)(!!m);
+ }, !!w), ne = oS(), [re, ie] = (0, F.useState)(!!m);
(0, F.useEffect)(() => {
if (!e.length || re || ne) return;
let t = setTimeout(() => ie(!0), 1100);
@@ -57298,17 +57298,17 @@ function Hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
pool: p
};
let je = () => {
- ke.current && (GK.delete(f), GK.set(f, {
+ ke.current && (WK.delete(f), WK.set(f, {
...Ae.current,
camera: P.snapshot(),
exploration: h
- }), GK.size > 8 && GK.delete(GK.keys().next().value));
+ }), WK.size > 8 && WK.delete(WK.keys().next().value));
};
(0, F.useLayoutEffect)(je);
- let Me = jbe(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 = Mbe(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 ? LK(e.length, !0, E) : h.tile(E, e.length)), Fe = Pe ? RK(e.length, t, Pe) : /* @__PURE__ */ new Map();
+ })) : t ? Me : h.assign(Me, e.length, n), Pe = w && (t ? IK(e.length, !0, E) : h.tile(E, e.length)), Fe = Pe ? LK(e.length, t, Pe) : /* @__PURE__ */ new Map();
Pe && !Ne.some((e) => e.key === Pe.key) && Ne.push(Pe);
let Ie = (e = !1) => {
C.current?.abort(), C.current = null, S.current?.(e), S.current = null, se(null), de(!1);
@@ -57347,7 +57347,7 @@ function Hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
w?.id !== n.id && Ie(!1), De.current = {
key: r.key,
id: n.id
- }, pe(""), le(null), T(n), D(r.key), k(null), j(!1), xe(!1), P.reveal(RK(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));
+ }, pe(""), le(null), T(n), D(r.key), k(null), j(!1), xe(!1), P.reveal(LK(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));
}, ze = () => {
te && y.current && (je(), Ie(!0), l.wallDetails?.(te, y.current.querySelector("[data-wall-focus]") || y.current));
}, Be = async (e = te) => {
@@ -57391,7 +57391,7 @@ function Hbe({ 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 ? Obe(e.length, i) : h.nearest(e.length, i, a);
+ }, o = t ? kbe(e.length, i) : h.nearest(e.length, i, a);
o && (Re(n, o), le(n.id));
}, Ge = async () => {
if (!(r || g.current)) {
@@ -57483,7 +57483,7 @@ function Hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
/* @__PURE__ */ (0, I.jsx)("div", {
"data-wall-focus-backdrop": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, I.jsx)(KK, {
+ children: /* @__PURE__ */ (0, I.jsx)(GK, {
item: w,
image: Te,
big: !0
@@ -57491,7 +57491,7 @@ function Hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
/* @__PURE__ */ (0, I.jsx)("div", {
"data-wall-scene": "",
- children: /* @__PURE__ */ (0, I.jsx)(KK, {
+ children: /* @__PURE__ */ (0, I.jsx)(GK, {
item: w,
image: Te,
big: !0
@@ -57537,7 +57537,7 @@ function Hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
fe || M && ee.error && !N ? /* @__PURE__ */ (0, I.jsxs)("div", {
"data-wall-play-error": "",
- children: [/* @__PURE__ */ (0, I.jsx)(wV, {
+ children: [/* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
children: fe || bn(ee.error)
}), ee.error && !N ? /* @__PURE__ */ (0, I.jsx)(J, {
@@ -57547,7 +57547,7 @@ function Hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
children: "立即重试"
}) : null]
}) : null,
- /* @__PURE__ */ (0, I.jsx)(Rbe, {
+ /* @__PURE__ */ (0, I.jsx)(zbe, {
item: Xe,
playing: oe,
frame: b,
@@ -57569,7 +57569,7 @@ function Hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
ended: Ve,
error: pe
}),
- A ? /* @__PURE__ */ (0, I.jsx)(Bbe, {
+ A ? /* @__PURE__ */ (0, I.jsx)(Vbe, {
items: He,
activeId: Xe.id,
kind: N?.kind || "wall",
@@ -57585,7 +57585,7 @@ function Hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
"data-refreshing": _ !== null || void 0,
hidden: Ce,
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), A ? j(!1) : w ? Le() : be ? xe(!1) : WK());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), A ? j(!1) : w ? Le() : be ? xe(!1) : UK());
},
children: [
/* @__PURE__ */ (0, I.jsx)("button", {
@@ -57593,7 +57593,7 @@ function Hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
"data-wall-back": "",
"aria-label": "退出播放墙",
title: "返回",
- onClick: WK,
+ onClick: UK,
children: /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -57611,7 +57611,7 @@ function Hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}), /* @__PURE__ */ (0, I.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
variant: "ghost",
- onClick: () => W.push(UK()),
+ onClick: () => W.push(HK()),
children: "清除筛选"
})]
}) : null,
@@ -57637,18 +57637,18 @@ function Hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
defaultValue: new URLSearchParams(location.search).get("q") || ""
})]
}),
- /* @__PURE__ */ (0, I.jsxs)(vU, {
+ /* @__PURE__ */ (0, I.jsxs)(_U, {
"aria-label": "播放墙图片",
value: Te,
onChange: Ee,
- className: yU,
- children: [/* @__PURE__ */ (0, I.jsx)(Jz, {
+ className: vU,
+ children: [/* @__PURE__ */ (0, I.jsx)(qz, {
value: "cover",
- className: bU,
+ className: yU,
children: "封面"
- }), /* @__PURE__ */ (0, I.jsx)(Jz, {
+ }), /* @__PURE__ */ (0, I.jsx)(qz, {
value: "thumbnail",
- className: bU,
+ className: yU,
children: "缩略图"
})]
}),
@@ -57720,7 +57720,7 @@ function Hbe({ 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)(gS.article, {
+ return /* @__PURE__ */ (0, I.jsx)(vS.article, {
layout: !0,
layoutDependency: `${i.x}:${i.y}:${i.width}:${i.height}`,
"data-wall-tile": t.key,
@@ -57741,7 +57741,7 @@ function Hbe({ 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: Fbe,
+ layout: Ibe,
transform: a ? {
type: "spring",
stiffness: 360,
@@ -57774,7 +57774,7 @@ function Hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
!r && ["Enter", " "].includes(e.key) && (e.preventDefault(), Re(n, t, !1));
},
children: r ? Ze : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(KK, {
+ /* @__PURE__ */ (0, I.jsx)(GK, {
item: n,
image: Te,
ratio: i.width / i.height
@@ -57800,7 +57800,7 @@ function Hbe({ 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)(gS.span, {
+ /* @__PURE__ */ (0, I.jsx)(vS.span, {
"data-wall-dim": "",
animate: { opacity: w ? .65 : 0 },
transition: { duration: ne ? 0 : .24 }
@@ -57812,7 +57812,7 @@ function Hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
!i && a ? /* @__PURE__ */ (0, I.jsxs)("div", {
"data-wall-error": "",
- children: [/* @__PURE__ */ (0, I.jsx)(wV, {
+ children: [/* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
children: a
}), /* @__PURE__ */ (0, I.jsx)(J, {
@@ -57839,7 +57839,7 @@ function Hbe({ 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)(VG, {
+ children: /* @__PURE__ */ (0, I.jsx)(BG, {
busy: r,
onPress: () => void qe()
})
@@ -57849,20 +57849,20 @@ function Hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
children: /* @__PURE__ */ (0, I.jsxs)(J, {
size: "small",
variant: "secondary",
- ...kV(r),
+ ...OV(r),
onClick: () => void Ge(),
children: [r ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: zs() } }) : null, "载入更多"]
})
}) : null,
me ? /* @__PURE__ */ (0, I.jsxs)("div", {
"data-wall-error": "",
- children: [/* @__PURE__ */ (0, I.jsx)(wV, {
+ children: [/* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
children: me
}), /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
variant: "ghost",
- ...kV(r),
+ ...OV(r),
onClick: () => void Ge(),
children: "立即重试"
})]
@@ -57885,7 +57885,7 @@ function Hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
return (0, Lt.createPortal)(Qe, Se);
}
// src/catalog-onboarding.ts
-var qK = [
+var KK = [
"loc",
"creator",
"performer",
@@ -57904,19 +57904,19 @@ var qK = [
"jav",
"thumb"
];
-function Ube(e = typeof location > "u" ? "/" : location.href) {
+function Wbe(e = typeof location > "u" ? "/" : location.href) {
let t = new URL(e, "http://localhost");
for (let e of [
- ...qK,
+ ...KK,
"q",
"category",
"cat"
]) t.searchParams.delete(e);
return t.searchParams.set("thumb", "0"), t.pathname + (t.search ? t.search : "") + t.hash;
}
-async function Wbe(e, t) {
+async function Gbe(e, t) {
let n = new URLSearchParams();
- for (let t of qK) e[t] && n.set(t, e[t]);
+ for (let t of KK) 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([
...r.creators || [],
...r.tagperformers || [],
@@ -57927,9 +57927,9 @@ async function Wbe(e, t) {
return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";
}))).filter(Boolean);
}
-function JK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {
+function qK({ 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(Ube()) : "/?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(Wbe()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });
if (e !== "catalog") {
let t = (i ? {
tags: "标签",
@@ -57947,12 +57947,12 @@ function JK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:
return Us("play", "还没有视频", "添加媒体目录或关注来源,开始建立你的馆藏。", { actions: a + o });
}
// src/react/video-wall/wall-empty.ts
-function Gbe({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {
- return e ? r || JK() : 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="${UK()}">清除筛选</a>` });
+function Kbe({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {
+ return e ? r || qK() : 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="${HK()}">清除筛选</a>` });
}
// src/react/library-processing/processing-actions.tsx
-function YK({ label: e, maintenance: t = !1, children: n }) {
- let r = jH("hover");
+function JK({ label: e, maintenance: t = !1, children: n }) {
+ let r = AH("hover");
return /* @__PURE__ */ (0, I.jsx)("div", {
ref: r,
role: "group",
@@ -57962,13 +57962,13 @@ function YK({ label: e, maintenance: t = !1, children: n }) {
children: n
});
}
-function XK({ option: e, metadataOnly: t, onRun: n }) {
+function YK({ option: e, metadataOnly: t, onRun: n }) {
let r = t && e.command.stage === "previews", i = r || e.disabled;
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
disabled: i,
title: r ? "请先在媒体库设置中开启视频预览生成" : void 0,
- className: q(qV, i ? "cursor-not-allowed opacity-50" : JV, "text-body-2-medium"),
+ className: q(KV, i ? "cursor-not-allowed opacity-50" : qV, "text-body-2-medium"),
onClick: () => n(e.command),
children: /* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex min-w-0 flex-col gap-1",
@@ -57979,12 +57979,12 @@ function XK({ option: e, metadataOnly: t, onRun: n }) {
})
});
}
-function Kbe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
+function qbe({ 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) => {
try {
- let o = await o_e(e, t.signal, a);
+ let o = await s_e(e, t.signal, a);
if (!o.traffic) throw Error("服务端未提供流量预估");
if (t.signal.aborted) return;
c(o.traffic), n.confirmButton.disabled = !1, o.traffic.inventory?.token && (r = setTimeout(() => {
@@ -58009,7 +58009,7 @@ function Kbe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
}),
/* @__PURE__ */ (0, I.jsx)("div", {
className: "flex justify-center",
- children: /* @__PURE__ */ (0, I.jsx)(RH, {
+ children: /* @__PURE__ */ (0, I.jsx)(LH, {
value: a,
busy: i,
onChange: (e) => {
@@ -58017,7 +58017,7 @@ function Kbe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
}
})
}),
- s ? /* @__PURE__ */ (0, I.jsx)(cU, {
+ s ? /* @__PURE__ */ (0, I.jsx)(sU, {
traffic: s,
initial: !0
}) : null,
@@ -58029,7 +58029,7 @@ function Kbe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
]
});
}
-function ZK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, speedMode: i = "standard", pendingCount: a = 0, onRun: o, onOccupied: s }) {
+function XK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, speedMode: i = "standard", pendingCount: a = 0, onRun: o, onOccupied: s }) {
let c = (0, F.useRef)(null), l = (0, F.useRef)(null), [u, d] = (0, F.useState)(null), f = (0, F.useRef)(i);
(0, F.useEffect)(() => () => l.current?.close(), []);
let [p, m] = (0, F.useState)(!1), h = {
@@ -58077,7 +58077,7 @@ function ZK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
description: "为已入库的本地视频生成九宫格",
command: { stage: "previews" }
}
- ], v = e || t, y = e ? kV(!0) : t ? { "aria-disabled": !0 } : {}, b = (a) => {
+ ], v = e || t, y = e ? OV(!0) : t ? { "aria-disabled": !0 } : {}, b = (a) => {
if (e) return;
if (t) {
s?.();
@@ -58112,7 +58112,7 @@ function ZK({ 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)(Kbe, {
+ u ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(qbe, {
command: u.command,
dialog: u.dialog,
speed: i,
@@ -58121,11 +58121,11 @@ function ZK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
f.current = e;
}
}), u.host) : null,
- u ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(OH, {
+ u ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(DH, {
href: "/settings/library",
size: "small",
variant: "primary",
- trailingIcon: PB,
+ trailingIcon: NB,
disabled: v,
onClick: (e) => {
u.dialog.confirmButton.getAttribute("aria-busy") === "true" ? e.preventDefault() : u.dialog.close();
@@ -58143,7 +58143,7 @@ function ZK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
}), /* @__PURE__ */ (0, I.jsx)(J, {
ref: c,
iconOnly: !0,
- leadingIcon: NB,
+ leadingIcon: MB,
"aria-label": "更多同步方式",
"aria-haspopup": "dialog",
"aria-expanded": p,
@@ -58153,27 +58153,27 @@ function ZK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
}
})]
}),
- /* @__PURE__ */ (0, I.jsx)(Dz, {
+ /* @__PURE__ */ (0, I.jsx)(Ez, {
triggerRef: c,
isOpen: p,
onOpenChange: m,
placement: "bottom end",
offset: 4,
- className: KV,
- children: /* @__PURE__ */ (0, I.jsxs)(Bz, {
+ className: GV,
+ children: /* @__PURE__ */ (0, I.jsxs)(zz, {
"aria-label": "同步方式",
className: "flex w-80 flex-col gap-1 outline-none",
- children: [n ? /* @__PURE__ */ (0, I.jsxs)(YK, {
+ children: [n ? /* @__PURE__ */ (0, I.jsxs)(JK, {
label: "日常同步",
children: [/* @__PURE__ */ (0, I.jsx)("p", {
className: "px-2 py-1 text-caption-1-medium text-text-secondary",
children: "日常同步"
- }), g.map((e) => /* @__PURE__ */ (0, I.jsx)(XK, {
+ }), g.map((e) => /* @__PURE__ */ (0, I.jsx)(YK, {
option: e,
metadataOnly: r,
onRun: b
}, e.label))]
- }) : null, /* @__PURE__ */ (0, I.jsxs)(YK, {
+ }) : null, /* @__PURE__ */ (0, I.jsxs)(JK, {
label: n ? "全库维护" : "补全方式",
maintenance: n,
children: [n ? /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -58185,7 +58185,7 @@ function ZK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
className: "text-caption-1-regular text-text-secondary",
children: "检查全部文件,复用已有资料和预览"
})]
- }) : null, _.map((e) => /* @__PURE__ */ (0, I.jsx)(XK, {
+ }) : null, _.map((e) => /* @__PURE__ */ (0, I.jsx)(YK, {
option: e,
metadataOnly: r,
onRun: b
@@ -58196,48 +58196,48 @@ function ZK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
] });
}
// src/react/library-processing/library-completion.tsx
-function QK(e, t) {
+function ZK(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 $K({ assetIds: e, onComplete: t, className: n = "mb-4" }) {
- return e.length ? /* @__PURE__ */ (0, I.jsx)(qbe, {
+function QK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {
+ return e.length ? /* @__PURE__ */ (0, I.jsx)(Jbe, {
assetIds: e,
onComplete: t,
className: n
}) : null;
}
-function qbe({ assetIds: e, onComplete: t, className: n }) {
+function Jbe({ assetIds: e, onComplete: t, className: n }) {
let r = Pt({
- queryKey: fH,
- queryFn: ({ signal: e }) => bH(e),
- refetchInterval: (e) => CH(e.state.data, !0)
+ queryKey: dH,
+ queryFn: ({ signal: e }) => yH(e),
+ refetchInterval: (e) => SH(e.state.data, !0)
}), [i, a] = (0, F.useState)(null), [o, s] = (0, F.useState)(""), c = (0, F.useRef)(null), l = Ft({
- mutationFn: (t) => V(dH, {
+ mutationFn: (t) => V(uH, {
...t,
asset_ids: e
}),
onSuccess: (e) => {
- a(e.job_id || null), H.setQueryData(fH, e), H.invalidateQueries({ queryKey: fH });
+ a(e.job_id || null), H.setQueryData(dH, e), H.invalidateQueries({ queryKey: dH });
}
}), u = r.data;
(0, F.useEffect)(() => {
- u && i && u.job_id === i && !hH(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), H.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());
+ u && i && u.job_id === i && !mH(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), H.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());
}, [
u,
i,
t
]);
- let d = l.isPending || hH(u), f = l.error ? cr(l.error) : r.error ? SH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,${hH(u) ? "当前任务结束后可单独补全。" : "可补全资料与图片。"}`);
+ let d = l.isPending || mH(u), f = l.error ? cr(l.error) : r.error ? xH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,${mH(u) ? "当前任务结束后可单独补全。" : "可补全资料与图片。"}`);
return /* @__PURE__ */ (0, I.jsx)("section", {
"aria-label": "补全预览",
"aria-live": "polite",
"data-library-completion": "",
className: q("@container", n),
- children: /* @__PURE__ */ (0, I.jsxs)(wV, {
+ children: /* @__PURE__ */ (0, I.jsxs)(CV, {
tone: f ? "warning" : "neutral",
action: /* @__PURE__ */ (0, I.jsx)("div", {
className: "flex flex-wrap items-center gap-2",
- children: /* @__PURE__ */ (0, I.jsx)(ZK, {
+ children: /* @__PURE__ */ (0, I.jsx)(XK, {
busy: d,
metadataOnly: u?.metadata_only,
onRun: (e) => {
@@ -58248,10 +58248,10 @@ function qbe({ assetIds: e, onComplete: t, className: n }) {
children: [
p,
" ",
- /* @__PURE__ */ (0, I.jsx)(OH, {
+ /* @__PURE__ */ (0, I.jsx)(DH, {
href: "/data-cleanup#libraryProcessing",
size: "small",
- trailingIcon: PB,
+ trailingIcon: NB,
children: f ? "打开扫描与采集" : "查看处理详情"
})
]
@@ -58259,31 +58259,31 @@ function qbe({ assetIds: e, onComplete: t, className: n }) {
});
}
// node_modules/@tanstack/react-table/dist/FlexRender.js
-function Jbe(e) {
- return Ybe(e) || typeof e == "function" || Xbe(e);
-}
function Ybe(e) {
+ return Xbe(e) || typeof e == "function" || Zbe(e);
+}
+function Xbe(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function Xbe(e) {
+function Zbe(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function eq(e, t) {
- return e == null ? null : Jbe(e) ? /* @__PURE__ */ F.createElement(e, t) : e;
+function $K(e, t) {
+ return e == null ? null : Ybe(e) ? /* @__PURE__ */ F.createElement(e, t) : e;
}
-function Zbe(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?.() ? eq(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : eq(n.cell, t.getContext());
+ return r.getIsAggregated?.() ? $K(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : $K(n.cell, t.getContext());
}
- return "header" in e && e.header ? eq(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? eq(e.footer.column.columnDef.footer, e.footer.getContext()) : null;
+ return "header" in e && e.header ? $K(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? $K(e.footer.column.columnDef.footer, e.footer.getContext()) : null;
}
// node_modules/@tanstack/store/dist/alien.js
/* @__NO_SIDE_EFFECTS__ */
-function Qbe({ update: e, notify: t, unwatched: n }) {
+function $be({ update: e, notify: t, unwatched: n }) {
return {
link: r,
unlink: i,
@@ -58400,7 +58400,7 @@ function Qbe({ update: e, notify: t, unwatched: n }) {
}
}
// node_modules/@tanstack/store/dist/atom.js
-function $be(e, t, n) {
+function exe(e, t, n) {
let r = typeof e == "object", i = r ? e : void 0;
return {
next: (r ? e.next : e)?.bind(i),
@@ -58408,38 +58408,38 @@ function $be(e, t, n) {
complete: (r ? e.complete : n)?.bind(i)
};
}
-var tq = [], nq = 0, { link: rq, unlink: exe, propagate: txe, checkDirty: iq, shallowPropagate: aq } = /* @__PURE__ */ Qbe({
+var eq = [], tq = 0, { link: nq, unlink: txe, propagate: nxe, checkDirty: rq, shallowPropagate: iq } = /* @__PURE__ */ $be({
update(e) {
return e._update();
},
notify(e) {
- tq[sq++] = e, e.flags &= -3;
+ eq[oq++] = e, e.flags &= -3;
},
unwatched(e) {
- e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, uq(e));
+ e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, lq(e));
}
-}), oq = 0, sq = 0, cq, lq = 0;
-function nxe(e) {
+}), aq = 0, oq = 0, sq, cq = 0;
+function rxe(e) {
try {
- ++lq, e();
+ ++cq, e();
} finally {
- --lq || dq();
+ --cq || uq();
}
}
-function uq(e) {
+function lq(e) {
let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;
- for (; n !== void 0;) n = exe(n, e);
+ for (; n !== void 0;) n = txe(n, e);
}
-function dq() {
- if (!(lq > 0)) {
- for (; oq < sq;) {
- let e = tq[oq];
- tq[oq++] = void 0, e.notify();
+function uq() {
+ if (!(cq > 0)) {
+ for (; aq < oq;) {
+ let e = eq[aq];
+ eq[aq++] = void 0, e.notify();
}
- oq = 0, sq = 0;
+ aq = 0, oq = 0;
}
}
-function rxe(e, t) {
+function ixe(e, t) {
let n = typeof e == "function", r = e, i = {
_snapshot: n ? void 0 : e,
subs: void 0,
@@ -58448,53 +58448,53 @@ function rxe(e, t) {
depsTail: void 0,
flags: +!n,
get() {
- return cq !== void 0 && rq(i, cq, nq), i._snapshot;
+ return sq !== void 0 && nq(i, sq, tq), i._snapshot;
},
subscribe(e) {
- let t = $be(e), n = { current: !1 }, r = ixe(() => {
- i.get(), n.current ? (cq = void 0, t.next?.(i._snapshot)) : n.current = !0;
+ let t = exe(e), n = { current: !1 }, r = axe(() => {
+ i.get(), n.current ? (sq = void 0, t.next?.(i._snapshot)) : n.current = !0;
});
return { unsubscribe: () => {
r.stop();
} };
},
_update(e) {
- let a = cq, o = t?.compare ?? Object.is;
- if (n) cq = i, ++nq, i.depsTail = void 0;
+ let a = sq, o = t?.compare ?? Object.is;
+ if (n) sq = i, ++tq, i.depsTail = void 0;
else if (e === void 0) return !1;
n && (i.flags = 5);
try {
let t = i._snapshot, a = typeof e == "function" ? e(t) : e === void 0 && n ? r(t) : e;
return t === void 0 || !o(t, a) ? (i._snapshot = a, !0) : !1;
} finally {
- cq = a, n && (i.flags &= -5), uq(i);
+ sq = a, n && (i.flags &= -5), lq(i);
}
}
};
return n ? (i.flags = 17, i.get = function() {
let e = i.flags;
- if (e & 16 || e & 32 && iq(i.deps, i)) {
+ if (e & 16 || e & 32 && rq(i.deps, i)) {
if (i._update()) {
let e = i.subs;
- e !== void 0 && aq(e);
+ e !== void 0 && iq(e);
}
} else e & 32 && (i.flags = e & -33);
- return cq !== void 0 && rq(i, cq, nq), i._snapshot;
+ return sq !== void 0 && nq(i, sq, tq), i._snapshot;
}) : i.set = function(e) {
if (i._update(e)) {
let e = i.subs;
- e !== void 0 && (txe(e), aq(e), dq());
+ e !== void 0 && (nxe(e), iq(e), uq());
}
}, i;
}
-function ixe(e) {
+function axe(e) {
let t = () => {
- let t = cq;
- cq = n, ++nq, n.depsTail = void 0, n.flags = 6;
+ let t = sq;
+ sq = n, ++tq, n.depsTail = void 0, n.flags = 6;
try {
return e();
} finally {
- cq = t, n.flags &= -5, uq(n);
+ sq = t, n.flags &= -5, lq(n);
}
}, n = {
deps: void 0,
@@ -58504,16 +58504,16 @@ function ixe(e) {
flags: 6,
notify() {
let e = this.flags;
- e & 16 || e & 32 && iq(this.deps, this) ? t() : this.flags = 2;
+ e & 16 || e & 32 && rq(this.deps, this) ? t() : this.flags = 2;
},
stop() {
- this.flags = 0, this.depsTail = void 0, uq(this);
+ this.flags = 0, this.depsTail = void 0, lq(this);
}
};
return t(), n;
}
// node_modules/@tanstack/store/dist/shallow.js
-function fq(e, t) {
+function dq(e, t) {
if (Object.is(e, t)) return !0;
if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
if (e instanceof Map && t instanceof Map) {
@@ -58527,17 +58527,17 @@ function fq(e, t) {
return !0;
}
if (e instanceof Date && t instanceof Date) return e.getTime() === t.getTime();
- let n = pq(e);
- if (n.length !== pq(t).length) return !1;
+ let n = fq(e);
+ if (n.length !== fq(t).length) return !1;
for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !Object.is(e[n[r]], t[n[r]])) return !1;
return !0;
}
-function pq(e) {
+function fq(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 axe = /* @__PURE__ */ o(((e) => {
- var t = A(), n = sw();
+var oxe = /* @__PURE__ */ o(((e) => {
+ var t = A(), n = lw();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
}
@@ -58581,33 +58581,33 @@ var axe = /* @__PURE__ */ o(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), mq = /* @__PURE__ */ o(((e, t) => {
- t.exports = axe();
-})), oxe = mq();
-function sxe(e, t) {
+})), pq = /* @__PURE__ */ o(((e, t) => {
+ t.exports = oxe();
+})), sxe = pq();
+function cxe(e, t) {
return e === t;
}
-function hq(e, t = (e) => e, n) {
- let r = n?.compare ?? sxe, i = (0, F.useCallback)((t) => {
+function mq(e, t = (e) => e, n) {
+ let r = n?.compare ?? cxe, i = (0, F.useCallback)((t) => {
let { unsubscribe: n } = e.subscribe(t);
return n;
}, [e]), a = (0, F.useCallback)(() => e.get(), [e]);
- return (0, oxe.useSyncExternalStoreWithSelector)(i, a, a, t, r);
+ return (0, sxe.useSyncExternalStoreWithSelector)(i, a, a, t, r);
}
// node_modules/@tanstack/react-table/dist/Subscribe.js
-function cxe(e) {
- let t = hq(e.source, e.selector, { compare: fq });
+function lxe(e) {
+ let t = mq(e.source, e.selector, { compare: dq });
return typeof e.children == "function" ? e.children(t) : e.children;
}
// node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.utils.js
-function lxe(e) {
+function uxe(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 uxe(e) {
+function dxe(e) {
let { createAtom: t, batch: n } = e, r = t(0);
return {
createOptionsStore: !1,
@@ -58637,7 +58637,7 @@ function uxe(e) {
}
};
}
-function dxe(e, t = Object.is) {
+function fxe(e, t = Object.is) {
let n = !1, r;
return {
get: e.get,
@@ -58650,28 +58650,28 @@ function dxe(e, t = Object.is) {
};
}
// node_modules/@tanstack/react-table/dist/reactivity.js
-function fxe() {
- return uxe({
- createAtom: rxe,
- batch: nxe
+function pxe() {
+ return dxe({
+ createAtom: ixe,
+ batch: rxe
});
}
// node_modules/@tanstack/table-core/dist/utils.js
-function gq(e, t) {
+function hq(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function _q(e) {
- if (Array.isArray(e)) return e.map(_q);
+function gq(e) {
+ if (Array.isArray(e)) return e.map(gq);
if (e && typeof e == "object") {
let t = Object.getPrototypeOf(e);
if (t !== Object.prototype && t !== null) return e;
- let n = t === null ? yq() : {}, r = Object.keys(e);
+ let n = t === null ? vq() : {}, r = Object.keys(e);
for (let t = 0; t < r.length; t++) {
let i = r[t];
Object.defineProperty(n, i, {
configurable: !0,
enumerable: !0,
- value: _q(e[i]),
+ value: gq(e[i]),
writable: !0
});
}
@@ -58679,7 +58679,7 @@ function _q(e) {
}
return e;
}
-function vq(e, t) {
+function _q(e, t) {
let n = Object.keys(t), r = e;
for (let e = 0; e < n.length; e++) {
let i = n[e];
@@ -58687,53 +58687,53 @@ function vq(e, t) {
}
return e;
}
-function yq() {
+function vq() {
return Object.create(null);
}
-function bq(e, t) {
+function yq(e, t) {
return Object.prototype.hasOwnProperty.call(e, t);
}
-function xq(e, t) {
+function bq(e, t) {
return (n) => {
- (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => gq(n, e));
+ (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => hq(n, e));
};
}
-function Sq(e) {
+function xq(e) {
if (typeof e != "object" || !e) return !1;
if (Array.isArray(e)) return !0;
let t = Object.getPrototypeOf(e);
return t === Object.prototype || t === null;
}
-function Cq(e) {
+function Sq(e) {
return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
-var pxe = 3;
-function mxe(e, t) {
- return wq(e, t, pxe);
+var mxe = 3;
+function hxe(e, t) {
+ return Cq(e, t, mxe);
}
-function wq(e, t, n) {
+function Cq(e, t, n) {
if (Object.is(e, t)) return !0;
- if (n <= 0 || !Sq(e) || !Sq(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;
- let r = Cq(e), i = Cq(t);
+ if (n <= 0 || !xq(e) || !xq(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;
+ let r = Sq(e), i = Sq(t);
if (r.length !== i.length) return !1;
let a = e, o = t;
for (let e = 0; e < r.length; e++) {
let i = r[e];
- if (!Object.prototype.propertyIsEnumerable.call(t, i) || !wq(a[i], o[i], n - 1)) return !1;
+ if (!Object.prototype.propertyIsEnumerable.call(t, i) || !Cq(a[i], o[i], n - 1)) return !1;
}
return !0;
}
-function Tq(e, t, n, r = mxe) {
+function wq(e, t, n, r = hxe) {
let i = `on${t.charAt(0).toUpperCase()}${t.slice(1)}Change`, a = e.options[i];
a && a((e) => {
- let t = gq(n, e);
+ let t = hq(n, e);
return r(e, t) ? e : t;
});
}
-function hxe(e) {
+function gxe(e) {
return e instanceof Function;
}
-function gxe(e, t) {
+function _xe(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -58743,7 +58743,7 @@ function gxe(e, t) {
};
return r(e), n;
}
-var _xe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {
+var vxe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {
let o = [], s;
return (c) => {
i?.();
@@ -58757,23 +58757,23 @@ var _xe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCo
return n?.(u), u && (o = l, a?.(), s = e(...l ?? []), r?.(s)), s;
};
};
-function Eq(e) {
+function Tq(e) {
let t = !1;
return () => {
t ? e() : t = !0;
};
}
-function Dq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {
+function Eq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {
let o = { onAfterUpdate: r ? () => {
let { schedule: e, untrack: t } = i._reactivity;
e(() => t(() => r()));
} : void 0 };
- return _xe({
+ return vxe({
...a,
...o
});
}
-function Oq(e, t = "_") {
+function Dq(e, t = "_") {
let [n, r] = e.replace(t, " ").split(" ");
return {
fnKey: r,
@@ -58781,10 +58781,10 @@ function Oq(e, t = "_") {
parentName: n
};
}
-function kq(e, t, n) {
+function Oq(e, t, n) {
for (let [r, { fn: i, memoDeps: a }] of Object.entries(n)) {
- let { fnKey: n, fnName: o } = Oq(r);
- t[n] = a ? Dq({
+ let { fnKey: n, fnName: o } = Dq(r);
+ t[n] = a ? Eq({
memoDeps: a,
fn: i,
fnName: o,
@@ -58793,15 +58793,15 @@ function kq(e, t, n) {
}) : i;
}
}
-function Aq(e, t, n, r) {
+function kq(e, t, n, r) {
for (let [i, { fn: a, memoDeps: o }] of Object.entries(r)) {
- let { fnKey: r, fnName: s } = Oq(i);
+ let { fnKey: r, fnName: s } = Dq(i);
if (o) {
let i = `_memo_${r}`;
t[r] = function(...t) {
if (!this[i]) {
let t = this;
- this[i] = Dq({
+ this[i] = Eq({
memoDeps: (e) => o(t, e),
fn: (...e) => a(t, ...e),
fnName: s,
@@ -58817,17 +58817,17 @@ function Aq(e, t, n, r) {
};
}
}
-function jq(e, t, n, ...r) {
+function Aq(e, t, n, ...r) {
return e[t]?.(...r) ?? n(e, ...r);
}
// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.utils.js
-function vxe(e) {
+function yxe(e) {
return e.row.getValue(e.column.id);
}
-function yxe(e) {
+function bxe(e) {
return e.getValue() ?? e.table.options.renderFallbackValue;
}
-function bxe(e) {
+function xxe(e) {
return {
table: e.table,
column: e.column,
@@ -58838,18 +58838,18 @@ function bxe(e) {
};
}
// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.js
-var xxe = { assignCellPrototype: (e, t) => {
- Aq("coreCellsFeature", e, t, {
- cell_getValue: { fn: (e) => vxe(e) },
- cell_renderValue: { fn: (e) => yxe(e) },
+var Sxe = { assignCellPrototype: (e, t) => {
+ kq("coreCellsFeature", e, t, {
+ cell_getValue: { fn: (e) => yxe(e) },
+ cell_renderValue: { fn: (e) => bxe(e) },
cell_getContext: {
- fn: (e) => bxe(e),
+ fn: (e) => xxe(e),
memoDeps: (e) => [e]
}
});
} };
// node_modules/@tanstack/table-core/dist/core/columns/constructColumn.js
-function Sxe(e) {
+function Cxe(e) {
if (!e._columnPrototype) {
e._columnPrototype = { table: e };
let t = Object.values(e._features);
@@ -58857,7 +58857,7 @@ function Sxe(e) {
}
return e._columnPrototype;
}
-function Cxe(e, t, n, r) {
+function wxe(e, t, n, r) {
let i = {
...e.getDefaultColumnDef(),
...t
@@ -58877,53 +58877,53 @@ function Cxe(e, t, n, r) {
} else c = (e) => e[i.accessorKey];
}
if (!s) throw Error();
- let l = Sxe(e), u = Object.create(l);
+ let l = Cxe(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);
return u;
}
// node_modules/@tanstack/table-core/dist/core/featureStubs.js
-function Mq(e) {
+function jq(e) {
return e.getIsVisible?.() ?? !0;
}
-function wxe(e) {
+function Txe(e) {
return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();
}
-function Nq(e, t) {
+function Mq(e, t) {
let n = e, r = t;
return n.getOrderColumnsFn?.()(r) ?? n._orderGroupedColumns?.(r) ?? t;
}
-function Pq(e, t, n, r) {
+function Nq(e, t, n, r) {
return e._orderByColumnPinning?.(t, n, r) ?? t;
}
-function Fq(e, t) {
+function Pq(e, t) {
return e._expandRows?.(t) ?? t;
}
-function Txe(e) {
+function Exe(e) {
e.autoResetExpanded?.();
}
-function Iq(e) {
+function Fq(e) {
e.autoResetPageIndex?.();
}
-function Exe(e) {
+function Dxe(e) {
e.autoResetSorting?.();
}
-function Dxe(e) {
+function Oxe(e) {
e.autoResetCellSelection?.();
}
// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.utils.js
-function Oxe(e) {
+function kxe(e) {
return [e, ...e.columns.flatMap((e) => e.getFlatColumns())];
}
-function kxe(e) {
+function Axe(e) {
if (e.columns.length) {
let t = e.columns.flatMap((e) => e.getLeafColumns());
- return Nq(e.table, t);
+ return Mq(e.table, t);
}
return [e];
}
-function Axe(e) {
+function jxe(e) {
return {
header: (e) => {
let t = e.header.column.columnDef;
@@ -58934,53 +58934,53 @@ function Axe(e) {
...e.options.defaultColumn
};
}
-function Lq(e, t, n, r = 0) {
+function Iq(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 = Cxe(e, o, r, n), c = o;
- s.columns = c.columns ? Lq(e, c.columns, s, r + 1) : [], i[a] = s;
+ let o = t[a], s = wxe(e, o, r, n), c = o;
+ s.columns = c.columns ? Iq(e, c.columns, s, r + 1) : [], i[a] = s;
}
return i;
}
-function jxe(e) {
- return Lq(e, e.options.columns);
-}
function Mxe(e) {
- return e.getAllColumns().flatMap((e) => e.getFlatColumns());
+ return Iq(e, e.options.columns);
}
function Nxe(e) {
- let t = yq(), n = e.getAllFlatColumns();
+ return e.getAllColumns().flatMap((e) => e.getFlatColumns());
+}
+function Pxe(e) {
+ let t = vq(), n = e.getAllFlatColumns();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.id] = r;
}
return t;
}
-function Pxe(e) {
- return Nq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));
-}
function Fxe(e) {
- let t = yq(), n = e.getAllLeafColumns();
+ return Mq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));
+}
+function Ixe(e) {
+ let t = vq(), n = e.getAllLeafColumns();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.id] = r;
}
return t;
}
-function Ixe(e, t) {
+function Lxe(e, t) {
return e.getAllFlatColumnsById()[t];
}
// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.js
-var Lxe = {
+var Rxe = {
assignColumnPrototype: (e, t) => {
- Aq("coreColumnsFeature", e, t, {
+ kq("coreColumnsFeature", e, t, {
column_getFlatColumns: {
- fn: (e) => Oxe(e),
+ fn: (e) => kxe(e),
memoDeps: (e) => [e.table.options.columns]
},
column_getLeafColumns: {
- fn: (e) => kxe(e),
+ fn: (e) => Axe(e),
memoDeps: (e) => [
e.table.atoms.columnOrder?.get(),
e.table.atoms.grouping?.get(),
@@ -58991,25 +58991,25 @@ var Lxe = {
});
},
constructTableAPIs: (e) => {
- kq("coreColumnsFeature", e, {
+ Oq("coreColumnsFeature", e, {
table_getDefaultColumnDef: {
- fn: () => Axe(e),
+ fn: () => jxe(e),
memoDeps: () => [e.options.defaultColumn]
},
table_getAllColumns: {
- fn: () => jxe(e),
+ fn: () => Mxe(e),
memoDeps: () => [e.options.columns]
},
table_getAllFlatColumns: {
- fn: () => Mxe(e),
+ fn: () => Nxe(e),
memoDeps: () => [e.options.columns]
},
table_getAllFlatColumnsById: {
- fn: () => Nxe(e),
+ fn: () => Pxe(e),
memoDeps: () => [e.options.columns]
},
table_getAllLeafColumns: {
- fn: () => Pxe(e),
+ fn: () => Fxe(e),
memoDeps: () => [
e.atoms.columnOrder?.get(),
e.atoms.grouping?.get(),
@@ -59018,15 +59018,15 @@ var Lxe = {
]
},
table_getAllLeafColumnsById: {
- fn: () => Fxe(e),
+ fn: () => Ixe(e),
memoDeps: () => [e.getAllLeafColumns()]
},
- table_getColumn: { fn: (t) => Ixe(e, t) }
+ table_getColumn: { fn: (t) => Lxe(e, t) }
});
}
};
// node_modules/@tanstack/table-core/dist/core/headers/constructHeader.js
-function Rxe(e) {
+function zxe(e) {
if (!e._headerPrototype) {
e._headerPrototype = { table: e };
let t = Object.values(e._features);
@@ -59034,38 +59034,38 @@ function Rxe(e) {
}
return e._headerPrototype;
}
-function Rq(e, t, n) {
- let r = Rxe(e), i = Object.create(r);
+function Lq(e, t, n) {
+ let r = zxe(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);
return i;
}
// node_modules/@tanstack/table-core/dist/core/headers/buildHeaderGroups.js
-function zq(e, t = 1) {
+function Rq(e, t = 1) {
let n = t;
for (let r = 0; r < e.length; r++) {
let i = e[r];
- Mq(i) && i.columns.length && (n = Math.max(n, zq(i.columns, t + 1)));
+ jq(i) && i.columns.length && (n = Math.max(n, Rq(i.columns, t + 1)));
}
return n;
}
-function zxe(e, t) {
+function Bxe(e, t) {
return e ? `${e}_${t}` : String(t);
}
-function Bxe(e, t, n, r) {
+function Vxe(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 Vxe(e, t) {
+function Hxe(e, t) {
let n = 0;
for (let r = 0; r < e.length; r++) e[r].column === t && n++;
return n;
}
-function Bq(e, t, n, r, i, a) {
+function zq(e, t, n, r, i, a) {
let o = {
depth: t,
- id: zxe(r, t),
+ id: Bxe(r, t),
headers: []
}, s = [];
for (let i = 0; i < e.length; i++) {
@@ -59073,10 +59073,10 @@ function Bq(e, t, n, r, i, a) {
let a = e[i], c = s[s.length - 1], l = a.column.depth === o.depth, u, d = !1;
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 = Rq(n, u, {
- id: Bxe(r, t, u.id, a.id),
+ let e = Lq(n, u, {
+ id: Vxe(r, t, u.id, a.id),
isPlaceholder: d,
- placeholderId: d ? String(Vxe(s, u)) : void 0,
+ placeholderId: d ? String(Hxe(s, u)) : void 0,
depth: t,
index: s.length
});
@@ -59085,18 +59085,18 @@ function Bq(e, t, n, r, i, a) {
o.headers.push(a), a.headerGroup = o;
}
for (let e = 0; e < a.length; e++) a[e](o);
- i.push(o), t > 0 && Bq(s, t - 1, n, r, i, a);
+ i.push(o), t > 0 && zq(s, t - 1, n, r, i, a);
}
-function Vq(e) {
+function Bq(e) {
for (let t = 0; t < e.length; t++) {
let n = e[t];
- if (!Mq(n.column)) continue;
+ if (!jq(n.column)) continue;
let r = 0;
if (n.subHeaders.length) {
- Vq(n.subHeaders);
+ Bq(n.subHeaders);
for (let e = 0; e < n.subHeaders.length; e++) {
let t = n.subHeaders[e];
- Mq(t.column) && (r += t.colSpan);
+ jq(t.column) && (r += t.colSpan);
}
} else r = 1;
if (n.colSpan = r, n.isPlaceholder && n.subHeaders.length === 1 && n.subHeaders[0].column === n.column) {
@@ -59106,37 +59106,37 @@ function Vq(e) {
} else n.rowSpan = 1;
}
}
-function Hxe(e, t, n, r) {
- let i = zq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);
- for (let e = 0; e < t.length; e++) e in t && (s[e] = Rq(n, t[e], {
+function Uxe(e, t, n, r) {
+ let i = Rq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);
+ for (let e = 0; e < t.length; e++) e in t && (s[e] = Lq(n, t[e], {
depth: i,
index: e
}));
- return Bq(s, i - 1, n, r, a, o), a.reverse(), Vq(a[0]?.headers ?? []), a;
+ return zq(s, i - 1, n, r, a, o), a.reverse(), Bq(a[0]?.headers ?? []), a;
}
// node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.utils.js
-function Hq(e, t) {
- for (let n = 0; n < e.subHeaders.length; n++) Hq(e.subHeaders[n], t);
+function Vq(e, t) {
+ for (let n = 0; n < e.subHeaders.length; n++) Vq(e.subHeaders[n], t);
t.push(e);
}
-function Uxe(e) {
+function Wxe(e) {
let t = [];
- return Hq(e, t), t;
+ return Vq(e, t), t;
}
-function Wxe(e) {
+function Gxe(e) {
return {
column: e.column,
header: e,
table: e.column.table
};
}
-function Gxe(e) {
- return Hxe(e.getAllColumns(), Pq(e, wxe(e), (e) => e.id), e);
-}
function Kxe(e) {
- return [...e.getHeaderGroups()].reverse();
+ return Uxe(e.getAllColumns(), Nq(e, Txe(e), (e) => e.id), e);
}
function qxe(e) {
+ return [...e.getHeaderGroups()].reverse();
+}
+function Jxe(e) {
let t = e.getHeaderGroups(), n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e].headers;
@@ -59144,7 +59144,7 @@ function qxe(e) {
}
return n;
}
-function Jxe(e) {
+function Yxe(e) {
let t = e.getHeaderGroups()[0]?.headers ?? [], n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e].getLeafHeaders();
@@ -59153,23 +59153,23 @@ function Jxe(e) {
return n;
}
// node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.js
-var Yxe = {
+var Xxe = {
assignHeaderPrototype: (e, t) => {
- Aq("coreHeadersFeature", e, t, {
+ kq("coreHeadersFeature", e, t, {
header_getLeafHeaders: {
- fn: (e) => Uxe(e),
+ fn: (e) => Wxe(e),
memoDeps: (e) => [e.column.table.options.columns]
},
header_getContext: {
- fn: (e) => Wxe(e),
+ fn: (e) => Gxe(e),
memoDeps: (e) => [e.column.table.options.columns]
}
});
},
constructTableAPIs: (e) => {
- kq("coreHeadersFeature", e, {
+ Oq("coreHeadersFeature", e, {
table_getHeaderGroups: {
- fn: () => Gxe(e),
+ fn: () => Kxe(e),
memoDeps: () => [
e.options.columns,
e.atoms.columnOrder?.get(),
@@ -59180,22 +59180,22 @@ var Yxe = {
]
},
table_getFooterGroups: {
- fn: () => Kxe(e),
+ fn: () => qxe(e),
memoDeps: () => [e.getHeaderGroups()]
},
table_getFlatHeaders: {
- fn: () => qxe(e),
+ fn: () => Jxe(e),
memoDeps: () => [e.getHeaderGroups()]
},
table_getLeafHeaders: {
- fn: () => Jxe(e),
+ fn: () => Yxe(e),
memoDeps: () => [e.getHeaderGroups()]
}
});
}
};
// node_modules/@tanstack/table-core/dist/core/rows/constructRow.js
-function Xxe(e) {
+function Zxe(e) {
if (!e._rowPrototype) {
e._rowPrototype = { table: e };
let t = Object.values(e._features);
@@ -59203,98 +59203,98 @@ function Xxe(e) {
}
return e._rowPrototype;
}
-var Zxe = (e, t, n, r, i, a, o) => {
- let s = Xxe(e), c = Object.create(s);
- c._displayIndexCache = -1, c._uniqueValuesCache = yq(), c._valuesCache = yq(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];
+var Qxe = (e, t, n, r, i, a, o) => {
+ let s = Zxe(e), c = Object.create(s);
+ c._displayIndexCache = -1, c._uniqueValuesCache = vq(), c._valuesCache = vq(), 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 Qxe() {
- return (e) => Dq({
+function $xe() {
+ return (e) => Eq({
feature: "coreRowModelsFeature",
table: e,
fnName: "table.getCoreRowModel",
memoDeps: () => [e.options.data],
- fn: () => $xe(e, e.options.data),
- onAfterUpdate: Eq(() => {
- Txe(e), Iq(e), Exe(e), Dxe(e);
+ fn: () => eSe(e, e.options.data),
+ onAfterUpdate: Tq(() => {
+ Exe(e), Fq(e), Dxe(e), Oxe(e);
})
});
}
-function Uq(e, t, n, r = 0, i) {
+function Hq(e, t, n, r = 0, i) {
let a = [];
for (let o = 0; o < n.length; o++) {
- let s = n[o], c = Zxe(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 = Uq(e, t, c.originalSubRows, r + 1, c)));
+ 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 = Hq(e, t, c.originalSubRows, r + 1, c)));
}
return a;
}
-function $xe(e, t) {
+function eSe(e, t) {
let n = {
rows: [],
flatRows: [],
- rowsById: yq()
+ rowsById: vq()
};
- return n.rows = Uq(e, n, t), n;
+ return n.rows = Hq(e, n, t), n;
}
// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.js
-function eSe(e) {
- return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? Qxe()(e)), e._rowModels.coreRowModel();
-}
function tSe(e) {
- return e.getCoreRowModel();
+ return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? $xe()(e)), e._rowModels.coreRowModel();
}
function nSe(e) {
- return e._rowModels.filteredRowModel || (e._rowModels.filteredRowModel = e.options.features.filteredRowModel?.(e)), e.options.manualFiltering || !e._rowModels.filteredRowModel ? e.getPreFilteredRowModel() : e._rowModels.filteredRowModel();
+ return e.getCoreRowModel();
}
function rSe(e) {
- return e.getFilteredRowModel();
+ return e._rowModels.filteredRowModel || (e._rowModels.filteredRowModel = e.options.features.filteredRowModel?.(e)), e.options.manualFiltering || !e._rowModels.filteredRowModel ? e.getPreFilteredRowModel() : e._rowModels.filteredRowModel();
}
function iSe(e) {
- return e._rowModels.groupedRowModel || (e._rowModels.groupedRowModel = e.options.features.groupedRowModel?.(e)), e.options.manualGrouping || !e._rowModels.groupedRowModel ? e.getPreGroupedRowModel() : e._rowModels.groupedRowModel();
+ return e.getFilteredRowModel();
}
function aSe(e) {
- return e.getGroupedRowModel();
+ return e._rowModels.groupedRowModel || (e._rowModels.groupedRowModel = e.options.features.groupedRowModel?.(e)), e.options.manualGrouping || !e._rowModels.groupedRowModel ? e.getPreGroupedRowModel() : e._rowModels.groupedRowModel();
}
function oSe(e) {
- return e._rowModels.sortedRowModel || (e._rowModels.sortedRowModel = e.options.features.sortedRowModel?.(e)), e.options.manualSorting || !e._rowModels.sortedRowModel ? e.getPreSortedRowModel() : e._rowModels.sortedRowModel();
+ return e.getGroupedRowModel();
}
function sSe(e) {
- return e.getSortedRowModel();
+ return e._rowModels.sortedRowModel || (e._rowModels.sortedRowModel = e.options.features.sortedRowModel?.(e)), e.options.manualSorting || !e._rowModels.sortedRowModel ? e.getPreSortedRowModel() : e._rowModels.sortedRowModel();
}
function cSe(e) {
- return e._rowModels.expandedRowModel || (e._rowModels.expandedRowModel = e.options.features.expandedRowModel?.(e)), e.options.manualExpanding || !e._rowModels.expandedRowModel ? e.getPreExpandedRowModel() : e._rowModels.expandedRowModel();
+ return e.getSortedRowModel();
}
function lSe(e) {
- return e.getExpandedRowModel();
+ return e._rowModels.expandedRowModel || (e._rowModels.expandedRowModel = e.options.features.expandedRowModel?.(e)), e.options.manualExpanding || !e._rowModels.expandedRowModel ? e.getPreExpandedRowModel() : e._rowModels.expandedRowModel();
}
function uSe(e) {
- return e._rowModels.paginatedRowModel || (e._rowModels.paginatedRowModel = e.options.features.paginatedRowModel?.(e)), e.options.manualPagination || !e._rowModels.paginatedRowModel ? e.getPrePaginatedRowModel() : e._rowModels.paginatedRowModel();
+ return e.getExpandedRowModel();
}
function dSe(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 fSe(e) {
return e.getPaginatedRowModel();
}
// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.js
-var fSe = { constructTableAPIs: (e) => {
- kq("coreRowModelsFeature", e, {
- table_getCoreRowModel: { fn: () => eSe(e) },
- table_getPreFilteredRowModel: { fn: () => tSe(e) },
- table_getFilteredRowModel: { fn: () => nSe(e) },
- table_getPreGroupedRowModel: { fn: () => rSe(e) },
- table_getGroupedRowModel: { fn: () => iSe(e) },
- table_getPreSortedRowModel: { fn: () => aSe(e) },
- table_getSortedRowModel: { fn: () => oSe(e) },
- table_getPreExpandedRowModel: { fn: () => sSe(e) },
- table_getExpandedRowModel: { fn: () => cSe(e) },
- table_getPrePaginatedRowModel: { fn: () => lSe(e) },
- table_getPaginatedRowModel: { fn: () => uSe(e) },
- table_getRowModel: { fn: () => dSe(e) }
+var pSe = { constructTableAPIs: (e) => {
+ Oq("coreRowModelsFeature", e, {
+ table_getCoreRowModel: { fn: () => tSe(e) },
+ table_getPreFilteredRowModel: { fn: () => nSe(e) },
+ table_getFilteredRowModel: { fn: () => rSe(e) },
+ table_getPreGroupedRowModel: { fn: () => iSe(e) },
+ table_getGroupedRowModel: { fn: () => aSe(e) },
+ table_getPreSortedRowModel: { fn: () => oSe(e) },
+ table_getSortedRowModel: { fn: () => sSe(e) },
+ table_getPreExpandedRowModel: { fn: () => cSe(e) },
+ table_getExpandedRowModel: { fn: () => lSe(e) },
+ table_getPrePaginatedRowModel: { fn: () => uSe(e) },
+ table_getPaginatedRowModel: { fn: () => dSe(e) },
+ table_getRowModel: { fn: () => fSe(e) }
});
} };
// node_modules/@tanstack/table-core/dist/core/cells/constructCell.js
-function pSe(e) {
+function mSe(e) {
if (!e._cellPrototype) {
e._cellPrototype = { table: e };
let t = Object.values(e._features);
@@ -59302,48 +59302,48 @@ function pSe(e) {
}
return e._cellPrototype;
}
-function mSe(e, t, n) {
- let r = pSe(n), i = Object.create(r);
+function hSe(e, t, n) {
+ let r = mSe(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 hSe(e) {
+function gSe(e) {
let t = e.table.getRowsInDisplayOrder(), n = e._displayIndexCache;
return t[n] === e ? n : -1;
}
-function gSe(e) {
- let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? Fq(e, t).rows : t.rows;
+function _Se(e) {
+ let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? Pq(e, t).rows : t.rows;
for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;
return n;
}
-function _Se(e, t) {
- if (bq(e._valuesCache, t)) return e._valuesCache[t];
+function vSe(e, t) {
+ if (yq(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 vSe(e, t) {
- if (bq(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];
+function ySe(e, t) {
+ if (yq(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 ySe(e, t) {
+function bSe(e, t) {
return e.getValue(t) ?? e.table.options.renderFallbackValue;
}
-function bSe(e) {
- return gxe(e.subRows, (e) => e.subRows);
-}
function xSe(e) {
+ return _xe(e.subRows, (e) => e.subRows);
+}
+function SSe(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 SSe(e) {
+function CSe(e) {
if (e.parentId) return e.table.getCoreRowModel().rowsById[e.parentId] ?? e.table.getRow(e.parentId, !0);
}
-function CSe(e) {
+function wSe(e) {
let t = [], n = e;
for (;;) {
let e = n.getParentRow();
@@ -59352,77 +59352,77 @@ function CSe(e) {
}
return t.reverse();
}
-function wSe(e) {
+function TSe(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 = mSe(a, e, e.table), n.set(a, o)), r[i] = o;
+ o || (o = hSe(a, e, e.table), n.set(a, o)), r[i] = o;
}
return r;
}
-function TSe(e) {
- let t = yq(), n = e.getAllCells();
+function ESe(e) {
+ let t = vq(), n = e.getAllCells();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.column.id] = r;
}
return t;
}
-function ESe(e, t, n, r) {
+function DSe(e, t, n, r) {
return t.options.getRowId?.(e, n, r) ?? (r ? `${r.id}.${n}` : String(n));
}
-function DSe(e, t, n) {
+function OSe(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 OSe = {
+var kSe = {
assignRowPrototype: (e, t) => {
- Aq("coreRowsFeature", e, t, {
- row_getDisplayIndex: { fn: (e) => hSe(e) },
+ kq("coreRowsFeature", e, t, {
+ row_getDisplayIndex: { fn: (e) => gSe(e) },
row_getAllCellsByColumnId: {
- fn: (e) => TSe(e),
+ fn: (e) => ESe(e),
memoDeps: (e) => [e.getAllCells()]
},
row_getAllCells: {
- fn: (e) => wSe(e),
+ fn: (e) => TSe(e),
memoDeps: (e) => [e.table.getAllLeafColumns()]
},
row_getLeafRows: {
- fn: (e) => bSe(e),
+ fn: (e) => xSe(e),
memoDeps: (e) => [e.subRows]
},
- row_getParentRow: { fn: (e) => SSe(e) },
- row_getParentRows: { fn: (e) => CSe(e) },
- row_getUniqueValues: { fn: (e, t) => vSe(e, t) },
- row_getValue: { fn: (e, t) => _Se(e, t) },
- row_renderValue: { fn: (e, t) => ySe(e, t) }
+ row_getParentRow: { fn: (e) => CSe(e) },
+ row_getParentRows: { fn: (e) => wSe(e) },
+ row_getUniqueValues: { fn: (e, t) => ySe(e, t) },
+ row_getValue: { fn: (e, t) => vSe(e, t) },
+ row_renderValue: { fn: (e, t) => bSe(e, t) }
});
},
constructTableAPIs: (e) => {
- kq("coreRowsFeature", e, {
+ Oq("coreRowsFeature", e, {
table_getRowsInDisplayOrder: {
- fn: () => gSe(e),
+ fn: () => _Se(e),
memoDeps: () => [
e.getPrePaginatedRowModel().rows,
e.options.paginateExpandedRows,
e.options.paginateExpandedRows === !1 ? e.atoms.expanded?.get() : void 0
]
},
- table_getRowId: { fn: (t, n, r) => ESe(t, e, n, r) },
- table_getRow: { fn: (t, n) => DSe(e, t, n) },
+ table_getRowId: { fn: (t, n, r) => DSe(t, e, n, r) },
+ table_getRow: { fn: (t, n) => OSe(e, t, n) },
table_getMaxSubRowDepth: {
- fn: () => xSe(e),
+ fn: () => SSe(e),
memoDeps: () => [e.getCoreRowModel()]
}
});
}
};
// node_modules/@tanstack/table-core/dist/core/table/coreTablesFeature.utils.js
-function Wq(e, t, n = (e, t) => e === t) {
+function Uq(e, t, n = (e, t) => e === t) {
let r = t === void 0 ? e.options.state : t;
e._reactivity.batch(() => {
if (r) for (let t in r) {
@@ -59433,13 +59433,13 @@ function Wq(e, t, n = (e, t) => e === t) {
}
});
}
-function Gq(e, t, n = (e, t) => e === t) {
+function Wq(e, t, n = (e, t) => e === t) {
e._reactivity.batch(() => {
- Wq(e, t, n), e._reactivity.commit?.();
+ Uq(e, t, n), e._reactivity.commit?.();
});
}
-function kSe(e) {
- let t = _q(e.initialState);
+function ASe(e) {
+ let t = gq(e.initialState);
e._reactivity.batch(() => {
let n = Object.keys(t);
for (let r = 0; r < n.length; r++) {
@@ -59450,7 +59450,7 @@ function kSe(e) {
let n = Object.values(e._features);
for (let t = 0; t < n.length; t++) n[t].resetTableInstanceData?.(e);
}
-function ASe(e, t) {
+function jSe(e, t) {
let { features: n, atoms: r, initialState: i } = e.options;
if (!e.options.mergeOptions) return {
...e.options,
@@ -59482,26 +59482,26 @@ function ASe(e, t) {
}
});
}
-function Kq(e, t, n) {
- let r = ASe(e, gq(t, e.options));
- e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Gq(e, r.state ?? null);
+function Gq(e, t, n) {
+ let r = jSe(e, hq(t, e.options));
+ e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Wq(e, r.state ?? null);
}
// node_modules/@tanstack/table-core/dist/core/coreFeatures.js
-var jSe = {
- coreCellsFeature: xxe,
- coreColumnsFeature: Lxe,
- coreHeadersFeature: Yxe,
- coreRowModelsFeature: fSe,
- coreRowsFeature: OSe,
+var MSe = {
+ coreCellsFeature: Sxe,
+ coreColumnsFeature: Rxe,
+ coreHeadersFeature: Xxe,
+ coreRowModelsFeature: pSe,
+ coreRowsFeature: kSe,
coreTablesFeature: { constructTableAPIs: (e) => {
- kq("coreTablesFeature", e, {
- table_reset: { fn: () => kSe(e) },
- table_setOptions: { fn: (t) => Kq(e, t) }
+ Oq("coreTablesFeature", e, {
+ table_reset: { fn: () => ASe(e) },
+ table_setOptions: { fn: (t) => Gq(e, t) }
});
} }
};
// node_modules/@tanstack/table-core/dist/helpers/columnHelper.js
-function qq() {
+function Kq() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -59516,21 +59516,21 @@ function qq() {
};
}
// node_modules/@tanstack/table-core/dist/helpers/tableFeatures.js
-function Jq(e) {
+function qq(e) {
return e;
}
// node_modules/@tanstack/table-core/dist/core/table/constructTable.js
-function MSe(e, t = {}) {
+function NSe(e, t = {}) {
return Object.values(e).forEach((e) => {
t = e.getInitialState?.(t) ?? t;
- }), _q(t);
+ }), gq(t);
}
-function NSe(e) {
+function PSe(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: {
- ...jSe,
+ ...MSe,
..._
},
_headerGroupInstanceInitFns: [],
@@ -59568,7 +59568,7 @@ function NSe(e) {
set(e) {
v.optionsStore.set(() => e);
}
- })) : v.options = b, v.initialState = MSe(v._features, v.options.initialState);
+ })) : v.options = b, v.initialState = NSe(v._features, v.options.initialState);
let x = Object.keys(v.initialState);
for (let e = 0; e < x.length; e++) {
let n = x[e];
@@ -59576,14 +59576,14 @@ function NSe(e) {
let e = v.options, t = e.atoms?.[n], r = t ? t.get() : v.baseAtoms[n].get();
if (t) return r;
let i = e.state;
- if (i && bq(i, n)) {
+ if (i && yq(i, n)) {
let e = i[n];
return e === void 0 ? v.initialState[n] : e;
}
return r;
}, { debugName: `table/atoms/${n}` });
}
- Wq(v), v.store = lxe(t.createReadonlyAtom(() => {
+ Uq(v), v.store = uxe(t.createReadonlyAtom(() => {
let e = {};
for (let t = 0; t < x.length; t++) {
let n = x[t];
@@ -59591,7 +59591,7 @@ function NSe(e) {
}
return e;
}, {
- compare: fq,
+ compare: dq,
debugName: "table/store"
}));
for (let e = 0; e < y.length; e++) {
@@ -59601,107 +59601,107 @@ function NSe(e) {
return v;
}
// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.utils.js
-function PSe() {
- return yq();
+function FSe() {
+ return vq();
}
-function Yq(e, t) {
- Zq(e) && $q(e.table, (n) => {
- let r = Object.assign(yq(), n), i = t ?? !jq(e, "getIsVisible", Xq), a = e.getLeafColumns();
+function Jq(e, t) {
+ Xq(e) && Qq(e.table, (n) => {
+ let r = Object.assign(vq(), n), i = t ?? !Aq(e, "getIsVisible", Yq), a = e.getLeafColumns();
for (let e = 0; e < a.length; e++) {
let t = a[e];
- Zq(t) && (r[t.id] = i);
+ Xq(t) && (r[t.id] = i);
}
return r;
});
}
-function Xq(e) {
+function Yq(e) {
let t = e.table.atoms.columnVisibility?.get();
if (!t) return !0;
let n = e.columns;
- return n.length ? n.some((e) => jq(e, "getIsVisible", Xq)) : (bq(t, e.id) ? t[e.id] : void 0) ?? !0;
+ return n.length ? n.some((e) => Aq(e, "getIsVisible", Yq)) : (yq(t, e.id) ? t[e.id] : void 0) ?? !0;
}
-function Zq(e) {
+function Xq(e) {
return (e.columnDef.enableHiding ?? !0) && (e.table.options.enableHiding ?? !0);
}
-function FSe(e) {
+function ISe(e) {
return (t) => {
- Yq(e, t.target.checked);
+ Jq(e, t.target.checked);
};
}
-function ISe(e) {
+function LSe(e) {
let t = e.getAllCells(), n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e];
- jq(r.column, "getIsVisible", Xq) && n.push(r);
+ Aq(r.column, "getIsVisible", Yq) && n.push(r);
}
- return Pq(e.table, n, (e) => e.column.id, () => jq(e, "getVisibleCellsByColumnId", Qq));
+ return Nq(e.table, n, (e) => e.column.id, () => Aq(e, "getVisibleCellsByColumnId", Zq));
}
-function Qq(e) {
- let t = yq(), n = e.getAllCells();
+function Zq(e) {
+ let t = vq(), n = e.getAllCells();
for (let e = 0; e < n.length; e++) {
let r = n[e];
- jq(r.column, "getIsVisible", Xq) && (t[r.column.id] = r);
+ Aq(r.column, "getIsVisible", Yq) && (t[r.column.id] = r);
}
return t;
}
-function LSe(e) {
- return e.getAllFlatColumns().filter((e) => jq(e, "getIsVisible", Xq));
-}
function RSe(e) {
- return e.getAllLeafColumns().filter((e) => jq(e, "getIsVisible", Xq));
+ return e.getAllFlatColumns().filter((e) => Aq(e, "getIsVisible", Yq));
}
-function $q(e, t) {
- Tq(e, "columnVisibility", t);
+function zSe(e) {
+ return e.getAllLeafColumns().filter((e) => Aq(e, "getIsVisible", Yq));
}
-function zSe(e, t) {
- $q(e, t ? yq() : Object.assign(yq(), _q(e.initialState.columnVisibility ?? {})));
+function Qq(e, t) {
+ wq(e, "columnVisibility", t);
}
-function eJ(e, t) {
- t ??= !tJ(e);
- let n = yq(), r = e.getAllLeafColumns();
+function BSe(e, t) {
+ Qq(e, t ? vq() : Object.assign(vq(), gq(e.initialState.columnVisibility ?? {})));
+}
+function $q(e, t) {
+ t ??= !eJ(e);
+ let n = vq(), r = e.getAllLeafColumns();
for (let e = 0; e < r.length; e++) {
let i = r[e];
- n[i.id] = t || !Zq(i);
+ n[i.id] = t || !Xq(i);
}
- $q(e, n);
+ Qq(e, n);
}
-function tJ(e) {
- return !e.getAllLeafColumns().some((e) => !jq(e, "getIsVisible", Xq));
-}
-function BSe(e) {
- return e.getAllLeafColumns().some((e) => jq(e, "getIsVisible", Xq));
+function eJ(e) {
+ return !e.getAllLeafColumns().some((e) => !Aq(e, "getIsVisible", Yq));
}
function VSe(e) {
+ return e.getAllLeafColumns().some((e) => Aq(e, "getIsVisible", Yq));
+}
+function HSe(e) {
return (t) => {
- eJ(e, t.target.checked);
+ $q(e, t.target.checked);
};
}
// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.js
-var nJ = {
+var tJ = {
getInitialState: (e) => ({
- columnVisibility: PSe(),
+ columnVisibility: FSe(),
...e
}),
- getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: xq("columnVisibility", e) }),
+ getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: bq("columnVisibility", e) }),
assignColumnPrototype: (e, t) => {
- Aq("columnVisibilityFeature", e, t, {
+ kq("columnVisibilityFeature", e, t, {
column_getIsVisible: {
- fn: (e) => Xq(e),
+ fn: (e) => Yq(e),
memoDeps: (e) => [
t.options.columns,
t.atoms.columnVisibility?.get(),
e.columns
]
},
- column_getCanHide: { fn: (e) => Zq(e) },
- column_getToggleVisibilityHandler: { fn: (e) => FSe(e) },
- column_toggleVisibility: { fn: (e, t) => Yq(e, t) }
+ column_getCanHide: { fn: (e) => Xq(e) },
+ column_getToggleVisibilityHandler: { fn: (e) => ISe(e) },
+ column_toggleVisibility: { fn: (e, t) => Jq(e, t) }
});
},
assignRowPrototype: (e, t) => {
- Aq("columnVisibilityFeature", e, t, {
+ kq("columnVisibilityFeature", e, t, {
row_getVisibleCells: {
- fn: (e) => ISe(e),
+ fn: (e) => LSe(e),
memoDeps: (e) => [
e.getAllCells(),
t.atoms.columnPinning?.get(),
@@ -59709,15 +59709,15 @@ var nJ = {
]
},
row_getVisibleCellsByColumnId: {
- fn: (e) => Qq(e),
+ fn: (e) => Zq(e),
memoDeps: (e) => [e.getAllCells(), t.atoms.columnVisibility?.get()]
}
});
},
constructTableAPIs: (e) => {
- kq("columnVisibilityFeature", e, {
+ Oq("columnVisibilityFeature", e, {
table_getVisibleFlatColumns: {
- fn: () => LSe(e),
+ fn: () => RSe(e),
memoDeps: () => [
e.atoms.columnVisibility?.get(),
e.atoms.columnOrder?.get(),
@@ -59727,7 +59727,7 @@ var nJ = {
]
},
table_getVisibleLeafColumns: {
- fn: () => RSe(e),
+ fn: () => zSe(e),
memoDeps: () => [
e.atoms.columnVisibility?.get(),
e.atoms.columnOrder?.get(),
@@ -59736,51 +59736,51 @@ var nJ = {
e.options.groupedColumnMode
]
},
- table_setColumnVisibility: { fn: (t) => $q(e, t) },
- table_resetColumnVisibility: { fn: (t) => zSe(e, t) },
- table_toggleAllColumnsVisible: { fn: (t) => eJ(e, t) },
- table_getIsAllColumnsVisible: { fn: () => tJ(e) },
- table_getIsSomeColumnsVisible: { fn: () => BSe(e) },
- table_getToggleAllColumnsVisibilityHandler: { fn: () => VSe(e) }
+ table_setColumnVisibility: { fn: (t) => Qq(e, t) },
+ table_resetColumnVisibility: { fn: (t) => BSe(e, t) },
+ table_toggleAllColumnsVisible: { fn: (t) => $q(e, t) },
+ table_getIsAllColumnsVisible: { fn: () => eJ(e) },
+ table_getIsSomeColumnsVisible: { fn: () => VSe(e) },
+ table_getToggleAllColumnsVisibilityHandler: { fn: () => HSe(e) }
});
}
-}, rJ = 0, iJ = 10;
-function aJ() {
+}, nJ = 0, rJ = 10;
+function iJ() {
return {
- pageIndex: rJ,
- pageSize: iJ
+ pageIndex: nJ,
+ pageSize: rJ
};
}
-function HSe(e) {
+function USe(e) {
if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {
- if ((e.atoms.pagination?.get()?.pageIndex ?? rJ) === rJ) return;
- cJ(e, !0);
+ if ((e.atoms.pagination?.get()?.pageIndex ?? nJ) === nJ) return;
+ sJ(e, !0);
}
}
-function oJ(e, t) {
- Tq(e, "pagination", t);
+function aJ(e, t) {
+ wq(e, "pagination", t);
}
-function USe(e, t) {
- oJ(e, t ? aJ() : _q(e.initialState.pagination ?? aJ()));
+function WSe(e, t) {
+ aJ(e, t ? iJ() : gq(e.initialState.pagination ?? iJ()));
}
-function sJ(e, t) {
- oJ(e, (n) => {
- let r = gq(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+function oJ(e, t) {
+ aJ(e, (n) => {
+ let r = hq(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
return r = Math.max(0, Math.min(r, i)), {
...n,
pageIndex: r
};
});
}
-function cJ(e, t) {
- sJ(e, t ? rJ : e.initialState.pagination?.pageIndex ?? rJ);
+function sJ(e, t) {
+ oJ(e, t ? nJ : e.initialState.pagination?.pageIndex ?? nJ);
}
-function WSe(e, t) {
- lJ(e, t ? iJ : e.initialState.pagination?.pageSize ?? iJ);
+function GSe(e, t) {
+ cJ(e, t ? rJ : e.initialState.pagination?.pageSize ?? rJ);
}
-function lJ(e, t) {
- oJ(e, (e) => {
- let n = Math.max(1, gq(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);
+function cJ(e, t) {
+ aJ(e, (e) => {
+ let n = Math.max(1, hq(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -59788,231 +59788,231 @@ function lJ(e, t) {
};
});
}
-function GSe(e) {
- let t = uJ(e), n = [];
- return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;
-}
function KSe(e) {
- return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;
+ let t = lJ(e), n = [];
+ return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;
}
function qSe(e) {
- let t = e.atoms.pagination?.get()?.pageIndex ?? rJ, n = uJ(e);
- return n === -1 || n !== 0 && t < n - 1;
+ return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;
}
function JSe(e) {
- let t = e.atoms.pagination?.get()?.pageIndex ?? rJ, n = uJ(e);
- return Number.isFinite(n) && n > 0 && t < n - 1;
+ let t = e.atoms.pagination?.get()?.pageIndex ?? nJ, n = lJ(e);
+ return n === -1 || n !== 0 && t < n - 1;
}
function YSe(e) {
- return sJ(e, (e) => e - 1);
+ let t = e.atoms.pagination?.get()?.pageIndex ?? nJ, n = lJ(e);
+ return Number.isFinite(n) && n > 0 && t < n - 1;
}
function XSe(e) {
- return sJ(e, (e) => e + 1);
+ return oJ(e, (e) => e - 1);
}
function ZSe(e) {
- return sJ(e, 0);
+ return oJ(e, (e) => e + 1);
}
function QSe(e) {
- let t = uJ(e);
- if (!(!Number.isFinite(t) || t <= 0)) return sJ(e, t - 1);
+ return oJ(e, 0);
}
-function uJ(e) {
+function $Se(e) {
+ let t = lJ(e);
+ if (!(!Number.isFinite(t) || t <= 0)) return oJ(e, t - 1);
+}
+function lJ(e) {
let t = e.options.pageCount;
if (t != null) return t;
- let n = dJ(e), r = e.atoms.pagination?.get()?.pageSize ?? iJ;
+ let n = uJ(e), r = e.atoms.pagination?.get()?.pageSize ?? rJ;
return r === Infinity && Number.isFinite(n) && n > 0 ? 1 : Math.ceil(n / r);
}
-function dJ(e) {
+function uJ(e) {
return e.options.rowCount ?? e.getPrePaginatedRowModel().rows.length;
}
// node_modules/@tanstack/table-core/dist/features/row-pagination/rowPaginationFeature.js
-var fJ = {
+var dJ = {
getInitialState: (e) => ({
...e,
pagination: {
- ...aJ(),
+ ...iJ(),
...e.pagination
}
}),
- getDefaultTableOptions: (e) => ({ onPaginationChange: xq("pagination", e) }),
+ getDefaultTableOptions: (e) => ({ onPaginationChange: bq("pagination", e) }),
constructTableAPIs: (e) => {
- kq("rowPaginationFeature", e, {
- table_autoResetPageIndex: { fn: () => HSe(e) },
- table_setPagination: { fn: (t) => oJ(e, t) },
- table_resetPagination: { fn: (t) => USe(e, t) },
- table_setPageIndex: { fn: (t) => sJ(e, t) },
- table_resetPageIndex: { fn: (t) => cJ(e, t) },
- table_setPageSize: { fn: (t) => lJ(e, t) },
- table_getPageCount: { fn: () => uJ(e) },
- table_resetPageSize: { fn: (t) => WSe(e, t) },
- table_getPageOptions: { fn: () => GSe(e) },
- table_getCanPreviousPage: { fn: () => KSe(e) },
- table_getCanNextPage: { fn: () => qSe(e) },
- table_getCanLastPage: { fn: () => JSe(e) },
- table_previousPage: { fn: () => YSe(e) },
- table_nextPage: { fn: () => XSe(e) },
- table_firstPage: { fn: () => ZSe(e) },
- table_lastPage: { fn: () => QSe(e) },
- table_getRowCount: { fn: () => dJ(e) }
+ Oq("rowPaginationFeature", e, {
+ table_autoResetPageIndex: { fn: () => USe(e) },
+ table_setPagination: { fn: (t) => aJ(e, t) },
+ table_resetPagination: { fn: (t) => WSe(e, t) },
+ table_setPageIndex: { fn: (t) => oJ(e, t) },
+ table_resetPageIndex: { fn: (t) => sJ(e, t) },
+ table_setPageSize: { fn: (t) => cJ(e, t) },
+ table_getPageCount: { fn: () => lJ(e) },
+ table_resetPageSize: { fn: (t) => GSe(e, t) },
+ table_getPageOptions: { fn: () => KSe(e) },
+ table_getCanPreviousPage: { fn: () => qSe(e) },
+ table_getCanNextPage: { fn: () => JSe(e) },
+ table_getCanLastPage: { fn: () => YSe(e) },
+ table_previousPage: { fn: () => XSe(e) },
+ table_nextPage: { fn: () => ZSe(e) },
+ table_firstPage: { fn: () => QSe(e) },
+ table_lastPage: { fn: () => $Se(e) },
+ table_getRowCount: { fn: () => uJ(e) }
});
}
};
// node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.js
-function $Se() {
- return yq();
+function eCe() {
+ return vq();
}
-function pJ(e, t) {
+function fJ(e, t) {
e.options.onRowSelectionChange?.(t);
}
-function eCe(e, t) {
- e._lastSelectedRowId = null, pJ(e, t ? yq() : Object.assign(yq(), _q(e.initialState.rowSelection ?? {})));
+function tCe(e, t) {
+ e._lastSelectedRowId = null, fJ(e, t ? vq() : Object.assign(vq(), gq(e.initialState.rowSelection ?? {})));
}
-function mJ(e, t, n) {
- e._lastSelectedRowId = null, pJ(e, (r) => {
- if (t = t === void 0 ? !jq(e, "getIsAllRowsSelected", _J) : t, n?.deselectAll && !t) return yq();
- let i = Object.assign(yq(), r), a = e.getPreGroupedRowModel().flatRows;
+function pJ(e, t, n) {
+ e._lastSelectedRowId = null, fJ(e, (r) => {
+ if (t = t === void 0 ? !Aq(e, "getIsAllRowsSelected", gJ) : t, n?.deselectAll && !t) return vq();
+ let i = Object.assign(vq(), r), a = e.getPreGroupedRowModel().flatRows;
if (t) {
let e = /* @__PURE__ */ new Map();
a.forEach((t) => {
- DJ(t, e) && (i[t.id] = !0);
+ EJ(t, e) && (i[t.id] = !0);
});
} else a.forEach((e) => {
- CJ(e) && delete i[e.id];
+ SJ(e) && delete i[e.id];
});
return i;
});
}
-function hJ(e, t, n) {
- e._lastSelectedRowId = null, pJ(e, (r) => {
- let i = t === void 0 ? !jq(e, "getIsAllPageRowsSelected", vJ) : t;
- if (n?.deselectAll && !i) return yq();
- let a = Object.assign(yq(), r);
+function mJ(e, t, n) {
+ e._lastSelectedRowId = null, fJ(e, (r) => {
+ let i = t === void 0 ? !Aq(e, "getIsAllPageRowsSelected", _J) : t;
+ if (n?.deselectAll && !i) return vq();
+ let a = Object.assign(vq(), r);
return e.getRowModel().rows.forEach((t) => {
- EJ(a, t.id, i, !0, e, !0);
+ TJ(a, t.id, i, !0, e, !0);
}), a;
});
}
-function tCe(e) {
+function nCe(e) {
return e.getCoreRowModel();
}
-function nCe(e) {
+function rCe(e) {
let t = e.getCoreRowModel();
- return jq(e, "getIsSomeRowsSelected", yJ) ? AJ(t, e) : {
+ return Aq(e, "getIsSomeRowsSelected", vJ) ? kJ(t, e) : {
rows: [],
flatRows: [],
- rowsById: yq()
+ rowsById: vq()
};
}
-function rCe(e) {
+function iCe(e) {
let t = e.getFilteredRowModel();
- return jq(e, "getIsSomeRowsSelected", yJ) ? AJ(t, e) : {
+ return Aq(e, "getIsSomeRowsSelected", vJ) ? kJ(t, e) : {
rows: [],
flatRows: [],
- rowsById: yq()
+ rowsById: vq()
};
}
-function iCe(e) {
+function aCe(e) {
let t = e.getSortedRowModel();
- return jq(e, "getIsSomeRowsSelected", yJ) ? AJ(t, e) : {
+ return Aq(e, "getIsSomeRowsSelected", vJ) ? kJ(t, e) : {
rows: [],
flatRows: [],
- rowsById: yq()
+ rowsById: vq()
};
}
-function gJ(e) {
+function hJ(e) {
return Object.keys(e.atoms.rowSelection?.get() ?? {});
}
-function _J(e) {
+function gJ(e) {
let t = e.getFilteredRowModel().flatRows, n = e.atoms.rowSelection?.get() ?? {}, r = !!(t.length && Object.keys(n).length);
if (r) {
let e = /* @__PURE__ */ new Map();
- t.some((t) => !jJ(t, n) && DJ(t, e)) && (r = !1);
+ t.some((t) => !AJ(t, n) && EJ(t, e)) && (r = !1);
}
return r;
}
-function vJ(e) {
+function _J(e) {
let t = e.getPaginatedRowModel().flatRows, n = e.atoms.rowSelection?.get() ?? {}, r = /* @__PURE__ */ new Map(), i = !1;
for (let e = 0; e < t.length; e++) {
let a = t[e];
- if (jJ(a, n)) !i && DJ(a, r) && (i = !0);
- else if (DJ(a, r)) return !1;
+ if (AJ(a, n)) !i && EJ(a, r) && (i = !0);
+ else if (EJ(a, r)) return !1;
}
return i;
}
-function yJ(e) {
- return jq(e, "getSelectedRowIds", gJ).length > 0;
-}
-function aCe(e) {
- return e.getPaginatedRowModel().flatRows.filter((e) => CJ(e)).some((e) => xJ(e) || jq(e, "getIsSomeSelected", SJ));
+function vJ(e) {
+ return Aq(e, "getSelectedRowIds", hJ).length > 0;
}
function oCe(e) {
+ return e.getPaginatedRowModel().flatRows.filter((e) => SJ(e)).some((e) => bJ(e) || Aq(e, "getIsSomeSelected", xJ));
+}
+function sCe(e) {
return (t) => {
- mJ(e, t.target.checked);
+ pJ(e, t.target.checked);
};
}
-function sCe(e) {
+function cCe(e) {
return (t) => {
- hJ(e, t.target.checked);
+ mJ(e, t.target.checked);
};
}
-function bJ(e, t, n) {
- let r = xJ(e);
- pJ(e.table, (i) => {
+function yJ(e, t, n) {
+ let r = bJ(e);
+ fJ(e.table, (i) => {
t = t === void 0 ? !r : t;
- let a = Object.assign(yq(), i);
- return EJ(a, e.id, t, (n?.selectChildren ?? !0) && TJ(e), e.table), !t && n?.deselectParents && OJ(a, e), a;
+ let a = Object.assign(vq(), i);
+ return TJ(a, e.id, t, (n?.selectChildren ?? !0) && wJ(e), e.table), !t && n?.deselectParents && DJ(a, e), a;
});
}
-function xJ(e) {
- return jJ(e, e.table.atoms.rowSelection?.get() ?? {});
+function bJ(e) {
+ return AJ(e, e.table.atoms.rowSelection?.get() ?? {});
}
-function SJ(e) {
- return MJ(e) === "some";
+function xJ(e) {
+ return jJ(e) === "some";
}
-function cCe(e) {
- return MJ(e) === "all";
+function lCe(e) {
+ return jJ(e) === "all";
}
-function CJ(e) {
+function SJ(e) {
let t = e.table.options;
return typeof t.enableRowSelection == "function" ? t.enableRowSelection(e) : t.enableRowSelection ?? !0;
}
-function wJ(e) {
+function CJ(e) {
let t = e.table.options;
return typeof t.enableSubRowSelection == "function" ? t.enableSubRowSelection(e) : t.enableSubRowSelection ?? !0;
}
-function TJ(e) {
+function wJ(e) {
let t = e.table.options;
return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;
}
-function lCe(e, t) {
- let n = CJ(e);
+function uCe(e, t) {
+ let n = SJ(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 && TJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && uCe(e, s, o, t) || bJ(e, o, t), a._lastSelectedRowId = e.id;
+ a.options.enableRowRangeSelection !== !1 && s !== null && wJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && dCe(e, s, o, t) || yJ(e, o, t), a._lastSelectedRowId = e.id;
};
}
-function uCe(e, t, n, r) {
+function dCe(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];
- if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !TJ(s) || !TJ(e)) return !1;
+ if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !wJ(s) || !wJ(e)) return !1;
let f = Math.min(c, l), p = Math.max(c, l);
- return pJ(a, (e) => {
- let t = Object.assign(yq(), e);
+ return fJ(a, (e) => {
+ let t = Object.assign(vq(), e);
for (let e = f; e <= p; e++) {
let s = o[e];
- CJ(s) && TJ(s) && (EJ(t, s.id, n, i, a), !n && r?.deselectParents && OJ(t, s));
+ SJ(s) && wJ(s) && (TJ(t, s.id, n, i, a), !n && r?.deselectParents && DJ(t, s));
}
return t;
}), !0;
}
-function EJ(e, t, n, r, i, a) {
+function TJ(e, t, n, r, i, a) {
let o = i.getRow(t, !0);
- n ? (TJ(o) || Object.keys(e).forEach((t) => delete e[t]), CJ(o) && (e[t] = !0)) : (!a || CJ(o)) && delete e[t], r && o.subRows.length && wJ(o) && o.subRows.forEach((t) => EJ(e, t.id, n, r, i, a));
+ n ? (wJ(o) || Object.keys(e).forEach((t) => delete e[t]), SJ(o) && (e[t] = !0)) : (!a || SJ(o)) && delete e[t], r && o.subRows.length && CJ(o) && o.subRows.forEach((t) => TJ(e, t.id, n, r, i, a));
}
-function DJ(e, t) {
- if (!CJ(e)) return !1;
+function EJ(e, t) {
+ if (!SJ(e)) return !1;
let n = e.table;
if (n.options.enableSubRowSelection === !0) return !0;
let r = e.parentId;
@@ -60028,7 +60028,7 @@ function DJ(e, t) {
}
o.push(c);
let r = a[c] ?? n.getRow(c, !0);
- if (!wJ(r)) {
+ if (!CJ(r)) {
s = !1;
break;
}
@@ -60036,50 +60036,50 @@ function DJ(e, t) {
}
return o.forEach((e) => t.set(e, s)), s;
}
-function OJ(e, t) {
+function DJ(e, t) {
let n = t.table.getCoreRowModel().rowsById, r = t.parentId;
for (; r !== void 0;) delete e[r], r = (n[r] ?? t.table.getRow(r, !0)).parentId;
}
-function kJ(e, t, n, r) {
+function OJ(e, t, n, r) {
let i = [];
for (let a = 0; a < e.length; a++) {
- let o = e[a], s = jJ(o, t);
+ let o = e[a], s = AJ(o, t);
if (s && (n.push(o), r[o.id] = o), o.subRows.length) {
- let e = kJ(o.subRows, t, n, r);
+ let e = OJ(o.subRows, t, n, r);
if (s) {
let t = Object.create(Object.getPrototypeOf(o));
- vq(t, o), t.subRows = e, i.push(t);
+ _q(t, o), t.subRows = e, i.push(t);
}
} else s && i.push(o);
}
return i;
}
-function AJ(e, t) {
- let n = [], r = yq(), i = t.atoms.rowSelection?.get() ?? {};
+function kJ(e, t) {
+ let n = [], r = vq(), i = t.atoms.rowSelection?.get() ?? {};
return {
- rows: kJ(e.rows, i, n, r),
+ rows: OJ(e.rows, i, n, r),
flatRows: n,
rowsById: r
};
}
-function jJ(e, t) {
- return !!(bq(t, e.id) && t[e.id]);
+function AJ(e, t) {
+ return !!(yq(t, e.id) && t[e.id]);
}
-function MJ(e) {
+function jJ(e) {
if (!e.subRows.length) return !1;
let t = e.table.atoms.rowSelection?.get() ?? {}, n = !1, r = !0, i = !1;
for (let a = 0; a < e.subRows.length; a++) {
let o = e.subRows[a];
if (n && !r) break;
- if (CJ(o) && (i = !0, jJ(o, t) ? n = !0 : r = !1), o.subRows.length) {
- let e = MJ(o);
+ if (SJ(o) && (i = !0, AJ(o, t) ? n = !0 : r = !1), o.subRows.length) {
+ let e = jJ(o);
e === "all" ? (n = !0, i = !0) : e === "some" ? (n = !0, r = !1, i = !0) : r = !1;
}
}
return i ? r ? "all" : n ? "some" : !1 : !1;
}
// node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.js
-var NJ = {
+var MJ = {
initTableInstanceData: (e) => {
e._lastSelectedRowId = null;
},
@@ -60087,11 +60087,11 @@ var NJ = {
e._lastSelectedRowId = null;
},
getInitialState: (e) => ({
- rowSelection: $Se(),
+ rowSelection: eCe(),
...e
}),
getDefaultTableOptions: (e) => ({
- onRowSelectionChange: xq("rowSelection", e),
+ onRowSelectionChange: bq("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableRowRangeSelection: !0,
@@ -60102,11 +60102,11 @@ var NJ = {
}
}),
assignRowPrototype: (e, t) => {
- Aq("rowSelectionFeature", e, t, {
- row_toggleSelected: { fn: (e, t, n) => bJ(e, t, n) },
- row_getIsSelected: { fn: (e) => xJ(e) },
+ kq("rowSelectionFeature", e, t, {
+ row_toggleSelected: { fn: (e, t, n) => yJ(e, t, n) },
+ row_getIsSelected: { fn: (e) => bJ(e) },
row_getIsSomeSelected: {
- fn: (e) => SJ(e),
+ fn: (e) => xJ(e),
memoDeps: (e) => [
e.subRows,
e.table.atoms.rowSelection?.get(),
@@ -60114,44 +60114,44 @@ var NJ = {
]
},
row_getIsAllSubRowsSelected: {
- fn: (e) => cCe(e),
+ fn: (e) => lCe(e),
memoDeps: (e) => [
e.subRows,
e.table.atoms.rowSelection?.get(),
e.table.options.enableRowSelection
]
},
- row_getCanSelect: { fn: (e) => CJ(e) },
- row_getCanSelectSubRows: { fn: (e) => wJ(e) },
- row_getCanMultiSelect: { fn: (e) => TJ(e) },
- row_getToggleSelectedHandler: { fn: (e, t) => lCe(e, t) }
+ row_getCanSelect: { fn: (e) => SJ(e) },
+ row_getCanSelectSubRows: { fn: (e) => CJ(e) },
+ row_getCanMultiSelect: { fn: (e) => wJ(e) },
+ row_getToggleSelectedHandler: { fn: (e, t) => uCe(e, t) }
});
},
constructTableAPIs: (e) => {
- kq("rowSelectionFeature", e, {
- table_setRowSelection: { fn: (t) => pJ(e, t) },
- table_resetRowSelection: { fn: (t) => eCe(e, t) },
- table_toggleAllRowsSelected: { fn: (t, n) => mJ(e, t, n) },
- table_toggleAllPageRowsSelected: { fn: (t, n) => hJ(e, t, n) },
- table_getPreSelectedRowModel: { fn: () => tCe(e) },
+ Oq("rowSelectionFeature", e, {
+ table_setRowSelection: { fn: (t) => fJ(e, t) },
+ table_resetRowSelection: { fn: (t) => tCe(e, t) },
+ table_toggleAllRowsSelected: { fn: (t, n) => pJ(e, t, n) },
+ table_toggleAllPageRowsSelected: { fn: (t, n) => mJ(e, t, n) },
+ table_getPreSelectedRowModel: { fn: () => nCe(e) },
table_getSelectedRowModel: {
- fn: () => nCe(e),
+ fn: () => rCe(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getCoreRowModel()]
},
table_getFilteredSelectedRowModel: {
- fn: () => rCe(e),
+ fn: () => iCe(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getFilteredRowModel()]
},
table_getGroupedSelectedRowModel: {
- fn: () => iCe(e),
+ fn: () => aCe(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]
},
table_getSelectedRowIds: {
- fn: () => gJ(e),
+ fn: () => hJ(e),
memoDeps: () => [e.atoms.rowSelection?.get()]
},
table_getIsAllRowsSelected: {
- fn: () => _J(e),
+ fn: () => gJ(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getFilteredRowModel(),
@@ -60160,7 +60160,7 @@ var NJ = {
]
},
table_getIsAllPageRowsSelected: {
- fn: () => vJ(e),
+ fn: () => _J(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getPaginatedRowModel(),
@@ -60169,48 +60169,48 @@ var NJ = {
]
},
table_getIsSomeRowsSelected: {
- fn: () => yJ(e),
+ fn: () => vJ(e),
memoDeps: () => [e.atoms.rowSelection?.get()]
},
table_getIsSomePageRowsSelected: {
- fn: () => aCe(e),
+ fn: () => oCe(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getPaginatedRowModel(),
e.options.enableRowSelection
]
},
- table_getToggleAllRowsSelectedHandler: { fn: () => oCe(e) },
- table_getToggleAllPageRowsSelectedHandler: { fn: () => sCe(e) }
+ table_getToggleAllRowsSelectedHandler: { fn: () => sCe(e) },
+ table_getToggleAllPageRowsSelectedHandler: { fn: () => cCe(e) }
});
}
-}, dCe = /([0-9]+)/gm;
+}, fCe = /([0-9]+)/gm;
/* @__NO_SIDE_EFFECTS__ */
-function fCe(e) {
+function pCe(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 PJ = /* @__PURE__ */ fCe({ sort: (e, t) => pCe(e, t) });
-function pCe(e, t) {
+var NJ = /* @__PURE__ */ pCe({ sort: (e, t) => mCe(e, t) });
+function mCe(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
// node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.utils.js
-function mCe() {
+function hCe() {
return [];
}
-function FJ(e, t) {
- Tq(e, "sorting", t);
+function PJ(e, t) {
+ wq(e, "sorting", t);
}
-function IJ(e, t) {
- FJ(e, t ? [] : _q(e.initialState.sorting ?? []));
+function FJ(e, t) {
+ PJ(e, t ? [] : gq(e.initialState.sorting ?? []));
}
-function hCe(e) {
- e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && IJ(e);
+function gCe(e) {
+ e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && FJ(e);
}
-function LJ(e) {
+function IJ(e) {
let t = e.table._rowModelFns.sortFns, n = e.table.getFilteredRowModel().flatRows.slice(0, 10), r, i = !1;
for (let t = 0; t < n.length; t++) {
let a = n[t].getValue(e.id);
@@ -60218,7 +60218,7 @@ function LJ(e) {
r = "datetime";
break;
}
- if (typeof a == "string" && (i = !0, a.split(dCe).length > 1)) {
+ if (typeof a == "string" && (i = !0, a.split(fCe).length > 1)) {
r = "alphanumeric";
break;
}
@@ -60227,9 +60227,9 @@ function LJ(e) {
let e = t?.[r];
if (e || r === "alphanumeric" && (e = t?.text), e) return e;
}
- return PJ;
+ return NJ;
}
-function RJ(e) {
+function LJ(e) {
let t = e.table.getFilteredRowModel().flatRows.slice(0, 10);
for (let n = 0; n < t.length; n++) {
let r = t[n].getValue(e.id);
@@ -60237,14 +60237,14 @@ function RJ(e) {
}
return "desc";
}
-function zJ(e) {
+function RJ(e) {
let t = e.table._rowModelFns.sortFns;
- return hxe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? LJ(e) : t?.[e.columnDef.sortFn] ?? PJ;
+ return gxe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? IJ(e) : t?.[e.columnDef.sortFn] ?? NJ;
}
-function BJ(e, t, n) {
- let r = HJ(e, n && WJ(e)), i = t !== void 0;
- FJ(e.table, (a) => {
- let o = a.findIndex((t) => t.id === e.id), s = o === -1 ? void 0 : a[o], c = [], l, u = i ? t : r === "desc", d = !!(a.length && WJ(e) && n);
+function zJ(e, t, n) {
+ let r = VJ(e, n && UJ(e)), i = t !== void 0;
+ PJ(e.table, (a) => {
+ let o = a.findIndex((t) => t.id === e.id), s = o === -1 ? void 0 : a[o], c = [], l, u = i ? t : r === "desc", d = !!(a.length && UJ(e) && n);
return l = d ? s ? "toggle" : "add" : s ? "toggle" : "replace", l === "toggle" && (i || r || (l = "remove")), l === "add" ? (c = [...a, {
id: e.id,
desc: u
@@ -60260,40 +60260,40 @@ function BJ(e, t, n) {
}], c;
});
}
-function VJ(e) {
- return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? RJ(e) === "desc" ? "desc" : "asc";
+function BJ(e) {
+ return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? LJ(e) === "desc" ? "desc" : "asc";
}
-function HJ(e, t) {
- let n = VJ(e), r = GJ(e);
+function VJ(e, t) {
+ let n = BJ(e), r = WJ(e);
return r ? r !== n && (e.table.options.enableSortingRemoval ?? !0) && (!t || (e.table.options.enableMultiRemove ?? !0)) ? !1 : r === "desc" ? "asc" : "desc" : n;
}
-function UJ(e) {
+function HJ(e) {
return (e.columnDef.enableSorting ?? !0) && (e.table.options.enableSorting ?? !0) && !!e.accessorFn;
}
-function WJ(e) {
+function UJ(e) {
return e.columnDef.enableMultiSort ?? e.table.options.enableMultiSort ?? !!e.accessorFn;
}
-function GJ(e) {
+function WJ(e) {
let t = e.table.atoms.sorting?.get()?.find((t) => t.id === e.id);
return t ? t.desc ? "desc" : "asc" : !1;
}
-function gCe(e) {
- return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;
-}
function _Ce(e) {
- FJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);
+ return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;
}
function vCe(e) {
- let t = UJ(e);
+ PJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);
+}
+function yCe(e) {
+ let t = HJ(e);
return (n) => {
- t && BJ(e, void 0, WJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);
+ t && zJ(e, void 0, UJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);
};
}
// node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.js
-var KJ = {
+var GJ = {
getInitialState(e) {
return {
- sorting: mCe(),
+ sorting: hCe(),
...e
};
},
@@ -60306,58 +60306,58 @@ var KJ = {
getDefaultTableOptions(e) {
return {
autoResetSorting: !1,
- onSortingChange: xq("sorting", e),
+ onSortingChange: bq("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
};
},
assignColumnPrototype(e, t) {
- Aq("rowSortingFeature", e, t, {
- column_getAutoSortFn: { fn: (e) => LJ(e) },
- column_getAutoSortDir: { fn: (e) => RJ(e) },
- column_getSortFn: { fn: (e) => zJ(e) },
- column_toggleSorting: { fn: (e, t, n) => BJ(e, t, n) },
- column_getFirstSortDir: { fn: (e) => VJ(e) },
- column_getNextSortingOrder: { fn: (e, t) => HJ(e, t) },
- column_getCanSort: { fn: (e) => UJ(e) },
- column_getCanMultiSort: { fn: (e) => WJ(e) },
- column_getIsSorted: { fn: (e) => GJ(e) },
- column_getSortIndex: { fn: (e) => gCe(e) },
- column_clearSorting: { fn: (e) => _Ce(e) },
- column_getToggleSortingHandler: { fn: (e) => vCe(e) }
+ kq("rowSortingFeature", e, t, {
+ column_getAutoSortFn: { fn: (e) => IJ(e) },
+ column_getAutoSortDir: { fn: (e) => LJ(e) },
+ column_getSortFn: { fn: (e) => RJ(e) },
+ column_toggleSorting: { fn: (e, t, n) => zJ(e, t, n) },
+ column_getFirstSortDir: { fn: (e) => BJ(e) },
+ column_getNextSortingOrder: { fn: (e, t) => VJ(e, t) },
+ column_getCanSort: { fn: (e) => HJ(e) },
+ column_getCanMultiSort: { fn: (e) => UJ(e) },
+ column_getIsSorted: { fn: (e) => WJ(e) },
+ column_getSortIndex: { fn: (e) => _Ce(e) },
+ column_clearSorting: { fn: (e) => vCe(e) },
+ column_getToggleSortingHandler: { fn: (e) => yCe(e) }
});
},
constructTableAPIs(e) {
- kq("rowSortingFeature", e, {
- table_autoResetSorting: { fn: () => hCe(e) },
- table_setSorting: { fn: (t) => FJ(e, t) },
- table_resetSorting: { fn: (t) => IJ(e, t) }
+ Oq("rowSortingFeature", e, {
+ table_autoResetSorting: { fn: () => gCe(e) },
+ table_setSorting: { fn: (t) => PJ(e, t) },
+ table_resetSorting: { fn: (t) => FJ(e, t) }
});
}
-}, yCe = typeof window > "u" ? F.useEffect : F.useLayoutEffect;
-function qJ(e, t) {
+}, bCe = typeof window > "u" ? F.useEffect : F.useLayoutEffect;
+function KJ(e, t) {
let [{ table: n, rootSource: r }] = (0, F.useState)(() => {
- let t = NSe({
+ let t = PSe({
...e,
features: {
- coreReactivityFeature: fxe(),
+ coreReactivityFeature: pxe(),
...e.features
}
});
- return t.Subscribe = ((e) => cxe({
+ return t.Subscribe = ((e) => lxe({
...e,
source: e.source ?? t.store
- })), t.FlexRender = Zbe, {
+ })), t.FlexRender = Qbe, {
table: t,
- rootSource: dxe(t.store, fq)
+ rootSource: fxe(t.store, dq)
};
}), i = n;
- Kq(i, (t) => ({
+ Gq(i, (t) => ({
...t,
...e
}), { syncExternalState: !1 });
- let a = i.options.state, o = r.get(), s = hq(r, t, { compare: fq });
- return yCe(() => {
- r.markCommitted(o), Gq(i, a ?? null, fq);
+ let a = i.options.state, o = r.get(), s = mq(r, t, { compare: dq });
+ return bCe(() => {
+ r.markCommitted(o), Wq(i, a ?? null, dq);
}), (0, F.useMemo)(() => ({
...n,
options: e,
@@ -60369,10 +60369,10 @@ function qJ(e, t) {
]);
}
// src/react/boardui/components/base/table/table.tsx
-function JJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function qJ({ 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)(Bme, {
+ children: /* @__PURE__ */ (0, I.jsx)(Vme, {
ref: r,
...i,
className: q("bui-table", e === "sm" && "bui-table-sm", t)
@@ -60380,17 +60380,27 @@ function JJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i
});
}
// src/react/catalog-grid/catalog-table-columns.ts
-var YJ = "peach.catalog-column-widths.v1", XJ = "peach.catalog-column-visibility.v1", bCe = {
+var JJ = "peach.catalog-column-widths.v1", YJ = "peach.catalog-column-visibility.v1", xCe = {
select: {
width: 48,
min: 48,
max: 48
},
name: {
- width: 360,
- min: 320,
+ width: 320,
+ min: 280,
max: 2e3
},
+ library: {
+ width: 132,
+ min: 112,
+ max: 320
+ },
+ people: {
+ width: 180,
+ min: 144,
+ max: 400
+ },
dur: {
width: 96,
min: 80,
@@ -60446,13 +60456,13 @@ var YJ = "peach.catalog-column-widths.v1", XJ = "peach.catalog-column-visibility
min: 144,
max: 560
}
-}, xCe = {
+}, SCe = {
code: !1,
o: !1,
new: !1,
played: !1,
release: !1
-}, SCe = {
+}, CCe = {
select: "选择",
name: "作品",
dur: "时长",
@@ -60465,10 +60475,14 @@ var YJ = "peach.catalog-column-widths.v1", XJ = "peach.catalog-column-visibility
played: "观看时间",
release: "发行时间",
code: "番号",
- tags: "标签"
-}, ZJ = [
+ tags: "标签",
+ library: "媒体库",
+ people: "艺人"
+}, XJ = [
"select",
"name",
+ "library",
+ "people",
"tags",
"code",
"dur",
@@ -60482,13 +60496,13 @@ var YJ = "peach.catalog-column-widths.v1", XJ = "peach.catalog-column-visibility
"release"
].map((e) => ({
id: e,
- label: SCe[e],
- ...bCe[e],
+ label: CCe[e],
+ ...xCe[e],
flex: e === "name",
required: e === "select" || e === "name",
- visible: xCe[e] !== !1
+ visible: SCe[e] !== !1
}));
-function QJ(e) {
+function ZJ(e) {
try {
let t = JSON.parse(localStorage.getItem(e) || "{}");
return t && typeof t == "object" && !Array.isArray(t) ? t : {};
@@ -60496,9 +60510,9 @@ function QJ(e) {
return {};
}
}
-function CCe() {
- let e = QJ(YJ), t = QJ(XJ);
- return ZJ.filter((e) => e.id !== "select" && (e.required || (typeof t[e.id] == "boolean" ? t[e.id] === !0 : e.visible))).map((t) => {
+function wCe() {
+ let e = ZJ(JJ), t = ZJ(YJ);
+ return XJ.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);
return {
id: t.id,
@@ -60509,37 +60523,37 @@ function CCe() {
});
}
// src/react/library-processing/completion-row.ts
-var $J = "peach.catalog.completion-row";
-function eY() {
+var QJ = "peach.catalog.completion-row";
+function $J() {
try {
- return localStorage.getItem($J) === "1";
+ return localStorage.getItem(QJ) === "1";
} catch {
return !1;
}
}
-function wCe(e) {
+function TCe(e) {
try {
- e ? localStorage.setItem($J, "1") : localStorage.removeItem($J);
+ e ? localStorage.setItem(QJ, "1") : localStorage.removeItem(QJ);
} catch {}
}
-var TCe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";
+var ECe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";
// src/catalog-content-skeleton.ts
-function tY(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 eY(e) {
+ return e === "name" ? "<span data-list-skeleton-name><i class=\"skeleton-sheen\"></i><span><i class=\"skeleton-sheen\"></i><i class=\"skeleton-sheen\"></i></span></span>" : e === "people" || e === "library" ? `<span data-list-skeleton-mark="${e}"><b class="skeleton-sheen"></b><i class="skeleton-sheen"></i></span>` : "<i data-list-skeleton-bar class=\"skeleton-sheen\"></i>";
}
-function ECe(e) {
- let t = CCe(), 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>${tY(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>` + (eY() ? TCe : "") + `<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 DCe(e) {
+ let t = wCe(), 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>${eY(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>` + ($J() ? ECe : "") + `<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 nY(e, t) {
- return hG() === "list" ? ECe(e) : nc(e, {
+function tY(e, t) {
+ return mG() === "list" ? DCe(e) : nc(e, {
variant: "cards",
className: "catalog-skeleton postercard-skeleton",
cardRatio: t
});
}
// src/react/components/data-table-frame.tsx
-function rY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {
+function nY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {
let i = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
let e = i.current?.querySelector(".overflow-x-auto") ?? null;
@@ -60553,9 +60567,9 @@ function rY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {
let t = e.target;
if (!(t instanceof Element)) return;
let r = t.closest("[role=\"row\"][data-key]");
- r && cK(e, r) && n(r.dataset.key);
+ r && sK(e, r) && n(r.dataset.key);
} : void 0,
- children: r ? /* @__PURE__ */ (0, I.jsx)(Rme, {
+ children: r ? /* @__PURE__ */ (0, I.jsx)(zme, {
className: "relative min-w-0",
onResize: r.resize,
onResizeEnd: r.save,
@@ -60564,8 +60578,8 @@ function rY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {
});
}
// src/react/components/select.tsx
-function iY({ prefix: e, renderValue: t, size: n, ...r }) {
- if (e == null) return /* @__PURE__ */ (0, I.jsx)(rW, {
+function rY({ prefix: e, renderValue: t, size: n, ...r }) {
+ if (e == null) return /* @__PURE__ */ (0, I.jsx)(nW, {
...r,
size: n,
renderValue: t
@@ -60575,14 +60589,14 @@ function iY({ prefix: e, renderValue: t, size: n, ...r }) {
className: `shrink-0 text-text-tertiary ${i}`,
children: e
}), typeof t == "function" ? t(n) : t ?? n.defaultChildren] });
- return /* @__PURE__ */ (0, I.jsx)(rW, {
+ return /* @__PURE__ */ (0, I.jsx)(nW, {
...r,
size: n,
renderValue: a
});
}
// src/react/components/table-pagination.tsx
-function aY({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
+function iY({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
return t <= 1 ? null : /* @__PURE__ */ (0, I.jsxs)("nav", {
"aria-label": r,
"data-pagination-layout": "",
@@ -60621,11 +60635,11 @@ function aY({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
});
}
// src/react/components/table-controls.tsx
-function oY({ label: e, options: t, sorting: n, onChange: r }) {
+function aY({ label: e, options: t, sorting: n, onChange: r }) {
let i = n[0];
return /* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex flex-none items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsxs)(iY, {
+ children: [/* @__PURE__ */ (0, I.jsxs)(rY, {
"aria-label": `${e}排序`,
prefix: "排序",
selectedKey: i?.id ?? "default",
@@ -60635,10 +60649,10 @@ function oY({ label: e, options: t, sorting: n, onChange: r }) {
desc: i?.desc ?? !1
}]);
},
- children: [/* @__PURE__ */ (0, I.jsx)(iW, {
+ children: [/* @__PURE__ */ (0, I.jsx)(rW, {
id: "default",
children: "默认顺序"
- }), t.map((e) => /* @__PURE__ */ (0, I.jsx)(iW, {
+ }), t.map((e) => /* @__PURE__ */ (0, I.jsx)(rW, {
id: e.id,
children: e.label
}, e.id))]
@@ -60646,7 +60660,7 @@ function oY({ label: e, options: t, sorting: n, onChange: r }) {
variant: "secondary",
iconOnly: !0,
disabled: !i,
- leadingIcon: yG,
+ leadingIcon: vG,
"data-icon-state": i?.desc ? "b" : "a",
"aria-label": `${e}改为${i?.desc ? "升序" : "降序"}`,
onClick: () => {
@@ -60658,7 +60672,7 @@ function oY({ label: e, options: t, sorting: n, onChange: r }) {
})]
});
}
-function sY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条", pageSizes: o = [
+function oY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条", pageSizes: o = [
10,
20,
50,
@@ -60673,7 +60687,7 @@ function sY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记
children: `${l.toLocaleString()}–${u.toLocaleString()} / ${t.toLocaleString()} ${i}`
}), /* @__PURE__ */ (0, I.jsxs)("div", {
"data-toolbar-actions": "",
- children: [/* @__PURE__ */ (0, I.jsx)(iY, {
+ children: [/* @__PURE__ */ (0, I.jsx)(rY, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(n.pageSize),
@@ -60683,11 +60697,11 @@ function sY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记
pageSize: Number(e)
});
},
- children: o.map((e) => /* @__PURE__ */ (0, I.jsx)(iW, {
+ children: o.map((e) => /* @__PURE__ */ (0, I.jsx)(rW, {
id: String(e),
children: `每页 ${e} ${a}`
}, e))
- }), /* @__PURE__ */ (0, I.jsx)(aY, {
+ }), /* @__PURE__ */ (0, I.jsx)(iY, {
label: `${e}分页`,
page: c + 1,
pages: s,
@@ -60700,7 +60714,7 @@ function sY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记
});
}
// src/react/components/table-column-preferences.ts
-function cY(e) {
+function sY(e) {
try {
let t = JSON.parse(localStorage.getItem(e) || "{}");
return t && typeof t == "object" && !Array.isArray(t) ? t : {};
@@ -60708,17 +60722,17 @@ function cY(e) {
return {};
}
}
-function lY(e, t) {
+function cY(e, t) {
try {
localStorage.setItem(e, JSON.stringify(t));
} catch {}
}
-function DCe(e, t) {
+function OCe(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];
})), [r, i] = (0, F.useState)(() => {
- let r = cY(e);
+ let r = sY(e);
for (let [e, n] of Object.entries(t)) n.flex && r[e] === n.width && delete r[e];
return n(r);
});
@@ -60735,7 +60749,7 @@ function DCe(e, t) {
...r,
...Object.fromEntries(t)
});
- i(a), lY(e, a);
+ i(a), cY(e, a);
},
reset: () => {
i(n({}));
@@ -60745,26 +60759,26 @@ function DCe(e, t) {
}
};
}
-function OCe(e, t, n, r = {}) {
+function kCe(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]))
- }), [a, o] = (0, F.useState)(() => i(cY(e)));
+ }), [a, o] = (0, F.useState)(() => i(sY(e)));
return {
visibility: a,
change: (t) => {
let n = i(typeof t == "function" ? t(a) : t);
- o(n), lY(e, n);
+ o(n), cY(e, n);
}
};
}
-function uY(e, t, n) {
+function lY(e, t, n) {
let r = (0, F.useMemo)(() => Object.fromEntries(t.map((e) => [e.id, {
width: e.width ?? 180,
min: e.min ?? 96,
max: e.max ?? (e.flex ? 2e3 : 800),
flex: e.flex
- }])), [t]), i = DCe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = OCe(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 = OCe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = kCe(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,
@@ -60783,15 +60797,15 @@ function uY(e, t, n) {
};
}
// src/react/catalog-grid/catalog-column-widths.ts
-function kCe() {
- return uY("catalog", ZJ, {
- widths: YJ,
- visibility: XJ
+function ACe() {
+ return lY("catalog", XJ, {
+ widths: JJ,
+ visibility: YJ
});
}
// src/react/components/rating-stars.tsx
-var dY = DV("star");
-function fY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {
+var uY = EV("star");
+function dY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {
let i = Math.max(0, Math.min(5, e)), a = Math.round(i);
return /* @__PURE__ */ (0, I.jsx)("span", {
"data-rating-stars": "",
@@ -60814,24 +60828,24 @@ function fY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {
onClick: () => {
n || t(e);
},
- children: n === e ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: zs("正在保存评分") } }) : /* @__PURE__ */ (0, I.jsx)(dY, {})
+ children: n === e ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: zs("正在保存评分") } }) : /* @__PURE__ */ (0, I.jsx)(uY, {})
}, e) : /* @__PURE__ */ (0, I.jsx)("span", {
"data-rate": e,
"data-on": String(i >= e),
children: /* @__PURE__ */ (0, I.jsxs)("span", {
"data-rating-icon": "",
- children: [/* @__PURE__ */ (0, I.jsx)(dY, {}), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(uY, {}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-rating-fill": "",
style: { width: `${Math.max(0, Math.min(1, i - e + 1)) * 100}%` },
- children: /* @__PURE__ */ (0, I.jsx)(dY, {})
+ children: /* @__PURE__ */ (0, I.jsx)(uY, {})
})]
})
}, e))
});
}
// src/react/catalog-grid/catalog-table-controls.tsx
-function ACe({ item: e, actions: t }) {
- let { rating: n } = e, r = kH(), i = (0, F.useRef)(0), a = SP(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {
+function jCe({ item: e, actions: t }) {
+ let { rating: n } = e, r = OH(), i = (0, F.useRef)(0), a = SP(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {
yP(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {
...e,
rating: t
@@ -60844,11 +60858,11 @@ function ACe({ item: e, actions: t }) {
role: "group",
"aria-label": o,
title: o,
- children: [/* @__PURE__ */ (0, I.jsx)(fY, {
+ children: [/* @__PURE__ */ (0, I.jsx)(dY, {
value: a,
onRate: c,
busyStar: r.busy ? Number(r.busy) : void 0
- }), r.error ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ }), r.error ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -60861,7 +60875,7 @@ function ACe({ item: e, actions: t }) {
}) : null]
});
}
-function pY(e) {
+function fY(e) {
if (e == null || e === "") return "—";
let t = String(e);
if (/^\d{4}-\d{2}-\d{2}$/.test(t)) return t;
@@ -60876,7 +60890,7 @@ function pY(e) {
});
}
// src/react/components/selection-actions.tsx
-function mY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {
+function pY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-selection-actions": "",
"data-action-layout": t,
@@ -60888,10 +60902,10 @@ function mY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {
className: t === "inline" ? "shrink-0" : "w-full",
onClick: e.onPress,
children: e.label
- }, e.label) : /* @__PURE__ */ (0, I.jsx)(OH, {
+ }, e.label) : /* @__PURE__ */ (0, I.jsx)(DH, {
size: "small",
href: e.href,
- trailingIcon: PB,
+ trailingIcon: NB,
className: t === "inline" ? "shrink-0" : "w-full",
disabled: e.disabled,
onClick: r,
@@ -60900,15 +60914,15 @@ function mY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {
});
}
// src/react/components/selection-popover.tsx
-function hY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i, actions: a, actionLayout: o = "inline", empty: s = "暂无可选项" }) {
- let c = (0, F.useRef)(null), [l, u] = (0, F.useState)(!1), d = /* @__PURE__ */ (0, I.jsx)(mY, {
+function mY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i, actions: a, actionLayout: o = "inline", empty: s = "暂无可选项" }) {
+ let c = (0, F.useRef)(null), [l, u] = (0, F.useState)(!1), d = /* @__PURE__ */ (0, I.jsx)(pY, {
actions: a,
layout: o,
onNavigate: () => u(!1)
}, "actions"), f = /* @__PURE__ */ (0, I.jsx)("div", {
"data-selection-options": "",
className: "flex min-w-0 flex-col gap-1",
- children: r.length ? r.map((e) => /* @__PURE__ */ (0, I.jsx)($V, {
+ children: r.length ? r.map((e) => /* @__PURE__ */ (0, I.jsx)(QV, {
isSelected: e.selected,
className: "min-w-0 [&>span:last-child]:min-w-0 [&>span:last-child]:wrap-anywhere",
isDisabled: e.disabled,
@@ -60928,14 +60942,14 @@ function hY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,
"aria-label": t,
onClick: () => u(!0),
children: t
- }), /* @__PURE__ */ (0, I.jsx)(Dz, {
+ }), /* @__PURE__ */ (0, I.jsx)(Ez, {
triggerRef: c,
isOpen: l,
onOpenChange: u,
placement: "bottom end",
offset: 4,
- className: q(KV, "w-max overscroll-contain"),
- children: ({ placement: t }) => /* @__PURE__ */ (0, I.jsx)(MH, {
+ className: q(GV, "w-max overscroll-contain"),
+ children: ({ placement: t }) => /* @__PURE__ */ (0, I.jsx)(jH, {
"aria-label": e,
"data-selection-placement": t ?? "bottom",
className: "flex w-max max-w-full flex-col gap-2 outline-none",
@@ -60944,13 +60958,13 @@ function hY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,
})] });
}
// src/react/components/table-column-controls.tsx
-function gY({ preferences: e, label: t = "表格" }) {
+function hY({ preferences: e, label: t = "表格" }) {
let n = e.columns.filter((e) => !e.required);
return /* @__PURE__ */ (0, I.jsxs)("div", {
role: "group",
"aria-label": `${t}列设置`,
className: "flex flex-none gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(hY, {
+ children: [/* @__PURE__ */ (0, I.jsx)(mY, {
label: `${t}显示列`,
triggerLabel: "显示列",
actionLayout: "fullWidth",
@@ -60978,39 +60992,39 @@ function gY({ preferences: e, label: t = "表格" }) {
})]
});
}
-function _Y({ preferences: e, id: t }) {
+function gY({ preferences: e, id: t }) {
let n = e.columns.find((e) => e.id === t);
- return e.canResize(t) ? /* @__PURE__ */ (0, I.jsx)(Yme, { "aria-label": `调整${n.label}列宽` }) : null;
+ return e.canResize(t) ? /* @__PURE__ */ (0, I.jsx)(Xme, { "aria-label": `调整${n.label}列宽` }) : null;
}
// src/react/components/table-selection-header.tsx
-function vY(e, t) {
+function _Y(e, t) {
let n = (t ? e.getPaginatedRowModel() : e.getFilteredRowModel()).flatRows.filter((e) => e.getCanSelect()), r = n.filter((e) => e.getIsSelected()).length;
return {
all: n.length > 0 && r === n.length,
some: r > 0 && r < n.length
};
}
-function yY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {
- let { all: i, some: a } = vY(e, n);
- return /* @__PURE__ */ (0, I.jsx)($V, {
+function vY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {
+ let { all: i, some: a } = _Y(e, n);
+ return /* @__PURE__ */ (0, I.jsx)(QV, {
slot: null,
"aria-label": t,
isDisabled: r,
isSelected: i,
isIndeterminate: a,
onChange: () => {
- let t = !vY(e, n).all;
+ let t = !_Y(e, n).all;
n ? e.toggleAllPageRowsSelected(t) : e.toggleAllRowsSelected(t);
}
});
}
// src/react/catalog-grid/catalog-list-page.tsx
-var jCe = Jq({
- rowSortingFeature: KJ,
- rowSelectionFeature: NJ,
- rowPaginationFeature: fJ,
- columnVisibilityFeature: nJ
-}), MCe = [
+var MCe = qq({
+ rowSortingFeature: GJ,
+ rowSelectionFeature: MJ,
+ rowPaginationFeature: dJ,
+ columnVisibilityFeature: tJ
+}), NCe = [
{
id: "name",
label: "名称"
@@ -61047,12 +61061,12 @@ var jCe = Jq({
id: "played",
label: "观看时间"
}
-], bY = /* @__PURE__ */ new Map();
-function NCe(e) {
- let t = kCe(), n = sK(), r = hP(e.filters || {}, !1), [i] = (0, F.useState)(() => {
+], yY = /* @__PURE__ */ new Map();
+function PCe(e) {
+ let t = ACe(), n = oK(), r = hP(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)(() => bY.get(i) || {
+ }), [a, o] = (0, F.useState)(() => yY.get(i) || {
sorting: [],
pagination: {
pageIndex: 0,
@@ -61060,7 +61074,7 @@ function NCe(e) {
}
}), { sorting: s, pagination: c } = a;
(0, F.useEffect)(() => {
- bY.set(i, a);
+ yY.set(i, a);
}, [i, a]);
let l = c.pageIndex * c.pageSize, u = s[0], d = Pt({
queryKey: [
@@ -61086,9 +61100,9 @@ function NCe(e) {
let i = new URLSearchParams(r);
return i.set("offset", String(l)), i.set("limit", String(n.limit)), i.delete("count"), n.sort && i.set("sort", n.sort), n.dir && i.set("dir", n.dir), B(`/api/items?${i}`, t);
}
- }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : QK(f, e.layout.javImage), [h] = (0, F.useState)(eY);
+ }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : ZK(f, e.layout.javImage), [h] = (0, F.useState)($J);
(0, F.useEffect)(() => {
- d.data && !d.isPlaceholderData && wCe(m.length > 0);
+ d.data && !d.isPlaceholderData && TCe(m.length > 0);
}, [
d.data,
d.isPlaceholderData,
@@ -61120,19 +61134,19 @@ function NCe(e) {
p,
c.pageIndex
]);
- let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = qJ({
- features: jCe,
+ let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = KJ({
+ features: MCe,
columns: (0, F.useMemo)(() => {
- let t = qq();
+ let t = Kq();
return t.columns([
t.display({
id: "select",
- header: ({ table: e }) => /* @__PURE__ */ (0, I.jsx)(yY, {
+ header: ({ table: e }) => /* @__PURE__ */ (0, I.jsx)(vY, {
table: e,
label: "全选本页作品",
disabled: d.isPlaceholderData
}),
- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)($V, {
+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(QV, {
slot: null,
"aria-label": `选择 ${e.helpers.displayName(t.original, t.original.name || "")}`,
isDisabled: d.isPlaceholderData,
@@ -61144,12 +61158,25 @@ function NCe(e) {
id: "name",
header: "作品",
enableSorting: !0,
- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(PCe, {
+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(FCe, {
item: t.original,
props: e,
disabled: d.isPlaceholderData
})
}),
+ t.display({
+ id: "library",
+ header: "媒体库",
+ cell: ({ row: e }) => /* @__PURE__ */ (0, I.jsx)(ICe, { item: e.original })
+ }),
+ t.display({
+ id: "people",
+ header: "艺人",
+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(LCe, {
+ item: t.original,
+ props: e
+ })
+ }),
t.display({
id: "tags",
header: "标签",
@@ -61201,7 +61228,7 @@ function NCe(e) {
id: "rating",
header: "评分",
enableSorting: !0,
- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(ACe, {
+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(jCe, {
item: t.original,
actions: e.actions
})
@@ -61222,13 +61249,13 @@ function NCe(e) {
id: "played",
header: "观看时间",
enableSorting: !0,
- cell: ({ row: e }) => pY(e.original.last_played)
+ cell: ({ row: e }) => fY(e.original.last_played)
}),
t.accessor((e) => e.first_seen, {
id: "new",
header: "入库时间",
enableSorting: !0,
- cell: ({ row: e }) => pY(e.original.first_seen)
+ cell: ({ row: e }) => fY(e.original.first_seen)
}),
t.accessor((e) => e.release_date, {
id: "release",
@@ -61288,9 +61315,9 @@ function NCe(e) {
"aria-label": "作品列表工具栏",
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-toolbar-actions": "",
- children: [/* @__PURE__ */ (0, I.jsx)(gY, { preferences: t }), /* @__PURE__ */ (0, I.jsx)(oY, {
+ children: [/* @__PURE__ */ (0, I.jsx)(hY, { preferences: t }), /* @__PURE__ */ (0, I.jsx)(aY, {
label: "作品列表",
- options: MCe,
+ options: NCe,
sorting: s,
onChange: (e) => _.setSorting(e)
})]
@@ -61300,21 +61327,21 @@ function NCe(e) {
"data-completion-skeleton": "",
"aria-hidden": "true",
className: "skeleton-sheen"
- }) : null : /* @__PURE__ */ (0, I.jsx)($K, {
+ }) : null : /* @__PURE__ */ (0, I.jsx)(QK, {
className: "",
assetIds: m
}),
- d.isError ? /* @__PURE__ */ (0, I.jsx)(qG, {
+ d.isError ? /* @__PURE__ */ (0, I.jsx)(KG, {
message: bn(d.error),
onRetry: () => void d.refetch()
}) : null,
- /* @__PURE__ */ (0, I.jsx)(rY, {
+ /* @__PURE__ */ (0, I.jsx)(nY, {
follow: !0,
preferences: t,
onRowClick: e.selectMode ? (t) => {
d.isPlaceholderData || e.actions.toggleSelection(Number(t), !1);
} : void 0,
- children: /* @__PURE__ */ (0, I.jsxs)(JJ, {
+ children: /* @__PURE__ */ (0, I.jsxs)(qJ, {
"aria-label": "作品列表",
size: "sm",
sortDescriptor: u ? {
@@ -61325,48 +61352,48 @@ function NCe(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, I.jsxs)(hB, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(gB, {
+ children: [/* @__PURE__ */ (0, I.jsxs)(mB, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(hB, {
id: e.id,
isRowHeader: e.id === "name",
allowsSorting: e.column.getCanSort(),
...t.columnProps(e.id),
children: ({ sortDirection: n }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex items-center gap-0.5",
- children: [eq(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [$K(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": n || void 0,
- children: /* @__PURE__ */ (0, I.jsx)(UV, {})
+ children: /* @__PURE__ */ (0, I.jsx)(HV, {})
}) : null]
- }), /* @__PURE__ */ (0, I.jsx)(_Y, {
+ }), /* @__PURE__ */ (0, I.jsx)(gY, {
preferences: t,
id: e.id
})] })
- }, e.id)), /* @__PURE__ */ (0, I.jsx)(gB, {
+ }, e.id)), /* @__PURE__ */ (0, I.jsx)(hB, {
id: "remaining-space",
"aria-label": "行空白区域",
"data-table-space": "",
width: t.spaceWidth,
minWidth: 0
- })] }), /* @__PURE__ */ (0, I.jsx)(yB, {
+ })] }), /* @__PURE__ */ (0, I.jsx)(vB, {
renderEmptyState: () => d.isError ? "作品列表未取得" : "没有符合的作品",
- children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsxs)(SB, {
+ children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsxs)(xB, {
id: `skeleton-${t}`,
"data-list-skeleton-row": "",
"aria-hidden": "true",
- children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(wB, { children: /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: tY(e.id) } }) }, e.id)), /* @__PURE__ */ (0, I.jsx)(wB, { "data-table-space": "" })]
- }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, I.jsxs)(SB, {
+ children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(CB, { children: /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: eY(e.id) } }) }, e.id)), /* @__PURE__ */ (0, I.jsx)(CB, { "data-table-space": "" })]
+ }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, I.jsxs)(xB, {
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)(wB, { children: eq(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, I.jsx)(wB, { "data-table-space": "" })]
+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, I.jsx)(CB, { children: $K(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, I.jsx)(CB, { "data-table-space": "" })]
}, e.id))
})]
})
}),
- d.data ? /* @__PURE__ */ (0, I.jsx)(sY, {
+ d.data ? /* @__PURE__ */ (0, I.jsx)(oY, {
label: "作品列表",
total: p,
pagination: c,
@@ -61377,113 +61404,118 @@ function NCe(e) {
]
});
}
-function PCe({ item: e, props: t, disabled: n }) {
+function FCe({ 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() || "未命名作品";
- yL();
- let { avatar: l, who: u } = gK(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = sK({ 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", {
+ vL();
+ let l = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, u = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), d = (e) => /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
- }), g = (n) => {
+ }), f = (n) => {
t.selectMode ? t.actions.toggleSelection(e.id, n.shiftKey) : (t.filters?.state === "trash" ? t.actions.openResource : t.actions.open)(e, n.currentTarget);
};
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-list-identity": "",
+ children: [/* @__PURE__ */ (0, I.jsx)("button", {
+ type: "button",
+ "data-list-open": "",
+ disabled: n,
+ tabIndex: -1,
+ "aria-hidden": "true",
+ onClick: f,
+ children: /* @__PURE__ */ (0, I.jsxs)("span", {
+ "data-list-picture": "",
+ children: [
+ r.html ? /* @__PURE__ */ (0, I.jsx)(oW, {
+ artwork: r,
+ relayout: (e) => Cl(e, "small")
+ }) : /* @__PURE__ */ (0, I.jsx)("span", { children: "无预览" }),
+ i && !a ? /* @__PURE__ */ (0, I.jsx)("span", {
+ "data-media-group": "",
+ children: `${Number(i.count).toLocaleString()} 卷`
+ }) : null,
+ a ? /* @__PURE__ */ (0, I.jsx)("span", {
+ "data-media-group": "",
+ title: a.editions.join(" · "),
+ children: `${Number(a.count).toLocaleString()} 个版本`
+ }) : null,
+ l > 0 ? /* @__PURE__ */ (0, I.jsx)("span", {
+ "data-media-progress": "",
+ role: "progressbar",
+ "aria-label": "观看进度",
+ "aria-valuemin": 0,
+ "aria-valuemax": 100,
+ "aria-valuenow": Math.round(l * 100),
+ children: /* @__PURE__ */ (0, I.jsx)("i", { style: { "--media-fill": `${(l * 100).toFixed(1)}%` } })
+ }) : null,
+ e.watch_later || u.length ? /* @__PURE__ */ (0, I.jsxs)("span", {
+ "data-media-status": "",
+ children: [e.watch_later ? /* @__PURE__ */ (0, I.jsx)("span", {
+ "data-status": "later",
+ title: "稍后看",
+ "aria-label": "稍后看",
+ children: d("bookmark")
+ }) : null, u.length ? /* @__PURE__ */ (0, I.jsx)("span", {
+ "data-status": "flagged",
+ title: `已标记:${u.join("、")}`,
+ "aria-label": `已标记:${u.join("、")}`,
+ children: d("heart")
+ }) : null]
+ }) : null
+ ]
+ })
+ }), /* @__PURE__ */ (0, I.jsx)("span", {
+ "data-list-text": "",
+ children: /* @__PURE__ */ (0, I.jsx)("button", {
+ type: "button",
+ "data-list-name": "",
+ disabled: n,
+ title: s,
+ "aria-label": `打开 ${s}`,
+ onClick: f,
+ dangerouslySetInnerHTML: { __html: c }
+ })
+ })]
+ });
+}
+function ICe({ item: e }) {
+ let t = oK({ names: !0 }), n = e.library_id ? t.get(e.library_id) : void 0;
+ return n?.name ? /* @__PURE__ */ (0, I.jsxs)("span", {
+ "data-list-library": "",
+ title: `媒体库:${n.name}`,
+ children: [/* @__PURE__ */ (0, I.jsx)(eU, { mark: n.icon }), n.name]
+ }) : "—";
+}
+function LCe({ item: e, props: t }) {
+ vL();
+ let { avatar: n, who: r } = hK(e);
+ return /* @__PURE__ */ (0, I.jsxs)("div", {
+ "data-list-people": "",
onClick: (e) => {
if (t.selectMode) return;
let n = e.target, r = n.closest("[data-entity-kind]");
r ? t.actions.openEntity(r.dataset.entityKind || "", r.dataset.entityName || "") : n.closest("[data-open-unowned]") && t.actions.openUnowned();
},
- children: [
- /* @__PURE__ */ (0, I.jsx)("button", {
- type: "button",
- "data-list-open": "",
- disabled: n,
- tabIndex: -1,
- "aria-hidden": "true",
- onClick: g,
- children: /* @__PURE__ */ (0, I.jsxs)("span", {
- "data-list-picture": "",
- children: [
- r.html ? /* @__PURE__ */ (0, I.jsx)(sW, {
- artwork: r,
- relayout: (e) => Cl(e, "small")
- }) : /* @__PURE__ */ (0, I.jsx)("span", { children: "无预览" }),
- i && !a ? /* @__PURE__ */ (0, I.jsx)("span", {
- "data-media-group": "",
- children: `${Number(i.count).toLocaleString()} 卷`
- }) : null,
- a ? /* @__PURE__ */ (0, I.jsx)("span", {
- "data-media-group": "",
- title: a.editions.join(" · "),
- children: `${Number(a.count).toLocaleString()} 个版本`
- }) : null,
- d > 0 ? /* @__PURE__ */ (0, I.jsx)("span", {
- "data-media-progress": "",
- role: "progressbar",
- "aria-label": "观看进度",
- "aria-valuemin": 0,
- "aria-valuemax": 100,
- "aria-valuenow": Math.round(d * 100),
- children: /* @__PURE__ */ (0, I.jsx)("i", { style: { "--media-fill": `${(d * 100).toFixed(1)}%` } })
- }) : null,
- e.watch_later || m.length ? /* @__PURE__ */ (0, I.jsxs)("span", {
- "data-media-status": "",
- children: [e.watch_later ? /* @__PURE__ */ (0, I.jsx)("span", {
- "data-status": "later",
- title: "稍后看",
- "aria-label": "稍后看",
- children: h("bookmark")
- }) : null, m.length ? /* @__PURE__ */ (0, I.jsx)("span", {
- "data-status": "flagged",
- title: `已标记:${m.join("、")}`,
- "aria-label": `已标记:${m.join("、")}`,
- children: h("heart")
- }) : null]
- }) : null
- ]
- })
- }),
- l,
- /* @__PURE__ */ (0, I.jsxs)("span", {
- "data-list-text": "",
- children: [/* @__PURE__ */ (0, I.jsx)("button", {
- type: "button",
- "data-list-name": "",
- disabled: n,
- title: s,
- "aria-label": `打开 ${s}`,
- onClick: g,
- dangerouslySetInnerHTML: { __html: c }
- }), /* @__PURE__ */ (0, I.jsxs)("span", {
- "data-list-byline": "",
- children: [p?.name ? /* @__PURE__ */ (0, I.jsxs)("span", {
- "data-list-library": "",
- title: `媒体库:${p.name}`,
- children: [/* @__PURE__ */ (0, I.jsx)(tU, { mark: p.icon }), p.name]
- }) : null, u]
- })]
- })
- ]
+ children: [n, r]
});
}
// src/react/catalog-grid/catalog-grid-page.tsx
-function xY(e) {
- let t = gG();
- if (e.mode === "items") return /* @__PURE__ */ (0, I.jsx)(ICe, { ...e });
+function bY(e) {
+ let t = hG();
+ if (e.mode === "items") return /* @__PURE__ */ (0, I.jsx)(zCe, { ...e });
let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${hP(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- if (t === "list" && !e.wall) return /* @__PURE__ */ (0, I.jsx)(NCe, { ...e }, n);
+ if (t === "list" && !e.wall) return /* @__PURE__ */ (0, I.jsx)(PCe, { ...e }, n);
let r = e.mode === "entity" ? "entity" : `catalog:${!!e.wall}`;
- return /* @__PURE__ */ (0, I.jsx)(LCe, { ...e }, r);
+ return /* @__PURE__ */ (0, I.jsx)(BCe, { ...e }, r);
}
-function FCe({ name: e }) {
+function RCe({ 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 SY({ children: e, selectMode: t }) {
+function xY({ children: e, selectMode: t }) {
let n = (0, F.useRef)(null), [r, i] = (0, F.useState)(!1);
return (0, F.useLayoutEffect)(() => {
let e = n.current;
@@ -61499,8 +61531,8 @@ function SY({ children: e, selectMode: t }) {
children: e
});
}
-function ICe(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)(vK, {
+function zCe(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)(_K, {
item: i,
variant: r,
layout: e.layout,
@@ -61514,12 +61546,12 @@ function ICe(e) {
return r === "next" ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-media-next-row": "",
children: i
- }) : /* @__PURE__ */ (0, I.jsx)(SY, {
+ }) : /* @__PURE__ */ (0, I.jsx)(xY, {
selectMode: e.selectMode,
children: i
});
}
-function LCe(e) {
+function BCe(e) {
let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Cue(e) : Sue(e), [s] = (0, F.useState)(() => e.wall ? gP(o.queryKey) : void 0), c = JSON.stringify(o.queryKey), l = (0, F.useMemo)(() => e.restoreNavigation ? gP(o.queryKey) : void 0, [c, e.restoreNavigation]) || s || (i && e.initial ? {
pages: [{
...e.initial,
@@ -61556,7 +61588,7 @@ function LCe(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 || Nbe(e.filters), _ = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, v = f.flatMap((e) => e.kind === "card" && Dbe(e.item) ? [e.item] : []), y = a ? [] : QK(f.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), b = (0, F.useRef)(null), x = RCe(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 || Pbe(e.filters), _ = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, v = f.flatMap((e) => e.kind === "card" && Obe(e.item) ? [e.item] : []), y = a ? [] : ZK(f.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), b = (0, F.useRef)(null), x = VCe(e, u.isPlaceholderData ? void 0 : u.data, f, p, b);
(0, F.useLayoutEffect)(() => {
if (!u.data || u.isPlaceholderData) return;
let t = !0;
@@ -61584,12 +61616,12 @@ function LCe(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)(BCe, {
+ }, [u.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)(UCe, {
seed: i.seed,
layout: r,
helpers: t,
actions: n
- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, I.jsx)(vK, {
+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, I.jsx)(_K, {
item: i.item,
grouped: e.groupCollapse !== !1,
variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",
@@ -61601,7 +61633,7 @@ function LCe(e) {
actions: n,
onOpen: a ? w : C
}, i.item.id), O = () => {
- if (_ && e.wall) return /* @__PURE__ */ (0, I.jsx)(Hbe, {
+ if (_ && e.wall) return /* @__PURE__ */ (0, I.jsx)(Ube, {
sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${hP(e.filters || {}, !!e.excludeVertical)}`,
items: v,
finite: g,
@@ -61610,7 +61642,7 @@ function LCe(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 ? Gbe({
+ emptyHtml: u.data && !v.length ? Kbe({
libraryEmpty: !!u.data.pages[0]?.libraryEmpty,
matches: h,
hasMore: !!u.hasNextPage,
@@ -61625,7 +61657,7 @@ function LCe(e) {
javImage: r.javImage
}, g ? "finite" : "explore");
if (u.isPending) return null;
- if (!u.data) return /* @__PURE__ */ (0, I.jsx)(qG, {
+ if (!u.data) return /* @__PURE__ */ (0, I.jsx)(KG, {
message: bn(u.error),
onRetry: () => void u.refetch()
});
@@ -61642,12 +61674,12 @@ function LCe(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: Oue(f, x).map((t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(SY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, I.jsx)(zCe, {
+ children: Oue(f, x).map((t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(xY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, I.jsx)(HCe, {
cut: t.strip,
props: e,
onOpen: T
}) : null] }, t.start))
- }), u.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(CY, {
+ }), u.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(SY, {
entity: i,
load: E,
enabled: () => !u.isPlaceholderData && e.canLoadMore?.() !== !1
@@ -61657,14 +61689,14 @@ function LCe(e) {
ref: b,
"data-media-body": "",
"aria-busy": u.isFetching && !u.isFetchingNextPage,
- children: [/* @__PURE__ */ (0, I.jsx)($K, { assetIds: y }), e.wall ? O() : /* @__PURE__ */ (0, I.jsx)(JG, {
+ children: [/* @__PURE__ */ (0, I.jsx)(QK, { assetIds: y }), e.wall ? O() : /* @__PURE__ */ (0, I.jsx)(qG, {
pending: u.isPending,
skeletonHtml: e.skeletonHtml,
children: O()
})]
});
}
-function CY({ entity: e, load: t, enabled: n, children: r }) {
+function SY({ entity: e, load: t, enabled: n, children: r }) {
let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(!1), s = (0, F.useRef)(!1), [c, l] = (0, F.useState)({
busy: !1,
error: ""
@@ -61706,7 +61738,7 @@ function CY({ entity: e, load: t, enabled: n, children: r }) {
if (!e) return;
let t = new IntersectionObserver((e) => {
e.some((e) => e.isIntersecting) && d(!1);
- }, { rootMargin: KG });
+ }, { rootMargin: GG });
return a.current = t, t.observe(e), () => {
t.disconnect(), a.current = null;
};
@@ -61729,12 +61761,12 @@ function CY({ 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)(qG, {
+ }), c.error ? /* @__PURE__ */ (0, I.jsx)(KG, {
message: c.error,
onRetry: () => void d(!0)
}) : null] });
}
-function RCe(e, t, n, r, i) {
+function VCe(e, t, n, r, i) {
let a = ["catalog-short-layout", hP(e.filters || {}, !!e.excludeVertical)], o = `${a[1]}:${e.revision}`, s = () => {
let t = e.restoreNavigation ? H.getQueryData(a) : void 0, n = {
parts: /* @__PURE__ */ new Set(),
@@ -61799,7 +61831,7 @@ function RCe(e, t, n, r, i) {
});
}, [d]), m;
}
-function zCe({ cut: e, props: t, onOpen: n }) {
+function HCe({ cut: e, props: t, onOpen: n }) {
let r = (0, F.useRef)(null), { wireDrag: i } = t;
return (0, F.useEffect)(() => {
r.current && i(r.current);
@@ -61815,12 +61847,12 @@ function zCe({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, I.jsx)(FCe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, I.jsx)(RCe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "进入沉浸模式" })]
})
] }), /* @__PURE__ */ (0, I.jsx)("div", {
ref: r,
"data-shorts-row": "",
- children: e.items.map((e) => /* @__PURE__ */ (0, I.jsx)(vK, {
+ children: e.items.map((e) => /* @__PURE__ */ (0, I.jsx)(_K, {
item: e,
variant: "short",
layout: t.layout,
@@ -61835,17 +61867,17 @@ function zCe({ cut: e, props: t, onOpen: n }) {
})]
});
}
-function wY(e, t, n) {
+function CY(e, t, n) {
return To(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);
}
-function BCe({ seed: e, layout: t, helpers: n, actions: r }) {
+function UCe({ 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) => vP(e, t.javImage)).slice(0, 9);
- return i.current = new Map(n.map((e) => [String(e.id), wY(e, t, !0).html])), n.map((e) => String(e.id));
- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = wY(e, t, !1);
- return /* @__PURE__ */ (0, I.jsx)(SK, {
+ return i.current = new Map(n.map((e) => [String(e.id), CY(e, t, !0).html])), n.map((e) => String(e.id));
+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = CY(e, t, !1);
+ return /* @__PURE__ */ (0, I.jsx)(xK, {
"data-mix-seed": String(e.id),
name: `Mix · ${o}`,
caption: `${n.displayName(e, e.name || "")}及相似作品`,
@@ -61855,12 +61887,12 @@ function BCe({ seed: e, layout: t, helpers: n, actions: r }) {
wholeCard: !0,
poster: null,
artwork: l,
- artworkIdentity: c === "small" ? l.html : wY(e, {
+ artworkIdentity: c === "small" ? l.html : CY(e, {
...t,
size: "small"
}, !1).html,
relayoutArt: (e) => Cl(e, c),
- ratio: hK(e, "grid", t),
+ ratio: mK(e, "grid", t),
flipImages: s,
faceHtml: (e) => i.current.get(e) || "",
canFlip: r.canFlip,
@@ -61871,37 +61903,37 @@ function BCe({ seed: e, layout: t, helpers: n, actions: r }) {
});
}
// src/react/media-sources.ts
-async function TY(e) {
+async function wY(e) {
await H.fetchQuery({
queryKey: vr,
queryFn: () => yr(e)
});
}
-var VCe = (e) => (e?.sources ?? []).filter((e) => _n.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), HCe = "/api/duplicates?limit=120", EY = ["duplicates"], DY = "/api/batch", OY = (e) => B(HCe, e), UCe = /[\s\-_.()[\]【】/\\]/;
-function WCe(e) {
+var WCe = (e) => (e?.sources ?? []).filter((e) => _n.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), GCe = "/api/duplicates?limit=120", TY = ["duplicates"], EY = "/api/batch", DY = (e) => B(GCe, e), KCe = /[\s\-_.()[\]【】/\\]/;
+function qCe(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 && !UCe.test(n[r - 1]);) --r;
+ for (; r > 0 && !KCe.test(n[r - 1]);) --r;
return r >= 8 ? n.slice(0, r) : "";
}
-var GCe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
-async function KCe(e) {
+var JCe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
+async function YCe(e) {
await Promise.all([H.fetchQuery({
- queryKey: EY,
- queryFn: () => OY(e)
- }), TY(e)]);
+ queryKey: TY,
+ queryFn: () => DY(e)
+ }), wY(e)]);
}
-var qCe = {
+var XCe = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, JCe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), kY = (e, t) => JCe(e, t).filter((t) => e.some((e) => e.location !== t)), YCe = (e, t) => t.filter((t) => e.some((e) => kY(e.files, [t]).length));
-function XCe(e, t) {
+}, ZCe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), OY = (e, t) => ZCe(e, t).filter((t) => e.some((e) => e.location !== t)), QCe = (e, t) => t.filter((t) => e.some((e) => OY(e.files, [t]).length));
+function $Ce(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -61920,19 +61952,19 @@ function XCe(e, t) {
}
return n;
}
-function ZCe(e, t) {
+function ewe(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 QCe(e, t) {
- for (let n = 0; n < e.length; n += 200) await V(DY, {
+async function twe(e, t) {
+ for (let n = 0; n < e.length; n += 200) await V(EY, {
ids: e.slice(n, n + 200),
operation: t,
...t === "dispose" ? { disposal_reason: "duplicate" } : {}
});
}
// src/react/media-repair/media-repair.ts
-var AY = "/api/media-repair", jY = ["media-repair"], MY = ["media-repair", "libraries"], $Ce = {
+var kY = "/api/media-repair", AY = ["media-repair"], jY = ["media-repair", "libraries"], nwe = {
status: "idle",
library: "",
stage: "",
@@ -61944,39 +61976,39 @@ var AY = "/api/media-repair", jY = ["media-repair"], MY = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, NY = (e) => B(AY, e), PY = async (e) => (await B("/api/libraries", e)).libraries || [];
-async function ewe(e) {
+}, MY = (e) => B(kY, e), NY = async (e) => (await B("/api/libraries", e)).libraries || [];
+async function rwe(e) {
await Promise.all([H.fetchQuery({
+ queryKey: AY,
+ queryFn: () => MY(e)
+ }), H.fetchQuery({
queryKey: jY,
queryFn: () => NY(e)
- }), H.fetchQuery({
- queryKey: MY,
- queryFn: () => PY(e)
})]);
}
-var FY = (e) => Number(e).toLocaleString();
-function twe(e) {
+var PY = (e) => Number(e).toLocaleString();
+function iwe(e) {
if (e.status === "running") {
- let t = e.total ? `${FY(Math.min(e.checked || 0, e.total))} / ${FY(e.total)}` : "准备中";
+ let t = e.total ? `${PY(Math.min(e.checked || 0, e.total))} / ${PY(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${FY(e.repaired)} 部,${FY(e.failed)} 部修不了` : `修好 ${FY(e.repaired)} 部` : "";
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${PY(e.repaired)} 部,${PY(e.failed)} 部修不了` : `修好 ${PY(e.repaired)} 部` : "";
}
-var nwe = (e) => `${FY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, rwe = "/api/quality-goals?limit=200", IY = ["quality-goals"], LY = (e) => B(rwe, e);
-async function iwe(e) {
+var awe = (e) => `${PY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, owe = "/api/quality-goals?limit=200", FY = ["quality-goals"], IY = (e) => B(owe, e);
+async function swe(e) {
await H.fetchQuery({
- queryKey: IY,
- queryFn: () => LY(e)
+ queryKey: FY,
+ queryFn: () => IY(e)
});
}
-var awe = (e) => e.has_cover ? co(e) : `/poster?id=${e.id}&c=4`;
+var cwe = (e) => e.has_cover ? co(e) : `/poster?id=${e.id}&c=4`;
// src/selection.ts
-function RY(e, t, n, r, i, a = i || !e.has(r)) {
+function LY(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 owe = "/api/review", swe = "/api/review/decision", cwe = "/api/review/genre", zY = ["review"], BY = {
+var lwe = "/api/review", uwe = "/api/review/decision", dwe = "/api/review/genre", RY = ["review"], zY = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -61986,40 +62018,40 @@ var owe = "/api/review", swe = "/api/review/decision", cwe = "/api/review/genre"
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, lwe = Object.keys(BY), uwe = "metadata_fields", VY = (e) => typeof e == "string" && Object.hasOwn(BY, e), dwe = {
+}, fwe = Object.keys(zY), pwe = "metadata_fields", BY = (e) => typeof e == "string" && Object.hasOwn(zY, e), mwe = {
creator_tags: "creator",
western_identity: "creator"
-}, HY = [
+}, VY = [
"pending",
"later",
"ignored"
-], UY = {
+], HY = {
pending: "待处理",
later: "稍后处理",
ignored: "已忽略"
-}, fwe = {
+}, hwe = {
approved: "已通过",
rejected: "已忽略",
skipped: "稍后处理"
-}, WY = (e) => e === "later" || e === "ignored" ? e : "pending", GY = (e, t) => t === "pending" ? {
+}, UY = (e) => e === "later" || e === "ignored" ? e : "pending", WY = (e, t) => t === "pending" ? {
sections: e.sections,
counts: e.counts
} : e.queues[t];
-function pwe(e, t) {
+function gwe(e, t) {
return {
...e,
- ...t(GY(e, "pending")),
+ ...t(WY(e, "pending")),
queues: {
later: t(e.queues.later),
ignored: t(e.queues.ignored)
}
};
}
-function mwe(e, t) {
+function _we(e, t) {
let n = [["candidates", t ? "按来源数量" : "不分组"]];
return e.some((e) => e.source || e.candidates?.some((e) => e.source)) && n.push(["source", "按来源"]), e.some((e) => e.field) && n.push(["field", "按字段"]), n;
}
-function KY(e, t) {
+function GY(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -62036,10 +62068,10 @@ function KY(e, t) {
}
return [...n.values()];
}
-function hwe(e, t, n) {
- return n && KY(e, t).find((e) => e.key === n)?.rows || e;
+function vwe(e, t, n) {
+ return n && GY(e, t).find((e) => e.key === n)?.rows || e;
}
-function gwe(e, t) {
+function ywe(e, t) {
let n = hr(e.length, 20), r = gr(t, n);
return {
page: r,
@@ -62047,32 +62079,32 @@ function gwe(e, t) {
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function _we(e) {
+function bwe(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 vwe(e, t, n, r, i, a) {
- return RY(e, t, n, r, i, a);
+function xwe(e, t, n, r, i, a) {
+ return LY(e, t, n, r, i, a);
}
-function ywe(e, t) {
+function Swe(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function qY(e, t) {
+function KY(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
-var JY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function bwe(e, t) {
- let n = qY(e, t), r = JY(e, t);
+var qY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+function Cwe(e, t) {
+ let n = KY(e, t), r = qY(e, t);
return r ? `${n} · ${r}` : n;
}
-var xwe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", Swe = (e) => String(e.tags || "").split("|").filter(Boolean), Cwe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function wwe(e) {
+var wwe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", Twe = (e) => String(e.tags || "").split("|").filter(Boolean), Ewe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function Dwe(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function Twe(e, t, n, r) {
+function Owe(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -62088,22 +62120,22 @@ function Twe(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var Ewe = (e) => ({
+var kwe = (e) => ({
approved: "已通过资料",
rejected: "已忽略资料",
skipped: "已移至稍后处理",
restore: "已恢复待处理"
})[e];
-async function YY(e) {
- let t = await B(owe, e);
- for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${UY[e]}状态未取得,请刷新或更新写入端`);
+async function JY(e) {
+ let t = await B(lwe, e);
+ for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${HY[e]}状态未取得,请刷新或更新写入端`);
return t;
}
-async function Dwe(e) {
- let t = await V(swe, e);
+async function Awe(e) {
+ let t = await V(uwe, e);
if (t.ok && t.asset_revisions) {
let e = t.asset_revisions;
- H.setQueryData(zY, (t) => t && pwe(t, (t) => ({
+ H.setQueryData(RY, (t) => t && gwe(t, (t) => ({
...t,
sections: {
...t.sections,
@@ -62119,33 +62151,33 @@ async function Dwe(e) {
}
return t;
}
-function Owe(e, t) {
- let n = H.getQueryData(zY);
- return n && HY.flatMap((t) => GY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;
+function jwe(e, t) {
+ let n = H.getQueryData(RY);
+ return n && VY.flatMap((t) => WY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;
}
-var kwe = (e, t) => V(cwe, {
+var Mwe = (e, t) => V(dwe, {
genre: e,
tag: t
});
-async function Awe(e) {
+async function Nwe(e) {
await H.fetchQuery({
- queryKey: zY,
- queryFn: () => YY(e)
+ queryKey: RY,
+ queryFn: () => JY(e)
});
}
-function jwe(e, t, n) {
+function Pwe(e, t, n) {
let r = new Set(t);
- r.size && H.setQueryData(zY, (t) => {
+ r.size && H.setQueryData(RY, (t) => {
if (!t) return t;
- let i = HY.flatMap((n) => GY(t, n).sections[e] || []).filter((e) => r.has(e.item_key));
+ let i = VY.flatMap((n) => WY(t, n).sections[e] || []).filter((e) => r.has(e.item_key));
if (!i.length) return t;
let a = {
skipped: "later",
rejected: "ignored",
restore: "pending",
approved: null
- }[n], o = Object.fromEntries(HY.map((o) => {
- let s = GY(t, o), c = (s.sections[e] || []).filter((e) => !r.has(e.item_key)), l = a === o ? [...c, ...i.map((e) => ({
+ }[n], o = Object.fromEntries(VY.map((o) => {
+ let s = WY(t, o), c = (s.sections[e] || []).filter((e) => !r.has(e.item_key)), l = a === o ? [...c, ...i.map((e) => ({
...e,
decision: n === "restore" ? "pending" : n,
decision_note: ""
@@ -62172,254 +62204,258 @@ function jwe(e, t, n) {
};
});
}
-var Mwe = () => H.invalidateQueries({
- queryKey: zY,
+var Fwe = () => H.invalidateQueries({
+ queryKey: RY,
exact: !0
});
-function Nwe(e, t) {
+function Iwe(e, t) {
return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Sr(e.fetched_at)} 的缓存` : e?.error || t;
}
// src/react/data-cleanup/links.ts
-var Pwe = "/api/links", XY = "/api/links/check", ZY = "/api/links/prune", QY = ["links"], $Y = ["links", "check"], eX = ["links", "prune"], Fwe = {
+var Lwe = "/api/links", YY = "/api/links/check", XY = "/api/links/prune", ZY = ["links"], QY = ["links", "check"], $Y = ["links", "prune"], Rwe = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
source_reference: "资料出处"
};
-async function tX(e) {
+async function eX(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var nX = (e) => B(Pwe, e), rX = (e) => V(XY, { status_only: !0 }, "POST", e), Iwe = ({ retry: e, checkId: t }) => tX(V(XY, e ? {
+var tX = (e) => B(Lwe, e), nX = (e) => V(YY, { status_only: !0 }, "POST", e), zwe = ({ retry: e, checkId: t }) => eX(V(YY, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), iX = (e) => B(ZY, e), Lwe = ({ checkId: e, ids: t }) => tX(V(ZY, {
+} : { restart: !0 })), rX = (e) => B(XY, e), Bwe = ({ checkId: e, ids: t }) => eX(V(XY, {
confirm: !0,
check_id: e,
background: !0,
...t ? { ids: t } : {}
-})), aX = (e) => Number(e || 0).toLocaleString(), Rwe = (e) => `已删除 ${aX(e.removed)} 条;${e.marked ? `已隐退女优的 ${aX(e.marked)} 条留作不可点的记录;` : ""}保留 ${aX(e.recovered)} 条未确认失效的链接。`;
-function zwe(e) {
+})), iX = (e) => Number(e || 0).toLocaleString(), Vwe = (e) => `已删除 ${iX(e.removed)} 条;${e.marked ? `已隐退女优的 ${iX(e.marked)} 条留作不可点的记录;` : ""}保留 ${iX(e.recovered)} 条未确认失效的链接。`;
+function Hwe(e) {
let t = e.scope === "retry";
- return e.total ? `${t ? "已重验" : "已检查"} ${aX(e.checked)} / ${aX(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${iX(e.checked)} / ${iX(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
// src/configuration-endpoints.ts
-var oX = "/api/configuration", sX = "/api/pick-folder", cX = "/api/settings", lX = "/api/follow/schedule", uX = "/api/feeds/schedule", dX = "/api/thumbnail-jobs", fX = ["settings"], pX = ["follow-schedule"], mX = ["feed-schedule"], hX = ["thumbnail-jobs"], gX = "/api/media-processing", Bwe = ["media-processing"], Vwe = (e) => B(gX, e), _X = (e) => B(cX, e), Hwe = (e) => B(lX, e), Uwe = (e) => B(uX, e), Wwe = (e) => B(dX, e);
-function Gwe(e = H) {
+var aX = "/api/configuration", oX = "/api/pick-folder", sX = "/api/settings", cX = "/api/follow/schedule", lX = "/api/feeds/schedule", uX = "/api/thumbnail-jobs", dX = ["settings"], fX = ["follow-schedule"], pX = ["feed-schedule"], mX = ["thumbnail-jobs"], hX = "/api/media-processing", Uwe = ["media-processing"], Wwe = (e) => B(hX, e), gX = (e) => B(sX, e), Gwe = (e) => B(cX, e), Kwe = (e) => B(lX, e), qwe = (e) => B(uX, e);
+function Jwe(e = H) {
return e.fetchQuery({
- queryKey: fX,
- queryFn: ({ signal: e }) => _X(e),
+ queryKey: dX,
+ queryFn: ({ signal: e }) => gX(e),
staleTime: 0
}).catch(() => null);
}
-function vX() {
+function _X() {
return Ft({
- mutationFn: (e) => V(cX, e),
- onSuccess: (e) => H.setQueryData(fX, e)
+ mutationFn: (e) => V(sX, e),
+ onSuccess: (e) => H.setQueryData(dX, e)
});
}
-function Kwe() {
+function Ywe() {
return Ft({
- mutationFn: (e) => V(lX, {
+ mutationFn: (e) => V(cX, {
enabled: e > 0,
interval_minutes: e || 60
}),
- onSuccess: (e) => H.setQueryData(pX, e)
+ onSuccess: (e) => H.setQueryData(fX, e)
});
}
-var qwe = {
+var Xwe = {
follow: {
- url: `${lX}/run`,
- key: pX
+ url: `${cX}/run`,
+ key: fX
},
feed: {
- url: `${uX}/run`,
- key: mX
+ url: `${lX}/run`,
+ key: pX
}
};
-function Jwe(e) {
- let { url: t, key: n } = qwe[e];
+function Zwe(e) {
+ let { url: t, key: n } = Xwe[e];
return Ft({
mutationFn: () => V(t, {}),
onSuccess: (e) => H.setQueryData(n, e)
});
}
-var Ywe = (e) => e?.running ? 3e3 : !1;
-function Xwe() {
+var Qwe = (e) => e?.running ? 3e3 : !1;
+function $we() {
return Ft({
- mutationFn: (e) => V(dX, { mode: e }),
- onSuccess: (e) => H.setQueryData(hX, e)
+ mutationFn: (e) => V(uX, { mode: e }),
+ onSuccess: (e) => H.setQueryData(mX, e)
});
}
// src/react/data-cleanup/organize.ts
-var Zwe = "/api/organize", Qwe = "/api/organize/preview", $we = "/api/organize/apply", eTe = "/api/organize/rollback", yX = ["organize"], tTe = "/api/organize/example", nTe = (e, t, n) => B(`${tTe}?${new URLSearchParams({
+var eTe = "/api/organize", tTe = "/api/organize/preview", nTe = "/api/organize/apply", rTe = "/api/organize/rollback", vX = ["organize"], iTe = "/api/organize/example", aTe = (e, t, n) => B(`${iTe}?${new URLSearchParams({
file_template: e,
dir_template: t
-})}`, n), bX = (e) => B(Zwe, e);
-async function rTe(e) {
+})}`, n), yX = (e) => B(eTe, e);
+async function oTe(e) {
await H.fetchQuery({
- queryKey: yX,
- queryFn: () => bX(e)
+ queryKey: vX,
+ queryFn: () => yX(e)
});
}
-var iTe = (e) => V(Qwe, e), aTe = (e) => V(sX, { initial: e }), oTe = (e) => e.kind === "apply" ? V($we, {
+var sTe = (e) => V(tTe, e), cTe = (e) => V(oX, { initial: e }), lTe = (e) => e.kind === "apply" ? V(nTe, {
...e.request,
confirm: !0
-}) : V(eTe, { confirm: !0 });
-async function sTe(e) {
- H.setQueryData(yX, (t) => t && {
+}) : V(rTe, { confirm: !0 });
+async function uTe(e) {
+ H.setQueryData(vX, (t) => t && {
...t,
templates: e
});
try {
- await V(cX, { organizeTemplates: e });
+ await V(sX, { organizeTemplates: e });
} catch {}
}
-var cTe = (e, t) => e && {
+var dTe = (e, t) => e && {
...e,
...t
-}, lTe = /目录模板|分隔符|盘符|`\.`/;
-function uTe(e) {
+}, fTe = /目录模板|分隔符|盘符|`\.`/;
+function pTe(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var xX = (e) => Number(e || 0).toLocaleString();
-function dTe(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${xX(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${xX(e.counts.change)} 个文件会改名或移动,${xX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+var bX = (e) => Number(e || 0).toLocaleString();
+function mTe(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 fTe(e) {
+function hTe(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
- text: t ? `已退回 ${xX(r)} 个文件${n ? `,${xX(n)} 行未能退回` : ""}。` : `已整理 ${xX(r)} 个文件${n ? `,${xX(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 pTe = "/api/orphan-records", mTe = "/api/orphan-records/attach", SX = ["orphan-records"], hTe = [
+var gTe = "/api/orphan-records", _Te = "/api/orphan-records/attach", xX = ["orphan-records"], vTe = [
["asset_preference", "喜欢与理由"],
["watch_queue", "稍后看"],
["playlist_item", "播放列表"],
["asset_quality_goal", "寻找更好版本"],
["activity_event", "观看历史"],
["asset_tag_preference", "隐藏标签"]
-], CX = (e) => B(pTe, e), gTe = (e, t) => V(mTe, {
+], SX = (e) => B(gTe, e), yTe = (e, t) => V(_Te, {
id: e,
target: t
-}), _Te = (e) => V(DY, {
+}), bTe = (e) => V(EY, {
ids: Array.isArray(e) ? e : [e],
operation: "delete"
-}), vTe = (e) => [
+}), xTe = (e) => [
e.rating ? `评分 ${e.rating}` : "",
e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",
e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""
-], yTe = (e) => [...hTe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...vTe(e)].filter(Boolean).join(" · "), bTe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", xTe = (e) => [e.name, bTe(e.duration)].filter(Boolean).join(" · "), wX = "/api/resource-sync/scan", TX = "/api/resource-sync/apply", EX = ["resource-sync", "scan"], DX = ["resource-sync", "apply"], OX = (e) => V(wX, {
+], STe = (e) => [...vTe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...xTe(e)].filter(Boolean).join(" · "), CTe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", wTe = (e) => [e.name, CTe(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), STe = () => V(wX, {
+}, "POST", e), TTe = () => V(CX, {
background: !0,
restart: !0
-}), kX = (e) => B(TX, e), CTe = (e) => V(TX, {
+}), OX = (e) => B(wX, e), ETe = (e) => V(wX, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), AX = (e) => (e?.sources ?? []).some((e) => gn.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function wTe(e) {
- AX(H.getQueryData(vr)) && await Promise.all([H.fetchQuery({
+}), kX = (e) => (e?.sources ?? []).some((e) => gn.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function DTe(e) {
+ kX(H.getQueryData(vr)) && await Promise.all([H.fetchQuery({
+ queryKey: TX,
+ queryFn: () => DX(e)
+ }), H.fetchQuery({
queryKey: EX,
queryFn: () => OX(e)
- }), H.fetchQuery({
- queryKey: DX,
- queryFn: () => kX(e)
})]);
}
-var TTe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), jX = (e) => Number(e || 0).toLocaleString(), ETe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", MX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), NX = (e) => e.vanish ? `${jX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", PX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", DTe = (e) => `将永久删除文件已不在盘上的 ${jX(MX(e))} 条记录和 ${jX(e.empty)} 个空文件夹,并清理 ${jX(e.cache?.files)} 个闲置缓存。${PX(e)}${NX(e)}`, OTe = (e) => `将永久删除文件已不在盘上的 ${jX(MX(e))} 条记录(含回收站里的)、${jX(e.empty)} 个空文件夹,并清理 ${jX(e.cache?.files)} 个闲置缓存。来源根目录保留。${PX(e)}${NX(e)}`, kTe = (e) => e.online ? [
- `找不到文件 · 共 ${jX(e.total)} 项`,
- e.vanish ? `${jX(e.vanish)} 项带个人记录` : "",
- e.empty ? `空文件夹 ${jX(e.empty)} 个` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${jX(e.total)} 项`;
-function FX(e) {
+var OTe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), AX = (e) => Number(e || 0).toLocaleString(), kTe = (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 ? "这几样不可撤销。" : "这一步不可撤销。", ATe = (e) => `将永久删除文件已不在盘上的 ${AX(jX(e))} 条记录和 ${AX(e.empty)} 个空文件夹,并清理 ${AX(e.cache?.files)} 个闲置缓存。${NX(e)}${MX(e)}`, jTe = (e) => `将永久删除文件已不在盘上的 ${AX(jX(e))} 条记录(含回收站里的)、${AX(e.empty)} 个空文件夹,并清理 ${AX(e.cache?.files)} 个闲置缓存。来源根目录保留。${NX(e)}${MX(e)}`, MTe = (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 ? `${jX(t.length)} 条记录没有删除(${o})` : "",
- n ? `${jX(n)} 个文件夹没有删除` : "",
- r.length ? `${jX(r.length)} 个缓存没有清理` : ""
+ t.length ? `${AX(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${AX(n)} 个文件夹没有删除` : "",
+ r.length ? `${AX(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
-var ATe = (e, t) => {
- let { rest: n } = FX(e), r = `已永久删除 ${jX(e.purged)} 条失效记录和 ${jX(e.dirs_removed)} 个空文件夹,清理 ${jX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${jX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${jX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
+var NTe = (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;
-}, IX = ["performer-delete-candidates"], LX = (e) => B("/api/performer/delete-candidates", e), jTe = (e, t) => B(`/api/performer/delete-plan?${new URLSearchParams({ ids: e.join(",") })}`, t), MTe = (e) => V("/api/performer/delete", {
+}, FX = ["performer-delete-candidates"], IX = (e) => B("/api/performer/delete-candidates", e), PTe = (e, t) => B(`/api/performer/delete-plan?${new URLSearchParams({ ids: e.join(",") })}`, t), FTe = (e) => V("/api/performer/delete", {
entity_ids: e.entity_ids,
plan: e.plan
-}), NTe = "/api/review?counts=1", RX = ["review", "counts"], PTe = "/api/ads?limit=1", zX = ["junk-summary"], BX = "/api/items?state=trash&limit=1", VX = ["trash-summary"], FTe = [
+}), ITe = "/api/review?counts=1", LX = ["review", "counts"], LTe = "/api/ads?limit=1", RX = ["junk-summary"], zX = "/api/items?state=trash&limit=1", BX = ["trash-summary"], RTe = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], HX = (e) => B(NTe, e), UX = (e) => B(PTe, e), WX = (e) => {
+], VX = (e) => B(ITe, e), HX = (e) => B(LTe, e), UX = (e) => {
let t = sessionStorage.getItem("peach.library");
- return B(t ? `${BX}&library=${encodeURIComponent(t)}` : BX, e);
-}, GX = (e) => Number(e || 0).toLocaleString();
-function ITe(e) {
- let t = BY, 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 B(t ? `${zX}&library=${encodeURIComponent(t)}` : zX, e);
+}, WX = (e) => Number(e || 0).toLocaleString();
+function zTe(e) {
+ let t = zY, 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 LTe(e) {
+function BTe(e) {
if (!e) return "";
- let t = FTe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${GX(e.counts[t])}`);
- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${GX(e.dismissed_total)}`), t.join(" · ");
+ let t = RTe.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 RTe = [
+var VTe = [
+ [LX, ({ signal: e }) => VX(e)],
+ [FY, ({ signal: e }) => IY(e)],
+ [BX, ({ signal: e }) => UX(e)],
[RX, ({ signal: e }) => HX(e)],
- [IY, ({ signal: e }) => LY(e)],
- [VX, ({ signal: e }) => WX(e)],
- [zX, ({ signal: e }) => UX(e)],
- [EY, ({ signal: e }) => OY(e)]
+ [TY, ({ signal: e }) => DY(e)]
];
-async function zTe(e) {
- for (let [t, n] of RTe) H.prefetchQuery({
+async function HTe(e) {
+ for (let [t, n] of VTe) H.prefetchQuery({
queryKey: t,
queryFn: () => n({ signal: e })
});
- await xH(e);
+ await bH(e);
}
-async function BTe(e, t) {
+async function UTe(e, t) {
switch (e) {
case "organize":
- await rTe(t);
+ await oTe(t);
break;
case "media-repair":
- await ewe(t);
+ await rwe(t);
break;
case "resource-sync":
- await TY(t), await wTe(t);
+ await wY(t), await DTe(t);
break;
case "orphan-records":
await H.prefetchQuery({
- queryKey: SX,
- queryFn: () => CX(t)
+ queryKey: xX,
+ queryFn: () => SX(t)
});
break;
case "batch-delete":
await H.prefetchQuery({
- queryKey: IX,
- queryFn: () => LX(t)
+ queryKey: FX,
+ queryFn: () => IX(t)
});
break;
case "links": await Promise.all([
+ H.prefetchQuery({
+ queryKey: ZY,
+ queryFn: () => tX(t)
+ }),
H.prefetchQuery({
queryKey: QY,
queryFn: () => nX(t)
@@ -62427,17 +62463,13 @@ async function BTe(e, t) {
H.prefetchQuery({
queryKey: $Y,
queryFn: () => rX(t)
- }),
- H.prefetchQuery({
- queryKey: eX,
- queryFn: () => iX(t)
})
]);
}
}
// src/react/feed-new/feed-new.ts
-var KX = (e) => ["feed-new", e ?? "home"], VTe = 8, HTe = 1500;
-function UTe(e, t, n) {
+var GX = (e) => ["feed-new", e ?? "home"], WTe = 8, GTe = 1500;
+function KTe(e, t, n) {
let r = document.createElement("template");
r.innerHTML = e;
let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {
@@ -62448,33 +62480,33 @@ function UTe(e, t, n) {
setTimeout(e, n);
})]);
}
-async function WTe(e, t, n) {
- let r = new URLSearchParams({ limit: String(uM().value.feedLimit) });
+async function qTe(e, t, n) {
+ let r = new URLSearchParams({ limit: String(dM().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, e ? "" : "/jav?tab=releases");
- return n && o.length && await UTe(s, VTe, HTe), {
+ return n && o.length && await KTe(s, WTe, GTe), {
items: o,
html: s,
fetching: o.some((e) => e.cover_fetching && !e.has_cover)
};
}
-var qX = (e, t, n = !1) => ({
- queryKey: KX(e),
- queryFn: () => WTe(e, t, n),
+var KX = (e, t, n = !1) => ({
+ queryKey: GX(e),
+ queryFn: () => qTe(e, t, n),
staleTime: Infinity,
refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1
-}), JX = (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 GTe(e) {
- H.removeQueries({ queryKey: KX(null) }), await H.fetchQuery(qX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
+async function JTe(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 YX = [
+var JX = [
"loc",
"creator",
"tag",
@@ -62488,52 +62520,52 @@ var YX = [
"browse",
"folder",
"folder_recursive"
-], XX = {
+], YX = {
media: "videos",
set: 0
-}, ZX = (e, t) => [
+}, XX = (e, t) => [
"entity",
e,
t
-], KTe = (e, t, n, r) => [
+], YTe = (e, t, n, r) => [
"entity-items",
e,
t,
n,
r
-], QX = (e, t, n, r) => [
+], ZX = (e, t, n, r) => [
"entity-photos",
e,
t,
n,
r
-], $X = (e) => String(e || "").split(",").filter(Boolean), qTe = (e, t) => $X(e).includes(t);
-function eZ(e, t, n, r, i = 0) {
+], QX = (e) => String(e || "").split(",").filter(Boolean), XTe = (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, ...$X(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 YX) 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 tZ(e, t, n, r, i, a, o) {
- let s = eZ(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 nZ = (e) => {
+var tZ = (e) => {
let t = {
jav: e.jav,
seed: e.seed
- }, n = eZ(e.kind, e.name, e.filters, t).toString();
+ }, n = $X(e.kind, e.name, e.filters, t).toString();
return {
- queryKey: KTe(e.kind, e.name, n, e.revision),
- queryFn: ({ signal: n }) => tZ(e.kind, e.name, e.filters, t, 0, n),
+ queryKey: YTe(e.kind, e.name, n, e.revision),
+ queryFn: ({ signal: n }) => eZ(e.kind, e.name, e.filters, t, 0, n),
staleTime: Infinity
};
-}, rZ = (e, t) => ({
- queryKey: ZX(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 JTe(e, t, n, r, i, a) {
+function ZTe(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)}` : ""}`;
@@ -62542,10 +62574,10 @@ function JTe(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 iZ = (e, t, n, r) => ({
- queryKey: QX(e, t, n, r),
+var rZ = (e, t, n, r) => ({
+ queryKey: ZX(e, t, n, r),
queryFn: async ({ pageParam: i }) => {
- let a = await wn(JTe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
+ let a = await wn(ZTe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
if (i) throw e;
return { error: String(e) };
});
@@ -62558,8 +62590,8 @@ var iZ = (e, t, n, r) => ({
seed: t[0]?.seed || ""
} : void 0,
staleTime: Infinity
-}), aZ = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
-async function YTe(e) {
+}), iZ = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
+async function QTe(e) {
let { kind: t, name: n } = e;
if (!e.restoreNavigation) for (let e of [
"entity",
@@ -62570,25 +62602,25 @@ async function YTe(e) {
t,
n
] });
- e.resolvedEntity?.id && H.setQueryData(ZX(t, n), e.resolvedEntity), await Promise.all([
- H.fetchQuery(rZ(t, n)).then((t) => !t || t.error || !t.id ? null : (e.restoreNavigation || H.removeQueries({ queryKey: KX(Number(t.id)) }), H.fetchQuery(qX(Number(t.id), e.helpers.feedRowHtml, !0)))),
- H.fetchQuery(nZ(e)),
- H.fetchInfiniteQuery(iZ(t, n, 0, "")),
- e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(iZ(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 oZ = [
+var aZ = [
["all", "全部"],
["japanese_av", "女优"],
["amateur", "素人"],
["western", "西方"],
["blogger", "网黄博主"],
["animation", "动画作者"]
-], sZ = "mb-4 flex flex-wrap gap-2";
-function XTe(e) {
- let t = oZ.some(([t]) => t === e) ? e : "all";
- return `<div class="peach-react"><div aria-label="身份分类" class="${sZ}">${oZ.map(([e, n]) => Ds({
+], oZ = "mb-4 flex flex-wrap gap-2";
+function $Te(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,
@@ -62596,45 +62628,45 @@ function XTe(e) {
})).join("")}</div></div>`;
}
// src/react/follow/online-vocab.ts
-var ZTe = "/api/follow/authors", QTe = "/api/follow/tags", $Te = (e) => [
+var eEe = "/api/follow/authors", tEe = "/api/follow/tags", nEe = (e) => [
"follow",
"authors",
e
-], eEe = (e, t) => [
+], rEe = (e, t) => [
"follow",
"tags",
e,
t
];
-function tEe(e, t, n) {
+function iEe(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${ZTe}?${r}`;
+ return e && r.set("q", e), `${eEe}?${r}`;
}
-function nEe(e, t, n, r) {
+function aEe(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), `${QTe}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${tEe}?${i}`;
}
-var rEe = (e, t, n, r) => B(tEe(e, t, n), r), iEe = (e, t, n, r, i) => B(nEe(e, t, n, r), i), aEe = "/api/index", cZ = {
+var oEe = (e, t, n, r) => B(iEe(e, t, n), r), sEe = (e, t, n, r, i) => B(aEe(e, t, n, r), i), cEe = "/api/index", sZ = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
series: "系列",
tags: "标签"
-}, oEe = {
+}, lEe = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency",
series: "series"
-}, lZ = [
+}, cZ = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -62644,31 +62676,31 @@ var rEe = (e, t, n, r) => B(tEe(e, t, n), r), iEe = (e, t, n, r, i) => B(nEe(e,
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], uZ = [
+], lZ = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], dZ = {
+], uZ = {
people: 120,
tags: 100
-}, fZ = (e) => e !== "tags", pZ = (e) => e === "studios" || e === "agencies";
-function mZ(e) {
- if (e.kind === "creators" && e.category === "animation") return mZ({
+}, 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" ? uZ : lZ : e.kind === "performers" && t === "local" ? oZ : []).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 hZ(e) {
+function mZ(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -62688,50 +62720,50 @@ function hZ(e) {
...i && i !== "all" ? { category: i } : {}
};
}
-var gZ = (e, t, n = "all") => [
+var hZ = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" || n !== "all" ? [n] : []
];
-function _Z(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), `${aEe}?${a}`;
+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${cEe}?${a}`;
}
-function vZ(e, t = dZ.tags) {
- let n = e.what === "people" || e.what === "online-authors" ? dZ.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: gZ(e.kind, e.q, e.category || "all"),
- queryFn: ({ pageParam: t, signal: r }) => B(_Z(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: gZ("tags", e.q, e.category),
- queryFn: ({ pageParam: t, signal: r }) => B(_Z("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: $Te(e.q),
- queryFn: ({ pageParam: t, signal: r }) => rEe(e.q, n, t, r)
+ queryKey: nEe(e.q),
+ queryFn: ({ pageParam: t, signal: r }) => oEe(e.q, n, t, r)
};
case "online-tags": return {
...r,
- queryKey: eEe(e.q, e.category),
- queryFn: ({ pageParam: t, signal: r }) => iEe(e.q, e.category, n, t, r)
+ queryKey: rEe(e.q, e.category),
+ queryFn: ({ pageParam: t, signal: r }) => sEe(e.q, e.category, n, t, r)
};
}
}
-async function sEe(e, t) {
- let n = vZ(hZ(mZ(e)));
+async function uEe(e, t) {
+ let n = _Z(mZ(pZ(e)));
await H.fetchInfiniteQuery({
queryKey: n.queryKey,
queryFn: ({ pageParam: e }) => n.queryFn({
@@ -62743,20 +62775,20 @@ async function sEe(e, t) {
staleTime: Infinity
});
}
-var cEe = (e) => e ? e.pages.flatMap((e) => e.items) : [], lEe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, yZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", uEe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, dEe = {
+var dEe = (e) => e ? e.pages.flatMap((e) => e.items) : [], fEe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, vZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", pEe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, mEe = {
numeric: !0,
sensitivity: "base"
};
-function bZ(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", dEe))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", mEe))) {
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 xZ({ 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");
@@ -62768,18 +62800,18 @@ function xZ({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var fEe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", pEe = DV("rss");
-function SZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
+var hEe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", gEe = 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,
"data-index-cell": "",
onClick: a,
- className: VH({
+ className: BH({
radius: "plain",
padding: "none",
interactive: !0,
- className: `${fEe} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${hEe} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -62788,10 +62820,10 @@ function SZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a
role: "img",
"aria-label": "已订阅新作",
className: "index-feed-mark absolute top-4 right-4 z-2 inline-flex",
- children: /* @__PURE__ */ (0, I.jsx)(oW, {
+ children: /* @__PURE__ */ (0, I.jsx)(aW, {
variant: "caption",
color: "soft",
- children: /* @__PURE__ */ (0, I.jsx)(pEe, {})
+ children: /* @__PURE__ */ (0, I.jsx)(gEe, {})
})
}) : null,
/* @__PURE__ */ (0, I.jsx)("span", {
@@ -62807,9 +62839,9 @@ function SZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a
]
});
}
-function CZ({ kind: e, items: t, layout: n, props: r }) {
- let i = pZ(e) || e === "series";
- yL();
+function SZ({ kind: e, items: t, layout: n, props: r }) {
+ let i = fZ(e) || e === "series";
+ vL();
let a = n === "big";
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-index-grid": "",
@@ -62817,16 +62849,16 @@ function CZ({ 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 || oEe[e], o = r.personAvatar(t, n, a);
- return /* @__PURE__ */ (0, I.jsx)(SZ, {
+ let n = t.entity_kind || lEe[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: `${uEe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
+ readout: `${pEe(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)(xZ, {
+ children: /* @__PURE__ */ (0, I.jsx)(bZ, {
html: o.html,
face: o.face,
company: i,
@@ -62836,15 +62868,15 @@ function CZ({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function mEe({ items: e, layout: t, props: n }) {
- yL();
+function _Ee({ items: e, layout: t, props: n }) {
+ vL();
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)(SZ, {
+ 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),
@@ -62853,7 +62885,7 @@ function mEe({ 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)(xZ, {
+ children: /* @__PURE__ */ (0, I.jsx)(bZ, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -62862,8 +62894,8 @@ function mEe({ items: e, layout: t, props: n }) {
});
}
// src/board-tooltip.ts
-var wZ = (e) => e.replace(/\s+/g, " ").trim();
-function TZ(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;
@@ -62871,12 +62903,12 @@ function TZ(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 wZ(n);
+ return CZ(n);
}
-function EZ(e) {
+function TZ(e) {
let t = e.getBoundingClientRect();
if (t.width && t.height) {
- if (e.matches("a") && TZ(e) && !DZ(e)) {
+ if (e.matches("a") && wZ(e) && !EZ(e)) {
let t = document.createRange();
t.selectNodeContents(e);
let n = t.getBoundingClientRect();
@@ -62889,7 +62921,7 @@ function EZ(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 DZ(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);
@@ -62900,19 +62932,19 @@ function DZ(e) {
}
return !1;
}
-function hEe() {
+function vEe() {
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 = EZ(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"), (TZ(d) !== wZ(n) || DZ(d)) && (i = setTimeout(() => {
- if (t !== d || !d.isConnected || !EZ(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(" "));
@@ -62937,32 +62969,32 @@ function hEe() {
e.key === "Escape" && !c() && u();
}), document.addEventListener("scroll", (n) => {
if (!t || !us(n, t)) return;
- let r = EZ(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 OZ(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 kZ = /* @__PURE__ */ new WeakSet();
-function gEe() {
- if (kZ.has(document)) return;
- kZ.add(document);
+var OZ = /* @__PURE__ */ new WeakSet();
+function yEe() {
+ if (OZ.has(document)) return;
+ OZ.add(document);
let e = (e) => {
- e.querySelectorAll("input[type=range]").forEach(OZ), vEe(e), _Ee(e);
+ e.querySelectorAll("input[type=range]").forEach(DZ), xEe(e), bEe(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]") && OZ(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" && OZ(e.target);
- }), hEe();
+ e.target instanceof HTMLInputElement && e.target.type === "range" && DZ(e.target);
+ }), vEe();
}
-function _Ee(e) {
+function bEe(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;
@@ -62986,15 +63018,15 @@ function _Ee(e) {
r.observe(e);
});
}
-var AZ = /* @__PURE__ */ new Map();
-function vEe(e) {
+var kZ = /* @__PURE__ */ new Map();
+function xEe(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 = AZ.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 = {
@@ -63003,7 +63035,7 @@ function vEe(e) {
w: i.offsetWidth,
h: i.offsetHeight
};
- Vc(t, r, a, "x"), r = a, AZ.set(n, a);
+ Vc(t, r, a, "x"), r = a, kZ.set(n, a);
};
e.addEventListener("change", i);
let a = new MutationObserver(i);
@@ -63019,8 +63051,8 @@ function vEe(e) {
});
}
// src/react/photo-lightbox/photo-lightbox.ts
-var jZ = "/vendor/swiper/14.4.0/", MZ = null, yEe = () => MZ ??= Promise.all([new Promise((e, t) => {
- let n = `${jZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
+var AZ = "/vendor/swiper/14.4.0/", jZ = null, SEe = () => 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;
@@ -63034,11 +63066,11 @@ var jZ = "/vendor/swiper/14.4.0/", MZ = null, yEe = () => MZ ??= Promise.all([ne
return;
}
let r = document.createElement("script");
- r.src = `${jZ}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 MZ = null, e;
+ throw jZ = null, e;
});
-function bEe(e, t, n) {
+function CEe(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);
@@ -63059,46 +63091,46 @@ function bEe(e, t, n) {
}
};
}
-var NZ = (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") : "大小未知";
-}, xEe = (e) => e.asset?.name || e.name || "未命名图片";
-function SEe(e, t) {
+}, wEe = (e) => e.asset?.name || e.name || "未命名图片";
+function TEe(e, t) {
let n = e.asset;
- if (n) return [tr[n.location ?? ""] || n.location || "来源未知", NZ(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 ? NZ(e.size) : ""
+ e.size ? MZ(e.size) : ""
].filter(Boolean).join(" · ");
}
// src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var PZ = null, FZ = null, CEe = 0;
-function wEe() {
- return FZ && PZ?.isConnected || (FZ?.unmount(), PZ = document.createElement("div"), PZ.className = "peach-react", PZ.dataset.photoLightboxHost = "", document.body.append(PZ), FZ = (0, Rt.createRoot)(PZ)), FZ;
+var NZ = null, PZ = null, EEe = 0;
+function DEe() {
+ 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 IZ(e, t, n) {
+async function FZ(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
- r = await yEe();
+ r = await SEe();
} catch {
window.open(t[e].src, "_blank", "noopener");
return;
}
- let i = wEe();
- (0, Lt.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(TEe, {
+ let i = DEe();
+ (0, Lt.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(OEe, {
slides: t,
index: e,
Swiper: r,
host: n ?? null
- }, ++CEe)));
+ }, ++EEe)));
}
-function LZ() {
- FZ && (0, Lt.flushSync)(() => FZ.render(null));
+function IZ() {
+ PZ && (0, Lt.flushSync)(() => PZ.render(null));
}
-function TEe({ slides: e, index: t, Swiper: n, host: r }) {
+function OEe({ 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: ""
@@ -63141,7 +63173,7 @@ function TEe({ slides: e, index: t, Swiper: n, host: r }) {
v(this.activeIndex), i(this.activeIndex);
} }
});
- i(t, 0), h.current = bEe(e, a, b);
+ i(t, 0), h.current = CEe(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();
};
@@ -63158,13 +63190,13 @@ function TEe({ 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) : LZ());
+ 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 && OZ(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;
@@ -63195,18 +63227,18 @@ function TEe({ slides: e, index: t, Swiper: n, host: r }) {
"data-photo-lightbox": "",
"data-has-strip": i ? "" : void 0,
onCancel: (e) => {
- e.preventDefault(), LZ();
+ e.preventDefault(), IZ();
},
onClick: (e) => {
let t = e.target;
- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && LZ();
+ 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: LZ,
+ onClick: IZ,
dangerouslySetInnerHTML: { __html: R("x") }
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -63342,10 +63374,10 @@ function TEe({ slides: e, index: t, Swiper: n, host: r }) {
id: `${a}-title`,
"data-middle-truncate": "",
tabIndex: -1,
- children: xEe(j)
+ children: wEe(j)
}, _), /* @__PURE__ */ (0, I.jsx)("span", {
"data-photo-detail-meta": "",
- children: SEe(j, x[_])
+ children: TEe(j, x[_])
})]
}),
/* @__PURE__ */ (0, I.jsx)("button", {
@@ -63383,41 +63415,41 @@ function TEe({ slides: e, index: t, Swiper: n, host: r }) {
});
}
// src/react/entity-body/entity-body-page.tsx
-function EEe(e) {
- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, I.jsx)(DEe, {
+function kEe(e) {
+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, I.jsx)(AEe, {
roster: e.roster,
props: e
- }) : e.view === "videos" ? /* @__PURE__ */ (0, I.jsx)(OEe, { ...e }) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, I.jsx)(jEe, {
+ }) : e.view === "videos" ? /* @__PURE__ */ (0, I.jsx)(jEe, { ...e }) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, I.jsx)(PEe, {
photos: e.photos,
props: e
}, e.photos.revision) : null;
}
-var RZ = dZ.people;
-function DEe({ roster: e, props: t }) {
+var LZ = uZ.people;
+function AEe({ 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)(RZ), s = (0, F.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, F.useCallback)(async () => {
- o((e) => e + RZ);
+ }), [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)(CZ, {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(SZ, {
kind: e.kind,
items: s,
layout: e.layout,
props: i
- }), a < e.people.length ? /* @__PURE__ */ (0, I.jsx)(CY, {
+ }), a < e.people.length ? /* @__PURE__ */ (0, I.jsx)(SY, {
entity: !0,
load: c,
enabled: () => !0
}, a) : null] });
}
-function OEe(e) {
+function jEe(e) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-entity-grid": "",
- children: /* @__PURE__ */ (0, I.jsx)(JG, {
+ children: /* @__PURE__ */ (0, I.jsx)(qG, {
pending: !e.items,
skeletonHtml: e.skeletonHtml,
- children: e.items ? /* @__PURE__ */ (0, I.jsx)(xY, {
+ children: e.items ? /* @__PURE__ */ (0, I.jsx)(bY, {
mode: "entity",
entityKey: e.listScope || `${e.kind}:${e.name}`,
revision: e.revision,
@@ -63439,33 +63471,33 @@ function OEe(e) {
})
});
}
-var kEe = (e) => Array.from({ length: e.n }, (t, n) => ({
+var MEe = (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 || "官方样张"
-})), zZ = (e) => e.sample === !0, BZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, VZ = (e) => zZ(e) ? `/sample-thumb?${BZ(e)}` : `/photo-thumb?id=${e.id}`, AEe = (e) => zZ(e) ? {
- src: `/sample-image?${BZ(e)}`,
- thumb: VZ(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}`, NEe = (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: VZ(e),
+ thumb: BZ(e),
name: e.name || "",
asset: e
};
-function jEe({ photos: e, props: t }) {
- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, F.useMemo)(() => [...e.codeSets.flatMap(kEe), ...e.items], [e]), [s, c] = (0, F.useState)(() => /* @__PURE__ */ new Set()), l = (0, F.useCallback)((e) => c((t) => {
+function PEe({ photos: e, props: t }) {
+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, F.useMemo)(() => [...e.codeSets.flatMap(MEe), ...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) => {
- IZ(e, o.map(AEe), { revealSource: i.revealSource });
- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, I.jsx)(MEe, {
+ FZ(e, o.map(NEe), { revealSource: i.revealSource });
+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, I.jsx)(FEe, {
item: e,
index: t,
lost: s.has(t),
@@ -63483,7 +63515,7 @@ function jEe({ 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)(HZ, {
+ 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: [
@@ -63495,7 +63527,7 @@ function jEe({ 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)(HZ, {
+ m.length && e.total ? /* @__PURE__ */ (0, I.jsx)(VZ, {
label: "本地图片",
meta: `${e.total.toLocaleString()} 张`
}) : null,
@@ -63504,14 +63536,14 @@ function jEe({ photos: e, props: t }) {
"data-local-wall": "",
children: e.items.map((e, t) => s.has(h + t) ? null : d(e, h + t))
}),
- e.hasMore ? /* @__PURE__ */ (0, I.jsx)(CY, {
+ e.hasMore ? /* @__PURE__ */ (0, I.jsx)(SY, {
entity: !0,
load: i.loadMorePhotos,
enabled: () => a?.() !== !1
}, e.items.length) : null
] });
}
-function HZ({ label: e, title: t, meta: n }) {
+function VZ({ label: e, title: t, meta: n }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-photo-group": "",
children: [
@@ -63528,7 +63560,7 @@ function HZ({ label: e, title: t, meta: n }) {
]
});
}
-function MEe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
+function FEe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
let a = e.name ?? "";
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -63537,7 +63569,7 @@ function MEe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
title: a,
onClick: () => i(t),
children: n ? null : /* @__PURE__ */ (0, I.jsx)("img", {
- src: VZ(e),
+ src: BZ(e),
alt: a,
loading: "lazy",
decoding: "async",
@@ -63547,9 +63579,9 @@ function MEe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
});
}
// src/react/background-job.ts
-var NEe = 2e3, PEe = (e) => e, FEe = (e, t) => t;
-function UZ(e) {
- let { queryKey: t, jobOf: n = PEe, withJob: r = FEe, idlePollMs: i } = e, [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(null), l = (0, F.useRef)(e);
+var IEe = 2e3, LEe = (e) => e, REe = (e, t) => t;
+function HZ(e) {
+ let { queryKey: t, jobOf: n = LEe, withJob: r = REe, 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;
});
@@ -63558,7 +63590,7 @@ function UZ(e) {
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? NEe : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? IEe : i ?? !1;
}
}), d = Ft({
mutationFn: (e) => l.current.start(e),
@@ -63582,13 +63614,13 @@ function UZ(e) {
};
}
// src/react/follow-feed/follow-check.ts
-var WZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);
-function IEe(e, t) {
- return t ? WZ(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 zEe(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 LEe({ sources: e, report: t }) {
- let n = WZ(e), [r, i] = (0, F.useState)(""), { running: a, start: o } = UZ({
+function BEe({ 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),
@@ -63602,20 +63634,20 @@ function LEe({ sources: e, report: t }) {
children: [/* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
disabled: !n.length,
- ...kV(s),
+ ...OV(s),
onClick: () => {
n.length && !s && (i(""), o.mutate(n));
},
children: "检查更新"
- }), r ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ }), r ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
children: r
}) : null]
});
}
// src/react/follow-feed/follow-card.tsx
-var REe = (e) => Number(e) > 0;
-function GZ({ name: e, actions: t, children: n, ...r }) {
+var VEe = (e) => Number(e) > 0;
+function WZ({ name: e, actions: t, children: n, ...r }) {
return /* @__PURE__ */ (0, I.jsx)("a", {
...r,
href: Nn("creator", e),
@@ -63625,15 +63657,15 @@ function GZ({ name: e, actions: t, children: n, ...r }) {
children: n
});
}
-var KZ = ({ provider: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var GZ = ({ provider: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-nothumb": "",
- dangerouslySetInnerHTML: { __html: CG(e) }
+ dangerouslySetInnerHTML: { __html: SG(e) }
});
-function zEe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {
+function HEe({ 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)(KZ, { 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",
@@ -63652,8 +63684,8 @@ function zEe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a
} : void 0
});
}
-function BEe(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) => Eye(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 UEe(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) => Dye(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,
@@ -63661,7 +63693,7 @@ function BEe(e) {
limit: 9
}), S = (0, F.useRef)(x.faces);
S.current = x.faces;
- let C = yK({
+ let C = vK({
load: async () => S.current,
canFlip: () => S.current.length > 1 && l.canFlip(),
referrerPolicy: "no-referrer"
@@ -63669,7 +63701,7 @@ function BEe(e) {
w.current = C.onPointerLeave;
let T = (0, F.useCallback)((e) => {
e && (e._stopHover = () => w.current());
- }, []), E = OG(u, n, i), D = wG(u), O = u.resource_provider || u.provider, k = (u.tags || []).slice(0, 3), A = jG(u, i), j = AG(t, u), M = u.status === "saved", ee = (e) => {
+ }, []), E = DG(u, n, i), D = CG(u), O = u.resource_provider || u.provider, k = (u.tags || []).slice(0, 3), A = AG(u, i), j = kG(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();
@@ -63684,7 +63716,7 @@ function BEe(e) {
"data-collection": x.isMix ? "" : void 0,
"data-selected": a ? "" : void 0,
onClick: ee,
- onMouseDown: lK,
+ onMouseDown: cK,
onMouseEnter: C.onPointerEnter,
onMouseLeave: C.onPointerLeave,
children: [
@@ -63698,7 +63730,7 @@ function BEe(e) {
}), /* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-pic": "",
children: [
- p ? /* @__PURE__ */ (0, I.jsx)(zEe, {
+ p ? /* @__PURE__ */ (0, I.jsx)(HEe, {
src: p,
fallback: m,
width: _?.width,
@@ -63706,7 +63738,7 @@ function BEe(e) {
provider: O,
onLearn: v,
retryKey: e.retryKey
- }, p) : /* @__PURE__ */ (0, I.jsx)(KZ, { 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,
@@ -63726,7 +63758,7 @@ function BEe(e) {
"data-media-badge": "",
title: u.provider_label || u.provider,
"aria-label": `来源:${u.provider_label || u.provider}`,
- dangerouslySetInnerHTML: { __html: CG(u.provider, u.provider_label) }
+ dangerouslySetInnerHTML: { __html: SG(u.provider, u.provider_label) }
}), j ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: j }
@@ -63739,7 +63771,7 @@ function BEe(e) {
},
dangerouslySetInnerHTML: { __html: R("check") }
}) : null,
- REe(u.duration) ? /* @__PURE__ */ (0, I.jsx)("span", {
+ VEe(u.duration) ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-duration": "",
children: qn(u.duration)
}) : null,
@@ -63811,7 +63843,7 @@ function BEe(e) {
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-meta": "",
children: [
- E.entityName ? /* @__PURE__ */ (0, I.jsx)(GZ, {
+ E.entityName ? /* @__PURE__ */ (0, I.jsx)(WZ, {
name: E.entityName,
actions: l,
"data-media-avatar": "",
@@ -63830,12 +63862,12 @@ function BEe(e) {
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-media-title": "",
- dangerouslySetInnerHTML: { __html: kG(t, u) + z(D) }
+ dangerouslySetInnerHTML: { __html: OG(t, u) + z(D) }
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-follow-byline": "",
children: [
- E.entityName ? /* @__PURE__ */ (0, I.jsx)(GZ, {
+ E.entityName ? /* @__PURE__ */ (0, I.jsx)(WZ, {
name: E.entityName,
actions: l,
"data-follow-author": "",
@@ -63848,8 +63880,8 @@ function BEe(e) {
}),
/* @__PURE__ */ (0, I.jsx)("time", {
dateTime: u.published_at || "",
- title: NG(u),
- children: Tye(u)
+ title: MG(u),
+ children: Eye(u)
}),
E.credited ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-credit": "",
@@ -63884,9 +63916,9 @@ function BEe(e) {
]
});
}
-var qZ = (0, F.memo)(BEe);
+var KZ = (0, F.memo)(UEe);
// src/react/components/use-masonry-grid.ts
-function VEe(e, t) {
+function WEe(e, t) {
let n = (0, F.useRef)(null);
return (0, F.useLayoutEffect)(() => {
let t = n.current;
@@ -63921,37 +63953,37 @@ function VEe(e, t) {
}, [e, t]), n;
}
// src/react/follow-manage/manage-route.ts
-var JZ = [
+var qZ = [
["list", "关注列表"],
["add", "添加关注"],
["tags", "标签管理"]
-], YZ = JZ.map(([e]) => e);
-function XZ(e) {
+], JZ = qZ.map(([e]) => e);
+function YZ(e) {
let t = new URLSearchParams(e), n = t.get("tab");
return {
- tab: YZ.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 ZZ(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 QZ(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" : ZZ({
- tab: t || XZ(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 $Z = () => /* @__PURE__ */ (0, I.jsx)("span", {
+var QZ = () => /* @__PURE__ */ (0, I.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), HEe = DV("settings"), eQ = DV("chevron-down"), UEe = DV("history"), WEe = DV("arrow-up"), GEe = DV("arrow-down"), KEe = [[
+}), GEe = EV("settings"), $Z = EV("chevron-down"), KEe = EV("history"), qEe = EV("arrow-up"), JEe = EV("arrow-down"), YEe = [[
"fixed",
"固定比例",
"layout-grid"
@@ -63960,7 +63992,7 @@ var $Z = () => /* @__PURE__ */ (0, I.jsx)("span", {
"瀑布流",
"columns-2"
]];
-function qEe(e, t, n) {
+function XEe(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) => {
@@ -64008,7 +64040,7 @@ function qEe(e, t, n) {
n
]);
}
-function JEe(e) {
+function ZEe(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)
@@ -64016,7 +64048,7 @@ function JEe(e) {
sources: s?.sources || [],
aliases: s?.author_aliases || [],
credentials: c
- }), [s, c]), u = qEe(s, t, n), d = a.isPending || a.isPlaceholderData, f = !d && !!s;
+ }), [s, c]), u = XEe(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 });
}, [
@@ -64050,10 +64082,10 @@ function JEe(e) {
p,
i
]);
- let m = XEe(e, !!s);
+ let m = $Ee(e, !!s);
if (!s) return a.isError ? /* @__PURE__ */ (0, I.jsxs)("div", {
"data-follow-feed": "",
- children: [/* @__PURE__ */ (0, I.jsx)(tQ, {}), /* @__PURE__ */ (0, I.jsx)(qG, {
+ children: [/* @__PURE__ */ (0, I.jsx)(eQ, {}), /* @__PURE__ */ (0, I.jsx)(KG, {
message: bn(a.error),
onRetry: () => void a.refetch()
})]
@@ -64066,7 +64098,7 @@ function JEe(e) {
author: u.author,
provider: u.provider
}, {
- authors: new Map([...u.authorSources].map(([e, t]) => [e, TG(t, l)])),
+ authors: new Map([...u.authorSources].map(([e, t]) => [e, wG(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);
@@ -64075,7 +64107,7 @@ function JEe(e) {
ref: m.host,
"data-follow-progress": ""
}, m.generation),
- !m.busy && m.report ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ !m.busy && m.report ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "neutral",
title: "检查结果",
children: m.report
@@ -64084,7 +64116,7 @@ function JEe(e) {
"data-follow-feed": "",
"data-select-mode": e.selectMode ? "" : void 0,
children: [
- /* @__PURE__ */ (0, I.jsx)(tQ, { 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": "检查每个来源的更新",
@@ -64095,20 +64127,20 @@ function JEe(e) {
dangerouslySetInnerHTML: { __html: zs("检查中") }
}) : "检查更新"
}) : null }),
- /* @__PURE__ */ (0, I.jsx)(ZEe, {
+ /* @__PURE__ */ (0, I.jsx)(eDe, {
facets: u,
pressed: u.author,
context: l,
props: e,
onPick: (e) => h({ author: u.author === e ? "" : e })
}),
- /* @__PURE__ */ (0, I.jsx)(QEe, {
+ /* @__PURE__ */ (0, I.jsx)(tDe, {
rows: u.workRows,
pressed: t.work,
props: e,
onPick: (e) => h({ work: t.work === e ? "" : e })
}),
- /* @__PURE__ */ (0, I.jsx)($Ee, {
+ /* @__PURE__ */ (0, I.jsx)(nDe, {
facets: u,
view: t,
total: _,
@@ -64116,7 +64148,7 @@ function JEe(e) {
props: e,
route: h
}),
- /* @__PURE__ */ (0, I.jsx)(eDe, {
+ /* @__PURE__ */ (0, I.jsx)(rDe, {
conditions: g,
onDrop: (e) => i.route(Ta(t, e)),
onClear: () => h({
@@ -64128,8 +64160,8 @@ function JEe(e) {
durMax: 0
})
}),
- u.broken.length ? /* @__PURE__ */ (0, I.jsx)(tDe, { count: u.broken.length }) : null,
- /* @__PURE__ */ (0, I.jsx)(nDe, {
+ u.broken.length ? /* @__PURE__ */ (0, I.jsx)(iDe, { count: u.broken.length }) : null,
+ /* @__PURE__ */ (0, I.jsx)(aDe, {
retryKey: a.dataUpdatedAt,
pending: d,
facets: u,
@@ -64152,14 +64184,14 @@ function JEe(e) {
"data-follow-pagination": "",
children: [s.has_more ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-page-action": "",
- children: s.groups.length < 500 ? /* @__PURE__ */ (0, I.jsxs)(CY, {
+ children: s.groups.length < 500 ? /* @__PURE__ */ (0, I.jsxs)(SY, {
entity: !0,
enabled: () => !m.busyRef.current,
load: async () => {
await a.fetchNextPage({ throwOnError: !0 });
},
- children: [/* @__PURE__ */ (0, I.jsx)(eQ, { className: "size-(--icon-inline)" }), "加载更多"]
- }, a.data?.pages.length) : /* @__PURE__ */ (0, I.jsx)(YEe, {
+ children: [/* @__PURE__ */ (0, I.jsx)($Z, { className: "size-(--icon-inline)" }), "加载更多"]
+ }, a.data?.pages.length) : /* @__PURE__ */ (0, I.jsx)(QEe, {
busy: a.isFetchingNextPage,
error: a.isFetchNextPageError ? bn(a.error) : "",
load: () => {
@@ -64170,7 +64202,7 @@ function JEe(e) {
"data-follow-page-action": "",
children: [/* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
- leadingIcon: m.olderBusy ? void 0 : UEe,
+ leadingIcon: m.olderBusy ? void 0 : KEe,
"data-follow-older": "",
"aria-busy": m.busy || void 0,
onClick: () => void m.start(!0),
@@ -64188,7 +64220,7 @@ function JEe(e) {
})
] });
}
-function tQ({ children: e }) {
+function eQ({ children: e }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-follow-head": "",
children: [/* @__PURE__ */ (0, I.jsx)("h2", {
@@ -64196,30 +64228,30 @@ function tQ({ children: e }) {
children: "关注"
}), /* @__PURE__ */ (0, I.jsxs)("span", {
"data-follow-head-actions": "",
- children: [/* @__PURE__ */ (0, I.jsx)(PL, {
+ children: [/* @__PURE__ */ (0, I.jsx)(NL, {
variant: "secondary",
- leadingIcon: HEe,
+ leadingIcon: GEe,
"data-follow-manage": "",
- href: nQ(),
+ href: tQ(),
children: "管理关注"
}), e]
})]
});
}
-function YEe({ busy: e, error: t, load: n }) {
+function QEe({ 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)(eQ, { className: "size-(--icon-inline)" }), "加载更多"]
- }), t ? /* @__PURE__ */ (0, I.jsx)(qG, {
+ children: [/* @__PURE__ */ (0, I.jsx)($Z, { className: "size-(--icon-inline)" }), "加载更多"]
+ }), t ? /* @__PURE__ */ (0, I.jsx)(KG, {
message: t,
onRetry: n
}) : null] });
}
-function XEe(e, t) {
+function $Ee(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
@@ -64281,12 +64313,12 @@ function XEe(e, t) {
olderBusy: c === "older" || f && o
};
}
-function ZEe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
+function eDe({ 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) => TG(e.authorSources.get(t) || [], n);
+ let o = (t) => wG(e.authorSources.get(t) || [], n);
return e.authorOrder.length ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-authors-bar": "",
children: /* @__PURE__ */ (0, I.jsx)("div", {
@@ -64294,14 +64326,14 @@ function ZEe({ 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 = EG(a), c = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
+ let a = e.authorSources.get(n) || [], s = TG(a), c = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-ring": "",
- dangerouslySetInnerHTML: { __html: DG(a, o(n)) }
+ dangerouslySetInnerHTML: { __html: EG(a, o(n)) }
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-name": "",
children: o(n)
})] });
- return s ? /* @__PURE__ */ (0, I.jsx)(GZ, {
+ return s ? /* @__PURE__ */ (0, I.jsx)(WZ, {
name: s,
actions: r.actions,
"data-follow-author": n,
@@ -64318,7 +64350,7 @@ function ZEe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
})
}) : null;
}
-function QEe({ rows: e, pressed: t, props: n, onPick: r }) {
+function tDe({ rows: e, pressed: t, props: n, onPick: r }) {
let i = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
n.helpers.wireDrag(i.current);
@@ -64339,13 +64371,13 @@ function QEe({ rows: e, pressed: t, props: n, onPick: r }) {
}, e[0]))
}) : null;
}
-function $Ee({ 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 = ML(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = ML(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
+function nDe({ 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}`);
(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)(DL, {
+ return /* @__PURE__ */ (0, I.jsx)(EL, {
label: "筛选与排序",
topLabel: m ? "媒体与关注筛选" : "关注筛选",
attrs: {
@@ -64397,7 +64429,7 @@ function $Ee({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: R(i) }
}, e);
})
- }), /* @__PURE__ */ (0, I.jsx)($Z, {})] }) : 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", {
@@ -64417,7 +64449,7 @@ function $Ee({ 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)($Z, {}) : null]
+ }, e)), v ? /* @__PURE__ */ (0, I.jsx)(QZ, {}) : null]
}), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: p,
"data-entity-tags": "",
@@ -64430,10 +64462,10 @@ function $Ee({ 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: CG(t, n) }
+ dangerouslySetInnerHTML: { __html: SG(t, n) }
}, t)),
- _.length && e.tagRows.length ? /* @__PURE__ */ (0, I.jsx)($Z, {}) : null,
- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, I.jsxs)(OL, {
+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, I.jsx)(QZ, {}) : null,
+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, I.jsxs)(DL, {
"data-follow-tag": n,
"data-entity-press": "",
"data-tag-cat": `r34-${Ea(e.groups, n)}`,
@@ -64451,23 +64483,23 @@ function $Ee({ 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)(bL, {
+ children: /* @__PURE__ */ (0, I.jsx)(yL, {
text: `${n.toLocaleString()} 项更新 · 显示 ${e.visible.length.toLocaleString()}`,
busy: r
})
}),
- /* @__PURE__ */ (0, I.jsx)(HV, {
+ /* @__PURE__ */ (0, I.jsx)(VV, {
currentHref: () => location.pathname + location.search,
kind: "creator"
}),
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(VG, { onPress: s.shuffle }),
- y ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(BG, {
+ /* @__PURE__ */ (0, I.jsx)(BG, { onPress: s.shuffle }),
+ y ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(zG, {
label: "图片布局",
value: i.photoLayout,
- options: KEe,
+ options: YEe,
onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")
}), /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
@@ -64497,9 +64529,9 @@ function $Ee({ 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)(vG, {
- a: WEe,
- b: GEe,
+ children: [n, r ? /* @__PURE__ */ (0, I.jsx)(_G, {
+ a: qEe,
+ b: JEe,
state: t.dir === "asc" ? "a" : "b",
className: "size-(--icon-inline)"
}) : null]
@@ -64510,7 +64542,7 @@ function $Ee({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
] })
});
}
-function eDe({ conditions: e, onDrop: t, onClear: n }) {
+function rDe({ conditions: e, onDrop: t, onClear: n }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-entity-combo": "",
"data-follow-combo": "",
@@ -64535,21 +64567,21 @@ function eDe({ conditions: e, onDrop: t, onClear: n }) {
})] }) : null
});
}
-function tDe({ count: e }) {
+function iDe({ 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(nQ())}" 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 nQ = () => QZ(window.location.search);
-function nDe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {
+var tQ = () => ZZ(window.location.search);
+function aDe({ 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)(JG, {
+ children: /* @__PURE__ */ (0, I.jsx)(qG, {
pending: e,
skeletonHtml: () => c.listSkeletonHtml(s.media),
- children: e ? null : /* @__PURE__ */ (0, I.jsx)(rDe, {
+ children: e ? null : /* @__PURE__ */ (0, I.jsx)(oDe, {
facets: t,
data: n,
context: r,
@@ -64561,29 +64593,29 @@ function nDe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a
})
});
}
-function rDe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {
- let { view: s, actions: c } = r, l = iQ(r), u = i ? {
+function oDe({ 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 = VEe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;
+ } : {}, d = WEe(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)(qZ, {
+ return /* @__PURE__ */ (0, I.jsx)(KZ, {
group: t,
authorSources: o,
media: s.media,
retryKey: a,
context: n,
- selected: r.selected.has(rQ(t, s)),
+ selected: r.selected.has(nQ(t, s)),
selectMode: r.selectMode,
- busy: l.busy.get(rQ(t, s)) || "",
- failure: l.failures.get(rQ(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)(iDe, {
+ }) : /* @__PURE__ */ (0, I.jsx)(sDe, {
data: t,
filtered: !!(s.status || e.author || e.provider || s.work || s.tags.length || s.durMin || s.durMax),
checkAction: o,
@@ -64606,22 +64638,22 @@ function rDe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,
children: f
});
}
-function rQ(e, t) {
+function nQ(e, t) {
return ha(e, t.media).id;
}
-function iDe({ data: e, filtered: t, clear: n, checkAction: r }) {
+function sDe({ 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": "",
className: "contents",
- children: /* @__PURE__ */ (0, I.jsx)(TV, {
- icon: DV(i ? "search-x" : "rss"),
+ children: /* @__PURE__ */ (0, I.jsx)(wV, {
+ icon: EV(i ? "search-x" : "rss"),
title: i ? "当前筛选下没有更新" : a ? "还没有更新" : "还没有关注任何来源",
actions: i ? /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
onClick: n,
children: "清除筛选"
- }) : a ? r : /* @__PURE__ */ (0, I.jsx)(PL, {
+ }) : a ? r : /* @__PURE__ */ (0, I.jsx)(NL, {
size: "small",
href: "/subscriptions?tab=add",
children: "添加关注"
@@ -64630,12 +64662,12 @@ function iDe({ data: e, filtered: t, clear: n, checkAction: r }) {
})
});
}
-var aDe = {
+var cDe = {
new: "已恢复未看",
seen: "已标记已看",
ignored: "已忽略"
};
-function iQ(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;
@@ -64658,7 +64690,7 @@ function iQ(e) {
to: t
}),
onSuccess: (e, { id: t, to: n, was: i }) => {
- u(t, n), d(), r.toast(aDe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
+ u(t, n), d(), r.toast(cDe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
await V(jr, {
item: t,
to: i
@@ -64703,9 +64735,9 @@ function iQ(e) {
};
}
// src/react/entity-body/entity-online.tsx
-function oDe(e) {
+function lDe(e) {
let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData;
- return !n && t.isError ? /* @__PURE__ */ (0, I.jsx)(qG, {
+ return !n && t.isError ? /* @__PURE__ */ (0, I.jsx)(KG, {
message: bn(t.error),
onRetry: () => {
t.refetch();
@@ -64713,13 +64745,13 @@ function oDe(e) {
}) : /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-list-body": "",
"data-entity-online": "",
- children: /* @__PURE__ */ (0, I.jsxs)(JG, {
+ children: /* @__PURE__ */ (0, I.jsxs)(qG, {
pending: a,
skeletonHtml: () => i.listSkeletonHtml(r),
- children: [a || !n ? null : /* @__PURE__ */ (0, I.jsx)(sDe, {
+ children: [a || !n ? null : /* @__PURE__ */ (0, I.jsx)(uDe, {
...e,
data: n
- }), !a && n?.has_more ? /* @__PURE__ */ (0, I.jsx)(CY, {
+ }), !a && n?.has_more ? /* @__PURE__ */ (0, I.jsx)(SY, {
entity: !0,
enabled: () => e.canLoadMore?.() !== !1,
load: async () => {
@@ -64729,8 +64761,8 @@ function oDe(e) {
})
});
}
-function sDe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {
- let u = iQ({
+function uDe({ 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
@@ -64748,7 +64780,7 @@ function sDe({ 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)(qZ, {
+ return /* @__PURE__ */ (0, I.jsx)(KZ, {
group: e,
authorSources: r && d.byAuthor.get(r) || [],
media: t,
@@ -64761,11 +64793,11 @@ function sDe({ 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)(cDe, {
+ }) : /* @__PURE__ */ (0, I.jsx)(dDe, {
searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length || e.durMin || e.durMax),
clear: l,
actions: c,
- sources: IEe(n.sources || [], e.author)
+ sources: zEe(n.sources || [], e.author)
});
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-list": "",
@@ -64774,21 +64806,21 @@ function sDe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
children: m
});
}
-function cDe({ searched: e, clear: t, actions: n, sources: r }) {
+function dDe({ searched: e, clear: t, actions: n, sources: r }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-empty": "",
className: "contents",
- children: /* @__PURE__ */ (0, I.jsx)(TV, {
- icon: DV(e ? "search-x" : "rss"),
+ children: /* @__PURE__ */ (0, I.jsx)(wV, {
+ icon: EV(e ? "search-x" : "rss"),
title: e ? "当前筛选下没有更新" : "还没有抓到更新",
actions: e ? /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
onClick: t,
children: "清除筛选"
- }) : r.length ? /* @__PURE__ */ (0, I.jsx)(LEe, {
+ }) : r.length ? /* @__PURE__ */ (0, I.jsx)(BEe, {
sources: r,
report: n.checkReport
- }) : /* @__PURE__ */ (0, I.jsx)(PL, {
+ }) : /* @__PURE__ */ (0, I.jsx)(NL, {
size: "small",
href: "/subscriptions?tab=add",
children: "添加关注"
@@ -64797,7 +64829,7 @@ function cDe({ searched: e, clear: t, actions: n, sources: r }) {
})
});
}
-function aQ(e) {
+function iQ(e) {
return {
x0: 0,
y0: 0,
@@ -64805,7 +64837,7 @@ function aQ(e) {
y1: e.height
};
}
-function oQ(e) {
+function aQ(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -64813,40 +64845,40 @@ function oQ(e) {
y1: Math.round(e.y1)
};
}
-function sQ(e) {
+function oQ(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function cQ(e, t) {
- if (!sQ(e)) return {
+function sQ(e, t) {
+ if (!oQ(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return aQ(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 oQ({
+ return aQ({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function lDe(e, t) {
- if (!sQ(e) || !(t > 0)) return aQ(e);
+function fDe(e, t) {
+ if (!oQ(e) || !(t > 0)) return iQ(e);
let n = Math.min(e.width, e.height * t);
- return oQ({
+ return aQ({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function uDe(e, t, n) {
- if (!sQ(t) || !(n > 0)) return aQ(t);
- let r = lQ(e, t), i = cQ({
+function pDe(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);
@@ -64857,8 +64889,8 @@ function uDe(e, t, n) {
y1: r.y0 + i.y1
};
}
-function lQ(e, t, n = null, r = "width") {
- if (!sQ(t)) return {
+function cQ(e, t, n = null, r = "width") {
+ if (!oQ(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -64867,43 +64899,43 @@ function lQ(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 oQ({
+ return aQ({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function uQ(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 oQ({
+ return aQ({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function dQ(e, t, n, r = null) {
- if (!sQ(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 lQ({
+ return cQ({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function dDe(e, t, n, r, i = null) {
+function mDe(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 lQ(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 fDe(e, t) {
- return sQ(t) ? {
+function hDe(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,
@@ -64915,8 +64947,8 @@ function fDe(e, t) {
height: 0
};
}
-function pDe(e, t) {
- if (!sQ(t)) return {
+function gDe(e, t) {
+ if (!oQ(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -64926,7 +64958,7 @@ function pDe(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function mDe(e, t) {
+function _De(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}%`,
@@ -64935,15 +64967,15 @@ function mDe(e, t) {
height: `${t.height / r * 100}%`
};
}
-function fQ(e, t, n) {
+function dQ(e, t, n) {
return t > 0 ? e * n / t : 0;
}
-function hDe(e, t) {
+function vDe(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 gDe = .02, pQ = 1.08;
-function mQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var yDe = .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);
@@ -64962,8 +64994,8 @@ function mQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: fQ(e, n.clientWidth, r.width),
- dy: fQ(t, n.clientHeight, r.height)
+ dx: dQ(e, n.clientWidth, r.width),
+ dy: dQ(t, n.clientHeight, r.height)
};
}, [r]);
function m(e) {
@@ -64980,22 +65012,22 @@ function mQ({ 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(uQ(n.box, o.dx, o.dy, r)) : i(dDe(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(mDe(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) * gDe), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * yDe), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
- o[e.key] ? (e.preventDefault(), i(uQ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(dQ(n, e.key === "-" ? 1 / pQ : pQ, 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 ? fDe(lQ(n, r, t), r) : null, y = v ? hDe(v, d) : !1, b = v ? {
+ let v = n && r ? hDe(cQ(n, r, t), r) : null, y = v ? vDe(v, d) : !1, b = v ? {
"--crop-l": `${v.left}%`,
"--crop-t": `${v.top}%`,
"--crop-w": `${v.width}%`,
@@ -65014,7 +65046,7 @@ function mQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- sQ({
+ oQ({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -65053,7 +65085,7 @@ function mQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: g,
onKeyDown: _,
onWheel: (e) => {
- n && r && i(dQ(n, e.deltaY > 0 ? pQ : 1 / pQ, 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", {
@@ -65075,13 +65107,13 @@ function mQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
});
}
// src/react/avatar-picker/avatar-picker.ts
-var _De = "/api/avatar-choices", hQ = "/api/avatar-pick", vDe = "/api/avatar-code-cover", gQ = "/api/avatar-frame", yDe = "/avatar-choice", _Q = (e, t) => [
+var bDe = "/api/avatar-choices", mQ = "/api/avatar-pick", xDe = "/api/avatar-code-cover", hQ = "/api/avatar-frame", SDe = "/avatar-choice", gQ = (e, t) => [
"avatar-choices",
e,
t
-], vQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, yQ = (e, t, n, r = "") => `${yDe}${vQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), bQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", bDe = (e, t, n) => B(_De + vQ(e, t), n), xDe = (e) => V(vDe, { code: e });
-async function SDe(e, t, n) {
- let r = await V(gQ, {
+], _Q = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, vQ = (e, t, n, r = "") => `${SDe}${_Q(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), yQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", CDe = (e, t, n) => B(bDe + _Q(e, t), n), wDe = (e) => V(xDe, { code: e });
+async function TDe(e, t, n) {
+ let r = await V(hQ, {
kind: e,
id: t,
ref: n.ref
@@ -65094,12 +65126,12 @@ async function SDe(e, t, n) {
bases: r.bases
};
}
-var CDe = (e, t, n) => V(gQ, {
+var EDe = (e, t, n) => V(hQ, {
kind: e,
id: t,
url: n
-}), wDe = (e, t, n) => xQ(`${gQ}${vQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);
-async function xQ(e, t) {
+}), DDe = (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",
@@ -65108,17 +65140,17 @@ async function xQ(e, t) {
if (n.ok) return r;
throw new or(r?.error || `请求失败(${n.status})`, n.status, r);
}
-function SQ(e, t, n) {
+function xQ(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? uDe(e.focus, t, n) : cQ(t, n);
+ return e.focus && r ? pDe(e.focus, t, n) : sQ(t, n);
}
-var TDe = (e) => e.crop && sQ({
+var ODe = (e) => e.crop && oQ({
width: e.width,
height: e.height
});
-async function EDe(e, t, n) {
+async function kDe(e, t, n) {
if (!("file" in n)) {
- await V(hQ, {
+ await V(mQ, {
kind: e,
id: t,
...n
@@ -65131,19 +65163,19 @@ async function EDe(e, t, n) {
i.x1,
i.y1
].join(",")}` : "";
- await xQ(`${hQ}${vQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
+ await bQ(`${mQ}${_Q(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
}
-var CQ = 2;
-function DDe(e, t) {
+var SQ = 2;
+function ADe(e, t) {
if (!t) return e;
let n = t.matched_names.filter((t) => t !== e);
- return n.length ? `${e}:图库里按${`「${n.slice(0, CQ).join("」「")}」`}${n.length > CQ ? `等 ${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 ODe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function kDe(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 ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${ODe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var jDe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function MDe(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 ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${jDe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var wQ = (e) => e.cast > 1, ADe = (e) => wQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, jDe = {
+var CQ = (e) => e.cast > 1, NDe = (e) => CQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, PDe = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
@@ -65153,7 +65185,7 @@ var wQ = (e) => e.cast > 1, ADe = (e) => wQ(e) ? `${e.label}:${e.cast.toLocale
social: "社媒头像",
online: "在线作品"
};
-function MDe(e) {
+function FDe(e) {
if (e.startsWith("follow:")) {
let t = e.split(":")[2];
return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;
@@ -65164,19 +65196,19 @@ function MDe(e) {
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var NDe = (e) => `${jDe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (wQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), PDe = 8, FDe = 3 / 4;
-async function IDe(e, t, n) {
+var IDe = (e) => `${PDe[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}` : ""), LDe = 8, RDe = 3 / 4;
+async function zDe(e, t, n) {
switch (n.via) {
- case "choice": return { choice: await SDe(e, t, n.choice) };
- case "code": return { choice: await xDe(n.code) };
- case "url": return { choice: await CDe(e, t, n.url) };
+ case "choice": return { choice: await TDe(e, t, n.choice) };
+ case "code": return { choice: await wDe(n.code) };
+ case "url": return { choice: await EDe(e, t, n.url) };
case "file": return {
- choice: await wDe(e, t, n.file),
+ choice: await DDe(e, t, n.file),
file: n.file
};
}
}
-function LDe({ kind: e, entityId: t, name: n, onPicked: r }) {
+function BDe({ 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",
@@ -65186,17 +65218,17 @@ function LDe({ 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)(Ohe, {
+ children: /* @__PURE__ */ (0, I.jsx)(khe, {
"aria-hidden": !0,
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, I.jsx)(SV, {
+ }), /* @__PURE__ */ (0, I.jsx)(xV, {
isOpen: i,
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, I.jsx)(RDe, {
+ children: /* @__PURE__ */ (0, I.jsx)(VDe, {
kind: e,
entityId: t,
name: n,
@@ -65205,24 +65237,24 @@ function LDe({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function RDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, F.useRef)(null), o = eH(), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(null), p = _Q(e, t), m = (0, F.useRef)(!1), h = Pt({
+function VDe({ 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 }) => bDe(e, t, n),
+ queryFn: ({ signal: n }) => CDe(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: _Q(e, t) });
+ m.current && H.removeQueries({ queryKey: gQ(e, t) });
}, [e, t]);
let g = Ft({
- mutationFn: (n) => EDe(e, t, n),
+ mutationFn: (n) => kDe(e, t, n),
onSuccess: () => {
m.current = !0, i(), r();
}
}), _ = Ft({
- mutationFn: (n) => IDe(e, t, n),
+ mutationFn: (n) => zDe(e, t, n),
onMutate: () => {
g.reset();
},
@@ -65243,39 +65275,39 @@ function RDe({ 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 ? "" : kDe(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 ? "" : MDe(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: [
- /* @__PURE__ */ (0, I.jsx)(CV, { children: /* @__PURE__ */ (0, I.jsx)(fV, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, I.jsx)(SV, { children: /* @__PURE__ */ (0, I.jsx)(dV, { className: "size-6" }) }),
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(nR, {
+ children: [/* @__PURE__ */ (0, I.jsx)(tR, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: d ? "框出头像那一块" : "更换头像"
- }), !d && S.length ? /* @__PURE__ */ (0, I.jsxs)(oW, {
+ }), !d && S.length ? /* @__PURE__ */ (0, I.jsxs)(aW, {
color: "soft",
children: [S.length.toLocaleString(), " 张可选"]
}) : null]
}),
/* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: d ? ADe(d.choice) : DDe(n, x)
+ children: d ? NDe(d.choice) : ADe(n, x)
}),
- T ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ T ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "neutral",
children: T
}) : null,
- C ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ C ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
action: E ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- ...kV(h.isFetching),
+ ...OV(h.isFetching),
onClick: () => {
h.isFetching || h.refetch();
},
@@ -65285,14 +65317,14 @@ function RDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, I.jsx)(SL, {
- icon: zB,
+ /* @__PURE__ */ (0, I.jsx)(xL, {
+ icon: RB,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), d ? /* @__PURE__ */ (0, I.jsx)(BDe, {
+ }), d ? /* @__PURE__ */ (0, I.jsx)(UDe, {
kind: e,
entityId: t,
choice: d.choice,
@@ -65312,7 +65344,7 @@ function RDe({ 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: PDe }, (e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: h.isPending ? Array.from({ length: LDe }, (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",
@@ -65325,8 +65357,8 @@ function RDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: NDe(n),
- ...kV(w),
+ title: IDe(n),
+ ...OV(w),
onClick: () => {
w || (n.crop ? (g.reset(), _.reset(), f({ choice: n })) : _.mutate({
via: "choice",
@@ -65335,8 +65367,8 @@ function RDe({ 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)(zDe, {
- src: yQ(e, t, n.ref, bQ(n, n.ref)),
+ /* @__PURE__ */ (0, I.jsx)(HDe, {
+ src: vQ(e, t, n.ref, yQ(n, n.ref)),
choice: n
}),
/* @__PURE__ */ (0, I.jsx)("span", {
@@ -65345,15 +65377,15 @@ function RDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
n.current ? /* @__PURE__ */ (0, I.jsx)("span", {
className: "absolute top-1 left-1",
- children: /* @__PURE__ */ (0, I.jsx)(oW, {
+ children: /* @__PURE__ */ (0, I.jsx)(aW, {
variant: "caption",
color: "gray",
children: "在用"
})
}) : null,
- wQ(n) ? /* @__PURE__ */ (0, I.jsx)("span", {
+ CQ(n) ? /* @__PURE__ */ (0, I.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, I.jsxs)(oW, {
+ children: /* @__PURE__ */ (0, I.jsxs)(aW, {
variant: "caption",
color: "gray",
children: [n.cast.toLocaleString(), " 人"]
@@ -65375,7 +65407,7 @@ function RDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
children: [/* @__PURE__ */ (0, I.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, I.jsx)(xV, {
+ children: /* @__PURE__ */ (0, I.jsx)(bV, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
@@ -65385,7 +65417,7 @@ function RDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
type: "submit",
variant: "secondary",
disabled: !l.trim(),
- ...kV(v("code")),
+ ...OV(v("code")),
children: "取封面来框"
})]
}), /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -65394,7 +65426,7 @@ function RDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
/* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
onClick: () => a.current?.click(),
- ...kV(v("file")),
+ ...OV(v("file")),
children: "从本机选图片"
}),
/* @__PURE__ */ (0, I.jsx)("input", {
@@ -65414,7 +65446,7 @@ function RDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
className: "flex min-w-0 flex-1 basis-56 items-center gap-2",
children: [/* @__PURE__ */ (0, I.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, I.jsx)(xV, {
+ children: /* @__PURE__ */ (0, I.jsx)(bV, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
@@ -65424,7 +65456,7 @@ function RDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}), /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
disabled: !s.trim(),
- ...kV(v("url")),
+ ...OV(v("url")),
onClick: () => {
w || _.mutate({
via: "url",
@@ -65438,7 +65470,7 @@ function RDe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function zDe({ src: e, choice: t }) {
+function HDe({ 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);
@@ -65446,7 +65478,7 @@ function zDe({ src: e, choice: t }) {
let s = {
width: t.width,
height: t.height
- }, c = TDe(t) ? mDe(SQ(t, s, FDe), s) : null, l = r || a ? !0 : void 0;
+ }, c = ODe(t) ? _De(xQ(t, s, RDe), 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",
@@ -65472,23 +65504,23 @@ function zDe({ src: e, choice: t }) {
})]
});
}
-function BDe({ 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 = bQ(n, s), m = yQ(e, t, s, p), h = eH();
+function UDe({ 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 ? pDe(d, l) : null;
+ let _ = d && l ? gDe(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)(mQ, {
+ children: [m ? /* @__PURE__ */ (0, I.jsx)(pQ, {
src: m,
aspect: 1,
box: d,
size: l,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- u(e), sQ(e) && f(s === n.ref ? SQ(n, e, 1) : cQ(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", {
@@ -65502,7 +65534,7 @@ function BDe({ 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: MDe(e)
+ children: FDe(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -65522,12 +65554,12 @@ function BDe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
/* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
onClick: i,
- ...kV(r),
+ ...OV(r),
children: "返回备选图片"
}),
n.crop ? null : /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
- ...kV(r),
+ ...OV(r),
onClick: () => {
r || a(null);
},
@@ -65535,7 +65567,7 @@ function BDe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
}),
/* @__PURE__ */ (0, I.jsx)(J, {
disabled: !d || !l,
- ...kV(r),
+ ...OV(r),
onClick: () => {
d && !r && a({
ref: s,
@@ -65550,17 +65582,17 @@ function BDe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
})] });
}
// src/react/components/source-picture.tsx
-var TQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;
-function EQ({ 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)(TV, {
+ children: /* @__PURE__ */ (0, I.jsx)(wV, {
size: "compact",
- icon: ZB,
+ icon: XB,
title: e,
actions: /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
- ...kV(!!n),
+ ...OV(!!n),
onClick: r,
children: "立即重试"
}),
@@ -65568,9 +65600,9 @@ function EQ({ title: e, detail: t, busy: n, onRetry: r }) {
})
});
}
-function VDe({ code: e }) {
- let t = kH(), [n, r] = (0, F.useState)("");
- return /* @__PURE__ */ (0, I.jsx)(EQ, {
+function WDe({ code: e }) {
+ let t = OH(), [n, r] = (0, F.useState)("");
+ return /* @__PURE__ */ (0, I.jsx)(TQ, {
title: "封面未取得",
detail: t.error || n,
busy: !!t.busy,
@@ -65585,8 +65617,8 @@ function VDe({ code: e }) {
}
});
}
-function DQ({ 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 ? TQ(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({
@@ -65603,8 +65635,8 @@ function DQ({ item: e, image: t, thumbnail: n = !1 }) {
src: p,
alt: f
})
- }) : n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "封面未取得" }) : /* @__PURE__ */ (0, I.jsx)(VDe, { code: e.code });
- if (s === p) return n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, I.jsx)(EQ, {
+ }) : n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "封面未取得" }) : /* @__PURE__ */ (0, I.jsx)(WDe, { 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)
});
@@ -65653,8 +65685,8 @@ function DQ({ item: e, image: t, thumbnail: n = !1 }) {
] });
}
// src/react/components/source-avatar.tsx
-function OQ({ code: e, person: t, detail: n = !1 }) {
- yL();
+function DQ({ code: e, person: t, detail: n = !1 }) {
+ vL();
let r = (0, F.useRef)(null), [i, a] = (0, F.useState)(n || typeof IntersectionObserver > "u");
(0, F.useEffect)(() => {
if (!r.current || i) return;
@@ -65668,7 +65700,7 @@ function OQ({ 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: TQ(e, `actor:${t.source_actor_id}`),
+ src: wQ(e, `actor:${t.source_actor_id}`),
alt: "",
"data-drop": "self"
}) : null] });
@@ -65678,8 +65710,8 @@ function OQ({ code: e, person: t, detail: n = !1 }) {
}) : o;
}
// src/react/feed-new/feed-new-row.tsx
-function kQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
- let a = (0, F.useContext)(oG), 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)(aG), 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);
}, [
@@ -65711,7 +65743,7 @@ function kQ({ 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)(OQ, {
+ }), s.map((e, t) => (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(DQ, {
code: e.dataset.code,
person: {
name: e.dataset.name,
@@ -65720,7 +65752,7 @@ function kQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
}), e, `${l.length}:${t}`))] }) : null;
}
// src/react/entity-hero/glyph.tsx
-function AQ({ name: e }) {
+function kQ({ name: e }) {
let { wide: t, viewBox: n } = Sn(e);
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: n,
@@ -65730,20 +65762,20 @@ function AQ({ name: e }) {
});
}
// src/react/entity-hero/hero-pop.tsx
-function jQ(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 MQ = (e) => !!e?.isConnected && e.matches(":popover-open");
-function NQ(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 && MQ(n.current) ? jQ(t.current, n.current) : i.current();
+ t.current && jQ(n.current) ? AQ(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -65757,17 +65789,17 @@ function NQ(e, t, n, r) {
n
]);
}
-function PQ({ 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, MQ(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 && !MQ(s.current) && (s.current.showPopover(), jQ(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 NQ(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;
@@ -65793,7 +65825,7 @@ function PQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && MQ(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && jQ(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -65811,16 +65843,16 @@ function PQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function HDe({ following: e, busy: t, onToggle: n, tip: r }) {
+function GDe({ 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 = () => {
- MQ(o.current) && o.current.hidePopover(), c(!1);
+ jQ(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- !l.current && o.current && i.current && !MQ(o.current) && (o.current.showPopover(), jQ(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 NQ(s, i, o, () => c(!1)), (0, F.useEffect)(() => {
- i.current && MQ(o.current) && jQ(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": "",
@@ -65829,7 +65861,7 @@ function HDe({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, I.jsx)(AQ, { name: "rss" }),
+ /* @__PURE__ */ (0, I.jsx)(kQ, { name: "rss" }),
/* @__PURE__ */ (0, I.jsx)("input", {
ref: a,
type: "checkbox",
@@ -65863,29 +65895,29 @@ function HDe({ following: e, busy: t, onToggle: n, tip: r }) {
});
}
// src/react/entity-hero/name-picker.tsx
-function UDe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function KDe({ 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)(Zpe, {
+ }, []), /* @__PURE__ */ (0, I.jsxs)(Qpe, {
isOpen: i,
onOpenChange: a,
- children: [/* @__PURE__ */ (0, I.jsx)(eR, {
+ children: [/* @__PURE__ */ (0, I.jsx)($L, {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, I.jsx)(AQ, { name: "chevron-down" })
- }), /* @__PURE__ */ (0, I.jsx)(Dz, {
+ children: /* @__PURE__ */ (0, I.jsx)(kQ, { name: "chevron-down" })
+ }), /* @__PURE__ */ (0, I.jsx)(Ez, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
- className: KV,
+ className: GV,
"data-namepick-menu": "",
- children: /* @__PURE__ */ (0, I.jsxs)($pe, {
+ children: /* @__PURE__ */ (0, I.jsxs)(eme, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(Fz, {
+ /* @__PURE__ */ (0, I.jsx)(Pz, {
selectionMode: "single",
disallowEmptySelection: !0,
selectedKeys: [e],
@@ -65893,34 +65925,34 @@ function UDe({ 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)(Lz, {
+ children: t.map((e) => /* @__PURE__ */ (0, I.jsxs)(Iz, {
id: e.value,
textValue: e.label,
"data-namepick-name": e.value,
- children: [/* @__PURE__ */ (0, I.jsx)(AQ, { 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)(Ppe, { "data-namepick-rule": "" }),
- /* @__PURE__ */ (0, I.jsx)(Fz, { children: /* @__PURE__ */ (0, I.jsxs)(Lz, {
+ /* @__PURE__ */ (0, I.jsx)(Fpe, { "data-namepick-rule": "" }),
+ /* @__PURE__ */ (0, I.jsx)(Pz, { children: /* @__PURE__ */ (0, I.jsxs)(Iz, {
id: "alias",
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, I.jsx)(AQ, { name: "plus" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, I.jsx)(kQ, { name: "plus" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "添加别名…" })]
}) })
]
})
})]
});
}
-var WDe = (e) => e === "studio" || e === "agency", FQ = (e) => e === "performer" || e === "creator", GDe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
-function KDe(e, t = "zh-CN") {
+var qDe = (e) => e === "studio" || e === "agency", PQ = (e) => e === "performer" || e === "creator", JDe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
+function YDe(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 IQ(e) {
+function FQ(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0,
@@ -65932,13 +65964,13 @@ function IQ(e) {
linked: !1
} : null;
}
-function LQ(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 RQ = (e) => ({ site: Rn(e) });
-function qDe(e, t) {
- let n = IQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+var LQ = (e) => ({ site: Rn(e) });
+function XDe(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,
@@ -65948,7 +65980,7 @@ function qDe(e, t) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${LQ(e, n)} · ${t}`
+ title: `${IQ(e, n)} · ${t}`
};
}
let r = e.url || "";
@@ -65956,11 +65988,11 @@ function qDe(e, t) {
type: "private",
label: e.label || e.hostname || "已记录"
};
- if (FQ(t) && e.link_kind !== "social") return {
+ if (PQ(t) && e.link_kind !== "social") return {
type: "icon",
url: r,
- title: LQ(e, n),
- mark: RQ(e)
+ title: IQ(e, n),
+ mark: LQ(e)
};
if (e.link_kind === "social") {
let t = Vn(r);
@@ -65968,7 +66000,7 @@ function qDe(e, t) {
type: "icon",
url: r,
title: e.label || "",
- mark: t ? { brand: t } : RQ(e)
+ mark: t ? { brand: t } : LQ(e)
};
}
return {
@@ -65976,12 +66008,12 @@ function qDe(e, t) {
url: r,
title: e.label || "",
text: Gn(e, t, i),
- mark: RQ(e)
+ mark: LQ(e)
};
});
- return [...r, ...JDe(a)];
+ return [...r, ...ZDe(a)];
}
-function JDe(e) {
+function ZDe(e) {
let t = e.filter((e) => e.type === "private");
return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {
type: "private",
@@ -65989,8 +66021,8 @@ function JDe(e) {
sources: t.map((e) => e.label)
}];
}
-var zQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function YDe(e) {
+var RQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+function QDe(e) {
return [
[
"legal_name",
@@ -66046,7 +66078,7 @@ function YDe(e) {
}]
}] : []);
}
-function XDe(e) {
+function $De(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -66103,14 +66135,14 @@ function XDe(e) {
tags: e.tags
}), t;
}
-function BQ(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 ZDe(e) {
+function eOe(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 ? {
@@ -66120,7 +66152,7 @@ function ZDe(e) {
} : null;
}
// src/react/entity-hero/entity-hero-page.tsx
-function QDe(e) {
+function tOe(e) {
return ho({
id: e.id,
hasImage: e.has_image,
@@ -66131,9 +66163,9 @@ function QDe(e) {
standIn: e.avatar_stand_in
});
}
-function $De({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
- yL();
- let s = tn(e, n.canonical_name, Number(n.id)), c = nn(e, n.canonical_name, Number(n.id)), l = FQ(e), u = WDe(e), d = l ? XDe(n.profile) : u ? YDe(n.company_profile) : [], f = qDe(n, e), p = zQ(n), m = e === "agency" ? [] : n.related_performers || [], h = (0, F.useRef)(null), g = (0, F.useRef)(null);
+function nOe({ 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 = PQ(e), u = qDe(e), d = l ? $De(n.profile) : u ? QDe(n.company_profile) : [], f = XDe(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)(() => {
@@ -66146,7 +66178,7 @@ function $De({ 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)(eOe, {
+ children: [/* @__PURE__ */ (0, I.jsx)(rOe, {
kind: e,
name: s,
helpers: o,
@@ -66154,7 +66186,7 @@ function $De({ 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)(LDe, {
+ children: /* @__PURE__ */ (0, I.jsx)(BDe, {
kind: e,
entityId: Number(n.id),
name: s || t,
@@ -66169,17 +66201,17 @@ function $De({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
"data-entity-title": "",
children: [
/* @__PURE__ */ (0, I.jsx)("h2", {
- lang: tL(s),
+ lang: eL(s),
title: c || void 0,
children: s
}),
- e === "tag" ? null : /* @__PURE__ */ (0, I.jsx)(UDe, {
+ e === "tag" ? null : /* @__PURE__ */ (0, I.jsx)(KDe, {
current: n.canonical_name,
- choices: KDe(n, Yt()),
+ choices: YDe(n, Yt()),
onChoose: a.chooseName,
onAddAlias: a.addAlias
}),
- n.id ? /* @__PURE__ */ (0, I.jsx)(VV, { item: {
+ n.id ? /* @__PURE__ */ (0, I.jsx)(BV, { item: {
entity_id: Number(n.id),
kind: e,
name: n.canonical_name || t,
@@ -66193,7 +66225,7 @@ function $De({ 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)(tOe, {
+ /* @__PURE__ */ (0, I.jsx)(iOe, {
kind: e,
entity: n,
actions: a
@@ -66214,14 +66246,14 @@ function $De({ 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)(sOe, { link: e }, t))
+ children: f.map((e, t) => /* @__PURE__ */ (0, I.jsx)(uOe, { link: e }, t))
}) : null,
- p.length || n.feed ? /* @__PURE__ */ (0, I.jsx)(cOe, {
+ p.length || n.feed ? /* @__PURE__ */ (0, I.jsx)(dOe, {
entity: n,
actions: a,
helpers: o
}) : null,
- n.follow?.held.length ? /* @__PURE__ */ (0, I.jsx)(iOe, {
+ n.follow?.held.length ? /* @__PURE__ */ (0, I.jsx)(sOe, {
follow: n.follow,
displayName: s,
actions: a
@@ -66230,11 +66262,11 @@ function $De({ 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)(aOe, {
+ children: d.map((e) => /* @__PURE__ */ (0, I.jsx)(cOe, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, I.jsx)(oOe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, I.jsx)(lOe, { 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))
@@ -66253,7 +66285,7 @@ function $De({ 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>${QDe(e)}` }
+ dangerouslySetInnerHTML: { __html: `<span>${z($n(tn("performer", e.k, e.id)))}</span>${tOe(e)}` }
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-hero-costar-name": "",
children: tn("performer", e.k, e.id)
@@ -66261,14 +66293,14 @@ function $De({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}, e.k))
})
}) : null]
- }), i ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(kQ, {
+ }), 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 eOe({ kind: e, name: t, helpers: n, people: r, company: i }) {
+function rOe({ 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]");
@@ -66282,8 +66314,8 @@ function eOe({ kind: e, name: t, helpers: n, people: r, company: i }) {
dangerouslySetInnerHTML: { __html: o }
});
}
-function tOe({ kind: e, entity: t, actions: n }) {
- let r = IQ(t), i = (e, t) => (r) => {
+function iOe({ 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),
@@ -66292,44 +66324,44 @@ function tOe({ 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 = ZDe(e);
+ let e = t.name_display?.groups[Yt()] ?? t.name_groups, r = eOe(e);
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- /* @__PURE__ */ (0, I.jsx)(VQ, { entity: t }),
+ /* @__PURE__ */ (0, I.jsx)(BQ, { entity: t }),
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, I.jsx)(AQ, { 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)(rOe, {
+ t.follow?.key ? /* @__PURE__ */ (0, I.jsx)(oOe, {
follow: t.follow,
actions: n
}) : null,
a ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, I.jsx)(AQ, { 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)(AQ, { 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: tL(e),
+ lang: eL(e),
children: e
}, t))
}),
- r.rest > 0 ? /* @__PURE__ */ (0, I.jsx)(PQ, {
+ 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)(HQ, {
+ children: /* @__PURE__ */ (0, I.jsx)("dl", { children: (e?.groups || []).map((e, t) => /* @__PURE__ */ (0, I.jsx)(VQ, {
label: e.label,
names: e.names
}, t)) })
@@ -66351,61 +66383,61 @@ function tOe({ kind: e, entity: t, actions: n }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- e === "creator" ? /* @__PURE__ */ (0, I.jsx)(VQ, { 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)(AQ, { 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)(AQ, { 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)(AQ, { 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)(nOe, { aliases: s }) : null
+ s.length ? /* @__PURE__ */ (0, I.jsx)(aOe, { aliases: s }) : null
]
});
}
-function nOe({ aliases: e }) {
- let { shown: t, rest: n } = BQ(e, 3);
+function aOe({ 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)(AQ, { 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)(PQ, {
+ 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)(HQ, { 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 rOe({ follow: e, actions: t }) {
+function oOe({ 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)(AQ, { 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);
@@ -66414,7 +66446,7 @@ function rOe({ follow: e, actions: t }) {
})]
});
}
-function iOe({ follow: e, displayName: t, actions: n }) {
+function sOe({ follow: e, displayName: t, actions: n }) {
let [r, i] = (0, F.useState)(""), a = async (e, t) => {
if (!r) {
i(e);
@@ -66428,12 +66460,12 @@ function iOe({ follow: e, displayName: t, actions: n }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-entity-held": "",
className: "flex flex-col gap-2",
- children: e.held.map((e) => /* @__PURE__ */ (0, I.jsxs)(wV, {
+ children: e.held.map((e) => /* @__PURE__ */ (0, I.jsxs)(CV, {
tone: "info",
title: `关注里有同名作者 ${e.name}`,
action: /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
- ...kV(r === e.key),
+ ...OV(r === e.key),
onClick: () => {
a(e.key, e.name);
},
@@ -66448,37 +66480,37 @@ function iOe({ follow: e, displayName: t, actions: n }) {
}, e.key))
});
}
-function VQ({ 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)(AQ, { 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 HQ({ 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: tL(e.name),
+ lang: eL(e.name),
children: [e.name, e.reading ? /* @__PURE__ */ (0, I.jsx)("small", { children: e.reading }) : null]
}, t))
})] });
}
-function aOe({ 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)(AQ, { name: e }), t] }), /* @__PURE__ */ (0, I.jsx)("dd", {
+function cOe({ 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 oOe({ tags: e }) {
- let { shown: t, rest: n } = BQ(e);
+function lOe({ 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)(PQ, {
+ }, e)), n ? /* @__PURE__ */ (0, I.jsx)(NQ, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -66494,10 +66526,10 @@ function oOe({ tags: e }) {
})
}) : null] });
}
-function UQ({ 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)(AQ, { 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", {
@@ -66505,7 +66537,7 @@ function UQ({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function sOe({ link: e }) {
+function uOe({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, I.jsx)("a", {
"data-link": "icon",
@@ -66514,19 +66546,19 @@ function sOe({ link: e }) {
rel: "noopener noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, I.jsx)(UQ, { 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)(UQ, { 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)(UQ, { 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}`
})]
@@ -66538,7 +66570,7 @@ function sOe({ link: e }) {
rel: "noopener noreferrer",
title: e.title,
children: [
- /* @__PURE__ */ (0, I.jsx)(UQ, { mark: e.mark }),
+ /* @__PURE__ */ (0, I.jsx)(HQ, { mark: e.mark }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-link-label": "",
children: e.text
@@ -66553,7 +66585,7 @@ function sOe({ link: e }) {
});
}
}
-function cOe({ entity: e, actions: t, helpers: n }) {
+function dOe({ 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);
@@ -66571,33 +66603,33 @@ function cOe({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-entry-marks": "",
- children: [zQ(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)(AQ, { 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)(HDe, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, I.jsx)(GDe, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: GDe(r)
+ tip: JDe(r)
}) : null]
});
}
// src/react/entity-page/use-entity-online.ts
-var lOe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
-function uOe(e, t, n) {
+var fOe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
+function pOe(e, t, n) {
let [r, i] = (0, F.useState)(() => ga(e));
r.author !== e && i(ga(e));
let [a, o] = (0, F.useState)({
@@ -66676,7 +66708,7 @@ function uOe(e, t, n) {
onlineMedia: (e) => c(e),
onlineShuffle: () => T({
sort: $i,
- seed: lOe()
+ seed: fOe()
}),
onlineImagesOnly: (e) => n.setImagesOnly(e),
onlineStatus: (e) => T({ status: e }),
@@ -66706,8 +66738,8 @@ function uOe(e, t, n) {
};
}
// src/react/entity-page/entity-page-view.tsx
-function dOe(e) {
- let { kind: t, name: n } = e, r = Pt(rZ(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {
+function mOe(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;
@@ -66725,17 +66757,17 @@ function dOe(e) {
s,
o?.kind,
o?.name
- ]), r.isError ? /* @__PURE__ */ (0, I.jsx)(qG, {
+ ]), r.isError ? /* @__PURE__ */ (0, I.jsx)(KG, {
message: cr(r.error),
onRetry: () => {
r.refetch();
}
- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, I.jsx)(mOe, {
+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, I.jsx)(_Oe, {
...e,
entity: r.data
});
}
-function WQ(e) {
+function UQ(e) {
let [t, n] = (0, F.useState)({
key: e,
n: 1
@@ -66747,22 +66779,22 @@ function WQ(e) {
};
return n(r), r.n;
}
-var fOe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
-function pOe(e, t) {
+var hOe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
+function gOe(e, t) {
return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;
}
-function mOe(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(iZ(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 || aZ(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {
+function _Oe(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
- } : XX, [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 = uOe(g, w === "online", {
+ let w = l && y === "people" && u.length ? "people" : v.media, T = pOe(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 = nZ(e), A = Pt(k), j = WQ(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]);
@@ -66772,26 +66804,26 @@ function mOe(e) {
}, [e.layout, M]), N = {
jav: e.jav,
seed: e.seed
- }, te = (0, F.useCallback)((e, r, a) => tZ(t, n, i, N, e, r, a), [j]), [P, ne] = (0, F.useState)({}), re = v.set, ie = P[re] || "", ae = It({
- ...iZ(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 = WQ(JSON.stringify(QX(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 ? [] : aZ(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({
- ...qX(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: KX(d) }));
+ fe.current !== e.feedRevision && (fe.current = e.feedRevision, H.invalidateQueries({ queryKey: GX(d) }));
}, [d, e.feedRevision]);
let pe = !!A.data;
(0, F.useEffect)(() => {
@@ -66825,7 +66857,7 @@ function mOe(e) {
me.current = !1;
}, []);
let he = (0, F.useCallback)(async () => {
- await H.invalidateQueries({ queryKey: ["entity-route"] }), await H.invalidateQueries({ queryKey: ZX(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
@@ -66859,7 +66891,7 @@ function mOe(e) {
enabled: e
})
}),
- onSuccess: (e, r) => H.setQueryData(ZX(t, n), (e) => e && {
+ onSuccess: (e, r) => H.setQueryData(XX(t, n), (e) => e && {
...e,
feed: {
...e.feed,
@@ -66913,10 +66945,10 @@ function mOe(e) {
let e = await wn("/api/feeds/check").catch(() => null);
if (!e || e.status !== "running") break;
}
- me.current && await H.invalidateQueries({ queryKey: KX(d) });
+ me.current && await H.invalidateQueries({ queryKey: GX(d) });
})();
},
- feedAction: JX,
+ feedAction: qX,
avatarPicked: () => {
s.avatarChanged(), he().then(() => {
me.current && O((e) => e + 1);
@@ -66964,19 +66996,19 @@ function mOe(e) {
(e !== w || v.set) && (b(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {
media: e,
set: 0
- } : XX));
+ } : YX));
},
setState: (e) => s.route({
...i,
state: e
- }, XX),
+ }, YX),
toggleTag: s.toggleTag,
clearFilter: s.clearFilter,
clearAll: s.clearAll,
setSort: s.setSort,
reshuffle: async () => {
if (w !== "photos") {
- let r = s.reshuffleVideos(), a = nZ({
+ let r = s.reshuffleVideos(), a = tZ({
kind: t,
name: n,
filters: {
@@ -66990,7 +67022,7 @@ function mOe(e) {
await H.fetchQuery(a).catch(() => null);
return;
}
- let r = fOe(), a = await H.fetchInfiniteQuery(iZ(t, n, re, r)).catch(() => null);
+ let r = hOe(), 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
@@ -67025,7 +67057,7 @@ function mOe(e) {
k: e.k,
label: Pl(e.k),
n: e.n,
- selected: qTe(i.tag, e.k)
+ selected: XTe(i.tag, e.k)
})), Te = [
u.length,
!_,
@@ -67060,14 +67092,14 @@ function mOe(e) {
creator: "",
studio: "",
owner: ""
- }, XX), 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 = $X(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()} 张` : pOe(oe, aZ(oe).length) : Pe = ae.isPending;
+ } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : gOe(oe, iZ(oe).length) : Pe = ae.isPending;
let Fe = (0, F.useMemo)(() => ({
...e.card.actions,
loadMorePhotos: async () => {
@@ -67084,7 +67116,7 @@ function mOe(e) {
u
]);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)($De, {
+ /* @__PURE__ */ (0, I.jsx)(nOe, {
kind: t,
name: n,
entity: r,
@@ -67094,7 +67126,7 @@ function mOe(e) {
actions: be,
helpers: xe
}, D),
- (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(jye, {
+ (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(Mye, {
kind: t,
name: n,
view: w,
@@ -67111,9 +67143,9 @@ function mOe(e) {
actions: Se,
helpers: Ce
}), c.filter),
- (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(_ye, {
+ (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(vye, {
enabled: w === "videos",
- children: w === "online" ? /* @__PURE__ */ (0, I.jsx)(oDe, {
+ children: w === "online" ? /* @__PURE__ */ (0, I.jsx)(lDe, {
view: T.view,
media: T.media,
result: T.result,
@@ -67127,16 +67159,16 @@ function mOe(e) {
actions: e.follow.actions,
canLoadMore: e.canLoadMore,
clearFilters: T.clearFilters
- }) : w === "videos" && A.isError ? /* @__PURE__ */ (0, I.jsx)(qG, {
+ }) : w === "videos" && A.isError ? /* @__PURE__ */ (0, I.jsx)(KG, {
message: cr(A.error),
onRetry: () => {
A.refetch();
}
- }) : je ? /* @__PURE__ */ (0, I.jsx)(hOe, {
+ }) : je ? /* @__PURE__ */ (0, I.jsx)(vOe, {
filtered: Ae,
onShowAll: Me,
onOnline: g ? () => Se.setView("online") : void 0
- }) : /* @__PURE__ */ (0, I.jsx)(EEe, {
+ }) : /* @__PURE__ */ (0, I.jsx)(kEe, {
kind: t,
name: n,
view: w,
@@ -67169,9 +67201,9 @@ function mOe(e) {
}), c.body)
] });
}
-function hOe({ filtered: e, onShowAll: t, onOnline: n }) {
- return e ? /* @__PURE__ */ (0, I.jsx)(TV, {
- icon: DV("search"),
+function vOe({ filtered: e, onShowAll: t, onOnline: n }) {
+ return e ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ icon: EV("search"),
title: "没有符合条件的视频",
actions: /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
@@ -67179,14 +67211,14 @@ function hOe({ filtered: e, onShowAll: t, onOnline: n }) {
children: "清除筛选"
}),
children: "清除筛选后查看名下全部视频。"
- }) : /* @__PURE__ */ (0, I.jsx)(TV, {
- icon: DV("film"),
+ }) : /* @__PURE__ */ (0, I.jsx)(wV, {
+ icon: EV("film"),
title: "还没有视频",
actions: n ? /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
onClick: n,
children: "查看在线作品"
- }) : /* @__PURE__ */ (0, I.jsx)(PL, {
+ }) : /* @__PURE__ */ (0, I.jsx)(NL, {
size: "small",
href: "/",
children: "浏览馆藏"
@@ -67195,30 +67227,30 @@ function hOe({ filtered: e, onShowAll: t, onOnline: n }) {
});
}
// src/react/diagnostics/diagnostics.ts
-var GQ = ["diagnostics"], KQ = (e) => B("/api/diagnostics", e);
-async function gOe(e) {
+var WQ = ["diagnostics"], GQ = (e) => B("/api/diagnostics", e);
+async function yOe(e) {
await H.fetchQuery({
- queryKey: GQ,
- queryFn: () => KQ(e),
+ queryKey: WQ,
+ queryFn: () => GQ(e),
staleTime: 1e4
});
}
// src/react/feed-new/feed-new-page.tsx
-function _Oe({ host: e, revision: t, helpers: n, actions: r }) {
- let i = Pt(qX(null, n.feedRowHtml)), a = (0, F.useRef)(t);
+function bOe({ 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: KX(null) }));
- }, [t]), (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(kQ, {
+ 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: JX,
+ act: qX,
settled: r.settled
}), e);
}
// src/react/index/index-search.tsx
-var vOe = DV("search");
-function qQ({ label: e, value: t, onQuery: n }) {
+var xOe = 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);
@@ -67235,15 +67267,15 @@ function qQ({ label: e, value: t, onQuery: n }) {
onCompositionEnd: (e) => {
a.current = !1, s(e.target.value);
},
- children: /* @__PURE__ */ (0, I.jsx)(vV, {
+ children: /* @__PURE__ */ (0, I.jsx)(_V, {
"aria-label": e,
value: r,
onChange: (e) => {
i(e), a.current || s(e);
},
- children: /* @__PURE__ */ (0, I.jsx)(bV, {
+ children: /* @__PURE__ */ (0, I.jsx)(yV, {
type: "search",
- leadingIcon: vOe,
+ leadingIcon: xOe,
spellCheck: !1,
autoComplete: "off",
enterKeyHint: "search",
@@ -67255,7 +67287,7 @@ function qQ({ label: e, value: t, onQuery: n }) {
});
}
// src/react/index/tag-pagination.ts
-function JQ(e) {
+function qQ(e) {
let [t, n] = (0, F.useState)({
filter: e,
pageIndex: 0,
@@ -67272,7 +67304,7 @@ function JQ(e) {
}), [e])
};
}
-function YQ(e, t, n) {
+function JQ(e, t, n) {
let { pageIndex: r, pageSize: i } = t;
(0, F.useEffect)(() => {
if (e === void 0) return;
@@ -67289,11 +67321,11 @@ function YQ(e, t, n) {
]);
}
// src/react/index/index-tags.tsx
-var XQ = () => /* @__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"
-}), ZQ = DV("pencil"), QQ = (e, t) => ({
+}), XQ = EV("pencil"), ZQ = (e, t) => ({
kind: "tag",
name: e.k,
favorite: e.favorite,
@@ -67302,7 +67334,7 @@ var XQ = () => /* @__PURE__ */ (0, I.jsx)("span", {
tag_id: e.id || e.k
} : { entity_id: e.entity_id }
});
-function yOe({ tag: e, actions: t }) {
+function SOe({ 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",
@@ -67311,13 +67343,13 @@ function yOe({ tag: e, actions: t }) {
type: "button",
"data-alpha-tag": "",
"data-k": e.k,
- "data-tag-cat": yZ(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)(XQ, {}),
+ /* @__PURE__ */ (0, I.jsx)(YQ, {}),
/* @__PURE__ */ (0, I.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -67328,32 +67360,32 @@ function yOe({ tag: e, actions: t }) {
})
]
}),
- t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(VV, { item: QQ(e, t.online) }),
- t.edit ? /* @__PURE__ */ (0, I.jsx)(BV, {
+ 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)(ZQ, {})
+ children: /* @__PURE__ */ (0, I.jsx)(XQ, {})
}) : null
]
});
}
-function $Q({ groups: e, actions: t }) {
+function QQ({ groups: e, actions: t }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-alphabet": "",
className: "flex flex-col gap-4",
children: e.map(([e, n], r) => /* @__PURE__ */ (0, I.jsxs)("section", {
"data-alpha-group": r,
- className: VH({
+ className: BH({
radius: "plain",
padding: "none",
className: "px-5 pt-4 pb-3"
}),
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)(FW, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, I.jsx)(PW, { 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)(yOe, {
+ children: n.map((e) => /* @__PURE__ */ (0, I.jsx)(SOe, {
tag: e,
actions: t
}, e.k))
@@ -67361,26 +67393,26 @@ function $Q({ groups: e, actions: t }) {
}, e))
});
}
-var bOe = "\xA0";
-function e$({ tags: e, actions: t }) {
+var COe = "\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": yZ(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": yZ(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 + bOe
+ children: e.label + COe
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
@@ -67389,16 +67421,16 @@ function e$({ 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)(VV, { item: QQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, I.jsx)(BV, {
+ 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)(ZQ, {})
+ children: /* @__PURE__ */ (0, I.jsx)(XQ, {})
}) : null]
}) : null]
}, e.k))
});
}
-var xOe = [[
+var wOe = [[
"cloud",
"标签云",
"tags"
@@ -67407,34 +67439,34 @@ var xOe = [[
"字母表",
"text-aa"
]];
-function t$({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {
- let d = TL();
- return /* @__PURE__ */ (0, I.jsx)(DL, {
+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 = wL();
+ return /* @__PURE__ */ (0, I.jsx)(EL, {
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)(OL, {
+ children: [[[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(DL, {
"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)(OL, {
+ }, String(e))), l.onBlocked ? /* @__PURE__ */ (0, I.jsx)(DL, {
"data-tag-pill": "",
"data-tag-cat": "all",
pressed: !!l.blocked,
onPress: l.onBlocked,
children: "已屏蔽内容"
}) : null]
- }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, I.jsxs)(OL, {
+ }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, I.jsxs)(DL, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : yZ(n, e),
+ "data-tag-cat": e === "all" ? "all" : vZ(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, I.jsx)(XQ, {}), r]
+ children: [/* @__PURE__ */ (0, I.jsx)(YQ, {}), r]
}, e))] }),
bottom: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsx)("span", {
@@ -67455,19 +67487,19 @@ function t$({ categories: e, category: t, online: n, readout: r, letters: i, vie
children: e
}, e))
}) : null,
- /* @__PURE__ */ (0, I.jsx)(qz, {
+ /* @__PURE__ */ (0, I.jsx)(Kz, {
"aria-label": "标签视图",
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${xU}`,
- children: xOe.map(([e, t, n]) => {
- let r = DV(n);
- return /* @__PURE__ */ (0, I.jsx)(Jz, {
+ className: `ml-auto ${bU}`,
+ children: wOe.map(([e, t, n]) => {
+ let r = EV(n);
+ return /* @__PURE__ */ (0, I.jsx)(qz, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: SU,
+ className: xU,
children: /* @__PURE__ */ (0, I.jsx)("span", {
title: t,
className: "contents",
@@ -67479,13 +67511,13 @@ function t$({ categories: e, category: t, online: n, readout: r, letters: i, vie
] })
});
}
-function SOe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
- return /* @__PURE__ */ (0, I.jsxs)(Aj, {
+function TOe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+ return /* @__PURE__ */ (0, I.jsxs)(jj, {
visible: e > 0,
label: "所选标签操作",
count: `已选 ${e.toLocaleString()} 个标签`,
children: [
- /* @__PURE__ */ (0, I.jsx)($V, {
+ /* @__PURE__ */ (0, I.jsx)(QV, {
isSelected: t === "any",
onChange: (e) => n(e ? "any" : "all"),
children: /* @__PURE__ */ (0, I.jsxs)("span", {
@@ -67516,74 +67548,74 @@ function SOe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
});
}
// src/react/toaster.tsx
-var n$ = (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 }
-}), r$ = null, i$ = { "--floating-radius": "var(--radius-2xl)" }, a$ = (e) => `max(${e}px, var(--selection-dock-space, 0px), var(--miniplayer-space, 0px))`;
-function o$() {
- let e = r$;
- r$ = null, e?.root.unmount();
-}
-var s$ = (e, t) => {
- if (r$?.host === e) return;
- o$();
+}), 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);
- r$ = {
+ n$ = {
host: e,
root: n
- }, n.render(/* @__PURE__ */ (0, I.jsxs)(nH, { children: [/* @__PURE__ */ (0, I.jsx)(uH, {
+ }, n.render(/* @__PURE__ */ (0, I.jsxs)(tH, { children: [/* @__PURE__ */ (0, I.jsx)(lH, {
id: "receipts",
position: "bottom-right",
closeButton: !0,
gap: 8,
style: {
- ...i$,
+ ...r$,
"--width": "min(560px, calc(100vw - 48px))"
},
offset: {
right: 24,
- bottom: `calc(${a$(24)} + var(--processing-toast-space, 0px))`
+ bottom: `calc(${i$(24)} + var(--processing-toast-space, 0px))`
},
mobileOffset: {
right: 16,
left: 16,
- bottom: `calc(${a$(16)} + var(--processing-toast-space, 0px))`
+ bottom: `calc(${i$(16)} + var(--processing-toast-space, 0px))`
},
toastOptions: { closeButtonAriaLabel: "关闭提示" },
containerAriaLabel: "通知",
icons: {
- success: n$(t.success, !0),
- error: n$(t.error, !1)
+ success: t$(t.success, !0),
+ error: t$(t.error, !1)
}
- }), /* @__PURE__ */ (0, I.jsx)(uH, {
+ }), /* @__PURE__ */ (0, I.jsx)(lH, {
id: "processing",
position: "bottom-right",
gap: 8,
expand: !0,
style: {
- ...i$,
+ ...r$,
"--width": "min(400px, calc(100vw - 32px))"
},
offset: {
right: 24,
- bottom: a$(24)
+ bottom: i$(24)
},
mobileOffset: {
right: 16,
left: 16,
- bottom: a$(16)
+ bottom: i$(16)
},
toastOptions: { closeButtonAriaLabel: "关闭任务提示" },
containerAriaLabel: "后台任务"
})] }));
-}, COe = 6e3, c$ = (e, t) => {
+}, EOe = 6e3, s$ = (e, t) => {
if (!String(t.html ?? "").trim()) return;
- let n = t.alert ? aH.error : aH.success, r = t.action;
+ 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 : COe,
+ duration: t.timeout > 0 ? t.timeout : EOe,
action: r ? {
label: r.label,
onClick: (e) => {
@@ -67591,7 +67623,7 @@ var s$ = (e, t) => {
}
} : void 0
});
-}, l$ = (e) => e.id ?? e.entity_id, u$ = {
+}, c$ = (e) => e.id ?? e.entity_id, l$ = {
rename: "重命名标签",
merge: "合并标签",
hide: "隐藏标签",
@@ -67599,26 +67631,26 @@ var s$ = (e, t) => {
repair: "整理重复标签",
block: "屏蔽内容",
unblock: "恢复内容"
-}, d$ = (e, t) => V("/api/tag-management/preview", e, "POST", t);
-async function f$(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: u$[e.operation],
+ title: l$[e.operation],
body: i,
- confirmLabel: u$[e.operation],
+ confirmLabel: l$[e.operation],
onConfirm: () => V("/api/tag-management", {
...e,
token: t.token
}, "POST", n)
- })).confirmed || n?.aborted ? !1 : (await H.invalidateQueries(), c$(`tag-management-${Date.now()}`, {
- html: `已${u$[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 p$({ 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,
@@ -67627,24 +67659,24 @@ function p$({ 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] ? l$(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: u$[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(l$),
+ 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 d$(n, e.signal)
+ plan: await u$(n, e.signal)
};
}
});
@@ -67655,14 +67687,14 @@ function p$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }
if (!e.signal.aborted) {
if (n.confirmed) {
let r = n.result;
- await f$(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)(wOe, {
+ }, []), s ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(DOe, {
operation: a.current.operation,
selected: a.current.selected,
dialog: s.dialog,
@@ -67671,8 +67703,8 @@ function p$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }
}
}), s.host) : null;
}
-function wOe({ operation: e, selected: t, dialog: n, update: r }) {
- let [i, a] = (0, F.useState)(t[0]?.k || ""), [o, s] = (0, F.useState)(t[0] ? l$(t[0]) : 0);
+function DOe({ 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,
@@ -67685,28 +67717,28 @@ function wOe({ operation: e, selected: t, dialog: n, update: r }) {
e,
t,
r
- ]), e === "rename" ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ ]), e === "rename" ? /* @__PURE__ */ (0, I.jsx)(bV, {
autoFocus: !0,
"aria-label": "标签名称",
value: i,
onChange: a,
maxLength: 80
- }) : /* @__PURE__ */ (0, I.jsx)(iY, {
+ }) : /* @__PURE__ */ (0, I.jsx)(rY, {
"aria-label": "保留的标签",
prefix: "保留",
selectedKey: String(o),
onSelectionChange: (e) => {
- let n = t.find((t) => String(l$(t)) === String(e));
- n && s(l$(n));
+ let n = t.find((t) => String(c$(t)) === String(e));
+ n && s(c$(n));
},
- children: t.map((e) => /* @__PURE__ */ (0, I.jsx)(iW, {
- id: String(l$(e)),
+ children: t.map((e) => /* @__PURE__ */ (0, I.jsx)(rW, {
+ id: String(c$(e)),
children: e.k
- }, l$(e)))
+ }, c$(e)))
});
}
// src/react/index/tag-manager.tsx
-function m$({ 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,
_,
@@ -67714,7 +67746,7 @@ function m$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
g,
v,
b
- ]), { pagination: C, onChange: w } = JQ(S), T = new URLSearchParams({
+ ]), { pagination: C, onChange: w } = qQ(S), T = new URLSearchParams({
limit: String(C.pageSize),
offset: String(C.pageIndex * C.pageSize),
q: _,
@@ -67731,25 +67763,25 @@ function m$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
],
queryFn: ({ signal: e }) => B(`/api/tag-management?${T}`, e)
});
- YQ(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 = kH(), ee = E.data?.items || [], N = ee, te = (s ? uZ : lZ).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" ? bZ(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 f$(n, await d$(n, t), t);
+ return d$(n, await u$(n, t), t);
}, (e) => {
e && O(/* @__PURE__ */ new Map());
});
- }, ae = re.map(l$), oe = {
+ }, ae = re.map(c$), oe = {
online: s,
favorites: s,
picked: k,
@@ -67770,13 +67802,13 @@ function m$({ 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)(qQ, {
+ children: /* @__PURE__ */ (0, I.jsx)(KQ, {
label: "过滤标签",
value: l,
onQuery: u
})
}) : null,
- /* @__PURE__ */ (0, I.jsx)(t$, {
+ /* @__PURE__ */ (0, I.jsx)(e$, {
categories: te,
category: h,
online: s,
@@ -67804,7 +67836,7 @@ function m$({ 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)(kL, {
+ E.data?.duplicate_groups.length ? /* @__PURE__ */ (0, I.jsx)(OL, {
busy: M.busy === "repair",
onPress: () => ie({
operation: "repair",
@@ -67812,11 +67844,11 @@ function m$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
}),
children: "整理重复标签"
}) : null,
- N.length ? /* @__PURE__ */ (0, I.jsx)(kL, {
+ N.length ? /* @__PURE__ */ (0, I.jsx)(OL, {
onPress: () => O((e) => new Map([...e, ...N.map((e) => [e.k, e])])),
children: "选择本页"
}) : null,
- k.size ? /* @__PURE__ */ (0, I.jsx)(kL, {
+ k.size ? /* @__PURE__ */ (0, I.jsx)(OL, {
onPress: () => O(/* @__PURE__ */ new Map()),
children: "清空选择"
}) : null
@@ -67825,7 +67857,7 @@ function m$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
E.isPending ? /* @__PURE__ */ (0, I.jsx)("div", { dangerouslySetInnerHTML: { __html: ec({
mode: g,
pageSize: C.pageSize
- }) } }) : E.isError ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ }) } }) : E.isError ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -67833,19 +67865,19 @@ function m$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
children: "立即重试"
}),
children: "无法读取标签"
- }) : N.length ? g === "alphabet" ? /* @__PURE__ */ (0, I.jsx)($Q, {
+ }) : N.length ? g === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(QQ, {
groups: ne,
actions: oe
- }) : /* @__PURE__ */ (0, I.jsx)(e$, {
+ }) : /* @__PURE__ */ (0, I.jsx)($Q, {
tags: P,
actions: oe
- }) : /* @__PURE__ */ (0, I.jsx)(wV, {
+ }) : /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "neutral",
children: "没有符合条件的标签。"
}),
E.data ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "mt-5",
- children: /* @__PURE__ */ (0, I.jsx)(sY, {
+ children: /* @__PURE__ */ (0, I.jsx)(oY, {
label: "标签管理",
total: E.data.total,
pagination: C,
@@ -67855,11 +67887,11 @@ function m$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
pageSizes: $s
})
}) : null,
- M.error ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ M.error ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
children: M.error
}) : null,
- /* @__PURE__ */ (0, I.jsxs)(Aj, {
+ /* @__PURE__ */ (0, I.jsxs)(jj, {
label: "标签管理操作",
count: `已选 ${k.size} 个标签`,
visible: k.size > 0,
@@ -67881,7 +67913,7 @@ function m$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
/* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- ...kV(!!M.busy),
+ ...OV(!!M.busy),
onClick: () => ie({
operation: v ? "restore" : "hide",
ids: ae
@@ -67891,7 +67923,7 @@ function m$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
s ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- ...kV(!!M.busy),
+ ...OV(!!M.busy),
onClick: () => ie({
operation: b ? "unblock" : "block",
ids: ae
@@ -67900,7 +67932,7 @@ function m$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
}) : null
]
}),
- A ? /* @__PURE__ */ (0, I.jsx)(p$, {
+ A ? /* @__PURE__ */ (0, I.jsx)(f$, {
operation: A,
selected: re,
scope: o,
@@ -67911,7 +67943,7 @@ function m$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
});
}
// src/react/index/index-page.tsx
-var TOe = [
+var OOe = [
{
value: "studios",
label: "厂牌",
@@ -67927,7 +67959,7 @@ var TOe = [
label: "系列",
symbol: "list"
}
-], EOe = [{
+], kOe = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -67935,7 +67967,7 @@ var TOe = [
value: "online",
label: "在线",
symbol: "rss"
-}], DOe = [
+}], AOe = [
{
value: "performers",
label: "艺人",
@@ -67951,7 +67983,7 @@ var TOe = [
label: "在线",
symbol: "rss"
}
-], OOe = {
+], jOe = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -67980,20 +68012,20 @@ var TOe = [
"layout-grid"
]]
};
-function kOe({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, I.jsx)(vU, {
- "aria-label": `${cZ[e]}索引版式`,
+function MOe({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, I.jsx)(_U, {
+ "aria-label": `${sZ[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none ${yU}`,
- children: OOe[e === "series" ? "series" : pZ(e) ? "company" : "people"].map(([e, t, n]) => {
- let r = DV(n);
- return /* @__PURE__ */ (0, I.jsx)(Jz, {
+ className: `flex-none ${vU}`,
+ children: jOe[e === "series" ? "series" : fZ(e) ? "company" : "people"].map(([e, t, n]) => {
+ let r = EV(n);
+ return /* @__PURE__ */ (0, I.jsx)(qz, {
value: e,
"aria-label": t,
- className: sve,
+ className: cve,
children: /* @__PURE__ */ (0, I.jsx)("span", {
title: t,
className: "contents",
@@ -68003,8 +68035,8 @@ function kOe({ kind: e, layout: t, onChange: n }) {
})
});
}
-function AOe(e) {
- let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(() => mZ({
+function NOe(e) {
+ let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(() => pZ({
kind: e.kind,
q: e.q,
scope: e.scope,
@@ -68017,8 +68049,8 @@ function AOe(e) {
e.view,
e.category
]), [o, s] = (0, F.useState)(a);
- a !== o && (s(a), i(mZ(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 = cZ[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;
@@ -68037,7 +68069,7 @@ function AOe(e) {
...t
};
i(o), e.route(o, { replace: a });
- }, { pagination: w, onChange: T } = JQ(JSON.stringify(r)), E = vZ(hZ(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",
@@ -68052,7 +68084,7 @@ function AOe(e) {
getNextPageParam: h === "tags" ? () => void 0 : E.getNextPageParam,
enabled: !(t && h === "tags"),
placeholderData: ke
- }), O = cEe(D.data), k = D.isPending || D.isPlaceholderData, A = !!D.hasNextPage && !D.isPlaceholderData, j = D.data?.pages[0]?.total;
+ }), O = dEe(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 });
}, [
@@ -68060,8 +68092,8 @@ function AOe(e) {
D.isPending,
D.isPlaceholderData,
r
- ]), YQ(h === "tags" && !D.isPlaceholderData ? j : void 0, w, T);
- let M = h === "tags" ? D.isPending || D.isError ? "" : `${(j ?? O.length).toLocaleString()} 个标签` : lEe(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()} 个标签` : fEe(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
@@ -68077,15 +68109,15 @@ function AOe(e) {
O,
h,
x
- ]), ae = (0, F.useMemo)(() => h === "tags" && v === "alphabet" ? bZ(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)(LW, {
- tabs: EOe,
+ }, se = h === "tags" ? /* @__PURE__ */ (0, I.jsx)(IW, {
+ tabs: kOe,
value: _,
label: "词表",
onChange: (e) => {
@@ -68095,8 +68127,8 @@ function AOe(e) {
view: e === "online" ? "alphabet" : v
});
}
- }) : pZ(h) || h === "series" ? /* @__PURE__ */ (0, I.jsx)(LW, {
- tabs: TOe,
+ }) : fZ(h) || h === "series" ? /* @__PURE__ */ (0, I.jsx)(IW, {
+ tabs: OOe,
value: h,
label: "资料类型",
onChange: (e) => C({ kind: e })
@@ -68105,7 +68137,7 @@ function AOe(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 ? uZ : lZ).filter(re);
+ }, le = (x ? lZ : cZ).filter(re);
return /* @__PURE__ */ (0, I.jsxs)("div", {
ref: m,
"data-index-page": h,
@@ -68120,10 +68152,10 @@ function AOe(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
}),
- fZ(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)(bL, {
+ children: /* @__PURE__ */ (0, I.jsx)(yL, {
text: k ? void 0 : D.isError ? "" : M,
busy: k,
placeholder: /* @__PURE__ */ (0, I.jsx)("span", {
@@ -68132,18 +68164,18 @@ function AOe(e) {
})
})
}) : null,
- fZ(h) ? /* @__PURE__ */ (0, I.jsx)(kOe, {
+ dZ(h) ? /* @__PURE__ */ (0, I.jsx)(MOe, {
kind: h,
layout: c,
onChange: oe
}) : null,
- /* @__PURE__ */ (0, I.jsx)(HV, { kind: h === "tags" ? "tag" : h === "series" ? "series" : h === "studios" ? "studio" : h === "agencies" ? "agency" : h === "creators" ? "creator" : "performer" }),
+ /* @__PURE__ */ (0, I.jsx)(VV, { kind: h === "tags" ? "tag" : h === "series" ? "series" : h === "studios" ? "studio" : h === "agencies" ? "agency" : h === "creators" ? "creator" : "performer" }),
h === "tags" ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: t ? "primary" : "ghost",
iconOnly: !0,
className: "flex-none",
"data-tag-mode": "",
- leadingIcon: DV("pencil"),
+ leadingIcon: EV("pencil"),
"aria-label": t ? "返回标签浏览" : "管理标签",
title: t ? "返回标签浏览" : "管理标签",
"aria-pressed": t,
@@ -68151,7 +68183,7 @@ function AOe(e) {
e.exitSelectMode(), d(/* @__PURE__ */ new Set()), n(!t);
}
}) : null,
- /* @__PURE__ */ (0, I.jsx)(qQ, {
+ /* @__PURE__ */ (0, I.jsx)(KQ, {
label: `过滤${b}`,
value: g,
onQuery: (e) => {
@@ -68160,8 +68192,8 @@ function AOe(e) {
})
]
}),
- h === "performers" || h === "creators" ? /* @__PURE__ */ (0, I.jsx)(LW, {
- tabs: DOe,
+ h === "performers" || h === "creators" ? /* @__PURE__ */ (0, I.jsx)(IW, {
+ tabs: AOe,
value: S ? "online" : h,
label: "人物名册",
onChange: (t) => {
@@ -68173,7 +68205,7 @@ function AOe(e) {
}
}) : null,
se,
- t && h === "tags" ? /* @__PURE__ */ (0, I.jsx)(m$, {
+ t && h === "tags" ? /* @__PURE__ */ (0, I.jsx)(p$, {
scope: _,
search: g,
category: y,
@@ -68187,8 +68219,8 @@ function AOe(e) {
}, _) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
h === "performers" && _ === "local" ? /* @__PURE__ */ (0, I.jsx)("div", {
"aria-label": "身份分类",
- className: sZ,
- children: oZ.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,
@@ -68196,7 +68228,7 @@ function AOe(e) {
children: t
}, e))
}) : null,
- h === "tags" ? /* @__PURE__ */ (0, I.jsx)(t$, {
+ h === "tags" ? /* @__PURE__ */ (0, I.jsx)(e$, {
categories: le,
category: y,
online: x,
@@ -68212,7 +68244,7 @@ function AOe(e) {
}) : null,
/* @__PURE__ */ (0, I.jsx)("div", {
"data-index-body": "",
- children: /* @__PURE__ */ (0, I.jsx)(JG, {
+ children: /* @__PURE__ */ (0, I.jsx)(qG, {
pending: k,
skeletonHtml: () => h === "tags" ? ec({
mode: v,
@@ -68224,8 +68256,8 @@ function AOe(e) {
}),
children: (() => {
if (k) return null;
- if (D.isError) return /* @__PURE__ */ (0, I.jsx)(TV, {
- icon: DV("alert"),
+ if (D.isError) return /* @__PURE__ */ (0, I.jsx)(wV, {
+ icon: EV("alert"),
title: `没能读取${b}`,
actions: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -68234,7 +68266,7 @@ function AOe(e) {
}),
children: bn(D.error)
});
- if (!O.length) return /* @__PURE__ */ (0, I.jsx)(MOe, {
+ if (!O.length) return /* @__PURE__ */ (0, I.jsx)(FOe, {
kind: h,
filtered: !!g || y !== "all",
online: x || S,
@@ -68243,12 +68275,12 @@ function AOe(e) {
category: "all"
})
});
- if (S) return /* @__PURE__ */ (0, I.jsx)(mEe, {
+ if (S) return /* @__PURE__ */ (0, I.jsx)(_Ee, {
items: O,
layout: c,
props: e
});
- if (fZ(h)) return /* @__PURE__ */ (0, I.jsx)(CZ, {
+ if (dZ(h)) return /* @__PURE__ */ (0, I.jsx)(SZ, {
kind: h,
items: O,
layout: c,
@@ -68259,10 +68291,10 @@ function AOe(e) {
picked: u,
press: ce
};
- return v === "alphabet" ? /* @__PURE__ */ (0, I.jsx)($Q, {
+ return v === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(QQ, {
groups: ae,
actions: t
- }) : /* @__PURE__ */ (0, I.jsx)(e$, {
+ }) : /* @__PURE__ */ (0, I.jsx)($Q, {
tags: ie,
actions: t
});
@@ -68271,7 +68303,7 @@ function AOe(e) {
}),
h === "tags" && !k && !D.isError ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "mt-5",
- children: /* @__PURE__ */ (0, I.jsx)(sY, {
+ children: /* @__PURE__ */ (0, I.jsx)(oY, {
label: "标签",
total: j ?? O.length,
pagination: w,
@@ -68296,7 +68328,7 @@ function AOe(e) {
}) : null, "载入更多"]
})
}) : null,
- h === "tags" && !x && e.selectMode ? /* @__PURE__ */ (0, I.jsx)(SOe, {
+ h === "tags" && !x && e.selectMode ? /* @__PURE__ */ (0, I.jsx)(TOe, {
count: u.size,
match: f,
onMatch: p,
@@ -68310,7 +68342,7 @@ function AOe(e) {
]
});
}
-var jOe = {
+var POe = {
tags: "标签",
performers: "艺人",
creators: "卖家",
@@ -68318,9 +68350,9 @@ var jOe = {
agencies: "事务所",
series: "系列"
};
-function MOe({ kind: e, filtered: t, online: n, onClear: r }) {
- if (t) return /* @__PURE__ */ (0, I.jsx)(TV, {
- icon: DV("search"),
+function FOe({ kind: e, filtered: t, online: n, onClear: r }) {
+ if (t) return /* @__PURE__ */ (0, I.jsx)(wV, {
+ icon: EV("search"),
title: "没有符合条件的内容",
actions: /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
@@ -68329,16 +68361,16 @@ function MOe({ kind: e, filtered: t, online: n, onClear: r }) {
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : jOe[e], a = /* @__PURE__ */ (0, I.jsx)(PL, {
+ let i = n && e === "performers" ? "创作者" : POe[e], a = /* @__PURE__ */ (0, I.jsx)(NL, {
size: "small",
variant: n ? "primary" : "secondary",
href: "/subscriptions?tab=add",
children: "添加关注"
});
- return /* @__PURE__ */ (0, I.jsx)(TV, {
- icon: DV(e === "tags" ? "tags" : "user-round"),
+ 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)(PL, {
+ actions: n ? a : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(NL, {
size: "small",
href: "/settings/library",
children: "添加媒体"
@@ -68346,15 +68378,15 @@ function MOe({ kind: e, filtered: t, online: n, onClear: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var h$ = {
+var m$ = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, NOe = (e) => h$[e.junk_kind || "other"] || h$.other;
-function POe(e) {
+}, IOe = (e) => m$[e.junk_kind || "other"] || m$.other;
+function LOe(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -68365,40 +68397,40 @@ function POe(e) {
glyph: "check"
};
}
-var g$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), FOe = (e, t) => [
+var h$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), ROe = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function IOe({ kind: e, view: t }) {
+function zOe({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function LOe(e, t) {
- let n = await B(`/api/ads?${IOe(e)}`, t);
+async function BOe(e, t) {
+ let n = await B(`/api/ads?${zOe(e)}`, t);
return {
...n,
items: n.items || []
};
}
// src/react/junk-queue/junk-card.tsx
-function _$({ 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 v$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function ROe({ 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] = NOe(e), m = String(e.name || ""), h = POe(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]") || v$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
+var _$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+function VOe({ 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] = IOe(e), m = String(e.name || ""), h = LOe(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(), v$(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) => {
@@ -68429,7 +68461,7 @@ function ROe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"data-junk-kind": d,
"data-selected": n ? "" : void 0,
onClick: v,
- onMouseDown: lK,
+ onMouseDown: cK,
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-pic": "",
@@ -68437,7 +68469,7 @@ function ROe({ 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)(_$, { 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",
@@ -68449,7 +68481,7 @@ function ROe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
}),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, I.jsx)(_$, { name: "check" })
+ children: /* @__PURE__ */ (0, I.jsx)(g$, { name: "check" })
})
]
}),
@@ -68486,7 +68518,7 @@ function ROe({ 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)(_$, { 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: "打开位置"
})]
@@ -68498,7 +68530,7 @@ function ROe({ 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)(_$, { 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
})]
@@ -68510,7 +68542,7 @@ function ROe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": "移入回收站",
...S("dispose"),
onClick: x("dispose"),
- children: [/* @__PURE__ */ (0, I.jsx)(_$, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(g$, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -68525,9 +68557,9 @@ function ROe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
]
});
}
-var zOe = (0, F.memo)(ROe);
+var HOe = (0, F.memo)(VOe);
// src/react/components/collection-summary.tsx
-function y$({ 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
@@ -68553,31 +68585,31 @@ function y$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
});
}
// src/react/junk-queue/junk-count.tsx
-function b$({ 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 x$({ 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 BOe({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = eH(), a = (0, F.useRef)(null), { kind: o, view: s } = e, c = ML(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? XU.map(([e]) => g$(t, e)).join(",") : ""}`), l = $U(s), u = (e) => {
+function UOe({ 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]) => 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") || QU()));
+ !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 ? "—" : "";
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-junk-count": "",
children: [/* @__PURE__ */ (0, I.jsx)("div", {
"data-junk-summary": "",
"aria-live": "polite",
- children: /* @__PURE__ */ (0, I.jsx)(y$, {
- label: eW(s),
+ children: /* @__PURE__ */ (0, I.jsx)(v$, {
+ label: $U(s),
figure: d,
pending: !t && !n,
flush: !0
@@ -68597,17 +68629,17 @@ function BOe({ route: e, page: t, failed: n, onNavigate: r }) {
onClick: u,
onPointerLeave: c.leave,
children: [
- XU.map(([e, n, r]) => /* @__PURE__ */ (0, I.jsxs)("a", {
- href: QU(e, s),
+ YU.map(([e, n, r]) => /* @__PURE__ */ (0, I.jsxs)("a", {
+ href: ZU(e, s),
"data-junk-kind-link": e,
"aria-current": e === o ? "page" : void 0,
onPointerEnter: c.hover,
children: [
- /* @__PURE__ */ (0, I.jsx)(b$, { name: r }),
+ /* @__PURE__ */ (0, I.jsx)(y$, { name: r }),
n,
- /* @__PURE__ */ (0, I.jsx)(x$, {
+ /* @__PURE__ */ (0, I.jsx)(b$, {
scope: e,
- count: t ? g$(t, e) : 0
+ count: t ? h$(t, e) : 0
})
]
}, e || "all")),
@@ -68621,9 +68653,9 @@ function BOe({ 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)(b$, { name: l.glyph }),
+ /* @__PURE__ */ (0, I.jsx)(y$, { name: l.glyph }),
l.label,
- /* @__PURE__ */ (0, I.jsx)(x$, {
+ /* @__PURE__ */ (0, I.jsx)(b$, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -68635,33 +68667,33 @@ function BOe({ route: e, page: t, failed: n, onNavigate: r }) {
});
}
// src/react/junk-queue/junk-queue-page.tsx
-var VOe = DV("check"), HOe = (e, t) => e[1] === t.view && e[2] === t.kind;
-function UOe(e) {
+var WOe = EV("check"), GOe = (e, t) => e[1] === t.view && e[2] === t.kind;
+function KOe(e) {
let t = {
kind: e.kind,
view: e.view
}, n = Pt({
- queryKey: FOe(t, e.revision),
- queryFn: ({ signal: e }) => LOe(t, e),
- placeholderData: (e, n) => n && HOe(n.queryKey, t) ? e : void 0
+ queryKey: ROe(t, e.revision),
+ queryFn: ({ signal: e }) => BOe(t, e),
+ placeholderData: (e, n) => n && GOe(n.queryKey, t) ? e : void 0
});
(0, F.useEffect)(() => {
n.isFetching || e.settled?.(e.revision);
}, [n.isFetching, e.revision]);
- let r = WOe(e.countRow), i = n.isPending;
+ let r = qOe(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)(BOe, {
+ let { navigate: a } = e.actions, o = r ? (0, Lt.createPortal)(/* @__PURE__ */ (0, I.jsx)(UOe, {
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)(GOe, {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [o, /* @__PURE__ */ (0, I.jsx)(JOe, {
props: e,
data: n.data,
pending: i,
@@ -68669,7 +68701,7 @@ function UOe(e) {
retry: () => void n.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function WOe(e) {
+function qOe(e) {
let [t, n] = (0, F.useState)(null);
return (0, F.useLayoutEffect)(() => {
if (!e) return;
@@ -68679,8 +68711,8 @@ function WOe(e) {
};
}, [e]), t;
}
-function GOe({ props: e, data: t, pending: n, error: r, retry: i }) {
- let a = Zye(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 JOe({ props: e, data: t, pending: n, error: r, retry: i }) {
+ let a = Qye(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", {
@@ -68688,16 +68720,16 @@ function GOe({ 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)(qG, {
+ if (!t) return /* @__PURE__ */ (0, I.jsx)(KG, {
message: bn(r),
onRetry: i
});
if (!l.length) {
let t = e.view === "dismissed";
- return /* @__PURE__ */ (0, I.jsx)(TV, {
- icon: VOe,
+ return /* @__PURE__ */ (0, I.jsx)(wV, {
+ icon: WOe,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
- actions: t ? /* @__PURE__ */ (0, I.jsx)(PL, {
+ actions: t ? /* @__PURE__ */ (0, I.jsx)(NL, {
size: "small",
href: "/junk-files",
children: "查看待判断"
@@ -68710,7 +68742,7 @@ function GOe({ 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)(zOe, {
+ children: u.map((t) => /* @__PURE__ */ (0, I.jsx)(HOe, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -68719,7 +68751,7 @@ function GOe({ props: e, data: t, pending: n, error: r, retry: i }) {
actions: e.actions
}, t.id))
}),
- u.length < l.length ? /* @__PURE__ */ (0, I.jsx)(KOe, { onMore: f }, s) : null,
+ u.length < l.length ? /* @__PURE__ */ (0, I.jsx)(YOe, { 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",
@@ -68729,14 +68761,14 @@ function GOe({ props: e, data: t, pending: n, error: r, retry: i }) {
})()]
});
}
-function KOe({ onMore: e }) {
+function YOe({ 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: KG });
+ }, { rootMargin: GG });
return r.observe(n), () => r.disconnect();
}, [e]), /* @__PURE__ */ (0, I.jsx)("div", {
ref: t,
@@ -68746,22 +68778,22 @@ function KOe({ onMore: e }) {
});
}
// src/react/components/fieldset-layout.ts
-var qOe = VH({
+var XOe = BH({
padding: "none",
className: "overflow-hidden"
-}), S$ = {
+}), 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"
-}, C$ = {
+}, 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 w$(e) {
- return `${qOe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;
+function C$(e) {
+ return `${XOe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;
}
// src/react/data-cleanup/cleanup-entry.ts
-var T$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", E$ = {
- face: VH({
+var w$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", T$ = {
+ face: BH({
padding: "none",
radius: "plain",
interactive: !0,
@@ -68773,34 +68805,34 @@ var T$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", E
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"
-}, JOe = [
+}, ZOe = [
"text-chart-6",
"text-chart-5",
"text-chart-7",
"text-chart-8"
-], YOe = [
+], QOe = [
"bg-chart-6/10",
"bg-chart-5/10",
"bg-chart-7/10",
"bg-chart-8/10"
];
-function XOe(e = {}) {
- return `${VH({
+function $Oe(e = {}) {
+ return `${BH({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var ZOe = "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 D$({ interactive: e = !1 } = {}) {
- return VH({
+var eke = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", tke = "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 BH({
padding: "none",
radius: "plain",
interactive: e,
className: "flex min-h-33 flex-col gap-2 p-4 text-left"
});
}
-var O$ = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
-function $Oe({ 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 nke({ 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",
@@ -68833,13 +68865,13 @@ function $Oe({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMet
})
] });
}
-function eke({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
+function rke({ 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 ${JOe[n % 4]} ${YOe[n % 4]}`,
+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${ZOe[n % 4]} ${QOe[n % 4]}`,
children: /* @__PURE__ */ (0, I.jsx)(t, {
"aria-hidden": !0,
className: "size-4"
@@ -68860,96 +68892,96 @@ function eke({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
] });
}
// src/management.ts
-var k$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", A$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", j$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", M$ = "disabled data-skeleton-action", tke = "aria-disabled=\"true\"", N$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, P$ = (e, t, n) => `<div class="${S$[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", ike = "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 nke() {
- return N$(`<section aria-label="扫描与采集" class="${w$("stack")}" data-cleanup-task data-cleanup-processing>
- ${P$("扫描与采集", k$, "stack")}
- <footer class="${C$.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 ake() {
+ 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: M$
+ attrs: j$
})}${Ds({
glyph: "chevron-down",
- attrs: `${M$} aria-label="更多同步方式"`
+ attrs: `${j$} aria-label="更多同步方式"`
})}</span></footer>
</section>`);
}
-function rke() {
- return N$(`<section aria-label="媒体修复" class="${w$("split")}" data-cleanup-task data-cleanup-processing>
- ${P$("媒体修复", A$, "split")}
- <footer class="${C$.split}">${ks(j$, {
+function oke() {
+ 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: tke
+ attrs: ike
})}${Ds({
label: "开始修复",
- attrs: M$
+ attrs: j$
})}</footer>
</section>`);
}
-function ike() {
- let e = (e, t, n, r = "") => `<div class="${E$.face}"><span class="${E$.icon}">${ws(t, "size-5")}</span><span class="${E$.body}"><span class="${E$.title}">${e}</span><span class="${E$.summary}">${n}</span>${r ? `<span class="${E$.detail}">${r}</span>` : ""}</span>${ws("chevron-right", E$.arrow)}</div>`, t = (e, t) => `<div class="${D$()}"><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">${j$}</strong><span class="block min-h-4 text-caption-1-regular text-text-tertiary">${j$}</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 ske() {
+ 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="${O$}">${[
+ <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">${nke()}</div>
- <section class="flex flex-col gap-4">${n("整理与维护")}<div class="${T$}">${r(!1)}</div></section>
- <section class="flex flex-col gap-4">${n("清理与删除")}<div class="${T$}">${r(!0)}</div></section>
+ <div id="libraryProcessing" class="scroll-mt-20">${ake()}</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 ake = VH({
+var cke = BH({
padding: "none",
radius: "surface",
className: "overflow-hidden"
-}), oke = "border-t border-border-button-default p-4 first:border-t-0";
-function ske({ id: e, children: t }) {
+}), lke = "border-t border-border-button-default p-4 first:border-t-0";
+function uke({ 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 F$({ 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 I$({ 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: w$(e),
+ className: C$(e),
children: [/* @__PURE__ */ (0, I.jsx)("div", {
- className: S$[e],
+ className: x$[e],
children: a
}), i ? /* @__PURE__ */ (0, I.jsx)("footer", {
- className: C$[e],
+ className: S$[e],
children: i
}) : null]
});
}
// src/react/components/name-link.tsx
-function L$({ 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 R$({ 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)(L$, {
+ children: [t ? /* @__PURE__ */ (0, I.jsx)(I$, {
href: t,
children: e
}) : /* @__PURE__ */ (0, I.jsx)("span", {
@@ -68959,23 +68991,23 @@ function R$({ title: e, href: t, children: n }) {
});
}
// src/react/components/status-label.tsx
-var cke = {
+var dke = {
success: "lime",
progress: "blue",
warning: "yellow",
error: "rose",
neutral: "neutral"
};
-function z$({ tone: e = "neutral", ...t }) {
- return /* @__PURE__ */ (0, I.jsx)(oW, {
+function R$({ tone: e = "neutral", ...t }) {
+ return /* @__PURE__ */ (0, I.jsx)(aW, {
"data-status-tone": e,
variant: "caption",
- color: cke[e],
+ color: dke[e],
...t
});
}
// src/react/components/path-line.tsx
-function lke({ className: e }) {
+function fke({ className: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -68988,8 +69020,8 @@ function lke({ className: e }) {
children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-folder-open" })
});
}
-var uke = "打开文件管理器失败,请重试";
-function B$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
+var pke = "打开文件管理器失败,请重试";
+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;
@@ -69000,7 +69032,7 @@ function B$({ 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 : uke);
+ l.current && c(e instanceof or ? e.message : pke);
} finally {
l.current && o(!1);
}
@@ -69015,12 +69047,12 @@ function B$({ 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)(SL, {
- icon: lke,
+ children: [/* @__PURE__ */ (0, I.jsx)(xL, {
+ icon: fke,
size: "small",
"aria-label": "在资源管理器中显示",
onClick: () => void u(),
- ...kV(a)
+ ...OV(a)
}), r]
})]
}), s ? /* @__PURE__ */ (0, I.jsx)("p", {
@@ -69030,7 +69062,7 @@ function B$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
});
}
// src/react/library-processing/issue-export.ts
-async function dke(e, t) {
+async function mke(e, t) {
if (!e.job_id) throw Error("请先选择有问题记录的任务");
let n = [], r = 1, i = "";
for (let a = 0; a < r; a += 200) {
@@ -69053,69 +69085,69 @@ async function dke(e, t) {
rows: n
}, null, 2);
}
-function fke(e, t) {
+function hke(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 pke = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", mke = (e) => {
+var gke = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", _ke = (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(",")}。`;
-}, hke = (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} 部视频预览。` : "") + mke(e);
-function gke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = __e(e), o = kH(), s = kH(), [c, l] = (0, F.useState)(""), u = hH(e), d = e.status === "failed" && !!e.retryable_asset_ids?.length, f = m_e(e.notes || {}), p = !!t || !e.archived && e.status === "failed", m = !t && !e.archived && gH(e), h = p || !e.archived && !u && (!!f || !!e.issue_count), g = !u && !!e.job_id && !e.archived, _ = e.issues_log || "", v = pH(e), y = eH(), b = (t) => void s.run(t ? "archive" : "unarchive", (n) => V(dH, {
+}, vke = (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} 部视频预览。` : "") + _ke(e);
+function yke({ 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
}, "POST", n), (n) => {
- H.setQueryData(fH, n), l(t ? e.job_id : "");
+ H.setQueryData(dH, n), l(t ? e.job_id : "");
}), x = e.issue_count && !u ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- ...kV(!!o.busy),
- onClick: () => void o.run("export", (t) => dke(e, t), (t) => {
- fke(e.job_id, t), i("已导出问题清单");
+ ...OV(!!o.busy),
+ onClick: () => void o.run("export", (t) => mke(e, t), (t) => {
+ hke(e.job_id, t), i("已导出问题清单");
}),
children: "导出完整问题清单"
}) : null, S = p ? [
t || e.error || "处理未完成,请重试",
- m ? _H : "",
+ m ? gH : "",
f
].filter(Boolean).join("\n") : f || `这一趟有 ${(e.issue_count || 0).toLocaleString()} 项问题。`;
return /* @__PURE__ */ (0, I.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
children: [
- v ? /* @__PURE__ */ (0, I.jsx)(b_e, {
+ v ? /* @__PURE__ */ (0, I.jsx)(x_e, {
state: e,
slow: v
- }) : e.status === "running" && e.stalled ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ }) : e.status === "running" && e.stalled ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "warning",
title: "处理较慢",
- children: pke
+ children: gke
}) : null,
- n?.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ n?.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "success",
title: "处理完成",
- children: hke(n)
+ children: vke(n)
}) : null,
- (n ?? e).status === "cancelled" && !e.archived ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ (n ?? e).status === "cancelled" && !e.archived ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "neutral",
title: "已取消上次任务",
children: "已取得的资料和预览已保留,这一轮不会自动继续,需要时重新同步。"
}) : null,
- h ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ h ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: p ? m ? "warning" : "error" : "neutral",
className: "gap-0 p-3",
title: p ? m ? "处理已结束,部分项目需处理" : "处理未完成" : void 0,
action: /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- m ? /* @__PURE__ */ (0, I.jsx)(OH, {
- href: vH,
+ m ? /* @__PURE__ */ (0, I.jsx)(DH, {
+ href: _H,
size: "small",
- trailingIcon: PB,
+ trailingIcon: NB,
children: "查看全部内容"
}) : null,
d ? /* @__PURE__ */ (0, I.jsx)(J, {
@@ -69129,7 +69161,7 @@ function gke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
variant: "secondary",
size: "small",
"aria-label": "归档提示",
- ...kV(!!s.busy),
+ ...OV(!!s.busy),
onClick: () => b(!0),
children: "归档"
}) : null
@@ -69137,7 +69169,7 @@ function gke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}),
extra: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [a ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "-mx-3 mt-3 border-t border-current/20 px-3 pt-3",
- children: /* @__PURE__ */ (0, I.jsx)(eU, {
+ children: /* @__PURE__ */ (0, I.jsx)($H, {
summary: a.label,
contentClassName: "gap-0",
children: /* @__PURE__ */ (0, I.jsx)("div", {
@@ -69145,7 +69177,7 @@ function gke({ 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)(R$, {
+ children: a.items.map((e) => /* @__PURE__ */ (0, I.jsxs)(L$, {
title: e.label,
href: e.href,
children: [/* @__PURE__ */ (0, I.jsx)("span", {
@@ -69161,7 +69193,7 @@ function gke({ 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)(B$, {
+ children: /* @__PURE__ */ (0, I.jsx)(z$, {
path: _,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -69174,70 +69206,70 @@ function gke({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}) : null] }),
children: S
}) : null,
- e.archived && c === e.job_id && !t ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ e.archived && c === e.job_id && !t ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "neutral",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- ...kV(!!s.busy),
+ ...OV(!!s.busy),
onClick: () => b(!1),
children: "撤销"
}),
children: "已归档上一趟的问题提示,完整记录仍保留。"
}) : null,
- o.error || s.error ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ o.error || s.error ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "warning",
children: o.error || s.error
}) : null
]
});
}
-function V$(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = BH(e), o = Ft({
- mutationFn: (e) => V(dH, 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) => {
- a(), H.setQueryData(fH, e), H.invalidateQueries({ queryKey: fH });
+ a(), H.setQueryData(dH, e), H.invalidateQueries({ queryKey: dH });
}
});
(0, F.useEffect)(() => {
i && n?.();
}, [i, n]);
- let s = r.data ?? { status: "idle" }, c = s.job_id || "unavailable", { hidden: l } = gU(c), u = o.error ? cr(o.error) : r.isError ? r.data ? SH : cr(r.error) : "", d = o.isPending || hH(s), f = async (e) => {
+ let s = r.data ?? { status: "idle" }, c = s.job_id || "unavailable", { hidden: l } = hU(c), u = o.error ? cr(o.error) : r.isError ? r.data ? xH : cr(r.error) : "", d = o.isPending || mH(s), f = async (e) => {
d || (o.reset(), await o.mutateAsync(e));
};
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, I.jsx)(I$, {
+ children: [/* @__PURE__ */ (0, I.jsx)(F$, {
layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(OH, {
+ /* @__PURE__ */ (0, I.jsx)(DH, {
href: "/sources",
size: "small",
- trailingIcon: PB,
+ trailingIcon: NB,
children: "来源和凭证"
}),
- /* @__PURE__ */ (0, I.jsx)(OH, {
+ /* @__PURE__ */ (0, I.jsx)(DH, {
href: "/settings/diagnostics",
size: "small",
- trailingIcon: PB,
+ trailingIcon: NB,
children: "诊断与日志"
}),
- s.candidates ? /* @__PURE__ */ (0, I.jsx)(OH, {
+ s.candidates ? /* @__PURE__ */ (0, I.jsx)(DH, {
href: "/review",
size: "small",
- trailingIcon: PB,
+ trailingIcon: NB,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, I.jsx)(ZK, {
+ /* @__PURE__ */ (0, I.jsx)(XK, {
scan: !0,
busy: o.isPending,
- occupied: hH(s),
+ occupied: mH(s),
metadataOnly: s?.metadata_only,
speedMode: s.speed_mode,
pendingCount: s.new_asset_count,
onRun: f,
- onOccupied: () => t(f_e(s))
+ onOccupied: () => t(p_e(s))
})
] }),
children: /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -69247,7 +69279,7 @@ function V$(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)(F$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, I.jsx)(oW, {
+ 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", {
@@ -69255,31 +69287,31 @@ function V$(e) {
children: [s.new_asset_count.toLocaleString(), " 部待补全"]
})
}) : null]
- }), l && (hH(s) || s.status === "failed" || r.isError) ? /* @__PURE__ */ (0, I.jsx)(J, {
+ }), l && (mH(s) || s.status === "failed" || r.isError) ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- onClick: () => hU(c, !0),
+ onClick: () => mU(c, !0),
children: "显示进度浮窗"
}) : null]
}),
/* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: k$
+ children: O$
}),
s.status === "paused" && !s.total ? /* @__PURE__ */ (0, I.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, I.jsx)(z$, { children: "已暂停" })
- }) : hH(s) ? /* @__PURE__ */ (0, I.jsx)(F_e, { state: s }) : null,
- hH(s) ? /* @__PURE__ */ (0, I.jsx)("p", {
+ children: /* @__PURE__ */ (0, I.jsx)(R$, { children: "已暂停" })
+ }) : mH(s) ? /* @__PURE__ */ (0, I.jsx)(I_e, { state: s }) : null,
+ mH(s) ? /* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular text-text-secondary tabular-nums",
"data-processing-eta": "",
- children: yH(s)
+ children: vH(s)
}) : null,
- hH(s) ? /* @__PURE__ */ (0, I.jsx)(cU, { traffic: s.traffic }) : null,
- hH(s) ? /* @__PURE__ */ (0, I.jsx)(zH, { state: s }) : null
+ mH(s) ? /* @__PURE__ */ (0, I.jsx)(sU, { traffic: s.traffic }) : null,
+ mH(s) ? /* @__PURE__ */ (0, I.jsx)(RH, { state: s }) : null
]
})
- }), /* @__PURE__ */ (0, I.jsx)(gke, {
+ }), /* @__PURE__ */ (0, I.jsx)(yke, {
state: s,
problem: u,
settled: i,
@@ -69294,32 +69326,32 @@ function V$(e) {
});
}
// src/react/playlists/playlists.ts
-var _ke = "/api/playlists", H$ = "/api/playlist", U$ = ["playlists"], W$ = (e) => B(_ke, e);
-async function vke(e) {
+var bke = "/api/playlists", V$ = "/api/playlist", H$ = ["playlists"], U$ = (e) => B(bke, e);
+async function xke(e) {
await H.fetchQuery({
- queryKey: U$,
- queryFn: () => W$(e),
+ queryKey: H$,
+ queryFn: () => U$(e),
staleTime: 0
});
}
-var yke = () => H.invalidateQueries({
- queryKey: U$,
+var Ske = () => H.invalidateQueries({
+ queryKey: H$,
exact: !0
-}), bke = (e) => e.current_asset_id || e.preview_asset_id || null, xke = (e) => `/poster?id=${e}&c=4`, Ske = (e) => V(H$, {
+}), Cke = (e) => e.current_asset_id || e.preview_asset_id || null, wke = (e) => `/poster?id=${e}&c=4`, Tke = (e) => V(V$, {
action: "create",
name: e,
asset_ids: []
-}), Cke = (e, t) => V(H$, {
+}), Eke = (e, t) => V(V$, {
action: "rename",
id: e,
name: t
-}), wke = (e) => V(H$, {
+}), Dke = (e) => V(V$, {
action: "delete",
id: e
-}), Tke = (e) => B(`${H$}?id=${e}`).catch(() => null);
-function Eke(e) {
+}), Oke = (e) => B(`${V$}?id=${e}`).catch(() => null);
+function kke(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return V(H$, {
+ return V(V$, {
action: "create",
name: e.name,
asset_ids: t,
@@ -69328,9 +69360,13 @@ function Eke(e) {
});
}
// src/react/scraping/custom-source-data.ts
-var G$ = "/api/custom-metadata", K$ = ["custom-metadata"], q$ = (e) => B(G$, e), Dke = "/api/scraping", Oke = "/api/scraping/settings", kke = "/api/scraping/check", J$ = "/api/scraping/cover", Ake = "/api/scraping/amane-bridge", jke = "/api/scraping/amane-bridge/check", Mke = "/api/scraping/amane-bridge/rebuild", Y$ = ["scraping"], X$ = ["scraping", "cover"], Z$ = ["scraping", "amane-bridge"], Nke = 262144, Q$ = (e) => B(Dke, e), $$ = (e) => B(J$, e), e1 = (e) => B(Ake, e);
-async function Pke(e) {
+var W$ = "/api/custom-metadata", G$ = ["custom-metadata"], K$ = (e) => B(W$, e), Ake = "/api/scraping", jke = "/api/scraping/settings", Mke = "/api/scraping/check", q$ = "/api/scraping/cover", Nke = "/api/scraping/amane-bridge", Pke = "/api/scraping/amane-bridge/check", Fke = "/api/scraping/amane-bridge/rebuild", J$ = ["scraping"], Y$ = ["scraping", "cover"], X$ = ["scraping", "amane-bridge"], Ike = 262144, Z$ = (e) => B(Ake, e), Q$ = (e) => B(q$, e), $$ = (e) => B(Nke, e);
+async function Lke(e) {
await Promise.all([
+ H.fetchQuery({
+ queryKey: J$,
+ queryFn: () => Z$(e)
+ }),
H.fetchQuery({
queryKey: Y$,
queryFn: () => Q$(e)
@@ -69340,40 +69376,36 @@ async function Pke(e) {
queryFn: () => $$(e)
}),
H.fetchQuery({
- queryKey: Z$,
- queryFn: () => e1(e)
- }),
- H.fetchQuery({
- queryKey: K$,
- queryFn: () => q$(e)
+ queryKey: G$,
+ queryFn: () => K$(e)
})
]);
}
-function Fke(e, t) {
+function Rke(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 t1 = /* @__PURE__ */ new Set([
+var e1 = /* @__PURE__ */ new Set([
"performer",
"creator",
"studio",
"agency",
"series"
-]), n1 = /* @__PURE__ */ new Set([
+]), t1 = /* @__PURE__ */ new Set([
"asset",
"jav",
"post",
"photo",
"release"
-]), r1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
-function Ike({ 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 zke({ 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 || r1(t).includes(r1(e)));
+ }, d = t.filter((t) => !e || n1(t).includes(n1(e)));
if (!e) {
if (s.length) {
let e = s.map((e) => ({
@@ -69394,8 +69426,8 @@ function Ike({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
value: e
}))
} : null,
- left: e.filter((e) => !n1.has(e.kind)),
- right: e.filter((e) => n1.has(e.kind)),
+ left: e.filter((e) => !t1.has(e.kind)),
+ right: e.filter((e) => t1.has(e.kind)),
empty: !1,
options: l
};
@@ -69445,7 +69477,7 @@ function Ike({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: n,
more: r
};
- }, g = m.filter((e) => !n1.has(e.kind)).map(h), _ = m.filter((e) => n1.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,
@@ -69455,16 +69487,16 @@ function Ike({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: l
};
}
-function Lke(e, t, n = Math.random) {
+function Bke(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) => r1(t) === r1(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 Rke = () => ({
+var Vke = () => ({
dismissed: !1,
history: [],
pool: [],
@@ -69483,7 +69515,7 @@ var Rke = () => ({
active: -1,
reveal: !1,
rewind: !1
-}), i1 = (e) => Ike({
+}), r1 = (e) => zke({
query: e.query,
history: e.history,
picks: e.picks,
@@ -69492,18 +69524,18 @@ var Rke = () => ({
tabs: e.tabs,
kind: e.kind,
recommendations: e.recommendations
-}), zke = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), a1 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
+}), Hke = (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 Bke(e) {
+function Uke(e) {
let t = (0, F.useRef)(e);
t.current = e;
let n = (0, F.useRef)(null);
- n.current ??= Rke();
+ n.current ??= Vke();
let r = n.current, i = (0, F.useRef)(null), [, a] = (0, F.useReducer)((e) => e + 1, 0), o = (0, F.useRef)(null);
- o.current ??= Vke(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
+ o.current ??= Wke(() => 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 = () => {
@@ -69518,7 +69550,7 @@ function Bke(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 = i1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, I.jsx)(Uke, {
+ let c = r1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, I.jsx)(Kke, {
entry: t,
active: t.index === r.active,
helpers: e.helpers,
@@ -69531,7 +69563,7 @@ function Bke(e) {
children: [
/* @__PURE__ */ (0, I.jsxs)("h3", { children: [e.label, e.href ? /* @__PURE__ */ (0, I.jsx)("a", {
href: e.href,
- onMouseDown: o1,
+ onMouseDown: a1,
onClick: (t) => {
t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));
},
@@ -69550,7 +69582,7 @@ function Bke(e) {
"data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,
"data-history-limit": l,
children: [
- c.tabs ? /* @__PURE__ */ (0, I.jsx)(Hke, {
+ c.tabs ? /* @__PURE__ */ (0, I.jsx)(Gke, {
tabs: c.tabs,
kind: r.kind,
onPick: s.pickKind,
@@ -69577,7 +69609,7 @@ function Bke(e) {
]
});
}
-function Vke(e, t, n, r) {
+function Wke(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 () => {
@@ -69588,7 +69620,7 @@ function Vke(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) => r1(e) !== r1(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 = [];
@@ -69635,9 +69667,9 @@ function Vke(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 ? [] : Lke(t.pool, o()), t.active = -1;
+ t.query = i().value.trim(), t.picks = t.query ? [] : Bke(t.pool, o()), t.active = -1;
let a = n();
- a && (zke(i1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
+ a && (Hke(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();
@@ -69649,7 +69681,7 @@ function Vke(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() ? i1(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) => {
@@ -69658,7 +69690,7 @@ function Vke(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" && t1.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);
};
@@ -69704,13 +69736,13 @@ function Vke(e, t, n, r) {
await V("/api/search-history", {
operation: "remove",
query: e
- }).catch(() => null), s(o().filter((t) => r1(t) !== r1(e))), t.active = -1, r();
+ }).catch(() => null), s(o().filter((t) => n1(t) !== n1(e))), t.active = -1, r();
},
pickKind: _,
openPath: C
};
}
-function Hke({ tabs: e, kind: t, onPick: n, wire: r }) {
+function Gke({ tabs: e, kind: t, onPick: n, wire: r }) {
let i = (0, F.useRef)(null);
(0, F.useLayoutEffect)(() => {
r(i.current);
@@ -69724,9 +69756,9 @@ function Hke({ 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)(FW, { value: i }) : null]
+ children: [r, i ? /* @__PURE__ */ (0, I.jsx)(PW, { value: i }) : null]
}, e || "all");
- return /* @__PURE__ */ (0, I.jsxs)(ZI, {
+ return /* @__PURE__ */ (0, I.jsxs)(XI, {
ref: i,
"data-search-tabs": "",
"data-pill-nav": "",
@@ -69735,9 +69767,9 @@ function Hke({ tabs: e, kind: t, onPick: n, wire: r }) {
children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]
});
}
-var o1 = (e) => e.preventDefault();
-function Uke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
- yL();
+var a1 = (e) => e.preventDefault();
+function Kke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
+ vL();
let o = {
"data-search-value": e.value,
"data-active": t ? "" : void 0,
@@ -69749,33 +69781,33 @@ function Uke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
type: "button",
"data-search-option": "more",
...o,
- onMouseDown: o1,
+ onMouseDown: a1,
children: [
"查看全部 ",
e.total.toLocaleString(),
" 个视频",
- /* @__PURE__ */ (0, I.jsx)(a1, { 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)(a1, { 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: o1,
+ onMouseDown: a1,
onClick: (t) => {
t.stopPropagation(), a(e.value);
},
- children: /* @__PURE__ */ (0, I.jsx)(a1, { name: "x" })
+ children: /* @__PURE__ */ (0, I.jsx)(i1, { name: "x" })
}) : null
]
});
- let { item: s, kind: c } = e, l = t1.has(c) ? c : void 0;
+ let { item: s, kind: c } = e, l = e1.has(c) ? c : void 0;
if ([
"asset",
"jav",
@@ -69789,8 +69821,8 @@ function Uke({ 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: o1,
- children: [/* @__PURE__ */ (0, I.jsx)(s1, {
+ onMouseDown: a1,
+ children: [/* @__PURE__ */ (0, I.jsx)(o1, {
card: s.card,
helpers: n
}), /* @__PURE__ */ (0, I.jsxs)("span", {
@@ -69815,9 +69847,9 @@ function Uke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-search-option": "person",
"data-open-entity": l,
...o,
- onMouseDown: o1,
+ onMouseDown: a1,
children: [
- /* @__PURE__ */ (0, I.jsx)(c1, {
+ /* @__PURE__ */ (0, I.jsx)(s1, {
item: s,
kind: c
}),
@@ -69840,11 +69872,11 @@ function Uke({ 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: o1,
+ onMouseDown: a1,
onClick: (t) => {
t.stopPropagation(), i(e);
},
- children: /* @__PURE__ */ (0, I.jsx)(s1, {
+ children: /* @__PURE__ */ (0, I.jsx)(o1, {
card: e,
helpers: n
})
@@ -69858,7 +69890,7 @@ function Uke({ 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)(c1, {
+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, I.jsx)(s1, {
item: s,
kind: c
}) : null,
@@ -69871,13 +69903,13 @@ function Uke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
]
});
}
-function s1({ 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 c1({ 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 }
@@ -69896,24 +69928,24 @@ function c1({ item: e, kind: t }) {
});
}
// src/react/settings/configuration.ts
-var l1 = ["configuration"], u1 = (e) => B(oX, e);
-async function Wke(e) {
+var c1 = ["configuration"], l1 = (e) => B(aX, e);
+async function qke(e) {
await H.fetchQuery({
- queryKey: l1,
- queryFn: () => u1(e)
+ queryKey: c1,
+ queryFn: () => l1(e)
});
}
// src/react/settings-panel/legacy-controls.tsx
-var d1 = (e) => e.map(([e, t, n]) => n ? [
+var u1 = (e) => e.map(([e, t, n]) => n ? [
e,
t,
n
] : [e, t]);
-function f1({ 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, d1(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
@@ -69931,13 +69963,13 @@ function f1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:
ref: u
});
}
-function p1({ 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(d1(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;
}
@@ -69950,7 +69982,7 @@ function p1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a =
"aria-describedby": s
});
}
-function Gke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
+function Jke({ 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
@@ -69984,7 +70016,7 @@ function Gke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet
});
}
// src/react/settings-panel/glow-settings.tsx
-var Kke = [
+var Yke = [
[
"strength",
"强度",
@@ -70011,8 +70043,8 @@ var Kke = [
100
]
];
-function qke({ host: e, spot: t, index: n, glow: r }) {
- let i = Zce[n], a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = eH(), [l, u] = (0, F.useState)("all");
+function Xke({ 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");
(0, F.useLayoutEffect)(() => {
let [e, t, n] = [
a.current,
@@ -70025,7 +70057,7 @@ function qke({ host: e, spot: t, index: n, glow: r }) {
}, []);
let d = r[t].color, f = (n) => {
let r = e.store.value.homeGlow;
- r[t].color = nM(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), as(), o.current?.focus();
+ r[t].color = rM(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,
@@ -70062,7 +70094,7 @@ function qke({ host: e, spot: t, index: n, glow: r }) {
"data-glow-pills": "",
role: "group",
"aria-label": "色系",
- children: ele.map(([e, t]) => /* @__PURE__ */ (0, I.jsx)("button", {
+ children: $ce.map(([e, t]) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-glow-pill": e,
"aria-pressed": e === l,
@@ -70076,7 +70108,7 @@ function qke({ host: e, spot: t, index: n, glow: r }) {
"data-glow-palette": "",
role: "radiogroup",
"aria-label": `${i}颜色`,
- children: tle.map(([e, t, n]) => /* @__PURE__ */ (0, I.jsx)("button", {
+ children: ele.map(([e, t, n]) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
role: "radio",
"aria-checked": n === d,
@@ -70093,8 +70125,8 @@ function qke({ host: e, spot: t, index: n, glow: r }) {
})]
});
}
-function Jke({ host: e }) {
- let t = e.store.value.homeGlow, n = Yj(t.preset);
+function Zke({ host: e }) {
+ let t = e.store.value.homeGlow, n = Xj(t.preset);
return /* @__PURE__ */ (0, I.jsxs)("section", {
"data-glow-setting": "",
id: "homeGlowControls",
@@ -70113,10 +70145,10 @@ function Jke({ host: e }) {
"data-glow-current": "",
children: ["当前配色", /* @__PURE__ */ (0, I.jsx)("b", {
"data-glow-preset-name": "",
- children: Qce(t.preset)
+ children: Zce(t.preset)
})]
}),
- /* @__PURE__ */ (0, I.jsx)(KM, {
+ /* @__PURE__ */ (0, I.jsx)(qM, {
store: e.store,
label: "光晕配色"
}),
@@ -70127,7 +70159,7 @@ function Jke({ host: e }) {
}),
/* @__PURE__ */ (0, I.jsx)("div", {
"data-glow-fields": "",
- children: Kke.map(([r, i, a]) => /* @__PURE__ */ (0, I.jsx)(Gke, {
+ children: Yke.map(([r, i, a]) => /* @__PURE__ */ (0, I.jsx)(Jke, {
field: r,
label: i,
max: a,
@@ -70148,7 +70180,7 @@ function Jke({ host: e }) {
className: "geist-button",
"data-glow-reset": "",
onClick: () => {
- e.store.value.homeGlow = iM(null), e.store.save(), e.changed("glow");
+ e.store.value.homeGlow = aM(null), e.store.save(), e.changed("glow");
},
children: "恢复默认"
})
@@ -70167,7 +70199,7 @@ function Jke({ host: e }) {
"data-glow-colour-card": "",
children: /* @__PURE__ */ (0, I.jsx)("div", {
"data-glow-stops": "",
- children: Kj.map((n, r) => /* @__PURE__ */ (0, I.jsx)(qke, {
+ children: qj.map((n, r) => /* @__PURE__ */ (0, I.jsx)(Xke, {
host: e,
spot: n,
index: r,
@@ -70179,7 +70211,7 @@ function Jke({ host: e }) {
});
}
// src/react/settings-panel/number-setting.tsx
-var Yke = {
+var Qke = {
batchSizeSetting: {
min: 1,
max: 200,
@@ -70226,22 +70258,22 @@ var Yke = {
optional: !0,
fallback: 60
}
-}, m1 = (e) => `peach.number.${e}`;
-function h1(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 g1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
- let a = Yke[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, F.useRef)(0);
- d.current ||= Fj(Number(localStorage.getItem(m1(e))), o, s, n && n > 0 ? n : l);
+function h1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
+ let a = Qke[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(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(m1(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;
@@ -70251,7 +70283,7 @@ function g1({ 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(m1(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": "",
@@ -70288,7 +70320,7 @@ function g1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
}), /* @__PURE__ */ (0, I.jsxs)("span", {
"aria-hidden": "true",
- children: [c, h1(Number(m), c) ? ` · ${h1(Number(m), c)}` : ""]
+ children: [c, m1(Number(m), c) ? ` · ${m1(Number(m), c)}` : ""]
})]
}), /* @__PURE__ */ (0, I.jsx)("small", {
id: `${e}-error`,
@@ -70301,13 +70333,13 @@ function g1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
});
}
// src/react/sidebar/sidebar-order.ts
-function _1(e) {
- let { mutate: t } = vX();
+function g1(e) {
+ let { mutate: t } = _X();
return (0, F.useCallback)((n) => {
e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });
}, [e, t]);
}
-function v1(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;
@@ -70316,17 +70348,17 @@ function v1(e, t, n, r) {
return o < 0 ? null : (i.splice(o + +!!r, 0, t), i);
}
// src/react/settings-panel/sidebar-order.tsx
-var Xke = "__home__", y1 = (e) => e === "" ? Xke : e;
-function Zke({ host: e }) {
- let t = _1(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 = v1(n, e, r, i);
+var $ke = "__home__", v1 = (e) => e === "" ? $ke : e;
+function eAe({ 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]) => y1(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;
@@ -70347,7 +70379,7 @@ function Zke({ host: e }) {
}, C = (e) => ({
draggable: !0,
onDragStart: (t) => {
- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", y1(e));
+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", v1(e));
},
onDragOver: (t) => {
if (u === null || u === e) return;
@@ -70421,7 +70453,7 @@ function Zke({ host: e }) {
})
]
})]
- }, y1(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": "",
@@ -70454,15 +70486,15 @@ function Zke({ host: e }) {
children: a.map(([e, t, n]) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
role: "option",
- "data-sidebar-add-option": y1(e),
+ "data-sidebar-add-option": v1(e),
"aria-selected": v?.[0] === e,
tabIndex: v?.[0] === e ? 0 : -1,
onKeyDown: x,
onClick: () => {
- s(y1(e)), y(), m.current?.focus();
+ s(v1(e)), y(), m.current?.focus();
},
children: [/* @__PURE__ */ (0, I.jsx)(YF, { name: n ?? "" }), /* @__PURE__ */ (0, I.jsx)("span", { children: t })]
- }, y1(e)))
+ }, v1(e)))
}) : null]
}), /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -70478,13 +70510,13 @@ function Zke({ host: e }) {
});
}
// src/react/settings-panel/settings-panel.tsx
-var b1 = [
+var y1 = [
["外观与导航", "ri-palette-line"],
["浏览与播放", "ri-play-circle-line"],
["JAV 与新作", "jav"],
["搜索与推荐", "ri-search-line"],
["内容显示", "ri-shield-check-line"]
-], Qke = [
+], tAe = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -70493,7 +70525,7 @@ var b1 = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], $ke = [["desc", "降序"], ["asc", "升序"]], eAe = [[
+], nAe = [["desc", "降序"], ["asc", "升序"]], rAe = [[
"cover",
"官方封面",
""
@@ -70501,7 +70533,7 @@ var b1 = [
"thumbnail",
"预览图",
""
-]], tAe = [
+]], iAe = [
[
"feedHideGroupSetting",
"feedHideGroupCompilations",
@@ -70520,88 +70552,88 @@ var b1 = [
"切片",
"隐藏切片"
]
-], nAe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", x1 = null, S1 = {
+], aAe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", b1 = null, x1 = {
open: !1,
closing: !1,
epoch: 0,
tab: 0,
configurable: null
-}, C1 = 0, w1 = null, T1 = /* @__PURE__ */ new Set();
-function rAe(e) {
- return T1.add(e), () => {
- T1.delete(e);
+}, S1 = 0, C1 = null, w1 = /* @__PURE__ */ new Set();
+function oAe(e) {
+ return w1.add(e), () => {
+ w1.delete(e);
};
}
-function iAe() {
- for (let e of [...T1]) e();
+function sAe() {
+ for (let e of [...w1]) e();
}
-function E1(e) {
- S1 = {
- ...S1,
+function T1(e) {
+ x1 = {
+ ...x1,
...e
- }, (0, Lt.flushSync)(iAe);
+ }, (0, Lt.flushSync)(sAe);
}
-async function aAe(e) {
- let t = S1.epoch, n = await e.configurable();
- S1.open && S1.epoch === t && E1({ configurable: n });
+async function cAe(e) {
+ let t = x1.epoch, n = await e.configurable();
+ x1.open && x1.epoch === t && T1({ configurable: n });
}
-function oAe(e = "") {
- let t = x1;
+function lAe(e = "") {
+ let t = b1;
if (!t) return;
- let n = b1.findIndex(([t]) => t === e);
- if (S1.open && !S1.closing) {
- n >= 0 && n !== S1.tab && E1({ tab: n });
+ let n = y1.findIndex(([t]) => t === e);
+ if (x1.open && !x1.closing) {
+ n >= 0 && n !== x1.tab && T1({ tab: n });
return;
}
- as(), C1 += 1, w1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
- let r = Gwe();
- E1({
+ as(), S1 += 1, C1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
+ let r = Jwe();
+ T1({
open: !0,
closing: !1,
configurable: null,
- epoch: S1.epoch + 1,
- tab: n >= 0 ? n : S1.tab
+ epoch: x1.epoch + 1,
+ tab: n >= 0 ? n : x1.tab
}), r.then((e) => {
e && t.syncRemote(e);
- }), aAe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
+ }), cAe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
}
-function D1(e = !0) {
- if (!S1.open || S1.closing) return;
- let t = ++C1;
- e && x1?.closed?.(), E1({ closing: !0 });
+function E1(e = !0) {
+ if (!x1.open || x1.closing) return;
+ let t = ++S1;
+ e && b1?.closed?.(), T1({ closing: !0 });
let n = () => {
- t === C1 && S1.closing && (E1({
+ t === S1 && x1.closing && (T1({
open: !1,
closing: !1
- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), w1 instanceof HTMLElement && document.contains(w1) && w1.focus(), w1 = 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 sAe = {
- open: oAe,
- close: D1,
- isOpen: () => S1.open,
+var uAe = {
+ open: lAe,
+ close: E1,
+ isOpen: () => x1.open,
reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))
};
-function cAe(e) {
- return x1 = e, sAe;
+function dAe(e) {
+ return b1 = e, uAe;
}
-function lAe() {
- let e = (0, F.useSyncExternalStore)(rAe, () => S1);
- return x1 ? /* @__PURE__ */ (0, I.jsx)(fAe, {
- host: x1,
+function fAe() {
+ let e = (0, F.useSyncExternalStore)(oAe, () => x1);
+ return b1 ? /* @__PURE__ */ (0, I.jsx)(hAe, {
+ host: b1,
view: e
}) : null;
}
-function uAe(e) {
+function pAe(e) {
if (e.key !== "Tab") return;
- let t = [...e.currentTarget.querySelectorAll(nAe)].filter((e) => e.getClientRects().length > 0);
+ let t = [...e.currentTarget.querySelectorAll(aAe)].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 O1 = (e) => `settings-tab-${e}`, k1 = (e) => `settings-group-${e}`;
-function dAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
+var D1 = (e) => `settings-tab-${e}`, O1 = (e) => `settings-group-${e}`;
+function mAe({ 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;
@@ -70629,7 +70661,7 @@ function dAe({ 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 = b1.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;
@@ -70658,11 +70690,11 @@ function dAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
role: "presentation",
children: "设置"
}),
- b1.map(([t, n], r) => /* @__PURE__ */ (0, I.jsxs)("button", {
+ y1.map(([t, n], r) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
role: "tab",
- id: O1(r),
- "aria-controls": k1(r),
+ id: D1(r),
+ "aria-controls": O1(r),
"aria-selected": r === e,
tabIndex: r === e ? 0 : -1,
ref: (e) => {
@@ -70693,17 +70725,17 @@ function dAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
]
});
}
-function A1({ 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: k1(e),
+ id: O1(e),
role: "tabpanel",
- "aria-labelledby": O1(e),
+ "aria-labelledby": D1(e),
hidden: e !== t,
children: [
- /* @__PURE__ */ (0, I.jsx)("h3", { children: b1[e][0] }),
- /* @__PURE__ */ (0, I.jsx)(Eve, { chapter: [
+ /* @__PURE__ */ (0, I.jsx)("h3", { children: y1[e][0] }),
+ /* @__PURE__ */ (0, I.jsx)(Dve, { chapter: [
"appearance",
"playback",
"jav-settings",
@@ -70714,7 +70746,7 @@ function A1({ index: e, tab: t, children: n, cards: r = !1 }) {
]
});
}
-function j1({ 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", {
@@ -70731,7 +70763,7 @@ function j1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se
})]
});
}
-function M1({ 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,
@@ -70739,7 +70771,7 @@ function M1({ 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 fAe({ host: e, view: t }) {
+function hAe({ 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];
@@ -70760,7 +70792,7 @@ function fAe({ host: e, view: t }) {
s.current?.();
});
let d = t.epoch, f = (t) => {
- t !== S1.tab && (E1({ tab: t }), e.selectSection?.(b1[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": "",
@@ -70771,9 +70803,9 @@ function fAe({ host: e, view: t }) {
"aria-labelledby": "settingsTitle",
"data-closing": t.closing ? "" : void 0,
ref: r,
- onKeyDown: uAe,
+ onKeyDown: pAe,
onClick: (e) => {
- e.target === e.currentTarget && D1();
+ e.target === e.currentTarget && E1();
},
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-settings-card": "",
@@ -70784,27 +70816,27 @@ function fAe({ host: e, view: t }) {
ref: a,
children: [/* @__PURE__ */ (0, I.jsx)("h2", {
id: "settingsTitle",
- children: b1[t.tab][0]
- }), /* @__PURE__ */ (0, I.jsx)(OV, {
+ children: y1[t.tab][0]
+ }), /* @__PURE__ */ (0, I.jsx)(DV, {
id: "settingsClose",
label: "关闭设置",
- onPress: () => D1()
+ onPress: () => E1()
})]
}),
- /* @__PURE__ */ (0, I.jsx)(dAe, {
+ /* @__PURE__ */ (0, I.jsx)(mAe, {
tab: t.tab,
epoch: d,
configurable: t.configurable,
onSelect: f,
openConfiguration: () => {
- D1(!1), e.openConfiguration();
+ E1(!1), e.openConfiguration();
}
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-settings-scroll": "",
ref: o,
children: [
- /* @__PURE__ */ (0, I.jsxs)(A1, {
+ /* @__PURE__ */ (0, I.jsxs)(k1, {
index: 0,
tab: t.tab,
cards: !0,
@@ -70812,9 +70844,9 @@ function fAe({ host: e, view: t }) {
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-setting-card": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(j1, {
title: "主题",
- children: /* @__PURE__ */ (0, I.jsx)(f1, {
+ children: /* @__PURE__ */ (0, I.jsx)(d1, {
id: "themeSetting",
name: "theme",
legend: "主题",
@@ -70842,7 +70874,7 @@ function fAe({ host: e, view: t }) {
onChange: (t) => e.setHighContrast(t.target.checked)
})]
}),
- /* @__PURE__ */ (0, I.jsx)(j1, {
+ /* @__PURE__ */ (0, I.jsx)(A1, {
id: "uiSoundsSetting",
title: "界面音效",
checked: n.uiSounds,
@@ -70850,7 +70882,7 @@ function fAe({ host: e, view: t }) {
n.uiSounds = t, p(), e.changed("uiSounds");
}
}),
- /* @__PURE__ */ (0, I.jsx)(j1, {
+ /* @__PURE__ */ (0, I.jsx)(A1, {
id: "homeGlowSetting",
title: "侧栏光晕",
checked: n.homeGlow.on,
@@ -70860,7 +70892,7 @@ function fAe({ host: e, view: t }) {
})
]
}),
- /* @__PURE__ */ (0, I.jsx)(Jke, { host: e }),
+ /* @__PURE__ */ (0, I.jsx)(Zke, { host: e }),
/* @__PURE__ */ (0, I.jsxs)("section", {
"data-setting-block": "",
"aria-labelledby": "sidebarOrderTitle",
@@ -70872,35 +70904,35 @@ function fAe({ host: e, view: t }) {
"data-setting-card": "",
children: /* @__PURE__ */ (0, I.jsx)("section", {
"data-sidebar-setting": "",
- children: /* @__PURE__ */ (0, I.jsx)(Zke, { host: e })
+ children: /* @__PURE__ */ (0, I.jsx)(eAe, { host: e })
})
})]
})
]
}),
- /* @__PURE__ */ (0, I.jsx)(mAe, {
+ /* @__PURE__ */ (0, I.jsx)(_Ae, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, I.jsx)(hAe, {
+ /* @__PURE__ */ (0, I.jsx)(vAe, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, I.jsxs)(A1, {
+ /* @__PURE__ */ (0, I.jsxs)(k1, {
index: 3,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, I.jsx)(yAe, {
+ /* @__PURE__ */ (0, I.jsx)(SAe, {
host: e,
epoch: d
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(j1, {
title: "相关推荐数量",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "relatedLimitSetting",
- children: /* @__PURE__ */ (0, I.jsx)(g1, {
+ children: /* @__PURE__ */ (0, I.jsx)(h1, {
id: "relatedLimitSetting",
label: "相关推荐数量",
value: n.relatedLimit,
@@ -70910,24 +70942,24 @@ function fAe({ host: e, view: t }) {
}, d)
})
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(j1, {
title: "口味与记录",
children: /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, I.jsx)(PL, {
+ children: /* @__PURE__ */ (0, I.jsx)(NL, {
variant: "secondary",
href: "/taste",
- onClick: () => D1(!1),
+ onClick: () => E1(!1),
children: "打开口味与记录"
})
})
})
]
}),
- /* @__PURE__ */ (0, I.jsx)(A1, {
+ /* @__PURE__ */ (0, I.jsx)(k1, {
index: 4,
tab: t.tab,
- children: /* @__PURE__ */ (0, I.jsx)(j1, {
+ children: /* @__PURE__ */ (0, I.jsx)(A1, {
id: "censorSetting",
title: "SFW 模式",
describedBy: "sfwDescription",
@@ -70942,7 +70974,7 @@ function fAe({ host: e, view: t }) {
})
});
}
-function pAe(e, t) {
+function gAe(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", {
@@ -70952,9 +70984,9 @@ function pAe(e, t) {
let r = n.querySelector("[data-sort-direction-label]");
r && (r.textContent = t ? "升序" : "降序");
}
-function mAe({ host: e, tab: t, epoch: n }) {
+function _Ae({ 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)(A1, {
+ return /* @__PURE__ */ (0, I.jsxs)(k1, {
index: 1,
tab: t,
children: [
@@ -70962,11 +70994,11 @@ function mAe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "作品列表"
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(j1, {
title: "每批加载作品",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "batchSizeSetting",
- children: /* @__PURE__ */ (0, I.jsx)(g1, {
+ children: /* @__PURE__ */ (0, I.jsx)(h1, {
id: "batchSizeSetting",
label: "每批作品",
value: r.batchSize,
@@ -70976,24 +71008,24 @@ function mAe({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(j1, {
title: "默认排序",
kind: "sort",
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-setting-sort-controls": "",
- children: [/* @__PURE__ */ (0, I.jsx)(p1, {
+ children: [/* @__PURE__ */ (0, I.jsx)(f1, {
id: "defaultSortSetting",
label: "默认排序",
- options: Qke,
+ options: tAe,
value: r.defaultSort,
epoch: n,
onPick: (t) => {
r.defaultSort = t, i(), e.changed("defaultSort");
}
- }), /* @__PURE__ */ (0, I.jsx)(p1, {
+ }), /* @__PURE__ */ (0, I.jsx)(f1, {
id: "defaultSortDirectionSetting",
label: "默认排序方向",
- options: $ke,
+ options: nAe,
value: o ? "asc" : "desc",
hidden: a,
disabled: a,
@@ -71001,13 +71033,13 @@ function mAe({ host: e, tab: t, epoch: n }) {
onPick: (t) => {
r.defaultSortDirection = t, i(), e.changed("sortDirection");
},
- decorate: (e) => pAe(e, o)
+ decorate: (e) => gAe(e, o)
})]
})
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(j1, {
title: "视频卡片大小",
- children: /* @__PURE__ */ (0, I.jsx)(f1, {
+ children: /* @__PURE__ */ (0, I.jsx)(d1, {
id: "javSizeSetting",
name: "video-size",
legend: "视频卡片大小",
@@ -71033,16 +71065,16 @@ function mAe({ host: e, tab: t, epoch: n }) {
}
})]
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(j1, {
title: "悬停预览延迟",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "hoverDelaySetting",
- children: /* @__PURE__ */ (0, I.jsx)(g1, {
+ children: /* @__PURE__ */ (0, I.jsx)(h1, {
id: "hoverDelaySetting",
label: "悬停预览延迟",
value: r.hoverDelaySeconds,
onApply: (t) => {
- r.hoverDelaySeconds = Fj(t, 0, 60, 5), i(), e.changed("hoverDelay");
+ r.hoverDelaySeconds = Ij(t, 0, 60, 5), i(), e.changed("hoverDelay");
}
}, n)
})
@@ -71051,16 +71083,16 @@ function mAe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "播放"
}),
- /* @__PURE__ */ (0, I.jsx)(vAe, {
+ /* @__PURE__ */ (0, I.jsx)(xAe, {
host: e,
epoch: n
})
]
});
}
-function hAe({ host: e, tab: t, epoch: n }) {
+function vAe({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save();
- return /* @__PURE__ */ (0, I.jsxs)(A1, {
+ return /* @__PURE__ */ (0, I.jsxs)(k1, {
index: 2,
tab: t,
children: [
@@ -71068,17 +71100,17 @@ function hAe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "作品显示"
}),
- /* @__PURE__ */ (0, I.jsx)(gAe, {
+ /* @__PURE__ */ (0, I.jsx)(yAe, {
host: e,
epoch: n
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(j1, {
title: "默认图片",
- children: /* @__PURE__ */ (0, I.jsx)(f1, {
+ children: /* @__PURE__ */ (0, I.jsx)(d1, {
id: "javImageSetting",
name: "jav-image",
legend: "默认图片",
- options: eAe,
+ options: rAe,
value: r.javImage,
attr: "data-jav-image-choice",
variant: "javimageswitch",
@@ -71093,21 +71125,21 @@ function hAe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "新作显示"
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(j1, {
title: "显示数量",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "feedLimitSetting",
- children: /* @__PURE__ */ (0, I.jsx)(g1, {
+ children: /* @__PURE__ */ (0, I.jsx)(h1, {
id: "feedLimitSetting",
label: "新作显示数量",
value: r.feedLimit,
onApply: (t) => {
- r.feedLimit = Fj(t, 1, 100, 12), i(), e.changed("feedLimit");
+ r.feedLimit = Ij(t, 1, 100, 12), i(), e.changed("feedLimit");
}
}, n)
})
}),
- /* @__PURE__ */ (0, I.jsx)(j1, {
+ /* @__PURE__ */ (0, I.jsx)(A1, {
id: "feedAutoScrollSetting",
title: "自动滚动",
checked: r.feedAutoScroll,
@@ -71115,7 +71147,7 @@ function hAe({ host: e, tab: t, epoch: n }) {
r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");
}
}),
- tAe.map(([t, n, r, i]) => /* @__PURE__ */ (0, I.jsx)(_Ae, {
+ iAe.map(([t, n, r, i]) => /* @__PURE__ */ (0, I.jsx)(bAe, {
host: e,
id: t,
settingKey: n,
@@ -71125,19 +71157,19 @@ function hAe({ host: e, tab: t, epoch: n }) {
]
});
}
-function gAe({ host: e, epoch: t }) {
+function yAe({ host: e, epoch: t }) {
let n = Pt({
- queryKey: fX,
- queryFn: ({ signal: e }) => _X(e),
+ queryKey: dX,
+ queryFn: ({ signal: e }) => gX(e),
staleTime: 0
- }), r = vX(), [i, a] = (0, F.useState)(null), o = n.data?.performerNameLanguage;
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(M1, {
+ }), r = _X(), [i, a] = (0, F.useState)(null), o = n.data?.performerNameLanguage;
+ 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)(p1, {
+ children: /* @__PURE__ */ (0, I.jsx)(f1, {
id: "performerNameLanguageSetting",
label: "女优名称",
epoch: t,
@@ -71155,13 +71187,13 @@ function gAe({ host: e, epoch: t }) {
}));
}
})
- }), n.isError ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ }), n.isError ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
children: "未取得数据库中的名称偏好,请重新打开设置。"
}) : null] });
}
-function _Ae({ host: e, id: t, settingKey: n, label: r, title: i }) {
- let a = vX(), [o, s] = (0, F.useState)(null), c = (0, F.useRef)(null), l = e.store.value, u = (t) => {
+function bAe({ host: e, id: t, settingKey: n, label: r, title: i }) {
+ let a = _X(), [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) => {
l[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);
@@ -71185,10 +71217,10 @@ function _Ae({ host: e, id: t, settingKey: n, label: r, title: i }) {
})]
});
}
-function vAe({ host: e, epoch: t }) {
+function xAe({ 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)(j1, {
+ /* @__PURE__ */ (0, I.jsx)(A1, {
id: "detailAutoplaySetting",
title: "打开详情自动播放",
checked: n.detailAutoplay,
@@ -71196,7 +71228,7 @@ function vAe({ host: e, epoch: t }) {
n.detailAutoplay = e, r();
}
}),
- /* @__PURE__ */ (0, I.jsx)(j1, {
+ /* @__PURE__ */ (0, I.jsx)(A1, {
id: "miniplayerSetting",
title: "离开详情后小窗播放",
checked: n.miniplayer,
@@ -71204,11 +71236,11 @@ function vAe({ host: e, epoch: t }) {
n.miniplayer = t, r(), e.changed("miniplayer");
}
}),
- /* @__PURE__ */ (0, I.jsx)(M1, {
+ /* @__PURE__ */ (0, I.jsx)(j1, {
title: "快进 / 快退步长",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "seekSecondsSetting",
- children: /* @__PURE__ */ (0, I.jsx)(g1, {
+ children: /* @__PURE__ */ (0, I.jsx)(h1, {
id: "seekSecondsSetting",
label: "快进 / 快退",
value: n.seekSeconds,
@@ -71220,25 +71252,25 @@ function vAe({ host: e, epoch: t }) {
})
] });
}
-function yAe({ host: e, epoch: t }) {
- let n = e.store.value, r = vX();
- return /* @__PURE__ */ (0, I.jsx)(M1, {
+function SAe({ host: e, epoch: t }) {
+ let n = e.store.value, r = _X();
+ return /* @__PURE__ */ (0, I.jsx)(j1, {
title: "搜索记录数量",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "searchHistoryLimitSetting",
- children: /* @__PURE__ */ (0, I.jsx)(g1, {
+ children: /* @__PURE__ */ (0, I.jsx)(h1, {
id: "searchHistoryLimitSetting",
label: "搜索记录",
value: n.searchHistoryLimit,
onApply: (t) => {
- n.searchHistoryLimit = Fj(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });
+ n.searchHistoryLimit = Ij(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 bAe(e, t, n, r) {
+function CAe(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,
@@ -71273,7 +71305,7 @@ function bAe(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 : v1(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();
@@ -71335,7 +71367,7 @@ function bAe(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 = v1(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 {
@@ -71374,68 +71406,68 @@ function bAe(e, t, n, r) {
};
}
// src/react/sidebar/sidebar-island.tsx
-var N1 = "__home__", xAe = {
+var M1 = "__home__", wAe = {
creator: 26,
tag: 30,
tech: 16
-}, P1 = 180, F1 = null, I1 = {
+}, N1 = 180, P1 = null, F1 = {
props: {
content: null,
filters: {},
latest: null
},
epoch: 0
-}, L1 = /* @__PURE__ */ new Set();
-function SAe(e) {
- return L1.add(e), () => {
- L1.delete(e);
+}, I1 = /* @__PURE__ */ new Set();
+function TAe(e) {
+ return I1.add(e), () => {
+ I1.delete(e);
};
}
-function R1() {
- for (let e of [...L1]) e();
+function L1() {
+ for (let e of [...I1]) e();
}
-var CAe = {
+var EAe = {
render(e) {
- I1 = {
- ...I1,
+ F1 = {
+ ...F1,
props: e
- }, (0, Lt.flushSync)(R1);
+ }, (0, Lt.flushSync)(L1);
},
navChanged() {
- I1 = {
- ...I1,
- epoch: I1.epoch + 1
- }, (0, Lt.flushSync)(R1);
+ F1 = {
+ ...F1,
+ epoch: F1.epoch + 1
+ }, (0, Lt.flushSync)(L1);
}
};
-function wAe(e) {
- return F1 = e, I1 = {
- ...I1,
+function DAe(e) {
+ return P1 = e, F1 = {
+ ...F1,
props: {
content: null,
filters: {},
latest: null
}
- }, CAe;
+ }, EAe;
}
-function TAe() {
- let e = (0, F.useSyncExternalStore)(SAe, () => I1);
- return F1 ? /* @__PURE__ */ (0, I.jsx)(EAe, {
- host: F1,
+function OAe() {
+ let e = (0, F.useSyncExternalStore)(TAe, () => F1);
+ return P1 ? /* @__PURE__ */ (0, I.jsx)(kAe, {
+ host: P1,
props: e.props,
epoch: e.epoch
}) : null;
}
-function EAe({ host: e, props: t, epoch: n }) {
+function kAe({ 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)(DAe, {
+ /* @__PURE__ */ (0, I.jsx)(AAe, {
host: e,
epoch: n,
version: r
}),
- t.content ? /* @__PURE__ */ (0, I.jsx)(kAe, {
+ t.content ? /* @__PURE__ */ (0, I.jsx)(MAe, {
host: e,
content: t.content,
filters: t.filters,
@@ -71443,8 +71475,8 @@ function EAe({ host: e, props: t, epoch: n }) {
}) : null
] });
}
-function DAe({ host: e, epoch: t, version: n }) {
- let r = _1(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 = ML(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || N1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;
+function AAe({ 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 = jL(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());
[
@@ -71463,7 +71495,7 @@ function DAe({ host: e, epoch: t, version: n }) {
i.disconnect(), cancelAnimationFrame(a), document.removeEventListener("board:sidebar", o);
};
}, [e, d]);
- let f = bAe(c, i, r, () => requestAnimationFrame(d)), p = e.scroll.parentElement;
+ let f = CAe(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,
@@ -71500,7 +71532,7 @@ function DAe({ host: e, epoch: t, version: n }) {
decoding: "async",
draggable: !1
}) : /* @__PURE__ */ (0, I.jsx)(YF, { name: r }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]
- }, t || N1);
+ }, t || M1);
}),
f.hint ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-sidebar-drop-line": "",
@@ -71521,8 +71553,8 @@ function DAe({ host: e, epoch: t, version: n }) {
ref: l
}), p) : null] });
}
-var z1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
-function OAe(e) {
+var R1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
+function jAe(e) {
if (!e) return null;
let t = /* @__PURE__ */ new Map(), n = [
["loc", e.locations],
@@ -71536,7 +71568,7 @@ function OAe(e) {
for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);
return t;
}
-function kAe({ host: e, content: t, filters: n, latest: r }) {
+function MAe({ 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");
@@ -71545,8 +71577,8 @@ function kAe({ host: e, content: t, filters: n, latest: r }) {
i,
t.kind
]);
- let a = t.kind === "catalog" ? AAe(e, t.facets, n, r, i) : jAe(e, t, n), o = 0;
- return a.map((e) => e && /* @__PURE__ */ (0, I.jsx)(MAe, {
+ let a = t.kind === "catalog" ? NAe(e, t.facets, n, r, i) : PAe(e, t, n), o = 0;
+ return a.map((e) => e && /* @__PURE__ */ (0, I.jsx)(FAe, {
title: e.title,
kind: e.kind,
active: e.active,
@@ -71555,11 +71587,11 @@ function kAe({ host: e, content: t, filters: n, latest: r }) {
children: e.body
}, e.title));
}
-function AAe(e, t, n, r, i) {
- let a = OAe(r), o = (t, r, i) => {
+function NAe(e, t, n, r, i) {
+ let a = jAe(r), o = (t, r, i) => {
if (!t.length) return null;
- let o = z1(n, r);
- return /* @__PURE__ */ (0, I.jsx)(H1, {
+ let o = R1(n, r);
+ return /* @__PURE__ */ (0, I.jsx)(V1, {
rows: t,
filterKey: r,
multi: i,
@@ -71569,7 +71601,7 @@ function AAe(e, t, n, r, i) {
});
}, s = (t, s, c, l, u, d) => {
if (!c.length) return null;
- let f = z1(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,
@@ -71581,12 +71613,12 @@ function AAe(e, t, n, r, i) {
title: t,
kind: s,
active: p,
- body: /* @__PURE__ */ (0, I.jsx)(PAe, {
+ body: /* @__PURE__ */ (0, I.jsx)(LAe, {
epoch: i,
title: t,
rows: c,
latest: m ?? null,
- limit: xAe[d],
+ limit: wAe[d],
filterKey: l,
selected: f,
counts: a,
@@ -71601,7 +71633,7 @@ function AAe(e, t, n, r, i) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, I.jsx)(G1, {
+ body: /* @__PURE__ */ (0, I.jsx)(W1, {
host: e,
filters: n
})
@@ -71616,7 +71648,7 @@ function AAe(e, t, n, r, i) {
title: "关注标签",
kind: "online",
active: !1,
- body: /* @__PURE__ */ (0, I.jsx)(U1, {
+ body: /* @__PURE__ */ (0, I.jsx)(H1, {
rows: t.followTags,
host: e,
selected: null,
@@ -71625,14 +71657,14 @@ function AAe(e, t, n, r, i) {
} : null
];
}
-function jAe(e, t, n) {
- let r = t.providers || [], i = z1(n, "provider"), a = new Set(t.selected);
+function PAe(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)(H1, {
+ body: /* @__PURE__ */ (0, I.jsx)(V1, {
rows: r,
filterKey: "provider",
multi: !1,
@@ -71646,7 +71678,7 @@ function jAe(e, t, n) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, I.jsx)(G1, {
+ body: /* @__PURE__ */ (0, I.jsx)(W1, {
host: e,
filters: n,
commit: e.setFollowDuration
@@ -71656,7 +71688,7 @@ function jAe(e, t, n) {
title: "内容标签",
kind: "online",
active: t.tags.some((e) => a.has(e.value)),
- body: /* @__PURE__ */ (0, I.jsx)(U1, {
+ body: /* @__PURE__ */ (0, I.jsx)(H1, {
rows: t.tags,
host: e,
selected: a,
@@ -71665,19 +71697,19 @@ function jAe(e, t, n) {
} : null
];
}
-function B1(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 MAe({ 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)(() => B1(e, n)), u = (0, F.useRef)(!1);
+function FAe({ 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 ? B1(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) => {
@@ -71709,7 +71741,7 @@ function MAe({ 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)(V1.Provider, {
+ children: /* @__PURE__ */ (0, I.jsx)(B1.Provider, {
value: d,
children: a
})
@@ -71718,15 +71750,15 @@ function MAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
})]
});
}
-var V1 = (0, F.createContext)(() => {});
-function NAe({ dot: e }) {
+var B1 = (0, F.createContext)(() => {});
+function IAe({ dot: e }) {
return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, I.jsx)(YF, { 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 H1({ 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) => {
@@ -71743,7 +71775,7 @@ function H1({ 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)(NAe, { dot: e.dot }),
+ /* @__PURE__ */ (0, I.jsx)(IAe, { dot: e.dot }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-sidebar-chip-label": "",
children: e.label
@@ -71758,8 +71790,8 @@ function H1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,
})
});
}
-function PAe({ 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)(V1), [d, f] = (0, F.useState)(null), [p, m] = (0, F.useState)(e);
+function LAe({ 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)(() => {
@@ -71774,7 +71806,7 @@ function PAe({ 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)(H1, {
+ }, [d, _]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(V1, {
rows: _ ? v : v.slice(0, i),
filterKey: a,
multi: !1,
@@ -71802,7 +71834,7 @@ function PAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
children: /* @__PURE__ */ (0, I.jsx)(YF, { name: "chevron-down" })
}) : null] });
}
-function U1({ 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", {
@@ -71824,10 +71856,10 @@ function U1({ rows: e, host: t, selected: n, badges: r }) {
}, e.value))
});
}
-var W1 = (e, t) => e ? Math.min(P1, Number(e) / 60) : t;
-function G1({ 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)(() => [W1(t.dur_min, 0), W1(t.dur_max, P1)]), [c, l] = (0, F.useState)("max");
- i !== r && (a(r), s([W1(t.dur_min, 0), W1(t.dur_max, P1)]));
+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) => {
@@ -71840,11 +71872,11 @@ function G1({ host: e, filters: t, commit: n = e.setDuration }) {
}, [n]), (0, F.useLayoutEffect)(() => {
let e = f.current;
if (!e) return;
- e.style.setProperty("--lo", `${u / P1 * 100}%`), e.style.setProperty("--hi", `${d / P1 * 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 / P1 * 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`);
});
@@ -71854,7 +71886,7 @@ function G1({ 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 >= P1 ? "不限" : `${t} 分钟`
+ children: e === "max" && t >= N1 ? "不限" : `${t} 分钟`
});
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-sidebar-duration": "",
@@ -71869,7 +71901,7 @@ function G1({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMin",
type: "range",
min: "0",
- max: P1,
+ max: N1,
step: "5",
value: u,
"aria-label": "最短时长(分钟)",
@@ -71880,7 +71912,7 @@ function G1({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMax",
type: "range",
min: "0",
- max: P1,
+ max: N1,
step: "5",
value: d,
"aria-label": "最长时长(分钟)",
@@ -71894,7 +71926,7 @@ function G1({ host: e, filters: t, commit: n = e.setDuration }) {
});
}
// src/diagnostics-skeleton.ts
-function K1() {
+function G1() {
let e = (e) => Ds({
label: e,
variant: "secondary",
@@ -71908,11 +71940,11 @@ function K1() {
</div></div>`;
}
// src/react/settings/library-policy-copy.ts
-var q1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", FAe = [
+var K1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", RAe = [
"自动补全",
"仅使用本地资料",
"自定义"
-], IAe = [
+], zAe = [
[
"读本地 NFO 和图片",
"✓",
@@ -71943,7 +71975,7 @@ var q1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式
"—",
"可选"
]
-], LAe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", J1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", Y1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", X1 = "只填域名,留空用默认地址", RAe = [
+], BAe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", q1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", J1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", Y1 = "只填域名,留空用默认地址", VAe = [
{
provider: "coomer",
label: "Coomer",
@@ -72033,8 +72065,8 @@ var q1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式
label: "SubscribeStar",
requirement: "none"
}
-], Z1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", zAe = "peach.configuration.shape.v1";
-function Q1() {
+], X1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", HAe = "peach.configuration.shape.v1";
+function Z1() {
try {
let e = JSON.parse(localStorage.getItem("peach.configuration.shape.v1") || "{}");
return e && typeof e == "object" ? e : {};
@@ -72042,28 +72074,28 @@ function Q1() {
return {};
}
}
-function BAe(e, t) {
+function UAe(e, t) {
try {
- let n = Q1();
+ let n = Z1();
if (JSON.stringify(n[e]) === JSON.stringify(t)) return;
- localStorage.setItem(zAe, JSON.stringify({
+ localStorage.setItem(HAe, JSON.stringify({
...n,
[e]: t
}));
} catch {}
}
-var $1 = (e) => Q1()[e], e0 = (e) => e === !0, t0 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, n0 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], r0 = "disabled data-skeleton-action", i0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, a0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, o0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, s0 = (e = "3em") => o0(e, "24px"), c0 = () => o0("var(--icon-inline)", "var(--icon-inline)"), l0 = (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: r0
-}), u0 = (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>`, d0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, VAe = (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">${c0()}${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>`, WAe = (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;
-}, f0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${VAe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? u0(n, i) : ""}</div></section>`, p0 = (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>`, m0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => p0(e, t, `<span class="skeleton ${n}"></span>`), h0 = (e, t = "", n = "4em") => p0(e, t, i0(n)), g0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, _0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, v0 = (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>${a0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, y0 = (e) => `<div class="flex flex-col gap-1">${_0(e)}${ks(i0("8em"))}</div>`, b0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${o0("16px", "16px")}${e}</span>`, x0 = (e) => `<span class="inline-flex items-center gap-1">${c0()}${e}</span>`, S0 = (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>`, HAe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), C0 = (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">${HAe.has(e) ? i0("100%") + i0("80%") + i0("6em") : i0("6em")}</dd></div>`).join("")}</dl>`, UAe = RAe;
-function WAe(e = $1("credentials")) {
- let t = new Set(n0(e?.done, 64, String));
- return UAe.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">${WAe(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>`, GAe = /* @__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">${GAe.has(e) ? r0("100%") + r0("80%") + r0("6em") : r0("6em")}</dd></div>`).join("")}</dl>`, KAe = VAe;
+function qAe(e = Q1("credentials")) {
+ let t = new Set(t0(e?.done, 64, String));
+ return KAe.map((e) => {
let n = t.has(e.provider);
return {
...e,
@@ -72072,136 +72104,136 @@ function WAe(e = $1("credentials")) {
};
});
}
-function GAe(e) {
- let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = s0() + (n && !e.done ? t.map(() => s0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${o0("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 ? g0(z(e.why)) : ""}</div>`;
- let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + g0(`${z(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? g0(z(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => v0(z(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${l0("保存配置")}</div>${S0("凭据文件")}</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>${S0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;
+function JAe(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 w0() {
- let e = WAe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;
- return f0("来源凭据", d0(`<div class="flex flex-col gap-4">${[
+function C0() {
+ let e = qAe(), 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(GAe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? i0("5em") : "" });
+ ].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(JAe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? r0("5em") : "" });
}
-function T0() {
- let e = n0($1("indexers")?.open, 20, e0).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" : ""}`)}${i0("6em")}${i0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${v0("名称")}${v0("Torznab 地址")}${v0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${b0("启用")}${l0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");
- return f0("资源搜索", d0(`<div class="flex min-w-0 flex-col gap-4">${S0("索引器连接帮助")}${e}</div>`), l0("添加索引器", "secondary") + l0("保存配置"));
+function w0() {
+ 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 E0() {
- let e = $1("javBrowser"), t = e0(e?.enabled);
- return f0("浏览器添加 JAV", d0(`<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>${i0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${s0()}</div><p class="text-caption-1-regular text-text-secondary">${i0("70%")}</p><div class="flex flex-wrap items-center gap-2">${l0("重新检测", "secondary")}</div></div>`}${y0("浏览器添加的下载渠道")}${e0(e?.ready) ? "" : g0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${v0("Peach 地址")}</div>`), (t ? l0("关闭浏览器添加", "secondary") : "") + l0(t ? "更新渠道与令牌" : "启用并生成令牌"));
+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 D0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${_0(e)}${ks(i0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${v0(`${e}地址`)}</div><div class="w-full sm:w-28">${v0(`${e}端口`)}</div></div>${S0("代理认证")}` : "") + "</div>";
-function O0() {
- let e = $1("cloudProxy"), t = n0(e?.accounts, 12, (e) => Array.isArray(e) ? [e0(e[0]), e0(e[1])] : [!1, !1]), n = t0(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${_0(x0(i0("6em")))}${g0(i0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${_0(x0(i0("8em")))}${g0(i0("50%"))}${D0("数据代理", e)}${D0("API 代理", t)}<div class="flex justify-end">${l0("保存配置")}</div></div>`).join("") : g0(i0("60%"));
- return f0("CloudDrive 代理", d0(`${g0(Z1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), l0("重新读取", "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 k0 = (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>`, KAe = (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">${a0()}</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>`, YAe = (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: r0
+ attrs: n0
})}</div>
- <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${k0("来源", ks(i0("6em")), "w-full @lg:w-60")}${k0("读取策略", ks(i0("4em")), "w-full @lg:w-32")}${e > 1 ? k0("移到媒体库", ks(i0("4em")), "w-full @lg:w-48") : ""}</div></div>
- </div>`, qAe = (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>`, XAe = (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: r0
-})}${a0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${ks(i0("4em"), { prefix: "处理方式" })}</div>
- <div data-library-folders>${KAe(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>${YAe(t).repeat(e)}<div class="flex">${Ds({
label: "添加文件夹",
variant: "secondary",
- attrs: r0
-})}</div></div></div>`, JAe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${q1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, YAe = "<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 XAe(e = $1("media")) {
- let t = n0(e?.folders, 12, (e) => t0(e, 50)).filter(Boolean);
+ attrs: n0
+})}</div></div></div>`, ZAe = `<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>`, QAe = "<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 $Ae(e = Q1("media")) {
+ let t = t0(e?.folders, 12, (e) => e0(e, 50)).filter(Boolean);
return t.length ? {
folders: t,
- cloud: e0(e?.cloud)
+ cloud: $1(e?.cloud)
} : {
folders: [1],
cloud: !1
};
}
-function ZAe() {
- let e = $1("discovery"), t = e0(e?.enabled), n = t && e0(e?.cloud), r = n && e0(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${a0()}</span>${ks(i0("4em"), { prefix: "对应目录" })}${Ds({
+function eje() {
+ 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: r0
+ attrs: n0
})}</div>`;
- return f0("自动发现新文件", d0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${s0()}</div>`) + m0("发现新文件后自动入库", t ? i0("10em") : "") + m0("监视本机文件夹", t && e0(e?.watchLocal) ? i0("12em") : "") + m0("接收 CloudDrive2 通知", "网盘目录有变化时由 CloudDrive2 推送过来。") + (n ? p0("Webhook 配置", i0("20em"), "") : "") + (r ? d0(S0("查看配置"), !0) : "") + (n ? d0(`<div class="flex flex-col gap-3">${_0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(t0(e?.prefixes, 20))}</div><div>${l0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? l0("更换密钥", "secondary") : "") + l0("保存配置"));
-}
-var QAe = () => {
- let e = XAe();
- return f0("媒体库与目录", d0(`${JAe}<div class="flex flex-col gap-4">${e.folders.map((t) => qAe(t, e.folders.length)).join("")}</div>
- <div class="self-start">${l0("添加媒体库", "secondary")}</div>
- <p class="text-body-2-regular text-text-secondary">${J1}</p>
- ${e.cloud ? YAe : ""}<span class="text-body-medium text-text-primary">${i0("15em")}</span>`), l0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? O0() : "") + ZAe() + f0("番号识别规则", d0(`${i0("90%")}${i0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), l0("保存配置")) + f0("视频预览", m0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + m0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + m0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));
-}, $Ae = () => `<div>${l0("采集来源与登录状态", "secondary")}</div>` + w0() + f0("关注采集", p0("自动检查更新", "", "<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>") + h0("订阅源拉取") + m0("首次采集范围", "新关注的来源第一次回看多久以前的内容。", "ui-configuration-skeleton-select") + h0("头像刷新", "重新获取关注创作者的头像。") + h0("favicon 刷新", "重新获取来源站点的图标。")) + T0() + f0("作品资料站点", d0(`<p class="text-body-2-regular text-text-secondary">${Y1}</p>${v0(x0("JavDB 地址"), X1)}${v0(x0("MISSAV 地址"), X1)}`), l0("保存配置")), eje = () => {
- let e = $1("downloads"), t = e0(e?.pikpak), n = e0(e?.pikpakRoots) ? y0(x0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${_0(x0("PikPak 根目录对应的媒体目录"))}${g0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = e0(e?.cloud) ? f0("云下载", d0(v0("CloudDrive2 地址") + v0("CloudDrive2 API 令牌", "需要离线任务权限。") + (e0(e?.has115) ? v0(x0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? v0(x0("PikPak 目标目录"), "目录要已经存在。") + n : "") + v0("等待上限(小时)", i0("14em"))), l0("检查连接", "secondary") + l0("保存配置")) : "", i = e0(e?.pikpakLoggedIn);
- return r + (t ? f0("PikPak 账号", i ? C0(["账号", i0("4em")]) : d0(v0("账号") + v0("密码") + b0("保存密码,登录过期时自动重新登录")), i ? l0("登出", "secondary") : (e0(e?.browserLogin) ? l0("用浏览器登录", "secondary") : "") + l0("登录"), {
- aside: s0(),
+ 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 tje = () => {
+ let e = $Ae();
+ return d0("媒体库与目录", u0(`${ZAe}<div class="flex flex-col gap-4">${e.folders.map((t) => XAe(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 ? QAe : ""}<span class="text-body-medium text-text-primary">${r0("15em")}</span>`), c0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? D0() : "") + eje() + 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"));
+}, nje = () => `<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("保存配置")), rje = () => {
+ 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
- }) : "") + E0();
-}, A0 = {
+ }) : "") + T0();
+}, k0 = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
-}, j0 = {
+}, A0 = {
quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",
named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"
};
-function tje(e) {
- let t = e === "locked" ? "" : v0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + v0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");
- return (A0[e] ? g0(A0[e]) : "") + (e === "open" ? o0("100%", "64px") : "") + (e === "password" || e === "legacy" ? b0("关闭访问密码") : "") + (e === "password" ? v0("当前访问密码 *") : "") + t;
+function ije(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 nje = () => {
- let e = $1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = e0(e?.tunnelNamed), r = (n && e0(e?.tunnelNamedMode) ? g0(j0.named) + v0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + v0("隧道令牌", i0("16em")) : g0(j0.quick)) + (e0(e?.tunnelNote) ? o0("100%", "64px") : ""), i = t0(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">${v0([
+var aje = () => {
+ 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>${l0("复制地址", "secondary")}</div>`).join("");
- return (i || e0(e?.port) ? f0("访问地址", d0(a + (i ? o0("100%", "40px") : "") + (e0(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${_0("谁可以访问")}${o0("min(100%, 20em)", "36px")}</div>` + (e0(e?.lan) ? v0("局域网访问地址") : "") : "") + (e0(e?.port) ? v0("端口") : "")), e0(e?.port) ? l0("保存配置") : "", e0(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + f0("访问密码", d0(tje(t)), t === "locked" ? "" : l0("保存配置")) + f0("Cloudflare 公网入口", d0((n ? o0("10.5em", "36px") : "") + r), l0("启动公网入口", n ? "secondary" : "primary") + (n ? l0("保存配置") : ""), { aside: s0() }) + f0("Peach 代理", m0("连接方式", "Peach 访问外网和采集来源时使用。", "ui-configuration-skeleton-select") + (e0(e?.proxyAddress) ? d0(v0("代理地址"), !0) : ""), l0("保存配置"));
-}, rje = [
+ ][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(ije(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("保存配置"));
+}, oje = [
"版本",
"操作系统",
"数据目录",
"设置文件",
"日志目录"
-], ije = () => {
- let e = $1("maintenance"), t = [
+], sje = () => {
+ let e = Q1("maintenance"), t = [
"当前版本",
"安装方式",
"更新通道",
"最新版本",
"下载内容"
- ].slice(0, Math.max(4, t0(e?.releaseFacts, 5))), n = t0(e?.releaseNotes, 4), r = t0(e?.storageRows, 12), i = t0(e?.storageNotes, 3), a = n0(e?.facts, 12, (e) => z(String(e))), o = `<span class="self-start">${s0("6em")}</span>`, s = (t) => !e || e0(t), c = s(e?.reporting) ? m0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (e0(e?.reportingIdle) ? d0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${m0("上传馆藏与口味明细", e0(e?.sharingNotice) ? i0("12em") : "")}${e0(e?.sharingIdle) ? d0(o, !0) : ""}${u0(l0("预览上传内容", "secondary"))}</div>` : "";
- return f0("检查更新", C0(t) + (n ? d0(g0(i0("50%")).repeat(n), !0) : ""), l0("检查更新"), {
- aside: s0("4em"),
- status: i0("5em")
- }) + f0("自动更新", m0("自动检查新版本") + m0("自动下载更新", "发现新版本后先下载,重启安装前会询问。") + m0("检查频率", e0(e?.autoUpdateHelp) ? i0("12em") : "", "ui-configuration-skeleton-select"), l0("保存配置")) + f0("开机自启", m0("开机后启动 Peach") + m0("只启动托盘,不打开网页", "开机后在后台运行,需要时从托盘打开页面。") + m0("在桌面创建快捷方式", e0(e?.desktopNote) ? i0("12em") : "") + (e0(e?.startupNote) ? d0(g0(i0("60%")), !0) : ""), l0("保存配置")) + f0("视频播放", m0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + f0("存储空间", C0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => p0(i0("6em"), "", i0("4em"))).join("") : d0(g0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? d0(g0(i0("80%")).repeat(i), !0) : ""), l0("更改位置", "secondary") + l0(r ? "重新统计" : "统计占用")) + (c || l ? f0("数据上传", c + l) : "") + f0("运行信息", C0(a.length ? a : rje)) + `<section aria-label="新手教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${p0("新手教程", "在所有设备上恢复右上角教程入口,保留已读进度", l0("重新打开", "secondary"))}</div></section>` + (s(e?.uninstall) ? f0("卸载 Peach", (e0(e?.uninstallHelp) ? d0(g0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + m0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + d0(S0("数据目录"), !0), l0("卸载 Peach"), { status: i0("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 : oje)) + `<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 aje(e) {
+function cje(e) {
switch (e) {
- case "系统诊断": return K1();
- case "来源与订阅": return $Ae();
- case "下载渠道": return eje();
- case "网络与访问": return nje();
- case "应用与维护": return ije();
- default: return QAe();
+ case "系统诊断": return G1();
+ case "来源与订阅": return nje();
+ case "下载渠道": return rje();
+ case "网络与访问": return aje();
+ case "应用与维护": return sje();
+ default: return tje();
}
}
-function oje(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">${aje(e)}</div></div></div>`;
+function lje(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">${cje(e)}</div></div></div>`;
}
// src/filter-controls-skeleton.ts
-var M0 = (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"), N0 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", P0 = (e, t, n) => `<span data-entity-layout="" class="${xU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${SU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${N0}>${M0(r)}</span>`).join("")}</span>`;
-function F0(e, t, { catalog: n = !0 } = {}) {
- let r = n ? hG() : "cards", i = new URLSearchParams(location.search), a = t && r === "cards" ? P0(t.label, t.value, t.options) : "", o = n ? `${P0("馆藏显示方式", r, [[
+var j0 = (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"), M0 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", N0 = (e, t, n) => `<span data-entity-layout="" class="${bU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${xU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${M0}>${j0(r)}</span>`).join("")}</span>`;
+function P0(e, t, { catalog: n = !0 } = {}) {
+ let r = n ? mG() : "cards", i = new URLSearchParams(location.search), a = t && r === "cards" ? N0(t.label, t.value, t.options) : "", o = n ? `${N0("馆藏显示方式", r, [[
"cards",
"卡片",
"ri-layout-grid-line"
@@ -72209,23 +72241,23 @@ function F0(e, t, { catalog: n = !0 } = {}) {
"list",
"列表",
"ri-list-unordered"
- ]])}<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${i.get("browse") === "folders" || !!i.get("folder")}" ${N0}>${M0("ri-folder-3-line")}</button>` : "";
- return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${N0}>${M0("shuffle")}</button>${a}${o}${e.map((e) => `<button type="button" data-entity-sort="${z(e.key)}" aria-pressed="${e.pressed}" ${N0}>${z(e.label)}${e.dir ? M0(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;
+ ]])}<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${i.get("browse") === "folders" || !!i.get("folder")}" ${M0}>${j0("ri-folder-3-line")}</button>` : "";
+ return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${M0}>${j0("shuffle")}</button>${a}${o}${e.map((e) => `<button type="button" data-entity-sort="${z(e.key)}" aria-pressed="${e.pressed}" ${M0}>${z(e.label)}${e.dir ? j0(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;
}
// src/catalog-filter-skeleton.ts
-var I0 = 64, L0 = (e) => e.replace(/[&<>"]/g, (e) => ({
+var F0 = 64, I0 = (e) => e.replace(/[&<>"]/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;"
-})[e]), sje = (e) => e.repeat(I0), R0 = (e) => sje(`<span data-catalog-placeholder="${e}" aria-hidden="true"><span></span><span>&nbsp;</span></span>`);
-function cje(e, t, n) {
- let r = e.map((e) => `<a href="${L0(e.href)}" data-catalog-view="${L0(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${L0(e.label)}</a>`).join(""), i = UG();
- 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">${R0("performer")}</div>` : "") + (i.studios ? `<div data-catalog-tier="studios">${R0("studio")}</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(I0) + `</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 ? F0(n.sorts, n.layout) : "") + "</div></div></div></div>";
+})[e]), uje = (e) => e.repeat(F0), L0 = (e) => uje(`<span data-catalog-placeholder="${e}" aria-hidden="true"><span></span><span>&nbsp;</span></span>`);
+function dje(e, t, n) {
+ let r = e.map((e) => `<a href="${I0(e.href)}" data-catalog-view="${I0(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${I0(e.label)}</a>`).join(""), i = HG();
+ 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">${L0("performer")}</div>` : "") + (i.studios ? `<div data-catalog-tier="studios">${L0("studio")}</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(F0) + `</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 ? P0(n.sorts, n.layout) : "") + "</div></div></div></div>";
}
// src/jav-skeleton.ts
-var z0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, lje = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, B0 = "w-full min-w-0";
-function V0() {
+var R0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, fje = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, z0 = "w-full min-w-0";
+function B0() {
return [
"w-20",
"w-16",
@@ -72235,83 +72267,83 @@ function V0() {
"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 H0(e, t = xM()) {
- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${z0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${lje("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">${z0("80%")}${z0("60%")}${z0("40%")}</div></div>`).join("")}</div>`;
- let n = kM({
- ...OM({
+function V0(e, t = SM()) {
+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${R0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${fje("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">${R0("80%")}${R0("60%")}${R0("40%")}</div></div>`).join("")}</div>`;
+ let n = AM({
+ ...kM({
active: !0,
home: !1,
portrait: !1
}),
size: t
});
- return `<div data-media-grid class="${B0}" 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="${z0}" 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>${z0("85%")}${z0("65%")}</div><div data-media-byline>${z0("55%")}</div>
+ <div data-media-title>${R0("85%")}${R0("65%")}</div><div data-media-byline>${R0("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>`;
}
-var uje = {
+var pje = {
releases: "筛选新作",
discover: "筛选推荐",
wants: "筛选想要"
};
-function dje(e) {
- let t = new URLSearchParams(location.search).get("q") || "", n = 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>${z0("100%")}</div>${H0(e)}` : e === "releases" ? `<section class="flex min-w-0 flex-col gap-4">${fje()}${H0(e)}</section>` : `<section class="flex min-w-0 flex-col gap-4">${pje()}${H0(e)}</section>`;
+function mje(e) {
+ let t = new URLSearchParams(location.search).get("q") || "", n = 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>${R0("100%")}</div>${V0(e)}` : e === "releases" ? `<section class="flex min-w-0 flex-col gap-4">${hje()}${V0(e)}</section>` : `<section class="flex min-w-0 flex-col gap-4">${gje()}${V0(e)}</section>`;
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 min-w-0 flex-wrap items-center gap-3 max-board-narrow:gap-x-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2><div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Es("", t, uje[e] || "筛选")}</div>${Ds({
+ <div class="flex w-full flex-col gap-4"><div class="flex min-w-0 flex-wrap items-center gap-3 max-board-narrow:gap-x-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2><div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Es("", t, pje[e] || "筛选")}</div>${Ds({
variant: "primary",
label: "查找资源",
attrs: "disabled data-skeleton-action"
})}</div>
- <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${CU.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>
+ <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${SU.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>
${n}</div></div>`;
}
-function fje() {
- let e = new URLSearchParams(location.search), t = e.get("sort") || "release_date", n = e.get("dir") === "asc" ? "asc" : "desc", r = TW.map(([e, r, i]) => ({
+function hje() {
+ let e = new URLSearchParams(location.search), t = e.get("sort") || "release_date", n = e.get("dir") === "asc" ? "asc" : "desc", r = wW.map(([e, r, i]) => ({
key: e,
label: r,
ariaLabel: i,
pressed: e === t,
dir: e === t ? n : ""
}));
- return `<div data-catalog-tiers="" aria-busy="true"><div data-catalog-tier="performers" data-skeleton="tiers">${R0("performer")}</div><div data-catalog-tier="studios">${R0("studio")}</div></div>
+ return `<div data-catalog-tiers="" aria-busy="true"><div data-catalog-tier="performers" data-skeleton="tiers">${L0("performer")}</div><div data-catalog-tier="studios">${L0("studio")}</div></div>
<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-tags>${V0()}</div></div>
+ <div data-catalog-scroll><div data-catalog-tags>${B0()}</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>
- ${F0(r, {
+ ${P0(r, {
name: "jav-layout",
label: "JAV 卡片版式",
- value: xM(),
- options: gM
+ value: SM(),
+ options: _M
}, { catalog: !1 })}
</div>
</div>`;
}
-function pje() {
- 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="" ${xM() === 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 gje() {
+ 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>`;
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>${V0()}</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>${B0()}</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>
- ${wW.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("")}
+ ${CW.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 U0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", W0 = (e = "60%") => `<span class="${U0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, G0 = "disabled data-skeleton-action", K0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
-function mje() {
+var H0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", U0 = (e = "60%") => `<span class="${H0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, W0 = "disabled data-skeleton-action", G0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
+function _je() {
let e = [
"馆藏视频",
"看过",
@@ -72319,27 +72351,27 @@ function mje() {
"使用空间"
].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="${U0} 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">${W0("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">${W0("6em")}</small>
- </div>`).join(""), t = (e) => `<section class="${K0}" 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">${W0("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="${H0} 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">${U0("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">${U0("6em")}</small>
+ </div>`).join(""), t = (e) => `<section class="${G0}" 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">${U0("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">${W0()}</span><b class="text-title-2-medium">${W0("3em")}</b><small class="text-caption-1-regular">${W0()}</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">${U0()}</span><b class="text-title-2-medium">${U0("3em")}</b><small class="text-caption-1-regular">${U0()}</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">数据库中的当前统计 · ${W0("12em")}</p>
+ <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${U0("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="${K0}"><h3 class="text-title-2-medium">${e}</h3><div class="${U0} h-64"></div></section>`).join("")}</div>
+ ].map((e) => `<section class="${G0}"><h3 class="text-title-2-medium">${e}</h3><div class="${H0} h-64"></div></section>`).join("")}</div>
</div>
</div>
<section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">
@@ -72348,11 +72380,11 @@ function mje() {
"最近看过",
"标签来源"
].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="${U0} 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="${H0} h-7"></div>`).join("")}</div>
</section>
</div></div>`;
}
-function hje() {
+function vje() {
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 = [
"浏览记录",
"口味维度",
@@ -72360,20 +72392,20 @@ function hje() {
"私有导出"
].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="${U0} 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">${W0("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">${W0("6em")}</small>
- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${U0} h-6"></div>`).join(""), r = (e) => `<section class="${K0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${U0} 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="${H0} 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">${U0("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">${U0("6em")}</small>
+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${H0} h-6"></div>`).join(""), r = (e) => `<section class="${G0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${H0} 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: G0
+ attrs: W0
})}${Ds({
glyph: "chevron-down",
- attrs: G0
+ attrs: W0
})}</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>
@@ -72391,11 +72423,11 @@ function hje() {
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">${W0("8em")}</small></div>
+ <small class="text-caption-1-regular">${U0("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="${K0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${U0} h-72 max-sm:h-48"></div></section>
+ <section class="${G0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${H0} 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([
"标签",
@@ -72403,20 +72435,20 @@ function hje() {
"常访问网站",
"浏览线索"
])}</div>
- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${U0} 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="${H0} h-7"></div>`).join("")}</div>
</section>
</div>
</div></div>`;
}
-function gje() {
+function yje() {
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="${U0} 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">${W0("70%")}</span>
- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${W0("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">${W0("75%")}</span>
+ <span class="${H0} 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">${U0("70%")}</span>
+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${U0("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">${U0("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">${W0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${W0("8em")}</span>
+ <b class="text-title-2-medium">${U0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${U0("8em")}</span>
<span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${[
"留最大",
"留最长",
@@ -72425,27 +72457,27 @@ function gje() {
variant: "secondary",
size: "small",
label: e,
- attrs: G0
+ attrs: W0
})).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">${W0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${W0("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">${U0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${U0("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 ${G0} 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 ${W0} 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 _je() {
+function bje() {
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="${U0} 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">${W0("80%")}</h3><p class="text-body-2-regular">${W0("60%")}</p></div>
+ <div class="flex min-w-0 gap-4"><span class="${H0} 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">${U0("80%")}</h3><p class="text-body-2-regular">${U0("60%")}</p></div>
</div>
<footer class="flex justify-end">${Ds({
variant: "secondary",
size: "small",
label: "查看版本",
- attrs: G0
+ attrs: W0
})}</footer>
</li>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
@@ -72454,20 +72486,20 @@ function _je() {
</div></div>`;
}
// src/board-skeleton.ts
-var q0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, vje = () => `${q0("80%")}${q0("48%")}`, J0 = (e, t) => e.repeat(t), Y0 = "disabled data-skeleton-action", X0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, Z0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, yje = "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", Q0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
+var K0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, xje = () => `${K0("80%")}${K0("48%")}`, q0 = (e, t) => e.repeat(t), J0 = "disabled data-skeleton-action", Y0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, X0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, Sje = "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", Z0 = () => `<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="${yje}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${X0("3em")}</b></div>`).join("")}</div>`, bje = (e = "") => JZ.some(([t]) => t === e) ? e : "list", $0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${JZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, e2 = (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>`, xje = ({ table: e, sort: t, dir: n }) => {
+].map((e) => `<div class="${Sje}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${Y0("3em")}</b></div>`).join("")}</div>`, Cje = (e = "") => qZ.some(([t]) => t === e) ? e : "list", Q0 = (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>`, $0 = (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>`, wje = ({ 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">${X0("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">${Y0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Ds({
glyph: "refresh-cw",
label: "检查全部",
compact: !0,
- attrs: Y0
+ attrs: J0
})}<span data-follow-toolbar-controls class="contents"><span data-button-group role="group">${Ds({
variant: "ghost",
glyph: "layout-grid",
@@ -72484,42 +72516,42 @@ var q0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, vje
glyph: "chevron-up",
label: "全部收起",
compact: !0,
- attrs: Y0
+ attrs: J0
})}</span></div></div>`;
-}, t2 = () => `<span class="flex shrink-0 items-center gap-1">${Ds({
+}, e2 = () => `<span class="flex shrink-0 items-center gap-1">${Ds({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: Y0
+ attrs: J0
})}${Ds({
variant: "secondary",
size: "small",
glyph: "trash",
- attrs: Y0
-})}</span>`, Sje = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${e2()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${X0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${Z0(14, 14)}</span>${Z0(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">${X0("113px")}</span>${t2()}</span></div>`, n2 = (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>${Z0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${X0("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: J0
+})}</span>`, Tje = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${$0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${Y0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${X0(14, 14)}</span>${X0(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">${Y0("113px")}</span>${e2()}</span></div>`, t2 = (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>${X0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${Y0("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: Y0
-})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${Z0(14, 14)}${Z0(14, 14)}</span><span class="flex flex-none items-center gap-2">${Ds({
+ attrs: J0
+})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${X0(14, 14)}${X0(14, 14)}</span><span class="flex flex-none items-center gap-2">${Ds({
variant: "secondary",
size: "small",
glyph: "check-check",
label: "全选",
- attrs: Y0
+ attrs: J0
})}${Ds({
variant: "secondary",
size: "small",
glyph: "chevron-up",
label: "收起",
- attrs: Y0
-})}</span></span></div><div data-source-divider>${J0(Sje(), e)}</div></section>`, Cje = () => {
+ attrs: J0
+})}</span></span></div><div data-source-divider>${q0(Tje(), e)}</div></section>`, Eje = () => {
try {
return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;
} catch {
return 20;
}
-}, wje = [
+}, Dje = [
["select", ""],
["author", "创作者"],
["source", "来源"],
@@ -72527,92 +72559,92 @@ var q0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, vje
["status", "状态"],
["checked", "上次检查"],
["actions", ""]
-], Tje = {
+], Oje = {
name: "author",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, r2 = "<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>", Eje = (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>${wje.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${Tje[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${r2}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${J0(`<tr>${[
- e2(),
- `<span class="flex min-w-0 items-center gap-2">${Z0(32, 32, !0)}${X0("5em")}</span>`,
- X0("10em"),
- `<span class="flex items-center gap-1.5">${Z0(14, 14)}${X0("4em")}</span>`,
- Z0(48, 24),
- X0("113px"),
- t2()
-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, Dje = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${X0("111px")}</span><div data-toolbar-actions>${ks(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${Z0(204, 32)}</div></div>`, Oje = () => `<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">${X0("120px")}</h3>${[
+}, n2 = "<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>", kje = (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>${Dje.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${Oje[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${n2}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${q0(`<tr>${[
+ $0(),
+ `<span class="flex min-w-0 items-center gap-2">${X0(32, 32, !0)}${Y0("5em")}</span>`,
+ Y0("10em"),
+ `<span class="flex items-center gap-1.5">${X0(14, 14)}${Y0("4em")}</span>`,
+ X0(48, 24),
+ Y0("113px"),
+ e2()
+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, Aje = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${Y0("111px")}</span><div data-toolbar-actions>${ks(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${X0(204, 32)}</div></div>`, jje = () => `<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">${Y0("120px")}</h3>${[
"72%",
"56%",
"64%",
"40%"
-].map((e) => `<span class="text-body-medium">${X0(e)}</span>`).join("")}</div>`, kje = (e) => {
- let t = bje(e.followTab);
- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${Q0()}<div class="flex flex-col gap-6">${$0(t)}<div class="flex flex-col gap-4">${Oje()}</div></div></div></div>`;
- let n = e.followLayout === "table", r = pr(e.followSort, e.followDir), i = e.followPageSize || Cje(), a = n ? Eje(i, r) : `${e2("全选本页")}<div class="flex flex-col gap-3">${n2(3)}${n2(4)}${n2(3)}</div>`;
- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${Q0()}<div class="flex flex-col gap-6">${$0(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"}">${xje({
+].map((e) => `<span class="text-body-medium">${Y0(e)}</span>`).join("")}</div>`, Mje = (e) => {
+ let t = Cje(e.followTab);
+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${Z0()}<div class="flex flex-col gap-6">${Q0(t)}<div class="flex flex-col gap-4">${jje()}</div></div></div></div>`;
+ let n = e.followLayout === "table", r = pr(e.followSort, e.followDir), i = e.followPageSize || Eje(), a = n ? kje(i, r) : `${$0("全选本页")}<div class="flex flex-col gap-3">${t2(3)}${t2(4)}${t2(3)}</div>`;
+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${Z0()}<div class="flex flex-col gap-6">${Q0(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"}">${wje({
table: n,
...r
- })}${a}${Dje(n, i)}</div></div></div></div></div>`;
+ })}${a}${Aje(n, i)}</div></div></div></div></div>`;
};
-function Aje() {
- 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">${q0("85%")}${q0("65%")}${J0(vje(), 4)}</div></aside></div>`;
+function Nje() {
+ 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">${K0("85%")}${K0("65%")}${q0(xje(), 4)}</div></aside></div>`;
}
-function jje(e, t = {}) {
+function Pje(e, t = {}) {
let n = "";
- if (e === "/stats") n = mje();
+ if (e === "/stats") n = _je();
else if (e === "/jav") {
- let e = wU(new URLSearchParams(location.search).get("tab"));
- n = dje(e === "library" ? "discover" : e);
- } else if (e === "/taste") n = hje();
- else if (e === "/subscriptions") n = kje(t);
- else if (e.startsWith("/settings/") && e.split("/")[2] in Df) n = oje(Df[e.split("/")[2]]);
+ let e = CU(new URLSearchParams(location.search).get("tab"));
+ n = mje(e === "library" ? "discover" : e);
+ } else if (e === "/taste") n = vje();
+ else if (e === "/subscriptions") n = Mje(t);
+ else if (e.startsWith("/settings/") && e.split("/")[2] in Df) n = lje(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">${X0("8em")}</span><span class="text-caption-1-regular">${X0("14em")}</span>${X0("60%")}${X0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${X0("6em")}</div></div></section>`).join("")}</div></div>`;
- else if (e === "/duplicates") n = gje();
- else if (e === "/quality-goals") n = _je();
+ ].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">${Y0("8em")}</span><span class="text-caption-1-regular">${Y0("14em")}</span>${Y0("60%")}${Y0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${Y0("6em")}</div></div></section>`).join("")}</div></div>`;
+ else if (e === "/duplicates") n = yje();
+ else if (e === "/quality-goals") n = bje();
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: Y0
- })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${J0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;
+ attrs: J0
+ })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${q0("<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 Mje(e) {
+function Fje(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 i2(e) {
+function r2(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return Mje(n ?? t.body);
+ return Fje(n ?? t.body);
}
-var a2 = "[role=\"dialog\"],[role=\"listbox\"],[role=\"menu\"]";
-function Nje(e) {
+var i2 = "[role=\"dialog\"],[role=\"listbox\"],[role=\"menu\"]";
+function Ije(e) {
let t = e.querySelector(":scope > [data-react-overlays]");
for (let e = t?.lastElementChild; e; e = e.previousElementSibling) {
- let t = e.matches(a2) ? e : e.querySelector(a2);
+ let t = e.matches(i2) ? e : e.querySelector(i2);
if (t) return t;
}
return null;
}
-function o2(e) {
+function a2(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 s2 = (e) => ["follow-item", e], Pje = (e) => `/api/follow?item=${encodeURIComponent(e)}`, Fje = "/api/follow/save", Ije = "/api/follow/media/hide", c2 = class extends Error {
+var o2 = (e) => ["follow-item", e], Lje = (e) => `/api/follow?item=${encodeURIComponent(e)}`, Rje = "/api/follow/save", zje = "/api/follow/media/hide", s2 = class extends Error {
constructor() {
super("这条关注内容已不存在");
}
};
-async function l2(e, t) {
- let n = await B(Pje(e), t);
+async function c2(e, t) {
+ let n = await B(Lje(e), t);
for (let t of n.groups || []) {
let r = ca(t).find((t) => t.id === e);
if (r) return {
@@ -72622,9 +72654,9 @@ async function l2(e, t) {
aliases: n.author_aliases || []
};
}
- throw new c2();
+ throw new s2();
}
-function Lje(e) {
+function Bje(e) {
for (let [, t] of H.getQueriesData({ queryKey: ["follow-item"] })) {
if (!t?.group) continue;
let n = ca(t.group).find((t) => t.id === e);
@@ -72635,20 +72667,20 @@ function Lje(e) {
}
return null;
}
-async function u2(e, t) {
- let n = s2(e.id), r = la(e.id), i = H.getQueryData(ra) ? null : H.fetchQuery({
+async function l2(e, t) {
+ let n = o2(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) ?? Lje(e.id);
+ } : H.getQueryData(n) ?? Bje(e.id);
a ? H.setQueryData(n, a) : await H.fetchQuery({
queryKey: n,
- queryFn: () => l2(e.id, t)
+ queryFn: () => c2(e.id, t)
}), await i;
}
-function Rje(e, t, n, r) {
+function Vje(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,
@@ -72663,32 +72695,32 @@ function Rje(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var zje = (e) => ca(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), Bje = {
+var Hje = (e) => ca(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), Uje = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, Vje = {
+}, Wje = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function Hje(e) {
+function Gje(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return Bje[t] || t;
+ return Uje[t] || t;
} catch {
return "外部文件页";
}
}
-function d2(e, t) {
- return Vje[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+function u2(e, t) {
+ return Wje[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function Uje(e, t, n = "") {
+function Kje(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;
@@ -72697,54 +72729,54 @@ function Uje(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var Wje = (e) => String(e.name || "").trim(), f2 = (e, t) => e.tag_types?.[t] || "unknown", Gje = /* @__PURE__ */ new Set([
+var qje = (e) => String(e.name || "").trim(), d2 = (e, t) => e.tag_types?.[t] || "unknown", Jje = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
"metadata",
"unknown"
]);
-function Kje(e, t) {
- let n = f2(e, t);
- return `r34-${Gje.has(n) ? n : "general"}`;
+function Yje(e, t) {
+ let n = d2(e, t);
+ return `r34-${Jje.has(n) ? n : "general"}`;
}
-var p2 = [
+var f2 = [
"copyright",
"character",
"artist",
"general",
"metadata"
];
-function qje(e, t) {
+function Xje(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
- let n = p2.indexOf(f2(e, t));
- return n < 0 ? p2.length : n;
+ let n = f2.indexOf(d2(e, t));
+ return n < 0 ? f2.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
}
-function m2(e, t) {
+function p2(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 Jje = (e, t) => ({
+var Zje = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
-}), h2 = (e) => e?.size ? { size: e.size } : {};
-function Yje(e, t) {
+}), m2 = (e) => e?.size ? { size: e.size } : {};
+function Qje(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: d2(t, e),
- ...h2(t)
+ source: u2(t, e),
+ ...m2(t)
})) : r === "image" && i ? [{
src: i,
thumb: e.thumb_url || i,
name: e.title,
- source: d2(a, e),
- ...h2(a)
+ source: u2(a, e),
+ ...m2(a)
}] : e.thumb_url ? [{
src: e.thumb_url,
thumb: e.thumb_url,
@@ -72752,7 +72784,7 @@ function Yje(e, t) {
source: e.provider_label || e.provider || "在线图片"
}] : [];
}
-var Xje = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", g2 = "清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。", _2 = "指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。", v2 = "点击参数插入光标处,选中文字可替换。方括号里的内容在字段为空时整段省略。", y2 = "按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。", b2 = "这些作品的源文件已删除,喜欢、稍后看、播放列表与观看历史仍保留。选择替代文件后,这些记录会转移到该文件,旧作品记录随之删除。", x2 = "勾选女优,永久删除她们在全部来源中的影片文件、影片资料和观看记录,包括回收站中的影片。女优档案和照片保留。共同出演的同一文件只删除一次。", S2 = "disabled data-skeleton-action", C2 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, w2 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, T2 = (e, t) => `<h3 class="text-title-2-medium text-text-primary${t ? ` ${t}` : ""}">${e}</h3>`, E2 = (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>`, Zje = [
+var $je = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", h2 = "清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。", g2 = "指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。", _2 = "点击参数插入光标处,选中文字可替换。方括号里的内容在字段为空时整段省略。", v2 = "按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。", y2 = "这些作品的源文件已删除,喜欢、稍后看、播放列表与观看历史仍保留。选择替代文件后,这些记录会转移到该文件,旧作品记录随之删除。", b2 = "勾选女优,永久删除她们在全部来源中的影片文件、影片资料和观看记录,包括回收站中的影片。女优档案和照片保留。共同出演的同一文件只删除一次。", x2 = "disabled data-skeleton-action", S2 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, C2 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, w2 = (e, t) => `<h3 class="text-title-2-medium text-text-primary${t ? ` ${t}` : ""}">${e}</h3>`, T2 = (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>`, eMe = [
"3em",
"5em",
"5em",
@@ -72762,7 +72794,7 @@ var Xje = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", g2
"8em",
"8em",
"10em"
-], Qje = [
+], tMe = [
"5.8em",
"6.4em",
"7em",
@@ -72772,70 +72804,70 @@ var Xje = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", g2
"5.8em",
"9em",
"9em"
-], D2 = (e, t) => Ds({
+], E2 = (e, t) => Ds({
variant: e,
size: "small",
- label: C2(t)
+ label: S2(t)
});
-function $je() {
- return `<section class="${w$("stack")}">
- <div class="${S$.stack}">${T2("整理", "mb-3")}
- <p class="text-body-regular text-text-secondary">${g2}</p>
+function nMe() {
+ return `<section class="${C$("stack")}">
+ <div class="${x$.stack}">${w2("整理", "mb-3")}
+ <p class="text-body-regular text-text-secondary">${h2}</p>
<div class="mt-3 flex flex-col gap-3">
- <div class="flex min-w-0 flex-wrap items-start gap-2">${ks(C2("3em"), {
+ <div class="flex min-w-0 flex-wrap items-start gap-2">${ks(S2("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">${E2("留空整理整个来源", { 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">${T2("留空整理整个来源", { 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">${_2}</p>
- ${E2(C2("12em"), { label: "文件名模板" })}${E2(C2("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">${Zje.map((e) => D2("secondary", e)).join("")}</div></div>
- <p class="text-caption-1-regular text-text-secondary">路径示例:${C2("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">${Qje.map((e) => D2("ghost", e)).join("")}</div></div>
- <p class="text-caption-1-regular leading-4.5 text-text-secondary">${v2}</p>
+ <p class="text-caption-1-regular text-text-secondary">${g2}</p>
+ ${T2(S2("12em"), { label: "文件名模板" })}${T2(S2("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">${eMe.map((e) => E2("secondary", e)).join("")}</div></div>
+ <p class="text-caption-1-regular text-text-secondary">路径示例:${S2("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">${tMe.map((e) => E2("ghost", e)).join("")}</div></div>
+ <p class="text-caption-1-regular leading-4.5 text-text-secondary">${_2}</p>
</div>
</div>
- <footer class="${C$.stack}">${Ds({
+ <footer class="${S$.stack}">${Ds({
label: "预览",
- attrs: S2
+ attrs: x2
})}</footer>
</section>`;
}
-var eMe = () => `<section class="flex scroll-mt-20 flex-col gap-4">
- <section class="${w$("split")}"><div class="${S$.split}">${T2("资源同步", "mb-2")}
- <p class="max-w-190 text-body-2-regular leading-5 text-text-secondary">${y2}</p></div>
- <footer class="${C$.split}">${Ds({
+var rMe = () => `<section class="flex scroll-mt-20 flex-col gap-4">
+ <section class="${C$("split")}"><div class="${x$.split}">${w2("资源同步", "mb-2")}
+ <p class="max-w-190 text-body-2-regular leading-5 text-text-secondary">${v2}</p></div>
+ <footer class="${S$.split}">${Ds({
glyph: "git-compare",
label: "检查文件",
- attrs: S2
+ attrs: x2
})}</footer></section>
-</section>`, O2 = (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">${C2("3em")}</b>${t ? `<small class="text-caption-1-regular leading-5 text-text-secondary">${C2("14em")}</small>` : ""}</div>`, tMe = () => `<section class="flex scroll-mt-20 flex-col gap-4">
- <section class="${w$("stack")}"><div class="${S$.stack}">${T2("链接管理", "mb-2")}
- <div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${O2("链接总数", !0)}${[
+</section>`, D2 = (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">${S2("3em")}</b>${t ? `<small class="text-caption-1-regular leading-5 text-text-secondary">${S2("14em")}</small>` : ""}</div>`, iMe = () => `<section class="flex scroll-mt-20 flex-col gap-4">
+ <section class="${C$("stack")}"><div class="${x$.stack}">${w2("链接管理", "mb-2")}
+ <div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${D2("链接总数", !0)}${[
0,
1,
2
-].map(() => O2(C2("5em"))).join("")}</div>
+].map(() => D2(S2("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">${w2(16, 16)}${C2(e)}${w2(28, 24)}</span>`).join("")}</div></div></div>
- <footer class="${C$.stack}">${Ds({
+].map((e) => `<span class="inline-flex min-w-0 items-center gap-1.5 text-body-2-medium">${C2(16, 16)}${S2(e)}${C2(28, 24)}</span>`).join("")}</div></div></div>
+ <footer class="${S$.stack}">${Ds({
glyph: "link",
label: "检查死链",
- attrs: S2
+ attrs: x2
})}</footer></section>
</section>`;
-function k2({ 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">${e2()}</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>${r2}</span></span></th>`).join("")}<th data-table-space style="width:0"></th>`, s = `<tr><td>${e2()}</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="${VH({
+function O2({ 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">${$0()}</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>${n2}</span></span></th>`).join("")}<th data-table-space style="width:0"></th>`, s = `<tr><td>${$0()}</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="${BH({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
})}">
- <div data-responsive-toolbar><div data-toolbar-heading>${T2(e, "")}<span class="text-body-2-regular tabular-nums text-text-secondary">${C2("4em")}</span></div>
+ <div data-responsive-toolbar><div data-toolbar-heading>${w2(e, "")}<span class="text-body-2-regular tabular-nums text-text-secondary">${S2("4em")}</span></div>
<div data-toolbar-actions>${c}<div class="flex flex-none gap-2">${Ds({
variant: "secondary",
label: "显示列"
@@ -72846,38 +72878,38 @@ function k2({ 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: S2
+ attrs: x2
})}</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">${C2("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">${S2("8em")}</span><div data-toolbar-actions>${ks("每页 20 条", { size: "sm" })}</div></div>
</div>`;
}
-var nMe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span class="text-body-regular">${C2(e)}</span><small class="text-caption-1-regular">${C2(t)}</small></span>`, rMe = {
+var aMe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span class="text-body-regular">${S2(e)}</span><small class="text-caption-1-regular">${S2(t)}</small></span>`, oMe = {
organize: {
label: "正在读取整理配置",
- body: $je
+ body: nMe
},
"resource-sync": {
label: "正在读取资源同步状态",
- body: eMe
+ body: rMe
},
"orphan-records": {
label: "正在读取文件已丢失的记录",
- body: () => `<section class="flex scroll-mt-20 flex-col gap-4">${k2({
+ body: () => `<section class="flex scroll-mt-20 flex-col gap-4">${O2({
title: "文件已丢失的记录",
- description: b2,
+ description: y2,
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>${nMe("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>${aMe("70%", "40%")}</span>`
},
{
label: "个人记录",
width: 176,
- cell: C2("6em")
+ cell: S2("6em")
},
{
label: "操作",
@@ -72886,7 +72918,7 @@ var nMe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span cl
variant: "secondary",
size: "small",
label: "删除记录",
- attrs: S2
+ attrs: x2
})
}
]
@@ -72894,50 +72926,50 @@ var nMe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span cl
},
"media-repair": {
label: "正在读取媒体修复状态",
- body: rke
+ body: oke
},
links: {
label: "正在读取链接统计",
- body: tMe
+ body: iMe
},
"batch-delete": {
label: "正在读取女优列表",
- body: () => `<section class="flex min-w-0 scroll-mt-20 flex-col gap-3">${k2({
+ body: () => `<section class="flex min-w-0 scroll-mt-20 flex-col gap-3">${O2({
title: "批量删除",
- description: x2,
+ description: b2,
search: "搜索女优姓名或别名",
rows: 12,
columns: [
{
label: "女优",
width: 280,
- cell: `<span class="flex min-w-0 items-center gap-3">${w2(32, 32, !0)}${C2("5em")}</span>`
+ cell: `<span class="flex min-w-0 items-center gap-3">${C2(32, 32, !0)}${S2("5em")}</span>`
},
{
label: "影片",
width: 104,
- cell: C2("3em")
+ cell: S2("3em")
},
{
label: "文件",
width: 104,
- cell: C2("3em")
+ cell: S2("3em")
},
{
label: "登记大小",
width: 136,
- cell: C2("4em")
+ cell: S2("4em")
}
]
})}</section>`
}
};
-function A2(e) {
- let { label: t, body: n } = rMe[e];
+function k2(e) {
+ let { label: t, body: n } = oMe[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 j2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => nc(e, {
+var A2 = (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,
@@ -72945,7 +72977,7 @@ var j2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill
...i ? { count: i } : {},
...a === void 0 ? {} : { fill: a },
...o ? { cardRatio: o } : {}
-}), iMe = [
+}), sMe = [
"元数据字段",
"创作者标签",
"厂牌 Logo",
@@ -72955,39 +72987,39 @@ var j2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill
"FC2 评论标记",
"FC2 跨号相似",
"片尾/出处证据"
-], aMe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}">
+], cMe = (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>${iMe.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>${sMe.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>`, oMe = {
- "/data-cleanup": () => ike(),
- ...Object.fromEntries(qf.map((e) => [e.path, () => A2(e.key)])),
- "/resource-sync": () => A2("resource-sync"),
- "/review": () => aMe(),
+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, lMe = {
+ "/data-cleanup": () => ske(),
+ ...Object.fromEntries(qf.map((e) => [e.path, () => k2(e.key)])),
+ "/resource-sync": () => k2("resource-sync"),
+ "/review": () => cMe(),
"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>
- ${j2("正在读取采集来源", {
+ ${A2("正在读取采集来源", {
cards: !0,
count: 4,
fill: !1,
className: "cleanup-skeleton"
})}</div>`
};
-function M2(e, { followLayout: t, followSort: n, followDir: r }) {
- return jje(e, {
+function j2(e, { followLayout: t, followSort: n, followDir: r }) {
+ return Pje(e, {
followLayout: t,
...e === "/subscriptions" ? {
followSort: n,
followDir: r
} : {}
- }) || (oMe[e] ?? (() => j2("正在读取页面")))();
+ }) || (lMe[e] ?? (() => A2("正在读取页面")))();
}
-var N2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function P2(e, t) {
- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = N2(t);
+var M2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function N2(e, t) {
+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = M2(t);
r && r === n || (e.innerHTML = t, uc(e));
}
// src/react/components/related-section.tsx
-function F2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {
+function P2({ 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]);
@@ -73000,17 +73032,17 @@ function F2({ 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)(qG, {
+ children: /* @__PURE__ */ (0, I.jsx)(KG, {
message: i,
onRetry: a || (() => {})
})
}) : r && !n ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-related-state": "",
- children: /* @__PURE__ */ (0, I.jsx)(TV, {
+ children: /* @__PURE__ */ (0, I.jsx)(wV, {
size: "compact",
- icon: pV,
+ icon: fV,
title: "暂无接着看的内容",
- actions: /* @__PURE__ */ (0, I.jsx)(PL, {
+ actions: /* @__PURE__ */ (0, I.jsx)(NL, {
size: "small",
href: o ? "/follow" : "/",
children: o ? "返回关注" : "浏览馆藏"
@@ -73026,7 +73058,7 @@ function F2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
});
}
// src/react/components/detail-continuation.tsx
-function I2({ queue: e, children: t, queueCards: n }) {
+function F2({ 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),
@@ -73034,7 +73066,7 @@ function I2({ queue: e, children: t, queueCards: n }) {
});
}
// src/react/components/media-carousel.tsx
-function L2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {
+function I2({ 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]");
@@ -73114,7 +73146,7 @@ function L2({ 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)(sMe, {
+ children: e.map((e, r) => /* @__PURE__ */ (0, I.jsx)(uMe, {
item: e,
selected: r === t,
onSelect: n,
@@ -73133,7 +73165,7 @@ function L2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
]
});
}
-function sMe({ item: e, selected: t, onSelect: n, render: r }) {
+function uMe({ 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;
@@ -73159,14 +73191,14 @@ function sMe({ item: e, selected: t, onSelect: n, render: r }) {
});
}
// src/react/follow-detail/follow-related.ts
-var cMe = (e, t, n) => [
+var dMe = (e, t, n) => [
"follow-feed",
"related",
e,
t,
n
];
-function R2(e, t, n, r) {
+function L2(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);
@@ -73181,7 +73213,7 @@ function R2(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 lMe(e, t, n, r) {
+async function fMe(e, t, n, r) {
let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {
...ga(i),
status: "new",
@@ -73195,22 +73227,22 @@ async function lMe(e, t, n, r) {
}, t), r);
return o.push(n), n;
}, c = await s(i, 0);
- return R2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && R2(o, e, t, n).length < n && await s("", 0), {
+ return L2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && L2(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 z2 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var R2 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: R(e) }
});
-function B2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {
+function z2({ 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),
enabled: f && (n === "online" || !t.length)
- }), h = m.data?.items?.filter((e) => !e.hidden && !e.blocked && (n === "online" || e.cat !== "meta")) || t, g = kH(), _ = (e) => {
+ }), h = m.data?.items?.filter((e) => !e.hidden && !e.blocked && (n === "online" || e.cat !== "meta")) || t, g = OH(), _ = (e) => {
g.run("rename", async (t) => {
let r = (await H.fetchQuery({
queryKey: ["tag-management", n],
@@ -73242,9 +73274,9 @@ function B2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
"data-edit-tag": e.k,
title: "修改标签名称",
"aria-label": `修改标签 ${a(e.k)}`,
- ...kV(!!g.busy),
+ ...OV(!!g.busy),
onClick: () => _(e),
- children: /* @__PURE__ */ (0, I.jsx)(z2, { name: "pencil" })
+ children: /* @__PURE__ */ (0, I.jsx)(R2, { name: "pencil" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -73253,10 +73285,10 @@ function B2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
"aria-label": `删除标签 ${a(e.k)}`,
...l(e.k),
onClick: () => c(e),
- children: /* @__PURE__ */ (0, I.jsx)(z2, { name: "x" })
+ children: /* @__PURE__ */ (0, I.jsx)(R2, { name: "x" })
})
]
- }, e.k)), /* @__PURE__ */ (0, I.jsx)(uMe, {
+ }, e.k)), /* @__PURE__ */ (0, I.jsx)(pMe, {
tags: e,
candidates: h,
label: a,
@@ -73267,11 +73299,11 @@ function B2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
loading: m.isFetching
})]
}),
- g.error ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ g.error ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
children: g.error
}) : null,
- m.isError ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ m.isError ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -73280,7 +73312,7 @@ function B2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
}),
children: "无法读取标签候选"
}) : null,
- u ? /* @__PURE__ */ (0, I.jsx)(p$, {
+ u ? /* @__PURE__ */ (0, I.jsx)(f$, {
operation: "rename",
selected: [u],
scope: n,
@@ -73289,8 +73321,8 @@ function B2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
}) : null
] });
}
-function uMe({ 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 = eH(), 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)({
+function pMe({ 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,
tags: e,
@@ -73378,7 +73410,7 @@ function uMe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
"aria-pressed": i,
onClick: () => E(t, i),
children: [
- /* @__PURE__ */ (0, I.jsx)(z2, { name: i ? "check" : "tags" }),
+ /* @__PURE__ */ (0, I.jsx)(R2, { name: i ? "check" : "tags" }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-pick-name": "",
children: n(t.k)
@@ -73398,8 +73430,8 @@ function uMe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
title: "添加标签",
"aria-label": "添加标签",
"aria-expanded": p,
- ...kV(!!i),
- children: /* @__PURE__ */ (0, I.jsx)(z2, { name: "plus" })
+ ...OV(!!i),
+ children: /* @__PURE__ */ (0, I.jsx)(R2, { name: "plus" })
}), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: l,
id: "tagPicker",
@@ -73412,7 +73444,7 @@ function uMe({ 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)(z2, { name: "search" }), /* @__PURE__ */ (0, I.jsx)("input", {
+ }) : /* @__PURE__ */ (0, I.jsx)(R2, { name: "search" }), /* @__PURE__ */ (0, I.jsx)("input", {
ref: d,
id: "tagPickSearch",
maxLength: 80,
@@ -73456,7 +73488,7 @@ function uMe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
onClick: () => {
C(), r(w.create);
},
- children: [/* @__PURE__ */ (0, I.jsx)(z2, { name: "plus" }), /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(R2, { name: "plus" }), /* @__PURE__ */ (0, I.jsxs)("span", {
"data-pick-name": "",
children: [
"新建“",
@@ -73473,8 +73505,8 @@ function uMe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
})] });
}
// src/react/follow-detail/follow-tags.tsx
-function dMe({ item: e, label: t, actions: n }) {
- let r = kH(), i = () => H.invalidateQueries({ predicate: (e) => [
+function mMe({ item: e, label: t, actions: n }) {
+ let r = OH(), i = () => H.invalidateQueries({ predicate: (e) => [
"follow-feed",
"follow",
"tag-management"
@@ -73513,10 +73545,10 @@ function dMe({ item: e, label: t, actions: n }) {
"aria-label": "内容标签",
"data-follow-tag-editor": "",
"data-follow-detail-tags": "",
- children: [/* @__PURE__ */ (0, I.jsx)(B2, {
- tags: qje(e, t).map((t) => ({
+ children: [/* @__PURE__ */ (0, I.jsx)(z2, {
+ tags: Xje(e, t).map((t) => ({
k: t,
- cat: Kje(e, t)
+ cat: Yje(e, t)
})),
scope: "online",
adding: !!r.busy,
@@ -73525,30 +73557,30 @@ function dMe({ item: e, label: t, actions: n }) {
onOpen: n.openTag,
onAdd: (e) => o("add", e),
onRemove: (e) => o("remove", e.k),
- busyAttrs: () => kV(!!r.busy)
- }), r.error ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ busyAttrs: () => OV(!!r.busy)
+ }), r.error ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
children: r.error
}) : null]
});
}
// src/react/follow-detail/follow-detail-page.tsx
-var V2 = (e) => Number(e) > 0, fMe = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var B2 = (e) => Number(e) > 0, hMe = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: R(e) }
-}), H2 = R("external-link", "ui-externalmark");
-function pMe(e) {
+}), V2 = R("external-link", "ui-externalmark");
+function gMe(e) {
let { id: t, actions: n } = e, r = Pt({
- queryKey: s2(t),
- queryFn: ({ signal: e }) => l2(t, e)
+ queryKey: o2(t),
+ queryFn: ({ signal: e }) => c2(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)(gMe, {
+ return r.data ? /* @__PURE__ */ (0, I.jsx)(yMe, {
...e,
data: r.data,
- context: Jje(r.data, a),
+ context: Zje(r.data, a),
mediaIndex: o,
onMedia: s
}) : /* @__PURE__ */ (0, I.jsx)("div", {
@@ -73557,9 +73589,9 @@ function pMe(e) {
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-media": "",
"data-follow-detail-media": "none",
- children: [/* @__PURE__ */ (0, I.jsx)(U2, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {
+ children: [/* @__PURE__ */ (0, I.jsx)(H2, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-detail-placeholder": "",
- children: r.isError ? mMe(r.error) ? /* @__PURE__ */ (0, I.jsx)(hMe, { onBack: n.close }) : /* @__PURE__ */ (0, I.jsx)(qG, {
+ children: r.isError ? _Me(r.error) ? /* @__PURE__ */ (0, I.jsx)(vMe, { onBack: n.close }) : /* @__PURE__ */ (0, I.jsx)(KG, {
message: bn(r.error),
onRetry: () => void r.refetch()
}) : null
@@ -73567,8 +73599,8 @@ function pMe(e) {
})
});
}
-var mMe = (e) => e instanceof c2 || e instanceof or && e.status === 404;
-function hMe({ onBack: e }) {
+var _Me = (e) => e instanceof s2 || e instanceof or && e.status === 404;
+function vMe({ onBack: e }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-detail-gone": "",
onClick: (t) => {
@@ -73577,7 +73609,7 @@ function hMe({ onBack: e }) {
dangerouslySetInnerHTML: { __html: Rs("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }
});
}
-var U2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
+var H2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -73586,8 +73618,8 @@ var U2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function gMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
- let { item: c, group: l } = e, u = Rje(c, l, n, i), d = SMe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, F.useState)({
+function yMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
+ let { item: c, group: l } = e, u = Vje(c, l, n, i), d = TMe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, F.useState)({
key: "",
kind: ""
}), h = {
@@ -73607,20 +73639,20 @@ function gMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
c,
u.kind
]);
- let g = !u.embedded.length && u.collection ? zje(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, I.jsx)(q2, {
+ let g = !u.embedded.length && u.collection ? Hje(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, I.jsx)(K2, {
item: c,
current: u.selected.index,
helpers: o,
actions: s,
onMedia: r
- }) : u.collection ? g ? /* @__PURE__ */ (0, I.jsx)(q2, {
+ }) : u.collection ? g ? /* @__PURE__ */ (0, I.jsx)(K2, {
item: g,
current: null,
helpers: o,
actions: s,
onMedia: r,
currentId: c.id
- }) : /* @__PURE__ */ (0, I.jsx)(yMe, {
+ }) : /* @__PURE__ */ (0, I.jsx)(SMe, {
group: u.collection,
itemId: c.id,
helpers: o,
@@ -73630,14 +73662,14 @@ function gMe({ 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)(vMe, {
+ children: [/* @__PURE__ */ (0, I.jsx)(xMe, {
item: c,
media: u,
helpers: o,
actions: s,
onMedia: r,
issues: h
- }, f), /* @__PURE__ */ (0, I.jsx)(bMe, {
+ }, f), /* @__PURE__ */ (0, I.jsx)(CMe, {
item: c,
data: e,
context: t,
@@ -73647,9 +73679,9 @@ function gMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
helpers: o,
actions: s
})]
- }), /* @__PURE__ */ (0, I.jsx)(I2, {
+ }), /* @__PURE__ */ (0, I.jsx)(F2, {
queue: _,
- children: a > 0 ? /* @__PURE__ */ (0, I.jsx)(_Me, {
+ children: a > 0 ? /* @__PURE__ */ (0, I.jsx)(bMe, {
data: e,
media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,
limit: a,
@@ -73659,23 +73691,23 @@ function gMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
}) : null
})] });
}
-function _Me({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
+function bMe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
let o = Pt({
- queryKey: cMe(e.item.id, t, n),
- queryFn: ({ signal: r }) => lMe(e, t, n, r)
- }), [s] = (0, F.useState)(() => j2("正在读取推荐", {
+ queryKey: dMe(e.item.id, t, n),
+ queryFn: ({ signal: r }) => fMe(e, t, n, r)
+ }), [s] = (0, F.useState)(() => A2("正在读取推荐", {
cards: !0,
className: "related-skeleton"
})), c = (0, F.useMemo)(() => ({
openDetail: a.openItem,
openAuthor: a.openAuthor,
canFlip: () => !1
- }), [a]), l = R2(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {
+ }), [a]), l = L2(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {
...r,
sources: u,
aliases: o.data?.pages.at(-1)?.author_aliases || r.aliases
};
- return /* @__PURE__ */ (0, I.jsx)(F2, {
+ return /* @__PURE__ */ (0, I.jsx)(P2, {
online: !0,
"data-follow-related": "",
wireDrag: i.wireDrag,
@@ -73685,11 +73717,11 @@ function _Me({ 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)(qZ, {
+ children: o.data ? l.map((e) => /* @__PURE__ */ (0, I.jsx)(KZ, {
variant: "next",
group: e,
media: t,
- authorSources: m2(e.primary, u),
+ authorSources: p2(e.primary, u),
context: d,
selected: !1,
selectMode: !1,
@@ -73702,8 +73734,8 @@ function _Me({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
})
});
}
-function vMe({ 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 = Yje(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 xMe({ 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 = Qje(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);
@@ -73717,14 +73749,14 @@ function vMe({ 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)(U2, { onClose: n.close }),
+ /* @__PURE__ */ (0, I.jsx)(H2, { 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 IZ(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();
}
@@ -73732,10 +73764,10 @@ function vMe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"data-follow-detail-placeholder": "",
children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: SG(e.resource_provider || e.provider) }
+ dangerouslySetInnerHTML: { __html: xG(e.resource_provider || e.provider) }
}), /* @__PURE__ */ (0, I.jsx)("span", { children: "没有可用预览" })]
}),
- u ? /* @__PURE__ */ (0, I.jsx)(L2, {
+ u ? /* @__PURE__ */ (0, I.jsx)(I2, {
items: c,
position: l,
onSelect: r,
@@ -73752,11 +73784,11 @@ function vMe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
]
});
}
-var W2 = ({ kind: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var U2 = ({ kind: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-nothumb": "",
dangerouslySetInnerHTML: { __html: R(e === "image" ? "image-off" : "play") }
});
-function G2({ src: e }) {
+function W2({ src: e }) {
let [t, n] = (0, F.useState)(!1);
return t ? null : /* @__PURE__ */ (0, I.jsx)("img", {
src: e,
@@ -73766,27 +73798,27 @@ function G2({ src: e }) {
onError: () => n(!0)
});
}
-function K2(e) {
+function G2(e) {
return (0, F.useCallback)((t) => {
t && e.wireDrag(t);
}, [e]);
}
-function yMe({ group: e, itemId: t, helpers: n, actions: r }) {
- let i = _a(e), a = K2(n);
- return /* @__PURE__ */ (0, I.jsx)(VK, {
+function SMe({ group: e, itemId: t, helpers: n, actions: r }) {
+ let i = _a(e), a = G2(n);
+ return /* @__PURE__ */ (0, I.jsx)(BK, {
kind: "collection",
"data-follow-queue": "",
title: "视频合集",
onClose: r.close,
listRef: a,
- summary: `${wG(e.primary)} · ${i.length} 个视频`,
+ summary: `${CG(e.primary)} · ${i.length} 个视频`,
children: i.map((n) => {
- let i = e.duplicates.includes(n), a = Uje(e, n, i ? n.provider_label : ""), o = i ? SG(n.provider, n.provider_label) : "";
- return /* @__PURE__ */ (0, I.jsxs)(HK, {
+ let i = e.duplicates.includes(n), a = Kje(e, n, i ? n.provider_label : ""), o = i ? xG(n.provider, n.provider_label) : "";
+ return /* @__PURE__ */ (0, I.jsxs)(VK, {
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)(G2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(W2, { kind: "video" }), V2(n.duration) ? /* @__PURE__ */ (0, I.jsx)("i", {
+ pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(W2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(U2, { kind: "video" }), B2(n.duration) ? /* @__PURE__ */ (0, I.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: qn(n.duration)
@@ -73804,15 +73836,15 @@ function yMe({ group: e, itemId: t, helpers: n, actions: r }) {
children: a.label
}), /* @__PURE__ */ (0, I.jsx)("time", {
dateTime: n.published_at || "",
- children: NG(n)
+ children: MG(n)
})]
})]
}, n.id);
})
});
}
-function q2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
- let o = e.media_items || [], s = K2(r), c = [];
+function K2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
+ let o = e.media_items || [], s = G2(r), c = [];
o.forEach((e) => {
let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);
n || (n = {
@@ -73822,26 +73854,26 @@ function q2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, c.push(n)), n.items.push(e);
});
let l = (t) => e.id === n ? a(t.index) : i.openItem(e.id, t.index);
- return /* @__PURE__ */ (0, I.jsx)(VK, {
+ return /* @__PURE__ */ (0, I.jsx)(BK, {
kind: "media",
"data-follow-queue": "",
title: "多媒体",
onClose: i.close,
listRef: s,
- summary: `${wG(e)} · ${o.length} 个媒体`,
- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, I.jsx)(zbe, {
+ summary: `${CG(e)} · ${o.length} 个媒体`,
+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, I.jsx)(Bbe, {
label: n.label,
count: n.items.length
- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, I.jsxs)(HK, {
+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, I.jsxs)(VK, {
current: n.index === t,
"data-follow-media-owner": e.id,
"data-follow-media-item": n.index,
"data-media-kind": n.media_kind || "",
onClick: () => l(n),
- pic: n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(G2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(W2, { kind: n.media_kind || "" }),
+ pic: n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(W2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(U2, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, I.jsx)("b", {
"data-middle-truncate": "",
- children: Wje(n)
+ children: qje(n)
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -73849,13 +73881,13 @@ function q2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, n.index))])
});
}
-function bMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
+function CMe({ 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 = AG(d, e), p = OG(e, m2(e, t.sources), n), m = p.credited ? "" : e.author && Hn(e.author) !== Hn(p.author) ? e.author : "", h = jG(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {
+ }, f = kG(d, e), p = DG(e, p2(e, t.sources), n), m = p.credited ? "" : e.author && Hn(e.author) !== Hn(p.author) ? e.author : "", h = AG(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -73871,7 +73903,7 @@ function bMe({ 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: kG(d, e) + z(wG(e)) }
+ dangerouslySetInnerHTML: { __html: OG(d, e) + z(CG(e)) }
}), e.url ? /* @__PURE__ */ (0, I.jsx)("a", {
"data-follow-origin": "",
href: e.url,
@@ -73879,7 +73911,7 @@ function bMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
rel: "noreferrer noopener",
title: "打开来源页面",
"aria-label": "打开来源页面",
- dangerouslySetInnerHTML: { __html: H2 }
+ dangerouslySetInnerHTML: { __html: V2 }
}) : null]
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -73887,8 +73919,8 @@ function bMe({ 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: NG(e) }),
- V2(e.duration) ? /* @__PURE__ */ (0, I.jsx)("span", { children: qn(e.duration) }) : null,
+ /* @__PURE__ */ (0, I.jsx)("span", { children: MG(e) }),
+ B2(e.duration) ? /* @__PURE__ */ (0, I.jsx)("span", { children: qn(e.duration) }) : null,
f ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: f }
@@ -73905,7 +73937,7 @@ function bMe({ 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)(GZ, {
+ children: p.entityName ? /* @__PURE__ */ (0, I.jsxs)(WZ, {
name: p.entityName,
actions: s,
"data-id-cell": "creator",
@@ -73937,7 +73969,7 @@ function bMe({ 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)(xMe, { text: e.summary }, e.id) : null,
+ e.summary ? /* @__PURE__ */ (0, I.jsx)(wMe, { text: e.summary }, e.id) : null,
h ? /* @__PURE__ */ (0, I.jsx)("p", {
"data-follow-media-issue": "",
children: h
@@ -73960,9 +73992,9 @@ function bMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [Hje(e), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [Gje(e), /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: H2 }
+ dangerouslySetInnerHTML: { __html: V2 }
})]
}, e))
}) : null,
@@ -74062,7 +74094,7 @@ function bMe({ 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)(G2, { src: e.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(fMe, { name: "image-off" }), /* @__PURE__ */ (0, I.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, I.jsx)(W2, { src: e.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(hMe, { name: "image-off" }), /* @__PURE__ */ (0, I.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -74071,7 +74103,7 @@ function bMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"aria-live": "polite",
children: i.failure
}),
- /* @__PURE__ */ (0, I.jsx)(dMe, {
+ /* @__PURE__ */ (0, I.jsx)(mMe, {
item: e,
label: o.tagLabel,
actions: s
@@ -74080,7 +74112,7 @@ function bMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
})
});
}
-function xMe({ text: e }) {
+function wMe({ 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;
@@ -74093,7 +74125,7 @@ function xMe({ text: e }) {
ref: t,
"data-follow-detail-summary": "",
"data-long-text": "",
- lang: tL(e),
+ lang: eL(e),
"data-clamped": n ? void 0 : "",
children: e
}), i || n ? /* @__PURE__ */ (0, I.jsx)(J, {
@@ -74105,8 +74137,8 @@ function xMe({ text: e }) {
children: n ? "收起" : "展开"
}) : null] });
}
-function SMe(e, t, n) {
- let r = e.id, i = s2(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), l = (e, t) => o((n) => {
+function TMe(e, t, n) {
+ let r = e.id, i = o2(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) => {
@@ -74125,7 +74157,7 @@ function SMe(e, t, n) {
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), n === "ignored" && xW(), t.toast(Xje(n), { undo: i === "saved" ? void 0 : async () => {
+ u(n), c(""), n === "ignored" && bW(), t.toast($je(n), { undo: i === "saved" ? void 0 : async () => {
await V(jr, {
item: r,
to: i
@@ -74135,7 +74167,7 @@ function SMe(e, t, n) {
onError: d,
onSettled: (e, t, { to: n }) => l(n, !1)
}), p = Ft({
- mutationFn: () => V(Fje, { item: r }),
+ mutationFn: () => V(Rje, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到数据库");
},
@@ -74143,7 +74175,7 @@ function SMe(e, t, n) {
onSettled: () => l("save", !1)
}), m = Ft({
mutationFn: async ({ index: e, hidden: t }) => {
- await V(Ije, {
+ await V(zje, {
item: r,
media: e,
hidden: t
@@ -74159,12 +74191,12 @@ function SMe(e, t, n) {
onError: d,
onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)
}), h = Pt({
- queryKey: Zve(r),
- queryFn: ({ signal: e }) => eye(r, e)
+ queryKey: Qve(r),
+ queryFn: ({ signal: e }) => tye(r, e)
}).data?.want ?? null, g = Ft({
- mutationFn: async (e) => (e ? await bW([e.id]) : await yW({ follow: r }), !e),
+ 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)
@@ -74203,8 +74235,8 @@ function SMe(e, t, n) {
};
}
// src/react/components/identity-cell.tsx
-function J2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {
- yL();
+function q2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {
+ vL();
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({
@@ -74250,7 +74282,7 @@ function J2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })
children: c
});
}
-function Y2({ people: e, onOpen: t }) {
+function J2({ 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",
@@ -74283,7 +74315,7 @@ function Y2({ people: e, onOpen: t }) {
});
}
// src/react/components/folded-title.ts
-function X2(e) {
+function Y2(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;
@@ -74300,9 +74332,9 @@ function X2(e) {
};
}
// src/react/item-detail/catalog-picture.tsx
-function Z2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
+function X2({ 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)(DQ, {
+ if (n && t > 0 && e.code) return /* @__PURE__ */ (0, I.jsx)(EQ, {
item: {
code: e.code,
has_cover: !1,
@@ -74316,7 +74348,7 @@ function Z2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
src: c,
alt: "",
onError: () => a(c)
- }) : i === c ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ }) : i === c ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "neutral",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -74334,34 +74366,34 @@ function Z2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
}, o);
}
// src/react/jav-detail/jav-detail.ts
-var Q2 = (e) => ["jav-detail", e], $2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), CMe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), e4 = (e, t) => H.ensureQueryData({
- queryKey: Q2(e.code),
- queryFn: () => $2(e.code, t),
+var Z2 = (e) => ["jav-detail", e], Q2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), EMe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), $2 = (e, t) => H.ensureQueryData({
+ queryKey: Z2(e.code),
+ queryFn: () => Q2(e.code, t),
staleTime: 216e5,
revalidateIfStale: !0
});
-function wMe(e, t) {
+function DMe(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 t4 = "peach.playback-target.v1", n4 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];
-function TMe() {
+var e4 = "peach.playback-target.v1", t4 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];
+function OMe() {
try {
- return localStorage.getItem(t4) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;
+ return localStorage.getItem(e4) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;
} catch {
return "local:default";
}
}
-function r4({ id: e, onOpened: t }) {
- let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(TMe), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(0), f = kH();
+function n4({ id: e, onOpened: t }) {
+ let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(OMe), [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) || n4.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) || t4.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));
}).catch((t) => {
- e.signal.aborted || (r([]), a((e) => n4.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));
+ e.signal.aborted || (r([]), a((e) => t4.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));
}), () => e.abort();
}, [u]);
let p = () => void f.run("open", async (t) => {
@@ -74385,29 +74417,29 @@ function r4({ id: e, onOpened: t }) {
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-local-playback-row": "",
- children: [/* @__PURE__ */ (0, I.jsx)(p1, {
+ children: [/* @__PURE__ */ (0, I.jsx)(f1, {
id: `external-player-${e}`,
label: "外部播放器",
- options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...n4],
+ options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...t4],
value: i,
disabled: n === null || !!f.busy,
epoch: u * 2 + Number(n !== null),
onPick: (e) => {
a(e), s(null), f.setError("");
try {
- localStorage.setItem(t4, e);
+ localStorage.setItem(e4, e);
} catch {}
}
}), /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
"aria-label": "使用外部播放器打开",
disabled: n === null,
- ...kV(f.busy === "open"),
+ ...OV(f.busy === "open"),
onClick: p,
children: "打开"
})]
}),
- f.error || c ? /* @__PURE__ */ (0, I.jsx)(QH, { children: f.error || c }) : null,
+ f.error || c ? /* @__PURE__ */ (0, I.jsx)(ZH, { children: f.error || c }) : null,
c ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
disabled: !!f.busy,
@@ -74416,16 +74448,16 @@ function r4({ id: e, onOpened: t }) {
},
children: "重新检测播放器"
}) : null,
- o ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(xV, {
+ o ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(bV, {
label: "网络播放地址",
value: o.url,
isReadOnly: !0
- }), /* @__PURE__ */ (0, I.jsx)(ZH, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null
+ }), /* @__PURE__ */ (0, I.jsx)(XH, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null
]
});
}
// src/react/boardui/components/base/switch/switch.tsx
-var EMe = YI({
+var kMe = JI({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -74487,8 +74519,8 @@ var EMe = YI({
}
}
});
-function DMe({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = EMe[t];
+function AMe({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = kMe[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"),
@@ -74498,12 +74530,12 @@ function DMe({ state: e, size: t = "md", shape: n = "pill" }) {
})
});
}
-function i4({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, I.jsx)(Sme, {
+function r4({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, I.jsx)(Cme, {
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)(DMe, {
+ children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(AMe, {
state: e,
size: n,
shape: r
@@ -74514,12 +74546,12 @@ function i4({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
});
}
// src/react/cover-crop/cover-crop.ts
-var OMe = "/api/cover-crop", kMe = (e, t) => V(OMe, {
+var jMe = "/api/cover-crop", MMe = (e, t) => V(jMe, {
code: e,
box: t
});
// src/react/cover-crop/cover-crop-page.tsx
-function a4({ className: e }) {
+function i4({ className: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -74532,7 +74564,7 @@ function a4({ className: e }) {
children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-crop" })
});
}
-function AMe({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function NMe({ 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",
@@ -74542,13 +74574,13 @@ function AMe({ 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)(a4, { className: "size-3.75" })
- }), /* @__PURE__ */ (0, I.jsx)(SV, {
+ children: /* @__PURE__ */ (0, I.jsx)(i4, { className: "size-3.75" })
+ }), /* @__PURE__ */ (0, I.jsx)(xV, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, I.jsx)(jMe, {
+ children: /* @__PURE__ */ (0, I.jsx)(PMe, {
code: e,
coverUrl: t,
box: n,
@@ -74557,9 +74589,9 @@ function AMe({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function jMe({ 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 = eH(), f = Ft({
- mutationFn: (t) => kMe(e, t),
+function PMe({ 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) => MMe(e, t),
onSuccess: (e) => {
i(), r(e.poster_box);
}
@@ -74571,19 +74603,19 @@ function jMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : lDe(e, to);
- c(lQ(t, e, null));
+ } : fDe(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)(CV, { children: /* @__PURE__ */ (0, I.jsx)(a4, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, I.jsx)(SV, { children: /* @__PURE__ */ (0, I.jsx)(i4, { className: "size-6" }) }),
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
- /* @__PURE__ */ (0, I.jsx)(nR, {
+ /* @__PURE__ */ (0, I.jsx)(tR, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: "裁剪封面"
@@ -74592,14 +74624,14 @@ function jMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
className: "text-body-2-regular text-text-secondary",
children: [e, ":框出正封那一块,封面原图不动。拖动方框移动,滚轮或角上那枚方块改大小。"]
}),
- f.error ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ f.error ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
children: cr(f.error)
}) : null
]
}),
- /* @__PURE__ */ (0, I.jsx)(SL, {
- icon: zB,
+ /* @__PURE__ */ (0, I.jsx)(xL, {
+ icon: RB,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -74609,24 +74641,24 @@ function jMe({ 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)(mQ, {
+ children: /* @__PURE__ */ (0, I.jsx)(pQ, {
src: t,
aspect: l ? to : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- sQ(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)(i4, {
+ children: [/* @__PURE__ */ (0, I.jsx)(r4, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(lQ(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",
@@ -74636,14 +74668,14 @@ function jMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
className: "flex flex-1 flex-wrap items-center justify-end gap-3",
children: [/* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
- ...kV(m),
+ ...OV(m),
onClick: () => {
m || f.mutate(null);
},
children: "恢复默认"
}), /* @__PURE__ */ (0, I.jsx)(J, {
disabled: !s || !a,
- ...kV(m),
+ ...OV(m),
onClick: () => {
s && !m && f.mutate(s);
},
@@ -74654,14 +74686,14 @@ function jMe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
] });
}
// src/react/item-detail/item-detail-page.tsx
-var o4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var a4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: R(e) }
-}), s4 = ({ html: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+}), o4 = ({ html: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
-}), c4 = (e) => Number(e) > 0 ? Yn(Number(e)) : "大小未知";
-function MMe(e) {
+}), s4 = (e) => Number(e) > 0 ? Yn(Number(e)) : "大小未知";
+function FMe(e) {
let { queue: t, actions: n } = e, r = Pt({
queryKey: t ? TP(t) : ["item-queue", "none"],
queryFn: ({ signal: n }) => PP(t, e.helpers, n),
@@ -74679,9 +74711,9 @@ function MMe(e) {
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-media": "",
"data-item-media": "none",
- children: [/* @__PURE__ */ (0, I.jsx)(l4, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {
+ children: [/* @__PURE__ */ (0, I.jsx)(c4, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {
"data-item-placeholder": "",
- children: e ? /* @__PURE__ */ (0, I.jsx)(qG, {
+ children: e ? /* @__PURE__ */ (0, I.jsx)(KG, {
message: bn(e),
onRetry: () => {
r.error && r.refetch(), o.error && o.refetch();
@@ -74691,13 +74723,13 @@ function MMe(e) {
})
});
}
- return /* @__PURE__ */ (0, I.jsx)(NMe, {
+ return /* @__PURE__ */ (0, I.jsx)(IMe, {
...e,
item: Nue(o.data, i),
queue: i
}, o.data.id);
}
-var l4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
+var c4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -74706,8 +74738,8 @@ var l4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function NMe(e) {
- let { item: t, queue: n, actions: r, helpers: i } = e, a = JMe(t, r, i.tagLabel), o = (0, F.useRef)(t);
+function IMe(e) {
+ let { item: t, queue: n, actions: r, helpers: i } = e, a = ZMe(t, r, i.tagLabel), o = (0, F.useRef)(t);
(0, F.useLayoutEffect)(() => {
r.present(o.current, n);
}, [r]), (0, F.useEffect)(() => {
@@ -74722,7 +74754,7 @@ function NMe(e) {
"data-stage-grid": "",
"data-with-queue": n ? "" : void 0,
"data-item-detail": "",
- children: [/* @__PURE__ */ (0, I.jsx)(PMe, {
+ children: [/* @__PURE__ */ (0, I.jsx)(LMe, {
item: t,
gate: s,
helpers: i,
@@ -74735,22 +74767,22 @@ function NMe(e) {
autoplay: !0
}, c.id);
}
- }), /* @__PURE__ */ (0, I.jsx)(zMe, {
+ }), /* @__PURE__ */ (0, I.jsx)(HMe, {
item: t,
queue: n,
write: a,
helpers: i,
actions: r
})]
- }), /* @__PURE__ */ (0, I.jsx)(I2, {
+ }), /* @__PURE__ */ (0, I.jsx)(F2, {
queueCards: n?.kind === "parts" || n?.kind === "editions" ? n.items.length : void 0,
- queue: n ? /* @__PURE__ */ (0, I.jsx)(IMe, {
+ queue: n ? /* @__PURE__ */ (0, I.jsx)(zMe, {
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)(qMe, {
+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, I.jsx)(XMe, {
...e,
item: n ? {
...t,
@@ -74759,12 +74791,12 @@ function NMe(e) {
}) : null
})] });
}
-function PMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
+function LMe({ 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: Q2(e.code || ""),
+ queryKey: Z2(e.code || ""),
queryFn: ({ signal: t }) => {
let n = d.current;
- return d.current = !1, $2(e.code, t, n);
+ return d.current = !1, Q2(e.code, t, n);
},
staleTime: 216e5,
enabled: !!e.is_jav && !!e.code && !e.sample_images?.length
@@ -74809,7 +74841,7 @@ function PMe({ 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)(l4, { onClose: r.close }),
+ /* @__PURE__ */ (0, I.jsx)(c4, { onClose: r.close }),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-player-toolbar": "",
children: [
@@ -74819,21 +74851,21 @@ function PMe({ 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)(o4, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
+ children: [/* @__PURE__ */ (0, I.jsx)(a4, { 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)(Z2, {
+ h ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l === -2 ? null : /* @__PURE__ */ (0, I.jsx)(X2, {
item: e,
image: l,
source: p.find((e) => e.index === l)?.source
- }, e.id), /* @__PURE__ */ (0, I.jsx)(L2, {
+ }, e.id), /* @__PURE__ */ (0, I.jsx)(I2, {
items: m,
position: Math.max(0, m.findIndex((e) => e.index === l)),
onSelect: g,
below: !0,
- renderThumbnail: (t) => /* @__PURE__ */ (0, I.jsx)(Z2, {
+ renderThumbnail: (t) => /* @__PURE__ */ (0, I.jsx)(X2, {
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,
@@ -74849,7 +74881,7 @@ function PMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
className: "relative block h-12 w-20 skeleton-sheen"
}) : /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
- ...kV(f.isFetching),
+ ...OV(f.isFetching),
title: f.data?.message || bn(f.error),
"aria-label": "立即重试样图",
onClick: () => {
@@ -74858,7 +74890,7 @@ function PMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
children: "立即重试"
})
}) : null,
- t === "offline" ? /* @__PURE__ */ (0, I.jsx)(FMe, {
+ t === "offline" ? /* @__PURE__ */ (0, I.jsx)(RMe, {
item: e,
badge: y,
helpers: n,
@@ -74869,7 +74901,7 @@ function PMe({ 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)(r4, {
+ /* @__PURE__ */ (0, I.jsx)(n4, {
id: e.id,
onOpened: () => r.toast("已请求打开本地播放器")
}, e.id)
@@ -74879,7 +74911,7 @@ function PMe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
role: "status",
"data-item-gate": "online",
children: [
- /* @__PURE__ */ (0, I.jsx)(s4, { html: y }),
+ /* @__PURE__ */ (0, I.jsx)(o4, { html: y }),
/* @__PURE__ */ (0, I.jsx)("b", { children: "在线作品" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),
/* @__PURE__ */ (0, I.jsx)("button", {
@@ -74894,12 +74926,12 @@ function PMe({ 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)(s4, { html: y }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["点此开始拉流 · ", c4(e.size)] })]
+ children: [/* @__PURE__ */ (0, I.jsx)(o4, { html: y }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["点此开始拉流 · ", s4(e.size)] })]
}) : null
]
});
}
-function FMe({ item: e, badge: t, helpers: n, actions: r }) {
+function RMe({ 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);
@@ -74910,7 +74942,7 @@ function FMe({ item: e, badge: t, helpers: n, actions: r }) {
role: "status",
"data-item-gate": "offline",
children: [
- /* @__PURE__ */ (0, I.jsx)(s4, { html: t }),
+ /* @__PURE__ */ (0, I.jsx)(o4, { 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", {
@@ -74924,8 +74956,8 @@ function FMe({ item: e, badge: t, helpers: n, actions: r }) {
]
});
}
-function IMe({ queue: e, itemId: t, helpers: n, actions: r }) {
- let i = zue(e), a = (0, F.useRef)(null), o = RMe(e, t, r), s = (0, F.useRef)(o);
+function zMe({ queue: e, itemId: t, helpers: n, actions: r }) {
+ let i = zue(e), a = (0, F.useRef)(null), o = VMe(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, {
@@ -74933,7 +74965,7 @@ function IMe({ 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 = LMe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)("button", {
+ }, [n, e.kind]), l = BMe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-save-mix": "",
title: "保存为播放列表",
@@ -74952,7 +74984,7 @@ function IMe({ queue: e, itemId: t, helpers: n, actions: r }) {
seedId: e.seedId,
playlistId: e.playlistId
};
- return /* @__PURE__ */ (0, I.jsx)(VK, {
+ return /* @__PURE__ */ (0, I.jsx)(BK, {
kind: e.kind,
title: i.title,
summary: i.summary,
@@ -74965,7 +74997,7 @@ function IMe({ queue: e, itemId: t, helpers: n, actions: r }) {
"data-queue-edition": "",
children: i.edition_label
}) : null, s = e.kind === "playlist" && IP(i);
- return /* @__PURE__ */ (0, I.jsxs)(HK, {
+ return /* @__PURE__ */ (0, I.jsxs)(VK, {
current: i.id === t,
"data-queue-item": i.id,
row: { "data-queue-row": i.id },
@@ -74975,25 +75007,25 @@ function IMe({ 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)(s4, { html: Do(i, n.javImage()) }), /* @__PURE__ */ (0, I.jsx)("i", {
+ pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(o4, { 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)(s4, { html: Ao(i) }),
+ lead: /* @__PURE__ */ (0, I.jsx)(o4, { 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)(o4, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, I.jsx)(a4, { 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)(o4, { name: "x" })
+ children: /* @__PURE__ */ (0, I.jsx)(a4, { name: "x" })
})]
}) : null,
children: [/* @__PURE__ */ (0, I.jsxs)("span", {
@@ -75010,7 +75042,7 @@ function IMe({ queue: e, itemId: t, helpers: n, actions: r }) {
})
});
}
-function LMe(e, t) {
+function BMe(e, t) {
let n = Ft({ mutationFn: (t) => V(EP, {
action: "create",
name: t,
@@ -75024,7 +75056,7 @@ function LMe(e, t) {
save: (e) => n.mutateAsync(e)
});
}
-function RMe(e, t, n) {
+function VMe(e, t, n) {
let r = TP({
kind: "playlist",
playlistId: e.playlistId
@@ -75087,7 +75119,7 @@ function RMe(e, t, n) {
}
};
}
-function zMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
+function HMe({ 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": "",
@@ -75095,7 +75127,7 @@ function zMe({ 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)(BMe, {
+ /* @__PURE__ */ (0, I.jsx)(UMe, {
item: e,
queue: t,
helpers: r,
@@ -75107,7 +75139,7 @@ function zMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-live": "polite",
children: n.sourceState
}),
- /* @__PURE__ */ (0, I.jsx)(HMe, {
+ /* @__PURE__ */ (0, I.jsx)(GMe, {
item: e,
write: n
}),
@@ -75118,7 +75150,7 @@ function zMe({ 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)(o4, { name: "monitor" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [
+ children: [/* @__PURE__ */ (0, I.jsx)(a4, { name: "monitor" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [
e.width,
"×",
e.height
@@ -75126,11 +75158,11 @@ function zMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}) : null,
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, I.jsx)(o4, { name: "hard-drive" }), /* @__PURE__ */ (0, I.jsx)("span", { children: c4(e.size) })]
+ children: [/* @__PURE__ */ (0, I.jsx)(a4, { name: "hard-drive" }), /* @__PURE__ */ (0, I.jsx)("span", { children: s4(e.size) })]
}),
e.release_date ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, I.jsx)(o4, { name: "calendar" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.release_date })]
+ children: [/* @__PURE__ */ (0, I.jsx)(a4, { name: "calendar" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.release_date })]
}) : null,
e.region_label ? /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
@@ -75138,32 +75170,32 @@ function zMe({ 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)(o4, { name: "globe" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
+ children: [/* @__PURE__ */ (0, I.jsx)(a4, { 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)(r4, {
+ (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, I.jsx)(n4, {
id: e.id,
onOpened: () => i.toast("已请求打开本地播放器")
}, e.id) : null,
- /* @__PURE__ */ (0, I.jsx)(UMe, {
+ /* @__PURE__ */ (0, I.jsx)(KMe, {
item: e,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, I.jsx)(WMe, {
+ /* @__PURE__ */ (0, I.jsx)(qMe, {
item: e,
write: n,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, I.jsx)($K, {
- assetIds: QK([e], r.javImage()),
+ /* @__PURE__ */ (0, I.jsx)(QK, {
+ assetIds: ZK([e], r.javImage()),
onComplete: () => {
H.invalidateQueries({ queryKey: wP(e.id) });
}
}),
- /* @__PURE__ */ (0, I.jsx)(GMe, { item: e }),
+ /* @__PURE__ */ (0, I.jsx)(JMe, { item: e }),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-actions": "",
"data-item-feedback": "",
@@ -75177,7 +75209,7 @@ function zMe({ 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)(o4, { name: "thumbs-up" })
+ children: /* @__PURE__ */ (0, I.jsx)(a4, { name: "thumbs-up" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75189,7 +75221,7 @@ function zMe({ 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)(o4, { name: "notebook-pen" })
+ children: /* @__PURE__ */ (0, I.jsx)(a4, { name: "notebook-pen" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75200,7 +75232,7 @@ function zMe({ 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)(o4, { name: "thumbs-down" })
+ children: /* @__PURE__ */ (0, I.jsx)(a4, { name: "thumbs-down" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75211,7 +75243,7 @@ function zMe({ 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)(o4, { name: "eye" })
+ children: /* @__PURE__ */ (0, I.jsx)(a4, { name: "eye" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75222,7 +75254,7 @@ function zMe({ 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)(o4, { name: e.watch_later ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, I.jsx)(a4, { name: e.watch_later ? "check" : "bookmark-plus" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75231,7 +75263,7 @@ function zMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-label": "加入播放列表",
title: "加入播放列表",
onClick: () => i.addToPlaylist(e),
- children: /* @__PURE__ */ (0, I.jsx)(o4, { name: "playlist" })
+ children: /* @__PURE__ */ (0, I.jsx)(a4, { name: "playlist" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75242,7 +75274,7 @@ function zMe({ 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)(o4, { name: "sparkles" })
+ children: /* @__PURE__ */ (0, I.jsx)(a4, { name: "sparkles" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75253,11 +75285,11 @@ function zMe({ 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)(o4, { name: "trash" })
+ children: /* @__PURE__ */ (0, I.jsx)(a4, { name: "trash" })
})
]
}),
- /* @__PURE__ */ (0, I.jsx)(KMe, {
+ /* @__PURE__ */ (0, I.jsx)(YMe, {
item: e,
open: s,
write: n
@@ -75268,7 +75300,7 @@ function zMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
...o("o"),
onClick: () => n.feedback("o"),
children: [
- /* @__PURE__ */ (0, I.jsx)(o4, { name: "sperm" }),
+ /* @__PURE__ */ (0, I.jsx)(a4, { name: "sperm" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: "记一次高潮" }),
/* @__PURE__ */ (0, I.jsx)("b", {
className: "mono",
@@ -75281,8 +75313,8 @@ function zMe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
});
}
-function BMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
- let { text: a, expanded: o, foldable: s, toggle: c } = X2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Bue(e, t);
+function UMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
+ let { text: a, expanded: o, foldable: s, toggle: c } = Y2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Bue(e, t);
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -75309,11 +75341,11 @@ function BMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
"aria-label": o ? "收起标题" : "展开标题",
title: o ? "收起标题" : "展开完整标题",
onClick: c,
- children: /* @__PURE__ */ (0, I.jsx)(JH, {})
+ children: /* @__PURE__ */ (0, I.jsx)(qH, {})
}),
e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-cover-crop-host": "",
- children: /* @__PURE__ */ (0, I.jsx)(AMe, {
+ children: /* @__PURE__ */ (0, I.jsx)(NMe, {
code: e.cover_key || e.code || "",
coverUrl: co(e),
box: e.poster_box || null,
@@ -75325,7 +75357,7 @@ function BMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
}
})
}) : null,
- e.location === "online" ? null : /* @__PURE__ */ (0, I.jsx)(VMe, {
+ e.location === "online" ? null : /* @__PURE__ */ (0, I.jsx)(WMe, {
id: e.id,
actions: r,
onStatus: i
@@ -75335,7 +75367,7 @@ function BMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
});
}
-function VMe({ id: e, actions: t, onStatus: n }) {
+function WMe({ 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 () => {
@@ -75365,10 +75397,10 @@ function VMe({ id: e, actions: t, onStatus: n }) {
"aria-disabled": !0
} : {},
onClick: () => void o(),
- children: /* @__PURE__ */ (0, I.jsx)(o4, { name: "folder-sync" })
+ children: /* @__PURE__ */ (0, I.jsx)(a4, { name: "folder-sync" })
})] });
}
-function HMe({ item: e, write: t }) {
+function GMe({ item: e, write: t }) {
let n = SP(e.rating);
return /* @__PURE__ */ (0, I.jsxs)("div", {
id: "detailRating",
@@ -75376,7 +75408,7 @@ function HMe({ item: e, write: t }) {
"data-item-rating": "",
"aria-label": "评分",
"data-value": xP(e.rating),
- children: [/* @__PURE__ */ (0, I.jsx)(fY, {
+ children: [/* @__PURE__ */ (0, I.jsx)(dY, {
value: n,
onRate: (e) => t.rate(e),
busyStar: [
@@ -75394,10 +75426,10 @@ function HMe({ item: e, write: t }) {
})]
});
}
-function UMe({ item: e, actions: t }) {
+function KMe({ item: e, actions: t }) {
let n = (0, F.useMemo)(() => Pue(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)(J2, {
+ return /* @__PURE__ */ (0, I.jsx)(q2, {
kind: e,
person: n,
onOpen: t.openEntity,
@@ -75429,7 +75461,7 @@ function UMe({ item: e, actions: t }) {
onClick: t.openUnowned,
children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-id-face": "",
- children: /* @__PURE__ */ (0, I.jsx)(o4, { name: "user-round" })
+ children: /* @__PURE__ */ (0, I.jsx)(a4, { name: "user-round" })
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-id-name": "",
children: "未归属"
@@ -75441,7 +75473,7 @@ function UMe({ item: e, actions: t }) {
size: "small",
id: "castMore",
"data-cast-more": "",
- trailingIcon: NB,
+ trailingIcon: MB,
"aria-expanded": !1,
onClick: () => i(!0),
children: [
@@ -75460,16 +75492,16 @@ function UMe({ item: e, actions: t }) {
children: [c.length ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-identity-primary": "",
children: c
- }) : null, /* @__PURE__ */ (0, I.jsx)(Y2, {
+ }) : null, /* @__PURE__ */ (0, I.jsx)(J2, {
people: n.series,
onOpen: t.openEntity
})]
});
}
-function WMe({ item: e, write: t, helpers: n, actions: r }) {
+function qMe({ item: e, write: t, helpers: n, actions: r }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-item-tags": "",
- children: /* @__PURE__ */ (0, I.jsx)(B2, {
+ children: /* @__PURE__ */ (0, I.jsx)(z2, {
id: "detailTags",
tags: Fue(e, n),
candidates: n.tagCandidates(),
@@ -75482,7 +75514,7 @@ function WMe({ item: e, write: t, helpers: n, actions: r }) {
})
});
}
-function GMe({ item: e }) {
+function JMe({ item: e }) {
let t = Wue(e);
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-item-trace": "",
@@ -75517,7 +75549,7 @@ function GMe({ item: e }) {
})]
});
}
-function KMe({ item: e, open: t, write: n }) {
+function YMe({ 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();
@@ -75556,12 +75588,12 @@ function KMe({ item: e, open: t, write: n }) {
})]
});
}
-function qMe(e) {
+function XMe(e) {
let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Pt({
queryKey: Aue(t.id, n),
queryFn: async ({ signal: e }) => (await B(Mue(t.id, n), e)).items || []
}), [o] = (0, F.useState)(() => r.relatedSkeletonHtml());
- return /* @__PURE__ */ (0, I.jsx)(F2, {
+ return /* @__PURE__ */ (0, I.jsx)(P2, {
wireDrag: r.wireDrag,
busy: a.isPending,
empty: a.data?.length === 0,
@@ -75569,7 +75601,7 @@ function qMe(e) {
onRetry: () => {
a.refetch();
},
- children: a.data ? /* @__PURE__ */ (0, I.jsx)(xY, {
+ children: a.data ? /* @__PURE__ */ (0, I.jsx)(bY, {
mode: "items",
variant: "next",
items: a.data,
@@ -75582,10 +75614,10 @@ function qMe(e) {
revision: 0,
wireDrag: r.wireDrag,
skeletonHtml: () => ""
- }) : /* @__PURE__ */ (0, I.jsx)(s4, { html: o })
+ }) : /* @__PURE__ */ (0, I.jsx)(o4, { html: o })
});
}
-function JMe(e, t, n) {
+function ZMe(e, t, n) {
let r = e.id, i = wP(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;
@@ -75726,11 +75758,11 @@ function JMe(e, t, n) {
};
}
// src/react/publication-cache.ts
-var u4 = 864e5, d4 = (e) => {
+var l4 = 864e5, u4 = (e) => {
let t = new Date(e);
return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());
};
-function f4(e) {
+function d4(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));
@@ -75738,25 +75770,25 @@ function f4(e) {
let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();
return Date.UTC(n, r + 1, Math.min(i, o));
}
-function YMe(e, t = Date.now()) {
- let n = f4(e);
- return n !== void 0 && d4(t) > n ? Infinity : u4;
+function QMe(e, t = Date.now()) {
+ let n = d4(e);
+ return n !== void 0 && u4(t) > n ? Infinity : l4;
}
-function p4(e, t, n = Date.now()) {
- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : YMe(t, n) === Infinity ? d4(e) > f4(t) : n - e < u4;
+function f4(e, t, n = Date.now()) {
+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : QMe(t, n) === Infinity ? u4(e) > d4(t) : n - e < l4;
}
// src/react/wants/resource-cache.ts
-var m4 = "peach.want-resources.v2";
-function h4(e) {
+var p4 = "peach.want-resources.v2";
+function m4(e) {
return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);
}
-function g4(e, t, n) {
- return !!e && !e.cache_stale && (e.state === "error" || !h4(e) ? Date.now() - t < 6e4 : p4(t, n));
+function h4(e, t, n) {
+ return !!e && !e.cache_stale && (e.state === "error" || !m4(e) ? Date.now() - t < 6e4 : f4(t, n));
}
-function _4() {
+function g4() {
try {
- let e = JSON.parse(localStorage.getItem(m4) || "[]");
- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && h4(e.result) && e.result.items.every((e) => e && [
+ let e = JSON.parse(localStorage.getItem(p4) || "[]");
+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && m4(e.result) && e.result.items.every((e) => e && [
"magnet",
"ed2k",
"url"
@@ -75765,23 +75797,23 @@ function _4() {
return [];
}
}
-function XMe(e, t) {
- let n = _4().find((t) => t.code === e);
- return n && p4(n.saved, t) ? n : void 0;
+function $Me(e, t) {
+ let n = g4().find((t) => t.code === e);
+ return n && f4(n.saved, t) ? n : void 0;
}
-function ZMe(e) {
- let t = new Map(_4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();
+function eNe(e) {
+ let t = new Map(g4().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 && p4(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
+ e && f4(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
}
return n;
}
-function QMe(e, t) {
- if (t.state === "ready" && h4(t)) try {
- let n = _4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
- localStorage.setItem(m4, JSON.stringify([{
+function tNe(e, t) {
+ if (t.state === "ready" && m4(t)) try {
+ let n = g4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
+ localStorage.setItem(p4, JSON.stringify([{
code: e,
saved: Number.isFinite(r) ? r : Date.now(),
result: t
@@ -75789,15 +75821,15 @@ function QMe(e, t) {
} catch {}
}
// src/react/wants/resource-display.ts
-function $Me(e) {
+function nNe(e) {
let t = (e ?? "").trim(), n = /^([\d,]+)\s*B$/i.exec(t);
return /^[\d,.]+$/.test(t) ? "大小未知" : n ? Yn(Number(n[1].replaceAll(",", ""))) : e || "大小未知";
}
-function eNe(e) {
+function rNe(e) {
return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;
}
// src/react/wants/want-magnets.tsx
-function v4({ icon: e, children: t, title: n }) {
+function _4({ icon: e, children: t, title: n }) {
return /* @__PURE__ */ (0, I.jsxs)("span", {
title: n,
className: "inline-flex items-center gap-1",
@@ -75807,8 +75839,8 @@ function v4({ icon: e, children: t, title: n }) {
}), t]
});
}
-function y4({ 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 = kH(), p = ae(), m = (0, F.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, F.useMemo)(() => XMe(h, e.release_date), [h, e.release_date]);
+function v4({ 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)(() => $Me(h, e.release_date), [h, e.release_date]);
(0, F.useEffect)(() => {
if (!s.current || c) return;
let e = new IntersectionObserver((t) => {
@@ -75828,22 +75860,22 @@ function y4({ 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", QMe(h, i), i;
+ return m.current = n && i.state === "busy", tNe(h, i), i;
},
initialData: g?.result,
initialDataUpdatedAt: g?.saved,
enabled: c,
retry: !1,
- staleTime: (t) => g4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
+ staleTime: (t) => h4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
gcTime: 864e5,
- refetchOnMount: (t) => !g4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",
+ refetchOnMount: (t) => !h4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",
refetchOnWindowFocus: !1,
refetchInterval: (e) => e.state.data?.state === "busy" && 3e3
});
(0, F.useEffect)(() => {
_.data?.source_url && a?.(_.data.source_url);
}, [_.data?.source_url, a]), (0, F.useEffect)(() => {
- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && $ve(e.id, _.data.items.some((e) => e.protocol === "magnet"));
+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && eye(e.id, _.data.items.some((e) => e.protocol === "magnet"));
}, [
_.data,
o,
@@ -75851,7 +75883,7 @@ function y4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
]);
let v = n?.providers.find((e) => e.key === r && e.configured), y = (r) => {
!t && n?.available && v && r.protocol === "magnet" && f.run(r.id, async (t) => {
- let n = await V(cW, {
+ let n = await V(sW, {
magnet: r.uri,
provider: v.key,
target: v.target,
@@ -75862,7 +75894,7 @@ function y4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
if (!n.ok) throw Error(n.task.failure_detail || n.task.failure_label || "添加下载失败");
return n;
}, (e) => {
- d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: lW });
+ d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: cW });
});
}, b = (e) => {
f.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));
@@ -75880,39 +75912,39 @@ function y4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}), /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: iV,
- ...kV(x),
+ leadingIcon: rV,
+ ...OV(x),
onClick: () => {
x || (m.current = !0, _.refetch());
},
children: "重新查询"
})]
}),
- x ? /* @__PURE__ */ (0, I.jsx)(HH, { label: "正在查找资源链接" }) : null,
- S ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ x ? /* @__PURE__ */ (0, I.jsx)(VH, { label: "正在查找资源链接" }) : null,
+ S ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
title: "资源链接未取得",
children: S
}) : null,
- _.data?.warnings?.map((e) => /* @__PURE__ */ (0, I.jsx)(wV, {
+ _.data?.warnings?.map((e) => /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "neutral",
- children: eNe(e)
+ children: rNe(e)
}, e)),
- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, I.jsx)(PL, {
+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, I.jsx)(NL, {
variant: "secondary",
size: "small",
className: "self-start",
- trailingIcon: UB,
+ trailingIcon: HB,
href: _.data.source_url,
target: "_blank",
rel: "noopener noreferrer",
children: "查看来源页"
}) : null,
- _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "neutral",
children: "暂未找到资源链接。"
}) : null,
- f.error ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ f.error ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
title: "操作未完成",
children: f.error
@@ -75927,7 +75959,7 @@ function y4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(oW, {
+ children: [/* @__PURE__ */ (0, I.jsx)(aW, {
variant: "caption",
color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",
children: e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ED2K" : "网页链接"
@@ -75941,26 +75973,26 @@ function y4({ 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)(v4, {
- icon: nge,
+ /* @__PURE__ */ (0, I.jsx)(_4, {
+ icon: rge,
children: e.source
}),
- /* @__PURE__ */ (0, I.jsx)(v4, {
- icon: XB,
+ /* @__PURE__ */ (0, I.jsx)(_4, {
+ icon: YB,
title: e.size ? `来源大小:${e.size}` : void 0,
- children: $Me(e.size)
+ children: nNe(e.size)
}),
- e.files ? /* @__PURE__ */ (0, I.jsx)(v4, {
- icon: Ghe,
+ e.files ? /* @__PURE__ */ (0, I.jsx)(_4, {
+ icon: Khe,
children: e.files.replaceAll("個", "个")
}) : null,
- /* @__PURE__ */ (0, I.jsx)(v4, {
- icon: Nhe,
+ /* @__PURE__ */ (0, I.jsx)(_4, {
+ 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)(v4, {
- icon: rV,
+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, I.jsx)(_4, {
+ icon: nV,
children: e
}, e))
]
@@ -75969,11 +76001,11 @@ function y4({ 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)(PL, {
+ /* @__PURE__ */ (0, I.jsx)(NL, {
"data-button-link": "",
variant: "secondary",
size: "small",
- trailingIcon: UB,
+ trailingIcon: HB,
href: e.source_url,
target: "_blank",
rel: "noopener noreferrer",
@@ -75982,18 +76014,18 @@ function y4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
/* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: Uhe,
- ...kV(f.busy === `copy:${e.id}`),
+ leadingIcon: Whe,
+ ...OV(f.busy === `copy:${e.id}`),
onClick: () => b(e),
children: "复制链接"
}),
e.protocol === "magnet" ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "primary",
size: "small",
- leadingIcon: v ? rU(v.key) : Rhe,
+ leadingIcon: v ? nU(v.key) : zhe,
title: v ? `下载到 ${v.label}` : void 0,
disabled: t || !n?.available || !v || r,
- ...kV(f.busy === e.id),
+ ...OV(f.busy === e.id),
onClick: () => y(e),
children: r ? "已添加" : "添加下载"
}) : null
@@ -76004,7 +76036,7 @@ function y4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: e.slice(0, 3)
- }), e.length > 3 ? /* @__PURE__ */ (0, I.jsx)(eU, {
+ }), e.length > 3 ? /* @__PURE__ */ (0, I.jsx)($H, {
summary: `更多资源(${e.length - 3} 条)`,
children: /* @__PURE__ */ (0, I.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
@@ -76016,10 +76048,10 @@ function y4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
});
}
// src/react/jav-detail/review-cache.ts
-var b4 = "peach.jav-reviews.v2";
-function x4() {
+var y4 = "peach.jav-reviews.v2";
+function b4() {
try {
- let e = localStorage.getItem(b4) || "[]";
+ let e = localStorage.getItem(y4) || "[]";
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")) : [];
@@ -76027,21 +76059,21 @@ function x4() {
return [];
}
}
-function tNe(e, t) {
+function iNe(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
- }, ...x4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
- i.length <= 2e6 && localStorage.setItem(b4, i);
+ }, ...b4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
+ i.length <= 2e6 && localStorage.setItem(y4, i);
} catch {}
}
-function nNe(e, t) {
- let n = x4(), r = [], i = Infinity;
+function aNe(e, t) {
+ let n = b4(), r = [], i = Infinity;
for (let a = 1; a <= 8; a++) {
let o = n.find((t) => t.code === e && t.result.page === a);
- if (!o || !p4(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
+ if (!o || !f4(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
}
return r.length ? {
pages: r,
@@ -76049,16 +76081,16 @@ function nNe(e, t) {
saved: i
} : void 0;
}
-function rNe(e, t, n) {
- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && p4(Date.parse(e.checked_at || "") || t, n));
+function oNe(e, t, n) {
+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && f4(Date.parse(e.checked_at || "") || t, n));
}
// src/react/jav-detail/jav-detail-page.tsx
-function iNe(e) {
+function sNe(e) {
let t = (0, F.useRef)(!1), n = Pt({
- queryKey: Q2(e.code),
+ queryKey: Z2(e.code),
queryFn: ({ signal: n }) => {
let r = t.current;
- return t.current = !1, $2(e.code, n, r);
+ return t.current = !1, Q2(e.code, n, r);
},
staleTime: 216e5
}), r = () => {
@@ -76068,21 +76100,21 @@ function iNe(e) {
"data-jav-detail": "",
"data-item-detail": "",
"data-stage-grid": "",
- children: n.data ? /* @__PURE__ */ (0, I.jsx)(aNe, {
+ children: n.data ? /* @__PURE__ */ (0, I.jsx)(cNe, {
...e,
item: n.data,
retry: r,
retrying: n.isFetching
}, e.code) : /* @__PURE__ */ (0, I.jsxs)("div", {
"data-jav-failure": "",
- children: [/* @__PURE__ */ (0, I.jsx)(S4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, I.jsx)(qG, {
+ children: [/* @__PURE__ */ (0, I.jsx)(x4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, I.jsx)(KG, {
message: cr(n.error),
onRetry: r
}) : null]
})
});
}
-var S4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
+var x4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -76091,7 +76123,7 @@ var S4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function aNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
+function cNe({ 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)(() => {
@@ -76111,13 +76143,13 @@ function aNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
label: "视频预览",
video: !0
}] : []
- ], [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(t.want_id), p = kH(), m = () => {
- p.run("want", async (e) => d ? (await bW([d], e), null) : (await yW({ code: t.code }, e)).want.id, (t) => {
- f(t), H.setQueryData(Q2(e), (e) => e && {
+ ], [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(Z2(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: [
@@ -76126,24 +76158,24 @@ function aNe({ 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)(S4, { close: n.close }),
+ /* @__PURE__ */ (0, I.jsx)(x4, { 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)(C4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
+ children: [/* @__PURE__ */ (0, I.jsx)(S4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
}) : null,
- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, I.jsx)(cNe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, I.jsx)(DQ, {
+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, I.jsx)(dNe, { 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)(L2, {
+ /* @__PURE__ */ (0, I.jsx)(I2, {
items: c,
position: Math.max(0, c.findIndex((e) => e.index === o)),
onSelect: s,
below: !0,
- renderThumbnail: (e) => /* @__PURE__ */ (0, I.jsx)(DQ, {
+ renderThumbnail: (e) => /* @__PURE__ */ (0, I.jsx)(EQ, {
item: t,
image: e.index < 0 ? "cover" : String(e.index),
thumbnail: !0
@@ -76157,33 +76189,33 @@ function aNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
"data-stage-side-content": "",
"data-jav-info": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(oNe, { item: t }),
- Number(t.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(T4, { score: Number(t.score) }) : null,
+ /* @__PURE__ */ (0, I.jsx)(lNe, { item: t }),
+ Number(t.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(w4, { score: Number(t.score) }) : null,
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "mono",
"data-stage-meta": "",
"data-reveal-line": "",
- children: [/* @__PURE__ */ (0, I.jsx)(w4, {
+ children: [/* @__PURE__ */ (0, I.jsx)(C4, {
glyph: "calendar",
label: "发行日期",
value: t.release_date
- }), /* @__PURE__ */ (0, I.jsx)(w4, {
+ }), /* @__PURE__ */ (0, I.jsx)(C4, {
glyph: "clock",
label: "时长",
value: t.duration ? `${t.duration} 分钟` : void 0
})]
}),
- /* @__PURE__ */ (0, I.jsx)(sNe, {
+ /* @__PURE__ */ (0, I.jsx)(uNe, {
item: t,
navigate: n.navigate
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-jav-facts": "",
- children: [/* @__PURE__ */ (0, I.jsx)(w4, {
+ children: [/* @__PURE__ */ (0, I.jsx)(C4, {
glyph: "briefcase",
label: "发行商",
value: t.publisher
- }), /* @__PURE__ */ (0, I.jsx)(w4, {
+ }), /* @__PURE__ */ (0, I.jsx)(C4, {
glyph: "clapperboard",
label: "导演",
value: t.director
@@ -76212,14 +76244,14 @@ function aNe({ 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: tL(t.summary),
+ lang: eL(t.summary),
children: t.summary
}) : null,
- t.message ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ t.message ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "neutral",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
- ...kV(a),
+ ...OV(a),
onClick: i,
children: "立即重试"
}),
@@ -76228,10 +76260,10 @@ function aNe({ 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)(PL, {
+ t.source_url ? /* @__PURE__ */ (0, I.jsx)(NL, {
"data-button-link": "",
variant: "secondary",
- trailingIcon: UB,
+ trailingIcon: HB,
href: t.source_url,
target: "_blank",
rel: "noopener noreferrer",
@@ -76241,7 +76273,7 @@ function aNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
variant: "secondary",
disabled: r,
"aria-pressed": !!d,
- ...kV(!!p.busy),
+ ...OV(!!p.busy),
onClick: m,
children: d ? "取消想要" : "想要"
}),
@@ -76259,16 +76291,16 @@ function aNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
})
]
}),
- p.error ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ p.error ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "error",
children: p.error
}) : null,
- /* @__PURE__ */ (0, I.jsx)(lNe, {
+ /* @__PURE__ */ (0, I.jsx)(fNe, {
code: t.code,
count: t.comments_count,
released: t.release_date
}),
- /* @__PURE__ */ (0, I.jsx)(uNe, {
+ /* @__PURE__ */ (0, I.jsx)(pNe, {
item: t,
actions: n,
readOnly: r
@@ -76276,24 +76308,24 @@ function aNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
]
})
}),
- /* @__PURE__ */ (0, I.jsx)(hW, {
+ /* @__PURE__ */ (0, I.jsx)(mW, {
prefill: l,
close: () => u(null),
receipt: n.receipt
})
] });
}
-var C4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var S4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: R(e) }
-}), w4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, I.jsxs)("span", {
+}), C4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-spec-item": "",
title: t,
- children: [/* @__PURE__ */ (0, I.jsx)(C4, { name: e }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, I.jsx)(S4, { name: e }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]
}) : null;
-function oNe({ item: e }) {
- let { text: t, expanded: n, foldable: r, toggle: i } = X2(e.title), a = e.title === e.code ? "" : e.title;
+function lNe({ item: e }) {
+ let { text: t, expanded: n, foldable: r, toggle: i } = Y2(e.title), a = e.title === e.code ? "" : e.title;
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-item-title": "",
children: [/* @__PURE__ */ (0, I.jsx)("h1", {
@@ -76309,7 +76341,7 @@ function oNe({ 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: tL(a),
+ lang: eL(a),
children: a
})] }) : null]
})
@@ -76323,25 +76355,25 @@ function oNe({ item: e }) {
"aria-label": n ? "收起标题" : "展开标题",
title: n ? "收起标题" : "展开完整标题",
onClick: i,
- children: /* @__PURE__ */ (0, I.jsx)(JH, {})
+ children: /* @__PURE__ */ (0, I.jsx)(qH, {})
})
})]
});
}
-function T4({ score: e, review: t = !1 }) {
+function w4({ score: e, review: t = !1 }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-item-rating": "",
"data-jav-rating": "",
"data-review-rating": t ? "" : void 0,
role: "img",
"aria-label": `${t ? "评论" : "JavDB"}评分 ${e} / 5`,
- children: [/* @__PURE__ */ (0, I.jsx)(fY, { value: e }), /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(dY, { value: e }), /* @__PURE__ */ (0, I.jsxs)("span", {
"data-rating-value": "",
children: [e.toFixed(1), " / 5"]
})]
});
}
-function sNe({ item: e, navigate: t }) {
+function uNe({ 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,
@@ -76350,14 +76382,14 @@ function sNe({ item: e, navigate: t }) {
children: r
}), /* @__PURE__ */ (0, I.jsx)("div", {
"data-id-row": "",
- children: i.map((r) => /* @__PURE__ */ (0, I.jsx)(J2, {
+ children: i.map((r) => /* @__PURE__ */ (0, I.jsx)(q2, {
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)(OQ, {
+ 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
@@ -76374,7 +76406,7 @@ function sNe({ 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)(Y2, {
+ }), /* @__PURE__ */ (0, I.jsx)(J2, {
people: e.series_refs.map((e) => ({
...e,
id: e.id ?? null
@@ -76383,7 +76415,7 @@ function sNe({ item: e, navigate: t }) {
})]
});
}
-function cNe({ src: e }) {
+function dNe({ 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");
@@ -76394,7 +76426,7 @@ function cNe({ src: e }) {
}, [e, i]), /* @__PURE__ */ (0, I.jsx)("div", {
ref: t,
"data-jav-video": "",
- children: n ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ children: n ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "neutral",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -76407,8 +76439,8 @@ function cNe({ src: e }) {
}) : null
});
}
-function lNe({ code: e, count: t, released: n }) {
- let r = ae(), [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => nNe(e, n), [e, n]), s = (0, F.useRef)(!1), c = It({
+function fNe({ code: e, count: t, released: n }) {
+ let r = ae(), [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => aNe(e, n), [e, n]), s = (0, F.useRef)(!1), c = It({
queryKey: ["jav-reviews", e],
enabled: i,
initialPageParam: 1,
@@ -76417,12 +76449,12 @@ function lNe({ code: e, count: t, released: n }) {
pageParams: o.pageParams
} : void 0,
initialDataUpdatedAt: o?.saved,
- staleTime: (e) => rNe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
+ staleTime: (e) => oNe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
gcTime: 864e5,
refetchOnWindowFocus: !1,
queryFn: async ({ signal: t, pageParam: n }) => {
- let i = await CMe(e, n, t, s.current);
- if (tNe(e, i), !i.ok || i.cache_stale) {
+ let i = await EMe(e, n, t, s.current);
+ if (iNe(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,
@@ -76432,7 +76464,7 @@ function lNe({ code: e, count: t, released: n }) {
}
return i;
},
- getNextPageParam: wMe
+ getNextPageParam: DMe
});
(0, F.useEffect)(() => {
c.isFetching || (s.current = !1);
@@ -76440,10 +76472,10 @@ function lNe({ code: e, count: t, released: n }) {
let l = c.data?.pages || [], u = [...new Map(l.flatMap((e) => e.items).map((e) => [e.id, e])).values()], d = c.error ? cr(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;
return /* @__PURE__ */ (0, I.jsx)("section", {
"data-jav-reviews": "",
- children: /* @__PURE__ */ (0, I.jsxs)(eU, {
+ children: /* @__PURE__ */ (0, I.jsxs)($H, {
trailing: !0,
summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(Phe, { "aria-hidden": !0 }),
+ /* @__PURE__ */ (0, I.jsx)(Fhe, { "aria-hidden": !0 }),
"评论",
t > 0 ? ` · ${t}` : ""
] }),
@@ -76480,7 +76512,7 @@ function lNe({ 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)(T4, {
+ Number(e.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(w4, {
score: Number(e.score),
review: !0
}) : null,
@@ -76492,28 +76524,28 @@ function lNe({ code: e, count: t, released: n }) {
]
}), /* @__PURE__ */ (0, I.jsx)("p", {
"data-long-text": "",
- lang: tL(e.content),
+ lang: eL(e.content),
children: e.content
})]
}, e.id)),
- d ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ d ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "neutral",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
- ...kV(c.isFetching),
+ ...OV(c.isFetching),
onClick: () => {
s.current = !0, c.refetch();
},
children: "立即重试"
}),
children: d
- }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, I.jsx)(wV, {
+ }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, I.jsx)(CV, {
tone: "neutral",
children: "暂无评论"
}) : null,
!d && l.length ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
- ...kV(c.isFetching),
+ ...OV(c.isFetching),
onClick: () => {
s.current = !0, c.refetch();
},
@@ -76521,13 +76553,13 @@ function lNe({ code: e, count: t, released: n }) {
}) : null,
c.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
- ...kV(c.isFetchingNextPage),
+ ...OV(c.isFetchingNextPage),
onClick: () => {
c.isFetchingNextPage || c.fetchNextPage();
},
children: "更多评论"
}) : null,
- !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, I.jsxs)(wV, {
+ !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, I.jsxs)(CV, {
tone: "neutral",
children: [
"已显示 ",
@@ -76539,21 +76571,21 @@ function lNe({ code: e, count: t, released: n }) {
})
});
}
-function uNe({ item: e, actions: t, readOnly: n }) {
+function pNe({ item: e, actions: t, readOnly: n }) {
let [r, i] = (0, F.useState)(!1), a = Pt({
- queryKey: lW,
+ queryKey: cW,
enabled: r,
- queryFn: ({ signal: e }) => B(`${cW}?limit=50`, e)
+ queryFn: ({ signal: e }) => B(`${sW}?limit=50`, e)
}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsx)("section", {
"data-jav-resources": "",
- children: /* @__PURE__ */ (0, I.jsx)(eU, {
+ children: /* @__PURE__ */ (0, I.jsx)($H, {
trailing: !0,
- summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(C4, { name: "link" }), "资源"] }),
+ summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(S4, { name: "link" }), "资源"] }),
onOpenChange: (e) => {
i(e), e && c(!0);
},
- children: s ? /* @__PURE__ */ (0, I.jsx)(y4, {
+ children: s ? /* @__PURE__ */ (0, I.jsx)(v4, {
want: {
id: 0,
code: e.code,
@@ -76570,31 +76602,31 @@ function uNe({ item: e, actions: t, readOnly: n }) {
});
}
// src/react/stage/stage-player.ts
-var E4 = null, D4 = null, O4 = null, k4 = null, A4 = null, j4 = !1, M4 = 0, N4 = null, P4 = () => !1, F4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;
-function dNe(e, t) {
- E4 = e, P4 = () => t.isOpen(), N4 = () => t.requestClose(), Mle({
+var T4 = null, E4 = null, D4 = null, O4 = null, k4 = null, A4 = !1, j4 = 0, M4 = null, N4 = () => !1, P4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;
+function mNe(e, t) {
+ T4 = e, N4 = () => t.isOpen(), M4 = () => t.requestClose(), jle({
...e.player,
stage: () => document.getElementById("stage")
- }), Nle({
- inMiniplayer: (e) => D4?.player === e,
- kind: (e) => D4?.player === e ? D4.kind : O4?.kind ?? k4?.kind ?? "item",
- expand: () => t3(),
- toMiniplayer: () => n3()
- }), I4 || (I4 = !0, addEventListener("pagehide", () => $N()));
-}
-var I4 = !1;
-function L4() {
- if (!E4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
- return E4;
-}
-function R4(e) {
- k4 = e;
-}
-var fNe = () => k4;
-function z4(e, t) {
- let { kind: n, item: r, media: i = null } = t, a = F4(n, r.id, i?.index ?? null);
- if (D4 && D4.key === a) return mNe(e, D4);
- D4 && e3();
+ }), Mle({
+ inMiniplayer: (e) => E4?.player === e,
+ kind: (e) => E4?.player === e ? E4.kind : D4?.kind ?? O4?.kind ?? "item",
+ expand: () => e3(),
+ toMiniplayer: () => t3()
+ }), F4 || (F4 = !0, addEventListener("pagehide", () => $N()));
+}
+var F4 = !1;
+function I4() {
+ if (!T4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
+ return T4;
+}
+function L4(e) {
+ O4 = e;
+}
+var hNe = () => O4;
+function R4(e, t) {
+ let { kind: n, item: r, media: i = null } = t, a = P4(n, r.id, i?.index ?? null);
+ if (E4 && E4.key === a) return _Ne(e, E4);
+ E4 && $4();
let o = {
player: null,
kind: n,
@@ -76602,7 +76634,7 @@ function z4(e, t) {
mediaIndex: i?.index ?? null,
key: a
};
- O4 = o;
+ D4 = 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 = fP(s, {
@@ -76612,42 +76644,42 @@ function z4(e, t) {
autoplay: t.autoplay,
resume: t.resume ?? null,
onPlayer: (e) => {
- O4 === o && (o.player = e);
+ D4 === o && (o.player = e);
},
- handedOff: (e) => D4?.player === e
+ handedOff: (e) => E4?.player === e
});
return () => {
- let e = !!o.player && D4?.player === o.player;
- O4 === o && (O4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), $N());
+ let e = !!o.player && E4?.player === o.player;
+ D4 === o && (D4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), $N());
};
}
-async function pNe(e, t, n) {
+async function gNe(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 L4().player.loadSourceStatus();
- if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(L4().player.offlineReason(String(r.root_id || r.location || "")));
+ let i = await I4().player.loadSourceStatus();
+ if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(I4().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 || "未归属")
};
- R4(a);
- let o = z4(t, {
+ L4(a);
+ let o = R4(t, {
kind: "item",
item: r,
autoplay: !0
}), s = !1;
return (e = !1) => {
- s || (s = !0, e && k4 === a && V4(!0), o(), k4 === a && R4(null));
+ s || (s = !0, e && O4 === a && B4(!0), o(), O4 === a && L4(null));
};
}
-function mNe(e, t) {
+function _Ne(e, t) {
let { player: n } = t;
- Q4(t), D4 = null, $4(), n.el().classList.remove("vjs-peach-mini"), uP(e), e.append(n.el()), nN(n);
+ Z4(t), E4 = null, Q4(), n.el().classList.remove("vjs-peach-mini"), uP(e), e.append(n.el()), rN(n);
let r = {
player: n,
kind: t.kind,
@@ -76655,23 +76687,23 @@ function mNe(e, t) {
mediaIndex: t.mediaIndex,
key: t.key
};
- O4 = r;
+ D4 = r;
let i = dP(n, e);
- return rN(n), () => {
- O4 === r && (O4 = null), i(), D4?.player !== n && (tN() === n && nN(null), WN(n), $N());
+ return iN(n), () => {
+ D4 === r && (D4 = null), i(), E4?.player !== n && (nN() === n && rN(null), WN(n), $N());
};
}
-var B4 = () => {
- let e = O4?.player;
+var z4 = () => {
+ let e = D4?.player;
return e && !e.isDisposed() ? e : null;
};
-function V4(e) {
- let t = j4;
- j4 = !1, D4?.pending && e3();
- let n = O4, r = n?.player, i = k4;
- if (!n || !r || r.isDisposed() || !i || !A4) return;
- let a = L4().player.settings();
- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && vNe({
+function B4(e) {
+ let t = A4;
+ A4 = !1, E4?.pending && $4();
+ let n = D4, r = n?.player, i = O4;
+ if (!n || !r || r.isDisposed() || !i || !k4) return;
+ let a = I4().player.settings();
+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && xNe({
player: r,
kind: n.kind,
item: n.item,
@@ -76679,46 +76711,46 @@ function V4(e) {
key: n.key
}, i);
}
-function H4(e, t) {
- j4 = !1, D4 && (D4.kind === e && D4.item.id === t ? (D4.pending = !0, $4()) : e3());
+function V4(e, t) {
+ A4 = !1, E4 && (E4.kind === e && E4.item.id === t ? (E4.pending = !0, Q4()) : $4());
}
-function U4(e) {
- A4 = e, A4 && X4();
+function H4(e) {
+ k4 = e, k4 && Y4();
}
-var W4 = () => !!D4 && !D4.pending && !D4.player.isDisposed();
-function hNe() {
- return W4() ? A4?.frame.querySelector("video") ?? null : null;
+var U4 = () => !!E4 && !E4.pending && !E4.player.isDisposed();
+function vNe() {
+ return U4() ? k4?.frame.querySelector("video") ?? null : null;
}
-function gNe() {
- return P4() ? document.getElementById("stage")?.querySelector("video") ?? null : B4()?.el().querySelector("video") ?? hNe();
+function yNe() {
+ return N4() ? document.getElementById("stage")?.querySelector("video") ?? null : z4()?.el().querySelector("video") ?? vNe();
}
-function G4(e) {
- A4 && (A4.title.textContent = e.title || "", A4.sub.textContent = e.sub || "", A4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
+function W4(e) {
+ k4 && (k4.title.textContent = e.title || "", k4.sub.textContent = e.sub || "", k4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
}
-function K4(e = D4?.item) {
- if (!A4) return;
- let t = A4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
- A4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
+function G4(e = E4?.item) {
+ if (!k4) return;
+ let t = k4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
+ k4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
}
-function q4() {
- let e = D4?.player;
- if (!e || e.isDisposed() || !A4) return;
+function K4() {
+ let e = E4?.player;
+ if (!e || e.isDisposed() || !k4) return;
let t = e.paused();
- A4.play.setAttribute("aria-label", t ? "播放" : "暂停"), A4.play.querySelector("[data-icon-swap]") || (A4.play.innerHTML = Gs("player-pause", "player-play", t ? "b" : "a")), Ks(A4.play, t ? "b" : "a");
+ k4.play.setAttribute("aria-label", t ? "播放" : "暂停"), k4.play.querySelector("[data-icon-swap]") || (k4.play.innerHTML = Gs("player-pause", "player-play", t ? "b" : "a")), Ks(k4.play, t ? "b" : "a");
}
-function J4() {
- let e = D4?.player;
- if (!e || e.isDisposed() || !A4) return;
- let t = Kn(D4?.item.duration) || Kn(e.duration());
- A4.time.textContent = `${Jn(e.currentTime())} / ${t ? Jn(t) : "0:00"}`;
-}
-var Y4 = () => Math.max(1, Number(L4().player.settings().seekSeconds) || 10);
-function X4() {
- if (!A4 || !E4) return;
- let e = Y4();
- for (let [t, n] of [[A4.back, `后退 ${e} 秒`], [A4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
-}
-function Z4(e) {
+function q4() {
+ let e = E4?.player;
+ if (!e || e.isDisposed() || !k4) return;
+ let t = Kn(E4?.item.duration) || Kn(e.duration());
+ k4.time.textContent = `${Jn(e.currentTime())} / ${t ? Jn(t) : "0:00"}`;
+}
+var J4 = () => Math.max(1, Number(I4().player.settings().seekSeconds) || 10);
+function Y4() {
+ if (!k4 || !T4) return;
+ let e = J4();
+ for (let [t, n] of [[k4.back, `后退 ${e} 秒`], [k4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
+}
+function X4(e) {
let t = (t, n) => {
e.player.on(t, n), e.off.push(() => {
try {
@@ -76730,17 +76762,17 @@ function Z4(e) {
"play",
"pause",
"ended"
- ], q4), t([
+ ], K4), t([
"timeupdate",
"durationchange",
"loadedmetadata"
- ], J4), t("loadedmetadata", () => K4()), q4(), J4(), K4(), X4();
+ ], q4), t("loadedmetadata", () => G4()), K4(), q4(), G4(), Y4();
}
-function Q4(e) {
+function Z4(e) {
e.off.forEach((e) => e()), e.off = [];
}
-function _Ne() {
- let e = A4?.root;
+function bNe() {
+ let e = k4?.root;
if (!e) return;
let t = e.hidden;
if (e.hidden = !1, !t) return;
@@ -76748,8 +76780,8 @@ function _Ne() {
let n = () => e.removeAttribute("data-miniplayer-enter");
e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);
}
-function $4() {
- let e = A4?.root;
+function Q4() {
+ let e = k4?.root;
if (e) {
e.hidden = !0;
for (let t of [
@@ -76760,73 +76792,73 @@ function $4() {
e.style.transform = "";
}
}
-function vNe(e, t) {
- if (!A4) return;
+function xNe(e, t) {
+ if (!k4) return;
let n = {
...e,
meta: t,
off: [],
pending: !1
};
- D4 = n, M4++, e.player.el().classList.add("vjs-peach-mini"), A4.frame.prepend(e.player.el()), G4(t), Z4(n), _Ne(), rN(e.player);
+ E4 = n, j4++, e.player.el().classList.add("vjs-peach-mini"), k4.frame.prepend(e.player.el()), W4(t), X4(n), bNe(), iN(e.player);
}
-function e3() {
- let e = D4;
- e && Q4(e), D4 = null, M4++;
+function $4() {
+ let e = E4;
+ e && Z4(e), E4 = null, j4++;
let t = e?.player ?? null;
- t && tN() === t && nN(null), WN(t), t && $N(), A4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), $M(), $4();
+ t && nN() === t && rN(null), WN(t), t && $N(), k4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), eN(), Q4();
}
-function t3() {
- if (!W4() || !D4) return;
- let { kind: e, item: t, mediaIndex: n } = D4;
- L4().expand(e, t.id, n);
+function e3() {
+ if (!U4() || !E4) return;
+ let { kind: e, item: t, mediaIndex: n } = E4;
+ I4().expand(e, t.id, n);
}
-function n3() {
- W4() && !P4() ? t3() : P4() && B4() && N4 && (j4 = !0, N4());
+function t3() {
+ U4() && !N4() ? e3() : N4() && z4() && M4 && (A4 = !0, M4());
}
-function yNe() {
- let e = D4?.player;
+function SNe() {
+ let e = E4?.player;
e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());
}
-function r3(e) {
- let t = D4?.player;
+function n3(e) {
+ let t = E4?.player;
if (!t || t.isDisposed()) return;
- let n = Kn(t.duration()) || Kn(D4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + Y4() * e);
+ let n = Kn(t.duration()) || Kn(E4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + J4() * e);
t.currentTime(n ? Math.min(n, r) : r);
}
-function i3(e) {
- return !(!W4() || !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 || L4().sourceOffline(String(e.root_id || e.location || "")));
-}
-async function bNe(e) {
- if (!W4() || !D4 || !A4) return;
- let t = ++M4, n = await wn(`/api/item?id=${e}`).catch(() => null);
- if (t !== M4 || !W4() || !D4 || !A4 || !n || n.error) return;
- if (!i3(n)) {
- L4().openItem(e);
+function r3(e) {
+ return !(!U4() || !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 || I4().sourceOffline(String(e.root_id || e.location || "")));
+}
+async function CNe(e) {
+ if (!U4() || !E4 || !k4) return;
+ let t = ++j4, n = await wn(`/api/item?id=${e}`).catch(() => null);
+ if (t !== j4 || !U4() || !E4 || !k4 || !n || n.error) return;
+ if (!r3(n)) {
+ I4().openItem(e);
return;
}
- let r = D4;
- Q4(r), tN() === r.player && nN(null), WN(r.player), $N(), A4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
+ let r = E4;
+ Z4(r), nN() === r.player && rN(null), WN(r.player), $N(), k4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
let i = document.createElement("video");
- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", A4.frame.prepend(i);
+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", k4.frame.prepend(i);
let a = {
kind: "item",
item: n,
title: String(n.title || n.name || ""),
sub: String(n.performers?.[0] || n.creator || "未归属")
};
- G4(a), fP(i, {
+ W4(a), fP(i, {
kind: "item",
item: n,
autoplay: !0,
chrome: !1,
onPlayer: (r) => {
- if (t !== M4) {
- r && tN() === r && nN(null), WN(r);
+ if (t !== j4) {
+ r && nN() === r && rN(null), WN(r);
return;
}
if (!r) {
- e3(), L4().openItem(e);
+ $4(), I4().openItem(e);
return;
}
r.el().classList.add("vjs-peach-mini");
@@ -76835,25 +76867,25 @@ async function bNe(e) {
kind: "item",
item: n,
mediaIndex: null,
- key: F4("item", n.id, null),
+ key: P4("item", n.id, null),
meta: a,
off: [],
pending: !1
};
- D4 = i, Z4(i);
+ E4 = i, X4(i);
}
- }), K4(n);
+ }), G4(n);
}
// src/react/stage/miniplayer.tsx
-var a3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
+var i3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
-}), xNe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, o3 = (e) => (t) => {
+}), wNe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, a3 = (e) => (t) => {
t.stopPropagation(), e();
-}, SNe = (0, F.memo)(function() {
+}, TNe = (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)(() => (U4({
+ return (0, F.useLayoutEffect)(() => (H4({
root: e.current,
frame: n.current,
play: r.current,
@@ -76863,7 +76895,7 @@ var a3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
title: s.current,
sub: c.current,
info: l.current
- }), () => U4(null)), []), (0, F.useEffect)(() => TNe(e.current, t.current), []), (0, F.useEffect)(() => CNe(e.current), []), /* @__PURE__ */ (0, I.jsx)("aside", {
+ }), () => H4(null)), []), (0, F.useEffect)(() => ONe(e.current, t.current), []), (0, F.useEffect)(() => ENe(e.current), []), /* @__PURE__ */ (0, I.jsx)("aside", {
ref: e,
"data-miniplayer": "",
id: "miniplayer",
@@ -76887,24 +76919,24 @@ var a3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
id: "miniplayerExpand",
"aria-label": "展开到详情",
"aria-keyshortcuts": "i",
- onClick: o3(t3),
- children: /* @__PURE__ */ (0, I.jsx)(a3, { name: "maximize-2" })
+ onClick: a3(e3),
+ children: /* @__PURE__ */ (0, I.jsx)(i3, { name: "maximize-2" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-miniplayer-button": "close",
id: "miniplayerClose",
"aria-label": "关闭小窗",
- onClick: o3(e3),
- children: /* @__PURE__ */ (0, I.jsx)(a3, { name: "x" })
+ onClick: a3($4),
+ children: /* @__PURE__ */ (0, I.jsx)(i3, { name: "x" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
ref: a,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerBack",
- onClick: o3(() => r3(-1)),
- children: /* @__PURE__ */ (0, I.jsx)(a3, { name: "rotate-ccw" })
+ onClick: a3(() => n3(-1)),
+ children: /* @__PURE__ */ (0, I.jsx)(i3, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
ref: r,
@@ -76913,16 +76945,16 @@ var a3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
id: "miniplayerPlay",
"aria-label": "暂停",
"aria-keyshortcuts": "k",
- onClick: o3(yNe),
- dangerouslySetInnerHTML: xNe
+ onClick: a3(SNe),
+ dangerouslySetInnerHTML: wNe
}),
/* @__PURE__ */ (0, I.jsx)("button", {
ref: o,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerAhead",
- onClick: o3(() => r3(1)),
- children: /* @__PURE__ */ (0, I.jsx)(a3, { name: "rotate-cw" })
+ onClick: a3(() => n3(1)),
+ children: /* @__PURE__ */ (0, I.jsx)(i3, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, I.jsx)("span", {
ref: i,
@@ -76939,7 +76971,7 @@ var a3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
"data-miniplayer-info": "",
id: "miniplayerInfo",
"aria-label": "展开到详情",
- onClick: () => t3(),
+ onClick: () => e3(),
children: [/* @__PURE__ */ (0, I.jsx)("span", {
ref: s,
"data-miniplayer-title": "",
@@ -76953,7 +76985,7 @@ var a3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
})
});
});
-function CNe(e) {
+function ENe(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");
@@ -76967,7 +76999,7 @@ function CNe(e) {
n.disconnect(), r.disconnect(), window.removeEventListener("resize", t), document.documentElement.style.removeProperty("--miniplayer-space");
};
}
-function wNe(e, t, n) {
+function DNe(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
@@ -76989,7 +77021,7 @@ function wNe(e, t, n) {
};
e.addEventListener("transitionend", u), setTimeout(u, 600);
}
-function TNe(e, t) {
+function ONe(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 = {
@@ -77015,7 +77047,7 @@ function TNe(e, t) {
} catch {}
i.moved && (e.dataset.dragged = "1", setTimeout(() => {
delete e.dataset.dragged;
- }, 0), wNe(e, i.dx, i.dy));
+ }, 0), DNe(e, i.dx, i.dy));
}, o = (t) => {
e.dataset.dragged && (t.stopPropagation(), t.preventDefault());
}, s = (e) => {
@@ -77026,57 +77058,57 @@ function TNe(e, t) {
};
}
// src/react/stage/stage.tsx
-var s3 = null, c3 = null, l3 = null, u3 = /* @__PURE__ */ new Set(), d3 = 0, f3 = null, p3 = !1, m3 = !1, h3 = () => {
+var o3 = null, s3 = null, c3 = null, l3 = /* @__PURE__ */ new Set(), u3 = 0, d3 = null, f3 = !1, p3 = !1, m3 = () => {
let e = document.getElementById("stage");
return e instanceof HTMLDialogElement ? e : null;
};
-function g3() {
- if (!s3) throw Error("舞台还没有接上宿主(configureStage)");
- return s3;
+function h3() {
+ if (!o3) throw Error("舞台还没有接上宿主(configureStage)");
+ return o3;
}
-function ENe(e) {
- return u3.add(e), () => {
- u3.delete(e);
+function kNe(e) {
+ return l3.add(e), () => {
+ l3.delete(e);
};
}
-function DNe() {
- for (let e of [...u3]) e();
+function ANe() {
+ for (let e of [...l3]) e();
}
-function _3() {
- (0, Lt.flushSync)(DNe);
+function g3() {
+ (0, Lt.flushSync)(ANe);
}
-function ONe({ view: e }) {
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)(kNe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, I.jsx)(SNe, {})] });
+function jNe({ view: e }) {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)(MNe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, I.jsx)(TNe, {})] });
}
-var v3 = () => /* @__PURE__ */ (0, I.jsx)("div", {
+var _3 = () => /* @__PURE__ */ (0, I.jsx)("div", {
"data-skeleton": "detail",
role: "status",
"aria-label": "正在读取作品详情",
- dangerouslySetInnerHTML: { __html: Aje() }
+ dangerouslySetInnerHTML: { __html: Nje() }
});
-function y3(e) {
+function v3(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 b3() {
- let e = h3(), t = e && Nje(e);
+function y3() {
+ let e = m3(), t = e && Ije(e);
t ? (t.focus({ preventScroll: !0 }), t.dispatchEvent(new KeyboardEvent("keydown", {
key: "Escape",
bubbles: !0,
cancelable: !0
- }))) : x3();
+ }))) : b3();
}
-function kNe({ view: e }) {
+function MNe({ view: e }) {
let t = (0, F.useRef)(null);
(0, F.useLayoutEffect)(() => {
let e = t.current, n = (t) => {
- t.target === e && (t.preventDefault(), b3());
+ t.target === e && (t.preventDefault(), y3());
};
return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);
}, []);
- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, I.jsx)(MMe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, I.jsx)(iNe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, I.jsx)(pMe, { ...r.props }, r.props.id);
+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, I.jsx)(FMe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, I.jsx)(sNe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, I.jsx)(gMe, { ...r.props }, r.props.id);
return /* @__PURE__ */ (0, I.jsxs)("dialog", {
ref: t,
id: "stage",
@@ -77084,27 +77116,27 @@ function kNe({ view: e }) {
"data-stage-kind": r.kind,
"aria-label": "作品详情",
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), b3());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), y3());
},
onPointerDown: (e) => {
- m3 = y3(e);
+ p3 = v3(e);
},
onClick: (e) => {
- m3 && y3(e) && x3();
+ p3 && v3(e) && b3();
},
children: [
- n === "skeleton" ? /* @__PURE__ */ (0, I.jsx)(v3, {}, "skeleton") : null,
+ n === "skeleton" ? /* @__PURE__ */ (0, I.jsx)(_3, {}, "skeleton") : null,
n === "reveal" ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-stage-fade": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, I.jsx)(v3, {})
+ children: /* @__PURE__ */ (0, I.jsx)(_3, {})
}, "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)(OD, {
- getContainer: () => i2(t.current),
+ children: /* @__PURE__ */ (0, I.jsx)(AD, {
+ getContainer: () => r2(t.current),
children: i
})
})
@@ -77112,14 +77144,14 @@ function kNe({ view: e }) {
]
});
}
-function x3() {
- c3 && !p3 && (p3 = !0, c3.request.actions.close());
+function b3() {
+ s3 && !f3 && (f3 = !0, s3.request.actions.close());
}
-function S3(e, t) {
- let n = h3();
+function x3(e, t) {
+ let n = m3();
n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);
}
-function C3(e) {
+function S3(e) {
if (e.kind === "jav") return {
kind: "jav",
props: {
@@ -77127,30 +77159,30 @@ function C3(e) {
readOnly: e.readOnly,
actions: {
...e.actions,
- close: x3
+ close: b3
}
}
};
let t = e.resume ?? null, n = (n) => {
let r = t && (e.id == null || e.id === n) ? t : null;
return t = null, r;
- }, r = () => g3().player.settings(), i = () => c3?.request === e;
+ }, r = () => h3().player.settings(), i = () => s3?.request === e;
if (e.kind === "item") {
let { kind: t, resume: a, actions: o, ...s } = e, c = {
...o,
- close: x3,
+ close: b3,
present: (e, t) => {
let n = e.performers;
- R4({
+ L4({
kind: "item",
item: e,
title: String(e.title || e.name || ""),
sub: String(n?.[0] || e.creator || "未归属")
- }), S3(r().ambientMode, r().theaterMode), queueMicrotask(() => {
+ }), x3(r().ambientMode, r().theaterMode), queueMicrotask(() => {
i() && o.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => z4(e, {
+ mountPlayer: (e, t, r, i) => R4(e, {
kind: "item",
item: t,
autoplay: i?.autoplay,
@@ -77168,18 +77200,18 @@ function C3(e) {
}
let { kind: a, resume: o, actions: s, ...c } = e, l = {
...s,
- close: x3,
+ close: b3,
present: (e, t) => {
- R4({
+ L4({
kind: "follow",
item: e,
title: e.title || "",
sub: e.author || e.source_label || ""
- }), S3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
+ }), x3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
i() && s.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => z4(e, {
+ mountPlayer: (e, t, r, i) => R4(e, {
kind: "follow",
item: t,
media: r,
@@ -77196,106 +77228,106 @@ function C3(e) {
}
};
}
-function ANe(e, t) {
+function NNe(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"), c3?.generation === t && c3.phase === "reveal" && (c3 = {
- ...c3,
+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), s3?.generation === t && s3.phase === "reveal" && (s3 = {
+ ...s3,
phase: "content"
- }, _3());
+ }, g3());
}, a = (e) => {
e.target === n && i();
};
n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);
}
-function w3(e) {
- let t = h3();
- return !c3 || c3.content.kind !== e || p3 || !t?.open || t.hasAttribute("data-closing") ? null : t;
+function C3(e) {
+ let t = m3();
+ return !s3 || s3.content.kind !== e || f3 || !t?.open || t.hasAttribute("data-closing") ? null : t;
}
-async function jNe(e) {
- !l3 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (l3 = {
+async function PNe(e) {
+ !c3 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (c3 = {
left: window.scrollX,
top: window.scrollY,
anchor: document.activeElement
});
- let t = w3(e.kind);
+ let t = C3(e.kind);
if (t) {
- await NNe(e, t);
+ await INe(e, t);
return;
}
- c3 && T3({ miniplayer: !1 });
- let n = ++d3, r = new AbortController();
- f3 = r, p3 = !1, m3 = !1, e.kind === "jav" ? e3() : H4(e.kind, e.id ?? NaN);
- let i = C3(e);
- c3 = {
+ s3 && w3({ miniplayer: !1 });
+ let n = ++u3, r = new AbortController();
+ d3 = r, f3 = !1, p3 = !1, e.kind === "jav" ? $4() : V4(e.kind, e.id ?? NaN);
+ let i = S3(e);
+ s3 = {
generation: n,
request: e,
content: i,
phase: "skeleton"
};
- let a = i.kind === "item" ? zP(i.props, r.signal) : i.kind === "jav" ? e4(i.props, r.signal) : u2(i.props, r.signal);
- if (n !== d3 || c3?.request !== e) {
+ let a = i.kind === "item" ? zP(i.props, r.signal) : i.kind === "jav" ? $2(i.props, r.signal) : l2(i.props, r.signal);
+ if (n !== u3 || s3?.request !== e) {
await a.catch(() => {});
return;
}
- let o = MNe(i);
- c3 = {
- ...c3,
+ let o = FNe(i);
+ s3 = {
+ ...s3,
phase: o ? "content" : "skeleton"
- }, _3();
- let s = h3();
+ }, g3();
+ let s = m3();
if (!s) {
await a.catch(() => {});
return;
}
- o || uc(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), o2(s);
+ o || uc(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), a2(s);
try {
await a;
} catch {
if (r.signal.aborted) return;
}
- if (n !== d3 || !c3 || o) return;
+ if (n !== u3 || !s3 || o) return;
let c = !!s.querySelector(".skeleton-awaiting");
- c3 = {
- ...c3,
+ s3 = {
+ ...s3,
phase: c ? "content" : "reveal"
- }, _3(), c || ANe(s, n), Qs(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, g3(), c || NNe(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 MNe(e) {
- if (e.kind === "jav") return !!H.getQueryData(Q2(e.props.code));
- if (e.kind === "follow") return !!H.getQueryData(s2(e.props.id));
+function FNe(e) {
+ if (e.kind === "jav") return !!H.getQueryData(Z2(e.props.code));
+ if (e.kind === "follow") return !!H.getQueryData(o2(e.props.id));
let { queue: t, id: n } = e.props, r = t ? H.getQueryData(TP(t)) : null;
if (t && !r) return !1;
let i = r ? LP(r, n) : n;
return i != null && !!H.getQueryData(wP(i));
}
-async function NNe(e, t) {
- let n = ++d3;
- f3?.abort();
+async function INe(e, t) {
+ let n = ++u3;
+ d3?.abort();
let r = new AbortController();
- f3 = r, m3 = !1;
- let i = C3(e);
+ d3 = r, p3 = !1;
+ let i = S3(e);
try {
- i.kind === "item" ? await zP(i.props, r.signal) : i.kind === "jav" ? await e4(i.props, r.signal) : await u2(i.props, r.signal);
+ i.kind === "item" ? await zP(i.props, r.signal) : i.kind === "jav" ? await $2(i.props, r.signal) : await l2(i.props, r.signal);
} catch {
if (r.signal.aborted) return;
}
- if (n !== d3 || !c3 || w3(e.kind) !== t) return;
- e.kind === "jav" ? e3() : H4(e.kind, e.id ?? NaN), Al(t), $M(), c3 = {
- ...c3,
+ if (n !== u3 || !s3 || C3(e.kind) !== t) return;
+ e.kind === "jav" ? $4() : V4(e.kind, e.id ?? NaN), Al(t), eN(), s3 = {
+ ...s3,
request: e,
content: i,
phase: "content"
- }, _3(), 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]");
+ }, g3(), 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 PNe() {
- o2(null);
- let e = h3();
+function LNe() {
+ a2(null);
+ let e = m3();
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();
@@ -77305,14 +77337,14 @@ function PNe() {
e.addEventListener("animationend", i), n = window.setTimeout(r, 380);
}));
}
-function T3({ miniplayer: e = !0 } = {}) {
- if (d3++, f3?.abort(), f3 = null, V4(e), !c3) return;
- let t = h3();
- t && Al(t), $M(), o2(null), t?.open && t.close(), c3 = null, p3 = !1, m3 = !1, _3(), R4(null), document.body.removeAttribute("data-detail-open");
- let n = l3;
- l3 = null;
+function w3({ miniplayer: e = !0 } = {}) {
+ if (u3++, d3?.abort(), d3 = null, B4(e), !s3) return;
+ let t = m3();
+ t && Al(t), eN(), a2(null), t?.open && t.close(), s3 = null, f3 = !1, p3 = !1, g3(), L4(null), document.body.removeAttribute("data-detail-open");
+ let n = c3;
+ c3 = null;
let r = () => {
- !c3 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({
+ !s3 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({
left: n.left,
top: n.top,
behavior: "instant"
@@ -77320,80 +77352,80 @@ function T3({ miniplayer: e = !0 } = {}) {
};
r(), requestAnimationFrame(r);
}
-function FNe(e) {
- c3 && (c3 = {
- ...c3,
- content: c3.content.kind === "item" ? {
+function RNe(e) {
+ s3 && (s3 = {
+ ...s3,
+ content: s3.content.kind === "item" ? {
kind: "item",
props: {
- ...c3.content.props,
+ ...s3.content.props,
...e
}
- } : c3.content.kind === "jav" ? c3.content : {
+ } : s3.content.kind === "jav" ? s3.content : {
kind: "follow",
props: {
- ...c3.content.props,
+ ...s3.content.props,
...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }
}
}
- }, _3());
+ }, g3());
}
-function INe() {
- let e = fNe(), t = e?.kind === "item" ? e.item : null, n = t ? Oo(t, g3().player.settings().javImage) : "";
+function zNe() {
+ let e = hNe(), t = e?.kind === "item" ? e.item : null, n = t ? Oo(t, h3().player.settings().javImage) : "";
if (!n) return;
- let r = B4();
+ let r = z4();
r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);
}
-var LNe = {
- open: jNe,
- update: FNe,
- exit: PNe,
- dispose: T3,
- requestClose: x3,
- requestEscape: b3,
- repaintPoster: INe,
- isOpen: () => !!c3,
- showing: () => c3 && w3(c3.content.kind) ? c3.content.kind : null,
- activeVideo: () => gNe(),
- mountWallPlayer: pNe,
+var BNe = {
+ open: PNe,
+ update: RNe,
+ exit: LNe,
+ dispose: w3,
+ requestClose: b3,
+ requestEscape: y3,
+ repaintPoster: zNe,
+ isOpen: () => !!s3,
+ showing: () => s3 && C3(s3.content.kind) ? s3.content.kind : null,
+ activeVideo: () => yNe(),
+ mountWallPlayer: gNe,
toggleTheater: () => {
- c3 && jN(!g3().player.settings().theaterMode);
+ s3 && jN(!h3().player.settings().theaterMode);
},
- toggleMiniplayer: () => n3(),
- closeMiniplayer: () => e3(),
- miniplayerActive: () => W4(),
- miniplayerTakesCard: (e) => i3(e),
+ toggleMiniplayer: () => t3(),
+ closeMiniplayer: () => $4(),
+ miniplayerActive: () => U4(),
+ miniplayerTakesCard: (e) => r3(e),
miniplayerPlay: (e) => {
- bNe(e);
+ CNe(e);
}
};
-function RNe(e) {
- return s3 = e, dNe(e, {
- isOpen: () => !!c3,
- requestClose: x3
- }), LNe;
+function VNe(e) {
+ return o3 = e, mNe(e, {
+ isOpen: () => !!s3,
+ requestClose: b3
+ }), BNe;
}
-function zNe() {
- let e = (0, F.useSyncExternalStore)(ENe, () => c3);
- return s3 ? /* @__PURE__ */ (0, I.jsx)(ONe, { view: e }) : null;
+function HNe() {
+ let e = (0, F.useSyncExternalStore)(kNe, () => s3);
+ return o3 ? /* @__PURE__ */ (0, I.jsx)(jNe, { view: e }) : null;
}
// src/react/stats/stats.ts
-var BNe = "/api/stats", E3 = ["stats"], D3 = (e) => B(BNe, e);
-async function VNe(e) {
+var UNe = "/api/stats", T3 = ["stats"], E3 = (e) => B(UNe, e);
+async function WNe(e) {
await H.fetchQuery({
- queryKey: E3,
- queryFn: () => D3(e)
+ queryKey: T3,
+ queryFn: () => E3(e)
});
}
-var O3 = (e) => e != null && Number.isFinite(e), HNe = (e) => O3(e) ? e.toLocaleString() : "未取得", UNe = (e, t) => O3(e) && O3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, WNe = (e, t) => {
- let n = UNe(e, t);
- return !n && O3(e) && e > 0 && O3(t) && t > 0 ? "<1%" : `${n}%`;
-}, k3 = (e) => {
- if (!O3(e)) return "未取得";
+var D3 = (e) => e != null && Number.isFinite(e), GNe = (e) => D3(e) ? e.toLocaleString() : "未取得", KNe = (e, t) => D3(e) && D3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, qNe = (e, t) => {
+ let n = KNe(e, t);
+ return !n && D3(e) && e > 0 && D3(t) && t > 0 ? "<1%" : `${n}%`;
+}, O3 = (e) => {
+ if (!D3(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)} 分钟`;
-}, A3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, j3 = (e) => (e.max_reached || 0) * 100, GNe = (e) => e.kind === "online" ? "在线直接观看" : A3(e) < j3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", KNe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
-function qNe(e, t = 6) {
+}, k3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, A3 = (e) => (e.max_reached || 0) * 100, JNe = (e) => e.kind === "online" ? "在线直接观看" : k3(e) < A3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", YNe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
+function XNe(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);
@@ -77403,7 +77435,7 @@ function qNe(e, t = 6) {
bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)
}];
}
-var JNe = (e) => Math.max(1, ...e) * 1.1, YNe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, XNe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), ZNe = {
+var ZNe = (e) => Math.max(1, ...e) * 1.1, QNe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, $Ne = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), ePe = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -77411,18 +77443,18 @@ var JNe = (e) => Math.max(1, ...e) * 1.1, YNe = (e, t) => e > 0 ? Math.max(e, t
audio: "音频",
account: "账号",
other: "其它文件"
-}, QNe = (e) => e.map((e) => ({
- name: ZNe[e.k] ?? e.k,
+}, tPe = (e) => e.map((e) => ({
+ name: ePe[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), $Ne = {
+})).sort((e, t) => t.value - e.value), nPe = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, M3 = (e, t = {}) => e.map((e) => ({
+}, j3 = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), ePe = (e) => M3(e, $Ne), tPe = [
+})), rPe = (e) => j3(e, nPe), iPe = [
[
1,
1,
@@ -77458,12 +77490,12 @@ var JNe = (e) => Math.max(1, ...e) * 1.1, YNe = (e, t) => e > 0 ? Math.max(e, t
Infinity,
"≥10"
]
-], nPe = (e) => tPe.map(([t, n, r]) => ({
+], aPe = (e) => iPe.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 N3(e, t) {
+function M3(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 {
@@ -77473,7 +77505,7 @@ function N3(e, t) {
return n;
}
// node_modules/d3-array/src/min.js
-function P3(e, t) {
+function N3(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 {
@@ -77483,7 +77515,7 @@ function P3(e, t) {
return n;
}
// node_modules/d3-array/src/sum.js
-function F3(e, t) {
+function P3(e, t) {
let n = 0;
if (t === void 0) for (let t of e) (t = +t) && (n += t);
else {
@@ -77493,64 +77525,64 @@ function F3(e, t) {
return n;
}
// node_modules/d3-sankey/src/align.js
-function rPe(e, t) {
+function oPe(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
// node_modules/d3-sankey/src/constant.js
-function I3(e) {
+function F3(e) {
return function() {
return e;
};
}
// node_modules/d3-sankey/src/sankey.js
+function I3(e, t) {
+ return R3(e.source, t.source) || e.index - t.index;
+}
function L3(e, t) {
- return z3(e.source, t.source) || e.index - t.index;
+ return R3(e.target, t.target) || e.index - t.index;
}
function R3(e, t) {
- return z3(e.target, t.target) || e.index - t.index;
-}
-function z3(e, t) {
return e.y0 - t.y0;
}
-function B3(e) {
+function z3(e) {
return e.value;
}
-function iPe(e) {
+function sPe(e) {
return e.index;
}
-function aPe(e) {
+function cPe(e) {
return e.nodes;
}
-function oPe(e) {
+function lPe(e) {
return e.links;
}
-function V3(e, t) {
+function B3(e, t) {
let n = e.get(t);
if (!n) throw Error("missing: " + t);
return n;
}
-function H3({ nodes: e }) {
+function V3({ 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 sPe() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = iPe, c = rPe, l, u, d = aPe, f = oPe, p = 6;
+function uPe() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = sPe, c = oPe, l, u, d = cPe, f = lPe, 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), H3(e), e;
+ return h(e), g(e), _(e), v(e), x(e), V3(e), e;
}
m.update = function(e) {
- return H3(e), e;
+ return V3(e), e;
}, m.nodeId = function(e) {
- return arguments.length ? (s = typeof e == "function" ? e : I3(e), m) : s;
+ return arguments.length ? (s = typeof e == "function" ? e : F3(e), m) : s;
}, m.nodeAlign = function(e) {
- return arguments.length ? (c = typeof e == "function" ? e : I3(e), m) : c;
+ return arguments.length ? (c = typeof e == "function" ? e : F3(e), m) : c;
}, m.nodeSort = function(e) {
return arguments.length ? (l = e, m) : l;
}, m.nodeWidth = function(e) {
@@ -77558,9 +77590,9 @@ function sPe() {
}, m.nodePadding = function(e) {
return arguments.length ? (a = o = +e, m) : a;
}, m.nodes = function(e) {
- return arguments.length ? (d = typeof e == "function" ? e : I3(e), m) : d;
+ return arguments.length ? (d = typeof e == "function" ? e : F3(e), m) : d;
}, m.links = function(e) {
- return arguments.length ? (f = typeof e == "function" ? e : I3(e), m) : f;
+ return arguments.length ? (f = typeof e == "function" ? e : F3(e), m) : f;
}, m.linkSort = function(e) {
return arguments.length ? (u = e, m) : u;
}, m.size = function(i) {
@@ -77576,12 +77608,12 @@ function sPe() {
for (let [e, r] of t.entries()) {
r.index = e;
let { source: t, target: i } = r;
- typeof t != "object" && (t = r.source = V3(n, t)), typeof i != "object" && (i = r.target = V3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
+ typeof t != "object" && (t = r.source = B3(n, t)), typeof i != "object" && (i = r.target = B3(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(F3(t.sourceLinks, B3), F3(t.targetLinks, B3)) : t.fixedValue;
+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(P3(t.sourceLinks, z3), P3(t.targetLinks, z3)) : t.fixedValue;
}
function _({ nodes: e }) {
let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;
@@ -77606,7 +77638,7 @@ function sPe() {
}
}
function y({ nodes: t }) {
- let r = N3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
+ let r = M3(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];
@@ -77615,7 +77647,7 @@ function sPe() {
return o;
}
function b(e) {
- let n = P3(e, (e) => (r - t - (e.length - 1) * o) / F3(e, B3));
+ let n = N3(e, (e) => (r - t - (e.length - 1) * o) / P3(e, z3));
for (let i of e) {
let e = t;
for (let t of i) {
@@ -77632,7 +77664,7 @@ function sPe() {
}
function x(e) {
let n = y(e);
- o = Math.min(a, (r - t) / (N3(n, (e) => e.length) - 1)), b(n);
+ o = Math.min(a, (r - t) / (M3(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);
@@ -77651,7 +77683,7 @@ function sPe() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(z3), w(i, n);
+ l === void 0 && i.sort(R3), w(i, n);
}
}
function C(e, t, n) {
@@ -77667,7 +77699,7 @@ function sPe() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(z3), w(i, n);
+ l === void 0 && i.sort(R3), w(i, n);
}
}
function w(e, n) {
@@ -77688,12 +77720,12 @@ function sPe() {
}
function D({ sourceLinks: e, targetLinks: t }) {
if (u === void 0) {
- for (let { source: { sourceLinks: e } } of t) e.sort(R3);
- for (let { target: { targetLinks: t } } of e) t.sort(L3);
+ for (let { source: { sourceLinks: e } } of t) e.sort(L3);
+ for (let { target: { targetLinks: t } } of e) t.sort(I3);
}
}
function O(e) {
- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(R3), n.sort(L3);
+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(L3), n.sort(I3);
}
function k(e, t) {
let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;
@@ -77722,15 +77754,15 @@ function sPe() {
return m;
}
// node_modules/d3-path/src/path.js
-var U3 = Math.PI, W3 = 2 * U3, G3 = 1e-6, cPe = W3 - G3;
-function K3() {
+var H3 = Math.PI, U3 = 2 * H3, W3 = 1e-6, dPe = U3 - W3;
+function G3() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
-function q3() {
- return new K3();
+function K3() {
+ return new G3();
}
-K3.prototype = q3.prototype = {
- constructor: K3,
+G3.prototype = K3.prototype = {
+ constructor: G3,
moveTo: function(e, t) {
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);
},
@@ -77751,11 +77783,11 @@ K3.prototype = q3.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 > G3) {
- if (!(Math.abs(u * s - c * l) > G3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
+ else if (d > W3) {
+ if (!(Math.abs(u * s - c * l) > W3) || !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((U3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > G3 && (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((H3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > W3 && (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);
}
}
},
@@ -77763,7 +77795,7 @@ K3.prototype = q3.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) > G3 || Math.abs(this._y1 - l) > G3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % W3 + W3), d > cPe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > G3 && (this._ += "A" + n + "," + n + ",0," + +(d >= U3) + "," + 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) > W3 || Math.abs(this._y1 - l) > W3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % U3 + U3), d > dPe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > W3 && (this._ += "A" + n + "," + n + ",0," + +(d >= H3) + "," + 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";
@@ -77773,93 +77805,93 @@ K3.prototype = q3.prototype = {
}
};
// node_modules/d3-shape/src/constant.js
-function J3(e) {
+function q3(e) {
return function() {
return e;
};
}
// node_modules/d3-shape/src/point.js
-function lPe(e) {
+function fPe(e) {
return e[0];
}
-function uPe(e) {
+function pPe(e) {
return e[1];
}
// node_modules/d3-shape/src/array.js
-var dPe = Array.prototype.slice;
+var mPe = Array.prototype.slice;
// node_modules/d3-shape/src/link/index.js
-function fPe(e) {
+function hPe(e) {
return e.source;
}
-function pPe(e) {
+function gPe(e) {
return e.target;
}
-function mPe(e) {
- var t = fPe, n = pPe, r = lPe, i = uPe, a = null;
+function _Pe(e) {
+ var t = hPe, n = gPe, r = fPe, i = pPe, a = null;
function o() {
- var o, s = dPe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
- if (a ||= o = q3(), 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 = mPe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ if (a ||= o = K3(), 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 : J3(+e), o) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : q3(+e), o) : r;
}, o.y = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : J3(+e), o) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : q3(+e), o) : i;
}, o.context = function(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function hPe(e, t, n, r, i) {
+function vPe(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function gPe() {
- return mPe(hPe);
+function yPe() {
+ return _Pe(vPe);
}
// node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function _Pe(e) {
+function bPe(e) {
return [e.source.x1, e.y0];
}
-function vPe(e) {
+function xPe(e) {
return [e.target.x0, e.y1];
}
-function yPe() {
- return gPe().source(_Pe).target(vPe);
+function SPe() {
+ return yPe().source(bPe).target(xPe);
}
// src/react/taste/taste.ts
-var bPe = "/api/taste", Y3 = "/api/taste/refresh", xPe = "/api/taste/import", X3 = "/api/taste/source", Z3 = (e) => ["taste", e], SPe = ["taste", "refresh"], CPe = [
+var CPe = "/api/taste", J3 = "/api/taste/refresh", wPe = "/api/taste/import", Y3 = "/api/taste/source", X3 = (e) => ["taste", e], TPe = ["taste", "refresh"], EPe = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], wPe = 2e3, TPe = (e) => e?.stale && !e.error ? wPe : !1, EPe = (e) => e ? new Date(e).toLocaleString("zh-CN", {
+], DPe = 2e3, OPe = (e) => e?.stale && !e.error ? DPe : !1, kPe = (e) => e ? new Date(e).toLocaleString("zh-CN", {
month: "numeric",
day: "numeric",
hour: "2-digit",
minute: "2-digit"
-}) : "—", DPe = (e, t) => V(X3, {
+}) : "—", APe = (e, t) => V(Y3, {
...e,
window: t
-}), Q3 = (e, t, n = !1) => B(`${bPe}?window=${e}${n ? "&retry=1" : ""}`, t), OPe = (e) => B(Y3, e);
-async function kPe(e, t) {
+}), Z3 = (e, t, n = !1) => B(`${CPe}?window=${e}${n ? "&retry=1" : ""}`, t), jPe = (e) => B(J3, e);
+async function MPe(e, t) {
await H.fetchQuery({
- queryKey: Z3(e),
- queryFn: () => Q3(e, t)
+ queryKey: X3(e),
+ queryFn: () => Z3(e, t)
});
}
-var APe = (e) => V(Y3, {
+var NPe = (e) => V(J3, {
window: e,
background: !0
-}), jPe = (e, t) => V(X3, {
+}), PPe = (e, t) => V(Y3, {
operation: "remove",
source_key: e,
window: t
});
-async function MPe(e) {
- let t = await fetch(xPe, {
+async function FPe(e) {
+ let t = await fetch(wPe, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -77877,52 +77909,52 @@ async function MPe(e) {
}
return n;
}
-var NPe = 1e4, $3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
-function PPe(e) {
+var IPe = 1e4, Q3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
+function LPe(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"
- }) : $3(e);
+ }) : Q3(e);
return `${t} · ${r(e.range_start)}–${r(e.range_end)}`;
}
-var FPe = k3, IPe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), LPe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function RPe(e) {
+var RPe = O3, zPe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), BPe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function VPe(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 zPe(e) {
- let t = e.map(LPe), n = Math.max(1, ...t);
+function HPe(e) {
+ let t = e.map(BPe), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
-var e6 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
+var $3 = (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 BPe(e) {
- let t = e6(e, 6);
+function UPe(e) {
+ let t = $3(e, 6);
return t.length < 3 ? [] : t;
}
-var t6 = {
+var e6 = {
width: 720,
height: 435
-}, VPe = {
+}, WPe = {
source: 145,
target: 545
-}, n6 = 30, HPe = 240;
-function r6(e, t, n) {
+}, t6 = 30, GPe = 240;
+function n6(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 UPe(e = []) {
+function KPe(e = []) {
let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);
if (!t.length) return null;
- let n = r6(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = r6(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();
+ let n = n6(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = n6(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, {
@@ -77931,7 +77963,7 @@ function UPe(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) * n6 + HPe), u = sPe().nodeId((e) => e.id).nodeWidth(10).nodePadding(n6).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) * t6 + GPe), u = uPe().nodeId((e) => e.id).nodeWidth(10).nodePadding(t6).extent([[155, 16], [535, l]])({
nodes: [...o.map((e) => ({
id: `source:${e}`,
name: e,
@@ -77946,7 +77978,7 @@ function UPe(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), d = a.reduce((e, t) => e + t.value, 0), f = yPe();
+ }), d = a.reduce((e, t) => e + t.value, 0), f = SPe();
return {
nodes: u.nodes.map((e) => ({
id: e.id,
@@ -77974,17 +78006,17 @@ function UPe(e = []) {
};
}),
total: d,
- height: l + t6.height - 404
+ height: l + e6.height - 404
};
}
-var WPe = (e) => er(e, 17), i6 = {
+var qPe = (e) => er(e, 17), r6 = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
series: "系列",
tags: "标签"
-}, GPe = [[
+}, JPe = [[
"big",
"大图 · 竖幅头像",
"maximize"
@@ -77992,7 +78024,7 @@ var WPe = (e) => er(e, 17), i6 = {
"compact",
"紧凑 · 圆形头像",
"layout-grid"
-]], KPe = [[
+]], YPe = [[
"big",
"大图 · 完整标识",
"maximize"
@@ -78000,7 +78032,7 @@ var WPe = (e) => er(e, 17), i6 = {
"compact",
"紧凑 · 圆形标识",
"layout-grid"
-]], qPe = [[
+]], XPe = [[
"big",
"大图 · 系列图片",
"maximize"
@@ -78008,7 +78040,7 @@ var WPe = (e) => er(e, 17), i6 = {
"compact",
"紧凑 · 系列图片",
"layout-grid"
-]], JPe = [
+]], ZPe = [
[
"studios",
"厂牌",
@@ -78024,7 +78056,7 @@ var WPe = (e) => er(e, 17), i6 = {
"系列",
"file-stack"
]
-], YPe = [[
+], QPe = [[
"local",
"本地",
"hard-drive"
@@ -78032,7 +78064,7 @@ var WPe = (e) => er(e, 17), i6 = {
"online",
"在线",
"rss"
-]], XPe = [
+]], $Pe = [
[
"performers",
"艺人",
@@ -78048,7 +78080,7 @@ var WPe = (e) => er(e, 17), i6 = {
"在线",
"rss"
]
-], ZPe = [[
+], eFe = [[
"cloud",
"标签云",
"tags"
@@ -78056,8 +78088,8 @@ var WPe = (e) => er(e, 17), i6 = {
"alphabet",
"字母表",
"text-aa"
-]], a6 = (e) => e === "compact" ? "compact" : "big";
-function o6(e, t) {
+]], i6 = (e) => e === "compact" ? "compact" : "big";
+function a6(e, t) {
let n = new URLSearchParams(t);
return {
kind: e,
@@ -78067,7 +78099,7 @@ function o6(e, t) {
category: n.get("category") || "all"
};
}
-var s6 = (e, t, n) => Hs(e.map(([e, t, n]) => ({
+var o6 = (e, t, n) => Hs(e.map(([e, t, n]) => ({
value: e,
label: t,
symbol: n
@@ -78075,12 +78107,12 @@ var s6 = (e, t, n) => Hs(e.map(([e, t, n]) => ({
active: t,
label: n,
className: "indextabs"
-}), QPe = (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">
+}), tFe = (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", "标签视图", ZPe, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;
-function $Pe({ kind: e, q: t, scope: n, view: r, category: i }, a) {
- let o = i6[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? Xc("people-layout", o + "索引版式", e === "series" ? qPe : c ? KPe : GPe, a) : "";
+ <span class="ml-auto">${Xc("tag-view", "标签视图", eFe, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;
+function nFe({ kind: e, q: t, scope: n, view: r, category: i }, a) {
+ let o = r6[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? Xc("people-layout", o + "索引版式", e === "series" ? XPe : c ? YPe : JPe, 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}
@@ -78092,24 +78124,24 @@ function $Pe({ 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" ? s6(YPe, n, "词表") : e === "performers" || e === "creators" ? s6(XPe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? s6(JPe, e, "资料类型") : ""}
- ${e === "tags" ? QPe(r) : ""}
- ${e === "performers" && n !== "online" ? XTe(i) : ""}
+ ${e === "tags" ? o6(QPe, n, "词表") : e === "performers" || e === "creators" ? o6($Pe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? o6(ZPe, e, "资料类型") : ""}
+ ${e === "tags" ? tFe(r) : ""}
+ ${e === "performers" && n !== "online" ? $Te(i) : ""}
${rc({
kind: e,
layout: a,
mode: r
})}`;
}
-var eFe = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function c6(e, t, n) {
- let r = $Pe(t, n);
- e.querySelector("[data-skeleton]")?.dataset.skeleton !== eFe(r) && (e.innerHTML = r, uc(e));
+var rFe = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function s6(e, t, n) {
+ let r = nFe(t, n);
+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== rFe(r) && (e.innerHTML = r, uc(e));
}
// src/react/router/pages/index-entity.tsx
-var tFe = () => uu, nFe = () => Yl, l6 = () => document.getElementById("index");
-function u6(e, t, n = {}) {
- let r = (0, F.useSyncExternalStore)(xu, tFe);
+var iFe = () => uu, aFe = () => Yl, c6 = () => document.getElementById("index");
+function l6(e, t, n = {}) {
+ let r = (0, F.useSyncExternalStore)(xu, iFe);
Qd();
let i = Rf(W.navigation.location.pathname), a = (0, F.useRef)({
mounted: !0,
@@ -78157,11 +78189,11 @@ function u6(e, t, n = {}) {
i
]);
}
-async function rFe(e, t, n, r) {
- let i = l6();
+async function oFe(e, t, n, r) {
+ let i = c6();
if (!i) return;
- let a = `/${t}`, o = o6(t, n), s = a6(uM().value.peopleLayout), c = !!i.querySelector("[data-index-page]") && !i.hidden;
- c || (e.surfaceChanged("index", a), c6(i, o, s), lm(r, i, { pending: !0 })), await fp(a, {
+ let a = `/${t}`, o = a6(t, n), s = i6(dM().value.peopleLayout), c = !!i.querySelector("[data-index-page]") && !i.hidden;
+ c || (e.surfaceChanged("index", a), s6(i, o, s), lm(r, i, { pending: !0 })), await fp(a, {
...o,
layout: s,
selectMode: Yl,
@@ -78172,23 +78204,23 @@ async function rFe(e, t, n, r) {
reuse: c
}) && r() && (e.surfaceShown?.("index", a), lm(r, i));
}
-function iFe(e) {
- let t = l6(), n = t ? sp(t) : null;
+function sFe(e) {
+ let t = c6(), n = t ? sp(t) : null;
return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;
}
-function aFe({ epoch: e }) {
- let t = (0, F.useContext)(oG), n = Qd(), r = n.pathname.split("/").filter(Boolean)[0];
- return u6(e, (e, i) => {
- t && rFe(t, r, n.search, i);
- }, { shown: () => iFe(`/${r}`) }), null;
+function cFe({ epoch: e }) {
+ let t = (0, F.useContext)(aG), n = Qd(), r = n.pathname.split("/").filter(Boolean)[0];
+ return l6(e, (e, i) => {
+ t && oFe(t, r, n.search, i);
+ }, { shown: () => sFe(`/${r}`) }), null;
}
-function oFe() {
- let e = aG(), t = (0, F.useSyncExternalStore)(xu, nFe), n = (0, F.useRef)(t);
+function lFe() {
+ let e = iG(), t = (0, F.useSyncExternalStore)(xu, aFe), n = (0, F.useRef)(t);
return (0, F.useEffect)(() => {
- n.current !== t && (n.current = t, window.location.pathname === "/tags" && mp(l6(), { selectMode: t }));
- }, [t]), /* @__PURE__ */ (0, I.jsx)(aFe, { epoch: e }, e);
+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && mp(c6(), { selectMode: t }));
+ }, [t]), /* @__PURE__ */ (0, I.jsx)(cFe, { epoch: e }, e);
}
-function sFe(e) {
+function uFe(e) {
let t;
try {
t = decodeURIComponent(e);
@@ -78202,9 +78234,9 @@ function sFe(e) {
name: a
} : null;
}
-var d6 = /* @__PURE__ */ new WeakMap();
-function cFe(e) {
- let t = d6.get(e);
+var u6 = /* @__PURE__ */ new WeakMap();
+function dFe(e) {
+ let t = u6.get(e);
return t || (t = {
helpers: {
...e.grid.helpers,
@@ -78214,14 +78246,14 @@ function cFe(e) {
...e.grid.actions,
revealSource: e.revealSource
}
- }, d6.set(e, t)), t;
+ }, u6.set(e, t)), t;
}
-function f6() {
- let e = l6(), t = e ? sp(e) : null;
+function d6() {
+ let e = c6(), t = e ? sp(e) : null;
return !!t && t.path.endsWith("/*") && t.host.isConnected;
}
-async function lFe(e, t, n, r, i, a, o) {
- let s = l6();
+async function fFe(e, t, n, r, i, a, o) {
+ let s = c6();
if (!s) return;
let { segment: c, kind: l, name: u } = n;
if (!a()) return;
@@ -78244,7 +78276,7 @@ async function lFe(e, t, n, r, i, a, o) {
let g = {
...h,
hosts: m,
- card: cFe(e),
+ card: dFe(e),
resolvedEntity: o,
restoreNavigation: sm(),
actions: {
@@ -78259,16 +78291,16 @@ async function lFe(e, t, n, r, i, a, o) {
isCurrent: a,
beforePlace: () => e.surfaceChanged("entity", r),
place: (e) => (e.replaceChildren(...f), p.firstElementChild)
- }) && a() && f6() && (e.surfaceShown?.("entity", r), lm(a, m.filter));
+ }) && a() && d6() && (e.surfaceShown?.("entity", r), lm(a, m.filter));
}
-function uFe({ target: e }) {
- let t = (0, F.useContext)(oG), n = aG(), r = Qd();
- return u6(n, (n, i) => {
+function pFe({ target: e }) {
+ let t = (0, F.useContext)(aG), n = iG(), r = Qd();
+ return l6(n, (n, i) => {
let a = t?.entity;
t && a && (async () => {
- if (n || !f6()) {
+ if (n || !d6()) {
if (t.surfaceChanged("entity", r.pathname), await a.loading(e.kind, e.name, i), !i()) return;
- lm(i, l6(), { pending: !0 });
+ lm(i, c6(), { pending: !0 });
}
let o = new URLSearchParams({ kind: e.kind });
o.set(/^[0-9]+$/.test(e.name) ? "id" : "name", e.name);
@@ -78294,7 +78326,7 @@ function uFe({ 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, l6()?.querySelector("[data-entity-filter]")) : lFe(t, a, {
+ l === r.pathname ? !n && a.refresh(e.kind, c, r.search) ? lm(i, c6()?.querySelector("[data-entity-filter]")) : fFe(t, a, {
...e,
name: c
}, r.pathname, r.search, i, s) : Ep(l + r.search + r.hash, {
@@ -78302,16 +78334,16 @@ function uFe({ target: e }) {
state: W.navigation.location.state
});
})();
- }, { shown: () => f6() && !l6()?.hidden }), null;
+ }, { shown: () => d6() && !c6()?.hidden }), null;
}
-function dFe() {
- let e = sFe(Qd().pathname);
- return e ? /* @__PURE__ */ (0, I.jsx)(uFe, { target: e }, JSON.stringify([e.kind, e.name])) : null;
+function mFe() {
+ let e = uFe(Qd().pathname);
+ return e ? /* @__PURE__ */ (0, I.jsx)(pFe, { target: e }, JSON.stringify([e.kind, e.name])) : null;
}
// src/react/router/pages/follow.tsx
-var p6 = () => document.getElementById("stats"), fFe = () => gu;
-async function pFe(e, t) {
- let n = p6(), r = e.follow;
+var f6 = () => document.getElementById("stats"), hFe = () => gu;
+async function gFe(e, t) {
+ let n = f6(), r = e.follow;
if (!n || !r) return;
let i = om("follow"), a = r.refresh(i), o = r.props();
if (am("follow", {
@@ -78320,34 +78352,34 @@ async function pFe(e, t) {
revision: o.revision
}), a) return;
let s = H.getQueryData(na(o.view, o.revision).queryKey) !== void 0;
- s || (e.surfaceChanged("follow", "/follow"), P2(n, r.skeleton()), lm(t, n, { pending: !0 })), await fp("/follow", o, {
+ s || (e.surfaceChanged("follow", "/follow"), N2(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 mFe() {
- let e = p6(), t = e ? sp(e) : null;
+function _Fe() {
+ let e = f6(), t = e ? sp(e) : null;
return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;
}
-function hFe() {
- let e = (0, F.useContext)(oG);
- return u6(aG(), (t, n) => {
- e && pFe(e, n);
+function vFe() {
+ let e = (0, F.useContext)(aG);
+ return l6(iG(), (t, n) => {
+ e && gFe(e, n);
}, {
- shown: mFe,
+ shown: _Fe,
onCovered: () => {
W.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();
}
}), null;
}
-function m6(e) {
+function p6(e) {
let t = e ? sp(e) : null;
return !!t && t.path === "/playlists" && t.host.isConnected;
}
-async function gFe(e, t) {
- let n = p6();
- n && (e.surfaceChanged("playlists", "/playlists"), P2(n, M2("/playlists", {
+async function yFe(e, t) {
+ let n = f6();
+ n && (e.surfaceChanged("playlists", "/playlists"), N2(n, j2("/playlists", {
followLayout: "",
followSort: "",
followDir: ""
@@ -78356,54 +78388,54 @@ async function gFe(e, t) {
isCurrent: t
}), t() && lm(t));
}
-function _Fe() {
- let e = (0, F.useContext)(oG), t = (0, F.useSyncExternalStore)(xu, fFe), n = (0, F.useRef)(t);
+function bFe() {
+ let e = (0, F.useContext)(aG), t = (0, F.useSyncExternalStore)(xu, hFe), n = (0, F.useRef)(t);
return (0, F.useEffect)(() => {
if (n.current === t) return;
n.current = t;
- let e = p6();
- m6(e) && mp(e, { revision: t });
- }, [t]), u6(aG(), (t, n) => {
- e && gFe(e, n);
+ let e = f6();
+ p6(e) && mp(e, { revision: t });
+ }, [t]), l6(iG(), (t, n) => {
+ e && yFe(e, n);
}, { shown: () => {
- let e = p6();
- return m6(e) && !e.hidden;
+ let e = f6();
+ return p6(e) && !e.hidden;
} }), null;
}
// src/react/router/pages/immerse.tsx
-function vFe() {
+function xFe() {
let e = new URLSearchParams(W.navigation.location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function yFe() {
- let e = (0, F.useContext)(oG);
- return nG(() => {
- e?.openImmerse(vFe());
+function SFe() {
+ let e = (0, F.useContext)(aG);
+ return tG(() => {
+ e?.openImmerse(xFe());
}, !0), null;
}
-function bFe() {
- return /* @__PURE__ */ (0, I.jsx)(yFe, {}, aG());
+function CFe() {
+ return /* @__PURE__ */ (0, I.jsx)(SFe, {}, iG());
}
// src/react/router/pages/managed.tsx
-var xFe = () => uu > 0, h6 = () => (0, F.useSyncExternalStore)(xu, xFe), g6 = () => uM().value.followLayout === "table" ? "table" : "default", _6 = () => new URLSearchParams(window.location.search);
-function v6(e) {
+var wFe = () => uu > 0, m6 = () => (0, F.useSyncExternalStore)(xu, wFe), h6 = () => dM().value.followLayout === "table" ? "table" : "default", g6 = () => new URLSearchParams(window.location.search);
+function _6(e) {
return wn("/healthz", { signal: e.controller.signal }).catch((e) => {
if (Tn(e)) return null;
throw e;
});
}
-function y6(e, t) {
+function v6(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 SFe(e, t) {
+async function TFe(e, t) {
if (e === "/jav") {
- let e = await v6(t);
+ let e = await _6(t);
return t.live ? {
- tab: wU(_6().get("tab")),
+ tab: CU(g6().get("tab")),
readOnly: !!e?.ledger_read_only
} : null;
}
@@ -78414,50 +78446,50 @@ async function SFe(e, t) {
}
if (e.startsWith("/settings/")) {
window.location.hash === "#peachProxy" && yu({ configurationRequestedSection: "网络与访问" });
- let t = _6().get("section") || su || Of(e);
+ let t = g6().get("section") || su || Of(e);
return t ? { section: t } : {};
}
if (e === "/review") {
- let e = _6().get("category") || "", n = await v6(t);
+ let e = g6().get("category") || "", n = await _6(t);
return t.live ? {
- category: VY(e) ? e : "",
- queue: WY(_6().get("queue")),
- ...y6(n, "/review")
+ category: BY(e) ? e : "",
+ queue: UY(g6().get("queue")),
+ ...v6(n, "/review")
} : null;
}
if (e === "/subscriptions") {
- let e = XZ("?" + _6().toString()), n = await v6(t);
+ let e = YZ("?" + g6().toString()), n = await _6(t);
if (!t.live) return null;
- let r = uM().value;
+ let r = dM().value;
return {
...e,
pageSize: Number(r.followPageSize) || 20,
- layout: g6(),
- ...y6(n, "/subscriptions")
+ layout: h6(),
+ ...v6(n, "/subscriptions")
};
}
return {};
}
-async function CFe(e, t, n) {
+async function EFe(e, t, n) {
let r = W.navigation.seq, i = () => n.live && W.navigation.seq === r;
- if (e === "/jav" && wU(_6().get("tab")) === "library") {
- W.replace(cve(window.location.search));
+ if (e === "/jav" && CU(g6().get("tab")) === "library") {
+ W.replace(lve(window.location.search));
return;
}
- if (e === "/subscriptions" && _6().get("tab") === "wants") {
+ if (e === "/subscriptions" && g6().get("tab") === "wants") {
Ep("/jav?tab=wants", { replace: !0 });
return;
}
- if (e === "/subscriptions" && _6().get("tab") === "source") {
+ if (e === "/subscriptions" && g6().get("tab") === "source") {
Ep("/settings/subscriptions", { replace: !0 });
return;
}
let a = document.getElementById("stats");
if (!a) return;
- t.surfaceChanged("management", e), P2(a, M2(e, {
- followLayout: g6(),
- followSort: _6().get("sort") || "",
- followDir: _6().get("dir") || ""
+ t.surfaceChanged("management", e), N2(a, j2(e, {
+ followLayout: h6(),
+ followSort: g6().get("sort") || "",
+ followDir: g6().get("dir") || ""
})), lm(i, a, { pending: !0 }), e === "/taste" && (yu({ state: {
...U,
creator: "",
@@ -78473,7 +78505,7 @@ async function CFe(e, t, n) {
q: "",
jav: ""
} }), t.clearSearch());
- let o = await SFe(e, n);
+ let o = await TFe(e, n);
if (!o) return;
let s = await fp(e, o, {
container: a,
@@ -78489,19 +78521,19 @@ async function CFe(e, t, n) {
}) : lm(i);
}
}
-function b6({ path: e }) {
- let t = aG();
+function y6({ path: e }) {
+ let t = iG();
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)(wFe, {
+ return /* @__PURE__ */ (0, I.jsx)(DFe, {
path: e,
covered: r.current === null
}, `${a} ${r.current ?? "covered"}`);
}
-function wFe({ path: e, covered: t }) {
- let n = (0, F.useContext)(oG), r = h6(), i = (0, F.useRef)(null);
+function DFe({ path: e, covered: t }) {
+ let n = (0, F.useContext)(aG), r = m6(), i = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
e.startsWith("/settings/") && mp(document.getElementById("stats"), { section: Of(e) });
}, [e]), (0, F.useEffect)(() => {
@@ -78512,15 +78544,15 @@ function wFe({ path: e, covered: t }) {
controller: new AbortController()
};
i.current = a, queueMicrotask(() => {
- a.live && CFe(e, n, a);
+ a.live && EFe(e, n, a);
});
}, [r]), (0, F.useEffect)(() => () => {
let e = i.current;
e && (e.live = !1, e.controller.abort());
}, []), null;
}
-function TFe() {
- let e = h6(), t = (0, F.useRef)(!1);
+function OFe() {
+ let e = m6(), t = (0, F.useRef)(!1);
return (0, F.useEffect)(() => {
if (!e || t.current || Rf(W.navigation.location.pathname)) return;
t.current = !0;
@@ -78533,24 +78565,24 @@ function TFe() {
}, [e]), null;
}
// src/react/router/route-chunk.ts
-var x6 = [], S6 = "peach.chunkReloadAt", EFe = 3e4;
-async function DFe() {
+var b6 = [], x6 = "peach.chunkReloadAt", kFe = 3e4;
+async function AFe() {
try {
- let e = Number(sessionStorage.getItem(S6) || 0);
- if (Date.now() - e < EFe || !(await fetch("/healthz", {
+ let e = Number(sessionStorage.getItem(x6) || 0);
+ if (Date.now() - e < kFe || !(await fetch("/healthz", {
cache: "no-store",
credentials: "same-origin"
})).ok) return;
- sessionStorage.setItem(S6, String(Date.now())), location.reload();
+ sessionStorage.setItem(x6, String(Date.now())), location.reload();
} catch {}
}
-function C6(e) {
+function S6(e) {
let t = null, n = null, r = () => n ??= e().then((e) => (t = { module: e }, e), (e) => {
throw n = null, e;
});
- return x6.push(r), {
+ return b6.push(r), {
preload: () => r().catch(async (e) => {
- throw await DFe(), e;
+ throw await AFe(), e;
}),
get: () => {
if (!t) throw Error("页面代码还没装载");
@@ -78558,10 +78590,10 @@ function C6(e) {
}
};
}
-function OFe() {
+function jFe() {
let e = globalThis.requestIdleCallback;
if (typeof e != "function") return;
- let t = [...x6], n = () => {
+ let t = [...b6], n = () => {
let r = t.shift();
r && e(() => {
r().catch(() => {}).finally(n);
@@ -78570,31 +78602,31 @@ function OFe() {
document.readyState === "complete" ? n() : window.addEventListener("load", n, { once: !0 });
}
// src/react/router/managed-routes.tsx
-async function w6(e, t) {
+async function C6(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 T6 = C6(() => import("./peach-app.jav-page-C7oV8KHn.js")), E6 = C6(() => import("./peach-app.stats-page-DhNggTPt.js")), D6 = C6(() => import("./peach-app.taste-page-O5P41pRb.js")), O6 = C6(() => import("./peach-app.review-page-kd1HFP2A.js")), k6 = C6(() => import("./peach-app.data-cleanup-page-CZOBqkVd.js")), A6 = C6(() => import("./peach-app.duplicates-page-Bau8HIlx.js")), j6 = C6(() => import("./peach-app.quality-goals-page-Deoy7rhD.js")), M6 = C6(() => import("./peach-app.scraping-page-Ddbx11Bn.js")), N6 = C6(async () => {
+var w6 = S6(() => import("./peach-app.jav-page-C7oV8KHn.js")), T6 = S6(() => import("./peach-app.stats-page-DhNggTPt.js")), E6 = S6(() => import("./peach-app.taste-page-O5P41pRb.js")), D6 = S6(() => import("./peach-app.review-page-kd1HFP2A.js")), O6 = S6(() => import("./peach-app.data-cleanup-page-CZOBqkVd.js")), k6 = S6(() => import("./peach-app.duplicates-page-Bau8HIlx.js")), A6 = S6(() => import("./peach-app.quality-goals-page-Deoy7rhD.js")), j6 = S6(() => import("./peach-app.scraping-page-Ddbx11Bn.js")), M6 = S6(async () => {
let [{ ConfigurationPage: e }, { DiagnosticsPage: t }] = await Promise.all([import("./peach-app.configuration-page-BkqUJk6k.js"), import("./peach-app.diagnostics-page-yTNOV5os.js")]);
return {
ConfigurationPage: e,
DiagnosticsPage: t
};
-}), P6 = C6(() => import("./peach-app.activity-page-CDOzqSMm.js")), F6 = C6(() => import("./peach-app.follow-manage-page-Bvnaf0EO.js")), I6 = C6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));
-function kFe(e, t, n) {
+}), N6 = S6(() => import("./peach-app.activity-page-CDOzqSMm.js")), P6 = S6(() => import("./peach-app.follow-manage-page-Bvnaf0EO.js")), F6 = S6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));
+function MFe(e, t, n) {
if (e === "duplicates") {
n("/duplicates");
return;
}
let r = t.managePath(e);
- z6(r) ? n(r) : t.openManage(e);
+ R6(r) ? n(r) : t.openManage(e);
}
-var L6 = (e) => ({
- element: /* @__PURE__ */ (0, I.jsx)(b6, { path: e }),
- prefetch: (t, n) => w6(N6, Promise.all([Wke(n), ...e === "/settings/diagnostics" ? [gOe(n)] : []]).then(() => {})),
+var I6 = (e) => ({
+ element: /* @__PURE__ */ (0, I.jsx)(y6, { path: e }),
+ prefetch: (t, n) => C6(M6, Promise.all([qke(n), ...e === "/settings/diagnostics" ? [yOe(n)] : []]).then(() => {})),
page: (t, n) => {
- let { ConfigurationPage: r, DiagnosticsPage: i } = N6.get();
+ let { ConfigurationPage: r, DiagnosticsPage: i } = M6.get();
return /* @__PURE__ */ (0, I.jsx)(r, {
receipt: (e) => n.receipt(e),
reopenTutorial: n.reopenTutorial,
@@ -78605,12 +78637,12 @@ var L6 = (e) => ({
})
});
}
-}), R6 = {
+}), L6 = {
...qf.reduce((e, t) => (e[t.path] = {
- element: /* @__PURE__ */ (0, I.jsx)(b6, { path: t.path }),
- prefetch: (e, n) => w6(k6, BTe(t.key, n)),
+ element: /* @__PURE__ */ (0, I.jsx)(y6, { path: t.path }),
+ prefetch: (e, n) => C6(O6, UTe(t.key, n)),
page: (e, n) => {
- let { DataCleanupToolPage: r } = k6.get();
+ let { DataCleanupToolPage: r } = O6.get();
return /* @__PURE__ */ (0, I.jsx)(r, {
tool: t.key,
failure: n.failure,
@@ -78619,10 +78651,10 @@ var L6 = (e) => ({
}
}, e), {}),
"/jav": {
- element: /* @__PURE__ */ (0, I.jsx)(b6, { path: "/jav" }),
- prefetch: (e, t) => w6(T6, PW(e.tab, t)),
+ element: /* @__PURE__ */ (0, I.jsx)(y6, { path: "/jav" }),
+ prefetch: (e, t) => C6(w6, NW(e.tab, t)),
page: (e, t) => {
- let { JavPage: n } = T6.get();
+ let { JavPage: n } = w6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
...e,
navigate: t.navigate,
@@ -78631,10 +78663,10 @@ var L6 = (e) => ({
}
},
"/stats": {
- element: /* @__PURE__ */ (0, I.jsx)(b6, { path: "/stats" }),
- prefetch: (e, t) => w6(E6, VNe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(y6, { path: "/stats" }),
+ prefetch: (e, t) => C6(T6, WNe(t)),
page: (e, t) => {
- let { StatsPage: n } = E6.get();
+ let { StatsPage: n } = T6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
tagLabel: Pl,
onTag: t.openTag
@@ -78642,10 +78674,10 @@ var L6 = (e) => ({
}
},
"/taste": {
- element: /* @__PURE__ */ (0, I.jsx)(b6, { path: "/taste" }),
- prefetch: (e, t) => w6(D6, kPe("all", t)),
+ element: /* @__PURE__ */ (0, I.jsx)(y6, { path: "/taste" }),
+ prefetch: (e, t) => C6(E6, MPe("all", t)),
page: (e, t, n) => {
- let { TastePage: r } = D6.get();
+ let { TastePage: r } = E6.get();
return /* @__PURE__ */ (0, I.jsx)(r, {
onSignal: t.openTasteSignal,
navigate: n,
@@ -78655,10 +78687,10 @@ var L6 = (e) => ({
}
},
"/review": {
- element: /* @__PURE__ */ (0, I.jsx)(b6, { path: "/review" }),
- prefetch: (e, t) => w6(O6, Awe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(y6, { path: "/review" }),
+ prefetch: (e, t) => C6(D6, Nwe(t)),
page: (e, t) => {
- let { ReviewPage: n } = O6.get();
+ let { ReviewPage: n } = D6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
...e,
route: t.routeReview,
@@ -78670,23 +78702,23 @@ var L6 = (e) => ({
}
},
"/data-cleanup": {
- element: /* @__PURE__ */ (0, I.jsx)(b6, { path: "/data-cleanup" }),
- prefetch: (e, t) => w6(k6, zTe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(y6, { path: "/data-cleanup" }),
+ prefetch: (e, t) => C6(O6, HTe(t)),
page: (e, t, n) => {
- let { DataCleanupPage: r } = k6.get();
+ let { DataCleanupPage: r } = O6.get();
return /* @__PURE__ */ (0, I.jsx)(r, {
navigate: n,
failure: t.failure,
- open: (e) => kFe(e, t, n),
+ open: (e) => MFe(e, t, n),
toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)
});
}
},
"/duplicates": {
- element: /* @__PURE__ */ (0, I.jsx)(b6, { path: "/duplicates" }),
- prefetch: (e, t) => w6(A6, KCe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(y6, { path: "/duplicates" }),
+ prefetch: (e, t) => C6(k6, YCe(t)),
page: (e, t) => {
- let { DuplicatesPage: n } = A6.get();
+ let { DuplicatesPage: n } = k6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
openItem: t.openItem,
failure: t.failure,
@@ -78695,46 +78727,46 @@ var L6 = (e) => ({
}
},
"/quality-goals": {
- element: /* @__PURE__ */ (0, I.jsx)(b6, { path: "/quality-goals" }),
- prefetch: (e, t) => w6(j6, iwe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(y6, { path: "/quality-goals" }),
+ prefetch: (e, t) => C6(A6, swe(t)),
page: (e, t) => {
- let { QualityGoalsPage: n } = j6.get();
+ let { QualityGoalsPage: n } = A6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
openItem: t.openItem,
- javTitleHtml: iL,
- javDisplayName: rL,
+ javTitleHtml: rL,
+ javDisplayName: nL,
toast: (e) => t.receipt(e),
srcBadge: t.srcBadge
});
}
},
"/sources": {
- element: /* @__PURE__ */ (0, I.jsx)(b6, { path: "/sources" }),
- prefetch: (e, t) => w6(M6, Pke(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(y6, { path: "/sources" }),
+ prefetch: (e, t) => C6(j6, Lke(t)),
page: (e, t) => {
- let { ScrapingPage: n } = M6.get();
+ let { ScrapingPage: n } = j6.get();
return /* @__PURE__ */ (0, I.jsx)(n, { toast: (e) => t.toast(e) });
}
},
- "/settings/library": L6("/settings/library"),
- "/settings/subscriptions": L6("/settings/subscriptions"),
- "/settings/downloads": L6("/settings/downloads"),
- "/settings/network": L6("/settings/network"),
- "/settings/maintenance": L6("/settings/maintenance"),
- "/settings/diagnostics": L6("/settings/diagnostics"),
+ "/settings/library": I6("/settings/library"),
+ "/settings/subscriptions": I6("/settings/subscriptions"),
+ "/settings/downloads": I6("/settings/downloads"),
+ "/settings/network": I6("/settings/network"),
+ "/settings/maintenance": I6("/settings/maintenance"),
+ "/settings/diagnostics": I6("/settings/diagnostics"),
"/tasks": {
- element: /* @__PURE__ */ (0, I.jsx)(b6, { path: "/tasks" }),
- prefetch: (e, t) => w6(P6, Bfe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(y6, { path: "/tasks" }),
+ prefetch: (e, t) => C6(N6, Vfe(t)),
page: () => {
- let { ActivityPage: e } = P6.get();
+ let { ActivityPage: e } = N6.get();
return /* @__PURE__ */ (0, I.jsx)(e, {});
}
},
"/subscriptions": {
- element: /* @__PURE__ */ (0, I.jsx)(b6, { path: "/subscriptions" }),
- prefetch: (e, t) => w6(F6, Li(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(y6, { path: "/subscriptions" }),
+ prefetch: (e, t) => C6(P6, Li(t)),
page: (e, t) => {
- let { FollowManagePage: n } = F6.get();
+ let { FollowManagePage: n } = P6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
...e,
route: t.routeFollowManage,
@@ -78744,12 +78776,12 @@ var L6 = (e) => ({
});
}
}
-}, z6 = (e) => Object.hasOwn(R6, e), AFe = { "/resource-sync": { element: /* @__PURE__ */ (0, I.jsx)(TFe, {}) } }, jFe = { "/immerse": { element: /* @__PURE__ */ (0, I.jsx)(bFe, {}) } }, B6 = {
+}, R6 = (e) => Object.hasOwn(L6, e), NFe = { "/resource-sync": { element: /* @__PURE__ */ (0, I.jsx)(OFe, {}) } }, PFe = { "/immerse": { element: /* @__PURE__ */ (0, I.jsx)(CFe, {}) } }, z6 = {
"/playlists": {
- element: /* @__PURE__ */ (0, I.jsx)(_Fe, {}),
- prefetch: (e, t) => w6(I6, vke(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(bFe, {}),
+ prefetch: (e, t) => C6(F6, xke(t)),
page: (e, t) => {
- let { PlaylistsPage: n } = I6.get();
+ let { PlaylistsPage: n } = F6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
revision: e.revision,
openPlaylist: t.openPlaylist,
@@ -78760,14 +78792,14 @@ var L6 = (e) => ({
}
},
"/follow": {
- element: /* @__PURE__ */ (0, I.jsx)(hFe, {}),
+ element: /* @__PURE__ */ (0, I.jsx)(vFe, {}),
prefetch: (e, t) => aa(e, t),
- page: (e) => /* @__PURE__ */ (0, I.jsx)(JEe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(ZEe, { ...e })
}
-}, V6 = (e) => Object.hasOwn(B6, e), H6 = {
- element: /* @__PURE__ */ (0, I.jsx)(oFe, {}),
- prefetch: (e, t) => sEe(e, t),
- page: (e, t) => /* @__PURE__ */ (0, I.jsx)(AOe, {
+}, B6 = (e) => Object.hasOwn(z6, e), V6 = {
+ element: /* @__PURE__ */ (0, I.jsx)(lFe, {}),
+ prefetch: (e, t) => uEe(e, t),
+ page: (e, t) => /* @__PURE__ */ (0, I.jsx)(NOe, {
...e,
route: t.routeIndex,
savePreference: t.savePeopleLayout,
@@ -78780,64 +78812,64 @@ var L6 = (e) => ({
openFollowAuthor: t.openFollowAuthor,
openFollowTag: t.openFollowTag
})
+}, H6 = {
+ "/performers": V6,
+ "/creators": V6,
+ "/studios": V6,
+ "/agencies": V6,
+ "/tags": V6,
+ "/series": V6
}, U6 = {
- "/performers": H6,
- "/creators": H6,
- "/studios": H6,
- "/agencies": H6,
- "/tags": H6,
- "/series": H6
+ element: /* @__PURE__ */ (0, I.jsx)(mFe, {}),
+ prefetch: (e) => QTe(e),
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(mOe, { ...e })
}, W6 = {
- element: /* @__PURE__ */ (0, I.jsx)(dFe, {}),
- prefetch: (e) => YTe(e),
- page: (e) => /* @__PURE__ */ (0, I.jsx)(dOe, { ...e })
+ "/performers/*": U6,
+ "/studios/*": U6,
+ "/creators/*": U6,
+ "/series/*": U6,
+ "/agencies/*": U6,
+ "/tags/*": U6
}, G6 = {
- "/performers/*": W6,
- "/studios/*": W6,
- "/creators/*": W6,
- "/series/*": W6,
- "/agencies/*": W6,
- "/tags/*": W6
-}, K6 = {
"/": {
- element: /* @__PURE__ */ (0, I.jsx)(ZW, {}),
+ element: /* @__PURE__ */ (0, I.jsx)(XW, {}),
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, I.jsx)(xY, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(bY, { ...e })
},
"/junk-files": {
- element: /* @__PURE__ */ (0, I.jsx)(ZW, {}),
+ element: /* @__PURE__ */ (0, I.jsx)(XW, {}),
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, I.jsx)(UOe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(KOe, { ...e })
}
-}, q6 = (e) => Object.hasOwn(K6, e), MFe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, I.jsx)(Q_e, { ...e }) : /* @__PURE__ */ (0, I.jsx)(V$, { ...e }), J6 = {
+}, K6 = (e) => Object.hasOwn(G6, e), FFe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, I.jsx)($_e, { ...e }) : /* @__PURE__ */ (0, I.jsx)(B$, { ...e }), q6 = {
"catalog-filter": {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, I.jsx)(Uye, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(Wye, { ...e })
},
"feed-new": {
- prefetch: (e) => GTe(e),
- page: (e) => /* @__PURE__ */ (0, I.jsx)(_Oe, { ...e })
+ prefetch: (e) => JTe(e),
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(bOe, { ...e })
},
"library-processing": {
- prefetch: (e, t) => xH(t),
- page: (e) => /* @__PURE__ */ (0, I.jsx)(MFe, { ...e })
+ prefetch: (e, t) => bH(t),
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(FFe, { ...e })
},
search: {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, I.jsx)(Bke, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(Uke, { ...e })
}
-}, Y6 = (e) => Object.hasOwn(J6, e), X6 = {
+}, J6 = (e) => Object.hasOwn(q6, e), Y6 = {
"batch-dock": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(Jce, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(qce, {})
},
"glow-picker": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(Ale, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(kle, {})
},
"manage-header": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(yfe, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(bfe, {})
},
immerse: {
prefetch: async () => {},
@@ -78845,17 +78877,17 @@ var L6 = (e) => ({
},
"settings-panel": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(lAe, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(fAe, {})
},
sidebar: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(TAe, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(OAe, {})
},
stage: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(zNe, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(HNe, {})
}
-}, Z6 = (e) => Object.hasOwn(X6, e), Q6 = [
+}, X6 = (e) => Object.hasOwn(Y6, e), Z6 = [
"/",
"/wall",
"/unseen",
@@ -78865,99 +78897,99 @@ var L6 = (e) => ({
"/junk-files"
];
[
- ...Object.keys(R6),
- ...Object.keys(B6),
- ...Object.keys(U6),
- ...Object.keys(G6),
- ...Q6
+ ...Object.keys(L6),
+ ...Object.keys(z6),
+ ...Object.keys(H6),
+ ...Object.keys(W6),
+ ...Z6
];
-var $6 = (e) => z6(e) || V6(e) || Object.hasOwn(U6, e) || Object.hasOwn(G6, e) || q6(e) || Y6(e) || Z6(e);
-function e8(e) {
- return z6(e) ? R6[e] : V6(e) ? B6[e] : q6(e) ? K6[e] : Y6(e) ? J6[e] : Z6(e) ? X6[e] : Object.hasOwn(U6, e) ? U6[e] : G6[e];
+var Q6 = (e) => R6(e) || B6(e) || Object.hasOwn(H6, e) || Object.hasOwn(W6, e) || K6(e) || J6(e) || X6(e);
+function $6(e) {
+ return R6(e) ? L6[e] : B6(e) ? z6[e] : K6(e) ? G6[e] : J6(e) ? q6[e] : X6(e) ? Y6[e] : Object.hasOwn(H6, e) ? H6[e] : W6[e];
}
-function NFe(e, t, n) {
- return $6(e) ? e8(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
+function IFe(e, t, n) {
+ return Q6(e) ? $6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
}
-function PFe(e, t, n, r) {
- return e8(e).page(t, n, r);
+function LFe(e, t, n, r) {
+ return $6(e).page(t, n, r);
}
// src/react/application-residents.ts
-var t8 = null, n8 = null, r8 = 0, i8 = /* @__PURE__ */ new Set();
-function FFe(e) {
- return t8 = e, n8 && e(n8), () => {
- t8 === e && (t8 = null);
+var e8 = null, t8 = null, n8 = 0, r8 = /* @__PURE__ */ new Set();
+function RFe(e) {
+ return e8 = e, t8 && e(t8), () => {
+ e8 === e && (e8 = null);
};
}
-function IFe(e) {
- return t8 && (n8 = e, t8(e), op(Promise.resolve(NFe)), OFe()), Promise.resolve();
+function zFe(e) {
+ return e8 && (t8 = e, e8(e), op(Promise.resolve(IFe)), jFe()), Promise.resolve();
}
-async function a8(e, t, n = (e) => e) {
- let r = r8;
- if (t.isConnected || i8.add(t), !await fp(e, {}, {
+async function i8(e, t, n = (e) => e) {
+ let r = n8;
+ if (t.isConnected || r8.add(t), !await fp(e, {}, {
container: t,
resident: !0,
- isCurrent: () => !!t8 && r === r8,
+ isCurrent: () => !!e8 && r === n8,
place: () => n(t)
- }) || r !== r8 || !t8) throw new DOMException("应用已卸载", "AbortError");
-}
-function LFe() {
- r8 += 1, t8 = null, n8 = null, o8 = null, s8 = null, u8 = null, d8 = null, p8 = null, m8 = null, g8 = null, _8 = null, y8 = null, b8 = null, S8 = null, C8 = null, T8 = null;
- for (let e of i8) e.remove();
- i8.clear(), o$();
+ }) || r !== n8 || !e8) throw new DOMException("应用已卸载", "AbortError");
}
-var o8 = null, s8 = null;
-function c8(e) {
- return o8 ??= (async () => {
- let t = RNe(e), n = document.createElement("div");
- return n.dataset.stageHost = "", await a8("stage", n, (e) => (document.body.append(e), e)), s8 = t, t;
- })(), o8;
+function BFe() {
+ n8 += 1, e8 = null, t8 = null, a8 = null, o8 = null, l8 = null, u8 = null, f8 = null, p8 = null, h8 = null, g8 = null, v8 = null, y8 = null, x8 = null, S8 = null, w8 = null;
+ for (let e of r8) e.remove();
+ r8.clear(), a$();
}
-var l8 = () => s8, u8 = null, d8 = null;
-function RFe(e) {
- return u8 ??= (async () => {
- let t = Cde(e), n = document.createElement("div");
- return n.dataset.immerseHost = "", await a8("immerse", n, (e) => (document.body.append(e), e)), d8 = t, t;
- })(), u8;
+var a8 = null, o8 = null;
+function s8(e) {
+ return a8 ??= (async () => {
+ let t = VNe(e), n = document.createElement("div");
+ return n.dataset.stageHost = "", await i8("stage", n, (e) => (document.body.append(e), e)), o8 = t, t;
+ })(), a8;
}
-var f8 = () => d8, p8 = null, m8 = null;
-function zFe(e) {
- return p8 ??= (async () => {
- let t = cAe(e), n = document.createElement("div");
- return n.dataset.settingsHost = "", await a8("settings-panel", n, (e) => (document.body.append(e), e)), m8 = t, t;
- })(), p8;
-}
-var h8 = () => m8, g8 = null, _8 = null;
-function BFe(e) {
- return g8 ??= (async () => {
- let t = wAe(e);
- return await a8("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), _8 = t, t;
- })(), g8;
-}
-var v8 = () => _8, y8 = null, b8 = null;
+var c8 = () => o8, l8 = null, u8 = null;
function VFe(e) {
- return y8 ??= (async () => {
- let t = vfe(e);
- return await a8("manage-header", e.root, (e) => (e.replaceChildren(), e)), b8 = t, t;
- })(), y8;
+ return l8 ??= (async () => {
+ let t = Cde(e), n = document.createElement("div");
+ return n.dataset.immerseHost = "", await i8("immerse", n, (e) => (document.body.append(e), e)), u8 = t, t;
+ })(), l8;
}
-var x8 = () => b8, S8 = null, C8 = null;
+var d8 = () => u8, f8 = null, p8 = null;
function HFe(e) {
- return S8 ??= (async () => {
- let t = qce(e);
- return await a8("batch-dock", e.root), C8 = t, t;
- })(), S8;
+ return f8 ??= (async () => {
+ let t = dAe(e), n = document.createElement("div");
+ return n.dataset.settingsHost = "", await i8("settings-panel", n, (e) => (document.body.append(e), e)), p8 = t, t;
+ })(), f8;
}
-var w8 = () => C8, T8 = null;
+var m8 = () => p8, h8 = null, g8 = null;
function UFe(e) {
- return T8 ??= (async () => {
- kle(e), await a8("glow-picker", e.root);
- })(), T8;
-}
-function E8(e, t, n, r) {
- s$(e, t), c$(n, r);
+ return h8 ??= (async () => {
+ let t = DAe(e);
+ return await i8("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), g8 = t, t;
+ })(), h8;
+}
+var _8 = () => g8, v8 = null, y8 = null;
+function WFe(e) {
+ return v8 ??= (async () => {
+ let t = yfe(e);
+ return await i8("manage-header", e.root, (e) => (e.replaceChildren(), e)), y8 = t, t;
+ })(), v8;
+}
+var b8 = () => y8, x8 = null, S8 = null;
+function GFe(e) {
+ return x8 ??= (async () => {
+ let t = Kce(e);
+ return await i8("batch-dock", e.root), S8 = t, t;
+ })(), x8;
+}
+var C8 = () => S8, w8 = null;
+function KFe(e) {
+ return w8 ??= (async () => {
+ Ole(e), await i8("glow-picker", e.root);
+ })(), w8;
+}
+function T8(e, t, n, r) {
+ o$(e, t), s$(n, r);
}
// src/application/receipts.js
-var D8 = {
+var E8 = {
toastBody: void 0,
toastSeq: void 0,
toast: void 0,
@@ -78966,13 +78998,13 @@ var D8 = {
rollSeed: void 0,
seededSample: void 0
};
-function WFe() {
- s$(L("#toasts"), {
+function qFe() {
+ o$(L("#toasts"), {
success: R("check"),
error: R("circle-alert")
- }), D8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : z(e && typeof e == "object" ? e.text ?? "" : e ?? ""), D8.toastSeq = 0, D8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {
- let a = `toast-${++D8.toastSeq}`, o = (e, t, n, r) => {
- Zo(i || (t ? "error" : "success")), E8(L("#toasts"), {
+ }), E8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : z(e && typeof e == "object" ? e.text ?? "" : e ?? ""), E8.toastSeq = 0, E8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {
+ let a = `toast-${++E8.toastSeq}`, o = (e, t, n, r) => {
+ Zo(i || (t ? "error" : "success")), T8(L("#toasts"), {
success: R("check"),
error: R("circle-alert")
}, a, {
@@ -78987,10 +79019,10 @@ function WFe() {
} : null
});
};
- return o(D8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(D8.toastBody(e), t, n, null) };
- }, D8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {
+ return o(E8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(E8.toastBody(e), t, n, null) };
+ }, E8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {
let r = null;
- return r = D8.toast({ text: e }, {
+ return r = E8.toast({ text: e }, {
timeout: n,
action: t ? {
label: "撤销",
@@ -79003,14 +79035,14 @@ function WFe() {
}
} : null
}), r;
- }, D8.actionFailure = (e, t) => D8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), D8.rollSeed = () => rr(), D8.seededSample = (e, t, n, r = (e) => e.k) => {
+ }, E8.actionFailure = (e, t) => E8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), E8.rollSeed = () => rr(), E8.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 GFe = [
+var JFe = [
"loc",
"creator",
"studio",
@@ -79031,10 +79063,10 @@ var GFe = [
"folder",
"folder_recursive"
];
-function O8(e, t, n, r = n.defaultSort) {
- return Gj(e, t, n.defaultSort, n.defaultSortDirection, r);
+function D8(e, t, n, r = n.defaultSort) {
+ return Kj(e, t, n.defaultSort, n.defaultSortDirection, r);
}
-function KFe(e, t, n) {
+function YFe(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",
@@ -79050,7 +79082,7 @@ function KFe(e, t, n) {
region: o("region") || "",
year: o("year") || "",
state: On[r] || o("state") || "",
- ...O8(o("sort"), o("dir"), t),
+ ...D8(o("sort"), o("dir"), t),
seed: o("seed") || n(),
q: o("q") || "",
jav: o("jav") || "",
@@ -79060,18 +79092,18 @@ function KFe(e, t, n) {
folder_recursive: o("folder_recursive") === "0" ? "0" : ""
};
}
-function qFe(e, t) {
+function XFe(e, t) {
return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;
}
-function JFe(e) {
+function ZFe(e) {
let t = Dn[e.state ?? ""] || "/", n = new URLSearchParams();
- for (let t of GFe) {
+ for (let t of JFe) {
let r = e[t];
- !r || t === "tag_match" && r === "all" || t === "dir" && r === Hj(e.sort ?? "") || n.set(t, r);
+ !r || t === "tag_match" && r === "all" || t === "dir" && r === Uj(e.sort ?? "") || n.set(t, r);
}
return !Dn[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");
}
-function YFe(e, t, n) {
+function QFe(e, t, n) {
return {
loc: e.loc ?? "",
creator: "",
@@ -79087,7 +79119,7 @@ function YFe(e, t, n) {
year: "",
state: "",
sort: t.defaultSort,
- dir: Wj(t.defaultSort, t.defaultSort, t.defaultSortDirection),
+ dir: Gj(t.defaultSort, t.defaultSort, t.defaultSortDirection),
seed: n(),
q: "",
jav: "",
@@ -79097,7 +79129,7 @@ function YFe(e, t, n) {
folder_recursive: ""
};
}
-function k8(e) {
+function O8(e) {
return {
state: e,
barsContext: {
@@ -79108,7 +79140,7 @@ function k8(e) {
};
}
// src/react/catalog-grid/catalog-controller.ts
-var XFe = class {
+var $Fe = class {
currentRevision = 0;
currentPage = "";
painting = null;
@@ -79153,44 +79185,44 @@ var XFe = class {
let e = [...this.waiters.values()];
this.waiters.clear(), e.forEach((e) => e());
}
-}, A8 = Infinity, j8 = 0, ZFe = (e, t = j8) => [
+}, k8 = Infinity, A8 = 0, eIe = (e, t = A8) => [
"facets",
e,
t
-], QFe = (e, t, n = j8) => [
+], tIe = (e, t, n = A8) => [
"tops",
e,
t,
n
-], $Fe = (e, t = j8) => [
+], nIe = (e, t = A8) => [
"tops",
e,
t
];
-async function M8(e) {
+async function j8(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 eIe(e, t) {
+function rIe(e, t) {
return Promise.all([H.fetchQuery({
- queryKey: ZFe(e),
+ queryKey: eIe(e),
queryFn: () => wn(`/api/facets${e ? `?${e}` : ""}`),
- staleTime: A8
+ staleTime: k8
}), H.fetchQuery({
- queryKey: QFe(t, e),
- queryFn: () => M8(t),
- staleTime: A8
+ queryKey: tIe(t, e),
+ queryFn: () => j8(t),
+ staleTime: k8
})]);
}
-function tIe(e) {
+function iIe(e) {
return H.fetchQuery({
- queryKey: $Fe(e),
- queryFn: () => M8(e),
- staleTime: A8
+ queryKey: nIe(e),
+ queryFn: () => j8(e),
+ staleTime: k8
});
}
-function N8() {
- j8 += 1;
+function M8() {
+ A8 += 1;
let e = (e) => e.state.fetchStatus === "idle";
H.removeQueries({
queryKey: ["facets"],
@@ -79201,7 +79233,7 @@ function N8() {
});
}
// src/application/navigation-items.ts
-var P8 = [
+var N8 = [
[
"",
"首页",
@@ -79252,7 +79284,7 @@ var P8 = [
"管理",
"wrench"
]
-], F8 = [
+], P8 = [
[
"stats",
"统计",
@@ -79298,18 +79330,18 @@ var P8 = [
"Peach 配置",
"folder-cog"
]
-], I8 = [
+], F8 = [
"stats",
"taste",
"cleanup",
"follow",
"activity",
"configuration"
-], nIe = (e) => F8.filter(([t]) => I8.includes(t) && (t !== "configuration" || e)), L8 = F8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
+], aIe = (e) => P8.filter(([t]) => F8.includes(t) && (t !== "configuration" || e)), I8 = P8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,
t,
n
-]]), rIe = [...P8, ...L8], iIe = {
+]]), oIe = [...N8, ...I8], sIe = {
stats: "stats",
review: "review",
"data-cleanup": "cleanup",
@@ -79317,18 +79349,18 @@ var P8 = [
"follow-manage": "follow",
quality: "quality",
activity: "activity"
-}, R8 = [
+}, L8 = [
["0", "不限时间"],
["7", "最近 7 天"],
["30", "最近 30 天"],
["90", "最近 90 天"]
];
// src/react/index/index-controller.ts
-function z8({ kind: e, q: t, scope: n, view: r, category: i }) {
+function R8({ 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 B8(e, t, n) {
+function z8(e, t, n) {
let r = e.entity_id || e.id, i = t === "studio" || t === "agency";
return {
html: go(e.k, r ? {
@@ -79341,20 +79373,20 @@ function B8(e, t, n) {
face: vo(e.avatar_focus)
};
}
-function V8(e) {
+function B8(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 aIe(e) {
+function cIe(e) {
let t = (t) => {
e.adoptFollowView(t), e.hideIndex(), e.openPage(Oa(t));
};
return {
route(t, { replace: n = !1 } = {}) {
- e.route(z8(t), n);
+ e.route(R8(t), n);
},
- personAvatar: B8,
- authorAvatar: V8,
+ personAvatar: z8,
+ authorAvatar: B8,
openFollowAuthor(n) {
t(ka(e.followView(), n));
},
@@ -79364,7 +79396,7 @@ function aIe(e) {
};
}
// src/application/effects.ts
-var H8 = class {
+var V8 = class {
cleanups = /* @__PURE__ */ new Set();
active = !0;
disposed = !1;
@@ -79445,12 +79477,12 @@ var H8 = class {
}
if (e.length) throw AggregateError(e, "应用资源清理未全部完成");
}
-}, U8 = new H8();
-function oIe() {
- return U8.dispose(), U8 = new H8(), U8;
+}, H8 = new V8();
+function lIe() {
+ return H8.dispose(), H8 = new V8(), H8;
}
// src/application/source-action.ts
-function sIe(e) {
+function uIe(e) {
return async (t, n, { button: r = null } = {}) => {
if (r?.getAttribute("aria-busy") === "true") return;
let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";
@@ -79465,36 +79497,36 @@ function sIe(e) {
};
}
// src/react/entity-page/entity-route.ts
-var W8 = () => Object.fromEntries(YX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
-function G8(e, t) {
- let n = new URLSearchParams(e), r = W8();
- for (let e of YX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
+var U8 = () => Object.fromEntries(JX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
+function W8(e, t) {
+ let n = new URLSearchParams(e), r = U8();
+ for (let e of JX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
return {
...r,
- ...Gj(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
+ ...Kj(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
};
}
-function K8(e) {
+function G8(e) {
let t = new URLSearchParams();
- for (let n of YX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Hj(e.sort || "") || t.set(n, e[n]);
+ for (let n of JX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Uj(e.sort || "") || t.set(n, e[n]);
return t.toString();
}
-function q8(e) {
+function K8(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 J8(e, t) {
- let n = new URLSearchParams(K8(e));
+function q8(e, t) {
+ let n = new URLSearchParams(G8(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 cIe(e, t, n, r) {
- let i = J8(n, r);
+function dIe(e, t, n, r) {
+ let i = q8(n, r);
return Nn(e, t) + (i ? `?${i}` : "");
}
-function lIe() {
+function fIe() {
let e = "";
return {
fresh(t, n) {
@@ -79503,22 +79535,22 @@ function lIe() {
read(t, n, r, i) {
let a = e === Nn(t, n) && !r;
e = "";
- let o = a ? W8() : { ...G8(r, i) };
+ let o = a ? U8() : { ...W8(r, i) };
return t === "creator" && (o.creator = ""), {
filters: o,
media: a ? {
media: "videos",
set: 0
- } : q8(r)
+ } : K8(r)
};
}
};
}
// src/react/entity-page/photo-surface.ts
-function uIe(e, t) {
+function pIe(e, t) {
return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();
}
-function dIe(e) {
+function mIe(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);
@@ -79540,12 +79572,12 @@ function dIe(e) {
};
}
// src/react/entity-page/entity-controller.ts
-function fIe(e, t, n) {
+function hIe(e, t, n) {
let r = (t, n, r, i = {
media: "videos",
set: 0
}, { push: a = !0 } = {}) => {
- if (a && e.route(cIe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
+ if (a && e.route(dIe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
e.releaseBodyPreviews();
let o = e.state();
return e.push({
@@ -79559,7 +79591,7 @@ function fIe(e, t, n) {
if (s) return s;
let c = () => {
let n = e.context();
- return n?.kind === t && n.name === a ? n.filters : W8();
+ return n?.kind === t && n.name === a ? n.filters : U8();
}, l = {
...n,
route: (e, n) => {
@@ -79572,7 +79604,7 @@ function fIe(e, t, n) {
e.tag = "", e.creator = "", e.studio = "", e.owner = "";
}),
setSort: (e) => {
- let n = c(), i = Uj(e, n.sort || "new", n.dir || "");
+ let n = c(), i = Wj(e, n.sort || "new", n.dir || "");
i && r(t, a, {
...n,
...i
@@ -79623,7 +79655,7 @@ function fIe(e, t, n) {
};
}
// src/react/entity-page/entity-loading.ts
-function pIe(e) {
+function gIe(e) {
return async (t, n, r) => {
e.paintSkeleton(t, n), e.resetView(), e.shapesReady(t, n) || e.waitShapes().then(() => {
r() && e.syncParts(t, n);
@@ -79633,7 +79665,7 @@ function pIe(e) {
};
}
// src/react/entity-page/entity-portrait.ts
-function mIe(e, t) {
+function _Ie(e, t) {
let n = e === "studio" || e === "agency", r = t.id ? ho({
kind: e,
id: t.id,
@@ -79655,11 +79687,11 @@ function mIe(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 hIe(e) {
- let t = lIe(), n = {
+function vIe(e) {
+ let t = fIe(), n = {
...e.helpers,
- portraitImg: mIe
- }, r = fIe(e.controller, n, e.actions);
+ portraitImg: _Ie
+ }, r = hIe(e.controller, n, e.actions);
return {
...r,
helpers: n,
@@ -79668,12 +79700,12 @@ function hIe(e) {
let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());
return r.props(n, i, o, s);
},
- loading: pIe(e.loading),
- photos: dIe(e.photos)
+ loading: gIe(e.loading),
+ photos: mIe(e.photos)
};
}
// src/card-art/feed-identity.ts
-function gIe(e) {
+function yIe(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>`;
@@ -79681,7 +79713,7 @@ function gIe(e) {
return r.length > 1 ? `<div class="mavstack">${i}</div>` : i;
}
// src/application/feed.js
-var Y8 = {
+var J8 = {
FEED_SKELETON_CARDS: void 0,
feedNewSkeletonHtml: void 0,
entityShapes: void 0,
@@ -79697,56 +79729,56 @@ var Y8 = {
feedNewActions: void 0,
HERO_WIDE_PX: void 0
};
-function X8(e) {
+function Y8(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 _Ie(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 = X8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? iL({
+function bIe(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 = Y8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? rL({
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:${yM}">${n}
+ ${a}<div class="pic" style="--card-ratio:${bM}">${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">${gIe(e)}<div class="mtext"><span class="t">${i}</span>
+ <div class="meta">${yIe(e)}<div class="mtext"><span class="t">${i}</span>
<div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;
}
-function vIe() {
+function xIe() {
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;
- Y8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${Hn(e)}`, t.parts]));
+ J8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${Hn(e)}`, t.parts]));
} catch {}
}
-async function Z8() {
- let e = U8, t = await wn("/api/entity/shapes", { signal: e.signal }).catch(() => null);
- return e.isActive && t && !t.error && (Y8.entityShapesComplete = !0, Y8.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" && $8(t.home.feed), r5(location.pathname) && e5(L("#feedNew"))), Y8.entityShapes;
+async function X8() {
+ let e = H8, t = await wn("/api/entity/shapes", { signal: e.signal }).catch(() => null);
+ return e.isActive && t && !t.error && (J8.entityShapesComplete = !0, J8.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" && Q8(t.home.feed), n5(location.pathname) && $8(L("#feedNew"))), J8.entityShapes;
}
-var Q8 = "peach.home-feed.v1";
-function $8(e) {
+var Z8 = "peach.home-feed.v1";
+function Q8(e) {
X.homeHasFeed = e;
try {
- localStorage.setItem(Q8, e ? "1" : "0");
+ localStorage.setItem(Z8, e ? "1" : "0");
} catch {}
}
-function yIe() {
+function SIe() {
try {
- let e = localStorage.getItem(Q8);
+ let e = localStorage.getItem(Z8);
return e === "1" || e !== "0" && null;
} catch {
return null;
}
}
-function e5(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 = Y8.feedNewSkeletonHtml())));
+function $8(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 = J8.feedNewSkeletonHtml())));
}
-function bIe(e, t) {
+function CIe(e, t) {
return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : Rs(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {
variant: "warning",
className: "feednetwork",
@@ -79754,55 +79786,55 @@ function bIe(e, t) {
actionHref: "/sources"
});
}
-function t5(e, t = "") {
- let n = e && !e.error && e.items || [], r = t && n.length ? `<a class="feednewall" href="${z(t)}" style="--card-ratio:${yM}">${R("chevron-right")}<span>查看全部新作</span></a>` : "";
- return bIe(e?.cover_network, n) + `<div class="feednewrow srow">${n.map(_Ie).join("")}${r}</div>`;
+function e5(e, t = "") {
+ let n = e && !e.error && e.items || [], r = t && n.length ? `<a class="feednewall" href="${z(t)}" style="--card-ratio:${bM}">${R("chevron-right")}<span>查看全部新作</span></a>` : "";
+ return CIe(e?.cover_network, n) + `<div class="feednewrow srow">${n.map(bIe).join("")}${r}</div>`;
}
-function n5(e) {
+function t5(e) {
e && (t9(e), Z.appSettings.feedAutoScroll && Lc(e));
}
-function r5(e) {
+function n5(e) {
return An(e) && e !== "/junk-files";
}
-function xIe() {
+function wIe() {
let e = L("#feedNew");
- cp(e) ? e.hidden = X.homeHasFeed !== !0 : (e5(e), fp("feed-new", {
+ cp(e) ? e.hidden = X.homeHasFeed !== !0 : ($8(e), fp("feed-new", {
host: e,
- revision: Y8.feedRevision,
- helpers: Y8.feedNewHelpers,
- actions: Y8.feedNewActions
+ revision: J8.feedRevision,
+ helpers: J8.feedNewHelpers,
+ actions: J8.feedNewActions
}, {
container: e,
- isCurrent: () => r5(location.pathname)
+ isCurrent: () => n5(location.pathname)
}));
}
-function i5() {
+function r5() {
let e = L("#feedNew");
e.querySelectorAll(".feednewrow").forEach(Rc), e.hidden = !0;
}
-function a5() {
- Y8.feedRevision += 1, mp(L("#feedNew"), { revision: Y8.feedRevision }), c5({ feedRevision: Y8.feedRevision });
+function i5() {
+ J8.feedRevision += 1, mp(L("#feedNew"), { revision: J8.feedRevision }), s5({ feedRevision: J8.feedRevision });
}
-function SIe() {
+function TIe() {
document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? Lc(e) : Rc(e));
}
-var o5 = 0;
-function CIe([e]) {
- let t = e.contentRect.width >= Y8.HERO_WIDE_PX;
- cancelAnimationFrame(o5), o5 = requestAnimationFrame(() => {
- o5 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);
+var a5 = 0;
+function EIe([e]) {
+ let t = e.contentRect.width >= J8.HERO_WIDE_PX;
+ cancelAnimationFrame(a5), a5 = requestAnimationFrame(() => {
+ a5 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);
});
}
-function wIe() {
- Y8.FEED_SKELETON_CARDS = 8, Y8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${yM}"></div>
+function DIe() {
+ J8.FEED_SKELETON_CARDS = 8, J8.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>
<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(Y8.FEED_SKELETON_CARDS)}</div>`, Y8.entityShapes = null, Y8.entityShapesComplete = !1, Y8.hasEntityShape = (e, t) => Y8.entityShapesComplete || !!Y8.entityShapes?.has(`${e}/${Hn(t)}`), Y8.hasEntityPart = (e, t, n) => !!t && !!Y8.entityShapes?.get(`${e}/${Hn(t)}`)?.includes(n), Y8.feedNewSkeletonSection = () => `<section class="feednew">${Y8.feedNewSkeletonHtml()}</section>`, Y8.COSTAR_SKELETON_PEOPLE = 12, Y8.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(Y8.COSTAR_SKELETON_PEOPLE)}</div></div>`, Y8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, Y8.feedRevision = 0, Y8.feedNewHelpers = {
- feedRowHtml: t5,
- wireFeedRow: (e) => n5(e)
- }, Y8.feedNewActions = { settled: (e) => $8(e) }, Y8.HERO_WIDE_PX = 900, U8.resize(CIe).observe(L("#index"));
+ <div class="s mono"><span class="skeleton">&#8203;</span></div></div></div></article>`.repeat(J8.FEED_SKELETON_CARDS)}</div>`, J8.entityShapes = null, J8.entityShapesComplete = !1, J8.hasEntityShape = (e, t) => J8.entityShapesComplete || !!J8.entityShapes?.has(`${e}/${Hn(t)}`), J8.hasEntityPart = (e, t, n) => !!t && !!J8.entityShapes?.get(`${e}/${Hn(t)}`)?.includes(n), J8.feedNewSkeletonSection = () => `<section class="feednew">${J8.feedNewSkeletonHtml()}</section>`, J8.COSTAR_SKELETON_PEOPLE = 12, J8.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(J8.COSTAR_SKELETON_PEOPLE)}</div></div>`, J8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, J8.feedRevision = 0, J8.feedNewHelpers = {
+ feedRowHtml: e5,
+ wireFeedRow: (e) => t5(e)
+ }, J8.feedNewActions = { settled: (e) => Q8(e) }, J8.HERO_WIDE_PX = 900, H8.resize(EIe).observe(L("#index"));
}
// src/entity-skeleton.ts
-function TIe(e, t, n, r = "") {
+function OIe(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">
@@ -79841,16 +79873,16 @@ var Y = {
sourceToolButtons: void 0,
application: void 0
};
-function s5() {
+function o5() {
let e = sp(L("#index"));
return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;
}
-function c5(e) {
+function s5(e) {
Y.entityPageCurrent() && mp(L("#index"), e);
}
-function l5() {
+function c5() {
if (Gl.type === "item") return Gl;
- let e = s5();
+ let e = o5();
if (e) {
let { kind: t, name: n, filters: r } = e.props;
return {
@@ -79862,23 +79894,23 @@ function l5() {
}
return Gl;
}
-function u5(e, t, n = i7()) {
- return vLe(n).map(([n, r]) => {
- let i = e === n, a = Uj(n, e, t);
+function l5(e, t, n = i7()) {
+ return bLe(n).map(([n, r]) => {
+ let i = e === n, a = Wj(n, e, t);
return {
key: n,
label: r,
pressed: i,
- dir: i && Vj(n, t) ? t === "asc" ? "asc" : "desc" : "",
- ariaLabel: a ? `按${r}${a.dir ? Vj(a.sort, a.dir) : ""}排序` : ""
+ dir: i && Hj(n, t) ? t === "asc" ? "asc" : "desc" : "",
+ ariaLabel: a ? `按${r}${a.dir ? Hj(a.sort, a.dir) : ""}排序` : ""
};
});
}
-function d5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {
+function u5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {
return Y.application.route(e, t, n, r, i);
}
-function f5() {
- return uIe({
+function d5() {
+ return pIe({
entityWall: Y.entityPageWall,
entityCurrent: Y.entityPageCurrent(),
indexVisible: !L("#index").hidden,
@@ -79887,37 +79919,37 @@ function f5() {
statsVisible: !L("#stats").hidden
}, () => [...document.querySelectorAll(".followphotowall")].some((e) => e.getClientRects().length > 0));
}
-function p5() {
+function f5() {
Y.photos.sync();
}
-function m5() {
- f5() ? Sle(TM()) : RM();
+function p5() {
+ d5() ? xle(EM()) : zM();
}
-function EIe(e) {
+function kIe(e) {
Y.photos.setSize(e);
}
-var h5 = sIe({
+var m5 = uIe({
request: (e) => wn("/api/reveal", {
method: "POST",
body: JSON.stringify({ id: e })
}),
- success: () => D8.toast({ text: "已在资源管理器中显示" }),
+ success: () => E8.toast({ text: "已在资源管理器中显示" }),
failureText: (e) => Y.sourceHint(e instanceof Error ? e.message : String(e))
});
-async function g5(e) {
+async function h5(e) {
let t = { textContent: "" };
- return await h5(e, t), t.textContent;
+ return await m5(e, t), t.textContent;
}
-async function DIe(e) {
+async function AIe(e) {
let t = { textContent: "" }, n = [];
- return await _5(e, t, (e) => {
+ return await g5(e, t, (e) => {
e.items && (n = e.items.map((e) => e.id));
}), {
text: t.textContent,
removed: n
};
}
-async function _5(e, t, n) {
+async function g5(e, t, n) {
t.textContent = "正在核对目录…";
try {
let r = await wn("/api/purge-missing", {
@@ -79930,7 +79962,7 @@ async function _5(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), D8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {
+ n && n(r), E8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {
await wn("/api/batch", {
method: "POST",
body: JSON.stringify({
@@ -79942,22 +79974,22 @@ async function _5(e, t, n) {
restored: e.length
});
} : null });
- } else D8.actionReceipt("目录核对完成,无需改动");
+ } else E8.actionReceipt("目录核对完成,无需改动");
} catch (e) {
- t.textContent = Y.sourceHint(e.message), D8.actionFailure("核对目录", e);
+ t.textContent = Y.sourceHint(e.message), E8.actionFailure("核对目录", e);
}
}
-function OIe(e) {
+function jIe(e) {
return `<div class="srctools">${Y.sourceToolButtons(e)}
<span class="srcstate" aria-live="polite"></span></div>`;
}
-function kIe(e, t) {
+function MIe(e, t) {
let n = e.querySelector(".srcstate");
if (!n) return;
let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");
- r && U8.handler(r, "onclick", () => h5(Number(r.dataset.reveal), n, { button: r })), i && U8.handler(i, "onclick", () => _5(Number(i.dataset.sync), n, t));
+ r && H8.handler(r, "onclick", () => m5(Number(r.dataset.reveal), n, { button: r })), i && H8.handler(i, "onclick", () => g5(Number(i.dataset.sync), n, t));
}
-async function AIe(e, t) {
+async function NIe(e, t) {
let n = il({
title: "添加别名",
description: "图库按名字查找图片,添加别名可能找到更多备选图片;也可以将别名设为统一显示的名称。",
@@ -79969,9 +80001,9 @@ async function AIe(e, t) {
confirmDisabled: !0,
onConfirm: () => t({ alias: r.value.trim() })
}), r = n.dialog.querySelector("[name=alias]");
- U8.handler(r, "oninput", () => {
+ H8.handler(r, "oninput", () => {
n.confirmButton.disabled = !r.value.trim();
- }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => U8.handler(e, "onclick", async () => {
+ }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => H8.handler(e, "onclick", async () => {
let r = e.dataset.aliasDrop;
n.close();
try {
@@ -79980,53 +80012,53 @@ async function AIe(e, t) {
remove: !0
});
} catch (e) {
- D8.actionFailure("撤销别名", e);
+ E8.actionFailure("撤销别名", e);
return;
}
- D8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {
+ E8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {
await t({ alias: r });
} });
}));
let { confirmed: i, result: a } = await n.done;
- i && (a?.added ? D8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {
+ i && (a?.added ? E8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {
await t({
alias: a.alias,
remove: !0
});
- } }) : D8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));
+ } }) : E8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));
}
-function v5(e, t) {
- let n = ["performer", "studio"].includes(e) && Y8.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" ? "" : F0(u5(U.sort, U.dir, n), n ? {
+function _5(e, t) {
+ let n = ["performer", "studio"].includes(e) && J8.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" ? "" : P0(l5(U.sort, U.dir, n), n ? {
name: "jav-layout",
label: "JAV 卡片版式",
- value: xM(),
- options: gM
- } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${N0}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${N0}>${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}" ${N0}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = TIe(e, r, e === "agency" ? rc({
+ 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" ${M0}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${M0}>${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}" ${M0}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = OIe(e, r, e === "agency" ? rc({
kind: "performers",
- layout: P5.peopleIndexLayout()
- }) : nY("正在读取作品", kM(OM({
+ layout: N5.peopleIndexLayout()
+ }) : tY("正在读取作品", AM(kM({
active: n,
home: !1,
portrait: !1
}))), i);
- L("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? y5(e, t) : (L("#index").innerHTML = a, y5(e, t), uc(L("#index")));
+ L("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? v5(e, t) : (L("#index").innerHTML = a, v5(e, t), uc(L("#index")));
}
-function y5(e, t) {
+function v5(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" && Y8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", Y8.costarSkeletonFoot())), r(n.querySelector(".feednew"), Y8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", Y8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && Y8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", Y8.factsSkeleton()));
+ r(n.querySelector(".entityfoot"), e !== "agency" && J8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", J8.costarSkeletonFoot())), r(n.querySelector(".feednew"), J8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", J8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && J8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", J8.factsSkeleton()));
}
-function b5(e) {
- let t = jn[e] || e, n = i6[t] || "条目", r = i6[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";
+function y5(e) {
+ let t = jn[e] || e, n = r6[t] || "条目", r = r6[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";
L("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });
}
-function x5(e, t) {
+function b5(e, t) {
y9(Y.application.fresh(e, t));
}
-function jIe() {
+function PIe() {
Y.ENTITY_FILTER_KEYS = [
"loc",
"creator",
@@ -80038,40 +80070,40 @@ function jIe() {
"year",
"sort",
"dir"
- ], Y.emptyEntityFilters = W8, Y.parseEntityFilters = (e) => G8(e, {
+ ], Y.emptyEntityFilters = U8, Y.parseEntityFilters = (e) => W8(e, {
sort: Z.appSettings.defaultSort,
dir: Z.appSettings.defaultSortDirection
- }), Y.entityFilterSearch = K8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {
+ }), Y.entityFilterSearch = G8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {
...e,
filters: { ...e.filters }
} : e, Y.activeFilterState = () => {
- let e = l5();
+ let e = c5();
return e.type === "home" ? U : e.filters;
}, L("#q").value = U.q, X.rememberSearchValue();
}
-function MIe() {
- Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!s5(), Y.entityPageLive = (e, t) => {
- let n = s5();
+function FIe() {
+ Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!o5(), Y.entityPageLive = (e, t) => {
+ let n = o5();
return !!n && !L("#index").hidden && n.props.kind === e && n.props.name === t;
}, Y.EMPTY_ENTITY_MEDIA = {
media: "videos",
set: 0
- }, Y.parseMediaView = q8, Y.entityViewSearch = J8, Y.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, Y.entityBodySkeleton = () => q7(), Y.entityPageHelpers = {
+ }, Y.parseMediaView = K8, Y.entityViewSearch = q8, Y.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, Y.entityBodySkeleton = () => q7(), Y.entityPageHelpers = {
wireDrag: (e) => {
e && t9(e);
},
wireScroller: (e) => {
e && Dc(e);
},
- wireFeedRow: (e) => n5(e),
- feedRowHtml: t5,
- receipt: (e, t) => D8.actionReceipt(e, t),
- failure: (e, t) => D8.actionFailure(e, t),
- aliasForm: (e, t) => AIe(e, t),
- sourceToolsHtml: (e) => OIe(e),
- wireSourceTools: (e, t) => kIe(e, t),
+ wireFeedRow: (e) => t5(e),
+ feedRowHtml: e5,
+ receipt: (e, t) => E8.actionReceipt(e, t),
+ failure: (e, t) => E8.actionFailure(e, t),
+ aliasForm: (e, t) => NIe(e, t),
+ sourceToolsHtml: (e) => jIe(e),
+ wireSourceTools: (e, t) => MIe(e, t),
comboItems: (e) => I7(e),
- sortKeys: (e, t, n) => u5(e, t, n)
+ sortKeys: (e, t, n) => l5(e, t, n)
}, Y.entityFollowActions = {
...$.followFeedActions,
route: () => {},
@@ -80094,11 +80126,11 @@ function MIe() {
<button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"
aria-label="同步删除">${R("folder-sync")}</button>`;
}
-function NIe() {
- Y.application = hIe({
+function IIe() {
+ Y.application = vIe({
controller: {
context: () => {
- let e = l5();
+ let e = c5();
return e.type === "entity" ? e : null;
},
live: (e, t) => Y.entityPageLive(e, t),
@@ -80110,22 +80142,22 @@ function NIe() {
filters: U
} }),
releaseBodyPreviews: () => Al(L("#index [data-entity-body]")),
- push: c5,
+ push: s5,
state: () => ({
seed: String(U.seed || ""),
jav: U.jav === "1"
}),
preferences: () => ({
revision: Y.entityPageRevision,
- feedRevision: Y8.feedRevision,
- photoSize: TM(),
- photoLayout: EM(),
- photoLayouts: vM,
+ feedRevision: J8.feedRevision,
+ photoSize: EM(),
+ photoLayout: DM(),
+ photoLayouts: yM,
followImagesOnly: !!Z.appSettings.followImagesOnly,
- javLayout: xM(),
- javLayouts: gM,
+ javLayout: SM(),
+ javLayouts: _M,
states: X.VIEW_PILLS,
- peopleLayout: P5.peopleIndexLayout(),
+ peopleLayout: N5.peopleIndexLayout(),
layout: K7(),
selectMode: Yl,
selected: new Set(ql),
@@ -80140,51 +80172,51 @@ function NIe() {
}
}),
changeFilter: C7,
- rollSeed: () => D8.rollSeed(),
+ rollSeed: () => E8.rollSeed(),
writeSeed: (e) => {
U.seed = e, bu();
},
setJavLayout: s7,
- javLayout: xM,
- setPhotoLayout: jM,
- syncPhotoWalls: p5,
- openEntity: x5,
- photoViewActive: f5,
+ javLayout: SM,
+ setPhotoLayout: MM,
+ syncPhotoWalls: f5,
+ openEntity: b5,
+ photoViewActive: d5,
recordPainted: (e, t) => {
Y.entityPageView = e, Y.entityPageWall = t;
},
- syncDensity: m5,
+ syncDensity: p5,
scheduleSticky: m7,
releasePage: () => hp(L("#index")),
- showMissing: b5,
- dropBars: N8
+ showMissing: y5,
+ dropBars: M8
},
loading: {
- shapesReady: (e, t) => Y8.hasEntityShape(e, t),
- waitShapes: V5,
- paintSkeleton: v5,
+ shapesReady: (e, t) => J8.hasEntityShape(e, t),
+ waitShapes: B5,
+ paintSkeleton: _5,
resetView: () => {
yu({ detailReturnBarsContext: null }), Y.entityPageView = "", Y.entityPageWall = !1;
},
- loadShapes: Z8,
- syncParts: y5
+ loadShapes: X8,
+ syncParts: v5
},
photos: {
preferences: () => ({
- size: TM(),
- layout: EM(),
+ size: EM(),
+ layout: DM(),
imagesOnly: !!Z.appSettings.followImagesOnly
}),
walls: () => document.querySelectorAll(".followphotowall"),
- pushEntity: c5,
+ pushEntity: s5,
pushFollow: w9,
- syncDensity: m5,
- storeSize: ble
+ syncDensity: p5,
+ storeSize: yle
},
helpers: Y.entityPageHelpers,
actions: {
toggleTag: F7,
- openFollowAuthor: L5,
+ openFollowAuthor: I5,
javContext: (e) => yu({ entityJavLayout: !!e })
},
sortPreference: () => ({
@@ -80194,8 +80226,8 @@ function NIe() {
}), Y.photos = Y.application.photos, Y.entityPageHelpers = Y.application.helpers;
}
// src/application/playlists.js
-var S5 = { playlistWrite: void 0 };
-function PIe(e, t) {
+var x5 = { playlistWrite: void 0 };
+function LIe(e, t) {
e === "tag" ? (yu({ state: {
...U,
tag: t,
@@ -80205,17 +80237,17 @@ function PIe(e, t) {
q: "",
state: "",
orient: ""
- } }), X.clearSearchField(), Q.route(g7()), K5(), N7()) : x5(e, t);
+ } }), X.clearSearchField(), Q.route(g7()), G5(), N7()) : b5(e, t);
}
-function C5(e = "") {
+function S5(e = "") {
return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"
maxlength="80" placeholder="输入名称" value="${z(e)}"></label>`;
}
-async function FIe({ title: e, count: t, save: n }) {
+async function RIe({ title: e, count: t, save: n }) {
let r = il({
title: "保存为播放列表",
description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,
- body: C5(e),
+ body: S5(e),
confirmLabel: "保存为播放列表",
onConfirm: () => {
let e = r.dialog.querySelector("[name=\"name\"]").value.trim();
@@ -80225,28 +80257,28 @@ async function FIe({ title: e, count: t, save: n }) {
});
r.dialog.querySelector("[name=\"name\"]").select();
let { confirmed: i, result: a } = await r.done;
- i && (await s9(a.id, a.current_asset_id, !0), D8.actionReceipt("已保存为播放列表", { undo: async () => {
- await S5.playlistWrite({
+ i && (await s9(a.id, a.current_asset_id, !0), E8.actionReceipt("已保存为播放列表", { undo: async () => {
+ await x5.playlistWrite({
action: "delete",
id: a.id
}), y9("/playlists");
} }));
}
-async function IIe(e) {
+async function zIe(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: C5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Rs("还没有播放列表,填个名称就能新建一份。", { size: "small" })),
+ body: S5() + (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 S5.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 x5.playlistWrite({
action: "create",
name: t,
asset_ids: [e.id]
})).playlist : null;
- for (let t of r) await S5.playlistWrite({
+ for (let t of r) await x5.playlistWrite({
action: "add",
id: t,
asset_ids: [e.id]
@@ -80260,46 +80292,46 @@ async function IIe(e) {
let e = n.dialog.querySelector("[name=\"name\"]").value.trim();
n.confirmButton.disabled = !e && !n.dialog.querySelector("[data-pick-playlist]:checked");
};
- U8.listen(n.dialog, "input", r), U8.listen(n.dialog, "change", r);
+ H8.listen(n.dialog, "input", r), H8.listen(n.dialog, "change", r);
let { confirmed: i, result: a } = await n.done;
if (!i) return;
let o = +!!a.created + a.added.length;
- D8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {
- for (let t of a.added) await S5.playlistWrite({
+ E8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {
+ for (let t of a.added) await x5.playlistWrite({
action: "remove",
id: t,
asset_id: e.id
});
- a.created && await S5.playlistWrite({
+ a.created && await x5.playlistWrite({
action: "delete",
id: a.created.id
});
} });
}
-function w5() {
- Al(), a9(!1), G5();
+function C5() {
+ Al(), a9(!1), W5();
let e = sp(L("#stats"));
- e?.path !== "/playlists" || !e.host.isConnected ? yu({ pageOpens: uu + 1 }) : (W5({ manage: !1 }), yu({ playlistsRevision: gu + 1 }));
+ e?.path !== "/playlists" || !e.host.isConnected ? yu({ pageOpens: uu + 1 }) : (U5({ manage: !1 }), yu({ playlistsRevision: gu + 1 }));
}
-function LIe(e) {
+function BIe(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 T5(e) {
+function w5(e) {
yu({ configurationRequestedSection: e }), Q.navigatePath(Mf(e));
}
-function RIe() {
- S5.playlistWrite = (e) => wn("/api/playlist", {
+function VIe() {
+ x5.playlistWrite = (e) => wn("/api/playlist", {
method: "POST",
body: JSON.stringify(e)
});
}
// src/react/catalog-grid/selection-controller.ts
-function E5(e) {
+function T5(e) {
return e === "/follow" ? "follow" : e === "/junk-files" ? "junk" : "catalog";
}
-function D5(e, t, n, r, i = !1) {
+function E5(e, t, n, r, i = !1) {
return i && (e.selected.clear(), e.followSelected.clear()), {
selectMode: r,
selectSurface: r ? t.selectMode ? t.selectSurface : n : "",
@@ -80307,23 +80339,23 @@ function D5(e, t, n, r, i = !1) {
followLastSelectedId: i ? null : t.followLastSelectedId
};
}
-function O5(e, t, n, r, i, a = !1) {
- let o = n === "follow", s = RY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
+function D5(e, t, n, r, i, a = !1) {
+ let o = n === "follow", s = LY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
return {
- ...D5(e, t, n, !0),
+ ...E5(e, t, n, !0),
...o ? { followLastSelectedId: s } : { lastSelectedId: s }
};
}
-function zIe(e, t, n, r) {
- let i = E5(t);
+function HIe(e, t, n, r) {
+ let i = T5(t);
return {
count: (i === "follow" ? e.followSelected : e.selected).size,
context: i === "catalog" && r === "trash" ? "trash" : i,
- junkDismissed: ZU(n).view === "dismissed"
+ junkDismissed: XU(n).view === "dismissed"
};
}
// src/application/selection.js
-var k5 = {
+var O5 = {
batchDockProps: void 0,
trashCount: void 0,
currentSelectSurface: void 0,
@@ -80331,43 +80363,43 @@ var k5 = {
BATCH_RUNNERS: void 0,
coverRecheck: void 0
};
-function A5() {
+function k5() {
W7({
selected: new Set(ql),
selectMode: Yl
- }), c5({
+ }), s5({
selected: new Set(ql),
selectMode: Yl
}), w9({
selected: new Set(Jl),
selectMode: Yl
- }), k5.batchDockProps = YIe(), w8() && (w8().render(k5.batchDockProps), Z.syncGlassOptics());
+ }), O5.batchDockProps = QIe(), C8() && (C8().render(O5.batchDockProps), Z.syncGlassOptics());
}
-function j5(e, t = !1) {
- yu(D5({
+function A5(e, t = !1) {
+ yu(E5({
selected: ql,
followSelected: Jl
- }, N5(), E5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Yl), Yl && Al(), L("#selectMode").setAttribute("aria-pressed", String(Yl)), A5();
+ }, M5(), T5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Yl), Yl && Al(), L("#selectMode").setAttribute("aria-pressed", String(Yl)), k5();
}
-function BIe() {
- return [...R5.gridCards()].map((e) => +e.dataset.id);
+function UIe() {
+ return [...L5.gridCards()].map((e) => +e.dataset.id);
}
-function M5(e, t = !1) {
- yu(O5({
+function j5(e, t = !1) {
+ yu(D5({
selected: ql,
followSelected: Jl
- }, N5(), E5(location.pathname), BIe(), e, t)), j5(!0);
+ }, M5(), T5(location.pathname), UIe(), e, t)), A5(!0);
}
-function VIe() {
+function WIe() {
return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);
}
-function HIe(e, t = !1) {
- yu(O5({
+function GIe(e, t = !1) {
+ yu(D5({
selected: ql,
followSelected: Jl
- }, N5(), "follow", VIe(), e, t)), j5(!0);
+ }, M5(), "follow", WIe(), e, t)), A5(!0);
}
-async function UIe(e, t) {
+async function KIe(e, t) {
let n = {
like: "喜欢",
seen: "标为看过",
@@ -80399,9 +80431,9 @@ async function UIe(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"));
- j5(!1, !0), await l7();
+ A5(!1, !0), await l7();
let r = e === "dispose" ? "restore" : e === "restore" ? "dispose" : null;
- D8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {
+ E8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {
if (r === "dispose" && t.restored_reasons) for (let e of [
null,
"manual",
@@ -80431,18 +80463,18 @@ async function UIe(e, t) {
} catch (e) {
throw qc(t, !1), e;
} finally {
- qc(t, !1), A5();
+ qc(t, !1), k5();
}
}
});
}
-async function WIe() {
+async function qIe() {
let e = [...ql];
if (!e.length) return;
let t = il({
title: "判定产地",
description: `选中的 ${e.length} 项归为同一个产地。判定之后,刮削和自动推断不再改写产地。`,
- body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + k5.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=\"产地\">" + O5.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,
@@ -80462,13 +80494,13 @@ async function WIe() {
};
}
});
- t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => U8.handler(e, "onclick", () => {
+ t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => H8.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 && (j5(!1, !0), await l7(), D8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));
+ n && (A5(!1, !0), await l7(), E8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));
}
-async function GIe(e, t) {
+async function JIe(e, t) {
let n = [...Jl];
if (!n.length) return;
let r = {
@@ -80494,16 +80526,16 @@ async function GIe(e, t) {
items: n,
to: e
})
- }), j5(!1, !0), location.pathname === "/follow" && yu({ pageOpens: uu + 1 }), D8.actionReceipt(`已${r[e]} ${n.length} 项`);
+ }), A5(!1, !0), location.pathname === "/follow" && yu({ pageOpens: uu + 1 }), E8.actionReceipt(`已${r[e]} ${n.length} 项`);
} catch (e) {
throw qc(t, !1), e;
} finally {
- qc(t, !1), A5();
+ qc(t, !1), k5();
}
}
});
}
-async function KIe(e, t) {
+async function YIe(e, t) {
let n = [...ql];
if (!n.length) return;
let r = {
@@ -80530,9 +80562,9 @@ async function KIe(e, t) {
operation: e,
...e === "dispose" ? { disposal_reason: "junk" } : {}
})
- }), j5(!1, !0), await R7();
+ }), A5(!1, !0), await R7();
let t = e === "dispose" ? "restore" : e === "dismiss-junk" ? "reconsider-junk" : e === "reconsider-junk" ? "dismiss-junk" : null;
- D8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {
+ E8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {
await wn("/api/batch", {
method: "POST",
body: JSON.stringify({
@@ -80544,54 +80576,54 @@ async function KIe(e, t) {
} catch (e) {
throw qc(t, !1), e;
} finally {
- qc(t, !1), A5();
+ qc(t, !1), k5();
}
}
});
}
-function qIe() {
- HFe({
+function XIe() {
+ GFe({
root: L("[data-batch-dock]"),
run: (e, t, n) => {
- k5.BATCH_RUNNERS[e]?.(t, n);
+ O5.BATCH_RUNNERS[e]?.(t, n);
}
}).then((e) => {
- e.render(k5.batchDockProps), Z.syncGlassOptics();
+ e.render(O5.batchDockProps), Z.syncGlassOptics();
}).catch(() => {});
}
-function JIe() {
- k5.batchDockProps = {
+function ZIe() {
+ O5.batchDockProps = {
count: 0,
context: "catalog",
junkDismissed: !1
- }, k5.trashCount = null, k5.currentSelectSurface = () => E5(location.pathname), U8.handler(L("#selectMode"), "onclick", () => j5(!Yl, !!Yl)), k5.REGION_CHOICES = [
+ }, O5.trashCount = null, O5.currentSelectSurface = () => T5(location.pathname), H8.handler(L("#selectMode"), "onclick", () => A5(!Yl, !!Yl)), O5.REGION_CHOICES = [
["jp", "日本"],
["kr", "韩国"],
["cn", "国产"],
["west", "欧美"],
["other", "其他"],
["none", "撤回判定"]
- ], k5.BATCH_RUNNERS = {
- batch: UIe,
- region: WIe,
- follow: GIe,
- junk: KIe,
- clear: () => j5(!1, !0)
- }, U8.handler(L("#density"), "onclick", () => {
- f5() ? EIe(TM() === "big" ? "small" : "big") : xle();
- }), RM(), Ol({
+ ], O5.BATCH_RUNNERS = {
+ batch: KIe,
+ region: qIe,
+ follow: JIe,
+ junk: YIe,
+ clear: () => A5(!1, !0)
+ }, H8.handler(L("#density"), "onclick", () => {
+ d5() ? kIe(EM() === "big" ? "small" : "big") : ble();
+ }), zM(), Ol({
selecting: () => Yl,
censored: () => $7(),
delaySeconds: () => Z.appSettings.hoverDelaySeconds
- }), U8.listen(window, "pagehide", () => Al()), U8.listen(document, "visibilitychange", () => {
+ }), H8.listen(window, "pagehide", () => Al()), H8.listen(document, "visibilitychange", () => {
document.hidden && Al();
- }), Tl(), k5.coverRecheck = 0, U8.listen(window, "resize", () => {
- Sl(L("#index")), clearTimeout(k5.coverRecheck), k5.coverRecheck = U8.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {
+ }), Tl(), O5.coverRecheck = 0, H8.listen(window, "resize", () => {
+ Sl(L("#index")), clearTimeout(O5.coverRecheck), O5.coverRecheck = H8.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {
e.complete && pl(e);
}), 200);
}, { passive: !0 });
}
-function N5() {
+function M5() {
return {
selectMode: Yl,
selectSurface: Ql,
@@ -80599,62 +80631,62 @@ function N5() {
followLastSelectedId: Zl
};
}
-function YIe() {
- return zIe({
+function QIe() {
+ return HIe({
selected: ql,
followSelected: Jl
}, location.pathname, location.search, U.state);
}
// src/application/index.js
-var P5 = {
+var N5 = {
peopleIndexLayout: void 0,
personAvatar: void 0
};
-function XIe() {
+function $Ie() {
return Z.appSettings.followLayout === "table" ? "table" : "default";
}
-function ZIe() {
- return XZ(location.search);
+function eLe() {
+ return YZ(location.search);
}
-function QIe(e) {
- return ZZ(e);
+function tLe(e) {
+ return XZ(e);
}
-function $Ie(e) {
- Q.route(QIe(e));
+function nLe(e) {
+ Q.route(tLe(e));
}
-function eLe(e = "") {
- return QZ(location.search, e);
+function rLe(e = "") {
+ return ZZ(location.search, e);
}
-function tLe(e) {
- return V8(e);
+function iLe(e) {
+ return B8(e);
}
-function F5(e) {
- return z8(e);
+function P5(e) {
+ return R8(e);
}
-function I5() {
+function F5() {
L("#stats").hidden = !0, L("#index").hidden = !1, B7(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;
}
-function nLe(e, t) {
+function aLe(e, t) {
yu({ state: {
...U,
state: "",
tag: e.join(","),
tag_match: t
- } }), j5(!1, !1), Q.route(g7()), K5(), h9(), N7();
+ } }), A5(!1, !1), Q.route(g7()), G5(), h9(), N7();
}
-function L5(e) {
- P5.controller.openFollowAuthor(e);
+function I5(e) {
+ N5.controller.openFollowAuthor(e);
}
-function rLe(e) {
- P5.controller.openFollowTag(e);
+function oLe(e) {
+ N5.controller.openFollowTag(e);
}
-function iLe() {
- $.FOLLOW_MANAGE_TABS = YZ, U8.listen(document, "click", (e) => {
- e.target.closest?.("[data-empty-settings]") && T5("媒体库与入库");
- }), P5.peopleIndexLayout = () => a6(Z.appSettings.peopleLayout), P5.personAvatar = B8;
+function sLe() {
+ $.FOLLOW_MANAGE_TABS = JZ, H8.listen(document, "click", (e) => {
+ e.target.closest?.("[data-empty-settings]") && w5("媒体库与入库");
+ }), N5.peopleIndexLayout = () => i6(Z.appSettings.peopleLayout), N5.personAvatar = z8;
}
-function aLe() {
- P5.controller = aIe({
+function cLe() {
+ N5.controller = cIe({
route: Q.route,
followView: x9,
adoptFollowView: S9,
@@ -80665,7 +80697,7 @@ function aLe() {
});
}
// src/application/loading.js
-var R5 = {
+var L5 = {
setGridCards: void 0,
gridCards: void 0,
managementPlaceholder: void 0,
@@ -80674,58 +80706,58 @@ var R5 = {
ENTITY_SHAPES_WAIT: void 0,
syncPageTitle: void 0
};
-function z5(e = "正在读取作品") {
+function R5(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(ZU(location.search)), uc(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && T7({
+ 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 = Lve(XU(location.search)), uc(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && T7({
count: null,
...O7()
})), L("#loadSentinel").hidden = !0, U7()) return;
let r = L("#grid"), i = q7(e), a = r.querySelector(".catalog-skeleton");
- (a?.dataset.skeleton !== N2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== J7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : R5.setGridCards(i), uc(L("#grid")));
+ (a?.dataset.skeleton !== M2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== J7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : L5.setGridCards(i), uc(L("#grid")));
}
-function B5() {
+function z5() {
L("#catalogFilter").style.display = "none", w7();
}
-function V5() {
+function B5() {
let e = new Promise((e) => {
- let t = R5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {
+ let t = L5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {
let i = performance.now();
- t -= Math.min(i - n, 50), n = i, t > 0 ? U8.delay(r, Math.min(t, 50)) : e();
+ t -= Math.min(i - n, 50), n = i, t > 0 ? H8.delay(r, Math.min(t, 50)) : e();
};
- U8.delay(r, 50);
+ H8.delay(r, 50);
});
- return Promise.race([R5.entityShapesReady ||= Z8(), e]);
+ return Promise.race([L5.entityShapesReady ||= X8(), e]);
}
-function oLe() {
+function lLe() {
let e = decodeURIComponent(location.pathname);
- if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), B5();
- else if (/^\/assets\/\d+$/.test(e)) B5();
- else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) B5();
- else if (e === "/junk-files") z5("正在读取垃圾文件");
- else if (e === "/jav" && wU(new URLSearchParams(location.search).get("tab")) === "library") z5("正在读取馆藏");
+ if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), z5();
+ else if (/^\/assets\/\d+$/.test(e)) z5();
+ else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) z5();
+ else if (e === "/junk-files") R5("正在读取垃圾文件");
+ else if (e === "/jav" && CU(new URLSearchParams(location.search).get("tab")) === "library") R5("正在读取馆藏");
else if (Q.managedPagePath(e)) {
- B5();
+ z5();
let t = L("#stats");
- t.hidden = !1, B7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : R5.managementPlaceholder(e), uc(t);
- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) B5(), I5(), c6(L("#index"), o6(e.slice(1), location.search), P5.peopleIndexLayout());
+ t.hidden = !1, B7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : L5.managementPlaceholder(e), uc(t);
+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) z5(), F5(), s6(L("#index"), a6(e.slice(1), location.search), N5.peopleIndexLayout());
else if (/^\/(?:performers|creators|studios|agencies|series|tags)\//.test(e)) {
- B5(), L("#index").hidden = !1, B7();
+ z5(), L("#index").hidden = !1, B7();
let t = Mn[e.split("/")[1]], n = e.split("/").slice(2).join("/");
- (Y8.hasEntityShape(t, n) ? Promise.resolve() : V5()).then(() => {
- L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (v5(t, n), uc(L("#index")));
+ (J8.hasEntityShape(t, n) ? Promise.resolve() : B5()).then(() => {
+ L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (_5(t, n), uc(L("#index")));
});
- } else Q.routeMeta(e) ? z5() : (B7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);
+ } else Q.routeMeta(e) ? R5() : (B7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);
}
-function sLe() {
- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => j2(t, {
+function uLe() {
+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => A2(t, {
cards: !0,
className: "follow-content-skeleton postercard-skeleton",
gridClass: e === "images" ? "followlist followphotowall" : "",
- gridSize: TM()
+ gridSize: EM()
}), $.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>
@@ -80733,37 +80765,37 @@ function sLe() {
<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), R5.setGridCards = (e) => tc(L("#grid"), () => {
+ ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, L("#loadSentinel").innerHTML = Vs(Bs), L5.setGridCards = (e) => tc(L("#grid"), () => {
L("#grid").innerHTML = `<div class="grid">${e}</div>`;
- }), R5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), R5.managementPlaceholder = (e) => M2(e, {
- followLayout: XIe(),
+ }), L5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), L5.managementPlaceholder = (e) => j2(e, {
+ followLayout: $Ie(),
...(({ sort: e, dir: t, tab: n }) => ({
followSort: e,
followDir: t,
followTab: n
- }))(ZIe())
- }), R5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", R5.entityShapesReady = null, R5.ENTITY_SHAPES_WAIT = 400, R5.syncPageTitle = (e) => {
+ }))(eLe())
+ }), L5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", L5.entityShapesReady = null, L5.ENTITY_SHAPES_WAIT = 400, L5.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, p9();
};
}
// src/sidebar-skeleton.ts
-var H5 = (e) => e.replace(/[&<>"']/g, (e) => ({
+var V5 = (e) => e.replace(/[&<>"']/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;",
"'": "&#39;"
})[e]);
-function cLe(e, t, n) {
+function dLe(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-${H5(r)}"/></svg>`;
- return `<button type="button" data-nav="${H5(e)}" aria-pressed="${n(e)}" aria-label="${H5(t)}">${i}<span>${H5(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-${V5(r)}"/></svg>`;
+ return `<button type="button" data-nav="${V5(e)}" aria-pressed="${n(e)}" aria-label="${V5(t)}">${i}<span>${V5(t)}</span></button>`;
}).join("")}</div>`;
}
// src/application/filter-scroll.js
-function lLe(e, t, n, r = !1) {
+function fLe(e, t, n, r = !1) {
if (t = Math.max(0, t), !e || !n || r || t <= 8) return {
y: t,
origin: t,
@@ -80781,7 +80813,7 @@ function lLe(e, t, n, r = !1) {
};
}
// src/application/layout.js
-var U5 = {
+var H5 = {
sidebarProps: void 0,
sidebarSurface: void 0,
sidebarCatalog: void 0,
@@ -80803,19 +80835,19 @@ var U5 = {
mobileFilterHost: void 0,
mobileFilterPath: void 0
};
-function W5({ manage: e = !0, placeholder: t = "" } = {}) {
- L("#stats").hidden = !1, L("#index").hidden = !0, B7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? e7() : (t7(""), h9()), t && P2(L("#stats"), t);
+function U5({ manage: e = !0, placeholder: t = "" } = {}) {
+ L("#stats").hidden = !1, L("#index").hidden = !0, B7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? $5() : (e7(""), h9()), t && N2(L("#stats"), t);
}
-function G5() {
- L("#javLibraryHeader").hidden = !0, X.hideCatalogCombo(), B5(), document.body.classList.remove("entity-open", "index-open");
+function W5() {
+ L("#javLibraryHeader").hidden = !0, X.hideCatalogCombo(), z5(), document.body.classList.remove("entity-open", "index-open");
}
-function K5() {
- L("#javLibraryHeader").hidden = !An(location.pathname) || !i7(), document.body.classList.remove("entity-open", "index-open"), hp(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, r5(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", w7(), e7(), n7();
+function G5() {
+ L("#javLibraryHeader").hidden = !An(location.pathname) || !i7(), document.body.classList.remove("entity-open", "index-open"), hp(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, n5(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", w7(), $5(), n7();
}
-function uLe() {
- Q.route("/"), K5();
+function pLe() {
+ Q.route("/"), G5();
}
-function q5({ tags: e = [], providers: t = [], duration: n = !1 }) {
+function K5({ tags: e = [], providers: t = [], duration: n = !1 }) {
m9({
content: e.length || t.length || n ? {
kind: "follow",
@@ -80839,28 +80871,28 @@ function q5({ tags: e = [], providers: t = [], duration: n = !1 }) {
filters: $.followSidebarFilters()
});
}
-function J5(e) {
- dRe({
+function q5(e) {
+ pRe({
...x9(),
...e
}), m9({ filters: $.followSidebarFilters() });
}
-function Y5() {
+function J5() {
return matchMedia("(max-width:760px)").matches;
}
-function X5(e) {
+function Y5(e) {
let t = L("#drawer"), n = !e && t.contains(document.activeElement);
- t.inert = !e && Y5(), 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 && J5(), 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 Z5() {
- Y5() && X5(!1);
+function X5() {
+ J5() && Y5(!1);
}
-function dLe() {
+function mLe() {
cu === null && (yu({ runtimeConfigurable: !1 }), wn("/healthz").then((e) => {
- yu({ runtimeConfigurable: !!e.configurable }), cu && $5() && e7();
+ yu({ runtimeConfigurable: !!e.configurable }), cu && Q5() && $5();
}).catch(() => {}));
}
-function Q5(e = "", t = !1) {
+function Z5(e = "", t = !1) {
if (!t && !Af(location.pathname)) {
let t = W.navigation;
W.push(Mf(e), { settingsBackground: {
@@ -80873,20 +80905,20 @@ function Q5(e = "", t = !1) {
replace: !0,
state: W.navigation.location.state
});
- return e ||= jf(location.pathname), zFe(U5.settingsHost()).then((t) => (t.open(e), t));
+ return e ||= jf(location.pathname), HFe(H5.settingsHost()).then((t) => (t.open(e), t));
}
-function fLe() {
+function hLe() {
Af(location.pathname) && (Nf(W.navigation.location.state) ? W.go(-1) : Q.navigatePath("/", !0));
}
-function pLe() {
+function gLe() {
return {
scroll: L("#drawerScroll"),
store: Z.settingsStore,
- navCatalog: U5.NAV_CATALOG,
+ navCatalog: H5.NAV_CATALOG,
navOn: d7,
navTo: f7,
navToTop: () => {
- Z5(), cm();
+ X5(), cm();
},
toggleChip: (e, t, n) => C7((r) => {
if (n) {
@@ -80898,13 +80930,13 @@ function pLe() {
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]), X5(!1), y9(b9());
+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), Y5(!1), y9(b9());
},
selectFollowTag: (e) => {
- $.followTags = /* @__PURE__ */ new Set([e]), X5(!1), y9(b9());
+ $.followTags = /* @__PURE__ */ new Set([e]), Y5(!1), y9(b9());
},
- selectFollowProvider: (e) => J5({ provider: $.followProviders.has(e) ? "" : e }),
- setFollowDuration: (e, t) => J5({
+ selectFollowProvider: (e) => q5({ provider: $.followProviders.has(e) ? "" : e }),
+ setFollowDuration: (e, t) => q5({
durMin: e ? e * 60 : 0,
durMax: t < 180 ? t * 60 : 0
}),
@@ -80913,111 +80945,111 @@ function pLe() {
}
};
}
-function mLe() {
+function _Le() {
let e = L("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];
- e.innerHTML = cLe(Z.appSettings.sidebarOrder, U5.NAV_CATALOG, d7), e.querySelector("[data-sidebar-head]").append(...t), U8.listen(e, "click", (e) => {
- if (v8()) return;
+ e.innerHTML = dLe(Z.appSettings.sidebarOrder, H5.NAV_CATALOG, d7), e.querySelector("[data-sidebar-head]").append(...t), H8.listen(e, "click", (e) => {
+ if (_8()) return;
let t = e.target.closest?.("[data-nav]");
t && f7(t.dataset.nav);
- }), BFe(pLe()).then((e) => e.render(U5.sidebarProps)).catch(() => {});
+ }), UFe(gLe()).then((e) => e.render(H5.sidebarProps)).catch(() => {});
}
-async function hLe() {
- let e = U8, t = null;
+async function vLe() {
+ let e = H8, t = null;
try {
t = await wn("/api/settings", { signal: e.signal });
} catch {
return;
}
- e.isActive && dM(t, (e) => Z.settingsEffects[e]?.());
+ e.isActive && fM(t, (e) => Z.settingsEffects[e]?.());
}
-function $5() {
+function Q5() {
return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (U.state === "ads" ? "cleanup" : "");
}
-function e7() {
- let e = $5();
- dLe(), e && B5(), L("#count").classList.toggle("no-tagbar", !!e), h9(), e !== "trash" && (k5.trashCount = null), t7(e);
+function $5() {
+ let e = Q5();
+ mLe(), e && z5(), L("#count").classList.toggle("no-tagbar", !!e), h9(), e !== "trash" && (O5.trashCount = null), e7(e);
}
-function gLe(e) {
+function yLe(e) {
return {
section: e,
path: decodeURIComponent(location.pathname),
- sections: U5.MANAGE_SECTIONS,
- menu: e ? U5.manageMenuSections() : [],
- trash: k5.trashCount
+ sections: H5.MANAGE_SECTIONS,
+ menu: e ? H5.manageMenuSections() : [],
+ trash: O5.trashCount
};
}
-function t7(e = $5()) {
+function e7(e = Q5()) {
n7();
- let t = gLe(e), n = x8();
+ let t = yLe(e), n = b8();
if (n) n.render(t);
else {
let e = Ode(t);
- e !== U5.manageHeaderSkeleton && (U5.manageHeaderSkeleton = e, U5.manageHeaderRoot().innerHTML = e);
+ e !== H5.manageHeaderSkeleton && (H5.manageHeaderSkeleton = e, H5.manageHeaderRoot().innerHTML = e);
}
let r = GF(t)?.title || "";
- r !== U5.lastManagePageLabel && (U5.lastManagePageLabel = r, r && Qs(U5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
+ r !== H5.lastManagePageLabel && (H5.lastManagePageLabel = r, r && Qs(H5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
}
-function _Le() {
- let e = U5.manageHeaderRoot();
- U8.listen(e, "click", (e) => {
- if (x8()) return;
+function t7() {
+ let e = H5.manageHeaderRoot();
+ H8.listen(e, "click", (e) => {
+ if (b8()) return;
let t = e.target.closest?.("[data-manage]");
if (t) r7(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]") && P7();
- }), VFe({
+ }), WFe({
root: e,
openManage: r7,
openDataCleanup: () => Q.navigatePath("/data-cleanup"),
emptyTrash: P7
- }).then(() => t7()).catch(() => {});
+ }).then(() => e7()).catch(() => {});
}
function n7() {
let e = L("#listTitle");
if (!e) return;
- let t = decodeURIComponent(location.pathname), n = !$5() && An(t) && kn[U.state] || "";
- e.hidden = !n, n && (e.textContent = n), L("#catalogPageHeading").hidden = !!$5() || !An(t) || !!n || U.jav === "1";
+ let t = decodeURIComponent(location.pathname), n = !Q5() && An(t) && kn[U.state] || "";
+ e.hidden = !n, n && (e.textContent = n), L("#catalogPageHeading").hidden = !!Q5() || !An(t) || !!n || U.jav === "1";
}
function r7(e = "stats") {
let t = Q.routePathOf("section", e);
- t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", bu(), Q.route(QU()), K5(), h9(), N7());
+ t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", bu(), Q.route(ZU()), G5(), h9(), N7());
}
function i7() {
let e = decodeURIComponent(location.pathname);
return e === "/" ? U.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? U.jav === "1" || fu : !1;
}
-function vLe(e = i7()) {
- let t = Ij.filter(([e]) => e !== "seed");
- return e ? [Lj, ...t] : t;
+function bLe(e = i7()) {
+ let t = Lj.filter(([e]) => e !== "seed");
+ return e ? [Rj, ...t] : t;
}
function a7() {
return decodeURIComponent(location.pathname) === "/" && U.jav !== "1";
}
function o7() {
- return SM(a7());
+ return CM(a7());
}
-function yLe(e) {
- vle(e), c7(), L("#grid").hidden || Y7();
+function xLe(e) {
+ _le(e), c7(), L("#grid").hidden || Y7();
}
function s7(e) {
- AM(e), c7(), Y7();
+ jM(e), c7(), Y7();
}
function c7() {
document.querySelectorAll("[data-video-layout]").forEach((e) => {
e.checked = e.value === o7();
}), X.catalogFilterProps && T7({ layout: D7() });
}
-function bLe(e) {
- yle(e), c7(), Y7();
+function SLe(e) {
+ vle(e), c7(), Y7();
}
async function l7() {
- N8(), X.mixRelatedCache.clear(), await Promise.all([u7(), N7()]);
+ M8(), X.mixRelatedCache.clear(), await Promise.all([u7(), N7()]);
}
async function u7() {
if (Y.entityPageCurrent() && !L("#index").hidden) {
- c5({ revision: ++Y.entityPageRevision });
+ s5({ revision: ++Y.entityPageRevision });
return;
}
let e = decodeURIComponent(location.pathname);
@@ -81029,23 +81061,23 @@ async function u7() {
t?.route.reload ? await t.route.reload() : await R7();
}
function d7(e) {
- let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = U5.DIRECT_MANAGE_NAV[e];
- if (r) return $5() === r;
+ let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = H5.DIRECT_MANAGE_NAV[e];
+ if (r) return Q5() === r;
if (e === "manage") {
- let e = $5();
- return !!e && !Z.appSettings.sidebarOrder.some((t) => U5.DIRECT_MANAGE_NAV[t] === e);
+ let e = Q5();
+ return !!e && !Z.appSettings.sidebarOrder.some((t) => H5.DIRECT_MANAGE_NAV[t] === e);
}
- return e === "jav" ? t === "/jav" || i7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !$5() && !U.state && !i7() && U.orient !== "竖屏" : Dn[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";
+ return e === "jav" ? t === "/jav" || i7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !Q5() && !U.state && !i7() && U.orient !== "竖屏" : Dn[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";
}
function f7(e) {
let t = nm(e);
if (t === location.pathname + location.search + location.hash) return;
- if (Z5(), t) {
+ if (X5(), t) {
Q.navigatePath(t);
return;
}
- if (U5.DIRECT_MANAGE_NAV[e]) {
- r7(U5.DIRECT_MANAGE_NAV[e]);
+ if (H5.DIRECT_MANAGE_NAV[e]) {
+ r7(H5.DIRECT_MANAGE_NAV[e]);
return;
}
if (e === "manage") {
@@ -81065,17 +81097,17 @@ function f7(e) {
}
function p7() {
let e = decodeURIComponent(location.pathname), t = e.split("/").filter(Boolean);
- Yl && Ql !== k5.currentSelectSurface() && j5(!1, !0);
+ Yl && Ql !== O5.currentSelectSurface() && A5(!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, p5(), !i && Yl && j5(!1, !0);
+ L("#selectMode").hidden = !i, L("#density").hidden = !a, f5(), !i && Yl && A5(!1, !0);
}
-function xLe() {
+function CLe() {
let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);
- (t !== U5.mobileFilterHost || location.pathname !== U5.mobileFilterPath) && (U5.mobileFilterScroll = null), U5.mobileFilterHost = t, U5.mobileFilterPath = location.pathname;
+ (t !== H5.mobileFilterHost || location.pathname !== H5.mobileFilterPath) && (H5.mobileFilterScroll = null), H5.mobileFilterHost = t, H5.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\"]");
- U5.mobileFilterScroll = lLe(U5.mobileFilterScroll, n, innerWidth <= 760, r);
+ H5.mobileFilterScroll = fLe(H5.mobileFilterScroll, n, innerWidth <= 760, r);
for (let n of e) {
- let e = n === t && U5.mobileFilterScroll.free;
+ let e = n === t && H5.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);
@@ -81087,52 +81119,52 @@ function xLe() {
});
}
}
-function SLe() {
- xLe(), [".board-filter-frame", "#count"].forEach((e) => {
+function wLe() {
+ CLe(), [".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 m7() {
- U5.stickyFrame ||= U8.frame(() => {
- U5.stickyFrame = 0, SLe();
+ H5.stickyFrame ||= H8.frame(() => {
+ H5.stickyFrame = 0, wLe();
});
}
-function CLe() {
+function TLe() {
$.followSidebarFilters = () => ({
provider: [...$.followProviders][0] || "",
dur_min: $.followDurMin || "",
dur_max: $.followDurMax || ""
- }), U8.handler(L("#filterBtn"), "onclick", () => X5(!L("#drawer").classList.contains("open"))), U5.SIDEBAR_ITEMS = P8, U5.MANAGE_SECTIONS = F8, U5.MANAGE_MENU_SECTIONS = I8, U5.manageMenuSections = () => nIe(cu === !0), U5.OPTIONAL_SIDEBAR_ITEMS = L8, U5.NAV_CATALOG = rIe, U5.DIRECT_MANAGE_NAV = iIe, U5.settingsHost = () => ({
+ }), H8.handler(L("#filterBtn"), "onclick", () => Y5(!L("#drawer").classList.contains("open"))), H5.SIDEBAR_ITEMS = N8, H5.MANAGE_SECTIONS = P8, H5.MANAGE_MENU_SECTIONS = F8, H5.manageMenuSections = () => aIe(cu === !0), H5.OPTIONAL_SIDEBAR_ITEMS = I8, H5.NAV_CATALOG = oIe, H5.DIRECT_MANAGE_NAV = sIe, H5.settingsHost = () => ({
selectSection: (e) => Ep(Mf(e), {
replace: !0,
state: W.navigation.location.state
}),
- closed: fLe,
+ closed: hLe,
store: Z.settingsStore,
changed: (e) => Z.settingsEffects[e]?.(),
sound: (e) => Zo(e),
- navCatalog: U5.NAV_CATALOG,
- themeOptions: ple,
- videoLayouts: gM,
- followInitialRanges: R8,
+ navCatalog: H5.NAV_CATALOG,
+ themeOptions: fle,
+ videoLayouts: _M,
+ followInitialRanges: L8,
videoLayout: () => o7(),
- setVideoLayout: bLe,
+ setVideoLayout: SLe,
censored: $7,
- setCensored: WLe,
+ setCensored: KLe,
highContrast: () => document.documentElement.classList.contains("board-high-contrast"),
- setHighContrast: GLe,
- receipt: (e) => D8.actionReceipt(e),
- failure: D8.actionFailure,
- syncRemote: (e) => dM(e, (e) => Z.settingsEffects[e]?.()),
+ setHighContrast: qLe,
+ receipt: (e) => E8.actionReceipt(e),
+ failure: E8.actionFailure,
+ syncRemote: (e) => fM(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)
- }), U8.handler(L("#settingsBtn"), "onclick", () => void Q5()), U5.lastManagePageLabel = "", U5.manageHeaderSkeleton = "", U5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, U5.scrollT = null, U5.stickyFrame = 0, U5.mobileFilterScroll = null, U5.mobileFilterHost = null, U5.mobileFilterPath = "", U8.listen(document, "focusin", m7), U8.listen(document, "focusout", m7), U8.listen(window, "scroll", () => {
- m7(), location.pathname === "/follow" && C9() && yu({ followScrollY: scrollY }), window.__scrolling = !0, Al(), clearTimeout(U5.scrollT), U5.scrollT = U8.delay(() => {
+ }), H8.handler(L("#settingsBtn"), "onclick", () => void Z5()), H5.lastManagePageLabel = "", H5.manageHeaderSkeleton = "", H5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, H5.scrollT = null, H5.stickyFrame = 0, H5.mobileFilterScroll = null, H5.mobileFilterHost = null, H5.mobileFilterPath = "", H8.listen(document, "focusin", m7), H8.listen(document, "focusout", m7), H8.listen(window, "scroll", () => {
+ m7(), location.pathname === "/follow" && C9() && yu({ followScrollY: scrollY }), window.__scrolling = !0, Al(), clearTimeout(H5.scrollT), H5.scrollT = H8.delay(() => {
window.__scrolling = !1;
}, 180);
- }, { passive: !0 }), U8.listen(window, "resize", m7, { passive: !0 }), U8.handler(L("#scrim"), "onclick", () => X5(!1));
+ }, { passive: !0 }), H8.listen(window, "resize", m7, { passive: !0 }), H8.handler(L("#scrim"), "onclick", () => Y5(!1));
}
// src/application/catalog.js
var X = {
@@ -81171,43 +81203,43 @@ var X = {
junkQueueHelpers: void 0,
junkQueueActions: void 0
};
-function wLe() {
+function ELe() {
X.initialParams.has("loc") || (U.loc = h7(U.loc), bu());
}
function h7(e) {
- return qFe(e, Z.sourceOnline);
+ return XFe(e, Z.sourceOnline);
}
function g7(e = U) {
- return JFe(e);
+ return ZFe(e);
}
-function TLe() {
- yu(k8(YFe(U, Z.appSettings, D8.rollSeed)));
+function DLe() {
+ yu(O8(QFe(U, Z.appSettings, E8.rollSeed)));
}
function _7(e = null) {
- TLe(), e && (Object.assign(U, e), bu()), Q.route(e ? g7() : "/"), X.clearSearchField(), a9(!1), h9(), N7();
+ DLe(), e && (Object.assign(U, e), bu()), Q.route(e ? g7() : "/"), X.clearSearchField(), a9(!1), h9(), N7();
}
-function ELe(e, t = null) {
+function OLe(e, t = null) {
let n = e.id;
- !e.medium || e.medium === "video" ? l9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : M5(n);
+ !e.medium || e.medium === "video" ? l9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : j5(n);
}
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 DLe(e, t) {
- l8()?.miniplayerTakesCard(e) ? l8().miniplayerPlay(e.id) : y7(e, t);
+function kLe(e, t) {
+ c8()?.miniplayerTakesCard(e) ? c8().miniplayerPlay(e.id) : y7(e, t);
}
function y7(e, t) {
- e.edition_group ? QLe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? $Le(e.part_group.seed_id, e.id, !0, t) : l9(e.id, !0, null, t);
+ e.edition_group ? eRe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? tRe(e.part_group.seed_id, e.id, !0, t) : l9(e.id, !0, null, t);
}
-async function OLe(e, t) {
+async function ALe(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), D8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
+ e.watch_later = n.watch_later, t(!!n.watch_later), E8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
let n = await wn("/api/watch-later", {
method: "POST",
body: JSON.stringify({ id: e.id })
@@ -81215,10 +81247,10 @@ async function OLe(e, t) {
e.watch_later = n.watch_later, t(!!n.watch_later);
} });
} catch (e) {
- D8.actionFailure("更新稍后看", e);
+ E8.actionFailure("更新稍后看", e);
}
}
-async function kLe(e, t) {
+async function jLe(e, t) {
try {
await wn("/api/batch", {
method: "POST",
@@ -81228,7 +81260,7 @@ async function kLe(e, t) {
})
}), await R7();
let n = t === "restore" ? "dispose" : "restore";
- D8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {
+ E8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {
await wn("/api/batch", {
method: "POST",
body: JSON.stringify({
@@ -81239,10 +81271,10 @@ async function kLe(e, t) {
}), await R7();
} });
} catch (e) {
- throw D8.actionFailure("操作", e), e;
+ throw E8.actionFailure("操作", e), e;
}
}
-async function ALe(e, t, n, r) {
+async function MLe(e, t, n, r) {
let i = Number(e.rating) || 0, a = CP(i, t), o = async (t, r) => {
let i = (await wn("/api/feedback", {
method: "POST",
@@ -81257,9 +81289,9 @@ async function ALe(e, t, n, r) {
};
try {
let e = await o(a, r);
- D8.actionReceipt(e ? `已评 ${SP(e)} 星` : "已取消评分", { undo: () => o(i) });
+ E8.actionReceipt(e ? `已评 ${SP(e)} 星` : "已取消评分", { undo: () => o(i) });
} catch (e) {
- throw r?.aborted || D8.actionFailure("评分", e), e;
+ throw r?.aborted || E8.actionFailure("评分", e), e;
}
}
async function b7(e) {
@@ -81286,33 +81318,33 @@ async function b7(e) {
e[n] && t.set(n, e[n]);
});
}
- return eIe(t.toString(), X.topsQueryParams(e).toString());
+ return rIe(t.toString(), X.topsQueryParams(e).toString());
}
function x7(e) {
- l5().type !== "entity" && T7({ tags: k7(e) }), m9({ filters: { ...e } }), L7();
+ c5().type !== "entity" && T7({ tags: k7(e) }), m9({ filters: { ...e } }), L7();
}
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 C7(e) {
- let t = l5();
+ let t = c5();
if (t.type === "entity") {
let n = { ...t.filters };
- e(n), d5(t.kind, t.name, n), x7(n), S7(l5());
+ e(n), u5(t.kind, t.name, n), x7(n), S7(c5());
} else if (t.type === "item") {
let t = Y.cloneBarsContext(Kl);
if (a9(!1), yu({ detailReturnBarsContext: null }), t && t.type === "entity") {
- e(t.filters), d5(t.kind, t.name, t.filters) ? N7() : yu({ pageOpens: uu + 1 });
+ e(t.filters), u5(t.kind, t.name, t.filters) ? N7() : yu({ pageOpens: uu + 1 });
return;
}
e(U), yu({ barsContext: {
type: "home",
filters: U
- } }), Q.route(g7()), K5(), N7();
+ } }), Q.route(g7()), G5(), N7();
} else e(U), bu(), Q.route(g7()), x7(U), S7(Gl);
}
-function jLe() {
+function NLe() {
return {
tiers: null,
tiersPending: !1,
@@ -81348,9 +81380,9 @@ function T7(e) {
...e,
offscreen: n
}, X.catalogFilterProps = {
- ...X.catalogFilterProps || jLe(),
+ ...X.catalogFilterProps || NLe(),
...e
- }, !X.catalogFilterMounting && (cp(t) ? mp(t, e) : (!t.firstChild && !n && (t.innerHTML = cje(X.catalogViews(), X.catalogFilterProps.state, O7()), uc(t)), X.catalogFilterMounting = fp("catalog-filter", X.catalogFilterProps, {
+ }, !X.catalogFilterMounting && (cp(t) ? mp(t, e) : (!t.firstChild && !n && (t.innerHTML = dje(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(() => {
@@ -81363,7 +81395,7 @@ function E7() {
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) => x5(e, t),
+ openEntity: (e, t) => b5(e, t),
setView: (e) => {
U.state = e, bu(), T7({ state: e }), Q.route(g7()), N7();
},
@@ -81375,17 +81407,17 @@ function E7() {
e.tag = "", e.creator = "", e.studio = "", e.owner = "";
}),
setSort: (e) => {
- let t = Uj(e, U.sort, U.dir);
+ let t = Wj(e, U.sort, U.dir);
t && (U.sort = t.sort, U.dir = t.dir, bu(), Z7());
},
- reshuffle: () => ULe(),
+ reshuffle: () => GLe(),
setLayout: (e) => {
- i7() ? s7(e) : yLe(e);
+ i7() ? s7(e) : xLe(e);
},
moreTops: async (e) => {
let t = X.catalogTopsPages;
if (!t) return [];
- let n = (await tIe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
+ let n = (await iIe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
return e === "performers" ? n.map(A7) : n.map(j7);
}
};
@@ -81394,18 +81426,18 @@ function D7() {
return i7() ? {
name: "jav-layout",
label: "JAV 卡片版式",
- value: xM(),
- options: gM
+ value: SM(),
+ options: _M
} : a7() ? {
name: "home-layout",
label: "首页卡片版式",
value: o7(),
- options: gM
+ options: _M
} : null;
}
function O7() {
return {
- sorts: u5(U.sort, U.dir),
+ sorts: l5(U.sort, U.dir),
layout: D7(),
state: U.state || "",
trash: U.state === "trash"
@@ -81438,7 +81470,7 @@ function j7(e) {
logo: e.has_logo ? fo(e.k, "icon", e.logo_version) : ""
};
}
-function MLe(e, t) {
+function PLe(e, t) {
X.barsPendingSeq = t, X.catalogFilterProps?.tiers ? T7({
tiersPending: !0,
state: e.state || ""
@@ -81454,14 +81486,14 @@ function M7(e) {
async function N7() {
let e = ++X.barsRequestSeq;
if (m9(), !Hl(location.pathname) || Gl.type === "item") return;
- let t = l5(), n = Y.activeFilterState(), r = JSON.stringify([
+ let t = c5(), n = Y.activeFilterState(), r = JSON.stringify([
t,
n,
U.state || "",
U.seed || "",
i7()
]);
- MLe(n, e);
+ PLe(n, e);
let i;
try {
i = await b7(t);
@@ -81475,8 +81507,8 @@ async function N7() {
}
let s = r + "\n" + JSON.stringify([a, o]);
if (s === X.barsRendered) {
- X.barsPendingSeq = 0, T7({ tiersPending: !1 }), U5.sidebarCatalog && m9({
- content: U5.sidebarCatalog,
+ X.barsPendingSeq = 0, T7({ tiersPending: !1 }), H5.sidebarCatalog && m9({
+ content: H5.sidebarCatalog,
filters: { ...n }
});
return;
@@ -81490,7 +81522,7 @@ async function N7() {
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 = D8.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 = E8.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),
@@ -81507,21 +81539,21 @@ async function N7() {
tagFirst: f.length + m.length,
views: X.catalogViews(),
state: n.state || ""
- }), L7(), U5.sidebarCatalog = {
+ }), L7(), H5.sidebarCatalog = {
kind: "catalog",
- key: String(++U5.sidebarContentSeq),
+ key: String(++H5.sidebarContentSeq),
facets: Q7(a, t)
}, m9({
- content: U5.sidebarCatalog,
+ content: H5.sidebarCatalog,
filters: { ...n },
latest: null
});
}
-function NLe(e, t) {
- n9.total = e, U.state === "trash" && (k5.trashCount = {
+function FLe(e, t) {
+ n9.total = e, U.state === "trash" && (O5.trashCount = {
total: n9.total,
shown: t
- }), e7(), T7({ count: {
+ }), $5(), T7({ count: {
total: n9.total,
shown: t
} });
@@ -81536,7 +81568,7 @@ function P7() {
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"));
- D8.actionReceipt(`已永久删除 ${e.purged} 项`);
+ E8.actionReceipt(`已永久删除 ${e.purged} 项`);
} finally {
await R7();
}
@@ -81586,13 +81618,13 @@ async function R7() {
filters: U
},
detailReturnBarsContext: null
- }), a9(!1), U.state === "ads") return ILe(e);
- X.controller.page === "/junk-files" && B7(), z5(), K5();
+ }), a9(!1), U.state === "ads") return RLe(e);
+ X.controller.page === "/junk-files" && B7(), R5(), G5();
let t = V7(e);
- if (r5(location.pathname) && U.browse !== "folders") {
- if (await R5.entityShapesReady, !Q.surfaceCurrent(e)) return;
- xIe();
- } else i5();
+ if (n5(location.pathname) && U.browse !== "folders") {
+ if (await L5.entityShapesReady, !Q.surfaceCurrent(e)) return;
+ wIe();
+ } else r5();
return L7(), L("#count").classList.remove("manage-static", "junkcount"), t;
}
function z7(e) {
@@ -81603,10 +81635,10 @@ function B7() {
Al(e), hp(e), X.controller.clear(), e.innerHTML = "";
}
function V7(e) {
- return G7("/", FLe, e, { place: pRe });
+ return G7("/", LLe, e, { place: hRe });
}
-function PLe(e) {
- return G7("/junk-files", RLe, e);
+function ILe(e) {
+ return G7("/junk-files", BLe, e);
}
function H7() {
return !!sp(L("#grid"));
@@ -81634,28 +81666,28 @@ function G7(e, t, n, r = {}) {
}
function K7() {
let e = a7();
- return OM({
+ return kM({
active: i7() || e,
home: e,
portrait: U.orient === "竖屏"
});
}
function q7(e = "正在读取作品") {
- return nY(e, J7());
+ return tY(e, J7());
}
function J7() {
- return U ? kM(K7()) : 16 / 9;
+ return U ? AM(K7()) : 16 / 9;
}
function Y7() {
U7() && (Al(L("#grid")), W7({
layout: K7(),
seekSeconds: Z.appSettings.seekSeconds
- })), Y.entityPageCurrent() && (Al(L("#index [data-entity-hero]")), c5({
+ })), Y.entityPageCurrent() && (Al(L("#index [data-entity-hero]")), s5({
layout: K7(),
seekSeconds: Z.appSettings.seekSeconds
}));
}
-function FLe() {
+function LLe() {
let e = decodeURIComponent(location.pathname), t = An(e), n = U.state === "trash";
return {
mode: "catalog",
@@ -81678,9 +81710,9 @@ function FLe() {
mix: t && e !== "/wall" && !n && U.browse !== "folders",
shorts: t && e !== "/wall" && !i7() && U.orient !== "竖屏" && !n && U.browse !== "folders",
countRow: L("#count"),
- onCount: NLe,
+ onCount: FLe,
onCountFailed: () => T7({ count: !1 }),
- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : JK({
+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : qK({
jav: i7() && !t,
configurable: cu,
filtered: !t
@@ -81688,11 +81720,11 @@ function FLe() {
canLoadMore: () => L("#stats").hidden && L("#index").hidden
};
}
-function ILe(e) {
+function RLe(e) {
let t = L("#count");
- return X.controller.page === "/junk-files" && H7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (B7(), z5("正在读取垃圾文件")), K5(), L7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), PLe(e);
+ return X.controller.page === "/junk-files" && H7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (B7(), R5("正在读取垃圾文件")), G5(), L7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), ILe(e);
}
-async function LLe(e, t) {
+async function zLe(e, t) {
let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";
try {
await wn("/api/batch", {
@@ -81704,7 +81736,7 @@ async function LLe(e, t) {
})
}), await R7();
let e = r ? "restore" : i ? "dismiss-junk" : "reconsider-junk";
- D8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {
+ E8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {
await wn("/api/batch", {
method: "POST",
body: JSON.stringify({
@@ -81714,12 +81746,12 @@ async function LLe(e, t) {
}), await R7();
} });
} catch (e) {
- throw D8.actionFailure("操作", e), e;
+ throw E8.actionFailure("操作", e), e;
}
}
-function RLe() {
+function BLe() {
return {
- ...ZU(location.search),
+ ...XU(location.search),
helpers: X.junkQueueHelpers,
actions: X.junkQueueActions,
batchSize: Z.appSettings.batchSize,
@@ -81728,15 +81760,15 @@ function RLe() {
selected: new Set(ql),
countRow: L("#count"),
settled: z7,
- skeletonHtml: () => j2("正在读取垃圾文件", {
+ skeletonHtml: () => A2("正在读取垃圾文件", {
cards: !0,
className: "catalog-skeleton postercard-skeleton"
}),
canLoadMore: () => L("#stats").hidden && L("#index").hidden
};
}
-function zLe() {
- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => O8(e, t, Z.appSettings, n), yu(k8(KFe(location, Z.appSettings, D8.rollSeed))), X.searchValueSnapshot = {
+function VLe() {
+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => D8(e, t, Z.appSettings, n), yu(O8(YFe(location, Z.appSettings, E8.rollSeed))), X.searchValueSnapshot = {
text: "",
scrollLeft: 0
}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = L("#q")) => {
@@ -81757,44 +81789,44 @@ function zLe() {
};
};
}
-function BLe() {
- U8.handler(L("#wallBtn"), "onclick", () => {
- j5(!1, !0);
- let e = l5(), t = {
+function HLe() {
+ H8.handler(L("#wallBtn"), "onclick", () => {
+ A5(!1, !0);
+ let e = c5(), t = {
...Y.activeFilterState(),
jav: i7() ? "1" : ""
};
- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(Vbe(void 0, t));
+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(Hbe(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) => iL(e, t),
- displayName: (e, t) => rL(e, t),
+ titleHtml: (e, t) => rL(e, t),
+ displayName: (e, t) => nL(e, t),
tagLabel: (e) => Pl(e)
}, X.gridActions = {
wallPlayer: async (e, t, n) => {
- let r = await c8(n9.stageHost);
+ let r = await s8(n9.stageHost);
return n.throwIfAborted(), r.mountWallPlayer(e, t, n);
},
wallDetails: y7,
- open: (e, t) => DLe(e, t),
- openResource: (e, t) => l8()?.miniplayerTakesCard(e) ? l8().miniplayerPlay(e.id) : ELe(e, t),
- openShort: (e) => l8()?.miniplayerTakesCard(e) ? l8().miniplayerPlay(e.id) : f9(e.id),
+ open: (e, t) => kLe(e, t),
+ openResource: (e, t) => c8()?.miniplayerTakesCard(e) ? c8().miniplayerPlay(e.id) : OLe(e, t),
+ openShort: (e) => c8()?.miniplayerTakesCard(e) ? c8().miniplayerPlay(e.id) : f9(e.id),
openShorts: () => f9(),
- openMix: (e, t) => ZLe(e, e, !0, t),
- openEntity: (e, t) => x5(e, t),
+ openMix: (e, t) => $Le(e, e, !0, t),
+ openEntity: (e, t) => b5(e, t),
openUnowned: () => _7({ owner: "none" }),
toggleTag: (e) => {
C7((t) => {
t.tag = X.tagPressed(t.tag, e) ? "" : e;
});
},
- toggleSelection: (e, t) => M5(e, t),
- watchLater: (e, t) => OLe(e, t),
- rate: (e, t, n, r) => ALe(e, t, n, r),
- resourceOperation: (e, t) => kLe(e, t),
+ toggleSelection: (e, t) => j5(e, t),
+ watchLater: (e, t) => ALe(e, t),
+ rate: (e, t, n, r) => MLe(e, t, n, r),
+ resourceOperation: (e, t) => jLe(e, t),
mixRelated: (e) => v7(e),
canFlip: () => !Yl && !$7() && !window.__scrolling && !X.reduceMotion()
}, X.topsQueryParams = (e, t = 0) => {
@@ -81823,7 +81855,7 @@ function BLe() {
], X.catalogViews = () => X.VIEW_PILLS.map((e) => ({
...e,
href: e.k ? Dn[e.k] : "/"
- })), X.TAGS_FIRST = 26, U8.listen(L("#catalogFilter"), "click", (e) => {
+ })), X.TAGS_FIRST = 26, H8.listen(L("#catalogFilter"), "click", (e) => {
let t = e.target.closest?.("[data-catalog-view]");
t && !e.defaultPrevented && (e.preventDefault(), E7().setView(t.dataset.catalogView));
}), X.catalogOnScreen = () => L("#index").hidden && L("#stats").hidden, X.COMBO_LABELS = {
@@ -81834,27 +81866,27 @@ function BLe() {
X.catalogFilterProps && T7({ comboHidden: !0 });
};
}
-function VLe() {
+function ULe() {
X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {
navigate: (e) => {
- Yl && j5(!1, !0), Q.route(e);
+ Yl && A5(!1, !0), Q.route(e);
},
- toggleSelection: (e, t) => M5(e, t),
+ toggleSelection: (e, t) => j5(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 })
- }), D8.toast({ text: "已在资源管理器中显示" }), "";
+ }), E8.toast({ text: "已在资源管理器中显示" }), "";
} catch (e) {
return Y.sourceHint(e.message);
}
},
- operate: (e, t) => LLe(e, t)
+ operate: (e, t) => zLe(e, t)
};
}
-X.controller = new XFe();
+X.controller = new $Fe();
// src/application/preferences.js
var Z = {
sourceOnline: void 0,
@@ -81878,7 +81910,7 @@ var Z = {
CENSOR_KEY: void 0
};
async function X7() {
- let e = U8;
+ let e = H8;
try {
let t = await xr(e.signal);
if (!e.isActive) return Z.sourceOnline;
@@ -81888,7 +81920,7 @@ async function X7() {
if (!e.isActive) return Z.sourceOnline;
Z.sourceOnline = {}, Z.sourceProblems = {};
}
- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), wLe(), Z.sourceOnline;
+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), ELe(), Z.sourceOnline;
}
function Z7() {
let e = Q.surfacePath();
@@ -81899,7 +81931,7 @@ function Z7() {
state: W.navigation.location.state
}), t;
}
-function HLe(e) {
+function WLe(e) {
if (e === "local") return {
kind: "glyph",
name: "hard-drive"
@@ -81931,7 +81963,7 @@ function Q7(e, t) {
value: e.k,
label: tr[e.k] || e.k,
n: e.n ?? null,
- dot: HLe(e.k),
+ dot: WLe(e.k),
...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}
})),
regions: n(e.regions),
@@ -81944,19 +81976,19 @@ function Q7(e, t) {
duration: !!e.stats?.duration
};
}
-async function ULe(e = !1) {
+async function GLe(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") {
- w5();
+ C5();
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 = D8.rollSeed(), bu(), N8(), T7({ refreshing: !0 });
+ U.sort = "seed", U.dir = "", U.seed = E8.rollSeed(), bu(), M8(), T7({ refreshing: !0 });
try {
rm();
let e = Z7();
@@ -81976,47 +82008,47 @@ function $7() {
function e9(e) {
document.body.classList.toggle("censor", e), Z.settingsStore.notify();
}
-function WLe(e) {
+function KLe(e) {
localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), e9(e), e && Al();
}
-function GLe(e) {
+function qLe(e) {
localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();
}
function t9(e) {
return Dc(e, { drag: !0 });
}
-function KLe() {
+function JLe() {
["#nrow", "#count"].forEach((e) => t9(L(e))), document.querySelectorAll(".tier,.srow").forEach(t9);
}
-function qLe() {
+function YLe() {
let e = new URLSearchParams(location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function JLe() {
+function XLe() {
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 = uM(), 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(), mM(), gle(), zM(), HM(), UM(), 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 = 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 = {
performerNameLanguage: () => {
- Xt(Z.appSettings.performerNameLanguage), R5.syncPageTitle(location.href), X.barsRendered = "", N7();
+ Xt(Z.appSettings.performerNameLanguage), L5.syncPageTitle(location.href), X.barsRendered = "", N7();
},
- theme: () => mM(),
+ theme: () => hM(),
uiSounds: () => {
Xo(Z.appSettings.uiSounds), Z.appSettings.uiSounds && Zo("toggle-on");
},
- glowFrame: () => VM(),
+ glowFrame: () => HM(),
glow: () => {
- VM(), HM();
+ HM(), UM();
},
batchSize: () => {
location.pathname === "/" && R7();
},
defaultSort: () => {
- U.sort = Z.appSettings.defaultSort, U.dir = Wj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), bu(), location.pathname === "/" && Z7();
+ U.sort = Z.appSettings.defaultSort, U.dir = Gj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), bu(), location.pathname === "/" && Z7();
},
sortDirection: () => {
- U.dir = Wj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), bu(), location.pathname === "/" && Z7();
+ U.dir = Gj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), bu(), location.pathname === "/" && Z7();
},
hoverDelay: () => {
Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {
@@ -82025,14 +82057,14 @@ function JLe() {
},
seekSeconds: () => Y7(),
groupCollapse: () => u7(),
- feedAutoScroll: () => SIe(),
- feedLimit: () => a5(),
- feedCompilations: () => a5(),
+ feedAutoScroll: () => TIe(),
+ feedLimit: () => i5(),
+ feedCompilations: () => i5(),
miniplayer: () => {
- Z.appSettings.miniplayer || l8()?.closeMiniplayer();
+ Z.appSettings.miniplayer || c8()?.closeMiniplayer();
},
javImage: () => {
- io(document, Z.appSettings.javImage), Y7(), document.querySelectorAll("img[data-jav-image].cover").forEach(ll), XLe();
+ 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 = {
@@ -82043,7 +82075,7 @@ function JLe() {
return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${z(r)}" aria-label="${z(r)}">` + (Z.SRCICON[e] || "") + "</span>";
}, Z.emptyState = Us;
}
-function YLe() {
+function ZLe() {
Z.CENSOR_KEY = "peach-censor", e9(localStorage.getItem(Z.CENSOR_KEY) === "1");
}
// src/application/media.js
@@ -82066,10 +82098,10 @@ function r9() {
} : null;
}
function i9() {
- return l8()?.exit() || Promise.resolve();
+ return c8()?.exit() || Promise.resolve();
}
function a9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {
- Q.queueOpenRequest !== r && g9(), l8()?.dispose({ miniplayer: n }), yu({
+ Q.queueOpenRequest !== r && g9(), c8()?.dispose({ miniplayer: n }), yu({
activeQueue: null,
pendingQueueRoute: null,
presentedItem: null
@@ -82079,8 +82111,8 @@ function a9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null
detailReturnNeedsRestore: !1
}), m7(), e && Q.route($l || "/");
}
-function XLe() {
- l8()?.repaintPoster();
+function QLe() {
+ c8()?.repaintPoster();
}
function o9(e, t, n, r, i = null, a = {}) {
t = +t;
@@ -82104,13 +82136,13 @@ function o9(e, t, n, r, i = null, a = {}) {
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 ZLe(e, t = e, n = !0, r = null) {
+function $Le(e, t = e, n = !0, r = null) {
return o9("mix", e, t, n, r);
}
-function QLe(e, t = e, n = !0, r = null) {
+function eRe(e, t = e, n = !0, r = null) {
return o9("editions", e, t, n, r);
}
-function $Le(e, t = e, n = !0, r = null) {
+function tRe(e, t = e, n = !0, r = null) {
return o9("parts", e, t, n, r);
}
function s9(e, t = null, n = !0) {
@@ -82126,8 +82158,8 @@ async function l9(e, t = !0, n = null, r = null, i = !1, a = null) {
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 = c9(), l = nu || !t && !c, u = Gl.type === "item" ? Kl : Y.cloneBarsContext(l5());
- t ? yu({ detailReturnPath: location.pathname + location.search }) : i || yu({ detailReturnPath: Gf() || $l }), t && Hf(), l8()?.showing() !== "item" && a9(!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(c5());
+ t ? yu({ detailReturnPath: location.pathname + location.search }) : i || yu({ detailReturnPath: Gf() || $l }), t && Hf(), c8()?.showing() !== "item" && a9(!1, !0, {
miniplayer: !1,
preserveQueueRequest: a
}), yu({
@@ -82139,7 +82171,7 @@ async function l9(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 c8(n9.stageHost);
+ let d = await s8(n9.stageHost);
if (a?.cancelled) return;
let f = a ? {
...n9.itemDetailActions,
@@ -82173,20 +82205,20 @@ async function u9() {
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 }) : (N7(), location.pathname === "/playlists" && w5()));
+ } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? yu({ pageOpens: uu + 1 }) : (N7(), location.pathname === "/playlists" && C5()));
}
async function d9(e, t = !0) {
if (t) {
yu({ detailReturnPath: location.pathname + location.search }), _9("/works/" + encodeURIComponent(e), "jav", () => d9(e, !1));
return;
}
- let n = W.navigation.seq, r = Y.cloneBarsContext(l5()), i = !c9(), a = Gf() || (i ? "/jav?tab=discover" : $l) || "/jav?tab=discover";
- l8()?.showing() !== "jav" && a9(!1, !0, { miniplayer: !1 }), yu({
+ let n = W.navigation.seq, r = Y.cloneBarsContext(c5()), i = !c9(), a = Gf() || (i ? "/jav?tab=discover" : $l) || "/jav?tab=discover";
+ c8()?.showing() !== "jav" && a9(!1, !0, { miniplayer: !1 }), yu({
detailReturnPath: a,
detailReturnBarsContext: r,
detailReturnNeedsRestore: i
}), Al();
- let [o, s] = await Promise.all([c8(n9.stageHost), B("/healthz")]);
+ let [o, s] = await Promise.all([s8(n9.stageHost), B("/healthz")]);
W.navigation.seq === n && (await o.open({
kind: "jav",
code: e,
@@ -82203,19 +82235,19 @@ async function d9(e, t = !0) {
openTag: (e) => C7((t) => {
t.tag = e;
}),
- receipt: (e) => D8.toast({ text: e })
+ receipt: (e) => E8.toast({ text: e })
}
}), m7());
}
async function f9(e = null, t = !0) {
- t ? (n9.requestedImmerseId = e, Q.route("/immerse")) : (l8()?.closeMiniplayer(), await (await RFe(n9.immerseHost)).open(e));
+ t ? (n9.requestedImmerseId = e, Q.route("/immerse")) : (c8()?.closeMiniplayer(), await (await VFe(n9.immerseHost)).open(e));
}
-function eRe() {
+function nRe() {
n9.total = 0, n9.facets = null, n9.stageHost = {
player: {
settings: () => Z.appSettings,
saveSettings: () => Z.saveSettings(),
- toast: (e, t) => D8.toast({ text: e }, t),
+ toast: (e, t) => E8.toast({ text: e }, t),
loadSourceStatus: () => X7(),
offlineReason: (e) => Z.offlineReason(e)
},
@@ -82224,20 +82256,20 @@ function eRe() {
e === "follow" ? E9(t, !0, n) : l9(t, !0);
},
openItem: (e) => void l9(e)
- }, n9.stageOpen = () => !!l8()?.isOpen();
+ }, n9.stageOpen = () => !!c8()?.isOpen();
}
-function tRe() {
+function rRe() {
n9.itemDetailHelpers = {
badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),
- titleHtml: (e) => iL(e),
- displayName: (e) => rL(e),
+ titleHtml: (e) => rL(e),
+ displayName: (e) => nL(e),
javImage: () => Z.appSettings.javImage,
tagLabel: (e) => Pl(e),
isDurationTag: (e) => ir.has(e),
tagCandidates: () => n9.facets && n9.facets.tags || [],
sourceOffline: (e) => Z.sourceOffline(e),
offlineReason: (e) => Z.offlineReason(e),
- relatedSkeletonHtml: () => j2("正在读取推荐", {
+ relatedSkeletonHtml: () => A2("正在读取推荐", {
cards: !0,
className: "related-skeleton"
}),
@@ -82260,7 +82292,7 @@ function tRe() {
e.kind === "follow" ? (Q.queueOpenRequest = null, yu({
pendingQueueRoute: null,
followDetailReturnPath: $l || "/"
- }), 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") : w5() : a9(!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") : C5() : a9(!1);
},
openQueueItem: (e, t, n = !0) => void o9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),
reopen: () => {
@@ -82273,37 +82305,37 @@ function tRe() {
openSavedFollow: () => {
$.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) => x5(e, t),
+ openEntity: (e, t) => b5(e, t),
openUnowned: () => _7({ owner: "none" }),
openRegion: (e) => _7({ region: e || "none" }),
openTag: (e) => C7((t) => {
t.tag = e;
}),
- addToPlaylist: (e) => IIe(e),
- saveMix: (e) => FIe(e),
+ addToPlaylist: (e) => zIe(e),
+ saveMix: (e) => RIe(e),
editPlaylist: () => y9("/playlists"),
openPlaylists: () => y9("/playlists"),
- reveal: (e) => g5(e),
- sync: (e) => DIe(e),
+ reveal: (e) => h5(e),
+ sync: (e) => AIe(e),
trashChanged: async (e, t) => {
U.state === "ads" && (t || e === "trash") && (t || (Uf(), a9(!0, !1, { miniplayer: !1 })), await R7());
},
- toast: (e, { undo: t } = {}) => D8.actionReceipt(e, { undo: t }),
- failure: (e, t) => D8.actionFailure(e, t)
+ toast: (e, { undo: t } = {}) => E8.actionReceipt(e, { undo: t }),
+ failure: (e, t) => E8.actionFailure(e, t)
}, n9.immerseHost = {
filters: () => U,
seekSeconds: () => Z.appSettings.seekSeconds,
sourceOffline: (e) => Z.sourceOffline(e),
- displayName: (e) => rL(e),
+ displayName: (e) => nL(e),
route: (e) => Q.route("/immerse?id=" + e, !0),
closed: () => _7(),
openItem: (e) => void l9(e),
- openEntity: (e, t) => x5(e, t),
+ openEntity: (e, t) => b5(e, t),
openUnowned: () => _7({ owner: "none" }),
- toast: (e, { undo: t } = {}) => D8.actionReceipt(e, { undo: t }),
- warn: (e) => D8.toast({ text: e }, { sound: "warning" }),
- failure: (e, t) => D8.actionFailure(e, t)
- }, n9.immerseOpen = () => !!f8()?.isOpen(), U8.handler(L("#immerseBtn"), "onclick", () => f9());
+ toast: (e, { undo: t } = {}) => E8.actionReceipt(e, { undo: t }),
+ warn: (e) => E8.toast({ text: e }, { sound: "warning" }),
+ failure: (e, t) => E8.actionFailure(e, t)
+ }, n9.immerseOpen = () => !!d8()?.isOpen(), H8.handler(L("#immerseBtn"), "onclick", () => f9());
}
// src/application/navigation.js
var Q = {
@@ -82326,19 +82358,19 @@ var Q = {
initialOverlayOpened: void 0
};
function p9() {
- let e = v8();
+ let e = _8();
e ? e.navChanged() : L("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(d7(e.dataset.nav))));
}
function m9(e = {}) {
let t = Q.surfacePath();
- t !== U5.sidebarSurface && (U5.sidebarSurface = t, U5.sidebarProps = {
- ...U5.sidebarProps,
+ t !== H5.sidebarSurface && (H5.sidebarSurface = t, H5.sidebarProps = {
+ ...H5.sidebarProps,
content: null,
latest: null
- }), U5.sidebarProps = {
- ...U5.sidebarProps,
+ }), H5.sidebarProps = {
+ ...H5.sidebarProps,
...e
- }, v8()?.render(U5.sidebarProps);
+ }, _8()?.render(H5.sidebarProps);
}
function h9() {
m9(), p9(), p7();
@@ -82353,12 +82385,12 @@ function _9(e, t, n) {
}, Q.route(e, !1, Kf(t));
}
function v9() {
- Q.surfaceEpoch++, X.barsRequestSeq++, R5.syncPageTitle(location.href), m9(), Uf();
+ Q.surfaceEpoch++, X.barsRequestSeq++, L5.syncPageTitle(location.href), m9(), Uf();
}
function y9(e) {
Q.route(e), yu({ pageOpens: uu + 1 });
}
-function nRe() {
+function iRe() {
Q.routeMeta = (e) => {
let t = Qf(e);
return t ? { route: t } : null;
@@ -82366,7 +82398,7 @@ function nRe() {
let t = Qf(e);
return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !Rf(e) && e !== "/immerse";
}, Q.openRoutePath = (e) => {
- e === "/immerse" ? f9(qLe()) : e === "/follow" ? T9() : e === "/playlists" || Q.catalogPage(e) ? y9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? eLe() : e) : (j5(!1, !0), y9(F5({
+ e === "/immerse" ? f9(YLe()) : e === "/follow" ? T9() : e === "/playlists" || Q.catalogPage(e) ? y9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? rLe() : e) : (A5(!1, !0), y9(P5({
kind: e.slice(1),
q: "",
scope: "local",
@@ -82375,16 +82407,16 @@ function nRe() {
})));
};
}
-function rRe() {
+function aRe() {
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) => (r5(e) || i5(), 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.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (n5(e) || r5(), 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
- }), R5.syncPageTitle(e), queueMicrotask(() => {
+ }), L5.syncPageTitle(e), queueMicrotask(() => {
p7(), n7(), m9();
});
}, Q.navigatePath = (e, t = !1, n) => {
@@ -82394,15 +82426,15 @@ function rRe() {
}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;
}
// src/jobs.ts
-function iRe(e, t, n) {
+function oRe(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 aRe(e, t = 0, n = 0) {
- return n > 0 ? iRe(e, t, n) : Vs(e);
+function sRe(e, t = 0, n = 0) {
+ return n > 0 ? oRe(e, t, n) : Vs(e);
}
-async function oRe(e) {
+async function cRe(e) {
let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;
for (; e.active();) {
let r;
@@ -82417,14 +82449,14 @@ async function oRe(e) {
await t(2e3);
}
}
-function sRe(e) {
+function lRe(e) {
let t = e.note || ((e) => Rs(e, {
label: "任务状态",
variant: "error"
- })), n = e.loading || Vs, r = e.progress || ((e, t, n) => aRe(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) => sRe(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;
- oRe({
+ cRe({
read: e.read,
active: () => !c && e.active() && a.isConnected,
keepWatching: e.watchIdle !== !1,
@@ -82473,9 +82505,9 @@ var $ = {
FOLLOW_MANAGE_TABS: void 0,
followSidebarFilters: void 0
};
-function cRe(e) {
+function uRe(e) {
let t = (e.results || []).filter((e) => !e.ok).length;
- D8.toast({ text: Vi(e) }, {
+ E8.toast({ text: Vi(e) }, {
warn: !!t,
timeout: t ? 8e3 : 6e3,
sound: t ? "warning" : "success",
@@ -82488,7 +82520,7 @@ function cRe(e) {
function b9() {
return Oa(x9());
}
-function lRe() {
+function dRe() {
return $.controller.read();
}
function x9() {
@@ -82509,17 +82541,17 @@ function x9() {
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 uRe() {
+function fRe() {
let e = sp(L("#stats"));
return e && e.path === "/follow" && e.host.isConnected ? e : null;
}
function C9() {
- return !!uRe();
+ return !!fRe();
}
function w9(e) {
C9() && mp(L("#stats"), e);
}
-function dRe(e, t = {}) {
+function pRe(e, t = {}) {
return $.controller.route(e, t);
}
function T9(e = !1) {
@@ -82532,7 +82564,7 @@ async function E9(e, t = !0, n = null, r = !1) {
}
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(), l8()?.showing() !== "follow" && a9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, Kf("follow")), await (await c8(n9.stageHost)).open({
+ t && i && !r && yu({ followDetailReturnPath: location.pathname + location.search }), !t && !r && yu({ followDetailReturnPath: Gf() || "/follow" }), t && Hf(), c8()?.showing() !== "follow" && a9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, Kf("follow")), await (await s8(n9.stageHost)).open({
kind: "follow",
id: e,
mediaIndex: n,
@@ -82543,16 +82575,16 @@ async function E9(e, t = !0, n = null, r = !1) {
resume: t ? null : r9()
}), m7();
}
-async function fRe() {
- await i9(), a9(!1, !1, { miniplayer: !1 }), Uf(), Q.route(ou || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && C9() ? (lRe(), w9({ view: x9() })) : yu({ pageOpens: uu + 1 }));
+async function mRe() {
+ await i9(), a9(!1, !1, { miniplayer: !1 }), Uf(), Q.route(ou || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && C9() ? (dRe(), w9({ view: x9() })) : yu({ pageOpens: uu + 1 }));
}
-function pRe(e) {
+function hRe(e) {
let t = document.createElement("div");
return t.className = "peach-react", tc(e, () => {
e.textContent = "", e.append(t);
}), t;
}
-function mRe() {
+function gRe() {
$.followFeedHelpers = Il({
wireDrag: (e) => {
e && t9(e);
@@ -82561,41 +82593,41 @@ function mRe() {
e && Dc(e);
},
listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),
- jobProgress: sRe
+ jobProgress: lRe
}), $.followFeedActions = {
- loaded: (e) => q5(e),
+ loaded: (e) => K5(e),
openDetail: (e) => E9(e),
openAuthor: (e) => Q.navigatePath(Nn("creator", e)),
- toggleSelection: (e, t) => HIe(e, t),
+ toggleSelection: (e, t) => GIe(e, t),
setImagesOnly: (e) => {
- Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), p5();
+ Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), f5();
},
setPhotoLayout: (e) => {
- jM(e), p5();
+ MM(e), f5();
},
canFlip: () => !Yl && !$7() && !window.__scrolling && !X.reduceMotion(),
- toast: (e, { undo: t } = {}) => D8.actionReceipt(e, { undo: t }),
- failure: (e, t) => D8.actionFailure(e, t),
- checkReport: (e) => cRe(e)
+ toast: (e, { undo: t } = {}) => E8.actionReceipt(e, { undo: t }),
+ failure: (e, t) => E8.actionFailure(e, t),
+ checkReport: (e) => uRe(e)
}, $.followFeedShell = {
skeleton: () => $.followSkeletonHtml("正在读取关注内容"),
ground: () => {
- l8()?.showing() !== "follow" && (Al(), a9(!1), G5(), !C9() && (Q.claimSurface(Q.surfacePath()), W5({ manage: !1 }), L("#stats").querySelector(".peach-react") && hp(L("#stats")), L("#stats").replaceChildren()));
+ c8()?.showing() !== "follow" && (Al(), a9(!1), W5(), !C9() && (Q.claimSurface(Q.surfacePath()), U5({ manage: !1 }), L("#stats").querySelector(".peach-react") && hp(L("#stats")), L("#stats").replaceChildren()));
}
}, $.followDetailActions = Wl({
view: x9,
adoptView: S9,
rememberReturn: (e) => yu({ followDetailReturnPath: e }),
- close: () => void fRe(),
+ close: () => void mRe(),
open: (e, t, n) => void E9(e, !0, t, n),
- drawer: q5,
+ drawer: K5,
openAuthor: (e) => Q.navigatePath(Nn("creator", e))
}, {
- toast: (e, { undo: t } = {}) => D8.actionReceipt(e, { undo: t }),
- failure: D8.actionFailure
+ toast: (e, { undo: t } = {}) => E8.actionReceipt(e, { undo: t }),
+ failure: E8.actionFailure
});
}
-function hRe() {
+function _Re() {
$.controller = ja({
location: () => location,
view: x9,
@@ -82613,8 +82645,8 @@ function hRe() {
preferences: () => ({
selectMode: Yl,
selected: Jl,
- photoSize: TM(),
- photoLayout: EM(),
+ photoSize: EM(),
+ photoLayout: DM(),
imagesOnly: !!Z.appSettings.followImagesOnly
}),
live: C9,
@@ -82627,36 +82659,36 @@ function hRe() {
});
},
openPage: y9,
- rollSeed: () => Number(D8.rollSeed()),
+ rollSeed: () => Number(E8.rollSeed()),
enterSeed: () => Math.floor(Math.random() * 4294967295),
revealFeed: () => {
- Al(), G5(), W5({ manage: !1 });
+ Al(), W5(), U5({ manage: !1 });
},
- syncPhotoWalls: p5,
+ syncPhotoWalls: f5,
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 gRe() {
- gEe(), Yc(document), Lo(document.documentElement, { variant: "page" }), Lo(L("#drawerScroll")), U8.own(Kc()), Ua(document.body), X.homeHasFeed = yIe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, U5.sidebarProps = {
+function vRe() {
+ yEe(), Yc(document), Lo(document.documentElement, { variant: "page" }), Lo(L("#drawerScroll")), H8.own(Kc()), Ua(document.body), X.homeHasFeed = SIe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, H5.sidebarProps = {
content: null,
filters: {},
latest: null
- }, U5.sidebarSurface = "", U5.sidebarCatalog = null, U5.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [
+ }, H5.sidebarSurface = "", H5.sidebarCatalog = null, H5.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 _Re() {
- LU({ reopen: !0 });
+async function yRe() {
+ IU({ reopen: !0 });
}
-function vRe() {
+function bRe() {
let e = new URL(location.href), t = e.searchParams.get("onboarding") === "1";
- yu({ cameFromSetup: t }), U8.handler(document.getElementById("tutorialBtn"), "onclick", () => LU()), LU({ invitation: !0 }), t && e.searchParams.delete("onboarding");
+ yu({ cameFromSetup: t }), H8.handler(document.getElementById("tutorialBtn"), "onclick", () => IU()), IU({ invitation: !0 }), t && e.searchParams.delete("onboarding");
let n = e.searchParams.get("agentation");
try {
localStorage.removeItem("peach.agentation");
@@ -82667,7 +82699,7 @@ function vRe() {
}), n === "on" && import("/dev/agentation.js").catch(() => {});
}
// src/react/search/recommendations.ts
-async function yRe(e) {
+async function xRe(e) {
let t = (await Promise.allSettled([
e("/api/items?sort=rand&limit=5"),
e("/api/jav/discoveries?scope=library&limit=5"),
@@ -82691,9 +82723,9 @@ async function yRe(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 = OG(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 = DG(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: wG(r),
+ value: CG(r),
id: r.id,
who: a.author,
href: `/posts/${r.id}`,
@@ -82709,7 +82741,7 @@ async function yRe(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: DG(l.sources.filter((t) => t.author_key === e.key), e.k),
+ avatarHtml: EG(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, {
@@ -82779,7 +82811,7 @@ async function yRe(e) {
];
}
// src/application/search-morph.js
-function bRe(e, t, n, r, i, a, o) {
+function SRe(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);
@@ -82804,7 +82836,7 @@ var D9 = {
function O9() {
D9.searchControl?.close();
}
-function xRe(e) {
+function CRe(e) {
let t = e ? eo({
...e,
is_jav: !!e.code
@@ -82823,36 +82855,36 @@ function A9(e) {
if (t.classList.toggle("open", e), L("#searchBtn").setAttribute("aria-expanded", String(e)), innerWidth > 760 || matchMedia("(prefers-reduced-motion:reduce)").matches) return;
let s = t.getBoundingClientRect(), c = getComputedStyle(t), l = parseFloat(c.paddingLeft), u = t.querySelector("svg").getBoundingClientRect().width, d = Math.max(0, (o.width - u) / 2 - parseFloat(c.borderLeftWidth)), f = r ? i : e ? o : s, p = e ? s : o, m = Bc();
t.classList.add("search-morphing");
- let h = t.animate(bRe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
+ let h = t.animate(SRe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
duration: m.duration,
easing: "linear",
fill: "both"
});
- D9.searchMorph = h, U8.handler(h, "onfinish", () => {
+ D9.searchMorph = h, H8.handler(h, "onfinish", () => {
D9.searchMorph === h && k9();
});
}
-function SRe() {
- return n9.immerseOpen() ? f8().activeVideo() : l8()?.activeVideo() || null;
+function wRe() {
+ return n9.immerseOpen() ? d8().activeVideo() : c8()?.activeVideo() || null;
}
-function CRe(e) {
+function TRe(e) {
return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);
}
-function wRe() {
+function ERe() {
D9.searchControl = null, D9.searchActions = {
search: (e) => {
X.rememberSearchValue(), a9(!1), U.q = e, bu(), Q.route(U.jav === "1" ? g7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);
},
openItem: (e) => l9(e),
- openEntity: (e, t) => x5(e, t),
+ openEntity: (e, t) => b5(e, t),
openPath: (e) => Q.route(e, !1),
openFollow: (e, t, n) => {
$.followMediaView = t, E9(e, !0, n);
}
}, D9.searchHelpers = {
- pool: () => Wbe(U, wn),
- recommendations: () => yRe(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 ? X8(e) : xRe(e)}</span>`,
+ pool: () => Gbe(U, wn),
+ recommendations: () => xRe(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 ? Y8(e) : CRe(e)}</span>`,
present: (e) => ss(e),
dismiss: (e) => cs(e),
wireScroller: (e) => Dc(e),
@@ -82878,30 +82910,30 @@ function wRe() {
}, {
container: L("#searchMenu"),
isCurrent: () => !0
- }), U8.listen(L("#q"), "beforeinput", (e) => {
+ }), H8.listen(L("#q"), "beforeinput", (e) => {
e.isComposing || X.rememberSearchValue(e.currentTarget);
- }), U8.listen(L("#q"), "scroll", (e) => {
+ }), H8.listen(L("#q"), "scroll", (e) => {
e.currentTarget.value && X.rememberSearchValue(e.currentTarget);
- }), U8.listen(L("#q"), "pointerdown", (e) => {
+ }), H8.listen(L("#q"), "pointerdown", (e) => {
e.currentTarget.value && X.rememberSearchValue(e.currentTarget);
});
}
-function TRe() {
- D9.searchMorph = null, D9.searchMorphViewport = innerWidth, U8.listen.bind(U8, window)("resize", () => {
+function DRe() {
+ D9.searchMorph = null, D9.searchMorphViewport = innerWidth, H8.listen.bind(H8, window)("resize", () => {
innerWidth !== D9.searchMorphViewport && (D9.searchMorphViewport = innerWidth, k9());
- }, { passive: !0 }), U8.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", k9), U8.handler(L("#searchBtn"), "onclick", () => {
+ }, { passive: !0 }), H8.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", k9), H8.handler(L("#searchBtn"), "onclick", () => {
A9(!0), L("#q").focus({ preventScroll: !0 });
- }), U8.handler(L("#searchBack"), "onclick", () => {
+ }), H8.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 || A9(!1), O9());
};
- U8.listen(document, "pointerdown", e, !0), U8.listen(document, "focusin", e), U8.handler(L("#brandHome"), "onclick", (e) => {
+ H8.listen(document, "pointerdown", e, !0), H8.listen(document, "focusin", e), H8.handler(L("#brandHome"), "onclick", (e) => {
e.preventDefault(), _7();
- }), U8.listen(document, "keydown", (e) => {
+ }), H8.listen(document, "keydown", (e) => {
if (e.key === "Escape") {
- let t = h8();
+ let t = m8();
if (t?.isOpen()) {
t.close();
return;
@@ -82911,24 +82943,24 @@ function TRe() {
return;
}
if (n9.immerseOpen()) {
- f8().close();
+ d8().close();
return;
}
if (n9.stageOpen()) {
- e.defaultPrevented || (e.preventDefault(), l8().requestEscape());
+ e.defaultPrevented || (e.preventDefault(), c8().requestEscape());
return;
}
if (L("#drawer").classList.contains("open")) {
- X5(!1);
+ Y5(!1);
return;
}
if (Yl || ql.size || Jl.size) {
- j5(!1, !0);
+ A5(!1, !0);
return;
}
return;
}
- if (CRe(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;
+ if (TRe(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) {
@@ -82936,10 +82968,10 @@ function TRe() {
return;
}
}
- let t = SRe();
+ let t = wRe();
if (t) {
if (e.key === "t" || e.key === "T") {
- e.preventDefault(), l8()?.toggleTheater();
+ e.preventDefault(), c8()?.toggleTheater();
return;
}
if (e.key === "ArrowLeft" || e.key === "ArrowRight") {
@@ -82959,14 +82991,14 @@ function TRe() {
return;
}
if (e.key === "i" || e.key === "I") {
- e.preventDefault(), l8()?.toggleMiniplayer();
+ e.preventDefault(), c8()?.toggleMiniplayer();
return;
}
}
});
}
// src/history/links.ts
-function ERe(e) {
+function ORe(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;
@@ -82989,23 +83021,23 @@ var j9 = {
shellActions: void 0,
routing: void 0
};
-function DRe() {
- let e = U8, t = (e) => {
+function kRe() {
+ let e = H8, 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 (vIe(), R5.entityShapesReady = Z8(), oLe(), location.pathname === "/") {
+ if (xIe(), L5.entityShapesReady = X8(), lLe(), location.pathname === "/") {
let e = new URLSearchParams(location.search);
!e.has("state") && e.get("jav") !== "1" && (L("#catalogPageHeading").hidden = !1);
}
- r5(decodeURIComponent(location.pathname)) && e5(L("#feedNew")), mLe(), j9.shellActions = {
- openSettings: (e) => Q5(e, !0),
- closeSettings: () => h8()?.close(!1),
+ n5(decodeURIComponent(location.pathname)) && $8(L("#feedNew")), _Le(), j9.shellActions = {
+ openSettings: (e) => Z5(e, !0),
+ closeSettings: () => m8()?.close(!1),
openItem: (e) => void l9(e),
- openEntity: (e, t) => void x5(e, t),
+ openEntity: (e, t) => void b5(e, t),
openTag: (e) => {
- uLe(), F7(e);
+ pLe(), F7(e);
},
- openTasteSignal: PIe,
+ openTasteSignal: LIe,
navigate: (e) => {
let n = new URL(e, location.href), r = Lf(n.pathname, n.search);
if (r) {
@@ -83020,34 +83052,34 @@ function DRe() {
openManage: r7,
managePath: (e) => Q.routePathOf("section", e) || "",
openFollow: () => T9(),
- receipt: (e, t) => D8.actionReceipt(e, t),
- toast: (e, t) => D8.toast(e, t),
- failure: D8.actionFailure,
- revealSource: g5,
- reopenTutorial: _Re,
- routeReview: LIe,
- routeFollowManage: $Ie,
+ receipt: (e, t) => E8.actionReceipt(e, t),
+ toast: (e, t) => E8.toast(e, t),
+ failure: E8.actionFailure,
+ revealSource: h5,
+ reopenTutorial: yRe,
+ routeReview: BIe,
+ routeFollowManage: nLe,
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(F5(e), t),
+ routeIndex: (e, { replace: t = !1 } = {}) => Q.route(P5(e), t),
savePeopleLayout: ({ layout: e }) => {
Z.appSettings.peopleLayout = e, Z.saveSettings();
},
- exitSelectMode: () => j5(!1, !1),
- personAvatar: (e, t, n) => P5.personAvatar(e, t, n),
- authorAvatar: (e) => tLe(e),
- showIndexTags: nLe,
- openFollowAuthor: L5,
- openFollowTag: rLe,
+ exitSelectMode: () => A5(!1, !1),
+ personAvatar: (e, t, n) => N5.personAvatar(e, t, n),
+ authorAvatar: (e) => iLe(e),
+ showIndexTags: aLe,
+ openFollowAuthor: I5,
+ openFollowTag: oLe,
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
- } }), K5(), document.body.classList.add("entity-open"), w7(), I5()) : e === "index" ? (Al(), document.body.classList.remove("entity-open"), Q.claimSurface(t), K5(), document.body.classList.add("index-open"), w7(), I5()) : (Al(), Q.claimSurface(t), e === "catalog" ? K5() : (G5(), W5({ manage: e === "management" })));
+ } }), G5(), document.body.classList.add("entity-open"), w7(), F5()) : e === "index" ? (Al(), document.body.classList.remove("entity-open"), Q.claimSurface(t), G5(), document.body.classList.add("index-open"), w7(), F5()) : (Al(), Q.claimSurface(t), e === "catalog" ? G5() : (W5(), U5({ manage: e === "management" })));
},
clearSearch: () => X.clearSearchField(),
openImmerse: (e) => {
@@ -83075,21 +83107,21 @@ function DRe() {
},
entity: {
missing: (e) => {
- j9.shellActions.surfaceChanged("entity", location.pathname), b5(e);
+ j9.shellActions.surfaceChanged("entity", location.pathname), y5(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 = l5();
- return i.type !== "entity" || i.kind !== e || i.name !== t || !d5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (x7(r), S7(l5()), !0);
+ let i = c5();
+ return i.type !== "entity" || i.kind !== e || i.name !== t || !u5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (x7(r), S7(c5()), !0);
}
},
follow: $.followFeedShell,
catalog: {
defaultLoc: () => h7("local,115"),
- open: (e, { entering: t = !1, retitle: n = !1 } = {}) => (n && (v9(), p7(), n7()), t && N8(), e === "/trash" ? X.clearSearchField() : (L("#q").value = U.q, X.rememberSearchValue()), h9(), N7(), Z.handOff(R7())),
+ open: (e, { entering: t = !1, retitle: n = !1 } = {}) => (n && (v9(), p7(), n7()), t && M8(), e === "/trash" ? X.clearSearchField() : (L("#q").value = U.q, X.rememberSearchValue()), h9(), N7(), Z.handOff(R7())),
load: () => Z.handOff(R7()),
fill: () => {
if (U7() || !Dp() && !L("#grid").querySelector(".catalog-skeleton")) return;
@@ -83097,27 +83129,27 @@ function DRe() {
e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), V7(Q.surfaceToken(Q.surfacePath()));
},
release: () => {
- B7(), i5();
+ B7(), r5();
}
}
}, j9.routing = !1, e.listen(document, "click", (e) => {
- let t = ERe(e);
+ let t = ORe(e);
t && (e.preventDefault(), j9.shellActions.navigate(t));
- }), U8.own(W.listen((e) => {
+ }), H8.own(W.listen((e) => {
Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !Rf(e.location.pathname) && a9(!1), j9.routing && !e.claimed && v9();
- })), IFe(j9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), _Le(), qIe(), e7(), Promise.all([
+ })), zFe(j9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), t7(), XIe(), $5(), Promise.all([
X7(),
- hLe(),
- R5.entityShapesReady
+ vLe(),
+ L5.entityShapesReady
]).then(() => {
- e.isActive && (R5.wantsDiscoveryBars() && N7().catch((e) => console.error("首页横条装载失败", e)), h9(), KLe(), j9.routing = !0, yu({ pageOpens: 1 }), v9(), m7());
+ e.isActive && (L5.wantsDiscoveryBars() && N7().catch((e) => console.error("首页横条装载失败", e)), h9(), JLe(), j9.routing = !0, yu({ pageOpens: 1 }), v9(), m7());
}).catch((t) => {
e.isActive && console.error("应用启动失败", t);
});
}
// src/theme-transition.ts
var M9 = !1;
-async function ORe(e, t) {
+async function ARe(e, t) {
if (M9) return;
if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {
t();
@@ -83139,9 +83171,9 @@ async function ORe(e, t) {
}
}
// src/application/chrome.js
-function kRe() {
+function jRe() {
(() => {
- let e = U8, t = [
+ let e = H8, t = [
"#brandHome",
"#filterBtn",
"#settingsBtn"
@@ -83201,7 +83233,7 @@ function kRe() {
e.key === "Escape" && (e.stopPropagation(), u.setOpen(!1), c.focus());
}), wn("/api/libraries", { signal: e.signal }).then((t) => {
if (!e.isActive) return;
- QG(t.libraries);
+ ZG(t.libraries);
let n = [[
"",
"全部媒体库",
@@ -83222,7 +83254,7 @@ function kRe() {
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), X5(!1), T5("媒体库与入库");
+ u.setOpen(!1), Y5(!1), w5("媒体库与入库");
});
let d = l.querySelector(".board-library-rows");
e.listen(d, "pointerover", (e) => {
@@ -83239,18 +83271,18 @@ function kRe() {
(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" && ORe(t, () => {
- Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), mM();
+ t.getAttribute("aria-pressed") !== "true" && ARe(t, () => {
+ Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), hM();
});
- })), mM();
+ })), hM();
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(Ole(v)), UFe({
+ e.own(y.dispose), e.own(Dle(v)), KFe({
root: _,
store: Z.settingsStore,
openDetails: () => {
- e.isActive && (y.setOpen(!1), X5(!1), Q5("外观与导航").then((t) => {
+ e.isActive && (y.setOpen(!1), Y5(!1), Z5("外观与导航").then((t) => {
e.isActive && t.reveal("#homeGlowControls");
}));
}
@@ -83262,17 +83294,17 @@ function kRe() {
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 = !Y5();
+ let r = n.classList.contains("open"), i = !J5();
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(U8, window)("resize", b);
+ Z.placeSidebarHead = b, b(), e.listen(document, "board:sidebar", b), e.listen.bind(H8, window)("resize", b);
let x = !1;
function S() {
x = !1, document.body.classList.toggle("board-scrolled", scrollY > 8);
}
- if (e.listen.bind(U8, window)("scroll", () => {
+ if (e.listen.bind(H8, window)("scroll", () => {
x || (x = !0, e.frame(S));
- }, { passive: !0 }), e.listen.bind(U8, window)("resize", S), S(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {
+ }, { passive: !0 }), e.listen.bind(H8, 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");
@@ -83386,18 +83418,18 @@ function kRe() {
subtree: !0
}), y();
}
- })(), X5(!Y5() && sessionStorage.getItem("board.sidebar") !== "closed");
+ })(), Y5(!J5() && sessionStorage.getItem("board.sidebar") !== "closed");
}
// src/application/initialize.js
-function ARe() {
- gRe(), nRe(), sLe(), rRe(), JLe(), WFe(), zLe(), vRe(), jIe(), eRe(), JIe(), BLe(), wIe(), RIe(), mRe(), iLe(), MIe(), hRe(), aLe(), NIe(), CLe(), VLe(), wRe(), tRe(), TRe(), YLe(), DRe(), kRe(), U8.own(B7), U8.own(g9);
+function MRe() {
+ vRe(), iRe(), uLe(), aRe(), XLe(), qFe(), VLe(), bRe(), PIe(), nRe(), ZIe(), HLe(), DIe(), VIe(), gRe(), sLe(), FIe(), _Re(), cLe(), IIe(), TLe(), ULe(), ERe(), rRe(), DRe(), ZLe(), kRe(), jRe(), H8.own(B7), H8.own(g9);
}
// src/ui-kit/middle-truncate.ts
-var jRe = "…", 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) => {
+var NRe = "…", 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("") + jRe + (r ? e.slice(-r).join("") : "");
-}, MRe = (e, t) => {
+ return e.slice(0, n).join("") + NRe + (r ? e.slice(-r).join("") : "");
+}, PRe = (e, t) => {
if (!e.length || t(e.join(""))) return e.length;
let n = 0, r = e.length - 1, i = 0;
for (; n <= r;) {
@@ -83405,21 +83437,21 @@ var jRe = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(v
t(V9(e, a)) ? (i = a, n = a + 1) : r = a - 1;
}
return i;
-}, NRe = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul} -〿＀-￯]/u, PRe = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}]/u, FRe = /[\p{Script=Latin}\p{Script=Greek}\p{Script=Cyrillic}\p{Nd}]/u, IRe = /[＀-￯]/u, LRe = (e) => PRe.test(e) ? 1 : FRe.test(e) && !IRe.test(e) ? 2 : 0, RRe = (e) => {
+}, FRe = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul} -〿＀-￯]/u, IRe = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}]/u, LRe = /[\p{Script=Latin}\p{Script=Greek}\p{Script=Cyrillic}\p{Nd}]/u, RRe = /[＀-￯]/u, zRe = (e) => IRe.test(e) ? 1 : LRe.test(e) && !RRe.test(e) ? 2 : 0, BRe = (e) => {
let t = 0, n = 0;
for (let r of e) {
- let e = LRe(r);
+ let e = zRe(r);
n && e && n !== e && t++, n = e;
}
return t;
-}, zRe = null, BRe = (e, t) => {
- let n = getComputedStyle(e), r = (zRe ||= document.createElement("canvas")).getContext("2d");
+}, VRe = null, HRe = (e, t) => {
+ let n = getComputedStyle(e), r = (VRe ||= 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, B9(e).length - 1) * i), Number.isFinite(a) && (t += (e.match(/\s/g) || []).length * a), s && (t += RRe(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 += BRe(e) * s), t;
};
}, H9 = [
"font-family",
@@ -83446,7 +83478,7 @@ var jRe = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(v
"text-autospace",
"text-spacing-trim",
"white-space-collapse"
-], U9 = null, VRe = (e) => {
+], U9 = null, URe = (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 = {
@@ -83457,8 +83489,8 @@ var jRe = "…", N9 = 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;
-}, HRe = 8, URe = (e) => {
- for (let t = 0; e.length && t < HRe; t++) {
+}, WRe = 8, GRe = (e) => {
+ for (let t = 0; e.length && t < WRe; 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 = V9(e.fit.parts, t), e.group.append(n), n;
@@ -83476,28 +83508,28 @@ var jRe = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(v
])].filter((t) => t > e.fits && t < e.fails), !0;
});
}
-}, WRe = (e) => {
+}, KRe = (e) => {
let t = [];
for (let n of e) {
- let e = n.state.full, r = NRe.test(e), i = BRe(n.element, r);
- if (n.kept = MRe(n.parts, (e) => i(e) <= n.available), !r) continue;
+ let e = n.state.full, r = FRe.test(e), i = HRe(n.element, r);
+ if (n.kept = PRe(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: VRe(n.element),
+ group: URe(n.element),
fits: 0,
fails: n.parts.length + 1,
tries: a
});
}
- URe(t);
-}, GRe = (e) => {
+ GRe(t);
+}, qRe = (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);
-}, KRe = (e) => {
- if (e.dataset.middleTruncateWithin === void 0) return GRe(e);
+}, JRe = (e) => {
+ if (e.dataset.middleTruncateWithin === void 0) return qRe(e);
let t = e.parentElement;
if (!t) return e.clientWidth;
let n = getComputedStyle(t), r = parseFloat(n.columnGap) || 0, i = 0, a = 0;
@@ -83506,7 +83538,7 @@ var jRe = "…", N9 = 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);
-}, qRe = () => {
+}, YRe = () => {
I9 = 0;
let e = [];
for (let t of F9) {
@@ -83514,12 +83546,12 @@ var jRe = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(v
n && t.isConnected && e.push({
element: t,
state: n,
- available: KRe(t),
+ available: JRe(t),
parts: B9(n.full),
kept: 0
});
}
- F9.clear(), WRe(e.filter((e) => e.available > 0));
+ F9.clear(), KRe(e.filter((e) => e.available > 0));
for (let { element: t, state: n, available: r, parts: i, kept: a } of e) {
let e = r > 0 ? V9(i, a) : n.full;
n.rendered = e, t.textContent !== e && (t.textContent = e);
@@ -83527,7 +83559,7 @@ var jRe = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(v
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) => {
- P9.has(e) && (F9.add(e), I9 ||= requestAnimationFrame(qRe));
+ P9.has(e) && (F9.add(e), I9 ||= requestAnimationFrame(YRe));
}, G9 = (e) => {
e instanceof HTMLElement && (P9.has(e) || P9.set(e, {
full: e.textContent || "",
@@ -83538,7 +83570,7 @@ var jRe = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(v
let t = e;
t.matches("[data-middle-truncate]") && G9(t), t.querySelectorAll("[data-middle-truncate]").forEach(G9);
};
-function JRe(e = document) {
+function XRe(e = document) {
z9?.(), L9 = /* @__PURE__ */ new WeakSet();
let t = !0;
R9 = new ResizeObserver((e) => e.forEach((e) => {
@@ -83605,7 +83637,7 @@ var q9 = [
"jav-detail",
"wants",
"index"
-], YRe = {
+], ZRe = {
catalog: [
...q9,
...J9,
@@ -83626,10 +83658,10 @@ var q9 = [
"avatar-choices"
]
};
-function XRe() {
+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 YRe[t] || []) e.add(n);
+ for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of ZRe[t] || []) e.add(n);
return !t && e.size && (t = (async () => {
for (; e.size;) {
let t = new Set(e);
@@ -83642,12 +83674,12 @@ function XRe() {
})), t || Promise.resolve();
};
}
-function ZRe() {
+function $Re() {
let e = Pt({
- queryKey: oL,
- queryFn: ({ signal: e }) => cL(e),
- refetchInterval: (e) => sL(e.state.data)
- }), t = (0, F.useRef)(void 0), [n] = (0, F.useState)(XRe), r = e.data?.result_versions;
+ queryKey: aL,
+ queryFn: ({ signal: e }) => sL(e),
+ refetchInterval: (e) => oL(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;
@@ -83657,52 +83689,52 @@ var X9 = null;
function Z9(e) {
X9 !== e || e.owners || (X9 = null, e.effects.dispose());
}
-function QRe() {
+function eze() {
if (!X9) {
- let e = oIe();
+ let e = lIe();
X9 = {
effects: e,
owners: 0
- }, e.own(JRe(document)), e.own(() => {
+ }, e.own(XRe(document)), e.own(() => {
Al(), H.cancelQueries();
- }), e.own(LFe), e.own(gp), e.own(as);
+ }), e.own(BFe), e.own(gp), e.own(as);
}
return X9.owners += 1, X9.effects.resume(), X9;
}
-function $Re() {
+function tze() {
let [e, t] = (0, F.useState)(null);
return (0, F.useLayoutEffect)(() => {
- let e = X9 === null, n = QRe(), r = FFe(t);
+ let e = X9 === null, n = eze(), r = RFe(t);
if (e) try {
- ARe();
+ MRe();
} 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)(fye, {
+ }, []), /* @__PURE__ */ (0, I.jsx)(pye, {
actions: e,
processing: !0,
- background: e ? /* @__PURE__ */ (0, I.jsx)(ZRe, {}) : null
+ background: e ? /* @__PURE__ */ (0, I.jsx)($Re, {}) : null
});
}
var Q9 = /* @__PURE__ */ new WeakMap();
-function eze(e) {
+function nze(e) {
let t = Q9.get(e);
if (t) return t;
- let n = (0, Rt.createRoot)(e, pye);
+ let n = (0, Rt.createRoot)(e, mye);
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)($Re, {}))), n;
+ }, (0, Lt.flushSync)(() => n.render(/* @__PURE__ */ (0, I.jsx)(tze, {}))), n;
}
// src/react/bootstrap.tsx
O();
var $9 = document.getElementById("appRoot");
if (!$9) throw Error("主界面宿主缺失");
-eze($9);
-export { nR as $2ec61d1d4f780267$export$a8a3e93435678ff9, uR as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, Dz as $542a13ca2fa5b484$export$5b6b19405a83ff9d, OD as $72abaeab4d80592f$export$78efe591171d7d45, yB as $76d00c5a4edb230a$export$76ccd210b9029917, gB as $76d00c5a4edb230a$export$816b5d811295e6bc, SB as $76d00c5a4edb230a$export$b59bdbef9ce70de2, wB as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, hB as $76d00c5a4edb230a$export$f850895b287ef28e, dhe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, uhe as $b4f18e3395fe64d7$export$3e41faf802a29e71, she as $b4f18e3395fe64d7$export$b2539bed5023c21c, OB as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, mhe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, hE as $ea3928288112382f$export$439d29a4e110a164, Bz as $f2ff30fde7b014be$export$3ddf2d174ce01153, qz as $fe21c36db05242bb$export$a98f0dcb43a68a25, Jz as $fe21c36db05242bb$export$d7b12c4107be0d61, Jhe as $l, Qj as ACCENTS, jke as AMANE_BRIDGE_CHECK_URL, Z$ as AMANE_BRIDGE_KEY, Mke as AMANE_BRIDGE_REBUILD_URL, or as ApiError, sW as ArtSlot, x2 as BATCH_DELETE_TEXT, J as Button, PL as ButtonLink, aV as Bx, E$ as CLEANUP_ENTRY, T$ as CLEANUP_ENTRY_GRID, Yf as CLEANUP_HASH_REDIRECTS, qf as CLEANUP_TOOLS, _n as CLOUD_LOCATIONS, Z1 as CLOUD_PROXY_HELP, Gr as COLUMN_SORT, l1 as CONFIGURATION_KEY, oX as CONFIGURATION_URL, Nke as COOKIE_TEXT_LIMIT, X$ as COVER_JOB_KEY, Ji as CREDENTIAL_STATE, K$ as CUSTOM_SOURCES_KEY, G$ as CUSTOM_SOURCES_URL, $V as Checkbox, QV as CheckboxGlyph, UV as ChevronSortDown, oW as Chip, hW as CloudDownloadDialog, JH as CollapseChevron, qH as CollapseRegion, y$ as CollectionSummary, uwe as DEFAULT_CATEGORY, ur as DEFAULT_SORT, GQ as DIAGNOSTICS_KEY, lTe as DIRECTORY_TEMPLATE_ERROR, wW as DISCOVERY_SORTS, lW as DOWNLOADS_KEY, cW as DOWNLOADS_URL, EY as DUPLICATES_KEY, sY as DataTableFooter, rY as DataTableFrame, oY as DataTableSort, eU as Disclosure, Uve as DownloadsPanel, zhe as E3, dwe as ENTITY_REVIEW_KINDS, Y1 as ENTRY_LINKS_HELP, X1 as ENTRY_LINKS_HINT, ZB as Ea, yge as EmptyFocusButton, TV as EmptyState, QH as ErrorText, H_e as ExternalLink, Br as FEEDS_KEY, mX as FEED_SCHEDULE_KEY, C$ as FIELDSET_FOOT, VPe as FLOW_LABEL_X, t6 as FLOW_VIEWBOX, Rr as FOLLOW_CHECK_KEY, Lr as FOLLOW_CREDENTIALS_KEY, R8 as FOLLOW_INITIAL_RANGE_OPTIONS, Ir as FOLLOW_MANAGE_KEY, JZ as FOLLOW_MANAGE_NAV, zr as FOLLOW_RESOLVE_KEY, pX as FOLLOW_SCHEDULE_KEY, G_e as Fact, W_e as FactList, $H as FieldLabel, I$ as Fieldset, F$ as FieldsetTitle, cpe as FilterGlass, DL as FilterGlassRows, EL as FilterIconButton, OL as FilterPill, V_e as Footer, nV as Gg, kL as GlassPill, lV as HN, ZH as Help, gV as HintText, NPe as IDLE_POLL_MS, $Ce as IDLE_REPAIR, SL as IconButton, qQ as IndexSearch, xV as Input, bV as InputBase, R$ as IssueRow, gM as JAV_LAYOUTS, B0 as JAV_RECOMMENDATION_GRID, zX as JUNK_KEY, RW as JavHeader, qCe as KEEP_LABELS, Hr as LAYOUTS, J1 as LIBRARY_FOLDER_HELP, fH as LIBRARY_PROCESSING_KEY, QY as LINKS_KEY, $Y as LINK_CHECK_KEY, Fwe as LINK_KINDS, eX as LINK_PRUNE_KEY, tr as LOC, hV as Label, V$ as LibraryProcessingCard, HV as LibraryShortcuts, OH as LinkButton, Xhe as Lo, HH as LoadingDots, Bhe as M6, Bwe as MEDIA_PROCESSING_KEY, gX as MEDIA_PROCESSING_URL, jY as MEDIA_REPAIR_KEY, AY as MEDIA_REPAIR_URL, vr as MEDIA_SOURCES_KEY, gs as MEDIA_SOURCE_ICONS, hn as MEDIA_SOURCE_OPTIONS, qV as MENU_ITEM, JV as MENU_ITEM_INTERACTIVE, KV as MENU_POPOVER_SURFACE, Qhe as Ma, MH as MenuDialog, SK as MixCard, SV as ModalFrame, Ex as MotionConfigContext, pV as NR, L$ as NameLink, wV as Note, hge as OA, yX as ORGANIZE_KEY, v2 as ORGANIZE_PARAMETER_HINT, _2 as ORGANIZE_SCOPE_HINT, g2 as ORGANIZE_TEXT, SX as ORPHAN_RECORDS_KEY, b2 as ORPHAN_RECORDS_TEXT, eV as OV, zB as P7, IX as PERFORMER_DELETE_KEY, Qve as PHASES, sX as PICK_FOLDER_URL, O$ as PLAIN_STAT_STRIP, U$ as PLAYLISTS_KEY, FAe as POLICY_COLUMNS, LAe as POLICY_COVER_NOTE, IAe as POLICY_MATRIX, q1 as POLICY_SUMMARY, aY as Pagination, B$ as PathLine, dV as Pf, ZI as PillTabList, $Oe as PlainStat, WH as Progress, IY as QUALITY_GOALS_KEY, uV as RB, TW as RELEASE_SORTS, A$ as REPAIR_CARD_TEXT, MY as REPAIR_LIBRARIES_KEY, DX as RESOURCE_APPLY_KEY, EX as RESOURCE_SCAN_KEY, y2 as RESOURCE_SYNC_TEXT, ake as RESULT_PANEL, oke as RESULT_SECTION, lwe as REVIEW_CATEGORIES, RX as REVIEW_COUNTS_KEY, fwe as REVIEW_DECISION_LABELS, zY as REVIEW_KEY, BY as REVIEW_LABELS, HY as REVIEW_QUEUES, UY as REVIEW_QUEUE_LABELS, qG as RetryNote, mge as Rf, mV as Rk, R_e as Rows, kke as SCRAPING_CHECK_URL, J$ as SCRAPING_COVER_URL, Y$ as SCRAPING_KEY, Oke as SCRAPING_SETTINGS_URL, bU as SEGMENT, yU as SEGMENTED_TRACK, fX as SETTINGS_KEY, cX as SETTINGS_URL, dr as SORT_DEFAULT_DIR, lr as SORT_OPTIONS, vn as SOURCE_LABELS, E3 as STATS_KEY, ZOe as STAT_STRIP, QOe as STAT_STRIP_SIX, L_e as Section, ske as SectionHeading, B_e as SectionSkeleton, vU as SegmentedRadioGroup, ove as SegmentedTabList, BG as Segments, iY as Select, rW as Select$1, p1 as SelectField, iW as SelectItem, mY as SelectionActions, Aj as SelectionDock, hY as SelectionPopover, YH as SettingsCard, I_e as SettingsRow, XH as SettingsSectionLabel, VG as Shuffle, Y_e as SiteLabel, yG as SortDirectionIcon, HG as SortKeys, OQ as SourceAvatar, iU as SourceLabel, tU as SourceMark, z_e as Stack, eke as StatCard, z$ as StatusLabel, dge as Su, i4 as Switch, oL as TASKS_KEY, SPe as TASTE_REFRESH_KEY, CPe as TASTE_WINDOWS, hX as THUMBNAIL_JOBS_KEY, VX as TRASH_KEY, Vfe as TRIGGER_LABELS, JJ as Table, gY as TableColumnControls, _Y as TableColumnResizer, yY as TableSelectionHeader, m$ as TagManager, U_e as TaskCenterLink, GH as TaskProgress, vV as TextField, _V as TextFieldContext, QB as Un, _W as WANTS_KEY, y4 as WantMagnets, Kg as WithPromise, UB as Wt, XB as Xc, fV as Xf, GB as Xl, WB as Xt, VB as _8, o as __commonJSMin, s as __exportAll, l as __toESM, pge as aB, Ti as addAlias, wi as addSource, yW as addWant, hS as animate, B as apiGet, V as apiSend, uM as appSettingsStore, OTe as applyConfirmText, FX as applyLeftovers, DTe as applyPlanText, ATe as applyText, mM as applyTheme, by as asNumber, gTe as attachOrphan, si as authorAvatar, li as authorGroups, oi as authorInitial, ai as authorName, Iq as autoResetPageIndex, go as avatarInner, M3 as bandRows, uTe as baseName, QCe as batchOperate, pue as beginPlayerGuidePreview, Fj as boundedPreference, YCe as bulkCloudPreferences, kV as busyProps, fge as cB, ZMe as cachedMagnetStates, Bg as calcGeneratorVelocity, ywe as canApprove, mg as cancelFrame, xTe as candidateText, VH as cardClass, kM as cardRatio, YB as cc, Wi as checkEvidenceGap, Ui as checkFailures, Pi as checkFeeds, zwe as checkLine, Vi as checkReceipt, Hi as checkSummary, Fke as checkText, Gi as checkedText, cK as clickedBlank, Z5 as closeDrawerAfterNav, VCe as cloudLocations, O0 as cloudProxySkeleton, JC as clsx, tge as cn, lv as collectMotionValues, nJ as columnVisibilityFeature, UJ as column_getCanSort, zJ as column_getSortFn, _we as commonReviewSources, Of as configurationSection, DPe as configureTasteBrowser, ol as confirmModal, zfe as controlTask, vq as copyInstancePropertiesWithoutMemos, co as coverUrl, qq as createColumnHelper, Ske as createPlaylist, Yi as credentialDone, w0 as credentialsSkeleton, Owe as currentReviewRow, q as cx, iV as dZ, Twe as decisionPayload, Ewe as decisionReceipt, wwe as defaultChoice, MTe as deletePerformerVideos, wke as deletePlaylist, x as diagnosticHeaders, K1 as diagnosticsSkeleton, NW as discoveryArtwork, OW as discoveryKey, EW as discoveryScore, a9 as disposeStage, GCe as distinctName, zi as dropSources, uge as du, XCe as duplicateVictims, pL as elapsedText, tn as entityDisplayName, ho as entityFaceImg, Nn as entityPath, ei as errorHeadline, cr as errorMessage, z as esc, Fq as expandRowModel, NB as f1, yo as facePos, $r as feedIntervalText, e1 as fetchAmaneBridge, _i as fetchCheckJob, u1 as fetchConfiguration, $$ as fetchCoverJob, gi as fetchCredentials, q$ as fetchCustomSources, LX as fetchDeletePerformers, jTe as fetchDeletePlan, KQ as fetchDiagnostics, kW as fetchDiscoveries, OY as fetchDuplicates, Ffe as fetchEarlier, Uwe as fetchFeedSchedule, ji as fetchFeeds, hi as fetchFollow, Hwe as fetchFollowSchedule, UX as fetchJunkSummary, bH as fetchLibraryProcessing, rX as fetchLinkCheck, iX as fetchLinkPrune, nX as fetchLinkStats, Vwe as fetchMediaProcessing, NY as fetchMediaRepair, yr as fetchMediaSources, bX as fetchOrganize, nTe as fetchOrganizeExample, CX as fetchOrphanRecords, Ai as fetchPending, W$ as fetchPlaylists, LY as fetchQualityGoals, MW as fetchReleases, PY as fetchRepairLibraries, vi as fetchResolveJob, kX as fetchResourceApply, OX as fetchResourceScan, YY as fetchReview, HX as fetchReviewCounts, _X as fetchSettings, Q$ as fetchSources, D3 as fetchStats, yi as fetchSuggestions, cL as fetchTasks, Q3 as fetchTaste, OPe as fetchTasteJob, Wwe as fetchThumbnailJobs, WX as fetchTrashSummary, vW as fetchWants, hwe as filterReviewRows, $n as firstGrapheme, eq as flexRender, UPe as flowGraph, WPe as flowLabel, HNe as fmtCount, qn as fmtDur, Yn as fmtSize, Pfe as foldByKind, Zfe as foldRoutine, Ii as followFeedByName, Vr as followSuggestKey, $fe as followupDetail, Nfe as followupTally, pg as frame, LB as g4, aJ as getDefaultPaginationState, OM as gridLayout, ci as groupByAuthor, Xfe as groupFollowups, KY as groupReviewRows, TTe as hasChanges, AX as hasResourceRoots, uL as hasResultProblems, PPe as historySpan, PB as i2, MPe as importTasteExport, T0 as indexersSkeleton, Ig as interpolate, xW as invalidateWants, fL as isActive, Qr as isBroken, Kr as isLayout, bv as isMotionValue, VY as isReviewCategory, Qfe as isRoutine, E0 as javBrowserSkeleton, H0 as javContentSkeleton, xM as javLayout, V0 as javTagSkeleton, LTe as junkBreakdown, Tke as keepPlaylist, ke as keepPreviousData, fi as keepSelected, O3 as known, Fhe as l7, Yfe as latestOfKind, Qn as leadingGraphemes, ePe as lengthRows, Sr as localTime, fo as logoUrl, Fi as lookupFeedActor, RB as m7, rV as mM, En as mapLimit, ki as markItem, N3 as max, QNe as mediumRows, Ife as mergeFinished, P3 as min, Nwe as mirrorText, nwe as missingToolText, kY as mixedCloudPreferences, _L as momentText, gS as motion, dv as motionValue, nn as nameFallback, He as notifyManager, Vhe as oe, fTe as organizeOutcome, i2 as overlayHost, qr as pageSizeOf, di as pageWindow, mr as paginationRange, Ri as patchSource, W as peachHistory, W as peachHistory$1, Cwe as pendingGenres, WNe as percentText, aTe as pickOrganizeFolder, D$ as plainStatClass, dTe as planSummary, k3 as playedFor, KNe as playedItemUrl, sL as pollInterval, Js as popCount, xke as posterUrl, rbe as previewLibraryColor, iTe as previewOrganize, awe as previewUrl, qfe as problemDestination, hH as processingActive, mL as progressText, rU as providerIcon, Rwe as pruneText, MX as purgeCount, _Te as purgeOrphan, oV as pv, lge as qE, H as queryClient, FB as r2, BPe as radarRows, YNe as radialArc, XNe as radialBarSize, JNe as radialCeiling, qNe as radialSlices, GN as randomId, RPe as rankDetail, zPe as rankShares, j3 as reachedShare, hL as readableErrorHeadline, DW as recommendationScore, kwe as recordGenre, yTe as recordsText, Eke as recreatePlaylist, yke as refreshPlaylists, Cl as relayoutCovers, AW as releaseFilters, jW as releaseKey, Bi as reloadFollowManage, Mwe as reloadReview, BAe as rememberShape, sTe as rememberTemplates, Ei as removeAlias, Ni as removeFeed, Ci as removeSource, jPe as removeTasteSource, bW as removeWants, Di as renameAliasGroup, Cke as renamePlaylist, Se as replaceEqualDeep, nPe as replayRows, re as require_jsx_runtime, A as require_react, N as require_react_dom, mq as require_with_selector, tye as resetWants, pr as resolveFollowSort, Ug as resolveStartTime, d_e as restartEffectText, bke as resumeAssetId, mwe as reviewGroupingOptions, GY as reviewQueueData, WY as reviewQueueOf, ITe as reviewSummary, gwe as reviewWindow, xwe as rowEvidence, JY as rowFieldName, fJ as rowPaginationFeature, NJ as rowSelectionFeature, KJ as rowSortingFeature, qY as rowSubject, Swe as rowTags, bwe as rowTitle, Mhe as s5, Oi as saveCredential, ETe as scanLine, Ywe as schedulePollInterval, CW as searchNote, vwe as selectReviewRange, pi as selectionState, Mi as setFeedEnabled, Si as setSourceEnabled, Mf as settingsPath, jwe as settleReviewRows, WCe as sharedNamePrefix, Ep as shellNavigate, E8 as showToast, zn as siteMarkUrl, Eq as skipFirstRun, YI as sortCx, Yr as sortLabel, yn as sourceDefaultCost, qi as sourceIconUrl, kTe as sourceMeta, zs as spinnerHtml, Pg as spring, DV as spriteGlyph, bi as startCheck, Iwe as startLinkCheck, Lwe as startLinkPrune, oTe as startOrganize, xi as startResolve, CTe as startResourceApply, STe as startResourceScan, APe as startTasteRefresh, XOe as statCardClass, Ufe as statusLabel, twe as statusLine, Zr as statusText, AM as storeJavLayout, Dwe as submitDecision, vL as summaryItems, Jq as tableFeatures, Dq as tableMemo, ui as tableRows, Kfe as taskIssues, Jfe as taskSubject, $3 as tasteDate, IPe as tasteDimensions, FPe as tasteHours, Z3 as tasteKey, TPe as tasteRefetchInterval, EPe as tasteTime, tL as textLang, R0 as tierPlaceholdersHtml, $m as time, Khe as tl, mi as toggleGroup, e6 as topScores, rge as um, Zhe as uo, kH as useAction, UZ as useBackgroundJob, YU as useClientUpdates, dm as useConstant, yL as useEntityNames, TL as useHorizontalScroller, fm as useIsomorphicLayoutEffect, sK as useLibraryTints, Ft as useMutation, eH as useOverlayScrollbar, Pt as useQuery, ae as useQueryClient, iS as useReducedMotion, Jwe as useRunSchedule, Kwe as useSaveFollowSchedule, vX as useSaveSettings, Xwe as useSaveThumbnailMode, qJ as useTable, uY as useTablePreferences, ML as useViewGlide, ZCe as victimBytes, qhe as vl, SW as wantName, GNe as watchNote, A3 as watchedShare, Dc as wireHorizontalScroller, cTe as withOrganizeJob, lve as writeJavQuery };
+nze($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, Pke as AMANE_BRIDGE_CHECK_URL, X$ as AMANE_BRIDGE_KEY, Fke as AMANE_BRIDGE_REBUILD_URL, or as ApiError, oW as ArtSlot, b2 as BATCH_DELETE_TEXT, J as Button, NL 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, aX as CONFIGURATION_URL, Ike 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, qH as CollapseChevron, KH as CollapseRegion, v$ as CollectionSummary, pwe as DEFAULT_CATEGORY, ur as DEFAULT_SORT, WQ as DIAGNOSTICS_KEY, fTe as DIRECTORY_TEMPLATE_ERROR, CW as DISCOVERY_SORTS, cW as DOWNLOADS_KEY, sW as DOWNLOADS_URL, TY as DUPLICATES_KEY, oY as DataTableFooter, nY as DataTableFrame, aY as DataTableSort, $H as Disclosure, Wve as DownloadsPanel, Bhe as E3, mwe as ENTITY_REVIEW_KINDS, J1 as ENTRY_LINKS_HELP, Y1 as ENTRY_LINKS_HINT, XB as Ea, bge as EmptyFocusButton, wV as EmptyState, ZH as ErrorText, U_e as ExternalLink, Br as FEEDS_KEY, pX as FEED_SCHEDULE_KEY, S$ as FIELDSET_FOOT, WPe as FLOW_LABEL_X, e6 as FLOW_VIEWBOX, Rr as FOLLOW_CHECK_KEY, Lr as FOLLOW_CREDENTIALS_KEY, L8 as FOLLOW_INITIAL_RANGE_OPTIONS, Ir as FOLLOW_MANAGE_KEY, qZ as FOLLOW_MANAGE_NAV, zr as FOLLOW_RESOLVE_KEY, fX as FOLLOW_SCHEDULE_KEY, K_e as Fact, G_e as FactList, QH as FieldLabel, F$ as Fieldset, P$ as FieldsetTitle, lpe as FilterGlass, EL as FilterGlassRows, TL as FilterIconButton, DL as FilterPill, H_e as Footer, tV as Gg, OL as GlassPill, cV as HN, XH as Help, hV as HintText, IPe as IDLE_POLL_MS, nwe as IDLE_REPAIR, xL as IconButton, KQ as IndexSearch, bV as Input, yV as InputBase, L$ as IssueRow, _M as JAV_LAYOUTS, z0 as JAV_RECOMMENDATION_GRID, RX as JUNK_KEY, LW as JavHeader, XCe as KEEP_LABELS, Hr as LAYOUTS, q1 as LIBRARY_FOLDER_HELP, dH as LIBRARY_PROCESSING_KEY, ZY as LINKS_KEY, QY as LINK_CHECK_KEY, Rwe as LINK_KINDS, $Y as LINK_PRUNE_KEY, tr as LOC, mV as Label, B$ as LibraryProcessingCard, VV as LibraryShortcuts, DH as LinkButton, Zhe as Lo, VH as LoadingDots, Vhe as M6, Uwe as MEDIA_PROCESSING_KEY, hX as MEDIA_PROCESSING_URL, AY as MEDIA_REPAIR_KEY, kY 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, xK as MixCard, xV as ModalFrame, Ox as MotionConfigContext, fV as NR, I$ as NameLink, CV as Note, gge as OA, vX as ORGANIZE_KEY, _2 as ORGANIZE_PARAMETER_HINT, g2 as ORGANIZE_SCOPE_HINT, h2 as ORGANIZE_TEXT, xX as ORPHAN_RECORDS_KEY, y2 as ORPHAN_RECORDS_TEXT, $B as OV, RB as P7, FX as PERFORMER_DELETE_KEY, $ve as PHASES, oX as PICK_FOLDER_URL, D$ as PLAIN_STAT_STRIP, H$ as PLAYLISTS_KEY, RAe as POLICY_COLUMNS, BAe as POLICY_COVER_NOTE, zAe as POLICY_MATRIX, K1 as POLICY_SUMMARY, iY as Pagination, z$ as PathLine, uV as Pf, XI as PillTabList, nke as PlainStat, UH as Progress, FY as QUALITY_GOALS_KEY, lV as RB, wW as RELEASE_SORTS, k$ as REPAIR_CARD_TEXT, jY as REPAIR_LIBRARIES_KEY, EX as RESOURCE_APPLY_KEY, TX as RESOURCE_SCAN_KEY, v2 as RESOURCE_SYNC_TEXT, cke as RESULT_PANEL, lke as RESULT_SECTION, fwe as REVIEW_CATEGORIES, LX as REVIEW_COUNTS_KEY, hwe as REVIEW_DECISION_LABELS, RY as REVIEW_KEY, zY as REVIEW_LABELS, VY as REVIEW_QUEUES, HY as REVIEW_QUEUE_LABELS, KG as RetryNote, hge as Rf, pV as Rk, z_e as Rows, Mke as SCRAPING_CHECK_URL, q$ as SCRAPING_COVER_URL, J$ as SCRAPING_KEY, jke as SCRAPING_SETTINGS_URL, yU as SEGMENT, vU as SEGMENTED_TRACK, dX as SETTINGS_KEY, sX as SETTINGS_URL, dr as SORT_DEFAULT_DIR, lr as SORT_OPTIONS, vn as SOURCE_LABELS, T3 as STATS_KEY, eke as STAT_STRIP, tke as STAT_STRIP_SIX, R_e as Section, uke as SectionHeading, V_e as SectionSkeleton, _U as SegmentedRadioGroup, sve as SegmentedTabList, zG as Segments, rY as Select, nW as Select$1, f1 as SelectField, rW as SelectItem, pY as SelectionActions, jj as SelectionDock, mY as SelectionPopover, JH as SettingsCard, L_e as SettingsRow, YH as SettingsSectionLabel, BG as Shuffle, X_e as SiteLabel, vG as SortDirectionIcon, VG as SortKeys, DQ as SourceAvatar, rU as SourceLabel, eU as SourceMark, B_e as Stack, rke as StatCard, R$ as StatusLabel, fge as Su, r4 as Switch, aL as TASKS_KEY, TPe as TASTE_REFRESH_KEY, EPe as TASTE_WINDOWS, mX as THUMBNAIL_JOBS_KEY, BX as TRASH_KEY, Hfe as TRIGGER_LABELS, qJ as Table, hY as TableColumnControls, gY as TableColumnResizer, vY as TableSelectionHeader, p$ as TagManager, W_e as TaskCenterLink, WH as TaskProgress, _V as TextField, gV as TextFieldContext, ZB as Un, gW as WANTS_KEY, v4 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, _S as animate, B as apiGet, V as apiSend, dM as appSettingsStore, jTe as applyConfirmText, PX as applyLeftovers, ATe as applyPlanText, NTe as applyText, hM as applyTheme, yy as asNumber, yTe as attachOrphan, si as authorAvatar, li as authorGroups, oi as authorInitial, ai as authorName, Fq as autoResetPageIndex, go as avatarInner, j3 as bandRows, pTe as baseName, twe as batchOperate, pue as beginPlayerGuidePreview, Ij as boundedPreference, QCe as bulkCloudPreferences, OV as busyProps, pge as cB, eNe as cachedMagnetStates, zg as calcGeneratorVelocity, Swe as canApprove, mg as cancelFrame, wTe as candidateText, BH as cardClass, AM as cardRatio, JB as cc, Wi as checkEvidenceGap, Ui as checkFailures, Pi as checkFeeds, Hwe as checkLine, Vi as checkReceipt, Hi as checkSummary, Rke as checkText, Gi as checkedText, sK as clickedBlank, X5 as closeDrawerAfterNav, WCe as cloudLocations, D0 as cloudProxySkeleton, XC as clsx, nge as cn, cv as collectMotionValues, tJ as columnVisibilityFeature, HJ as column_getCanSort, RJ as column_getSortFn, bwe as commonReviewSources, Of as configurationSection, APe as configureTasteBrowser, ol as confirmModal, Bfe as controlTask, _q as copyInstancePropertiesWithoutMemos, co as coverUrl, Kq as createColumnHelper, Tke as createPlaylist, Yi as credentialDone, C0 as credentialsSkeleton, jwe as currentReviewRow, q as cx, rV as dZ, Owe as decisionPayload, kwe as decisionReceipt, Dwe as defaultChoice, FTe as deletePerformerVideos, Dke as deletePlaylist, x as diagnosticHeaders, G1 as diagnosticsSkeleton, MW as discoveryArtwork, DW as discoveryKey, TW as discoveryScore, a9 as disposeStage, JCe as distinctName, zi as dropSources, dge as du, $Ce as duplicateVictims, fL as elapsedText, tn as entityDisplayName, ho as entityFaceImg, Nn as entityPath, ei as errorHeadline, cr as errorMessage, z as esc, Pq as expandRowModel, MB as f1, yo as facePos, $r as feedIntervalText, $$ as fetchAmaneBridge, _i as fetchCheckJob, l1 as fetchConfiguration, Q$ as fetchCoverJob, gi as fetchCredentials, K$ as fetchCustomSources, IX as fetchDeletePerformers, PTe as fetchDeletePlan, GQ as fetchDiagnostics, OW as fetchDiscoveries, DY as fetchDuplicates, Ife as fetchEarlier, Kwe as fetchFeedSchedule, ji as fetchFeeds, hi as fetchFollow, Gwe as fetchFollowSchedule, HX as fetchJunkSummary, yH as fetchLibraryProcessing, nX as fetchLinkCheck, rX as fetchLinkPrune, tX as fetchLinkStats, Wwe as fetchMediaProcessing, MY as fetchMediaRepair, yr as fetchMediaSources, yX as fetchOrganize, aTe as fetchOrganizeExample, SX as fetchOrphanRecords, Ai as fetchPending, U$ as fetchPlaylists, IY as fetchQualityGoals, jW as fetchReleases, NY as fetchRepairLibraries, vi as fetchResolveJob, OX as fetchResourceApply, DX as fetchResourceScan, JY as fetchReview, VX as fetchReviewCounts, gX as fetchSettings, Z$ as fetchSources, E3 as fetchStats, yi as fetchSuggestions, sL as fetchTasks, Z3 as fetchTaste, jPe as fetchTasteJob, qwe as fetchThumbnailJobs, UX as fetchTrashSummary, _W as fetchWants, vwe as filterReviewRows, $n as firstGrapheme, $K as flexRender, KPe as flowGraph, qPe as flowLabel, GNe 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, iJ as getDefaultPaginationState, kM as gridLayout, ci as groupByAuthor, Zfe as groupFollowups, GY as groupReviewRows, OTe as hasChanges, kX as hasResourceRoots, lL as hasResultProblems, LPe as historySpan, NB as i2, FPe as importTasteExport, w0 as indexersSkeleton, Fg as interpolate, bW as invalidateWants, dL as isActive, Qr as isBroken, Kr as isLayout, yv as isMotionValue, BY as isReviewCategory, $fe as isRoutine, T0 as javBrowserSkeleton, V0 as javContentSkeleton, SM as javLayout, B0 as javTagSkeleton, BTe as junkBreakdown, Oke as keepPlaylist, ke as keepPreviousData, fi as keepSelected, D3 as known, Ihe as l7, Xfe as latestOfKind, Qn as leadingGraphemes, rPe as lengthRows, Sr as localTime, fo as logoUrl, Fi as lookupFeedActor, LB as m7, nV as mM, En as mapLimit, ki as markItem, M3 as max, tPe as mediumRows, Lfe as mergeFinished, N3 as min, Iwe as mirrorText, awe as missingToolText, OY as mixedCloudPreferences, gL as momentText, vS as motion, uv as motionValue, nn as nameFallback, He as notifyManager, Hhe as oe, hTe as organizeOutcome, r2 as overlayHost, qr as pageSizeOf, di as pageWindow, mr as paginationRange, Ri as patchSource, W as peachHistory, W as peachHistory$1, Ewe as pendingGenres, qNe as percentText, cTe as pickOrganizeFolder, E$ as plainStatClass, mTe as planSummary, O3 as playedFor, YNe as playedItemUrl, oL as pollInterval, Js as popCount, wke as posterUrl, ibe as previewLibraryColor, sTe as previewOrganize, cwe as previewUrl, Jfe as problemDestination, mH as processingActive, pL as progressText, nU as providerIcon, Vwe as pruneText, jX as purgeCount, bTe as purgeOrphan, aV as pv, uge as qE, H as queryClient, PB as r2, UPe as radarRows, QNe as radialArc, $Ne as radialBarSize, ZNe as radialCeiling, XNe as radialSlices, GN as randomId, VPe as rankDetail, HPe as rankShares, A3 as reachedShare, mL as readableErrorHeadline, EW as recommendationScore, Mwe as recordGenre, STe as recordsText, kke as recreatePlaylist, Ske as refreshPlaylists, Cl as relayoutCovers, kW as releaseFilters, AW as releaseKey, Bi as reloadFollowManage, Fwe as reloadReview, UAe as rememberShape, uTe as rememberTemplates, Ei as removeAlias, Ni as removeFeed, Ci as removeSource, PPe as removeTasteSource, yW as removeWants, Di as renameAliasGroup, Eke as renamePlaylist, Se as replaceEqualDeep, aPe as replayRows, re as require_jsx_runtime, A as require_react, N as require_react_dom, pq as require_with_selector, nye as resetWants, pr as resolveFollowSort, Hg as resolveStartTime, f_e as restartEffectText, Cke as resumeAssetId, _we as reviewGroupingOptions, WY as reviewQueueData, UY as reviewQueueOf, zTe as reviewSummary, ywe as reviewWindow, wwe as rowEvidence, qY as rowFieldName, dJ as rowPaginationFeature, MJ as rowSelectionFeature, GJ as rowSortingFeature, KY as rowSubject, Twe as rowTags, Cwe as rowTitle, Nhe as s5, Oi as saveCredential, kTe as scanLine, Qwe as schedulePollInterval, SW as searchNote, xwe as selectReviewRange, pi as selectionState, Mi as setFeedEnabled, Si as setSourceEnabled, Mf as settingsPath, Pwe as settleReviewRows, qCe as sharedNamePrefix, Ep as shellNavigate, T8 as showToast, zn as siteMarkUrl, Tq as skipFirstRun, JI as sortCx, Yr as sortLabel, yn as sourceDefaultCost, qi as sourceIconUrl, MTe as sourceMeta, zs as spinnerHtml, Ng as spring, EV as spriteGlyph, bi as startCheck, zwe as startLinkCheck, Bwe as startLinkPrune, lTe as startOrganize, xi as startResolve, ETe as startResourceApply, TTe as startResourceScan, NPe as startTasteRefresh, $Oe as statCardClass, Wfe as statusLabel, iwe as statusLine, Zr as statusText, jM as storeJavLayout, Awe as submitDecision, _L as summaryItems, qq as tableFeatures, Eq as tableMemo, ui as tableRows, qfe as taskIssues, Yfe as taskSubject, Q3 as tasteDate, zPe as tasteDimensions, RPe as tasteHours, X3 as tasteKey, OPe as tasteRefetchInterval, kPe as tasteTime, eL as textLang, L0 as tierPlaceholdersHtml, $m as time, qhe as tl, mi as toggleGroup, $3 as topScores, ige as um, Qhe as uo, OH as useAction, HZ as useBackgroundJob, JU as useClientUpdates, dm as useConstant, vL as useEntityNames, wL as useHorizontalScroller, fm as useIsomorphicLayoutEffect, oK as useLibraryTints, Ft as useMutation, $V as useOverlayScrollbar, Pt as useQuery, ae as useQueryClient, oS as useReducedMotion, Zwe as useRunSchedule, Ywe as useSaveFollowSchedule, _X as useSaveSettings, $we as useSaveThumbnailMode, KJ as useTable, lY as useTablePreferences, jL as useViewGlide, ewe as victimBytes, Jhe as vl, xW as wantName, JNe as watchNote, k3 as watchedShare, Dc as wireHorizontalScroller, dTe as withOrganizeJob, uve as writeJavQuery };
-//# debugId=4006446c-3b4e-43a9-ad45-5938cc7eaa09
\ No newline at end of file
+//# debugId=7d829557-e258-4971-94f9-1007f04e0f01
\ No newline at end of file