Skip to content

armgit / peach

Public Imported from GitHub
0

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

fix(web): 统一筛选栏按钮尺寸与动作样式

longmeidaobbca4edb702d
diff --git a/docs/BOARD_UI.md b/docs/BOARD_UI.md
index 5d65058a7..007f3d3c0 100644
--- a/docs/BOARD_UI.md
+++ b/docs/BOARD_UI.md
@@ -14,6 +14,8 @@ Tree View 直接使用上游的目录图标、层级线、32px 紧凑行、键
窄屏的首页、资料页与关注页筛选栏按整行横滚;作品与关注卡片按实际文字和标签定高,空标签区不占行。Note 按容器宽度排列正文和操作,补全提示使用两层结构:说明及带右箭头的详情链接、下一行补全按钮。玻璃材质沿用既有实现。
+筛选栏按钮统一为 viewglide 分段控件的 30px 高度,纯图标键为 30×30px。收藏入口与换一批复用同一个 BoardUI IconButton 包装件,采用中性玻璃表面、16px 图标与相同的悬停和忙态。
+
## 任务记录、诊断与关注概览
任务中心的一轮任务使用独立卡面,失败时卡框使用错误色,结束原因保留正文色。运行进度、后继任务明细、例行任务折叠、历史分页和轮询共用现有数据状态。
diff --git a/frontend/e2e/catalog-filter.test.ts b/frontend/e2e/catalog-filter.test.ts
index 807750a40..19e86ace0 100644
--- a/frontend/e2e/catalog-filter.test.ts
+++ b/frontend/e2e/catalog-filter.test.ts
@@ -97,6 +97,22 @@ describe('首页筛选条', () => {
it(`${viewport.name} 筛选条件与作品卡片悬停面保持间距`, { timeout: 60_000 }, async () => {
const opened = await openHome(browser, '/?studio=Peach%20Studio', viewport);
try {
+ await opened.page.mouse.move(0, 0);
+ const controls = await opened.page.locator(`${FILTER} [data-filter-glass]`).evaluate(frame => {
+ const candidates = [...frame.querySelectorAll('button,a[aria-pressed],[data-glass-segment]')]
+ .filter(node => node.getBoundingClientRect().width > 0 && node.getBoundingClientRect().height > 0);
+ const actions = ['[data-shortcuts-trigger]', '[data-entity-batch]'].map(selector => {
+ const node = frame.querySelector(selector)!;
+ const style = getComputedStyle(node), rect = node.getBoundingClientRect();
+ return { width: rect.width, height: rect.height, background: style.backgroundImage,
+ color: style.color, border: style.border, shadow: style.boxShadow, radius: style.borderRadius };
+ });
+ return { heights: candidates.map(node => ({ label: node.getAttribute('aria-label') || node.textContent,
+ height: node.getBoundingClientRect().height })), actions };
+ });
+ for (const control of controls.heights) assert.equal(control.height, 30, JSON.stringify(control));
+ assert.deepEqual(controls.actions[0], controls.actions[1]);
+ assert.equal(controls.actions[0].width, 30);
const gap = await opened.page.evaluate(() => document.querySelector('#grid [data-media-card]')!.getBoundingClientRect().top
- document.querySelector('#combo [data-entity-combo]')!.getBoundingClientRect().bottom - 8);
assert.ok(gap >= 16, `筛选条件距卡片悬停面只有 ${gap}px`);
diff --git a/frontend/src/react/catalog-filter/catalog-filter.css b/frontend/src/react/catalog-filter/catalog-filter.css
index 77be1da27..16c57efc9 100644
--- a/frontend/src/react/catalog-filter/catalog-filter.css
+++ b/frontend/src/react/catalog-filter/catalog-filter.css
@@ -250,12 +250,6 @@
color: color-mix(in srgb, var(--glass-text) 80%, transparent);
}
-/* 触屏上 30px 不够一枚指尖:视图与标签放到 36px,这一排跟着长到 52px。下排的排序键归资料页那一条。 */
-@media (pointer: coarse) {
- .peach-react [data-catalog-frame] > [data-filter-row="top"] { height: 52px; }
- .peach-react :is([data-catalog-view], [data-catalog-tag]) { height: 36px; }
- .peach-react [data-catalog-tags] > [data-skeleton="tag"] { height: 36px; }
-}
/* ── 下排 ──
* 读数照 `10,471 个符合` 写:12px 等宽、常规字重,颜色比标签低一档。其余控件同资料页那一排。 */
diff --git a/frontend/src/react/components/filter-glass.tsx b/frontend/src/react/components/filter-glass.tsx
index c06896457..847181471 100644
--- a/frontend/src/react/components/filter-glass.tsx
+++ b/frontend/src/react/components/filter-glass.tsx
@@ -7,9 +7,22 @@
* 悬停换成 `--glass-rim` 边加 `--glass-pick-fill` 底——玻璃上的键不是 BoardUI 那种实心按钮。 */
import { useRef, type ReactNode, type Ref } from 'react';
import { cx } from '@/utils/cx';
+import { IconButton, type IconButtonProps } from '@/components/base/buttons/icon-button';
+import { spinnerHtml } from '@peach/legacy/ui';
import { useStuck } from './use-stuck';
+const BusyIcon = ({ className }: { className?: string }) => <span aria-hidden className={className}
+ dangerouslySetInnerHTML={{ __html: spinnerHtml('正在处理') }} />;
+
+/** 筛选栏动作使用与分段视图相同的尺寸和中性玻璃表面。 */
+export function FilterIconButton({ label, icon, busy = false, onPress, ...props }:
+ Omit<IconButtonProps, 'aria-label' | 'size' | 'onClick'> & { label: string; busy?: boolean; onPress(): void }) {
+ return <IconButton {...props} data-filter-action="" size="small" icon={busy ? BusyIcon : icon}
+ aria-label={label} title={props.title || label} aria-busy={busy || undefined} aria-disabled={busy || undefined}
+ onClick={() => { if (!busy) onPress() }} />;
+}
+
export function FilterGlass({ title, children }: { title: string; children: ReactNode }) {
const glass = useRef<HTMLDivElement>(null);
useStuck(glass);
diff --git a/frontend/src/react/entity-filter/entity-filter-page.tsx b/frontend/src/react/entity-filter/entity-filter-page.tsx
index 917db06e8..9592d39f4 100644
--- a/frontend/src/react/entity-filter/entity-filter-page.tsx
+++ b/frontend/src/react/entity-filter/entity-filter-page.tsx
@@ -10,9 +10,8 @@
import { useEffect, useRef, useState, type RefObject } from 'react';
import { Radio, RadioGroup } from 'react-aria-components';
import { icon } from '@peach/legacy/core';
-import { spinnerHtml } from '@peach/legacy/ui';
-import { FilterGlassRows, FilterPill } from '../components/filter-glass';
+import { FilterGlassRows, FilterIconButton, FilterPill } from '../components/filter-glass';
import { LibraryShortcuts } from '../library-shortcuts/shortcut-controls';
import { SEGMENTED_GLASS_TRACK, SEGMENT_GLASS } from '../components/segmented';
import { spriteGlyph } from '../components/sprite-glyph';
@@ -265,9 +264,7 @@ export function Segments({ name, label, value, options, onChange }: {
export function Shuffle({ onPress, busy = false }: { onPress(): void; busy?: boolean }) {
return (
- <button type="button" data-entity-batch="" title="换一批" aria-label="换一批" aria-busy={busy || undefined}
- aria-disabled={busy || undefined} onClick={() => { if (!busy) onPress() }}
- dangerouslySetInnerHTML={{ __html: busy ? spinnerHtml('正在换一批') : icon('shuffle') }} />
+ <FilterIconButton data-entity-batch="" label="换一批" busy={busy} icon={spriteGlyph('shuffle')} onPress={onPress} />
);
}
diff --git a/frontend/src/react/entity-filter/entity-filter.css b/frontend/src/react/entity-filter/entity-filter.css
index 6174b9bf9..001a2297c 100644
--- a/frontend/src/react/entity-filter/entity-filter.css
+++ b/frontend/src/react/entity-filter/entity-filter.css
@@ -75,8 +75,8 @@
}
.peach-react [data-media-view] svg {
display: block;
- width: 20px;
- height: 20px;
+ width: 16px;
+ height: 16px;
fill: none;
stroke: currentColor;
stroke-width: 2;
@@ -243,39 +243,6 @@
margin-left: 5px;
}
-.peach-react [data-entity-batch] {
- display: inline-grid;
- flex: 0 0 auto;
- place-items: center;
- width: 36px;
- height: 30px;
- min-height: 30px;
- border-radius: 7px;
- background: var(--board-blue);
- box-shadow: var(--elevation-xs);
- color: #fff;
- font-size: 12px;
- font-weight: 600;
- cursor: pointer;
-}
-.peach-react [data-entity-batch]:hover {
- background: var(--board-blue-hover);
- color: #fff;
-}
-.peach-react [data-entity-batch] svg {
- width: 16px;
- height: 16px;
- fill: none;
- stroke: currentColor;
- stroke-width: 2;
-}
-.peach-react [data-entity-batch][aria-busy="true"] { cursor: wait; }
-/* 等新的一批时换批键自己画那两条交叉箭头,动效写在 `#i-shuffle` 的两条线上(`12-cards.css`),
- 忙态只负责把两个自定义属性传下去。 */
-.peach-react [data-filter-row="bottom"][aria-busy="true"] [data-entity-batch] svg {
- --strand-dash: 100;
- --strand-cycle: 2.2s;
-}
/* 分段器两侧各让 6px,跟换一批和排序键分开:它答的是「这批东西怎么摆」,不是同一排里的又一枚键。 */
.peach-react [data-entity-layout] { flex: none; gap: 2px; margin: 0 6px; }
@@ -284,10 +251,6 @@
backdrop-filter: var(--glass-pick);
}
-/* 触屏上这一排的键放到 36px 高,下排跟着长到 52px,同首页浮层那条。 */
-@media (pointer: coarse) {
- .peach-react :is([data-entity-sort], [data-entity-batch]) { height: 36px; }
-}
/* 图集里的「全部照片」:高度跟同一排的排序键对齐,那圈线和字色跟着玻璃取。 */
.peach-react [data-photo-back] {
diff --git a/frontend/src/react/follow-feed/follow-feed.css b/frontend/src/react/follow-feed/follow-feed.css
index fda17d352..b253cae66 100644
--- a/frontend/src/react/follow-feed/follow-feed.css
+++ b/frontend/src/react/follow-feed/follow-feed.css
@@ -157,13 +157,13 @@
}
/* 关注页这块浮层的药丸间距同首页(`03-filterbar.css` 的 `.viewpills`、`.tagscroll`)是 7px,资料页收到 6px。 */
.peach-react [data-follow-filter-glass] :is([data-entity-scroll], [data-entity-states], [data-entity-tags]) { gap: 7px; }
-/* 来源键只有站点图标,是一枚 34px 宽的药丸。 */
+/* 来源键与视图控件使用同一尺寸。 */
.peach-react button[data-follow-provider] {
display: inline-flex;
flex: none;
align-items: center;
justify-content: center;
- width: 34px;
+ width: 30px;
height: 30px;
padding: 0;
border: 1px dashed var(--glass-low);
diff --git a/frontend/src/react/library-shortcuts/shortcut-controls.tsx b/frontend/src/react/library-shortcuts/shortcut-controls.tsx
index 2f67ae578..5a4d72639 100644
--- a/frontend/src/react/library-shortcuts/shortcut-controls.tsx
+++ b/frontend/src/react/library-shortcuts/shortcut-controls.tsx
@@ -5,6 +5,7 @@ import { Input } from '@/components/base/input/input';
import { errorMessage } from '../../api';
import { ModalFrame } from '../components/modal-frame';
import { Note } from '../components/note';
+import { FilterIconButton } from '../components/filter-glass';
import { EmptyState } from '../components/empty-state';
import { spriteGlyph } from '../components/sprite-glyph';
import { SettingsDialogClose } from '../components/settings-dialog-close';
@@ -47,8 +48,8 @@ function FavoriteChoice({ item }: { item: Favorite }) {
export function LibraryShortcuts({ currentHref, kind }: { currentHref?: () => string; kind?: string }) {
const [open, setOpen] = useState(false);
return <>
- <span data-shortcuts-entry=""><button type="button" data-shortcuts-trigger="" aria-label="我的收藏" title="我的收藏"
- aria-haspopup="dialog" aria-expanded={open} onClick={() => setOpen(true)}><Star aria-hidden /></button></span>
+ <span data-shortcuts-entry=""><FilterIconButton data-shortcuts-trigger="" label="我的收藏" icon={Star}
+ aria-haspopup="dialog" aria-expanded={open} onPress={() => setOpen(true)} /></span>
<ModalFrame isOpen={open} onOpenChange={setOpen} width="collections" label="我的收藏">
{open ? <ShortcutContents currentHref={currentHref} kind={kind} close={() => setOpen(false)} /> : null}
</ModalFrame>
diff --git a/frontend/src/react/library-shortcuts/shortcuts.css b/frontend/src/react/library-shortcuts/shortcuts.css
index 91c09331d..a904ec743 100644
--- a/frontend/src/react/library-shortcuts/shortcuts.css
+++ b/frontend/src/react/library-shortcuts/shortcuts.css
@@ -18,10 +18,6 @@
.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] { display: inline-flex; flex: none; }
-.peach-react [data-shortcuts-trigger] { display: grid; flex: none; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--border-10); border-radius: var(--control-radius); background: var(--surface); color: var(--muted); cursor: pointer; }
-.peach-react [data-shortcuts-trigger]:hover { background: var(--hover); }
-.peach-react [data-shortcuts-trigger]:focus-visible { outline: 2px solid var(--tungsten); outline-offset: 2px; }
-.peach-react [data-shortcuts-trigger] svg { width: 16px; height: 16px; fill: none; stroke: currentColor; }
.peach-react [data-modal-width="collections"] { flex: none; width: 871px; max-width: calc(100vw - 32px); background: var(--page); border-color: var(--line); }
.peach-react [data-modal-width="collections"] > [role="dialog"] { flex: 1; }
.peach-react [data-modal-kind="collections"] { transition: none; }
diff --git a/frontend/src/react/styles.css b/frontend/src/react/styles.css
index bbfeab3af..bf0690b2b 100644
--- a/frontend/src/react/styles.css
+++ b/frontend/src/react/styles.css
@@ -384,6 +384,18 @@
box-shadow: inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);
}
+.peach-react [data-filter-glass] :is(button, a[aria-pressed], [data-glass-segment]) { height: 30px; min-height: 30px; }
+.peach-react button[data-filter-action] {
+ width: 30px; min-width: 30px; height: 30px; min-height: 30px; padding: 0; border: 0;
+ border-radius: var(--control-radius);
+ 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);
+ color: var(--glass-text);
+}
+.peach-react button[data-filter-action]:hover { background: linear-gradient(180deg, var(--glass-sheen), transparent 62%), color-mix(in srgb, var(--glass-text) 8%, var(--glass-pick-fill)); color: var(--glass-text); }
+.peach-react button[data-filter-action] svg { width: 16px; height: 16px; }
+.peach-react button[data-filter-action][aria-busy="true"] { cursor: wait; }
+
/* 浮层上动作键(`components/filter-glass.tsx` 的 `GlassPill`)指上去的那一下:同一副料,
* 细线让给整圈 rim,落影把它从浮层上托起来,跟首页筛选条上滑到指针下的那块一样。那一档
* `backdrop-filter` 提亮写在 `web/board.css`:构建会把标准属性折成 Chromium 不认的前缀写法。 */
diff --git a/web/dist/peach-app.css b/web/dist/peach-app.css
index 8d12041c1..5c5a15477 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-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-200:oklch(89.9% .061 343.231);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-normal:0em;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-headline-semibold:1rem;--text-headline-semibold--line-height:1.375rem;--text-headline-semibold--letter-spacing:0;--text-headline-semibold--font-weight:600;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.-inset-y-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-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.-bottom-px{bottom:-1px}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-2{z-index:2}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.ms-auto{margin-inline-start: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-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-2{margin-left:calc(var(--spacing) * -2)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-40{height:calc(var(--spacing) * 40)}.h-56{height:calc(var(--spacing) * 56)}.h-60{height:calc(var(--spacing) * 60)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-3\/4{width:75%}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-26{width:calc(var(--spacing) * 26)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-1\/2{max-width:50%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-56{max-width:calc(var(--spacing) * 56)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-28{min-width:calc(var(--spacing) * 28)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-48{min-width:calc(var(--spacing) * 48)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-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}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.\[scrollbar-width\:none\]{scrollbar-width:none}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0{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-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-\(--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-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--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{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-\(--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-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-blue-300{background-color:var(--color-blue-300)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-lime-200{background-color:var(--color-lime-200)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-pink-200{background-color:var(--color-pink-200)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-start{text-align:start}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-headline-semibold{font-size:var(--text-headline-semibold);line-height:var(--tw-leading,var(--text-headline-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-semibold--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.text-\[10px\]{font-size:10px}.text-\[18px\]{font-size:18px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-\[15px\]{--tw-leading:15px;line-height:15px}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.break-words{overflow-wrap:break-word}.wrap-anywhere{overflow-wrap:anywhere}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-\(--muted\){color:var(--muted)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-blue-900{color:var(--color-blue-900)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-lime-700{color:var(--color-lime-700)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-pink-500{color:var(--color-pink-500)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-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-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[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-\[width\,height\,font-size\]{transition-property:width,height,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.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-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-outside\:-right-3\.5[data-outside]{right:calc(var(--spacing) * -3.5)}.data-outside\:-bottom-3\.5[data-outside]{bottom:calc(var(--spacing) * -3.5)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[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-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:hidden{display:none}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:mr-auto{margin-right:auto}.max-sm\:flex{display:flex}.max-sm\:hidden{display:none}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-48{height:calc(var(--spacing) * 48)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:w-full{width:100%}.max-sm\:min-w-0{min-width:0}.max-sm\:flex-1{flex:1}.max-sm\:shrink{flex-shrink:1}.max-sm\:basis-0{flex-basis:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.max-sm\:flex-wrap{flex-wrap:wrap}.max-sm\:items-center{align-items:center}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}.max-sm\:text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.max-sm\:text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row{flex-direction:row}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:hidden{display:none}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:w-60{width:calc(var(--spacing) * 60)}}@container (width>=36rem){.\@xl\:flex-row{flex-direction:row}.\@xl\:items-center{align-items:center}.\@xl\:justify-between{justify-content:space-between}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar{display:none}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:16px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default;-webkit-user-select:none;user-select:none}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{--pic-radius:0px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px);--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags) + 23px);min-height:0;margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{align-content:start;min-height:2.7em}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-text]{gap:3px}body[data-surface=\/trash] .peach-react [data-media-text]>[data-media-tags]{margin-top:0}body[data-surface=\/trash] .peach-react button[data-media-title]{flex-direction:column;justify-content:flex-start;align-items:stretch;display:flex}.peach-react [data-media-title-text]{max-height:2.7em;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:calc(2lh + 2px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);--card-meta-block:calc(var(--fs-md) * 2.7 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react :is([data-media-pic],[data-mix-cover]){--pic-radius:var(--surface-radius);clip-path:inset(0 round var(--pic-radius));-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:var(--pic-radius);pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) :is([data-media-badge],[data-media-duration],[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}}@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:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react :is(button,a)[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:0;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;overflow-wrap:anywhere;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-jav-item]:not([data-variant=next]) [data-media-meta]{--card-meta-byline:calc(2lh + 2px)}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-align:left;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;align-items:center;gap:4px;padding:0;display:inline-flex;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react [data-media-who]>span{text-overflow:ellipsis;overflow:hidden}.peach-react :is([data-media-release],[data-media-size]){white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.peach-react [data-media-byline] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:14px;height:14px}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-media-why]{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{flex:1 1 0}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-text]>[data-media-tags]{margin-top:6px}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>: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;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-text]>[data-media-tags]{margin-top:-4px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}body[data-surface=\/trash] .peach-react [data-media-text]{height:var(--card-meta-block)}body[data-surface=\/trash] .peach-react [data-media-byline]{flex-wrap:nowrap;flex:none;height:20px;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-size]{white-space:nowrap;flex:none}body[data-surface=\/trash] .peach-react [data-media-tags]{height:calc(var(--card-meta-tags) - 3px);flex-wrap:nowrap;flex:none;overflow:hidden}.peach-react [data-media-disposal-reason]{height:20px;color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;flex:none;line-height:20px;overflow:hidden}.peach-react [data-pending-delete] [data-media-duration]{top:10px;bottom:auto}.peach-react [data-pending-delete] :is([data-media-preview],[data-media-later],[data-media-seek]){display:none}.peach-react [data-media-operation-error]{z-index:7;border-radius:var(--badge-radius);background:var(--ground);color:var(--drop);font-size:var(--fs-xs);overflow-wrap:anywhere;padding:8px;position:absolute;bottom:48px;left:10px;right:10px}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);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{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;margin:-8px;padding:8px;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 + 8px));padding-left:calc(var(--railW) + 32px + 8px)}}.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)}@media (width<=760px){body .peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;min-height:0}body[data-density] .peach-react [data-media-card]:not([data-variant=next]) [data-media-text],body[data-surface=\/trash] .peach-react [data-media-text]{flex-direction:column;height:auto;display:flex}body[data-density] .peach-react [data-media-card]:not([data-variant=next]) [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}body[data-density] .peach-react [data-media-card]:not([data-variant=next]) [data-media-byline],body[data-density] .peach-react [data-media-card]:not([data-variant=next]) [data-media-tags]{flex-wrap:wrap;height:auto}}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:30px;color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-junk-filters] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters]{height:60px}.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-junk-actions]{container-type:inline-size}@container (width<=340px){.peach-react [data-junk-actions] button[data-junk-action]{gap:4px;padding-inline:6px}.peach-react [data-junk-actions] button>svg{display:none}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{width:max-content;max-width:100%;max-height:calc(var(--portrait-size) + 64px);align-self:stretch;align-items:center;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-portrait][data-native-clamp=true] img{object-fit:cover}.peach-react [data-entity-portrait=round] img{object-position:50% 25%}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=classification]{white-space:nowrap;flex:none}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;gap:4px;min-width:0;margin:0;display:grid}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-pop-name]{display:grid}.peach-react [data-hero-pop] small{color:var(--muted);font-size:var(--fs-xs);line-height:1.4}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);overflow-wrap:anywhere;margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{box-sizing:border-box;text-overflow:ellipsis;max-width:100%;padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px;overflow:hidden}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:where(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:30px;color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react [data-entity-filter-glass] [data-entity-readout]{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{flex:none;width:14px;height:14px;margin-left:5px}.peach-react [data-entity-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.peach-react [data-photo-back]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react [data-entity-filter-glass] [data-entity-readout]{flex:none}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 24px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:30px;color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (pointer:coarse){.peach-react [data-catalog-frame]>[data-filter-row=top]{height:52px}.peach-react :is([data-catalog-view],[data-catalog-tag]),.peach-react [data-catalog-tags]>[data-skeleton=tag]{height:36px}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-summary]{flex:none;align-items:center;gap:12px;display:flex}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{border-radius:var(--tag-radius);background:var(--hover);flex:none;width:72px;height:30px}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=ui-imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}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 .folder-tree-scroller{max-height:calc(100dvh - var(--folder-sticky-top,calc(var(--topH) + 16px)) - 72px)}#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%}.folder-crumb-name{text-overflow:ellipsis;max-width:180px;display:block;overflow:hidden}.folder-tree-scroller{max-height:calc(100dvh - var(--topH) - 124px);overscroll-behavior:contain;overflow:auto}.folder-drawer-trigger{display:none}.peach-react button[data-folder-mode-toggle]{border-radius:var(--control-radius);width:30px;height:30px;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){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:18px;height:18px;stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option=more]{justify-content:space-between;margin-top:7px}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0;font-size:10px}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-recommendations] [data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-recommendations] [data-search-option=work]>[data-search-pic]{width:100%}.peach-react [data-search-recommendations] [data-search-col]>[data-search-group] [data-search-items]:has([data-search-option=work]){grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option=work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-recommendations] [data-search-results][data-split]{grid-template-columns:minmax(0,.32fr) minmax(0,.68fr)}.peach-react [data-search-recommendations] [data-search-results][data-split]:before{left:calc(32% + 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:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none;text-decoration:none}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-follow-works]>button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:34px;height:30px;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:30px;height:30px;color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]:not([data-follow-wall])>[data-media-card]{align-self:stretch}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]:has(>[data-media-card]){row-gap:0}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);grid-template-rows:auto auto;grid-template-columns:38px minmax(0,1fr);align-content:start;align-items:start;gap:12px 10px;display:grid}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-text]{flex-direction:column;gap:6px;height:auto;margin:0;padding:0;display:flex}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-follow-labels]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px)}.peach-react [data-follow-labels]{grid-column:1/-1}.peach-react [data-follow-item] [data-media-meta]>[data-follow-labels]{pointer-events:none}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block)}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1;pointer-events:none}.peach-react [data-follow-visual] :is([data-media-check],[data-media-badge]){pointer-events:auto}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react .follow-site-initial{border-radius:var(--badge-radius);background:var(--overlay-5);width:18px;height:18px;color:var(--muted);font:600 11px/1 var(--board-font);place-items:center;display:inline-grid}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img{background:var(--sunk);object-fit:cover}.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-image] [data-mix-face] img{object-fit:cover}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{height:auto;position:static}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){container-type:inline-size}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{object-fit:cover;max-height:250cqi}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;transition:opacity .15s;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e}.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]{border-radius:var(--badge-radius);object-fit:contain;vertical-align:-2px;width:14px;height:14px;margin-right:5px}.peach-react [data-follow-edition]{color:var(--ink-2);margin-right:6px}.peach-react [data-follow-edition=wip]{color:var(--meter)}.peach-react [data-follow-edition=has-wip]{color:var(--muted)}.peach-react [data-follow-edition=voiced]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-edition=voiced]{background:color-mix(in srgb, var(--keep) 16%, transparent)}}.peach-react [data-follow-edition=silent]{color:var(--muted);border-style:dashed}.peach-react [data-follow-sources]{z-index:2;gap:4px;max-width:calc(100% - 120px);display:flex;position:absolute;top:6px;left:6px}.peach-react [data-follow-sources] [data-media-badge]{flex:none;position:static}.peach-react [data-follow-sources]>[data-follow-badges]{flex:0 auto}.peach-react [data-follow-sources] [data-follow-seealso-label]{display:none}.peach-react [data-follow-seealso]{border:1px dashed var(--border-15);border-radius:var(--badge-radius);color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.peach-react [data-follow-seealso] [data-follow-site-icon]{margin:0}.peach-react [data-follow-sources] [data-follow-seealso]{border-radius:var(--control-radius);background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);pointer-events:auto;border:0;padding:4px}.peach-react [data-follow-sources] [data-follow-site-icon]{width:18px;height:18px}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}@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-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-queue] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-queue] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{width:30px;min-width:0;height:30px;margin:calc((var(--fs-lg) * 1.5 - 30px) / 2) 0;flex:none}.peach-react [data-follow-detail] :is([data-follow-origin],[data-follow-resources] a) svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-detail-credit]{overflow-wrap:anywhere;color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-follow-detail] [data-follow-detail-credit]>span{display:block}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;overflow-wrap:anywhere;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-detail-summary][data-clamped]{-webkit-line-clamp:8;line-clamp:8;-webkit-box-orient:vertical;flex-shrink:0;display:-webkit-box;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]:has(+[data-follow-summary-toggle]){margin-bottom:4px}.peach-react [data-follow-detail] [data-follow-summary-toggle]{flex-shrink:0;align-self:flex-start;margin:0 0 16px -8px}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{max-width:none;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--tag-color);overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border:1px solid color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-radius:var(--tag-radius);background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{color:var(--ink-2);font:inherit;font-size:var(--fs-xs);text-align:left;text-overflow:clip;white-space:normal;cursor:pointer;line-height:1.45}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-placeholder]{aspect-ratio:16/9;place-items:center;padding:16px;display:grid}.peach-react [data-item-gallery]{flex-direction:column;justify-content:center;align-items:center;display:flex}.peach-react [data-item-gallery]>[class~=video-js]{flex:none;order:0}.peach-react [data-item-gallery]>[data-carousel-below]{flex:none;order:1}.peach-react [data-item-gallery]:not([data-item-picture])>[data-jav-preview-toggle]{left:64px}.peach-react [data-item-gallery][data-item-picture]>:is([class~=video-js],video,[data-item-gate],#playerStatsBtn,#playerStats,#playerNet,[data-ambient-canvas]){display:none}.peach-react [data-catalog-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-item-gallery][data-item-picture]>[role=note]{margin:24px}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-mix-queue] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-mix-queue] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-mix-queue] [data-queue-edition]{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:50%;font-style:normal;overflow:hidden}.peach-react [data-mix-queue] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-mix-queue] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-mix-queue] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-mix-queue] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-mix-queue] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-mix-queue] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:top;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer]{--id-cell:58px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer] [data-id-row]{gap:10px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][hidden]{display:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][data-entity-kind]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-cast-more]{align-self:center;margin:0}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;max-width:100%;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related]>h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:16px;margin:-24px -16px -4px;padding:32px 16px 16px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-item-related] [data-related-state]{min-width:0}.peach-react [data-jav-detail] [data-jav-art]{flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:260px;display:flex;position:relative}.peach-react [data-jav-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-jav-picture-wait]{place-items:center;min-height:300px;padding:24px;display:grid}.peach-react [data-jav-picture-wait] [class~=skeleton-sheen]{width:100%;min-height:260px}.peach-react [data-jav-info]{min-width:0}.peach-react [data-jav-info]>*{flex-shrink:0}.peach-react [data-jav-info] p{overflow-wrap:anywhere}.peach-react [data-jav-facts]{color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;gap:8px 16px;margin-bottom:18px;display:flex}.peach-react [data-jav-facts]:empty{display:none}.peach-react [data-jav-facts] span{overflow-wrap:anywhere}.peach-react [data-jav-detail] [data-jav-actions]{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;display:flex}.peach-react [data-jav-rating] [data-rate]{cursor:default}.peach-react [data-jav-rating] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-jav-video]{width:100%;position:relative}.peach-react [data-jav-video]>[class~=video-js]{aspect-ratio:16/9;width:100%;height:auto;max-height:calc(76vh - 112px)}.peach-react [data-jav-video]>[role=note]{margin:16px}.peach-react [data-jav-preview-toggle]{z-index:5;border-radius:var(--pill-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:8px 12px;display:inline-flex;position:absolute;top:16px;left:16px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-jav-art][data-jav-playing]{flex-direction:column}.peach-react [data-jav-reviews],.peach-react [data-jav-resources]{flex-direction:column;gap:12px;margin-bottom:18px;display:flex}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary{min-height:var(--control-h);width:100%;font-size:var(--fs-md);gap:8px;font-weight:600}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary svg{flex:none;width:18px;height:18px}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary .contents svg{stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-review]{border-top:1px solid var(--line-soft);font-size:var(--fs-sm);padding-top:12px}.peach-react [data-jav-review-meta]{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.peach-react [data-jav-review] time{color:var(--muted)}.peach-react [data-jav-rating] [data-rating-icon]{width:19px;height:19px;display:block;position:relative}.peach-react [data-jav-rating] [data-rating-icon] svg{display:block;position:absolute;inset:0}.peach-react [data-jav-rating] [data-rating-fill]{position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-jav-rating] [data-rating-fill] svg{fill:currentColor;max-width:none}.peach-react [data-item-detail] [data-review-rating]{margin:0}.peach-react [data-review-rating] [data-rating-stars]{margin-left:0}.peach-react [data-review-rating] [data-rating-icon],.peach-react [data-review-rating] [data-rate],.peach-react [data-review-rating] [data-rate] svg{width:16px;height:16px}.peach-react [data-review-rating] [data-rating-value]{display:none}@media (width>=761px){.peach-react [data-jav-detail]>[data-stage-side]{min-height:0}.peach-react [data-jav-detail] [data-stage-side-content]{max-height:none}}@media (width>=1081px){.peach-react [data-jav-detail]{grid-template-rows:minmax(0,1fr)}}.peach-react [data-jav-info]{overflow-anchor:none}.peach-react [data-jav-review] p:last-child,.peach-react [data-jav-summary]{white-space:pre-wrap}.peach-react [data-jav-failure]{min-height:260px;padding:48px 24px;position:relative}@media (width<=640px){.peach-react [data-jav-detail] [data-jav-art]{min-height:220px}}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-missing]{aspect-ratio:4/3;border-radius:var(--surface-radius);color:#ffffff9e;width:min(480px,80vw);font-size:var(--fs-sm);background:#ffffff0f;place-items:center;display:grid}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (width<=400px){.peach-react [data-photo-zoom] input{display:none}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-person-ring][data-native-clamp=true] img{object-fit:cover}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}video.video-js{vertical-align:top;font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{display:none}[data-stage-media] .video-js:not(:has(.vjs-peach-bezel)) .vjs-control-bar{visibility:hidden}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:#28282899;border-radius:0;width:100%;height:6px;margin:0;transition:transform .2s cubic-bezier(.05,0,0,1);transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-holder,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-holder{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1);position:absolute;top:50%;right:-6px;transform:translateY(-50%)scaleY(1.5)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-play-progress:before,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-play-progress:before{transform:translateY(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{aspect-ratio:16/9;border-radius:var(--floating-radius);background:#000;border:2px solid #fff;width:240px;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);color:#fff;min-width:17px;height:12px;font-size:var(--fs-xs);transform-origin:100% 0;background:#f03;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;border-radius:var(--floating-radius);width:min(274px,100vw - 28px);max-height:min(420px,100vh - 130px);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:35px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 0!important}.vjs-peach-option-check{place-items:center;width:35px;height:24px;display:grid}.vjs-peach-option-check svg{fill:currentColor;stroke:none;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:cover!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none;width:18px;height:18px}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage]{--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - 32px)}[data-stage][data-stage-kind]:is([data-stage-kind=item],[data-stage-kind=jav])>[data-stage-scroll]{height:100%;max-height:100%;display:block;overflow:hidden auto}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:76dvh;--detail-gallery-height:calc(var(--detail-media-height) - 116px)}@media (width>=1081px){[data-stage][data-stage-kind=jav]{--detail-media-height:calc(100dvh - 34px)}[data-stage][data-stage-kind=item]{--detail-media-height:clamp(300px,calc(100dvh - 294px),76dvh)}}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:var(--detail-media-height);flex:none}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]) [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage] [data-skeleton=detail] [data-stage-media]{aspect-ratio:auto;width:100%;max-width:100%;max-height:none}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr) 116px;grid-template-columns:minmax(0,1fr);place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery])>:is([data-jav-picture],[data-catalog-picture],[data-jav-picture-wait],[data-jav-video],[class~=video-js],[role=note]){min-height:0;max-height:var(--detail-gallery-height);height:var(--detail-gallery-height);object-fit:contain;grid-area:1/1;width:100%}[data-item-samples-state]{z-index:2;position:absolute;bottom:44px;right:16px}[data-stage] :is([data-jav-art],[data-item-gallery])>[data-carousel-below]{box-sizing:border-box;grid-area:2/1;align-self:end;min-width:0}[data-stage] [data-jav-video]{place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-video]>[class~=video-js],[data-item-gallery]>[class~=video-js]){width:min(100%,calc(var(--detail-gallery-height) * 16 / 9));height:auto;max-height:var(--detail-gallery-height);aspect-ratio:16/9}@media (width<=1080px){[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:min(56dvh,calc(56.25vw + 116px))}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:auto}}@media (width<=760px){[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - env(safe-area-inset-top) - 16px)}}body[data-detail-open]{--glow-drift-play:paused;overflow:hidden}body[data-detail-open] [class~=glowlayer]:before{animation-play-state:paused,paused,running}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);max-height:360px}[data-detail-continuation] [data-mix-queue-actions] [data-queue-close]{display:none}[data-detail-continuation]{--detail-card-width:216px;background:var(--detail-surface);flex:none;grid-template-columns:minmax(0,1fr);min-width:0;display:grid}[data-detail-continuation]:empty{display:none}[data-detail-continuation]>[data-item-related]{min-width:0}@media (width>=1081px){[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related]){grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="2"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) * 2 + 38px)) minmax(0,1fr)}[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related])>:is([data-mix-queue],[data-item-related]){grid-template-rows:subgrid;grid-row:span 2;row-gap:0;display:grid}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue]{grid-column:1}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related]{border-left:1px solid var(--line-soft);padding-top:14px}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related] h3{align-self:start;margin:0;padding-bottom:11px}[data-detail-continuation]:has(>[data-mix-queue])>[data-item-related]{grid-column:2}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue] [data-mix-list]{padding-top:8px}}[data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width)}[data-detail-continuation]:has(>[data-mix-queue]) [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;clip-path:inset(0 round var(--badge-radius));background:#000;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-detail-continuation]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-list]{grid-auto-flow:column;grid-auto-columns:var(--detail-card-width);overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-detail-continuation]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-detail-continuation]>[data-mix-queue] [data-mix-item]:hover,[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-pic]{width:100%}[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]:after{content:"";z-index:1;border-radius:var(--badge-radius);box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px var(--ground);pointer-events:none;position:absolute;inset:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-detail-continuation]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:minmax(0,max-content) max-content minmax(0,1fr);gap:5px 8px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);overflow-wrap:anywhere;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-detail-continuation]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:nowrap;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]){border-radius:var(--control-radius);background:var(--surface);border:0;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]) svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]{color:var(--ink-2)}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]:hover{background:var(--hover)}[data-stage-side-content] [data-stage-actions] button:disabled{background:var(--surface);color:var(--muted);cursor:not-allowed}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}[data-stage][data-theater]{--detail-gallery-height:var(--detail-media-height)}[data-stage][data-theater] [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage][data-theater] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr)}[data-stage][data-theater] :is([data-media-carousel][data-carousel-below],[data-item-samples-state]){display:none}[data-stage][data-theater] [data-stage-scroll] :is([data-stage-media]>.video-js,[data-stage-media]>video,[data-jav-video]>.video-js){aspect-ratio:auto;width:100%;height:100%;max-height:none}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;padding:0 10px var(--glowrow-pad) 0;gap:0;min-width:0;margin-right:16px;display:grid}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{gap:0;min-width:0;display:grid}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-group]>h4{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-xs);align-items:center;margin:0;font-weight:600;display:flex}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:600}[data-settings-panel] [data-glow-field] [class~=ui-dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop]{min-width:0;position:relative}[data-settings-panel] [data-glow-stop]+[data-glow-stop]:before{content:"";background:linear-gradient(to right,var(--line-soft),transparent);height:1px;position:absolute;top:0;left:54px;right:6px}[data-settings-panel] [data-glow-stop-toggle]{width:100%;min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 7px var(--glowrow-pad) 8px;border-radius:var(--floating-radius);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle]:hover{background:color-mix(in srgb,var(--ink) 3.2%,transparent)}}[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:color-mix(in srgb,var(--ink) 4.6%,transparent)}}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:14px;height:14px;color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:600}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{gap:0;display:grid;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding-top:var(--glowrow-pad);justify-content:flex-end;display:flex}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{border-radius:var(--control-radius);min-width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{stroke:currentColor;fill:none;width:17px;height:17px}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row]{grid-template-columns:1fr;gap:9px}[data-settings-panel] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=ui-pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0 16px 0 0!important;padding:10px 12px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}: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{fill:currentColor;stroke:none;flex:none;width:20px;height:20px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}: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]{box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){: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-settings-scroll] [data-setting-row]{grid-template-columns:1fr;gap:12px}[data-settings-panel] [data-settings-scroll] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:16px}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:1fr;gap:10px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{width:100%}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:1}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:100%}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr) auto;gap:12px}}@media (width<=420px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr);gap:8px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting])>:last-child{justify-self:end}}@media (width<=760px){[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]:after{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:16px}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}: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-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-dragging]{opacity:.38}[data-sidebar-nav] button[data-drop=before]:before,[data-sidebar-nav] button[data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-sidebar-nav] button[data-drop=before]:before{top:-3px}[data-sidebar-nav] button[data-drop=after]:after{bottom:-3px}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{flex-direction:column;gap:3px;margin-bottom:18px;display:flex}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{z-index:95;opacity:0;pointer-events:none;transition:opacity .18s,display .18s allow-discrete;background:#0000006b;display:none;position:fixed;inset:0}[data-sidebar-scrim][class~=on]{opacity:1;pointer-events:auto;display:block}@starting-style{[data-sidebar-scrim][class~=on]{opacity:0}}[data-sidebar-group]{border-top:1px solid var(--line-soft);margin-bottom:13px;padding-top:11px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{flex-wrap:wrap;gap:4px;display:flex}[data-sidebar-chip] img,[data-sidebar-chip]>svg{border-radius:var(--badge-radius);object-fit:contain;flex:none;width:14px;height:14px}[data-sidebar-source-icon]{object-fit:contain;min-width:16px;opacity:1!important;filter:none!important;width:16px!important;height:16px!important;display:block!important}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2px}[data-sidebar-chip]{padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);cursor:pointer;font-size:var(--fs-xs);background:0 0;align-items:center;gap:6px;display:inline-flex}[data-sidebar-chip]:hover{color:var(--ink)}[data-sidebar-chip][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip]{color:#d2703f;border-color:#d2703f44}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip][aria-pressed=true]{background:#d2703f22;border-color:#d2703f}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip]{color:#6c9bd6;border-color:#6c9bd644}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip][aria-pressed=true]{background:#6c9bd622;border-color:#6c9bd6}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip]{color:var(--muted);border-color:var(--line)}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip][aria-pressed=true]{background:var(--hover);border-color:var(--ink-2);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip]{color:#7fbf7f;border-color:#7fbf7f44}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip][aria-pressed=true]{background:#7fbf7f22;border-color:#7fbf7f}[data-sidebar-chip] [data-sidebar-count]{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}[data-sidebar-cost]{border-radius:50%;flex:none;width:5px;height:5px}[data-sidebar-cost=free]{background:var(--keep)}[data-sidebar-cost=metered]{background:var(--meter)}[data-sidebar-duration]{padding:3px 2px 8px}[data-sidebar-range]{--lo:0%;--hi:100%;height:28px;position:relative}[data-sidebar-range-base],[data-sidebar-range-fill]{border-radius:var(--pill-radius);background:var(--line);height:4px;position:absolute;top:12px;left:0;right:0}[data-sidebar-range-fill]{left:var(--lo);right:calc(100% - var(--hi));background:var(--ink)}[data-sidebar-range] input{pointer-events:none;appearance:none;background:0 0;width:100%;height:28px;margin:0;position:absolute;inset:0}[data-sidebar-range] input::-webkit-slider-thumb{appearance:none;background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:16px;height:16px;transition:box-shadow .12s}[data-sidebar-range] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--hover)}[data-sidebar-range] input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--tungsten);outline-offset:2px}[data-sidebar-range] input::-moz-range-thumb{background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:14px;height:14px}[data-sidebar-chip][data-offline]{opacity:.42;cursor:not-allowed;text-decoration:none}[data-sidebar-chip][data-offline] [data-sidebar-count]{text-decoration:none}html[data-theme-snapshot] :is([data-sidebar-drawer],[data-sidebar-glide]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--ground)!important;transition:none!important}[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}:root:not([data-glow-native]) [data-sidebar-drawer][data-sidebar-drawer]{--glass-drift-a:none;--glass-drift-b:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide][hidden]{display:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:-1;border-radius:10px}[data-sidebar-nav] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}[data-sidebar-nav] button:active{transition:scale 60ms ease-out;scale:.96}[data-sidebar-drawer][data-sidebar-drawer]{border-radius:26px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]){color:var(--glass-text)}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true],[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--glass-text);filter:none;box-shadow:none;background:0 0}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:hover{color:var(--glass-text);background:0 0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{animation:none}}html[class~=board-high-contrast] [data-sidebar-drawer][data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}[data-sidebar-drawer]{box-shadow:0 12px 40px var(--sidebar-drop)}body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;width:272px;transition:none;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 16px));box-shadow:0 2px 4px #00000003}[data-sidebar-drawer][class~=open]{transform:none;box-shadow:0 2px 4px #00000003}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{border-radius:10px;gap:12px;height:40px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px}[data-sidebar-drawer] [data-sidebar-nav] svg{width:18px;height:18px;margin:0}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]{background:var(--board-blue);color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{color:var(--ink);align-items:center;gap:10px;margin-right:auto;text-decoration:none;display:flex}[data-sidebar-drawer] #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer] #brandHome h1{letter-spacing:.02em;font-size:20px}[data-sidebar-drawer] #brandHome [class~=sub]{display:none}@media (width<=760px){body[class~=drawer-open]{--railW:0px}[data-sidebar-drawer]{z-index:97;border-radius:20px;width:min(320px,100vw - 24px);top:64px;bottom:12px}[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:var(--ground)}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:color-mix(in srgb,var(--ground) 86%,transparent)}}[data-sidebar-scrim][class~=on]{display:block;top:56px}}@media (width>=761px){html>body{transition:padding-left var(--board-motion)}}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{background:0 0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}[data-sidebar-drawer] [data-sidebar-head] #filterBtn svg{width:20px;height:20px;margin:0}[data-sidebar-drawer] [data-sidebar-head]{gap:8px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button span{white-space:nowrap;opacity:1;filter:blur();min-width:0;max-width:190px;transition:max-width var(--board-motion),opacity var(--board-motion),filter var(--board-motion);overflow:hidden}@media (width>=761px){[data-sidebar-drawer][data-sidebar-drawer]{width:60px;transition:width var(--board-motion);border-radius:24px;transform:none}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{width:260px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{gap:8px;min-width:36px;padding:8px}[data-sidebar-drawer] [data-sidebar-nav] button svg{flex:none;width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{opacity:0;filter:blur(4px);max-width:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse}[data-sidebar-drawer]:not([class~=open]) #brandHome{margin:0}[data-sidebar-drawer]:not([class~=open]) #brandHome h1{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{height:20px}}@media (width<=760px){[data-sidebar-drawer][data-sidebar-drawer]{z-index:102;transition:transform var(--board-dialog-motion);top:12px;bottom:12px;transform:translate(calc(-100% - 16px))}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{transform:translate(0)}[data-sidebar-scrim][data-sidebar-scrim][class~=on]{z-index:101;visibility:hidden;background:0 0;top:0}[data-sidebar-scrim][data-sidebar-scrim][class~=on]:before{content:"";visibility:visible;background:#0007;position:absolute;inset:0}}[data-sidebar-drawer][data-sidebar-drawer]{flex-direction:column;display:flex;overflow:hidden}[data-sidebar-drawer] [data-sidebar-scroll]{scrollbar-width:none;flex:1;min-height:0}[data-sidebar-drawer] [data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-drawer] [class~=ovtrack]{display:none}[data-sidebar-drawer] #brandHome{border-radius:24px;flex:1;min-width:0}[data-sidebar-drawer] #brandHome h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}[data-sidebar-head] [class~=mark]{background:var(--picked);color:var(--ink-2);border-radius:50%;place-items:center;display:grid}[data-sidebar-head] [class~=mark]>svg,[data-sidebar-head] [class~=mark]>img{object-fit:contain;fill:none;stroke:currentColor;width:24px;height:24px}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [class~=board-library-chevron]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse;min-height:80px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:36px;display:grid}[data-sidebar-drawer]:not([class~=open]) #brandHome{flex:none;justify-content:center;gap:0;width:36px;height:36px}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{justify-content:center;width:36px;height:36px;min-height:36px;padding:8px}}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]{border:0;margin:4px 0 0;padding:0}[data-sidebar-toggle]{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;padding:8px;display:flex}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{background:0 0;border-radius:0;place-items:center;display:grid}[data-sidebar-head] [class~=mark] svg,[data-sidebar-drawer] [data-sidebar-nav] button svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-home-logo]{object-fit:contain;flex:none;width:24px;height:24px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;order:2;width:14px;height:14px;margin-left:auto;transform:rotate(0)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{flex-direction:column;gap:2px;padding-left:8px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{width:100%;min-width:0;min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;gap:8px;padding:8px;font-size:14px;font-weight:400;line-height:20px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{background:var(--surface);color:var(--muted);border-radius:4px;flex:none;margin-left:auto;padding:1px 4px;font-size:12px;line-height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{flex:none;width:16px;height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-home-logo]{width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.iconswap{flex:none;place-items:center;line-height:1;display:inline-grid}.iconswap>[data-icon]{transition:opacity var(--motion-swap),filter var(--motion-swap),transform var(--motion-swap);grid-area:1/1;place-items:center;display:grid}.iconswap[data-icon-state=a]>[data-icon=a],.iconswap[data-icon-state=b]>[data-icon=b]{opacity:1;filter:blur();transform:scale(1)}.iconswap[data-icon-state=a]>[data-icon=b],.iconswap[data-icon-state=b]>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}@keyframes digit-pop-in{0%{opacity:0;filter:blur(2px);transform:translateY(8px)}to{opacity:1;filter:blur();transform:none}}.digits{align-items:baseline;display:inline-flex}.digits>span{white-space:pre;display:inline-block}.digits.popping>span{animation:digit-pop-in var(--motion-count) both;animation-delay:calc(var(--motion-stagger) * var(--digit-at,0))}.skelreveal:not(dialog){position:relative}.skelreveal>.skelfade{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}.skelreveal.revealing>.skelfade{opacity:0;filter:blur(2px)}.skelreveal>:not(.skelfade){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes skel-reveal-in{0%{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur()}}@keyframes check-settle{0%{opacity:0;filter:blur(10px);transform:rotate(80deg)}to{opacity:1;filter:blur();transform:rotate(0)}}@keyframes check-bob{0%{translate:0 14px}to{translate:0}}@keyframes check-draw{0%{stroke-dashoffset:24px}to{stroke-dashoffset:0}}[data-toast-glyph=draw]>svg{stroke-dasharray:24;animation:check-settle var(--board-motion) backwards, check-bob calc(var(--spring-press-ms)*1ms) var(--spring-press) backwards, check-draw var(--board-motion) var(--motion-stagger) backwards}@keyframes clear-dissolve{to{opacity:0;filter:blur(2px);transform:translateY(-12px)}}.cleardissolve{z-index:2;white-space:nowrap;pointer-events:none;color:inherit;animation:clear-dissolve var(--motion-reveal) forwards;align-items:center;display:flex;position:absolute;overflow:hidden}.cleardissolve>[data-dissolve-value]{will-change:transform;min-width:max-content;display:block}.countbadge{transition:transform var(--motion-pop), opacity var(--motion-pop),filter var(--motion-pop);display:inline-block}.countbadge.popped{opacity:0;filter:blur(2px);transition:none;transform:scale(0)}.revealline{opacity:0;filter:blur(3px);transition:none;transform:translateY(12px)}.revealline.revealing{opacity:1;filter:blur();transition:opacity var(--motion-reveal),transform var(--motion-reveal),filter var(--motion-reveal);transition-delay:calc(var(--motion-stagger) * var(--reveal-at,0));transform:none}@property --edge-pull{syntax:"<length>";inherits:true;initial-value:0}.edgepull>*{translate:var(--edge-pull) 0}svg.ui-externalmark{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center;width:1.15em;height:1.15em}.ui-javidentity{vertical-align:baseline;white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.ui-javcode{letter-spacing:.01em;font-weight:600}.ui-javtitle{font-weight:400}[data-feed-id] .ui-javidentity{min-width:0;max-width:100%}[data-feed-id] .ui-javcode{text-overflow:ellipsis;min-width:0;overflow:hidden}@keyframes geist-spinner-opacity{0%{opacity:1}to{opacity:.15}}.ui-geist-spinner{color:currentColor;flex:none;width:16px;height:16px;display:inline-block;position:relative}.ui-geist-spinner>i{border-radius:var(--pill-radius);transform-origin:1px 7px;width:2px;height:4px;transform:rotate(var(--spinner-angle));animation:geist-spinner-opacity 1s linear var(--spinner-delay) infinite;background:currentColor;position:absolute;top:1px;left:7px}@keyframes geist-loading-dot{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.ui-geist-loading{min-width:0;color:var(--muted);align-items:center;gap:8px;display:inline-flex}.ui-geist-loading-dots{flex:none;align-items:center;gap:3px;display:inline-flex}.ui-geist-loading-dots>i{background:currentColor;border-radius:50%;width:4px;height:4px;animation:1.2s ease-in-out infinite geist-loading-dot}.ui-geist-loading-dots>i:nth-child(2){animation-delay:.15s}.ui-geist-loading-dots>i:nth-child(3){animation-delay:.3s}.ui-geist-badge{box-sizing:border-box;border-radius:var(--badge-radius);background:var(--hover);height:20px;color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;justify-content:center;align-items:center;padding:0 6px;font-weight:500;line-height:1;display:inline-flex}.ui-geist-progress{border-radius:var(--pill-radius);background:var(--line-soft);height:8px;margin-top:7px;overflow:hidden}.ui-geist-progress i{width:var(--progress-value);border-radius:inherit;background:var(--tungsten);height:100%;display:block}.ui-geist-progress{position:relative}.ui-geist-progress i{background:var(--progress-color,var(--feedback-success))}@media (prefers-reduced-motion:no-preference){.ui-geist-progress i{transition:width .2s ease-out,background-color .2s ease-out}}.ui-emptystate{box-sizing:border-box;text-align:center;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-column:1/-1;align-content:center;justify-items:center;gap:8px;width:100%;min-height:320px;padding:48px 24px;display:grid}.ui-emptystate .ui-es-icon{box-sizing:border-box;border-radius:var(--floating-radius);border:1px solid var(--border-15);width:54px;height:54px;color:var(--muted);place-items:center;margin-bottom:8px;padding:10px;display:grid}.ui-emptystate .ui-es-icon svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:32px;height:32px}.ui-emptystate .ui-es-copy{justify-items:center;gap:8px;display:grid}.ui-emptystate h3{font-size:var(--fs-md);color:var(--ink);margin:0;font-weight:600}.ui-emptystate p{max-width:340px;font-size:var(--fs-sm);color:var(--muted);margin:0;line-height:1.55}.ui-emptystate .ui-es-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.ui-pcheck{cursor:pointer;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative}.ui-pcheck input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.ui-pcheck>span{box-sizing:border-box;border:1px solid var(--border-15);border-radius:var(--badge-radius);background:var(--ground);color:#0000;place-items:center;width:16px;height:16px;transition:all .14s;display:grid}.ui-pcheck>span svg{stroke:currentColor;fill:none;stroke-width:2.5px;width:13px;height:13px;display:block}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{background:var(--hover)}.ui-pcheck input:checked+span{border-color:var(--ink-2);color:var(--ink)}.ui-pcheck input:focus-visible+span{outline:2px solid var(--tungsten);outline-offset:2px}.ui-pcheck input:disabled+span{cursor:not-allowed;border-color:var(--line)}.ui-pcheck input:disabled:checked+span{color:var(--muted)}.ui-pcheck:has(input:disabled){cursor:not-allowed}.ui-pcheck:has(input:disabled)>span{background:var(--ground)}[data-layout=masonry]>.ui-emptystate{column-span:all}.ui-pcheck{vertical-align:middle;align-self:center}.ui-pcheck>span{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:16px;height:16px;box-shadow:var(--elevation-xs);border-radius:4px;transition:background .15s,border-color .15s,box-shadow .15s;position:relative}.ui-pcheck input:is(:checked,:indeterminate)+span{color:#fff;background:var(--board-blue);border-color:#0000;box-shadow:inset 0 1px #ffffff40,0 1px 2px #0450e229}.ui-pcheck input:indeterminate+span svg{visibility:hidden}.ui-pcheck input:indeterminate+span:after{content:"";background:#fff;border-radius:1px;width:8px;height:2px;position:absolute;top:6px;left:3px}.ui-pcheck input:disabled+span{opacity:.5}.ui-pcheck>span svg{stroke-width:2px;width:14px;height:14px}.ui-pcheck:hover>span{border-color:var(--color-border-button-hover)}input[type=checkbox]:not([data-toggle]):not(.ui-pcheck input):not(.peach-react input){accent-color:var(--color-accent-600);vertical-align:middle;flex:none;width:16px;height:16px;margin:0}.ui-pcheck>span{border-color:var(--color-border-checkbox-default);box-shadow:var(--elevation-xs);transition:background-color .15s,border-color .15s,box-shadow .15s}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{border-color:var(--color-border-checkbox-hover);background:var(--color-background-primary-default)}.ui-pcheck input:is(:checked,:indeterminate)+span{background:var(--board-blue);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}.ui-pcheck:hover input:is(:checked,:indeterminate)+span,label:hover>.ui-pcheck input:is(:checked,:indeterminate)+span{background:linear-gradient(#60a5fa,#3b82f6);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}@keyframes board-check-draw{0%{stroke-dashoffset:23px}to{stroke-dashoffset:0}}.ui-pcheck>span svg{stroke-dasharray:23;stroke-dashoffset:0}.ui-pcheck input:checked+span svg{animation:.2s cubic-bezier(.65,0,.35,1) forwards board-check-draw}@media (prefers-reduced-motion:reduce){.ui-pcheck input:checked+span svg{stroke-dashoffset:0;animation:none}}.ui-project-banner{--feedback-color:var(--muted);border-block:1px solid var(--feedback-color);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;min-height:40px;padding:8px 24px;display:flex}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{border-block:1px solid color-mix(in srgb,var(--feedback-color) 30%,var(--ground))}}.ui-project-banner{background:var(--feedback-color)}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{background:color-mix(in srgb,var(--feedback-color) 5%,var(--ground))}}.ui-project-banner{color:var(--feedback-color);font-size:var(--fs-md);line-height:20px}.ui-project-banner>div{align-items:center;gap:8px;min-width:0;display:flex}.ui-project-banner p{overflow-wrap:anywhere;margin:0}.ui-project-banner>div>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.ui-project-banner>a{color:inherit;text-underline-offset:5px;flex:none;font-weight:500;text-decoration:underline}.ui-project-banner-error{--feedback-color:var(--drop)}.ui-project-banner-warning{--feedback-color:var(--meter)}.ui-project-banner-success{--feedback-color:var(--feedback-success)}@media (width<=600px){.ui-project-banner{justify-content:flex-start}.ui-project-banner>a{margin-left:auto}}.ui-geist-gauge{vertical-align:middle;flex:none;width:32px;height:32px;margin-inline-end:8px;display:inline-flex}.ui-geist-gauge svg{fill:none;stroke-width:3px;width:100%;height:100%}.ui-geist-gauge circle:first-child{stroke:var(--line-soft)}.ui-geist-gauge circle:last-child{stroke:var(--feedback-success);transform-origin:50%;transform:rotate(-90deg)}.ui-geist-progress-stop{background:var(--ground);width:2px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.ui-geist-gauge[data-level=warning] circle:last-child{stroke:var(--meter)}.ui-geist-gauge[data-level=error] circle:last-child{stroke:var(--drop)}.ui-gauge-status{font-size:var(--fs-xs);margin-inline-end:8px}@media (prefers-reduced-motion:no-preference){.ui-geist-gauge circle:last-child{transition:stroke-dasharray .2s ease-out,stroke .2s ease-out}}.ui-dial{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.ui-dial-slider{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;align-items:center;min-width:0;height:30px;display:flex;position:relative}.ui-dial-track{border-radius:var(--pill-radius);background:var(--ink);width:100%;height:20px;position:relative}@supports (color:color-mix(in lab, red, red)){.ui-dial-track{background:color-mix(in srgb,var(--ink) 11%,transparent)}}.ui-dial-track{box-shadow:inset 0 1px 2px var(--overlay-5);overflow:hidden}.ui-dial-fill{width:var(--dial-at,0%);background:var(--ink);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.ui-dial-fill{background:color-mix(in srgb,var(--ink) 42%,transparent)}}.ui-dial-slider[data-dragging] .ui-dial-fill{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.ui-dial-slider[data-dragging] .ui-dial-fill{background:color-mix(in srgb,var(--ink) 55%,transparent)}}.ui-dial-ticks{opacity:0;pointer-events:none;justify-content:space-between;padding:0 10%;transition:opacity .12s;display:flex;position:absolute;left:0;right:0}.ui-dial-ticks span{background:var(--ink);width:1px;height:8px}@supports (color:color-mix(in lab, red, red)){.ui-dial-ticks span{background:color-mix(in srgb,var(--ink) 20%,transparent)}}.ui-dial-handle{left:var(--dial-at,0%);border-radius:var(--pill-radius);background:var(--ink);width:3px;height:20px;box-shadow:0 1px 2px var(--overlay-5);opacity:0;pointer-events:none;transition:opacity .12s;position:absolute;transform:translate(-50%)}.ui-dial-slider:hover :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider:focus-visible :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider[data-dragging] :is(.ui-dial-ticks,.ui-dial-handle){opacity:1}.ui-dial-slider:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--pill-radius)}.ui-dial-value{min-width:44px;color:var(--ink-2);text-align:right;font-weight:400}.ui-gselect{min-width:0;display:inline-flex;position:relative}.ui-geist-scroller{min-width:0;min-height:0;position:relative;overflow:hidden}.ui-geist-scroller-container{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;height:100%}.ui-geist-scroller-container::-webkit-scrollbar{display:none}.ui-geist-scroller-container[data-overflow=y]{overflow:hidden auto}.ui-geist-scroller-container[data-overflow=x]{overflow:auto hidden}.ui-geist-scroller-container[data-overflow=both]{overflow:auto}.ui-geist-scroller-overlay{z-index:2;pointer-events:none;position:absolute;inset:0}.ui-geist-scroller-overlay:before,.ui-geist-scroller-overlay:after{content:"";opacity:0;height:40px;transition:opacity .18s;position:absolute;left:0;right:0}.ui-geist-scroller-overlay:before{background:linear-gradient(to bottom,var(--surface),transparent);top:0}.ui-geist-scroller-overlay:after{background:linear-gradient(to top,var(--surface),transparent);bottom:0}.ui-geist-scroller-overlay.ui-can-scroll-top:before,.ui-geist-scroller-overlay.ui-can-scroll-bottom:after{opacity:1}.ui-geist-scroller:has(>[data-overlay-scrollbar])>.ui-geist-scroller-overlay{display:none}.ui-ov-edges{pointer-events:none;z-index:1;position:absolute;overflow:hidden}.ui-ov-edges[hidden]{display:none}.ui-ov-edges>span{visibility:hidden;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:16px;position:absolute;left:0;right:0}.ui-ov-edge-top{top:0;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.ui-ov-edge-bottom{bottom:0;-webkit-mask-image:linear-gradient(#0000,#000);mask-image:linear-gradient(#0000,#000)}.ui-ov-edges.ui-can-scroll-top>.ui-ov-edge-top,.ui-ov-edges.ui-can-scroll-bottom>.ui-ov-edge-bottom{visibility:visible}.ui-geist-modal{box-sizing:border-box;border-radius:var(--floating-radius);background:var(--surface);width:min(540px,100vw - 20px);max-width:min(540px,100vw - 20px);max-height:min(800px,80vh);color:var(--ink);overscroll-behavior:contain;box-shadow:0 0 0 1px var(--border-15),0 32px 72px -12px #0009,0 8px 32px -12px #0009;opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;border:0;padding:0;overflow:hidden auto}.ui-geist-modal::backdrop{opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;background:#0009}.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:1}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-body{font-size:var(--fs-md);color:var(--ink-2);padding:20px;line-height:20px}.ui-geist-modal-body h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.ui-geist-modal-body [data-modal-error]:not(:empty){margin-top:12px}.ui-geist-modal-form{display:contents}.ui-geist-modal-fields{gap:14px;margin-top:16px;display:grid}.ui-geist-modal-fields:empty{display:none}.ui-playlistpage{padding:4px 0 42px}.ui-playlistpage>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.ui-playlistpage h2{margin:0 0 8px}.ui-playlistpage p{color:var(--muted);font-size:var(--fs-sm);margin:0}.ui-playlistcards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;display:grid}.ui-activitypage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-activity-runs{gap:12px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.ui-playlistpage h2{font-size:var(--fs-3xl);letter-spacing:-.01em;font-weight:600;line-height:1.25}@media (width<=760px){.ui-playlistpage>header{flex-direction:column;align-items:stretch}.ui-playlistpage h2{font-size:var(--fs-2xl)}}@media (width<=640px){.ui-playlistpage h2{font-size:var(--fs-xl)}}.ui-activitypage{width:100%;max-width:var(--board-content)}.ui-playlistpage>header h2{font:var(--board-title);letter-spacing:0}.ui-tastehead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;min-height:40px;display:flex}.ui-tastesummaries{overscroll-behavior-x:contain;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-tastestate{min-height:20px;color:var(--meter);font-size:var(--fs-xs);margin:8px 0}.ui-tastesummaries{margin-bottom:16px}.ui-tastehero{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px;margin-bottom:16px;display:grid;overflow:hidden}.ui-tastebars{align-self:center;min-width:0;padding:24px}.ui-insightpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);overflow:hidden}.ui-insightpanel>header{border-bottom:1px solid var(--line-soft);align-items:center;min-height:52px;padding:0 16px;display:flex}.ui-insightpanel>header h3{font-size:var(--fs-md);margin:0}.ui-insightpanel>header p{color:var(--muted);font-size:var(--fs-xs);margin:2px 0 0}.ui-insightpanelbody{min-width:0;padding:14px 16px 16px}@media (width<=900px){.ui-tastehero{grid-template-columns:minmax(220px,40%) minmax(0,1fr)}}@media (width<=640px){.ui-tastehead{align-items:stretch}.ui-tastesummaries{grid-auto-columns:minmax(168px,82%)}.ui-tastehero{grid-template-columns:minmax(0,1fr);min-height:0}.ui-tastebars{padding:18px}.ui-insightpanel>header{padding:0 14px}.ui-insightpanelbody{padding:12px}}.ui-tastehead{gap:16px}.ui-tastesummaries{background-color:#0000;background-image:none;border:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;gap:16px;display:grid;overflow:visible}.ui-insightpanel,.ui-tastehero{background:var(--ground);border:0;border-radius:16px;overflow:clip}.ui-insightpanel>header{border:0;padding-top:8px}@media (width<=1000px){.ui-tastesummaries{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.ui-insightpanel>header:not(:has([role=tablist])){min-height:0;padding:24px 24px 12px;display:block}.ui-insightpanel>header h3{font:var(--board-heading);color:var(--color-text-primary);margin:0}.ui-follow-skeleton-surface{container:follow-list/inline-size}@container follow-list (width<=739.98px){.ui-follow-skeleton-toolbar [data-compact-label]{display:none}}.ui-skeleton-lines{gap:12px;min-width:0;display:grid}[class~=playlistcreate].ui-skeleton-lines{gap:12px;display:grid}[class~=skeleton].ui-skeleton-radar{clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);width:100%;height:260px}[class~=skeleton].ui-skeleton-detail-media{aspect-ratio:16/9;min-width:0;height:auto;max-height:76vh}.ui-board-activity-charts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;margin:20px 0;display:grid}@media (width<=1000px){.ui-board-activity-charts{grid-template-columns:1fr}}.ui-cleanuppage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-organizefields{gap:12px;margin-top:12px;display:grid}.ui-organizefield{gap:6px;min-width:0;display:grid}.ui-organizefield>span{color:var(--ink-2);font-size:var(--fs-sm)}.ui-organizepresets{flex-wrap:wrap;gap:8px;display:flex}.ui-cleanuppage{width:100%;max-width:var(--board-content)}.ui-organize-preset-skeleton>[class~=skeleton-text]{width:4.5em;max-width:none}.ui-organize-input-skeleton{align-items:center;display:flex}.ui-resourcesync{scroll-margin-top:calc(var(--topH) + 18px);gap:16px;display:grid}section.ui-resourcesync>h2{font:var(--board-heading);letter-spacing:0;margin:0}.ui-linkstats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 32px;margin-top:16px;display:grid}.ui-linkstats>div,.ui-linkhosts{gap:2px;min-width:0;display:grid}.ui-linkstats span,.ui-linkhosts span{color:var(--muted);font-size:var(--fs-xs)}.ui-linkstats b{font-size:var(--fs-xl);font-variant-numeric:tabular-nums}.ui-linkstats small{color:var(--muted);font-size:var(--fs-xs)}.ui-linkhosts{margin-top:16px}.ui-linkhosts b{font-weight:500;font-size:var(--fs-sm);overflow-wrap:anywhere}.ui-cleanupstats{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.ui-board-plain-stat-head{min-width:0;color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;align-items:center;gap:8px;display:flex}.ui-board-stat-tile{background:var(--color-background-primary-default);width:32px;height:32px;color:var(--color-text-primary);border-radius:6px;flex:none;place-items:center;display:grid}.ui-board-stat-tile svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}@media (width<=1119px){.ui-cleanupstats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=559px){.ui-cleanupstats{grid-template-columns:minmax(0,1fr)}}.ui-alphagroup{border-radius:var(--floating-radius);background:var(--ground);padding:16px 20px 12px}.ui-alphalist{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 16px;display:grid}.ui-alphagroup{box-shadow:none;border-radius:16px}section:has(>.ui-alphagroup){flex-direction:column;gap:16px;display:flex}.ui-skeletondashstrip{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-skeletondashstrip>span{box-sizing:border-box;border-right:1px solid var(--line-soft);align-content:center;gap:4px;min-width:0;min-height:96px;padding:14px 16px;display:grid}.ui-skeletondashstrip>span:last-child{border-right:0}.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{background:var(--hover);border-radius:var(--control-radius);display:block}.ui-skeletondashstrip i{width:52%;height:17px}.ui-skeletondashstrip b{width:68%;height:28px}.ui-skeletondashstrip em{width:60%;height:17px}@media (width<=640px){.ui-skeletondashstrip{grid-auto-columns:minmax(168px,82%)}}.ui-skeletondashhero,.ui-skeletondashpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);min-width:0;display:grid;overflow:hidden}.ui-skeletondashhero{grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em{background:var(--hover);display:block}.ui-skeletondashhero i{border-radius:var(--control-radius);margin:28px 24px}.ui-skeletondashhero b{border-radius:var(--control-radius);margin:24px}.ui-skeletondashpanel{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.ui-skeletondashpanel i{border-radius:var(--control-radius);grid-column:1/-1;width:26%;height:18px}.ui-skeletondashpanel b,.ui-skeletondashpanel em{border-radius:var(--control-radius);height:84px}@media (width<=640px){.ui-skeletondashhero{grid-template-columns:minmax(0,1fr)}.ui-skeletondashhero i{min-height:180px}.ui-skeletondashhero b{min-height:220px}.ui-skeletondashpanel{grid-template-columns:1fr}}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em,.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{position:relative;overflow:hidden}.ui-skeletondashhero i:after,.ui-skeletondashhero b:after,.ui-skeletondashpanel i:after,.ui-skeletondashpanel b:after,.ui-skeletondashpanel em:after,.ui-skeletondashstrip i:after,.ui-skeletondashstrip b:after,.ui-skeletondashstrip em:after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse skeleton-sweep;position:absolute;inset:0 -200% 0 0}.ui-skeletondashstrip{background-color:#0000;background-image:none;border:0;gap:16px}.ui-skeletondashstrip>span{background:var(--ground);border:0;border-radius:16px;min-height:152px}.ui-skeletondashhero,.ui-skeletondashpanel{border:0;border-radius:16px}.ui-entityidentity{min-width:0;max-width:100%}[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}.peach-react .ui-configuration-skeleton-toggle{border-radius:var(--pill-radius);flex:none;width:42px;height:24px}.peach-react .ui-configuration-skeleton-select{border-radius:var(--control-radius);flex:none;width:128px;height:36px}.ui-board-local-nav{scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}.ui-board-local-nav button{border-radius:var(--control-radius);color:var(--ink-2);cursor:pointer;white-space:nowrap;background-color:#0000;background-image:none;border:0;flex:none;padding:8px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}.ui-board-local-nav button:hover{color:var(--ink);background:0 0}.ui-board-local-nav button[aria-selected=true]{background:var(--hover);color:var(--ink)}.ui-board-local-nav button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}.ui-board-tab-count{font:var(--board-caption);background:var(--ink);border-radius:4px;margin-left:6px;padding:1px 4px;font-weight:500;line-height:16px;display:inline-block}@supports (color:color-mix(in lab, red, red)){.ui-board-tab-count{background:color-mix(in srgb,var(--ink) 10%,transparent)}}.ui-board-tab-count{color:var(--ink);opacity:.5;vertical-align:1px}.ui-board-local-nav button[aria-selected=true] .ui-board-tab-count{opacity:1}.ui-board-tabs button svg{vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px;margin-right:6px}@media (width<=760px){.ui-board-local-nav{gap:0}.ui-board-local-nav button{padding:8px 9px;font-size:13px;line-height:18px}}.ui-board-tooltip{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);max-width:240px;color:var(--color-text-primary);font:var(--board-caption);white-space:normal;box-shadow:var(--elevation-dropdown);width:max-content;max-width:min(240px,100vw - 16px);z-index:var(--layer-tooltip);pointer-events:none;border-radius:8px;margin:0;padding:6px 10px;position:fixed;inset:auto}.ui-board-tooltip[hidden]{display:none}@media (prefers-reduced-motion:reduce){.ui-board-tooltip{transition:none}}.ui-configpage{width:100%;max-width:var(--board-content);gap:20px;margin:0 auto;display:grid}.ui-configgroup{font-size:var(--fs-2xl);margin:16px 0 0;font-weight:600;line-height:1.3}.ui-configgroup:first-child{margin-top:0}.ui-configpage>.ui-configgroup{display:none}.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:190px minmax(0,1fr);align-items:start;gap:24px}.ui-configpage>.ui-board-local-nav{border:0;border-radius:0;flex-direction:column;grid-area:1/1;align-items:stretch;margin:0;padding:0;display:flex;position:static}body #stats .ui-configpage>.ui-board-local-nav>button{text-align:left;white-space:normal;justify-content:flex-start}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:1/2;min-width:0}@media (width<=900px){.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:minmax(0,1fr);gap:20px}body #stats .ui-configpage>.ui-board-local-nav{flex-flow:wrap;grid-area:1/1;position:static;overflow:visible}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:2/1}}[data-board-group]:not(.ui-board-group-active){display:none!important}.ui-board-job-progress{align-items:center;gap:12px;padding:12px 0;font-size:14px;line-height:20px;display:flex}.ui-board-job-progress svg{flex:none}.ui-board-job-progress circle{fill:none;stroke-width:2.5px;stroke-linecap:round}.ui-board-job-track{stroke:var(--line-soft)}.ui-board-job-fill{stroke:var(--tungsten);transition:stroke-dasharray .3s ease-out}.ui-board-job-progress small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;line-height:16px;display:block}@media (prefers-reduced-motion:reduce){.ui-board-job-fill{transition:none}}.ui-board-page,.ui-board-page-dots{width:32px;height:32px;color:var(--color-text-secondary);font:var(--board-body-medium);font-variant-numeric:tabular-nums;background-color:#0000;background-image:none;border:0;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.ui-board-page{cursor:pointer;transition:none}.ui-board-page:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.ui-board-page[aria-current=page]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);box-shadow:var(--elevation-xs)}.ui-board-page-dots{color:var(--color-text-tertiary)}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}[data-danger]:not(:disabled){isolation:isolate;background:var(--board-red);box-shadow:var(--elevation-xs);color:#fff;border:0;transition:box-shadow .15s,color .15s;position:relative}[data-danger]:not(:disabled):before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}[data-danger]:not(:disabled):hover:before{opacity:1}[data-danger]:not(:disabled):active{background:var(--board-red-active)}[data-danger]:not(:disabled):active:before{opacity:0}.peach-react [data-board-tab-list]>button[aria-selected=true]{background:var(--hover);color:var(--ink)}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-glass-pill]:hover:not([aria-busy]){background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-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{fill:none;stroke:currentColor;stroke-width:2px;flex:none;width:17px;height:17px;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body:has([data-batch-dock] [data-selection-dock]) [data-stage]{padding-bottom:180px}@media (width<=760px){[data-batch-scope][data-context=junk] [data-selection-dock]{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100vw - 24px);max-width:none;padding:9px 10px;display:grid;bottom:12px}[data-batch-scope][data-context=junk] [data-selection-dock]>[role=status]{text-align:center;grid-column:1/-1;padding:0}[data-batch-scope][data-context=junk] [data-selection-dock]>button{min-width:0;min-height:44px;font-size:var(--fs-xs);padding:8px 6px}[data-batch-scope][data-context=junk] [data-selection-dock]>button svg{margin-right:4px}}:is([data-glow-grid],[data-accent-grid]){grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px;display:grid}[data-glow-grid][hidden]{display:none}[data-glow-chip]{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}[data-glow-chip]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-glow-ball]{background:var(--glow-chip);border-radius:50%;width:28px;height:28px;transition:transform .15s;position:relative;box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29}[data-glow-ball]:after{content:"";background:linear-gradient(#ffffff8a,#fff0);border-radius:50%;height:38.5%;position:absolute;top:6%;left:14%;right:14%}[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}[data-glow-chip]:hover [data-glow-ball]{transform:scale(1.1)}[data-glow-chip][aria-pressed=true] [data-glow-ball]{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}[data-glow-head]{color:var(--muted);justify-content:space-between;align-items:center;padding:0 4px 8px;font-size:12px;display:flex}[data-glow-sub]{margin:12px 0 0}[data-glow-preset-reset]{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}[data-glow-preset-reset]:hover{color:var(--ink)}[data-glow-head][hidden]{display:none}[data-glow-grid][hidden]+[data-glow-sub]{margin-top:0}[data-manage-header]{display:contents}:is([data-manage-bar],[data-manage-crumb],[data-manage-title],[data-manage-lede]){box-sizing:border-box;width:100%;max-width:var(--board-content);margin-left:auto;margin-right:auto}[data-manage-bar]{margin-top:0;margin-bottom:24px;display:block}[data-manage-menu]{scrollbar-width:none;flex-wrap:nowrap;gap:4px;margin:0;padding:0;display:flex;position:relative;overflow-x:auto}[data-manage-menu]::-webkit-scrollbar{display:none}[data-manage-menu]>button{border-radius:var(--control-radius);min-height:36px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:7px;margin:0;padding:8px 12px;font-size:14px;font-weight:400;display:inline-flex;position:relative}[data-manage-menu]>button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}[data-manage-menu]>button:hover{color:var(--ink)}[data-manage-menu]>button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-manage-crumb]{margin-top:0;margin-bottom:12px;display:block}[data-manage-crumb] ol{align-items:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}[data-manage-crumb] li{font-size:var(--fs-md);color:var(--muted);align-items:center;gap:6px;line-height:20px;transition:color .2s;display:flex}[data-manage-crumb] li[aria-current],[data-manage-crumb] li:not([aria-current]):hover{color:var(--ink)}[data-manage-crumb] a{color:inherit;text-decoration:none}[data-manage-crumb] li svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}h2[data-manage-title]{font:var(--board-title);letter-spacing:0;margin-top:0;margin-bottom:24px}@media (width<=760px){h2[data-manage-title]{font:var(--board-figure)}h2[data-manage-title][data-compact]{font-size:22px}}p[data-manage-lede]{border-radius:var(--surface-radius);background:var(--color-background-primary-default);color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:0;margin-bottom:16px;padding:20px 24px;line-height:1.5;display:flex}:root[data-theme=light] p[data-manage-lede]{background:var(--color-background-secondary-default)}@media (prefers-color-scheme:light){:root:not([data-theme]) p[data-manage-lede]{background:var(--color-background-secondary-default)}}[data-manage-lede]>[data-lede-text]{font:var(--board-heading)}[data-manage-lede]>[data-trash-lede-skeletons]{display:contents}[data-manage-lede] [data-trash-lede-skeleton]{background:color-mix(in srgb,var(--ink) 7%,transparent)}[data-manage-lede] [data-trash-lede-skeleton=text]{width:180px;max-width:60%;height:20px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:88px;max-width:none;height:32px}[data-manage-lede]>button[data-empty-trash]{box-sizing:border-box;border-radius:var(--control-radius);min-height:32px;font:inherit;font-size:var(--fs-xs);cursor:pointer;flex:none;align-items:center;padding:0 14px;font-weight:500;display:inline-flex}[data-manage-lede]>button[data-empty-trash]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=760px){[data-manage-bar]{margin-top:0;margin-bottom:24px}[data-manage-menu]{gap:0}[data-manage-menu]>button{padding:10px 9px;font-size:13px}[data-manage-menu]>button svg{display:none}[data-manage-lede]>button[data-empty-trash]{height:44px;padding-inline:16px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:92px;height:44px}}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-favorite]){border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react :is([data-namepick-toggle],[data-favorite]):is(:hover,[data-hovered]){background:var(--hover);color:var(--ink)}.peach-react :is([data-namepick-toggle],[data-favorite]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-namepick-toggle],[data-favorite]) svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react [data-favorite][aria-pressed=true]{color:var(--color-yellow-500)}.peach-react [data-favorite][aria-pressed=true] svg{fill:currentColor}.peach-react [data-favorite][aria-busy=true]{color:var(--muted);cursor:wait}.peach-react [data-shortcuts-entry]{flex:none;display:inline-flex}.peach-react [data-shortcuts-trigger]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--surface);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-shortcuts-trigger]:hover{background:var(--hover)}.peach-react [data-shortcuts-trigger]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-shortcuts-trigger] svg{fill:none;stroke:currentColor;width:16px;height:16px}.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{fill:none;stroke:currentColor;width:20px;height:20px}.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}}@media (width<=640px){:is(.peach-react[data-index-head],.peach-react [data-index-head]) [data-shortcuts-entry]{order:3}}html[data-wall-entry] body,body[data-wall-open]{background:#070707;overflow:hidden}html[data-wall-entry] :is(body>header,#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#libraryProcessingNotice,#feedNew),body[data-wall-open] :is(body>header,#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#libraryProcessingNotice,#feedNew){visibility:hidden;pointer-events:none}.peach-react [data-video-wall]{--ground:#070707;--surface:#161419;--ink:#f7f4ee;--ink-2:#f7f4ee;--muted:#aaa7a2;--hover:#ffffff14;--line-soft:#ffffff38;--color-button-ghost-background:transparent;--color-button-ghost-foreground:#f7f4ee;--color-button-ghost-hover:#ffffff14;--color-button-ghost-active:#ffffff1f;--color-background-primary-default:#070707;--color-background-secondary-default:#161419;--color-background-tertiary-default:#ffffff1a;--color-text-primary:#f7f4ee;--color-text-secondary:#aaa7a2;--color-border-button-default:#ffffff38;--gradient-button-primary-default:linear-gradient(#f7f4ee,#f7f4ee);--gradient-button-primary-hover:linear-gradient(#fff,#fff);--gradient-button-primary-active:var(--gradient-button-primary-default);width:100%;height:100dvh;z-index:calc(var(--layer-miniplayer) - 1);isolation:isolate;background:var(--ground);color:var(--ink);position:fixed;inset:0;overflow:hidden}.peach-react [data-video-wall][hidden]{display:none}.peach-react [data-video-wall]:after{content:"";z-index:4;pointer-events:none;background:radial-gradient(#0000 78%,#00000085 100%);position:absolute;inset:0}.peach-react [data-wall-viewport]{touch-action:none;cursor:grab;position:absolute;inset:0;overflow:hidden}.peach-react [data-wall-viewport]:active{cursor:grabbing}.peach-react [data-wall-viewport]:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-wall-world]{transform-origin:0 0;position:absolute;inset:0}.peach-react [data-video-wall][data-refreshing] [data-wall-viewport]{filter:blur(8px)grayscale();pointer-events:none}.peach-react [data-wall-skeleton]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:#f7f4ee0f;display:block;position:absolute}.peach-react :is([data-wall-error],[data-wall-empty]){z-index:7;width:min(420px,100% - 48px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-wall-error]{flex-direction:column;gap:12px;display:flex}.peach-react [data-wall-tile]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:var(--surface);color:var(--ink);text-align:left;cursor:inherit;-webkit-user-select:none;user-select:none;contain:layout paint;border:0;border-radius:0;padding:0;transition:filter .6s,box-shadow .6s;display:block;position:absolute;overflow:hidden}@media (hover:hover) and (pointer:fine){.peach-react [data-wall-tile]:not([data-wall-focus]):hover{z-index:3;filter:saturate(1.08)brightness(1.05)}}.peach-react [data-wall-tile]:focus-visible{z-index:4;outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-video-wall] :is([data-media-pic],[data-media-art]){display:block;position:absolute;inset:0;overflow:hidden}.peach-react [data-video-wall] [data-media-pic]{--pic-radius:0;clip-path:inset(0)}.peach-react [data-video-wall] [data-media-pic]:before{content:"";background:var(--cover-blur) center/cover no-repeat;filter:blur(20px);opacity:.7;pointer-events:none;position:absolute;inset:-20px}.peach-react [data-wall-tile] img{pointer-events:none;border-radius:0}.peach-react [data-wall-tile] img[class~=whole]{object-fit:cover;object-position:var(--cover-x,50%) var(--cover-y,22%)}.peach-react [data-wall-tile] [data-media-art=thumb] img{object-fit:cover;object-position:50% 22%;width:100%;height:100%;display:block}.peach-react [data-wall-tile-shade]{pointer-events:none;background:linear-gradient(#0000000d 34%,#0000003d 56%,#000000eb 100%);position:absolute;inset:0}.peach-react [data-wall-dim]{pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-wall-copy]{color:var(--ink);pointer-events:none;flex-direction:column;gap:4px;padding:13px;display:flex;position:absolute;inset:auto 0 0}.peach-react [data-wall-copy] b{letter-spacing:-.045em;text-wrap:balance;-webkit-line-clamp:3;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin-block:-.14em;padding-block:.14em;font-size:calc(clamp(22px,2vw,36px)/1.31579);font-weight:600;line-height:.96;display:-webkit-box;overflow:hidden}.peach-react [data-wall-copy]>span{opacity:.78;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:600;overflow:hidden}.peach-react [data-wall-number],.peach-react [data-wall-duration]{color:var(--ink);font-variant-numeric:tabular-nums;background:#000000a8;border-radius:0;padding:3px 6px;font-size:11px;font-weight:600;position:absolute;top:12px}.peach-react [data-wall-number]{left:12px}.peach-react [data-wall-duration]{right:12px}.peach-react [data-wall-progress]{height:2px;width:var(--wall-progress);background:var(--ink);position:absolute;bottom:0;left:0}.peach-react [data-wall-no-art]{color:var(--muted);font-size:var(--fs-sm);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button){z-index:12;width:44px;height:44px;color:var(--ink);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);cursor:pointer;background:#282828c7;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button):hover{background:#464646e0}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button):focus-visible{outline:2px solid var(--ink);outline-offset:3px}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.peach-react [data-wall-back]{left:24px;top:calc(24px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{z-index:30;left:80px;right:24px;top:calc(24px + env(safe-area-inset-top));position:absolute}.peach-react [data-wall-refresh]{left:76px;top:calc(24px + env(safe-area-inset-top));z-index:12;position:absolute}.peach-react [data-wall-tools-button]{right:24px;bottom:calc(24px + env(safe-area-inset-bottom))}.peach-react [data-wall-toolbar]{z-index:11;right:24px;bottom:calc(80px + env(safe-area-inset-bottom));border:1px solid var(--line-soft);-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);background:#101010e6;flex-direction:column;gap:16px;width:min(320px,100% - 48px);padding:20px;display:flex;position:absolute;box-shadow:0 12px 32px #00000073}.peach-react [data-wall-toolbar] input{border:1px solid var(--line-soft);width:100%;height:36px;color:var(--ink);font:inherit;background:0 0;border-radius:0;padding:0 10px 0 34px}.peach-react [data-wall-toolbar] form{position:relative}.peach-react [data-wall-toolbar] form svg{fill:none;stroke:currentColor;stroke-width:1.5px;width:16px;height:16px;position:absolute;top:10px;left:10px}.peach-react [data-wall-toolbar] input:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react [data-wall-tools]{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.peach-react [data-wall-hint]{color:var(--muted);font-size:11px}.peach-react [data-wall-footer]{left:24px;bottom:calc(24px + env(safe-area-inset-bottom));z-index:5;position:absolute}.peach-react [data-wall-focus]{z-index:20;cursor:default;background:var(--surface);isolation:isolate;border:1px solid #f7f4eeb8;border-radius:0;flex-direction:column;display:flex;box-shadow:0 42px 110px #000000bd}.peach-react [data-wall-focus]:before{content:"";z-index:6;pointer-events:none;border:2px solid var(--ink);box-shadow:inset 0 0 0 1px #00000085,inset 0 0 0 3px transparent,inset 0 0 15px -7px color-mix(in srgb,var(--ink) 46%,transparent);position:absolute;inset:0}.peach-react [data-wall-focus]:focus-within:before{box-shadow:inset 0 0 0 1px #0000009e,inset 0 0 0 3px transparent,inset 0 0 26px -6px color-mix(in srgb,var(--ink) 62%,transparent)}.peach-react [data-wall-focus-backdrop]{z-index:-1;opacity:.46;filter:blur(36px)saturate(.3);position:absolute;inset:-30px}.peach-react [data-wall-focus-backdrop] img{object-fit:cover;width:100%;height:100%}.peach-react [data-wall-scene]{position:absolute;inset:0}.peach-react [data-wall-focus][data-playing] [data-wall-scene]{filter:blur(36px);transform:scale(1.1)}.peach-react [data-wall-expanded-shade]{pointer-events:none;background:linear-gradient(#0000 54%,#00000042 70%,#0000009e 86%,#000000db 100%),linear-gradient(90deg,#000000e0,#00000080 52%,#00000014);position:absolute;inset:0}.peach-react [data-wall-focus-head]{pointer-events:none;flex-direction:column;gap:7px;display:flex;position:absolute;bottom:116px;left:24px;right:24px}.peach-react [data-wall-focus-head] b{--wall-code-size:calc(clamp(48px,6vw,82px) * .76);max-width:76%;font-size:var(--wall-code-fit,var(--wall-code-size));letter-spacing:-.045em;white-space:nowrap;text-overflow:ellipsis;font-weight:600;line-height:.95;display:block;overflow:hidden}.peach-react [data-wall-focus-head] strong{white-space:nowrap;text-overflow:ellipsis;max-width:90%;font-size:16px;font-weight:500;line-height:1.3;display:block;overflow:hidden}.peach-react [data-wall-focus-head] :is(span,small){opacity:.8;overflow-wrap:anywhere;font-size:13px}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head]{gap:5px;top:64px;bottom:auto}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] b{--wall-code-size:22px;letter-spacing:-.025em;line-height:1.1}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-close]{z-index:3;position:absolute;top:16px;right:16px}.peach-react [data-wall-player]{width:100%;height:100%;position:absolute;inset:0}.peach-react [data-wall-player][hidden]{display:none}.peach-react [data-wall-player] .video-js{background:0 0;width:100%;height:100%}.peach-react [data-wall-player] :is(.vjs-control-bar,.vjs-big-play-button,.vjs-title-bar),.peach-react [data-wall-player] :is([data-player-stats-button],[data-player-net],[data-player-stats]){display:none}.peach-react [data-wall-focus-actions]{z-index:3;flex-direction:column;gap:10px;display:flex;position:absolute;bottom:22px;left:24px;right:18px}.peach-react [data-wall-control-row]{align-items:center;gap:6px;display:flex}.peach-react [data-wall-time]{font-variant-numeric:tabular-nums;white-space:nowrap;opacity:.78;margin-left:auto;font-size:11px}.peach-react [data-wall-seek]{appearance:none;cursor:pointer;background:linear-gradient(to right,var(--ink) var(--wall-seek),#f7f4ee47 var(--wall-seek));border:0;border-radius:0;width:100%;height:2px;margin:0;padding:0}.peach-react [data-wall-seek]::-webkit-slider-thumb{appearance:none;background:var(--ink);border-radius:50%;width:8px;height:8px}.peach-react [data-wall-seek]::-moz-range-thumb{background:var(--ink);border:0;border-radius:50%;width:8px;height:8px}.peach-react [data-wall-play-error]{z-index:4;position:absolute;bottom:85px;left:24px;right:24px}.peach-react [data-wall-queue]{z-index:5;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid var(--line-soft);background:#070707f0;max-height:58%;display:flex;position:absolute;bottom:88px;left:24px;right:24px;overflow:hidden}.peach-react [data-wall-queue] [data-mix-queue]{background:0 0;border:0;grid-template-rows:auto minmax(0,1fr);width:100%;height:auto;min-height:0;max-height:100%;display:grid}.peach-react [data-wall-queue] [data-mix-list]{overscroll-behavior:contain;display:block;overflow:auto}.peach-react [data-wall-queue] [data-mix-item-text]{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.peach-react [data-wall-queue] [data-mix-item-text] b{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.peach-react [data-wall-queue] [data-mix-item-text] span{opacity:.78;font-size:12px}.peach-react [data-wall-queue] :is([data-mix-row],[data-mix-item]){border-radius:0}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]){width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:0;place-items:center;padding:6px;display:grid}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):hover{background:var(--hover)}.peach-react button[data-wall-focus-close]{background:#000000a8;border-radius:50%}.peach-react button[data-wall-focus-close]:hover{background:#000000db}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.peach-react [data-wall-pause] svg{fill:currentColor;stroke:none}.peach-react [data-wall-focus-actions] button:disabled{opacity:.5;cursor:default}.peach-react [data-wall-footer] button{color:var(--ink);border-color:var(--line-soft);background:#282828c7}@media (width<=640px){.peach-react [data-wall-back]{left:16px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{left:72px;right:16px;top:calc(16px + env(safe-area-inset-top));padding-inline:12px}.peach-react [data-wall-refresh]{left:68px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-tools-button]{right:16px;bottom:calc(16px + env(safe-area-inset-bottom))}.peach-react [data-wall-focus-head]{bottom:104px;left:16px;right:16px}.peach-react [data-wall-focus-head] b{--wall-code-size:34px}.peach-react [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-actions]{bottom:18px;left:16px;right:16px}.peach-react [data-wall-control-row]{gap:2px}.peach-react [data-wall-time]{font-size:10px}.peach-react [data-wall-footer]{left:16px;bottom:calc(16px + env(safe-area-inset-bottom))}}.peach-react [data-catalog-table] .bui-table{table-layout:fixed;width:100%}.peach-react [data-catalog-table] .bui-table :is(th,td){border-radius:0}.peach-react [data-catalog-table] .bui-table :is(th,td):first-child{width:48px}.peach-react [data-catalog-table] .bui-table :is(th,td):nth-child(n+3){font-variant-numeric:tabular-nums;width:112px}.peach-react [data-catalog-table] [data-list-identity]{min-width:0;padding:12px 0;position:relative}.peach-react [data-catalog-table] [data-list-open]{text-align:left;align-items:center;gap:16px;width:100%;min-width:0;display:flex}.peach-react [data-catalog-table] [data-list-picture]{border-radius:var(--control-radius);background:var(--surface);flex:none;width:112px;height:63px;display:block;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){object-fit:cover;width:100%;height:100%}.peach-react [data-catalog-table] [data-list-text]{flex-direction:column;gap:4px;min-width:0;display:flex}.peach-react [data-catalog-table] [data-list-name]{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.peach-react [data-catalog-table] [data-list-open]:hover [data-list-name]{text-decoration:underline}.peach-react [data-catalog-table] [data-list-byline]{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:var(--fs-sm);display:block;overflow:hidden}.peach-react [data-list-mobile-metrics]{display:none}[data-table-skeleton]>div{align-items:center;gap:16px;height:88px;display:flex}[data-table-skeleton] i{border-radius:var(--control-radius);flex:none;width:112px;height:63px;display:block}[data-table-skeleton] span{border-radius:var(--control-radius);width:40%;height:20px;display:block}body:has([data-catalog-table]) #feedNew{display:none}@media (width<=760px){.peach-react [data-catalog-table] .bui-table :is(th,td):nth-child(n+3){display:none}.peach-react [data-catalog-table] .bui-table :is(th,td):first-child{width:36px;padding-inline:8px}.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-list-mobile-metrics]{display:block}}.peach-react [data-want-magnets]{container:resource-links/inline-size}.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.peach-react [data-resource-title]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-resource-facts]>span{white-space:nowrap}.peach-react [data-resource-actions]{min-width:0}.peach-react [data-want-magnets] [data-resource-protocol]{border-bottom:1px solid var(--color-separator-border);padding-block:16px}.peach-react [data-want-magnets] ul{gap:0}@container resource-links (width>=760px){.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr) auto;align-items:center}}.peach-react [data-media-carousel] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;top:var(--media-arrow-top,50%);cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;transform:translateY(-50%)}.peach-react [data-follow-image-arrow]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}.peach-react [data-follow-image-arrow]:is(:hover,:focus-visible):after{background:#fff3}.peach-react [data-follow-image-arrow]:active:after{background:#ffffff4d}.peach-react [data-media-carousel] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-media-carousel] [data-follow-image-arrow] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block;position:relative}.peach-react [data-media-carousel] [data-follow-image-arrow=prev]{left:11px}.peach-react [data-media-carousel] [data-follow-image-arrow=next]{right:11px}.peach-react [data-media-carousel] [data-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-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}}
+@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-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-200:oklch(89.9% .061 343.231);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-normal:0em;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-headline-semibold:1rem;--text-headline-semibold--line-height:1.375rem;--text-headline-semibold--letter-spacing:0;--text-headline-semibold--font-weight:600;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.-inset-y-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-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.-bottom-px{bottom:-1px}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-2{z-index:2}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.ms-auto{margin-inline-start: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-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-2{margin-left:calc(var(--spacing) * -2)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-40{height:calc(var(--spacing) * 40)}.h-56{height:calc(var(--spacing) * 56)}.h-60{height:calc(var(--spacing) * 60)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-3\/4{width:75%}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-26{width:calc(var(--spacing) * 26)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-1\/2{max-width:50%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-56{max-width:calc(var(--spacing) * 56)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-28{min-width:calc(var(--spacing) * 28)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-48{min-width:calc(var(--spacing) * 48)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-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}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.\[scrollbar-width\:none\]{scrollbar-width:none}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0{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-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-\(--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-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--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{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-\(--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-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-blue-300{background-color:var(--color-blue-300)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-lime-200{background-color:var(--color-lime-200)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-pink-200{background-color:var(--color-pink-200)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-start{text-align:start}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-headline-semibold{font-size:var(--text-headline-semibold);line-height:var(--tw-leading,var(--text-headline-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-semibold--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.text-\[10px\]{font-size:10px}.text-\[18px\]{font-size:18px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-\[15px\]{--tw-leading:15px;line-height:15px}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.break-words{overflow-wrap:break-word}.wrap-anywhere{overflow-wrap:anywhere}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-\(--muted\){color:var(--muted)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-blue-900{color:var(--color-blue-900)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-lime-700{color:var(--color-lime-700)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-pink-500{color:var(--color-pink-500)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-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-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[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-\[width\,height\,font-size\]{transition-property:width,height,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.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-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-outside\:-right-3\.5[data-outside]{right:calc(var(--spacing) * -3.5)}.data-outside\:-bottom-3\.5[data-outside]{bottom:calc(var(--spacing) * -3.5)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[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-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:hidden{display:none}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:mr-auto{margin-right:auto}.max-sm\:flex{display:flex}.max-sm\:hidden{display:none}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-48{height:calc(var(--spacing) * 48)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:w-full{width:100%}.max-sm\:min-w-0{min-width:0}.max-sm\:flex-1{flex:1}.max-sm\:shrink{flex-shrink:1}.max-sm\:basis-0{flex-basis:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.max-sm\:flex-wrap{flex-wrap:wrap}.max-sm\:items-center{align-items:center}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}.max-sm\:text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.max-sm\:text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row{flex-direction:row}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:hidden{display:none}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:w-60{width:calc(var(--spacing) * 60)}}@container (width>=36rem){.\@xl\:flex-row{flex-direction:row}.\@xl\:items-center{align-items:center}.\@xl\:justify-between{justify-content:space-between}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar{display:none}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:16px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default;-webkit-user-select:none;user-select:none}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{--pic-radius:0px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px);--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags) + 23px);min-height:0;margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{align-content:start;min-height:2.7em}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-text]{gap:3px}body[data-surface=\/trash] .peach-react [data-media-text]>[data-media-tags]{margin-top:0}body[data-surface=\/trash] .peach-react button[data-media-title]{flex-direction:column;justify-content:flex-start;align-items:stretch;display:flex}.peach-react [data-media-title-text]{max-height:2.7em;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:calc(2lh + 2px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);--card-meta-block:calc(var(--fs-md) * 2.7 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react :is([data-media-pic],[data-mix-cover]){--pic-radius:var(--surface-radius);clip-path:inset(0 round var(--pic-radius));-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:var(--pic-radius);pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) :is([data-media-badge],[data-media-duration],[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}}@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:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react :is(button,a)[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:0;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;overflow-wrap:anywhere;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-jav-item]:not([data-variant=next]) [data-media-meta]{--card-meta-byline:calc(2lh + 2px)}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-align:left;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;align-items:center;gap:4px;padding:0;display:inline-flex;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react [data-media-who]>span{text-overflow:ellipsis;overflow:hidden}.peach-react :is([data-media-release],[data-media-size]){white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.peach-react [data-media-byline] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:14px;height:14px}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-media-why]{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{flex:1 1 0}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-text]>[data-media-tags]{margin-top:6px}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>: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;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-text]>[data-media-tags]{margin-top:-4px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}body[data-surface=\/trash] .peach-react [data-media-text]{height:var(--card-meta-block)}body[data-surface=\/trash] .peach-react [data-media-byline]{flex-wrap:nowrap;flex:none;height:20px;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-size]{white-space:nowrap;flex:none}body[data-surface=\/trash] .peach-react [data-media-tags]{height:calc(var(--card-meta-tags) - 3px);flex-wrap:nowrap;flex:none;overflow:hidden}.peach-react [data-media-disposal-reason]{height:20px;color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;flex:none;line-height:20px;overflow:hidden}.peach-react [data-pending-delete] [data-media-duration]{top:10px;bottom:auto}.peach-react [data-pending-delete] :is([data-media-preview],[data-media-later],[data-media-seek]){display:none}.peach-react [data-media-operation-error]{z-index:7;border-radius:var(--badge-radius);background:var(--ground);color:var(--drop);font-size:var(--fs-xs);overflow-wrap:anywhere;padding:8px;position:absolute;bottom:48px;left:10px;right:10px}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);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{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;margin:-8px;padding:8px;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 + 8px));padding-left:calc(var(--railW) + 32px + 8px)}}.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)}@media (width<=760px){body .peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;min-height:0}body[data-density] .peach-react [data-media-card]:not([data-variant=next]) [data-media-text],body[data-surface=\/trash] .peach-react [data-media-text]{flex-direction:column;height:auto;display:flex}body[data-density] .peach-react [data-media-card]:not([data-variant=next]) [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}body[data-density] .peach-react [data-media-card]:not([data-variant=next]) [data-media-byline],body[data-density] .peach-react [data-media-card]:not([data-variant=next]) [data-media-tags]{flex-wrap:wrap;height:auto}}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:30px;color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-junk-filters] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters]{height:60px}.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-junk-actions]{container-type:inline-size}@container (width<=340px){.peach-react [data-junk-actions] button[data-junk-action]{gap:4px;padding-inline:6px}.peach-react [data-junk-actions] button>svg{display:none}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{width:max-content;max-width:100%;max-height:calc(var(--portrait-size) + 64px);align-self:stretch;align-items:center;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-portrait][data-native-clamp=true] img{object-fit:cover}.peach-react [data-entity-portrait=round] img{object-position:50% 25%}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=classification]{white-space:nowrap;flex:none}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;gap:4px;min-width:0;margin:0;display:grid}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-pop-name]{display:grid}.peach-react [data-hero-pop] small{color:var(--muted);font-size:var(--fs-xs);line-height:1.4}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);overflow-wrap:anywhere;margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{box-sizing:border-box;text-overflow:ellipsis;max-width:100%;padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px;overflow:hidden}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:where(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width: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:30px;color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react [data-entity-filter-glass] [data-entity-readout]{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{flex:none;width:14px;height:14px;margin-left:5px}.peach-react [data-entity-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]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react [data-entity-filter-glass] [data-entity-readout]{flex:none}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 24px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:30px;color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.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-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{border-radius:var(--tag-radius);background:var(--hover);flex:none;width:72px;height:30px}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=ui-imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}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 .folder-tree-scroller{max-height:calc(100dvh - var(--folder-sticky-top,calc(var(--topH) + 16px)) - 72px)}#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%}.folder-crumb-name{text-overflow:ellipsis;max-width:180px;display:block;overflow:hidden}.folder-tree-scroller{max-height:calc(100dvh - var(--topH) - 124px);overscroll-behavior:contain;overflow:auto}.folder-drawer-trigger{display:none}.peach-react button[data-folder-mode-toggle]{border-radius:var(--control-radius);width:30px;height:30px;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){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:18px;height:18px;stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option=more]{justify-content:space-between;margin-top:7px}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0;font-size:10px}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-recommendations] [data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-recommendations] [data-search-option=work]>[data-search-pic]{width:100%}.peach-react [data-search-recommendations] [data-search-col]>[data-search-group] [data-search-items]:has([data-search-option=work]){grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option=work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-recommendations] [data-search-results][data-split]{grid-template-columns:minmax(0,.32fr) minmax(0,.68fr)}.peach-react [data-search-recommendations] [data-search-results][data-split]:before{left:calc(32% + 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:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none;text-decoration:none}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-follow-works]>button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:30px;height:30px;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:30px;height:30px;color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]:not([data-follow-wall])>[data-media-card]{align-self:stretch}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]:has(>[data-media-card]){row-gap:0}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);grid-template-rows:auto auto;grid-template-columns:38px minmax(0,1fr);align-content:start;align-items:start;gap:12px 10px;display:grid}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-text]{flex-direction:column;gap:6px;height:auto;margin:0;padding:0;display:flex}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-follow-labels]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px)}.peach-react [data-follow-labels]{grid-column:1/-1}.peach-react [data-follow-item] [data-media-meta]>[data-follow-labels]{pointer-events:none}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block)}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1;pointer-events:none}.peach-react [data-follow-visual] :is([data-media-check],[data-media-badge]){pointer-events:auto}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react .follow-site-initial{border-radius:var(--badge-radius);background:var(--overlay-5);width:18px;height:18px;color:var(--muted);font:600 11px/1 var(--board-font);place-items:center;display:inline-grid}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img{background:var(--sunk);object-fit:cover}.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-image] [data-mix-face] img{object-fit:cover}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{height:auto;position:static}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){container-type:inline-size}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{object-fit:cover;max-height:250cqi}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;transition:opacity .15s;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e}.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]{border-radius:var(--badge-radius);object-fit:contain;vertical-align:-2px;width:14px;height:14px;margin-right:5px}.peach-react [data-follow-edition]{color:var(--ink-2);margin-right:6px}.peach-react [data-follow-edition=wip]{color:var(--meter)}.peach-react [data-follow-edition=has-wip]{color:var(--muted)}.peach-react [data-follow-edition=voiced]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-edition=voiced]{background:color-mix(in srgb, var(--keep) 16%, transparent)}}.peach-react [data-follow-edition=silent]{color:var(--muted);border-style:dashed}.peach-react [data-follow-sources]{z-index:2;gap:4px;max-width:calc(100% - 120px);display:flex;position:absolute;top:6px;left:6px}.peach-react [data-follow-sources] [data-media-badge]{flex:none;position:static}.peach-react [data-follow-sources]>[data-follow-badges]{flex:0 auto}.peach-react [data-follow-sources] [data-follow-seealso-label]{display:none}.peach-react [data-follow-seealso]{border:1px dashed var(--border-15);border-radius:var(--badge-radius);color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.peach-react [data-follow-seealso] [data-follow-site-icon]{margin:0}.peach-react [data-follow-sources] [data-follow-seealso]{border-radius:var(--control-radius);background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);pointer-events:auto;border:0;padding:4px}.peach-react [data-follow-sources] [data-follow-site-icon]{width:18px;height:18px}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}@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-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-queue] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-queue] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{width:30px;min-width:0;height:30px;margin:calc((var(--fs-lg) * 1.5 - 30px) / 2) 0;flex:none}.peach-react [data-follow-detail] :is([data-follow-origin],[data-follow-resources] a) svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-detail-credit]{overflow-wrap:anywhere;color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-follow-detail] [data-follow-detail-credit]>span{display:block}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;overflow-wrap:anywhere;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-detail-summary][data-clamped]{-webkit-line-clamp:8;line-clamp:8;-webkit-box-orient:vertical;flex-shrink:0;display:-webkit-box;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]:has(+[data-follow-summary-toggle]){margin-bottom:4px}.peach-react [data-follow-detail] [data-follow-summary-toggle]{flex-shrink:0;align-self:flex-start;margin:0 0 16px -8px}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{max-width:none;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--tag-color);overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border:1px solid color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-radius:var(--tag-radius);background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{color:var(--ink-2);font:inherit;font-size:var(--fs-xs);text-align:left;text-overflow:clip;white-space:normal;cursor:pointer;line-height:1.45}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-placeholder]{aspect-ratio:16/9;place-items:center;padding:16px;display:grid}.peach-react [data-item-gallery]{flex-direction:column;justify-content:center;align-items:center;display:flex}.peach-react [data-item-gallery]>[class~=video-js]{flex:none;order:0}.peach-react [data-item-gallery]>[data-carousel-below]{flex:none;order:1}.peach-react [data-item-gallery]:not([data-item-picture])>[data-jav-preview-toggle]{left:64px}.peach-react [data-item-gallery][data-item-picture]>:is([class~=video-js],video,[data-item-gate],#playerStatsBtn,#playerStats,#playerNet,[data-ambient-canvas]){display:none}.peach-react [data-catalog-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-item-gallery][data-item-picture]>[role=note]{margin:24px}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-mix-queue] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-mix-queue] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-mix-queue] [data-queue-edition]{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:50%;font-style:normal;overflow:hidden}.peach-react [data-mix-queue] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-mix-queue] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-mix-queue] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-mix-queue] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-mix-queue] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-mix-queue] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:top;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer]{--id-cell:58px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer] [data-id-row]{gap:10px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][hidden]{display:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][data-entity-kind]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-cast-more]{align-self:center;margin:0}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;max-width:100%;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related]>h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:16px;margin:-24px -16px -4px;padding:32px 16px 16px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-item-related] [data-related-state]{min-width:0}.peach-react [data-jav-detail] [data-jav-art]{flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:260px;display:flex;position:relative}.peach-react [data-jav-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-jav-picture-wait]{place-items:center;min-height:300px;padding:24px;display:grid}.peach-react [data-jav-picture-wait] [class~=skeleton-sheen]{width:100%;min-height:260px}.peach-react [data-jav-info]{min-width:0}.peach-react [data-jav-info]>*{flex-shrink:0}.peach-react [data-jav-info] p{overflow-wrap:anywhere}.peach-react [data-jav-facts]{color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;gap:8px 16px;margin-bottom:18px;display:flex}.peach-react [data-jav-facts]:empty{display:none}.peach-react [data-jav-facts] span{overflow-wrap:anywhere}.peach-react [data-jav-detail] [data-jav-actions]{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;display:flex}.peach-react [data-jav-rating] [data-rate]{cursor:default}.peach-react [data-jav-rating] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-jav-video]{width:100%;position:relative}.peach-react [data-jav-video]>[class~=video-js]{aspect-ratio:16/9;width:100%;height:auto;max-height:calc(76vh - 112px)}.peach-react [data-jav-video]>[role=note]{margin:16px}.peach-react [data-jav-preview-toggle]{z-index:5;border-radius:var(--pill-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:8px 12px;display:inline-flex;position:absolute;top:16px;left:16px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-jav-art][data-jav-playing]{flex-direction:column}.peach-react [data-jav-reviews],.peach-react [data-jav-resources]{flex-direction:column;gap:12px;margin-bottom:18px;display:flex}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary{min-height:var(--control-h);width:100%;font-size:var(--fs-md);gap:8px;font-weight:600}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary svg{flex:none;width:18px;height:18px}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary .contents svg{stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-review]{border-top:1px solid var(--line-soft);font-size:var(--fs-sm);padding-top:12px}.peach-react [data-jav-review-meta]{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.peach-react [data-jav-review] time{color:var(--muted)}.peach-react [data-jav-rating] [data-rating-icon]{width:19px;height:19px;display:block;position:relative}.peach-react [data-jav-rating] [data-rating-icon] svg{display:block;position:absolute;inset:0}.peach-react [data-jav-rating] [data-rating-fill]{position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-jav-rating] [data-rating-fill] svg{fill:currentColor;max-width:none}.peach-react [data-item-detail] [data-review-rating]{margin:0}.peach-react [data-review-rating] [data-rating-stars]{margin-left:0}.peach-react [data-review-rating] [data-rating-icon],.peach-react [data-review-rating] [data-rate],.peach-react [data-review-rating] [data-rate] svg{width:16px;height:16px}.peach-react [data-review-rating] [data-rating-value]{display:none}@media (width>=761px){.peach-react [data-jav-detail]>[data-stage-side]{min-height:0}.peach-react [data-jav-detail] [data-stage-side-content]{max-height:none}}@media (width>=1081px){.peach-react [data-jav-detail]{grid-template-rows:minmax(0,1fr)}}.peach-react [data-jav-info]{overflow-anchor:none}.peach-react [data-jav-review] p:last-child,.peach-react [data-jav-summary]{white-space:pre-wrap}.peach-react [data-jav-failure]{min-height:260px;padding:48px 24px;position:relative}@media (width<=640px){.peach-react [data-jav-detail] [data-jav-art]{min-height:220px}}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-missing]{aspect-ratio:4/3;border-radius:var(--surface-radius);color:#ffffff9e;width:min(480px,80vw);font-size:var(--fs-sm);background:#ffffff0f;place-items:center;display:grid}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (width<=400px){.peach-react [data-photo-zoom] input{display:none}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-person-ring][data-native-clamp=true] img{object-fit:cover}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}video.video-js{vertical-align:top;font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{display:none}[data-stage-media] .video-js:not(:has(.vjs-peach-bezel)) .vjs-control-bar{visibility:hidden}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:#28282899;border-radius:0;width:100%;height:6px;margin:0;transition:transform .2s cubic-bezier(.05,0,0,1);transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-holder,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-holder{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1);position:absolute;top:50%;right:-6px;transform:translateY(-50%)scaleY(1.5)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-play-progress:before,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-play-progress:before{transform:translateY(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{aspect-ratio:16/9;border-radius:var(--floating-radius);background:#000;border:2px solid #fff;width:240px;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);color:#fff;min-width:17px;height:12px;font-size:var(--fs-xs);transform-origin:100% 0;background:#f03;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;border-radius:var(--floating-radius);width:min(274px,100vw - 28px);max-height:min(420px,100vh - 130px);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:35px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 0!important}.vjs-peach-option-check{place-items:center;width:35px;height:24px;display:grid}.vjs-peach-option-check svg{fill:currentColor;stroke:none;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:cover!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none;width:18px;height:18px}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage]{--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - 32px)}[data-stage][data-stage-kind]:is([data-stage-kind=item],[data-stage-kind=jav])>[data-stage-scroll]{height:100%;max-height:100%;display:block;overflow:hidden auto}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:76dvh;--detail-gallery-height:calc(var(--detail-media-height) - 116px)}@media (width>=1081px){[data-stage][data-stage-kind=jav]{--detail-media-height:calc(100dvh - 34px)}[data-stage][data-stage-kind=item]{--detail-media-height:clamp(300px,calc(100dvh - 294px),76dvh)}}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:var(--detail-media-height);flex:none}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]) [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage] [data-skeleton=detail] [data-stage-media]{aspect-ratio:auto;width:100%;max-width:100%;max-height:none}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr) 116px;grid-template-columns:minmax(0,1fr);place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery])>:is([data-jav-picture],[data-catalog-picture],[data-jav-picture-wait],[data-jav-video],[class~=video-js],[role=note]){min-height:0;max-height:var(--detail-gallery-height);height:var(--detail-gallery-height);object-fit:contain;grid-area:1/1;width:100%}[data-item-samples-state]{z-index:2;position:absolute;bottom:44px;right:16px}[data-stage] :is([data-jav-art],[data-item-gallery])>[data-carousel-below]{box-sizing:border-box;grid-area:2/1;align-self:end;min-width:0}[data-stage] [data-jav-video]{place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-video]>[class~=video-js],[data-item-gallery]>[class~=video-js]){width:min(100%,calc(var(--detail-gallery-height) * 16 / 9));height:auto;max-height:var(--detail-gallery-height);aspect-ratio:16/9}@media (width<=1080px){[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:min(56dvh,calc(56.25vw + 116px))}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:auto}}@media (width<=760px){[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - env(safe-area-inset-top) - 16px)}}body[data-detail-open]{--glow-drift-play:paused;overflow:hidden}body[data-detail-open] [class~=glowlayer]:before{animation-play-state:paused,paused,running}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);max-height:360px}[data-detail-continuation] [data-mix-queue-actions] [data-queue-close]{display:none}[data-detail-continuation]{--detail-card-width:216px;background:var(--detail-surface);flex:none;grid-template-columns:minmax(0,1fr);min-width:0;display:grid}[data-detail-continuation]:empty{display:none}[data-detail-continuation]>[data-item-related]{min-width:0}@media (width>=1081px){[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related]){grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="2"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) * 2 + 38px)) minmax(0,1fr)}[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related])>:is([data-mix-queue],[data-item-related]){grid-template-rows:subgrid;grid-row:span 2;row-gap:0;display:grid}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue]{grid-column:1}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related]{border-left:1px solid var(--line-soft);padding-top:14px}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related] h3{align-self:start;margin:0;padding-bottom:11px}[data-detail-continuation]:has(>[data-mix-queue])>[data-item-related]{grid-column:2}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue] [data-mix-list]{padding-top:8px}}[data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width)}[data-detail-continuation]:has(>[data-mix-queue]) [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;clip-path:inset(0 round var(--badge-radius));background:#000;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-detail-continuation]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-list]{grid-auto-flow:column;grid-auto-columns:var(--detail-card-width);overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-detail-continuation]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-detail-continuation]>[data-mix-queue] [data-mix-item]:hover,[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-pic]{width:100%}[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]:after{content:"";z-index:1;border-radius:var(--badge-radius);box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px var(--ground);pointer-events:none;position:absolute;inset:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-detail-continuation]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:minmax(0,max-content) max-content minmax(0,1fr);gap:5px 8px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);overflow-wrap:anywhere;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-detail-continuation]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:nowrap;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]){border-radius:var(--control-radius);background:var(--surface);border:0;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]) svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]{color:var(--ink-2)}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]:hover{background:var(--hover)}[data-stage-side-content] [data-stage-actions] button:disabled{background:var(--surface);color:var(--muted);cursor:not-allowed}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}[data-stage][data-theater]{--detail-gallery-height:var(--detail-media-height)}[data-stage][data-theater] [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage][data-theater] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr)}[data-stage][data-theater] :is([data-media-carousel][data-carousel-below],[data-item-samples-state]){display:none}[data-stage][data-theater] [data-stage-scroll] :is([data-stage-media]>.video-js,[data-stage-media]>video,[data-jav-video]>.video-js){aspect-ratio:auto;width:100%;height:100%;max-height:none}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;padding:0 10px var(--glowrow-pad) 0;gap:0;min-width:0;margin-right:16px;display:grid}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{gap:0;min-width:0;display:grid}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-group]>h4{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-xs);align-items:center;margin:0;font-weight:600;display:flex}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:600}[data-settings-panel] [data-glow-field] [class~=ui-dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop]{min-width:0;position:relative}[data-settings-panel] [data-glow-stop]+[data-glow-stop]:before{content:"";background:linear-gradient(to right,var(--line-soft),transparent);height:1px;position:absolute;top:0;left:54px;right:6px}[data-settings-panel] [data-glow-stop-toggle]{width:100%;min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 7px var(--glowrow-pad) 8px;border-radius:var(--floating-radius);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle]:hover{background:color-mix(in srgb,var(--ink) 3.2%,transparent)}}[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:color-mix(in srgb,var(--ink) 4.6%,transparent)}}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:14px;height:14px;color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:600}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{gap:0;display:grid;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding-top:var(--glowrow-pad);justify-content:flex-end;display:flex}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{border-radius:var(--control-radius);min-width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{stroke:currentColor;fill:none;width:17px;height:17px}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row]{grid-template-columns:1fr;gap:9px}[data-settings-panel] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=ui-pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0 16px 0 0!important;padding:10px 12px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}: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{fill:currentColor;stroke:none;flex:none;width:20px;height:20px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}: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]{box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){: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-settings-scroll] [data-setting-row]{grid-template-columns:1fr;gap:12px}[data-settings-panel] [data-settings-scroll] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:16px}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:1fr;gap:10px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{width:100%}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:1}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:100%}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr) auto;gap:12px}}@media (width<=420px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr);gap:8px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting])>:last-child{justify-self:end}}@media (width<=760px){[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]:after{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:16px}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}: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-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-dragging]{opacity:.38}[data-sidebar-nav] button[data-drop=before]:before,[data-sidebar-nav] button[data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-sidebar-nav] button[data-drop=before]:before{top:-3px}[data-sidebar-nav] button[data-drop=after]:after{bottom:-3px}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{flex-direction:column;gap:3px;margin-bottom:18px;display:flex}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{z-index:95;opacity:0;pointer-events:none;transition:opacity .18s,display .18s allow-discrete;background:#0000006b;display:none;position:fixed;inset:0}[data-sidebar-scrim][class~=on]{opacity:1;pointer-events:auto;display:block}@starting-style{[data-sidebar-scrim][class~=on]{opacity:0}}[data-sidebar-group]{border-top:1px solid var(--line-soft);margin-bottom:13px;padding-top:11px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{flex-wrap:wrap;gap:4px;display:flex}[data-sidebar-chip] img,[data-sidebar-chip]>svg{border-radius:var(--badge-radius);object-fit:contain;flex:none;width:14px;height:14px}[data-sidebar-source-icon]{object-fit:contain;min-width:16px;opacity:1!important;filter:none!important;width:16px!important;height:16px!important;display:block!important}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2px}[data-sidebar-chip]{padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);cursor:pointer;font-size:var(--fs-xs);background:0 0;align-items:center;gap:6px;display:inline-flex}[data-sidebar-chip]:hover{color:var(--ink)}[data-sidebar-chip][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip]{color:#d2703f;border-color:#d2703f44}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip][aria-pressed=true]{background:#d2703f22;border-color:#d2703f}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip]{color:#6c9bd6;border-color:#6c9bd644}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip][aria-pressed=true]{background:#6c9bd622;border-color:#6c9bd6}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip]{color:var(--muted);border-color:var(--line)}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip][aria-pressed=true]{background:var(--hover);border-color:var(--ink-2);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip]{color:#7fbf7f;border-color:#7fbf7f44}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip][aria-pressed=true]{background:#7fbf7f22;border-color:#7fbf7f}[data-sidebar-chip] [data-sidebar-count]{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}[data-sidebar-cost]{border-radius:50%;flex:none;width:5px;height:5px}[data-sidebar-cost=free]{background:var(--keep)}[data-sidebar-cost=metered]{background:var(--meter)}[data-sidebar-duration]{padding:3px 2px 8px}[data-sidebar-range]{--lo:0%;--hi:100%;height:28px;position:relative}[data-sidebar-range-base],[data-sidebar-range-fill]{border-radius:var(--pill-radius);background:var(--line);height:4px;position:absolute;top:12px;left:0;right:0}[data-sidebar-range-fill]{left:var(--lo);right:calc(100% - var(--hi));background:var(--ink)}[data-sidebar-range] input{pointer-events:none;appearance:none;background:0 0;width:100%;height:28px;margin:0;position:absolute;inset:0}[data-sidebar-range] input::-webkit-slider-thumb{appearance:none;background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:16px;height:16px;transition:box-shadow .12s}[data-sidebar-range] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--hover)}[data-sidebar-range] input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--tungsten);outline-offset:2px}[data-sidebar-range] input::-moz-range-thumb{background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:14px;height:14px}[data-sidebar-chip][data-offline]{opacity:.42;cursor:not-allowed;text-decoration:none}[data-sidebar-chip][data-offline] [data-sidebar-count]{text-decoration:none}html[data-theme-snapshot] :is([data-sidebar-drawer],[data-sidebar-glide]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--ground)!important;transition:none!important}[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}:root:not([data-glow-native]) [data-sidebar-drawer][data-sidebar-drawer]{--glass-drift-a:none;--glass-drift-b:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide][hidden]{display:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:-1;border-radius:10px}[data-sidebar-nav] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}[data-sidebar-nav] button:active{transition:scale 60ms ease-out;scale:.96}[data-sidebar-drawer][data-sidebar-drawer]{border-radius:26px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]){color:var(--glass-text)}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true],[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--glass-text);filter:none;box-shadow:none;background:0 0}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:hover{color:var(--glass-text);background:0 0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{animation:none}}html[class~=board-high-contrast] [data-sidebar-drawer][data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}[data-sidebar-drawer]{box-shadow:0 12px 40px var(--sidebar-drop)}body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;width:272px;transition:none;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 16px));box-shadow:0 2px 4px #00000003}[data-sidebar-drawer][class~=open]{transform:none;box-shadow:0 2px 4px #00000003}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{border-radius:10px;gap:12px;height:40px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px}[data-sidebar-drawer] [data-sidebar-nav] svg{width:18px;height:18px;margin:0}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]{background:var(--board-blue);color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{color:var(--ink);align-items:center;gap:10px;margin-right:auto;text-decoration:none;display:flex}[data-sidebar-drawer] #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer] #brandHome h1{letter-spacing:.02em;font-size:20px}[data-sidebar-drawer] #brandHome [class~=sub]{display:none}@media (width<=760px){body[class~=drawer-open]{--railW:0px}[data-sidebar-drawer]{z-index:97;border-radius:20px;width:min(320px,100vw - 24px);top:64px;bottom:12px}[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:var(--ground)}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:color-mix(in srgb,var(--ground) 86%,transparent)}}[data-sidebar-scrim][class~=on]{display:block;top:56px}}@media (width>=761px){html>body{transition:padding-left var(--board-motion)}}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{background:0 0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}[data-sidebar-drawer] [data-sidebar-head] #filterBtn svg{width:20px;height:20px;margin:0}[data-sidebar-drawer] [data-sidebar-head]{gap:8px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button span{white-space:nowrap;opacity:1;filter:blur();min-width:0;max-width:190px;transition:max-width var(--board-motion),opacity var(--board-motion),filter var(--board-motion);overflow:hidden}@media (width>=761px){[data-sidebar-drawer][data-sidebar-drawer]{width:60px;transition:width var(--board-motion);border-radius:24px;transform:none}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{width:260px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{gap:8px;min-width:36px;padding:8px}[data-sidebar-drawer] [data-sidebar-nav] button svg{flex:none;width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{opacity:0;filter:blur(4px);max-width:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse}[data-sidebar-drawer]:not([class~=open]) #brandHome{margin:0}[data-sidebar-drawer]:not([class~=open]) #brandHome h1{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{height:20px}}@media (width<=760px){[data-sidebar-drawer][data-sidebar-drawer]{z-index:102;transition:transform var(--board-dialog-motion);top:12px;bottom:12px;transform:translate(calc(-100% - 16px))}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{transform:translate(0)}[data-sidebar-scrim][data-sidebar-scrim][class~=on]{z-index:101;visibility:hidden;background:0 0;top:0}[data-sidebar-scrim][data-sidebar-scrim][class~=on]:before{content:"";visibility:visible;background:#0007;position:absolute;inset:0}}[data-sidebar-drawer][data-sidebar-drawer]{flex-direction:column;display:flex;overflow:hidden}[data-sidebar-drawer] [data-sidebar-scroll]{scrollbar-width:none;flex:1;min-height:0}[data-sidebar-drawer] [data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-drawer] [class~=ovtrack]{display:none}[data-sidebar-drawer] #brandHome{border-radius:24px;flex:1;min-width:0}[data-sidebar-drawer] #brandHome h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}[data-sidebar-head] [class~=mark]{background:var(--picked);color:var(--ink-2);border-radius:50%;place-items:center;display:grid}[data-sidebar-head] [class~=mark]>svg,[data-sidebar-head] [class~=mark]>img{object-fit:contain;fill:none;stroke:currentColor;width:24px;height:24px}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [class~=board-library-chevron]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse;min-height:80px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:36px;display:grid}[data-sidebar-drawer]:not([class~=open]) #brandHome{flex:none;justify-content:center;gap:0;width:36px;height:36px}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{justify-content:center;width:36px;height:36px;min-height:36px;padding:8px}}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]{border:0;margin:4px 0 0;padding:0}[data-sidebar-toggle]{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;padding:8px;display:flex}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{background:0 0;border-radius:0;place-items:center;display:grid}[data-sidebar-head] [class~=mark] svg,[data-sidebar-drawer] [data-sidebar-nav] button svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-home-logo]{object-fit:contain;flex:none;width:24px;height:24px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;order:2;width:14px;height:14px;margin-left:auto;transform:rotate(0)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{flex-direction:column;gap:2px;padding-left:8px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{width:100%;min-width:0;min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;gap:8px;padding:8px;font-size:14px;font-weight:400;line-height:20px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{background:var(--surface);color:var(--muted);border-radius:4px;flex:none;margin-left:auto;padding:1px 4px;font-size:12px;line-height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{flex:none;width:16px;height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-home-logo]{width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.iconswap{flex:none;place-items:center;line-height:1;display:inline-grid}.iconswap>[data-icon]{transition:opacity var(--motion-swap),filter var(--motion-swap),transform var(--motion-swap);grid-area:1/1;place-items:center;display:grid}.iconswap[data-icon-state=a]>[data-icon=a],.iconswap[data-icon-state=b]>[data-icon=b]{opacity:1;filter:blur();transform:scale(1)}.iconswap[data-icon-state=a]>[data-icon=b],.iconswap[data-icon-state=b]>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}@keyframes digit-pop-in{0%{opacity:0;filter:blur(2px);transform:translateY(8px)}to{opacity:1;filter:blur();transform:none}}.digits{align-items:baseline;display:inline-flex}.digits>span{white-space:pre;display:inline-block}.digits.popping>span{animation:digit-pop-in var(--motion-count) both;animation-delay:calc(var(--motion-stagger) * var(--digit-at,0))}.skelreveal:not(dialog){position:relative}.skelreveal>.skelfade{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}.skelreveal.revealing>.skelfade{opacity:0;filter:blur(2px)}.skelreveal>:not(.skelfade){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes skel-reveal-in{0%{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur()}}@keyframes check-settle{0%{opacity:0;filter:blur(10px);transform:rotate(80deg)}to{opacity:1;filter:blur();transform:rotate(0)}}@keyframes check-bob{0%{translate:0 14px}to{translate:0}}@keyframes check-draw{0%{stroke-dashoffset:24px}to{stroke-dashoffset:0}}[data-toast-glyph=draw]>svg{stroke-dasharray:24;animation:check-settle var(--board-motion) backwards, check-bob calc(var(--spring-press-ms)*1ms) var(--spring-press) backwards, check-draw var(--board-motion) var(--motion-stagger) backwards}@keyframes clear-dissolve{to{opacity:0;filter:blur(2px);transform:translateY(-12px)}}.cleardissolve{z-index:2;white-space:nowrap;pointer-events:none;color:inherit;animation:clear-dissolve var(--motion-reveal) forwards;align-items:center;display:flex;position:absolute;overflow:hidden}.cleardissolve>[data-dissolve-value]{will-change:transform;min-width:max-content;display:block}.countbadge{transition:transform var(--motion-pop), opacity var(--motion-pop),filter var(--motion-pop);display:inline-block}.countbadge.popped{opacity:0;filter:blur(2px);transition:none;transform:scale(0)}.revealline{opacity:0;filter:blur(3px);transition:none;transform:translateY(12px)}.revealline.revealing{opacity:1;filter:blur();transition:opacity var(--motion-reveal),transform var(--motion-reveal),filter var(--motion-reveal);transition-delay:calc(var(--motion-stagger) * var(--reveal-at,0));transform:none}@property --edge-pull{syntax:"<length>";inherits:true;initial-value:0}.edgepull>*{translate:var(--edge-pull) 0}svg.ui-externalmark{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center;width:1.15em;height:1.15em}.ui-javidentity{vertical-align:baseline;white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.ui-javcode{letter-spacing:.01em;font-weight:600}.ui-javtitle{font-weight:400}[data-feed-id] .ui-javidentity{min-width:0;max-width:100%}[data-feed-id] .ui-javcode{text-overflow:ellipsis;min-width:0;overflow:hidden}@keyframes geist-spinner-opacity{0%{opacity:1}to{opacity:.15}}.ui-geist-spinner{color:currentColor;flex:none;width:16px;height:16px;display:inline-block;position:relative}.ui-geist-spinner>i{border-radius:var(--pill-radius);transform-origin:1px 7px;width:2px;height:4px;transform:rotate(var(--spinner-angle));animation:geist-spinner-opacity 1s linear var(--spinner-delay) infinite;background:currentColor;position:absolute;top:1px;left:7px}@keyframes geist-loading-dot{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.ui-geist-loading{min-width:0;color:var(--muted);align-items:center;gap:8px;display:inline-flex}.ui-geist-loading-dots{flex:none;align-items:center;gap:3px;display:inline-flex}.ui-geist-loading-dots>i{background:currentColor;border-radius:50%;width:4px;height:4px;animation:1.2s ease-in-out infinite geist-loading-dot}.ui-geist-loading-dots>i:nth-child(2){animation-delay:.15s}.ui-geist-loading-dots>i:nth-child(3){animation-delay:.3s}.ui-geist-badge{box-sizing:border-box;border-radius:var(--badge-radius);background:var(--hover);height:20px;color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;justify-content:center;align-items:center;padding:0 6px;font-weight:500;line-height:1;display:inline-flex}.ui-geist-progress{border-radius:var(--pill-radius);background:var(--line-soft);height:8px;margin-top:7px;overflow:hidden}.ui-geist-progress i{width:var(--progress-value);border-radius:inherit;background:var(--tungsten);height:100%;display:block}.ui-geist-progress{position:relative}.ui-geist-progress i{background:var(--progress-color,var(--feedback-success))}@media (prefers-reduced-motion:no-preference){.ui-geist-progress i{transition:width .2s ease-out,background-color .2s ease-out}}.ui-emptystate{box-sizing:border-box;text-align:center;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-column:1/-1;align-content:center;justify-items:center;gap:8px;width:100%;min-height:320px;padding:48px 24px;display:grid}.ui-emptystate .ui-es-icon{box-sizing:border-box;border-radius:var(--floating-radius);border:1px solid var(--border-15);width:54px;height:54px;color:var(--muted);place-items:center;margin-bottom:8px;padding:10px;display:grid}.ui-emptystate .ui-es-icon svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:32px;height:32px}.ui-emptystate .ui-es-copy{justify-items:center;gap:8px;display:grid}.ui-emptystate h3{font-size:var(--fs-md);color:var(--ink);margin:0;font-weight:600}.ui-emptystate p{max-width:340px;font-size:var(--fs-sm);color:var(--muted);margin:0;line-height:1.55}.ui-emptystate .ui-es-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.ui-pcheck{cursor:pointer;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative}.ui-pcheck input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.ui-pcheck>span{box-sizing:border-box;border:1px solid var(--border-15);border-radius:var(--badge-radius);background:var(--ground);color:#0000;place-items:center;width:16px;height:16px;transition:all .14s;display:grid}.ui-pcheck>span svg{stroke:currentColor;fill:none;stroke-width:2.5px;width:13px;height:13px;display:block}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{background:var(--hover)}.ui-pcheck input:checked+span{border-color:var(--ink-2);color:var(--ink)}.ui-pcheck input:focus-visible+span{outline:2px solid var(--tungsten);outline-offset:2px}.ui-pcheck input:disabled+span{cursor:not-allowed;border-color:var(--line)}.ui-pcheck input:disabled:checked+span{color:var(--muted)}.ui-pcheck:has(input:disabled){cursor:not-allowed}.ui-pcheck:has(input:disabled)>span{background:var(--ground)}[data-layout=masonry]>.ui-emptystate{column-span:all}.ui-pcheck{vertical-align:middle;align-self:center}.ui-pcheck>span{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:16px;height:16px;box-shadow:var(--elevation-xs);border-radius:4px;transition:background .15s,border-color .15s,box-shadow .15s;position:relative}.ui-pcheck input:is(:checked,:indeterminate)+span{color:#fff;background:var(--board-blue);border-color:#0000;box-shadow:inset 0 1px #ffffff40,0 1px 2px #0450e229}.ui-pcheck input:indeterminate+span svg{visibility:hidden}.ui-pcheck input:indeterminate+span:after{content:"";background:#fff;border-radius:1px;width:8px;height:2px;position:absolute;top:6px;left:3px}.ui-pcheck input:disabled+span{opacity:.5}.ui-pcheck>span svg{stroke-width:2px;width:14px;height:14px}.ui-pcheck:hover>span{border-color:var(--color-border-button-hover)}input[type=checkbox]:not([data-toggle]):not(.ui-pcheck input):not(.peach-react input){accent-color:var(--color-accent-600);vertical-align:middle;flex:none;width:16px;height:16px;margin:0}.ui-pcheck>span{border-color:var(--color-border-checkbox-default);box-shadow:var(--elevation-xs);transition:background-color .15s,border-color .15s,box-shadow .15s}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{border-color:var(--color-border-checkbox-hover);background:var(--color-background-primary-default)}.ui-pcheck input:is(:checked,:indeterminate)+span{background:var(--board-blue);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}.ui-pcheck:hover input:is(:checked,:indeterminate)+span,label:hover>.ui-pcheck input:is(:checked,:indeterminate)+span{background:linear-gradient(#60a5fa,#3b82f6);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}@keyframes board-check-draw{0%{stroke-dashoffset:23px}to{stroke-dashoffset:0}}.ui-pcheck>span svg{stroke-dasharray:23;stroke-dashoffset:0}.ui-pcheck input:checked+span svg{animation:.2s cubic-bezier(.65,0,.35,1) forwards board-check-draw}@media (prefers-reduced-motion:reduce){.ui-pcheck input:checked+span svg{stroke-dashoffset:0;animation:none}}.ui-project-banner{--feedback-color:var(--muted);border-block:1px solid var(--feedback-color);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;min-height:40px;padding:8px 24px;display:flex}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{border-block:1px solid color-mix(in srgb,var(--feedback-color) 30%,var(--ground))}}.ui-project-banner{background:var(--feedback-color)}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{background:color-mix(in srgb,var(--feedback-color) 5%,var(--ground))}}.ui-project-banner{color:var(--feedback-color);font-size:var(--fs-md);line-height:20px}.ui-project-banner>div{align-items:center;gap:8px;min-width:0;display:flex}.ui-project-banner p{overflow-wrap:anywhere;margin:0}.ui-project-banner>div>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.ui-project-banner>a{color:inherit;text-underline-offset:5px;flex:none;font-weight:500;text-decoration:underline}.ui-project-banner-error{--feedback-color:var(--drop)}.ui-project-banner-warning{--feedback-color:var(--meter)}.ui-project-banner-success{--feedback-color:var(--feedback-success)}@media (width<=600px){.ui-project-banner{justify-content:flex-start}.ui-project-banner>a{margin-left:auto}}.ui-geist-gauge{vertical-align:middle;flex:none;width:32px;height:32px;margin-inline-end:8px;display:inline-flex}.ui-geist-gauge svg{fill:none;stroke-width:3px;width:100%;height:100%}.ui-geist-gauge circle:first-child{stroke:var(--line-soft)}.ui-geist-gauge circle:last-child{stroke:var(--feedback-success);transform-origin:50%;transform:rotate(-90deg)}.ui-geist-progress-stop{background:var(--ground);width:2px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.ui-geist-gauge[data-level=warning] circle:last-child{stroke:var(--meter)}.ui-geist-gauge[data-level=error] circle:last-child{stroke:var(--drop)}.ui-gauge-status{font-size:var(--fs-xs);margin-inline-end:8px}@media (prefers-reduced-motion:no-preference){.ui-geist-gauge circle:last-child{transition:stroke-dasharray .2s ease-out,stroke .2s ease-out}}.ui-dial{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.ui-dial-slider{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;align-items:center;min-width:0;height:30px;display:flex;position:relative}.ui-dial-track{border-radius:var(--pill-radius);background:var(--ink);width:100%;height:20px;position:relative}@supports (color:color-mix(in lab, red, red)){.ui-dial-track{background:color-mix(in srgb,var(--ink) 11%,transparent)}}.ui-dial-track{box-shadow:inset 0 1px 2px var(--overlay-5);overflow:hidden}.ui-dial-fill{width:var(--dial-at,0%);background:var(--ink);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.ui-dial-fill{background:color-mix(in srgb,var(--ink) 42%,transparent)}}.ui-dial-slider[data-dragging] .ui-dial-fill{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.ui-dial-slider[data-dragging] .ui-dial-fill{background:color-mix(in srgb,var(--ink) 55%,transparent)}}.ui-dial-ticks{opacity:0;pointer-events:none;justify-content:space-between;padding:0 10%;transition:opacity .12s;display:flex;position:absolute;left:0;right:0}.ui-dial-ticks span{background:var(--ink);width:1px;height:8px}@supports (color:color-mix(in lab, red, red)){.ui-dial-ticks span{background:color-mix(in srgb,var(--ink) 20%,transparent)}}.ui-dial-handle{left:var(--dial-at,0%);border-radius:var(--pill-radius);background:var(--ink);width:3px;height:20px;box-shadow:0 1px 2px var(--overlay-5);opacity:0;pointer-events:none;transition:opacity .12s;position:absolute;transform:translate(-50%)}.ui-dial-slider:hover :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider:focus-visible :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider[data-dragging] :is(.ui-dial-ticks,.ui-dial-handle){opacity:1}.ui-dial-slider:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--pill-radius)}.ui-dial-value{min-width:44px;color:var(--ink-2);text-align:right;font-weight:400}.ui-gselect{min-width:0;display:inline-flex;position:relative}.ui-geist-scroller{min-width:0;min-height:0;position:relative;overflow:hidden}.ui-geist-scroller-container{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;height:100%}.ui-geist-scroller-container::-webkit-scrollbar{display:none}.ui-geist-scroller-container[data-overflow=y]{overflow:hidden auto}.ui-geist-scroller-container[data-overflow=x]{overflow:auto hidden}.ui-geist-scroller-container[data-overflow=both]{overflow:auto}.ui-geist-scroller-overlay{z-index:2;pointer-events:none;position:absolute;inset:0}.ui-geist-scroller-overlay:before,.ui-geist-scroller-overlay:after{content:"";opacity:0;height:40px;transition:opacity .18s;position:absolute;left:0;right:0}.ui-geist-scroller-overlay:before{background:linear-gradient(to bottom,var(--surface),transparent);top:0}.ui-geist-scroller-overlay:after{background:linear-gradient(to top,var(--surface),transparent);bottom:0}.ui-geist-scroller-overlay.ui-can-scroll-top:before,.ui-geist-scroller-overlay.ui-can-scroll-bottom:after{opacity:1}.ui-geist-scroller:has(>[data-overlay-scrollbar])>.ui-geist-scroller-overlay{display:none}.ui-ov-edges{pointer-events:none;z-index:1;position:absolute;overflow:hidden}.ui-ov-edges[hidden]{display:none}.ui-ov-edges>span{visibility:hidden;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:16px;position:absolute;left:0;right:0}.ui-ov-edge-top{top:0;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.ui-ov-edge-bottom{bottom:0;-webkit-mask-image:linear-gradient(#0000,#000);mask-image:linear-gradient(#0000,#000)}.ui-ov-edges.ui-can-scroll-top>.ui-ov-edge-top,.ui-ov-edges.ui-can-scroll-bottom>.ui-ov-edge-bottom{visibility:visible}.ui-geist-modal{box-sizing:border-box;border-radius:var(--floating-radius);background:var(--surface);width:min(540px,100vw - 20px);max-width:min(540px,100vw - 20px);max-height:min(800px,80vh);color:var(--ink);overscroll-behavior:contain;box-shadow:0 0 0 1px var(--border-15),0 32px 72px -12px #0009,0 8px 32px -12px #0009;opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;border:0;padding:0;overflow:hidden auto}.ui-geist-modal::backdrop{opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;background:#0009}.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:1}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-body{font-size:var(--fs-md);color:var(--ink-2);padding:20px;line-height:20px}.ui-geist-modal-body h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.ui-geist-modal-body [data-modal-error]:not(:empty){margin-top:12px}.ui-geist-modal-form{display:contents}.ui-geist-modal-fields{gap:14px;margin-top:16px;display:grid}.ui-geist-modal-fields:empty{display:none}.ui-playlistpage{padding:4px 0 42px}.ui-playlistpage>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.ui-playlistpage h2{margin:0 0 8px}.ui-playlistpage p{color:var(--muted);font-size:var(--fs-sm);margin:0}.ui-playlistcards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;display:grid}.ui-activitypage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-activity-runs{gap:12px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.ui-playlistpage h2{font-size:var(--fs-3xl);letter-spacing:-.01em;font-weight:600;line-height:1.25}@media (width<=760px){.ui-playlistpage>header{flex-direction:column;align-items:stretch}.ui-playlistpage h2{font-size:var(--fs-2xl)}}@media (width<=640px){.ui-playlistpage h2{font-size:var(--fs-xl)}}.ui-activitypage{width:100%;max-width:var(--board-content)}.ui-playlistpage>header h2{font:var(--board-title);letter-spacing:0}.ui-tastehead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;min-height:40px;display:flex}.ui-tastesummaries{overscroll-behavior-x:contain;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-tastestate{min-height:20px;color:var(--meter);font-size:var(--fs-xs);margin:8px 0}.ui-tastesummaries{margin-bottom:16px}.ui-tastehero{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px;margin-bottom:16px;display:grid;overflow:hidden}.ui-tastebars{align-self:center;min-width:0;padding:24px}.ui-insightpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);overflow:hidden}.ui-insightpanel>header{border-bottom:1px solid var(--line-soft);align-items:center;min-height:52px;padding:0 16px;display:flex}.ui-insightpanel>header h3{font-size:var(--fs-md);margin:0}.ui-insightpanel>header p{color:var(--muted);font-size:var(--fs-xs);margin:2px 0 0}.ui-insightpanelbody{min-width:0;padding:14px 16px 16px}@media (width<=900px){.ui-tastehero{grid-template-columns:minmax(220px,40%) minmax(0,1fr)}}@media (width<=640px){.ui-tastehead{align-items:stretch}.ui-tastesummaries{grid-auto-columns:minmax(168px,82%)}.ui-tastehero{grid-template-columns:minmax(0,1fr);min-height:0}.ui-tastebars{padding:18px}.ui-insightpanel>header{padding:0 14px}.ui-insightpanelbody{padding:12px}}.ui-tastehead{gap:16px}.ui-tastesummaries{background-color:#0000;background-image:none;border:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;gap:16px;display:grid;overflow:visible}.ui-insightpanel,.ui-tastehero{background:var(--ground);border:0;border-radius:16px;overflow:clip}.ui-insightpanel>header{border:0;padding-top:8px}@media (width<=1000px){.ui-tastesummaries{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.ui-insightpanel>header:not(:has([role=tablist])){min-height:0;padding:24px 24px 12px;display:block}.ui-insightpanel>header h3{font:var(--board-heading);color:var(--color-text-primary);margin:0}.ui-follow-skeleton-surface{container:follow-list/inline-size}@container follow-list (width<=739.98px){.ui-follow-skeleton-toolbar [data-compact-label]{display:none}}.ui-skeleton-lines{gap:12px;min-width:0;display:grid}[class~=playlistcreate].ui-skeleton-lines{gap:12px;display:grid}[class~=skeleton].ui-skeleton-radar{clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);width:100%;height:260px}[class~=skeleton].ui-skeleton-detail-media{aspect-ratio:16/9;min-width:0;height:auto;max-height:76vh}.ui-board-activity-charts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;margin:20px 0;display:grid}@media (width<=1000px){.ui-board-activity-charts{grid-template-columns:1fr}}.ui-cleanuppage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-organizefields{gap:12px;margin-top:12px;display:grid}.ui-organizefield{gap:6px;min-width:0;display:grid}.ui-organizefield>span{color:var(--ink-2);font-size:var(--fs-sm)}.ui-organizepresets{flex-wrap:wrap;gap:8px;display:flex}.ui-cleanuppage{width:100%;max-width:var(--board-content)}.ui-organize-preset-skeleton>[class~=skeleton-text]{width:4.5em;max-width:none}.ui-organize-input-skeleton{align-items:center;display:flex}.ui-resourcesync{scroll-margin-top:calc(var(--topH) + 18px);gap:16px;display:grid}section.ui-resourcesync>h2{font:var(--board-heading);letter-spacing:0;margin:0}.ui-linkstats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 32px;margin-top:16px;display:grid}.ui-linkstats>div,.ui-linkhosts{gap:2px;min-width:0;display:grid}.ui-linkstats span,.ui-linkhosts span{color:var(--muted);font-size:var(--fs-xs)}.ui-linkstats b{font-size:var(--fs-xl);font-variant-numeric:tabular-nums}.ui-linkstats small{color:var(--muted);font-size:var(--fs-xs)}.ui-linkhosts{margin-top:16px}.ui-linkhosts b{font-weight:500;font-size:var(--fs-sm);overflow-wrap:anywhere}.ui-cleanupstats{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.ui-board-plain-stat-head{min-width:0;color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;align-items:center;gap:8px;display:flex}.ui-board-stat-tile{background:var(--color-background-primary-default);width:32px;height:32px;color:var(--color-text-primary);border-radius:6px;flex:none;place-items:center;display:grid}.ui-board-stat-tile svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}@media (width<=1119px){.ui-cleanupstats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=559px){.ui-cleanupstats{grid-template-columns:minmax(0,1fr)}}.ui-alphagroup{border-radius:var(--floating-radius);background:var(--ground);padding:16px 20px 12px}.ui-alphalist{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 16px;display:grid}.ui-alphagroup{box-shadow:none;border-radius:16px}section:has(>.ui-alphagroup){flex-direction:column;gap:16px;display:flex}.ui-skeletondashstrip{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-skeletondashstrip>span{box-sizing:border-box;border-right:1px solid var(--line-soft);align-content:center;gap:4px;min-width:0;min-height:96px;padding:14px 16px;display:grid}.ui-skeletondashstrip>span:last-child{border-right:0}.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{background:var(--hover);border-radius:var(--control-radius);display:block}.ui-skeletondashstrip i{width:52%;height:17px}.ui-skeletondashstrip b{width:68%;height:28px}.ui-skeletondashstrip em{width:60%;height:17px}@media (width<=640px){.ui-skeletondashstrip{grid-auto-columns:minmax(168px,82%)}}.ui-skeletondashhero,.ui-skeletondashpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);min-width:0;display:grid;overflow:hidden}.ui-skeletondashhero{grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em{background:var(--hover);display:block}.ui-skeletondashhero i{border-radius:var(--control-radius);margin:28px 24px}.ui-skeletondashhero b{border-radius:var(--control-radius);margin:24px}.ui-skeletondashpanel{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.ui-skeletondashpanel i{border-radius:var(--control-radius);grid-column:1/-1;width:26%;height:18px}.ui-skeletondashpanel b,.ui-skeletondashpanel em{border-radius:var(--control-radius);height:84px}@media (width<=640px){.ui-skeletondashhero{grid-template-columns:minmax(0,1fr)}.ui-skeletondashhero i{min-height:180px}.ui-skeletondashhero b{min-height:220px}.ui-skeletondashpanel{grid-template-columns:1fr}}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em,.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{position:relative;overflow:hidden}.ui-skeletondashhero i:after,.ui-skeletondashhero b:after,.ui-skeletondashpanel i:after,.ui-skeletondashpanel b:after,.ui-skeletondashpanel em:after,.ui-skeletondashstrip i:after,.ui-skeletondashstrip b:after,.ui-skeletondashstrip em:after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse skeleton-sweep;position:absolute;inset:0 -200% 0 0}.ui-skeletondashstrip{background-color:#0000;background-image:none;border:0;gap:16px}.ui-skeletondashstrip>span{background:var(--ground);border:0;border-radius:16px;min-height:152px}.ui-skeletondashhero,.ui-skeletondashpanel{border:0;border-radius:16px}.ui-entityidentity{min-width:0;max-width:100%}[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}.peach-react .ui-configuration-skeleton-toggle{border-radius:var(--pill-radius);flex:none;width:42px;height:24px}.peach-react .ui-configuration-skeleton-select{border-radius:var(--control-radius);flex:none;width:128px;height:36px}.ui-board-local-nav{scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}.ui-board-local-nav button{border-radius:var(--control-radius);color:var(--ink-2);cursor:pointer;white-space:nowrap;background-color:#0000;background-image:none;border:0;flex:none;padding:8px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}.ui-board-local-nav button:hover{color:var(--ink);background:0 0}.ui-board-local-nav button[aria-selected=true]{background:var(--hover);color:var(--ink)}.ui-board-local-nav button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}.ui-board-tab-count{font:var(--board-caption);background:var(--ink);border-radius:4px;margin-left:6px;padding:1px 4px;font-weight:500;line-height:16px;display:inline-block}@supports (color:color-mix(in lab, red, red)){.ui-board-tab-count{background:color-mix(in srgb,var(--ink) 10%,transparent)}}.ui-board-tab-count{color:var(--ink);opacity:.5;vertical-align:1px}.ui-board-local-nav button[aria-selected=true] .ui-board-tab-count{opacity:1}.ui-board-tabs button svg{vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px;margin-right:6px}@media (width<=760px){.ui-board-local-nav{gap:0}.ui-board-local-nav button{padding:8px 9px;font-size:13px;line-height:18px}}.ui-board-tooltip{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);max-width:240px;color:var(--color-text-primary);font:var(--board-caption);white-space:normal;box-shadow:var(--elevation-dropdown);width:max-content;max-width:min(240px,100vw - 16px);z-index:var(--layer-tooltip);pointer-events:none;border-radius:8px;margin:0;padding:6px 10px;position:fixed;inset:auto}.ui-board-tooltip[hidden]{display:none}@media (prefers-reduced-motion:reduce){.ui-board-tooltip{transition:none}}.ui-configpage{width:100%;max-width:var(--board-content);gap:20px;margin:0 auto;display:grid}.ui-configgroup{font-size:var(--fs-2xl);margin:16px 0 0;font-weight:600;line-height:1.3}.ui-configgroup:first-child{margin-top:0}.ui-configpage>.ui-configgroup{display:none}.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:190px minmax(0,1fr);align-items:start;gap:24px}.ui-configpage>.ui-board-local-nav{border:0;border-radius:0;flex-direction:column;grid-area:1/1;align-items:stretch;margin:0;padding:0;display:flex;position:static}body #stats .ui-configpage>.ui-board-local-nav>button{text-align:left;white-space:normal;justify-content:flex-start}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:1/2;min-width:0}@media (width<=900px){.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:minmax(0,1fr);gap:20px}body #stats .ui-configpage>.ui-board-local-nav{flex-flow:wrap;grid-area:1/1;position:static;overflow:visible}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:2/1}}[data-board-group]:not(.ui-board-group-active){display:none!important}.ui-board-job-progress{align-items:center;gap:12px;padding:12px 0;font-size:14px;line-height:20px;display:flex}.ui-board-job-progress svg{flex:none}.ui-board-job-progress circle{fill:none;stroke-width:2.5px;stroke-linecap:round}.ui-board-job-track{stroke:var(--line-soft)}.ui-board-job-fill{stroke:var(--tungsten);transition:stroke-dasharray .3s ease-out}.ui-board-job-progress small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;line-height:16px;display:block}@media (prefers-reduced-motion:reduce){.ui-board-job-fill{transition:none}}.ui-board-page,.ui-board-page-dots{width:32px;height:32px;color:var(--color-text-secondary);font:var(--board-body-medium);font-variant-numeric:tabular-nums;background-color:#0000;background-image:none;border:0;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.ui-board-page{cursor:pointer;transition:none}.ui-board-page:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.ui-board-page[aria-current=page]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);box-shadow:var(--elevation-xs)}.ui-board-page-dots{color:var(--color-text-tertiary)}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}[data-danger]:not(:disabled){isolation:isolate;background:var(--board-red);box-shadow:var(--elevation-xs);color:#fff;border:0;transition:box-shadow .15s,color .15s;position:relative}[data-danger]:not(:disabled):before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}[data-danger]:not(:disabled):hover:before{opacity:1}[data-danger]:not(:disabled):active{background:var(--board-red-active)}[data-danger]:not(:disabled):active:before{opacity:0}.peach-react [data-board-tab-list]>button[aria-selected=true]{background:var(--hover);color:var(--ink)}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-filter-glass] :is(button,a[aria-pressed],[data-glass-segment]){height:30px;min-height:30px}.peach-react button[data-filter-action]{border-radius:var(--control-radius);background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);width:30px;min-width:30px;height:30px;min-height:30px;box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);color:var(--glass-text);border:0;padding:0}.peach-react button[data-filter-action]:hover{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-filter-action]:hover{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), color-mix(in srgb, var(--glass-text) 8%, var(--glass-pick-fill))}}.peach-react button[data-filter-action]:hover{color:var(--glass-text)}.peach-react button[data-filter-action] svg{width:16px;height:16px}.peach-react button[data-filter-action][aria-busy=true]{cursor:wait}.peach-react [data-glass-pill]:hover:not([aria-busy]){background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-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{fill:none;stroke:currentColor;stroke-width:2px;flex:none;width:17px;height:17px;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body:has([data-batch-dock] [data-selection-dock]) [data-stage]{padding-bottom:180px}@media (width<=760px){[data-batch-scope][data-context=junk] [data-selection-dock]{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100vw - 24px);max-width:none;padding:9px 10px;display:grid;bottom:12px}[data-batch-scope][data-context=junk] [data-selection-dock]>[role=status]{text-align:center;grid-column:1/-1;padding:0}[data-batch-scope][data-context=junk] [data-selection-dock]>button{min-width:0;min-height:44px;font-size:var(--fs-xs);padding:8px 6px}[data-batch-scope][data-context=junk] [data-selection-dock]>button svg{margin-right:4px}}:is([data-glow-grid],[data-accent-grid]){grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px;display:grid}[data-glow-grid][hidden]{display:none}[data-glow-chip]{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}[data-glow-chip]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-glow-ball]{background:var(--glow-chip);border-radius:50%;width:28px;height:28px;transition:transform .15s;position:relative;box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29}[data-glow-ball]:after{content:"";background:linear-gradient(#ffffff8a,#fff0);border-radius:50%;height:38.5%;position:absolute;top:6%;left:14%;right:14%}[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}[data-glow-chip]:hover [data-glow-ball]{transform:scale(1.1)}[data-glow-chip][aria-pressed=true] [data-glow-ball]{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}[data-glow-head]{color:var(--muted);justify-content:space-between;align-items:center;padding:0 4px 8px;font-size:12px;display:flex}[data-glow-sub]{margin:12px 0 0}[data-glow-preset-reset]{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}[data-glow-preset-reset]:hover{color:var(--ink)}[data-glow-head][hidden]{display:none}[data-glow-grid][hidden]+[data-glow-sub]{margin-top:0}[data-manage-header]{display:contents}:is([data-manage-bar],[data-manage-crumb],[data-manage-title],[data-manage-lede]){box-sizing:border-box;width:100%;max-width:var(--board-content);margin-left:auto;margin-right:auto}[data-manage-bar]{margin-top:0;margin-bottom:24px;display:block}[data-manage-menu]{scrollbar-width:none;flex-wrap:nowrap;gap:4px;margin:0;padding:0;display:flex;position:relative;overflow-x:auto}[data-manage-menu]::-webkit-scrollbar{display:none}[data-manage-menu]>button{border-radius:var(--control-radius);min-height:36px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:7px;margin:0;padding:8px 12px;font-size:14px;font-weight:400;display:inline-flex;position:relative}[data-manage-menu]>button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}[data-manage-menu]>button:hover{color:var(--ink)}[data-manage-menu]>button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-manage-crumb]{margin-top:0;margin-bottom:12px;display:block}[data-manage-crumb] ol{align-items:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}[data-manage-crumb] li{font-size:var(--fs-md);color:var(--muted);align-items:center;gap:6px;line-height:20px;transition:color .2s;display:flex}[data-manage-crumb] li[aria-current],[data-manage-crumb] li:not([aria-current]):hover{color:var(--ink)}[data-manage-crumb] a{color:inherit;text-decoration:none}[data-manage-crumb] li svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}h2[data-manage-title]{font:var(--board-title);letter-spacing:0;margin-top:0;margin-bottom:24px}@media (width<=760px){h2[data-manage-title]{font:var(--board-figure)}h2[data-manage-title][data-compact]{font-size:22px}}p[data-manage-lede]{border-radius:var(--surface-radius);background:var(--color-background-primary-default);color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:0;margin-bottom:16px;padding:20px 24px;line-height:1.5;display:flex}:root[data-theme=light] p[data-manage-lede]{background:var(--color-background-secondary-default)}@media (prefers-color-scheme:light){:root:not([data-theme]) p[data-manage-lede]{background:var(--color-background-secondary-default)}}[data-manage-lede]>[data-lede-text]{font:var(--board-heading)}[data-manage-lede]>[data-trash-lede-skeletons]{display:contents}[data-manage-lede] [data-trash-lede-skeleton]{background:color-mix(in srgb,var(--ink) 7%,transparent)}[data-manage-lede] [data-trash-lede-skeleton=text]{width:180px;max-width:60%;height:20px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:88px;max-width:none;height:32px}[data-manage-lede]>button[data-empty-trash]{box-sizing:border-box;border-radius:var(--control-radius);min-height:32px;font:inherit;font-size:var(--fs-xs);cursor:pointer;flex:none;align-items:center;padding:0 14px;font-weight:500;display:inline-flex}[data-manage-lede]>button[data-empty-trash]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=760px){[data-manage-bar]{margin-top:0;margin-bottom:24px}[data-manage-menu]{gap:0}[data-manage-menu]>button{padding:10px 9px;font-size:13px}[data-manage-menu]>button svg{display:none}[data-manage-lede]>button[data-empty-trash]{height:44px;padding-inline:16px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:92px;height:44px}}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-favorite]){border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react :is([data-namepick-toggle],[data-favorite]):is(:hover,[data-hovered]){background:var(--hover);color:var(--ink)}.peach-react :is([data-namepick-toggle],[data-favorite]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-namepick-toggle],[data-favorite]) svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react [data-favorite][aria-pressed=true]{color:var(--color-yellow-500)}.peach-react [data-favorite][aria-pressed=true] svg{fill:currentColor}.peach-react [data-favorite][aria-busy=true]{color:var(--muted);cursor:wait}.peach-react [data-shortcuts-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{fill:none;stroke:currentColor;width:20px;height:20px}.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}}@media (width<=640px){:is(.peach-react[data-index-head],.peach-react [data-index-head]) [data-shortcuts-entry]{order:3}}html[data-wall-entry] body,body[data-wall-open]{background:#070707;overflow:hidden}html[data-wall-entry] :is(body>header,#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#libraryProcessingNotice,#feedNew),body[data-wall-open] :is(body>header,#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#libraryProcessingNotice,#feedNew){visibility:hidden;pointer-events:none}.peach-react [data-video-wall]{--ground:#070707;--surface:#161419;--ink:#f7f4ee;--ink-2:#f7f4ee;--muted:#aaa7a2;--hover:#ffffff14;--line-soft:#ffffff38;--color-button-ghost-background:transparent;--color-button-ghost-foreground:#f7f4ee;--color-button-ghost-hover:#ffffff14;--color-button-ghost-active:#ffffff1f;--color-background-primary-default:#070707;--color-background-secondary-default:#161419;--color-background-tertiary-default:#ffffff1a;--color-text-primary:#f7f4ee;--color-text-secondary:#aaa7a2;--color-border-button-default:#ffffff38;--gradient-button-primary-default:linear-gradient(#f7f4ee,#f7f4ee);--gradient-button-primary-hover:linear-gradient(#fff,#fff);--gradient-button-primary-active:var(--gradient-button-primary-default);width:100%;height:100dvh;z-index:calc(var(--layer-miniplayer) - 1);isolation:isolate;background:var(--ground);color:var(--ink);position:fixed;inset:0;overflow:hidden}.peach-react [data-video-wall][hidden]{display:none}.peach-react [data-video-wall]:after{content:"";z-index:4;pointer-events:none;background:radial-gradient(#0000 78%,#00000085 100%);position:absolute;inset:0}.peach-react [data-wall-viewport]{touch-action:none;cursor:grab;position:absolute;inset:0;overflow:hidden}.peach-react [data-wall-viewport]:active{cursor:grabbing}.peach-react [data-wall-viewport]:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-wall-world]{transform-origin:0 0;position:absolute;inset:0}.peach-react [data-video-wall][data-refreshing] [data-wall-viewport]{filter:blur(8px)grayscale();pointer-events:none}.peach-react [data-wall-skeleton]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:#f7f4ee0f;display:block;position:absolute}.peach-react :is([data-wall-error],[data-wall-empty]){z-index:7;width:min(420px,100% - 48px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-wall-error]{flex-direction:column;gap:12px;display:flex}.peach-react [data-wall-tile]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:var(--surface);color:var(--ink);text-align:left;cursor:inherit;-webkit-user-select:none;user-select:none;contain:layout paint;border:0;border-radius:0;padding:0;transition:filter .6s,box-shadow .6s;display:block;position:absolute;overflow:hidden}@media (hover:hover) and (pointer:fine){.peach-react [data-wall-tile]:not([data-wall-focus]):hover{z-index:3;filter:saturate(1.08)brightness(1.05)}}.peach-react [data-wall-tile]:focus-visible{z-index:4;outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-video-wall] :is([data-media-pic],[data-media-art]){display:block;position:absolute;inset:0;overflow:hidden}.peach-react [data-video-wall] [data-media-pic]{--pic-radius:0;clip-path:inset(0)}.peach-react [data-video-wall] [data-media-pic]:before{content:"";background:var(--cover-blur) center/cover no-repeat;filter:blur(20px);opacity:.7;pointer-events:none;position:absolute;inset:-20px}.peach-react [data-wall-tile] img{pointer-events:none;border-radius:0}.peach-react [data-wall-tile] img[class~=whole]{object-fit:cover;object-position:var(--cover-x,50%) var(--cover-y,22%)}.peach-react [data-wall-tile] [data-media-art=thumb] img{object-fit:cover;object-position:50% 22%;width:100%;height:100%;display:block}.peach-react [data-wall-tile-shade]{pointer-events:none;background:linear-gradient(#0000000d 34%,#0000003d 56%,#000000eb 100%);position:absolute;inset:0}.peach-react [data-wall-dim]{pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-wall-copy]{color:var(--ink);pointer-events:none;flex-direction:column;gap:4px;padding:13px;display:flex;position:absolute;inset:auto 0 0}.peach-react [data-wall-copy] b{letter-spacing:-.045em;text-wrap:balance;-webkit-line-clamp:3;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin-block:-.14em;padding-block:.14em;font-size:calc(clamp(22px,2vw,36px)/1.31579);font-weight:600;line-height:.96;display:-webkit-box;overflow:hidden}.peach-react [data-wall-copy]>span{opacity:.78;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:600;overflow:hidden}.peach-react [data-wall-number],.peach-react [data-wall-duration]{color:var(--ink);font-variant-numeric:tabular-nums;background:#000000a8;border-radius:0;padding:3px 6px;font-size:11px;font-weight:600;position:absolute;top:12px}.peach-react [data-wall-number]{left:12px}.peach-react [data-wall-duration]{right:12px}.peach-react [data-wall-progress]{height:2px;width:var(--wall-progress);background:var(--ink);position:absolute;bottom:0;left:0}.peach-react [data-wall-no-art]{color:var(--muted);font-size:var(--fs-sm);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button){z-index:12;width:44px;height:44px;color:var(--ink);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);cursor:pointer;background:#282828c7;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button):hover{background:#464646e0}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button):focus-visible{outline:2px solid var(--ink);outline-offset:3px}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.peach-react [data-wall-back]{left:24px;top:calc(24px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{z-index:30;left:80px;right:24px;top:calc(24px + env(safe-area-inset-top));position:absolute}.peach-react [data-wall-refresh]{left:76px;top:calc(24px + env(safe-area-inset-top));z-index:12;position:absolute}.peach-react [data-wall-tools-button]{right:24px;bottom:calc(24px + env(safe-area-inset-bottom))}.peach-react [data-wall-toolbar]{z-index:11;right:24px;bottom:calc(80px + env(safe-area-inset-bottom));border:1px solid var(--line-soft);-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);background:#101010e6;flex-direction:column;gap:16px;width:min(320px,100% - 48px);padding:20px;display:flex;position:absolute;box-shadow:0 12px 32px #00000073}.peach-react [data-wall-toolbar] input{border:1px solid var(--line-soft);width:100%;height:36px;color:var(--ink);font:inherit;background:0 0;border-radius:0;padding:0 10px 0 34px}.peach-react [data-wall-toolbar] form{position:relative}.peach-react [data-wall-toolbar] form svg{fill:none;stroke:currentColor;stroke-width:1.5px;width:16px;height:16px;position:absolute;top:10px;left:10px}.peach-react [data-wall-toolbar] input:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react [data-wall-tools]{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.peach-react [data-wall-hint]{color:var(--muted);font-size:11px}.peach-react [data-wall-footer]{left:24px;bottom:calc(24px + env(safe-area-inset-bottom));z-index:5;position:absolute}.peach-react [data-wall-focus]{z-index:20;cursor:default;background:var(--surface);isolation:isolate;border:1px solid #f7f4eeb8;border-radius:0;flex-direction:column;display:flex;box-shadow:0 42px 110px #000000bd}.peach-react [data-wall-focus]:before{content:"";z-index:6;pointer-events:none;border:2px solid var(--ink);box-shadow:inset 0 0 0 1px #00000085,inset 0 0 0 3px transparent,inset 0 0 15px -7px color-mix(in srgb,var(--ink) 46%,transparent);position:absolute;inset:0}.peach-react [data-wall-focus]:focus-within:before{box-shadow:inset 0 0 0 1px #0000009e,inset 0 0 0 3px transparent,inset 0 0 26px -6px color-mix(in srgb,var(--ink) 62%,transparent)}.peach-react [data-wall-focus-backdrop]{z-index:-1;opacity:.46;filter:blur(36px)saturate(.3);position:absolute;inset:-30px}.peach-react [data-wall-focus-backdrop] img{object-fit:cover;width:100%;height:100%}.peach-react [data-wall-scene]{position:absolute;inset:0}.peach-react [data-wall-focus][data-playing] [data-wall-scene]{filter:blur(36px);transform:scale(1.1)}.peach-react [data-wall-expanded-shade]{pointer-events:none;background:linear-gradient(#0000 54%,#00000042 70%,#0000009e 86%,#000000db 100%),linear-gradient(90deg,#000000e0,#00000080 52%,#00000014);position:absolute;inset:0}.peach-react [data-wall-focus-head]{pointer-events:none;flex-direction:column;gap:7px;display:flex;position:absolute;bottom:116px;left:24px;right:24px}.peach-react [data-wall-focus-head] b{--wall-code-size:calc(clamp(48px,6vw,82px) * .76);max-width:76%;font-size:var(--wall-code-fit,var(--wall-code-size));letter-spacing:-.045em;white-space:nowrap;text-overflow:ellipsis;font-weight:600;line-height:.95;display:block;overflow:hidden}.peach-react [data-wall-focus-head] strong{white-space:nowrap;text-overflow:ellipsis;max-width:90%;font-size:16px;font-weight:500;line-height:1.3;display:block;overflow:hidden}.peach-react [data-wall-focus-head] :is(span,small){opacity:.8;overflow-wrap:anywhere;font-size:13px}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head]{gap:5px;top:64px;bottom:auto}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] b{--wall-code-size:22px;letter-spacing:-.025em;line-height:1.1}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-close]{z-index:3;position:absolute;top:16px;right:16px}.peach-react [data-wall-player]{width:100%;height:100%;position:absolute;inset:0}.peach-react [data-wall-player][hidden]{display:none}.peach-react [data-wall-player] .video-js{background:0 0;width:100%;height:100%}.peach-react [data-wall-player] :is(.vjs-control-bar,.vjs-big-play-button,.vjs-title-bar),.peach-react [data-wall-player] :is([data-player-stats-button],[data-player-net],[data-player-stats]){display:none}.peach-react [data-wall-focus-actions]{z-index:3;flex-direction:column;gap:10px;display:flex;position:absolute;bottom:22px;left:24px;right:18px}.peach-react [data-wall-control-row]{align-items:center;gap:6px;display:flex}.peach-react [data-wall-time]{font-variant-numeric:tabular-nums;white-space:nowrap;opacity:.78;margin-left:auto;font-size:11px}.peach-react [data-wall-seek]{appearance:none;cursor:pointer;background:linear-gradient(to right,var(--ink) var(--wall-seek),#f7f4ee47 var(--wall-seek));border:0;border-radius:0;width:100%;height:2px;margin:0;padding:0}.peach-react [data-wall-seek]::-webkit-slider-thumb{appearance:none;background:var(--ink);border-radius:50%;width:8px;height:8px}.peach-react [data-wall-seek]::-moz-range-thumb{background:var(--ink);border:0;border-radius:50%;width:8px;height:8px}.peach-react [data-wall-play-error]{z-index:4;position:absolute;bottom:85px;left:24px;right:24px}.peach-react [data-wall-queue]{z-index:5;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid var(--line-soft);background:#070707f0;max-height:58%;display:flex;position:absolute;bottom:88px;left:24px;right:24px;overflow:hidden}.peach-react [data-wall-queue] [data-mix-queue]{background:0 0;border:0;grid-template-rows:auto minmax(0,1fr);width:100%;height:auto;min-height:0;max-height:100%;display:grid}.peach-react [data-wall-queue] [data-mix-list]{overscroll-behavior:contain;display:block;overflow:auto}.peach-react [data-wall-queue] [data-mix-item-text]{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.peach-react [data-wall-queue] [data-mix-item-text] b{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.peach-react [data-wall-queue] [data-mix-item-text] span{opacity:.78;font-size:12px}.peach-react [data-wall-queue] :is([data-mix-row],[data-mix-item]){border-radius:0}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]){width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:0;place-items:center;padding:6px;display:grid}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):hover{background:var(--hover)}.peach-react button[data-wall-focus-close]{background:#000000a8;border-radius:50%}.peach-react button[data-wall-focus-close]:hover{background:#000000db}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.peach-react [data-wall-pause] svg{fill:currentColor;stroke:none}.peach-react [data-wall-focus-actions] button:disabled{opacity:.5;cursor:default}.peach-react [data-wall-footer] button{color:var(--ink);border-color:var(--line-soft);background:#282828c7}@media (width<=640px){.peach-react [data-wall-back]{left:16px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{left:72px;right:16px;top:calc(16px + env(safe-area-inset-top));padding-inline:12px}.peach-react [data-wall-refresh]{left:68px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-tools-button]{right:16px;bottom:calc(16px + env(safe-area-inset-bottom))}.peach-react [data-wall-focus-head]{bottom:104px;left:16px;right:16px}.peach-react [data-wall-focus-head] b{--wall-code-size:34px}.peach-react [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-actions]{bottom:18px;left:16px;right:16px}.peach-react [data-wall-control-row]{gap:2px}.peach-react [data-wall-time]{font-size:10px}.peach-react [data-wall-footer]{left:16px;bottom:calc(16px + env(safe-area-inset-bottom))}}.peach-react [data-catalog-table] .bui-table{table-layout:fixed;width:100%}.peach-react [data-catalog-table] .bui-table :is(th,td){border-radius:0}.peach-react [data-catalog-table] .bui-table :is(th,td):first-child{width:48px}.peach-react [data-catalog-table] .bui-table :is(th,td):nth-child(n+3){font-variant-numeric:tabular-nums;width:112px}.peach-react [data-catalog-table] [data-list-identity]{min-width:0;padding:12px 0;position:relative}.peach-react [data-catalog-table] [data-list-open]{text-align:left;align-items:center;gap:16px;width:100%;min-width:0;display:flex}.peach-react [data-catalog-table] [data-list-picture]{border-radius:var(--control-radius);background:var(--surface);flex:none;width:112px;height:63px;display:block;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){object-fit:cover;width:100%;height:100%}.peach-react [data-catalog-table] [data-list-text]{flex-direction:column;gap:4px;min-width:0;display:flex}.peach-react [data-catalog-table] [data-list-name]{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.peach-react [data-catalog-table] [data-list-open]:hover [data-list-name]{text-decoration:underline}.peach-react [data-catalog-table] [data-list-byline]{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:var(--fs-sm);display:block;overflow:hidden}.peach-react [data-list-mobile-metrics]{display:none}[data-table-skeleton]>div{align-items:center;gap:16px;height:88px;display:flex}[data-table-skeleton] i{border-radius:var(--control-radius);flex:none;width:112px;height:63px;display:block}[data-table-skeleton] span{border-radius:var(--control-radius);width:40%;height:20px;display:block}body:has([data-catalog-table]) #feedNew{display:none}@media (width<=760px){.peach-react [data-catalog-table] .bui-table :is(th,td):nth-child(n+3){display:none}.peach-react [data-catalog-table] .bui-table :is(th,td):first-child{width:36px;padding-inline:8px}.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-list-mobile-metrics]{display:block}}.peach-react [data-want-magnets]{container:resource-links/inline-size}.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.peach-react [data-resource-title]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-resource-facts]>span{white-space:nowrap}.peach-react [data-resource-actions]{min-width:0}.peach-react [data-want-magnets] [data-resource-protocol]{border-bottom:1px solid var(--color-separator-border);padding-block:16px}.peach-react [data-want-magnets] ul{gap:0}@container resource-links (width>=760px){.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr) auto;align-items:center}}.peach-react [data-media-carousel] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;top:var(--media-arrow-top,50%);cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;transform:translateY(-50%)}.peach-react [data-follow-image-arrow]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}.peach-react [data-follow-image-arrow]:is(:hover,:focus-visible):after{background:#fff3}.peach-react [data-follow-image-arrow]:active:after{background:#ffffff4d}.peach-react [data-media-carousel] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-media-carousel] [data-follow-image-arrow] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block;position:relative}.peach-react [data-media-carousel] [data-follow-image-arrow=prev]{left:11px}.peach-react [data-media-carousel] [data-follow-image-arrow=next]{right:11px}.peach-react [data-media-carousel] [data-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-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}}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-app.js b/web/dist/peach-app.js
index 8c74c8033..87d51d7cb 100644
--- a/web/dist/peach-app.js
+++ b/web/dist/peach-app.js
@@ -36836,8 +36836,43 @@ function mve() {
] });
}
//#endregion
+//#region src/react/boardui/components/base/buttons/icon-button.tsx
+var $A = tA({
+ 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"
+ ].join(" "),
+ size: {
+ medium: "size-9",
+ small: "size-8"
+ },
+ icon: {
+ medium: "size-5 shrink-0",
+ small: "size-4 shrink-0"
+ }
+});
+function ej({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, C.jsx)("button", {
+ ref: i,
+ type: r,
+ className: eA($A.base, $A.size[t], n),
+ ...a,
+ children: /* @__PURE__ */ (0, C.jsx)(e, {
+ className: $A.icon[t],
+ "aria-hidden": !0
+ })
+ });
+}
+//#endregion
//#region src/react/components/use-stuck.ts
-function $A(e) {
+function tj(e) {
(0, S.useEffect)(() => {
let t = e.current;
if (!t) return;
@@ -36855,9 +36890,29 @@ function $A(e) {
}
//#endregion
//#region src/react/components/filter-glass.tsx
-function hve({ title: e, children: t }) {
+var hve = ({ className: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
+ "aria-hidden": !0,
+ className: e,
+ dangerouslySetInnerHTML: { __html: vo("正在处理") }
+});
+function nj({ label: e, icon: t, busy: n = !1, onPress: r, ...i }) {
+ return /* @__PURE__ */ (0, C.jsx)(ej, {
+ ...i,
+ "data-filter-action": "",
+ size: "small",
+ icon: n ? hve : t,
+ "aria-label": e,
+ title: i.title || e,
+ "aria-busy": n || void 0,
+ "aria-disabled": n || void 0,
+ onClick: () => {
+ n || r();
+ }
+ });
+}
+function gve({ title: e, children: t }) {
let n = (0, S.useRef)(null);
- return $A(n), /* @__PURE__ */ (0, C.jsxs)("div", {
+ return tj(n), /* @__PURE__ */ (0, C.jsxs)("div", {
ref: n,
role: "group",
"aria-label": e,
@@ -36870,9 +36925,9 @@ function hve({ title: e, children: t }) {
}), t]
});
}
-function ej({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
+function rj({ 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, S.useRef)(null);
- return $A(d), /* @__PURE__ */ (0, C.jsxs)("div", {
+ return tj(d), /* @__PURE__ */ (0, C.jsxs)("div", {
ref: d,
role: "group",
"aria-label": e,
@@ -36899,23 +36954,23 @@ function ej({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNa
]
});
}
-var gve = "flex h-7.5 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";
-function tj({ children: e, pressed: t, onPress: n, className: r, ...i }) {
+var _ve = "flex h-7.5 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";
+function ij({ children: e, pressed: t, onPress: n, className: r, ...i }) {
return /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
...i,
"aria-pressed": t,
- className: eA(gve, r),
+ className: eA(_ve, r),
onClick: n,
children: e
});
}
-var _ve = "h-7.5 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
-function nj({ children: e, onPress: t, busy: n = !1 }) {
+var vve = "h-7.5 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
+function aj({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-glass-pill": "",
- className: _ve,
+ className: vve,
"aria-busy": n || void 0,
"aria-disabled": n || void 0,
onClick: () => {
@@ -36926,13 +36981,13 @@ function nj({ children: e, onPress: t, busy: n = !1 }) {
}
//#endregion
//#region src/react/components/use-view-glide.ts
-var rj = (e, t) => [
+var oj = (e, t) => [
"x",
"y",
"w",
"h"
].every((n) => e[n] === t[n]);
-function ij(e, t, n) {
+function sj(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;
@@ -36956,17 +37011,17 @@ function ij(e, t, n) {
h: e.offsetHeight
};
}
-function aj(e, t, n, r, { axis: i = "x" } = {}) {
+function cj(e, t, n, r, { axis: i = "x" } = {}) {
let a = (0, S.useRef)(null), o = (0, S.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 ? ij(u, l, i) : null;
+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? sj(u, l, i) : null;
if (!d || !d.w || !d.h) {
s.getAnimations().forEach((e) => e.cancel()), s.hidden = !0, a.current = null;
return;
}
let f = s.hidden ? null : a.current;
- s.hidden = !1, a.current = d, !(o && f && rj(f, d)) && ls(s, o ? f : null, d, i);
+ s.hidden = !1, a.current = d, !(o && f && oj(f, d)) && ls(s, o ? f : null, d, i);
}, [
e,
t,
@@ -36987,8 +37042,8 @@ function aj(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 ? ij(o, r, i) : null, l = a.current;
- (!s || !l || !rj(s, l)) && c();
+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? sj(o, r, i) : null, l = a.current;
+ (!s || !l || !oj(s, l)) && c();
}), u = t.current;
if (u && r) {
l.observe(u);
@@ -37020,12 +37075,12 @@ function aj(e, t, n, r, { axis: i = "x" } = {}) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/utils.mjs
-var oj = Symbol("default");
-function sj({ values: e, children: t }) {
+var lj = Symbol("default");
+function uj({ values: e, children: t }) {
for (let [n, r] of e) t = /*#__PURE__*/ S.createElement(n.Provider, { value: r }, t);
return t;
}
-function cj(e) {
+function dj(e) {
let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;
return (0, S.useMemo)(() => {
let e, l, u;
@@ -37059,11 +37114,11 @@ function cj(e) {
c
]);
}
-function lj(e, t) {
+function fj(e, t) {
let n = (0, S.useContext)(e);
if (t === null) return null;
if (n && typeof n == "object" && "slots" in n && n.slots) {
- let e = t || oj;
+ let e = t || lj;
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}.`);
@@ -37072,8 +37127,8 @@ function lj(e, t) {
}
return n;
}
-function uj(e, t, n) {
- let { ref: r, ...i } = lj(n, e.slot) || {}, a = Wv((0, S.useMemo)(() => Pv(t, r), [t, r])), o = Rv(i, e);
+function pj(e, t, n) {
+ let { ref: r, ...i } = fj(n, e.slot) || {}, a = Wv((0, S.useMemo)(() => Pv(t, r), [t, r])), o = Rv(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,
@@ -37091,7 +37146,7 @@ function uj(e, t, n) {
...e.style
}), [o, a];
}
-function dj(e = !0) {
+function mj(e = !0) {
let [t, n] = (0, S.useState)(e), r = (0, S.useRef)(!1), i = (0, S.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
@@ -37099,12 +37154,12 @@ function dj(e = !0) {
r.current || n(!1);
}, []), [i, t];
}
-function fj(e) {
+function hj(e) {
let t = /^(data-.*)$/, n = {};
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function vve(e, t, n) {
+function yve(e, t, n) {
let { render: r, ...i } = t, a = (0, S.useRef)(null), o = (0, S.useMemo)(() => Pv(n, a), [n, a]);
K_(() => {}, [e, r]);
let s = {
@@ -37113,19 +37168,19 @@ function vve(e, t, n) {
};
return r ? r(s, void 0) : /*#__PURE__*/ S.createElement(e, s);
}
-var pj = {}, mj = new Proxy({}, { get(e, t) {
+var gj = {}, _j = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
- let n = pj[t];
- return n || (n = /*#__PURE__*/ (0, S.forwardRef)(vve.bind(null, t)), pj[t] = n), n;
-} }), hj = /*#__PURE__*/ (0, S.createContext)(null), gj = /*#__PURE__*/ (0, S.createContext)(null), _j = /*#__PURE__*/ (0, S.createContext)(null), vj = {
+ let n = gj[t];
+ return n || (n = /*#__PURE__*/ (0, S.forwardRef)(yve.bind(null, t)), gj[t] = n), n;
+} }), vj = /*#__PURE__*/ (0, S.createContext)(null), yj = /*#__PURE__*/ (0, S.createContext)(null), bj = /*#__PURE__*/ (0, S.createContext)(null), xj = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
- return yj(e, null, t);
+ return Sj(e, null, t);
},
CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {
- return yj(e, t, n);
+ return Sj(e, t, n);
}
};
-function yj(e, t, n) {
+function Sj(e, t, n) {
return k_({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
@@ -37136,11 +37191,11 @@ function yj(e, t, n) {
type: "item",
key: t.key,
dropPosition: "before"
- }), r, yve(e, t, n));
+ }), r, bve(e, t, n));
}
});
}
-function yve(e, t, n) {
+function bve(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);
@@ -37159,24 +37214,24 @@ function yve(e, t, n) {
}
return s;
}
-var bj = /*#__PURE__*/ (0, S.createContext)(vj);
-function xj(e) {
+var Cj = /*#__PURE__*/ (0, S.createContext)(xj);
+function wj(e) {
return (0, S.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Label.mjs
-var Sj = /*#__PURE__*/ (0, S.createContext)({}), bve = /*#__PURE__*/ Yv(function(e, t) {
- [e, t] = uj(e, t, Sj);
- let { elementType: n = "label", ...r } = e, i = mj[n];
+var Tj = /*#__PURE__*/ (0, S.createContext)({}), xve = /*#__PURE__*/ Yv(function(e, t) {
+ [e, t] = pj(e, t, Tj);
+ let { elementType: n = "label", ...r } = e, i = _j[n];
return /*#__PURE__*/ S.createElement(i, {
className: "react-aria-Label",
...r,
ref: t
});
-}), xve = /*#__PURE__*/ (0, S.createContext)(null), Cj = /*#__PURE__*/ (0, S.createContext)({}), wj = /*#__PURE__*/ Yv(function(e, t) {
- [e, t] = uj(e, t, Cj);
+}), Sve = /*#__PURE__*/ (0, S.createContext)(null), Ej = /*#__PURE__*/ (0, S.createContext)({}), Dj = /*#__PURE__*/ Yv(function(e, t) {
+ [e, t] = pj(e, t, Ej);
let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Eoe(e, t);
- i = Cve(i, r);
+ i = wve(i, r);
let { focusProps: o, isFocused: s, isFocusVisible: c } = hS(e), { hoverProps: l, isHovered: u } = yS({
...e,
isDisabled: e.isDisabled || r
@@ -37187,7 +37242,7 @@ var Sj = /*#__PURE__*/ (0, S.createContext)({}), bve = /*#__PURE__*/ Yv(function
isFocusVisible: c,
isDisabled: e.isDisabled || !1,
isPending: r ?? !1
- }, f = cj({
+ }, f = dj({
...e,
values: d,
defaultClassName: "react-aria-Button"
@@ -37204,7 +37259,7 @@ var Sj = /*#__PURE__*/ (0, S.createContext)({}), bve = /*#__PURE__*/ Yv(function
p
]);
let _ = Ly(e, { global: !0 });
- return delete _.onClick, /*#__PURE__*/ S.createElement(mj.button, {
+ return delete _.onClick, /*#__PURE__*/ S.createElement(_j.button, {
...Rv(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
@@ -37218,62 +37273,62 @@ var Sj = /*#__PURE__*/ (0, S.createContext)({}), bve = /*#__PURE__*/ Yv(function
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ S.createElement(xve.Provider, { value: { id: m } }, f.children));
-}), Sve = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
-function Cve(e, t) {
+ }, /*#__PURE__*/ S.createElement(Sve.Provider, { value: { id: m } }, f.children));
+}), Cve = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
+function wve(e, t) {
if (t) {
- for (let t in e) t.startsWith("on") && !Sve.test(t) && (e[t] = void 0);
+ for (let t in e) t.startsWith("on") && !Cve.test(t) && (e[t] = void 0);
e.href = void 0, e.target = void 0;
}
return e;
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Heading.mjs
-var Tj = /*#__PURE__*/ (0, S.createContext)({}), Ej = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- [e, t] = uj(e, t, Tj);
- let { children: n, level: r = 3, className: i, ...a } = e, o = mj[`h${r}`];
+var Oj = /*#__PURE__*/ (0, S.createContext)({}), kj = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ [e, t] = pj(e, t, Oj);
+ let { children: n, level: r = 3, className: i, ...a } = e, o = _j[`h${r}`];
return /*#__PURE__*/ S.createElement(o, {
...a,
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), Dj = /*#__PURE__*/ (0, S.createContext)({}), wve = /*#__PURE__*/ Yv(function(e, t) {
- [e, t] = uj(e, t, Dj);
- let { elementType: n = "span", ...r } = e, i = mj[n];
+}), Aj = /*#__PURE__*/ (0, S.createContext)({}), Tve = /*#__PURE__*/ Yv(function(e, t) {
+ [e, t] = pj(e, t, Aj);
+ let { elementType: n = "span", ...r } = e, i = _j[n];
return /*#__PURE__*/ S.createElement(i, {
className: "react-aria-Text",
...r,
ref: t
});
-}), Oj = /*#__PURE__*/ (0, S.createContext)(null), kj = /*#__PURE__*/ (0, S.createContext)(null), Aj = /*#__PURE__*/ (0, S.createContext)(null), jj = /*#__PURE__*/ (0, S.createContext)(null), Tve = /*#__PURE__*/ (0, S.createContext)(null), Mj = /*#__PURE__*/ (0, S.createContext)(null);
-function Eve(e, t) {
- let { validationBehavior: n } = lj(kj) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, S.useContext)(Tve), a = Wv((0, S.useMemo)(() => Pv(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
- ...fj(e),
+}), jj = /*#__PURE__*/ (0, S.createContext)(null), Mj = /*#__PURE__*/ (0, S.createContext)(null), Nj = /*#__PURE__*/ (0, S.createContext)(null), Pj = /*#__PURE__*/ (0, S.createContext)(null), Eve = /*#__PURE__*/ (0, S.createContext)(null), Fj = /*#__PURE__*/ (0, S.createContext)(null);
+function Dve(e, t) {
+ let { validationBehavior: n } = fj(Mj) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, S.useContext)(Eve), a = Wv((0, S.useMemo)(() => Pv(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+ ...hj(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
return [i ? Yoe(o, i, a) : Wb(o, Yb(e), a), a];
}
-var Dve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+var Ove = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = uj(r, t, Aj);
- let [i, a] = Eve(e, n);
- return /*#__PURE__*/ S.createElement(Mj.Provider, { value: {
+ [e, t] = pj(r, t, Nj);
+ let [i, a] = Dve(e, n);
+ return /*#__PURE__*/ S.createElement(Fj.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
isIndeterminate: e.isIndeterminate,
isRequired: e.isRequired
- } }, /*#__PURE__*/ S.createElement(Ove, {
+ } }, /*#__PURE__*/ S.createElement(kve, {
...e,
ref: t
}));
-}), Ove = /*#__PURE__*/ (0, S.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, S.useContext)(Mj), { isFocused: p, isFocusVisible: m, focusProps: h } = hS(), g = a || o, { hoverProps: _, isHovered: v } = yS({
+}), kve = /*#__PURE__*/ (0, S.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, S.useContext)(Fj), { isFocused: p, isFocusVisible: m, focusProps: h } = hS(), g = a || o, { hoverProps: _, isHovered: v } = yS({
...e,
isDisabled: g
- }), y = cj({
+ }), y = dj({
...e,
defaultClassName: u,
values: {
@@ -37289,7 +37344,7 @@ var Dve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
isRequired: f || !1
}
}), b = Ly(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ S.createElement(mj.label, {
+ return delete b.id, delete b.onClick, /*#__PURE__*/ S.createElement(_j.label, {
...Rv(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -37307,8 +37362,8 @@ var Dve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
...Rv(r, h),
ref: l
})), y.children);
-}), Nj = /*#__PURE__*/ (0, S.createContext)({}), kve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- [e, t] = uj(e, t, Nj);
+}), Ij = /*#__PURE__*/ (0, S.createContext)({}), Ave = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ [e, t] = pj(e, t, Ij);
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 } = yS({
@@ -37316,7 +37371,7 @@ var Dve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = hS({ within: !0 }), m = cj({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = hS({ within: !0 }), m = dj({
...e,
values: {
isHovered: u,
@@ -37327,7 +37382,7 @@ var Dve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Group"
});
- return /*#__PURE__*/ S.createElement(mj.div, {
+ return /*#__PURE__*/ S.createElement(_j.div, {
...Rv(c, p, l),
...m,
ref: t,
@@ -37340,18 +37395,18 @@ var Dve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), Pj = /*#__PURE__*/ (0, S.createContext)({}), Ave = (e) => {
+}), Lj = /*#__PURE__*/ (0, S.createContext)({}), jve = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, jve = /*#__PURE__*/ Yv(function(e, t) {
- [e, t] = uj(e, t, Pj);
+}, Mve = /*#__PURE__*/ Yv(function(e, t) {
+ [e, t] = pj(e, t, Lj);
let { hoverProps: n, isHovered: r } = yS({
...e,
isDisabled: e.disabled
}), { isFocused: i, isFocusVisible: a, focusProps: o } = hS({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = cj({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = dj({
...e,
values: {
isHovered: r,
@@ -37362,8 +37417,8 @@ var Dve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Input"
});
- return /*#__PURE__*/ S.createElement(mj.input, {
- ...Rv(Ave(e), o, n),
+ return /*#__PURE__*/ S.createElement(_j.input, {
+ ...Rv(jve(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -37372,8 +37427,8 @@ var Dve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), Fj = {};
-Fj = {
+}), Rj = {};
+Rj = {
colorSwatchPicker: "تغييرات الألوان",
dropzoneLabel: "DropZone",
selectPlaceholder: "حدد عنصرًا",
@@ -37381,8 +37436,8 @@ Fj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs
-var Ij = {};
-Ij = {
+var zj = {};
+zj = {
colorSwatchPicker: "Цветови мостри",
dropzoneLabel: "DropZone",
selectPlaceholder: "Изберете предмет",
@@ -37390,8 +37445,8 @@ Ij = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs
-var Lj = {};
-Lj = {
+var Bj = {};
+Bj = {
colorSwatchPicker: "Vzorky barev",
dropzoneLabel: "Místo pro přetažení",
selectPlaceholder: "Vyberte položku",
@@ -37399,8 +37454,8 @@ Lj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs
-var Rj = {};
-Rj = {
+var Vj = {};
+Vj = {
colorSwatchPicker: "Farveprøver",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vælg et element",
@@ -37408,8 +37463,8 @@ Rj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs
-var zj = {};
-zj = {
+var Hj = {};
+Hj = {
colorSwatchPicker: "Farbfelder",
dropzoneLabel: "Ablegebereich",
selectPlaceholder: "Element wählen",
@@ -37417,8 +37472,8 @@ zj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs
-var Bj = {};
-Bj = {
+var Uj = {};
+Uj = {
colorSwatchPicker: "Χρωματικά δείγματα",
dropzoneLabel: "DropZone",
selectPlaceholder: "Επιλέξτε ένα αντικείμενο",
@@ -37426,8 +37481,8 @@ Bj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs
-var Vj = {};
-Vj = {
+var Wj = {};
+Wj = {
selectPlaceholder: "Select an item",
tableResizer: "Resizer",
dropzoneLabel: "DropZone",
@@ -37435,8 +37490,8 @@ Vj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs
-var Hj = {};
-Hj = {
+var Gj = {};
+Gj = {
colorSwatchPicker: "Muestras de colores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Seleccionar un artículo",
@@ -37444,8 +37499,8 @@ Hj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs
-var Uj = {};
-Uj = {
+var Kj = {};
+Kj = {
colorSwatchPicker: "Värvinäidised",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valige üksus",
@@ -37453,8 +37508,8 @@ Uj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs
-var Wj = {};
-Wj = {
+var qj = {};
+qj = {
colorSwatchPicker: "Värimallit",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valitse kohde",
@@ -37462,8 +37517,8 @@ Wj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs
-var Gj = {};
-Gj = {
+var Jj = {};
+Jj = {
colorSwatchPicker: "Échantillons de couleurs",
dropzoneLabel: "DropZone",
selectPlaceholder: "Sélectionner un élément",
@@ -37471,8 +37526,8 @@ Gj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs
-var Kj = {};
-Kj = {
+var Yj = {};
+Yj = {
colorSwatchPicker: "דוגמיות צבע",
dropzoneLabel: "DropZone",
selectPlaceholder: "בחר פריט",
@@ -37480,8 +37535,8 @@ Kj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs
-var qj = {};
-qj = {
+var Xj = {};
+Xj = {
colorSwatchPicker: "Uzorci boja",
dropzoneLabel: "Zona spuštanja",
selectPlaceholder: "Odaberite stavku",
@@ -37489,8 +37544,8 @@ qj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs
-var Jj = {};
-Jj = {
+var Zj = {};
+Zj = {
colorSwatchPicker: "Színtárak",
dropzoneLabel: "DropZone",
selectPlaceholder: "Válasszon ki egy elemet",
@@ -37498,8 +37553,8 @@ Jj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs
-var Yj = {};
-Yj = {
+var Qj = {};
+Qj = {
colorSwatchPicker: "Campioni di colore",
dropzoneLabel: "Zona di rilascio",
selectPlaceholder: "Seleziona un elemento",
@@ -37507,8 +37562,8 @@ Yj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs
-var Xj = {};
-Xj = {
+var $j = {};
+$j = {
colorSwatchPicker: "カラースウォッチ",
dropzoneLabel: "ドロップゾーン",
selectPlaceholder: "項目を選択",
@@ -37516,8 +37571,8 @@ Xj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs
-var Zj = {};
-Zj = {
+var eM = {};
+eM = {
colorSwatchPicker: "색상 견본",
dropzoneLabel: "드롭 영역",
selectPlaceholder: "항목 선택",
@@ -37525,8 +37580,8 @@ Zj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs
-var Qj = {};
-Qj = {
+var tM = {};
+tM = {
colorSwatchPicker: "Spalvų pavyzdžiai",
dropzoneLabel: "„DropZone“",
selectPlaceholder: "Pasirinkite elementą",
@@ -37534,8 +37589,8 @@ Qj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs
-var $j = {};
-$j = {
+var nM = {};
+nM = {
colorSwatchPicker: "Krāsu paraugi",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izvēlēties vienumu",
@@ -37543,8 +37598,8 @@ $j = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs
-var eM = {};
-eM = {
+var rM = {};
+rM = {
colorSwatchPicker: "Fargekart",
dropzoneLabel: "Droppsone",
selectPlaceholder: "Velg et element",
@@ -37552,8 +37607,8 @@ eM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs
-var tM = {};
-tM = {
+var iM = {};
+iM = {
colorSwatchPicker: "kleurstalen",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecteer een item",
@@ -37561,8 +37616,8 @@ tM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs
-var nM = {};
-nM = {
+var aM = {};
+aM = {
colorSwatchPicker: "Próbki kolorów",
dropzoneLabel: "Strefa upuszczania",
selectPlaceholder: "Wybierz element",
@@ -37570,8 +37625,8 @@ nM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs
-var rM = {};
-rM = {
+var oM = {};
+oM = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -37579,8 +37634,8 @@ rM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs
-var iM = {};
-iM = {
+var sM = {};
+sM = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -37588,8 +37643,8 @@ iM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs
-var aM = {};
-aM = {
+var cM = {};
+cM = {
colorSwatchPicker: "Specimene de culoare",
dropzoneLabel: "Zonă de plasare",
selectPlaceholder: "Selectați un element",
@@ -37597,8 +37652,8 @@ aM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs
-var oM = {};
-oM = {
+var lM = {};
+lM = {
colorSwatchPicker: "Цветовые образцы",
dropzoneLabel: "DropZone",
selectPlaceholder: "Выберите элемент",
@@ -37606,8 +37661,8 @@ oM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs
-var sM = {};
-sM = {
+var uM = {};
+uM = {
colorSwatchPicker: "Vzorkovníky farieb",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vyberte položku",
@@ -37615,8 +37670,8 @@ sM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs
-var cM = {};
-cM = {
+var dM = {};
+dM = {
colorSwatchPicker: "Barvne palete",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izberite element",
@@ -37624,8 +37679,8 @@ cM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs
-var lM = {};
-lM = {
+var fM = {};
+fM = {
colorSwatchPicker: "Uzorci boje",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izaberite stavku",
@@ -37633,8 +37688,8 @@ lM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs
-var uM = {};
-uM = {
+var pM = {};
+pM = {
colorSwatchPicker: "Färgrutor",
dropzoneLabel: "DropZone",
selectPlaceholder: "Välj en artikel",
@@ -37642,8 +37697,8 @@ uM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs
-var dM = {};
-dM = {
+var mM = {};
+mM = {
colorSwatchPicker: "Renk örnekleri",
dropzoneLabel: "Bırakma Bölgesi",
selectPlaceholder: "Bir öğe seçin",
@@ -37651,8 +37706,8 @@ dM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs
-var fM = {};
-fM = {
+var hM = {};
+hM = {
colorSwatchPicker: "Зразки кольорів",
dropzoneLabel: "DropZone",
selectPlaceholder: "Виберіть елемент",
@@ -37660,8 +37715,8 @@ fM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs
-var pM = {};
-pM = {
+var gM = {};
+gM = {
colorSwatchPicker: "颜色色板",
dropzoneLabel: "放置区域",
selectPlaceholder: "选择一个项目",
@@ -37669,8 +37724,8 @@ pM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs
-var mM = {};
-mM = {
+var _M = {};
+_M = {
colorSwatchPicker: "色票",
dropzoneLabel: "放置區",
selectPlaceholder: "選取項目",
@@ -37678,52 +37733,52 @@ mM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intlStrings.mjs
-var hM = {};
-hM = {
- "ar-AE": Fj,
- "bg-BG": Ij,
- "cs-CZ": Lj,
- "da-DK": Rj,
- "de-DE": zj,
- "el-GR": Bj,
- "en-US": Vj,
- "es-ES": Hj,
- "et-EE": Uj,
- "fi-FI": Wj,
- "fr-FR": Gj,
- "he-IL": Kj,
- "hr-HR": qj,
- "hu-HU": Jj,
- "it-IT": Yj,
- "ja-JP": Xj,
- "ko-KR": Zj,
- "lt-LT": Qj,
- "lv-LV": $j,
- "nb-NO": eM,
- "nl-NL": tM,
- "pl-PL": nM,
- "pt-BR": rM,
- "pt-PT": iM,
- "ro-RO": aM,
- "ru-RU": oM,
- "sk-SK": sM,
- "sl-SI": cM,
- "sr-SP": lM,
- "sv-SE": uM,
- "tr-TR": dM,
- "uk-UA": fM,
- "zh-CN": pM,
- "zh-TW": mM
+var vM = {};
+vM = {
+ "ar-AE": Rj,
+ "bg-BG": zj,
+ "cs-CZ": Bj,
+ "da-DK": Vj,
+ "de-DE": Hj,
+ "el-GR": Uj,
+ "en-US": Wj,
+ "es-ES": Gj,
+ "et-EE": Kj,
+ "fi-FI": qj,
+ "fr-FR": Jj,
+ "he-IL": Yj,
+ "hr-HR": Xj,
+ "hu-HU": Zj,
+ "it-IT": Qj,
+ "ja-JP": $j,
+ "ko-KR": eM,
+ "lt-LT": tM,
+ "lv-LV": nM,
+ "nb-NO": rM,
+ "nl-NL": iM,
+ "pl-PL": aM,
+ "pt-BR": oM,
+ "pt-PT": sM,
+ "ro-RO": cM,
+ "ru-RU": lM,
+ "sk-SK": uM,
+ "sl-SI": dM,
+ "sr-SP": fM,
+ "sv-SE": pM,
+ "tr-TR": mM,
+ "uk-UA": hM,
+ "zh-CN": gM,
+ "zh-TW": _M
};
//#endregion
//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var gM = /*#__PURE__*/ (0, S.createContext)({}), _M = /*#__PURE__*/ (0, S.createContext)(null), Mve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { render: n } = (0, S.useContext)(_M);
+var yM = /*#__PURE__*/ (0, S.createContext)({}), bM = /*#__PURE__*/ (0, S.createContext)(null), Nve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { render: n } = (0, S.useContext)(bM);
return /*#__PURE__*/ S.createElement(S.Fragment, null, n(e, t));
});
-function vM(e, t) {
+function xM(e, t) {
let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, S.useCallback)((e) => {
- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ S.createElement(Mve, { target: e });
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ S.createElement(Nve, { target: e });
}, [
t?.target,
r,
@@ -37731,7 +37786,7 @@ function vM(e, t) {
]);
return e?.useDropIndicator ? i : void 0;
}
-function yM(e, t, n) {
+function SM(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;
@@ -37753,14 +37808,14 @@ function yM(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Header.mjs
-var bM = /*#__PURE__*/ (0, S.createContext)({}), Nve = /*#__PURE__*/ (0, S.createContext)(null);
-function xM(e) {
+var CM = /*#__PURE__*/ (0, S.createContext)({}), Pve = /*#__PURE__*/ (0, S.createContext)(null);
+function wM(e) {
let t = (0, S.useRef)({});
- return /*#__PURE__*/ S.createElement(Nve.Provider, { value: t }, e.children);
+ return /*#__PURE__*/ S.createElement(Pve.Provider, { value: t }, e.children);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var SM = /*#__PURE__*/ (0, S.createContext)({ isSelected: !1 }), CM = /*#__PURE__*/ (0, S.createContext)({}), Pve = /*#__PURE__*/ ry(class extends w_ {
+var TM = /*#__PURE__*/ (0, S.createContext)({ isSelected: !1 }), EM = /*#__PURE__*/ (0, S.createContext)({}), Fve = /*#__PURE__*/ ry(class extends w_ {
static {
this.type = "separator";
}
@@ -37773,10 +37828,10 @@ var SM = /*#__PURE__*/ (0, S.createContext)({ isSelected: !1 }), CM = /*#__PURE_
return null;
}
}, function(e, t) {
- [e, t] = uj(e, t, CM);
+ [e, t] = pj(e, t, EM);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = mj[c], { separatorProps: u } = rce({
+ let l = _j[c], { separatorProps: u } = rce({
...s,
elementType: n,
orientation: r
@@ -37792,13 +37847,13 @@ var SM = /*#__PURE__*/ (0, S.createContext)({ isSelected: !1 }), CM = /*#__PURE_
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/inertValue.mjs
-function wM(e) {
+function DM(e) {
let t = S.version.split(".");
return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;
}
//#endregion
//#region node_modules/react-stately/dist/private/list/ListCollection.mjs
-var TM = class {
+var OM = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;
let t = (e) => {
@@ -37842,20 +37897,20 @@ var TM = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, EM = class e extends Set {
+}, kM = class e extends Set {
constructor(t, n, r) {
super(t), t instanceof e ? (this.anchorKey = n ?? t.anchorKey, this.currentKey = r ?? t.currentKey) : (this.anchorKey = n ?? null, this.currentKey = r ?? null);
}
};
//#endregion
//#region node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs
-function Fve(e, t) {
+function Ive(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function DM(e) {
- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, S.useRef)(!1), [, s] = (0, S.useState)(!1), c = (0, S.useRef)(null), l = (0, S.useRef)(null), [, u] = (0, S.useState)(null), [d, f] = Jb((0, S.useMemo)(() => OM(e.selectedKeys), [e.selectedKeys]), (0, S.useMemo)(() => OM(e.defaultSelectedKeys, new EM()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, S.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, S.useState)(i);
+function AM(e) {
+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, S.useRef)(!1), [, s] = (0, S.useState)(!1), c = (0, S.useRef)(null), l = (0, S.useRef)(null), [, u] = (0, S.useState)(null), [d, f] = Jb((0, S.useMemo)(() => jM(e.selectedKeys), [e.selectedKeys]), (0, S.useMemo)(() => jM(e.defaultSelectedKeys, new kM()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, S.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, S.useState)(i);
i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");
let g = (0, S.useRef)(i);
return (0, S.useEffect)(() => {
@@ -37882,18 +37937,18 @@ function DM(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !Fve(e, d)) && f(e);
+ (r || !Ive(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
};
}
-function OM(e, t) {
- return e ? e === "all" ? "all" : new EM(e) : t;
+function jM(e, t) {
+ return e ? e === "all" ? "all" : new kM(e) : t;
}
//#endregion
//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var kM = class e {
+var MM = class e {
constructor(e, t, n) {
this.collection = e, this.state = t, this.allowsCellSelection = n?.allowsCellSelection ?? !1, this._isSelectAll = null, this.layoutDelegate = n?.layoutDelegate || null, this.fullCollection = n?.fullCollection || null;
}
@@ -37976,10 +38031,10 @@ var kM = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new EM([t], t, t);
+ if (this.state.selectedKeys === "all") n = new kM([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new EM(e, r, t);
+ n = new kM(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);
}
@@ -38013,19 +38068,19 @@ var kM = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new EM(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new kM(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 EM([t], t, t) : new EM();
+ let n = this.canSelectItem(t) ? new kM([t], t, t) : new kM();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new EM();
+ let t = new kM();
for (let n of e) {
let e = this.getKey(n);
if (e != null && (t.add(e), this.selectionMode === "single")) break;
@@ -38048,7 +38103,7 @@ var kM = 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 EM());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new kM());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -38089,9 +38144,9 @@ var kM = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, Ive = class {
+}, Lve = class {
build(e, t) {
- return this.context = t, AM(() => this.iterateCollection(e));
+ return this.context = t, NM(() => this.iterateCollection(e));
}
*iterateCollection(e) {
let { children: t, items: n } = e;
@@ -38173,10 +38228,10 @@ var kM = class e {
...a,
key: l,
index: s,
- wrapper: Lve(e.wrapper, a.wrapper)
+ wrapper: Rve(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 <${jM(t.type)}> in <${jM(r?.type ?? "unknown parent type")}>. Only <${jM(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 <${PM(t.type)}> in <${PM(r?.type ?? "unknown parent type")}>. Only <${PM(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -38198,7 +38253,7 @@ var kM = class e {
wrapper: e.wrapper,
shouldInvalidate: e.shouldInvalidate,
hasChildNodes: e.hasChildNodes || !1,
- childNodes: AM(function* () {
+ childNodes: NM(function* () {
if (!e.hasChildNodes || !e.childNodes) return;
let n = 0;
for (let r of e.childNodes()) {
@@ -38217,7 +38272,7 @@ var kM = class e {
this.cache = /* @__PURE__ */ new WeakMap();
}
};
-function AM(e) {
+function NM(e) {
let t = [], n = null;
return { *[Symbol.iterator]() {
for (let e of t) yield e;
@@ -38225,18 +38280,18 @@ function AM(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function Lve(e, t) {
+function Rve(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
}
-function jM(e) {
+function PM(e) {
return e[0].toUpperCase() + e.slice(1);
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/useCollection.mjs
-function MM(e, t, n) {
- let r = (0, S.useMemo)(() => new Ive(), []), { children: i, items: a, collection: o } = e;
+function FM(e, t, n) {
+ let r = (0, S.useMemo)(() => new Lve(), []), { children: i, items: a, collection: o } = e;
return (0, S.useMemo)(() => o || t(r.build({
children: i,
items: a
@@ -38251,27 +38306,27 @@ function MM(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/list/useListState.mjs
-function NM(e) {
- let { filter: t, layoutDelegate: n } = e, r = DM(e), i = (0, S.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = MM(e, (0, S.useCallback)((e) => t ? new TM(t(e)) : new TM(e), [t]), (0, S.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, S.useMemo)(() => new kM(a, r, { layoutDelegate: n }), [
+function IM(e) {
+ let { filter: t, layoutDelegate: n } = e, r = AM(e), i = (0, S.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = FM(e, (0, S.useCallback)((e) => t ? new OM(t(e)) : new OM(e), [t]), (0, S.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, S.useMemo)(() => new MM(a, r, { layoutDelegate: n }), [
a,
r,
n
]);
- return PM(a, o), {
+ return LM(a, o), {
collection: a,
disabledKeys: i,
selectionManager: o
};
}
-function Rve(e, t) {
+function zve(e, t) {
let n = (0, S.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
- return PM(n, r), {
+ return LM(n, r), {
collection: n,
selectionManager: r,
disabledKeys: e.disabledKeys
};
}
-function PM(e, t) {
+function LM(e, t) {
let n = (0, S.useRef)(null);
(0, S.useEffect)(() => {
if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {
@@ -38299,7 +38354,7 @@ function PM(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function FM(e, t) {
+function RM(e, t) {
let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, S.useRef)(null), s = xy((e) => {
for (let t of e) t.isIntersecting && r && r();
});
@@ -38323,42 +38378,42 @@ function FM(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/ListBox.mjs
-var IM = /*#__PURE__*/ (0, S.createContext)(null), LM = /*#__PURE__*/ (0, S.createContext)(null), zve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- [e, t] = uj(e, t, IM);
- let n = (0, S.useContext)(LM);
- return n ? /*#__PURE__*/ S.createElement(RM, {
+var zM = /*#__PURE__*/ (0, S.createContext)(null), BM = /*#__PURE__*/ (0, S.createContext)(null), Bve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ [e, t] = pj(e, t, zM);
+ let n = (0, S.useContext)(BM);
+ return n ? /*#__PURE__*/ S.createElement(VM, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ S.createElement(ey, { content: /*#__PURE__*/ S.createElement(sy, e) }, (n) => /*#__PURE__*/ S.createElement(Bve, {
+ }) : /*#__PURE__*/ S.createElement(ey, { content: /*#__PURE__*/ S.createElement(sy, e) }, (n) => /*#__PURE__*/ S.createElement(Vve, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function Bve({ props: e, listBoxRef: t, collection: n }) {
+function Vve({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
children: null,
items: null
};
- let { layoutDelegate: r } = (0, S.useContext)(bj), i = NM({
+ let { layoutDelegate: r } = (0, S.useContext)(Cj), i = IM({
...e,
layoutDelegate: r
});
- return /*#__PURE__*/ S.createElement(RM, {
+ return /*#__PURE__*/ S.createElement(VM, {
state: i,
props: e,
listBoxRef: t
});
}
-function RM({ state: e, props: t, listBoxRef: n }) {
- [t, n] = uj(t, n, hj);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Rve(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = ky(), { disabledBehavior: p, disabledKeys: m } = l, h = cS({
+function VM({ state: e, props: t, listBoxRef: n }) {
+ [t, n] = pj(t, n, vj);
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = zve(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = ky(), { disabledBehavior: p, disabledKeys: m } = l, h = cS({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, S.useContext)(bj), b = (0, S.useMemo)(() => t.keyboardDelegate || new ux({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, S.useContext)(Cj), b = (0, S.useMemo)(() => t.keyboardDelegate || new ux({
collection: c,
collator: h,
ref: n,
@@ -38419,7 +38474,7 @@ function RM({ state: e, props: t, listBoxRef: n }) {
layout: t.layout || "stack",
orientation: a,
state: s
- }, P = cj({
+ }, P = dj({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
@@ -38430,7 +38485,7 @@ function RM({ state: e, props: t, listBoxRef: n }) {
style: { display: "contents" }
}, t.renderEmptyState(N)));
let I = Ly(t, { global: !0 });
- return /*#__PURE__*/ S.createElement(ob, null, /*#__PURE__*/ S.createElement(mj.div, {
+ return /*#__PURE__*/ S.createElement(ob, null, /*#__PURE__*/ S.createElement(_j.div, {
...Rv(I, P, x, k, T?.collectionProps),
ref: n,
slot: t.slot || void 0,
@@ -38441,52 +38496,52 @@ function RM({ state: e, props: t, listBoxRef: n }) {
"data-focus-visible": j || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
- }, /*#__PURE__*/ S.createElement(sj, { values: [
- [IM, t],
- [LM, s],
- [gM, {
+ }, /*#__PURE__*/ S.createElement(uj, { values: [
+ [zM, t],
+ [BM, s],
+ [yM, {
dragAndDropHooks: r,
dragState: C,
dropState: w
}],
- [CM, { elementType: "div" }],
- [_M, { render: Uve }],
- [_j, {
+ [EM, { elementType: "div" }],
+ [bM, { render: Wve }],
+ [bj, {
name: "ListBoxSection",
- render: Vve
+ render: Hve
}]
- ] }, /*#__PURE__*/ S.createElement(xM, null, /*#__PURE__*/ S.createElement(y, {
+ ] }, /*#__PURE__*/ S.createElement(wM, null, /*#__PURE__*/ S.createElement(y, {
collection: c,
scrollRef: n,
- persistedKeys: yM(l, r, w),
- renderDropIndicator: vM(r, w)
+ persistedKeys: SM(l, r, w),
+ renderDropIndicator: xM(r, w)
}))), F, D));
}
-function Vve(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, S.useContext)(LM), { dragAndDropHooks: a, dropState: o } = (0, S.useContext)(gM), { CollectionBranch: s } = (0, S.useContext)(bj), [c, l] = dj(), { headingProps: u, groupProps: d } = wse({
+function Hve(e, t, n, r = "react-aria-ListBoxSection") {
+ let i = (0, S.useContext)(BM), { dragAndDropHooks: a, dropState: o } = (0, S.useContext)(yM), { CollectionBranch: s } = (0, S.useContext)(Cj), [c, l] = mj(), { headingProps: u, groupProps: d } = wse({
heading: l,
"aria-label": e["aria-label"] ?? void 0
- }), f = cj({
+ }), f = dj({
...e,
id: void 0,
children: void 0,
defaultClassName: r,
values: void 0
}), p = Ly(e, { global: !0 });
- return delete p.id, /*#__PURE__*/ S.createElement(mj.section, {
+ return delete p.id, /*#__PURE__*/ S.createElement(_j.section, {
...Rv(p, f, d),
ref: t
- }, /*#__PURE__*/ S.createElement(bM.Provider, { value: {
+ }, /*#__PURE__*/ S.createElement(CM.Provider, { value: {
...u,
ref: c
} }, /*#__PURE__*/ S.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: vM(a, o)
+ renderDropIndicator: xM(a, o)
})));
}
-var Hve = /*#__PURE__*/ ry(Eie, function(e, t, n) {
- let r = Wv(t), i = (0, S.useContext)(LM), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, S.useContext)(gM), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Tse({
+var Uve = /*#__PURE__*/ ry(Eie, function(e, t, n) {
+ let r = Wv(t), i = (0, S.useContext)(BM), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, S.useContext)(yM), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Tse({
key: n.key,
"aria-label": e?.["aria-label"]
}, i, r), { hoverProps: p, isHovered: m } = yS({
@@ -38505,7 +38560,7 @@ var Hve = /*#__PURE__*/ ry(Eie, function(e, t, n) {
key: n.key,
dropPosition: "on"
} }, s, r));
- let y = o && o.isDragging(n.key), b = cj({
+ let y = o && o.isDragging(n.key), b = dj({
...e,
id: void 0,
children: e.children,
@@ -38523,7 +38578,7 @@ var Hve = /*#__PURE__*/ ry(Eie, function(e, t, n) {
(0, S.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let x = e.href ? mj.a : mj.div, C = Ly(e, { global: !0 });
+ let x = e.href ? _j.a : _j.div, C = Ly(e, { global: !0 });
return delete C.id, delete C.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ S.createElement(x, {
...Rv(C, b, l, p, h, g, _?.dragProps, v?.dropProps),
ref: r,
@@ -38537,29 +38592,29 @@ var Hve = /*#__PURE__*/ ry(Eie, 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__*/ S.createElement(sj, { values: [[Dj, { slots: {
- [oj]: u,
+ }, /*#__PURE__*/ S.createElement(uj, { values: [[Aj, { slots: {
+ [lj]: u,
label: u,
description: d
- } }], [SM, { isSelected: f.isSelected }]] }, b.children));
+ } }], [TM, { isSelected: f.isSelected }]] }, b.children));
});
-function Uve(e, t) {
+function Wve(e, t) {
t = Wv(t);
- let { dragAndDropHooks: n, dropState: r } = (0, S.useContext)(gM), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ S.createElement(Gve, {
+ let { dragAndDropHooks: n, dropState: r } = (0, S.useContext)(yM), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
+ return a ? null : /*#__PURE__*/ S.createElement(Kve, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function Wve(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = cj({
+function Gve(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = dj({
...i,
defaultClassName: "react-aria-DropIndicator",
values: { isDropTarget: r }
});
- return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(mj.div, {
+ return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(_j.div, {
...n,
...a,
role: "option",
@@ -38567,10 +38622,10 @@ function Wve(e, t) {
"data-drop-target": r || void 0
}));
}
-var Gve = /*#__PURE__*/ (0, S.forwardRef)(Wve);
+var Kve = /*#__PURE__*/ (0, S.forwardRef)(Gve);
ry(E_, function(e, t, n) {
- let r = (0, S.useContext)(LM), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, S.useRef)(null);
- FM((0, S.useMemo)(() => ({
+ let r = (0, S.useContext)(BM), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, S.useRef)(null);
+ RM((0, S.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -38580,7 +38635,7 @@ ry(E_, function(e, t, n) {
o,
r?.collection
]), c);
- let l = cj({
+ let l = dj({
...s,
id: void 0,
children: n.rendered,
@@ -38593,7 +38648,7 @@ ry(E_, function(e, t, n) {
width: 0,
height: 0
},
- inert: wM(!0)
+ inert: DM(!0)
}, /*#__PURE__*/ S.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -38602,7 +38657,7 @@ ry(E_, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(mj.div, {
+ })), i && l.children && /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(_j.div, {
...Rv(Ly(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
@@ -38611,10 +38666,10 @@ ry(E_, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var Kve = /*#__PURE__*/ (0, S.createContext)({ placement: "bottom" });
+var qve = /*#__PURE__*/ (0, S.createContext)({ placement: "bottom" });
//#endregion
//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function zM(e) {
+function HM(e) {
let [t, n] = Jb(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, S.useState)(null);
return {
isOpen: t,
@@ -38634,15 +38689,15 @@ function zM(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/animation.mjs
-function BM(e, t = !0, n) {
+function UM(e, t = !0, n) {
let [r, i] = (0, S.useState)(!0), a = r && t;
return K_(() => {
if (!t && e.current) return Ov(I_(e.current, "opacity", "0"), I_(e.current, "clip", "rect(0 0 0 0)"), I_(e.current, "clip-path", "inset(50%)"), I_(e.current, "mask-image", "linear-gradient(#0000, #0000)"));
}, [e, t]), K_(() => {
if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
- }, [e, a]), HM(e, a, n, (0, S.useCallback)(() => i(!1), [])), a;
+ }, [e, a]), GM(e, a, n, (0, S.useCallback)(() => i(!1), [])), a;
}
-function VM(e, t, n) {
+function WM(e, t, n) {
let [r, i] = (0, S.useState)(t ? "open" : "closed");
switch (r) {
case "open":
@@ -38652,11 +38707,11 @@ function VM(e, t, n) {
case "exiting": t && i("open");
}
let a = r === "exiting";
- return HM(e, a, n, (0, S.useCallback)(() => {
+ return GM(e, a, n, (0, S.useCallback)(() => {
i((e) => e === "exiting" ? "closed" : e);
}, [])), a;
}
-function HM(e, t, n, r) {
+function GM(e, t, n, r) {
let i = (0, S.useRef)(null), a = xy(n);
K_(() => {
if (t && e.current && i.current !== t) {
@@ -38684,9 +38739,9 @@ function HM(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Popover.mjs
-var UM = /*#__PURE__*/ (0, S.createContext)(null), WM = /*#__PURE__*/ (0, S.createContext)(null), GM = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- [e, t] = uj(e, t, UM);
- let n = (0, S.useContext)(rN), r = zM(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = VM(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Xv(), { direction: c } = ky();
+var KM = /*#__PURE__*/ (0, S.createContext)(null), qM = /*#__PURE__*/ (0, S.createContext)(null), JM = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ [e, t] = pj(e, t, KM);
+ let n = (0, S.useContext)(oN), r = HM(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = WM(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Xv(), { direction: c } = ky();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -38697,7 +38752,7 @@ var UM = /*#__PURE__*/ (0, S.createContext)(null), WM = /*#__PURE__*/ (0, S.crea
defaultChildren: null
})), /*#__PURE__*/ S.createElement(S.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ S.createElement(qve, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ S.createElement(Jve, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -38706,13 +38761,13 @@ var UM = /*#__PURE__*/ (0, S.createContext)(null), WM = /*#__PURE__*/ (0, S.crea
dir: c
});
});
-function qve({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
- let a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useContext)(WM), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, S.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Zse({
+function Jve({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
+ let a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useContext)(qM), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, S.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Zse({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), g = i.popoverRef, _ = BM(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = cj({
+ }, e), g = i.popoverRef, _ = UM(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = dj({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -38733,7 +38788,7 @@ function qve({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
]);
let w = (0, S.useMemo)(() => {
let e = y.children;
- for (let t of [UM, ...r ?? []]) e = /*#__PURE__*/ S.createElement(t.Provider, { value: null }, e);
+ for (let t of [KM, ...r ?? []]) e = /*#__PURE__*/ S.createElement(t.Provider, { value: null }, e);
return e;
}, [y.children, r]), [T, E] = (0, S.useState)(null), D = (0, S.useCallback)(() => {
i.triggerRef.current && E(i.triggerRef.current.getBoundingClientRect().width + "px");
@@ -38749,7 +38804,7 @@ function qve({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"--trigger-width": y.style?.["--trigger-width"] || T
};
K_(() => ow(() => u(!0)), []);
- let k = /*#__PURE__*/ S.createElement(mj.div, {
+ let k = /*#__PURE__*/ S.createElement(_j.div, {
...Rv(Ly(i, { global: !0 }), d),
...y,
id: x ? i.id : void 0,
@@ -38765,7 +38820,7 @@ function qve({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"data-placement": m,
"data-entering": v || void 0,
"data-exiting": t || void 0
- }, !i.isNonModal && /*#__PURE__*/ S.createElement($C, { onDismiss: e.close }), /*#__PURE__*/ S.createElement(Kve.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ S.createElement($C, { onDismiss: e.close }), /*#__PURE__*/ S.createElement(qve.Provider, { value: {
...p,
placement: m,
ref: a
@@ -38790,15 +38845,15 @@ function qve({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}), /*#__PURE__*/ S.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ S.createElement(WM.Provider, { value: o }, k)));
+ }, /*#__PURE__*/ S.createElement(qM.Provider, { value: o }, k)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Keyboard.mjs
-var Jve = /*#__PURE__*/ (0, S.createContext)({});
+var Yve = /*#__PURE__*/ (0, S.createContext)({});
//#endregion
//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs
-function KM(e) {
- let t = zM(e), [n, r] = (0, S.useState)(null), [i, a] = (0, S.useState)([]), o = () => {
+function YM(e) {
+ let t = HM(e), [n, r] = (0, S.useState)(null), [i, a] = (0, S.useState)([]), o = () => {
a([]), t.close();
}, s = (e, t) => {
a((n) => t > n.length ? n : [...n.slice(0, t), e]);
@@ -38824,7 +38879,7 @@ function KM(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tree/TreeCollection.mjs
-var Yve = class {
+var Xve = 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) => {
@@ -38868,8 +38923,8 @@ var Yve = class {
};
//#endregion
//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs
-function qM(e) {
- let { onExpandedChange: t } = e, [n, r] = Jb(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = DM(e), a = (0, S.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = MM(e, (0, S.useCallback)((e) => new Yve(e, { expandedKeys: n }), [n]), null);
+function XM(e) {
+ let { onExpandedChange: t } = e, [n, r] = Jb(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = AM(e), a = (0, S.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = FM(e, (0, S.useCallback)((e) => new Xve(e, { expandedKeys: n }), [n]), null);
return (0, S.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -38877,32 +38932,32 @@ function qM(e) {
expandedKeys: n,
disabledKeys: a,
toggleKey: (e) => {
- r(Xve(n, e));
+ r(Zve(n, e));
},
setExpandedKeys: r,
- selectionManager: new kM(o, i)
+ selectionManager: new MM(o, i)
};
}
-function Xve(e, t) {
+function Zve(e, t) {
let n = new Set(e);
return n.has(t) ? n.delete(t) : n.add(t), n;
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Menu.mjs
-var JM = /*#__PURE__*/ (0, S.createContext)(null), YM = /*#__PURE__*/ (0, S.createContext)(null), XM = /*#__PURE__*/ (0, S.createContext)(null), ZM = /*#__PURE__*/ (0, S.createContext)(null);
-function Zve(e) {
- let t = KM(e), n = (0, S.useRef)(null), { menuTriggerProps: r, menuProps: i } = Jx({
+var ZM = /*#__PURE__*/ (0, S.createContext)(null), QM = /*#__PURE__*/ (0, S.createContext)(null), $M = /*#__PURE__*/ (0, S.createContext)(null), eN = /*#__PURE__*/ (0, S.createContext)(null);
+function Qve(e) {
+ let t = YM(e), n = (0, S.useRef)(null), { menuTriggerProps: r, menuProps: i } = Jx({
...e,
type: "menu"
}, t, n), a = (0, S.useRef)(null);
- return Xv() ? null : /*#__PURE__*/ S.createElement(sj, { values: [
- [JM, {
+ return Xv() ? null : /*#__PURE__*/ S.createElement(uj, { values: [
+ [ZM, {
...i,
ref: a
}],
- [rN, t],
- [XM, t],
- [UM, {
+ [oN, t],
+ [$M, t],
+ [KM, {
trigger: "MenuTrigger",
triggerRef: n,
scrollRef: a,
@@ -38916,7 +38971,7 @@ function Zve(e) {
isPressed: t.isOpen
}, e.children));
}
-var Qve = /*#__PURE__*/ (0, S.createContext)(null);
+var $ve = /*#__PURE__*/ (0, S.createContext)(null);
(class extends w_ {
static {
this.type = "submenutrigger";
@@ -38930,24 +38985,24 @@ var Qve = /*#__PURE__*/ (0, S.createContext)(null);
return null;
}
});
-var $ve = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- return [e, t] = uj(e, t, JM), /*#__PURE__*/ S.createElement(ey, { content: /*#__PURE__*/ S.createElement(sy, e) }, (n) => /*#__PURE__*/ S.createElement(eye, {
+var eye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ return [e, t] = pj(e, t, ZM), /*#__PURE__*/ S.createElement(ey, { content: /*#__PURE__*/ S.createElement(sy, e) }, (n) => /*#__PURE__*/ S.createElement(tye, {
props: e,
collection: n,
menuRef: t
}));
});
-function eye({ props: e, collection: t, menuRef: n }) {
- [e, n] = uj(e, n, hj);
- let { filter: r, ...i } = e, a = (0, S.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = qM({
+function tye({ props: e, collection: t, menuRef: n }) {
+ [e, n] = pj(e, n, vj);
+ let { filter: r, ...i } = e, a = (0, S.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = XM({
...e,
collection: a,
children: void 0
- }), s = (0, S.useContext)(XM), { isVirtualized: c, CollectionRoot: l } = (0, S.useContext)(bj), { menuProps: u } = Ese({
+ }), s = (0, S.useContext)($M), { isVirtualized: c, CollectionRoot: l } = (0, S.useContext)(Cj), { menuProps: u } = Ese({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
- }, o, n), d = cj({
+ }, o, n), d = dj({
...e,
children: void 0,
defaultClassName: "react-aria-Menu",
@@ -38958,35 +39013,35 @@ function eye({ props: e, collection: t, menuRef: n }) {
style: { display: "contents" }
}, e.renderEmptyState()));
let p = Ly(e, { global: !0 });
- return /*#__PURE__*/ S.createElement(ob, null, /*#__PURE__*/ S.createElement(mj.div, {
+ return /*#__PURE__*/ S.createElement(ob, null, /*#__PURE__*/ S.createElement(_j.div, {
...Rv(p, d, u),
ref: n,
slot: e.slot || void 0,
"data-empty": o.collection.size === 0 || void 0,
onScroll: e.onScroll
- }, /*#__PURE__*/ S.createElement(sj, { values: [
- [YM, o],
- [CM, { elementType: "div" }],
- [_j, {
+ }, /*#__PURE__*/ S.createElement(uj, { values: [
+ [QM, o],
+ [EM, { elementType: "div" }],
+ [bj, {
name: "MenuSection",
- render: QM
+ render: tN
}],
- [Qve, {
+ [$ve, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
- [eN, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
- [hj, null],
- [gj, null],
- [ZM, o.selectionManager],
- [XM, s ?? KM({})]
- ] }, /*#__PURE__*/ S.createElement(xM, null, /*#__PURE__*/ S.createElement(l, {
+ [rN, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
+ [vj, null],
+ [yj, null],
+ [eN, o.selectionManager],
+ [$M, s ?? YM({})]
+ ] }, /*#__PURE__*/ S.createElement(wM, null, /*#__PURE__*/ S.createElement(l, {
collection: o.collection,
- persistedKeys: xj(o.selectionManager.focusedKey),
+ persistedKeys: wj(o.selectionManager.focusedKey),
scrollRef: n
}))), f));
}
-var tye = class extends kM {
+var nye = class extends MM {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -39006,11 +39061,11 @@ var tye = class extends kM {
return this.parent.childFocusStrategy;
}
};
-function QM(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, S.useContext)(YM), { CollectionBranch: a } = (0, S.useContext)(bj), [o, s] = dj(), { headingProps: c, groupProps: l } = Ose({
+function tN(e, t, n, r = "react-aria-MenuSection") {
+ let i = (0, S.useContext)(QM), { CollectionBranch: a } = (0, S.useContext)(Cj), [o, s] = mj(), { headingProps: c, groupProps: l } = Ose({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
- }), u = cj({
+ }), u = dj({
...e,
id: void 0,
children: void 0,
@@ -39018,31 +39073,31 @@ function QM(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, S.useContext)(ZM), f = DM(e), p = e.selectionMode == null ? d : new tye(d, f), m = lj(eN)?.shouldCloseOnSelect, h = Ly(e, { global: !0 });
- return delete h.id, /*#__PURE__*/ S.createElement(mj.section, {
+ }), d = (0, S.useContext)(eN), f = AM(e), p = e.selectionMode == null ? d : new nye(d, f), m = fj(rN)?.shouldCloseOnSelect, h = Ly(e, { global: !0 });
+ return delete h.id, /*#__PURE__*/ S.createElement(_j.section, {
...Rv(h, u, l),
ref: t
- }, /*#__PURE__*/ S.createElement(sj, { values: [
- [bM, {
+ }, /*#__PURE__*/ S.createElement(uj, { values: [
+ [CM, {
...c,
ref: o
}],
- [ZM, p],
- [eN, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
+ [eN, p],
+ [rN, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
] }, /*#__PURE__*/ S.createElement(a, {
collection: i.collection,
parent: n
})));
}
-var $M = /*#__PURE__*/ iy(Die, QM), eN = /*#__PURE__*/ (0, S.createContext)(null), tN = /*#__PURE__*/ ry(Eie, function(e, t, n) {
- [e, t] = uj(e, t, eN);
- let r = lj(eN)?.id, i = (0, S.useContext)(YM), a = Wv(t), o = (0, S.useContext)(ZM), { isVirtualized: s } = (0, S.useContext)(bj), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Dse({
+var nN = /*#__PURE__*/ iy(Die, tN), rN = /*#__PURE__*/ (0, S.createContext)(null), iN = /*#__PURE__*/ ry(Eie, function(e, t, n) {
+ [e, t] = pj(e, t, rN);
+ let r = fj(rN)?.id, i = (0, S.useContext)(QM), a = Wv(t), o = (0, S.useContext)(eN), { isVirtualized: s } = (0, S.useContext)(Cj), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Dse({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = yS({ isDisabled: f.isDisabled }), h = cj({
+ }, i, a), { hoverProps: p, isHovered: m } = yS({ isDisabled: f.isDisabled }), h = dj({
...e,
id: void 0,
children: n.rendered,
@@ -39056,7 +39111,7 @@ var $M = /*#__PURE__*/ iy(Die, QM), eN = /*#__PURE__*/ (0, S.createContext)(null
hasSubmenu: !!e["aria-haspopup"],
isOpen: e["aria-expanded"] === "true"
}
- }), g = e.href ? mj.a : mj.div, _ = Ly(e, { global: !0 });
+ }), g = e.href ? _j.a : _j.div, _ = Ly(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ S.createElement(g, {
...Rv(_, h, c, p),
ref: a,
@@ -39069,19 +39124,19 @@ var $M = /*#__PURE__*/ iy(Die, QM), eN = /*#__PURE__*/ (0, S.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__*/ S.createElement(sj, { values: [
- [Dj, { slots: {
- [oj]: l,
+ }, /*#__PURE__*/ S.createElement(uj, { values: [
+ [Aj, { slots: {
+ [lj]: l,
label: l,
description: u
} }],
- [Jve, d],
- [SM, { isSelected: f.isSelected }]
+ [Yve, d],
+ [TM, { isSelected: f.isSelected }]
] }, h.children));
});
ry(E_, function(e, t, n) {
- let r = (0, S.useContext)(YM), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, S.useRef)(null);
- FM((0, S.useMemo)(() => ({
+ let r = (0, S.useContext)(QM), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, S.useRef)(null);
+ RM((0, S.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -39091,7 +39146,7 @@ ry(E_, function(e, t, n) {
o,
r?.collection
]), c);
- let l = cj({
+ let l = dj({
...s,
id: void 0,
children: n.rendered,
@@ -39104,7 +39159,7 @@ ry(E_, function(e, t, n) {
width: 0,
height: 0
},
- inert: wM(!0)
+ inert: DM(!0)
}, /*#__PURE__*/ S.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -39113,7 +39168,7 @@ ry(E_, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(mj.div, {
+ })), i && l.children && /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(_j.div, {
...Rv(Ly(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "menuitem",
@@ -39122,82 +39177,82 @@ ry(E_, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/Dialog.mjs
-var nN = /*#__PURE__*/ (0, S.createContext)(null), rN = /*#__PURE__*/ (0, S.createContext)(null), iN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+var aN = /*#__PURE__*/ (0, S.createContext)(null), oN = /*#__PURE__*/ (0, S.createContext)(null), sN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = uj(e, t, nN);
+ [e, t] = pj(e, t, aN);
let { dialogProps: r, titleProps: i, contentProps: a } = use({
...e,
"aria-labelledby": n
- }, t), o = (0, S.useContext)(rN);
+ }, t), o = (0, S.useContext)(oN);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
- let s = cj({
+ let s = dj({
defaultClassName: "react-aria-Dialog",
className: e.className,
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
}), c = Ly(e, { global: !0 });
- return /*#__PURE__*/ S.createElement(mj.section, {
+ return /*#__PURE__*/ S.createElement(_j.section, {
...Rv(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
- }, /*#__PURE__*/ S.createElement(sj, { values: [
- [Tj, { slots: {
- [oj]: {},
+ }, /*#__PURE__*/ S.createElement(uj, { values: [
+ [Oj, { slots: {
+ [lj]: {},
title: {
...i,
level: 2
}
} }],
- [Dj, { slots: {
- [oj]: {},
+ [Aj, { slots: {
+ [lj]: {},
description: a
} }],
- [Cj, { slots: {
- [oj]: {},
+ [Ej, { slots: {
+ [lj]: {},
close: { onPress: () => o?.close() }
} }]
] }, s.children));
-}), aN = typeof document < "u" && window.visualViewport;
-function nye() {
+}), cN = typeof document < "u" && window.visualViewport;
+function rye() {
let e = ov(), t = (0, S.useRef)(null), [n, r] = (0, S.useState)(() => e ? {
width: 0,
height: 0
- } : oN());
+ } : lN());
return (0, S.useEffect)(() => {
let e = (e) => {
r((t) => e.width === t.width && e.height === t.height ? t : e);
}, n = () => {
- aN && aN.scale > 1 || e(oN());
+ cN && cN.scale > 1 || e(lN());
}, i = (n) => {
- aN && aN.scale > 1 || vy(B_(n)) && (t.current = ow((t) => {
+ cN && cN.scale > 1 || vy(B_(n)) && (t.current = ow((t) => {
t || e({
width: document.documentElement.clientWidth,
height: document.documentElement.clientHeight
});
}));
};
- return e(oN()), $_() && ev() && window.addEventListener("blur", i, !0), aN ? aN.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
- t.current?.(), $_() && ev() && window.removeEventListener("blur", i, !0), aN ? aN.removeEventListener("resize", n) : window.removeEventListener("resize", n);
+ return e(lN()), $_() && ev() && window.addEventListener("blur", i, !0), cN ? cN.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
+ t.current?.(), $_() && ev() && window.removeEventListener("blur", i, !0), cN ? cN.removeEventListener("resize", n) : window.removeEventListener("resize", n);
};
}, []), n;
}
-function oN() {
+function lN() {
return {
- width: aN ? Math.min(aN.width * aN.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
- height: aN ? aN.height * aN.scale : document.documentElement.clientHeight
+ width: cN ? Math.min(cN.width * cN.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
+ height: cN ? cN.height * cN.scale : document.documentElement.clientHeight
};
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Modal.mjs
-var rye = /*#__PURE__*/ (0, S.createContext)(null), sN = /*#__PURE__*/ (0, S.createContext)(null), iye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- if ((0, S.useContext)(sN)) return /*#__PURE__*/ S.createElement(lN, {
+var iye = /*#__PURE__*/ (0, S.createContext)(null), uN = /*#__PURE__*/ (0, S.createContext)(null), aye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ if ((0, S.useContext)(uN)) return /*#__PURE__*/ S.createElement(fN, {
...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__*/ S.createElement(cN, {
+ return /*#__PURE__*/ S.createElement(dN, {
isDismissable: n,
isKeyboardDismissDisabled: r,
isOpen: i,
@@ -39207,15 +39262,15 @@ var rye = /*#__PURE__*/ (0, S.createContext)(null), sN = /*#__PURE__*/ (0, S.cre
isExiting: l,
UNSTABLE_portalContainer: u,
shouldCloseOnInteractOutside: d
- }, /*#__PURE__*/ S.createElement(lN, {
+ }, /*#__PURE__*/ S.createElement(fN, {
...f,
modalRef: t
}, s));
});
-function aye(e, t) {
- [e, t] = uj(e, t, rye);
- let n = (0, S.useContext)(rN), r = zM(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Wv(t), o = (0, S.useRef)(null), s = VM(a, i.isOpen, e.onExit), c = (0, S.useRef)(null), l = VM(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = ov();
- return !i.isOpen && !u || d ? null : /*#__PURE__*/ S.createElement(oye, {
+function oye(e, t) {
+ [e, t] = pj(e, t, iye);
+ let n = (0, S.useContext)(oN), r = HM(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Wv(t), o = (0, S.useRef)(null), s = WM(a, i.isOpen, e.onExit), c = (0, S.useRef)(null), l = WM(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = ov();
+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ S.createElement(sye, {
...e,
state: i,
isExiting: u,
@@ -39224,12 +39279,12 @@ function aye(e, t) {
onExitRef: c
});
}
-var cN = /*#__PURE__*/ (0, S.forwardRef)(aye);
-function oye({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
- let r = n.modalRef, { state: i } = n, [a, o] = (0, S.useState)(!1), s = BM(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = zse({
+var dN = /*#__PURE__*/ (0, S.forwardRef)(oye);
+function sye({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
+ let r = n.modalRef, { state: i } = n, [a, o] = (0, S.useState)(!1), s = UM(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = zse({
...n,
isEntering: c
- }, i, r), d = (0, S.useContext)(nN), f = t ? sye(d, { isEntering: c }) : d, p = cj({
+ }, i, r), d = (0, S.useContext)(aN), f = t ? cye(d, { isEntering: c }) : d, p = dj({
...n,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -39237,7 +39292,7 @@ function oye({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isExiting: n.isExiting,
state: i
}
- }), m = nye(), h, g;
+ }), m = rye(), h, g;
if (typeof document < "u") {
let e = Tb(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;
@@ -39252,15 +39307,15 @@ function oye({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
return K_(() => ow(() => o(!0)), []), /*#__PURE__*/ S.createElement(pS, {
isExiting: n.isExiting,
portalContainer: e
- }, /*#__PURE__*/ S.createElement(mj.div, {
+ }, /*#__PURE__*/ S.createElement(_j.div, {
...Rv(Ly(n, { global: !0 }), u),
...p,
style: _,
ref: n.overlayRef,
"data-entering": s || void 0,
"data-exiting": n.isExiting || void 0
- }, /*#__PURE__*/ S.createElement(sj, { values: [
- [sN, {
+ }, /*#__PURE__*/ S.createElement(uj, { values: [
+ [uN, {
modalProps: l,
modalRef: r,
isExiting: n.isExiting,
@@ -39268,11 +39323,11 @@ function oye({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isOpen: a,
isDismissable: n.isDismissable
}],
- [rN, i],
- [nN, f]
+ [oN, i],
+ [aN, f]
] }, p.children)));
}
-function sye(e, t) {
+function cye(e, t) {
if (e && "slots" in e && e.slots) {
let n = {};
for (let r in e.slots) n[r] = {
@@ -39289,8 +39344,8 @@ function sye(e, t) {
...t
};
}
-function lN(e) {
- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, S.useContext)(sN), s = (0, S.useContext)(rN), c = Wv((0, S.useMemo)(() => Pv(e.modalRef, n), [e.modalRef, n])), l = BM(c, o, e.onEnter), u = cj({
+function fN(e) {
+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, S.useContext)(uN), s = (0, S.useContext)(oN), c = Wv((0, S.useMemo)(() => Pv(e.modalRef, n), [e.modalRef, n])), l = UM(c, o, e.onEnter), u = dj({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -39301,7 +39356,7 @@ function lN(e) {
});
return K_(() => {
i && (i.current = e.onExit);
- }), /*#__PURE__*/ S.createElement(mj.div, {
+ }), /*#__PURE__*/ S.createElement(_j.div, {
...Rv(Ly(e, { global: !0 }), t),
...u,
ref: c,
@@ -39311,9 +39366,9 @@ function lN(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var cye = Math.round(Math.random() * 1e10), lye = 0;
-function uye(e) {
- let t = (0, S.useMemo)(() => e.name || `radio-group-${cye}-${++lye}`, [e.name]), [n, r] = Jb(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, S.useState)(n), [a, o] = (0, S.useState)(null), s = zb({
+var lye = Math.round(Math.random() * 1e10), uye = 0;
+function dye(e) {
+ let t = (0, S.useMemo)(() => e.name || `radio-group-${lye}-${++uye}`, [e.name]), [n, r] = Jb(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, S.useState)(n), [a, o] = (0, S.useState)(null), s = zb({
...e,
value: n
}), c = (t) => {
@@ -39336,16 +39391,16 @@ function uye(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var dye = /*#__PURE__*/ (0, S.createContext)(null), fye = /*#__PURE__*/ (0, S.createContext)(null), uN = /*#__PURE__*/ (0, S.createContext)(null), dN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- [e, t] = uj(e, t, dye);
- let { validationBehavior: n } = lj(kj) || {}, r = e.validationBehavior ?? n ?? "native", i = uye({
+var fye = /*#__PURE__*/ (0, S.createContext)(null), pye = /*#__PURE__*/ (0, S.createContext)(null), pN = /*#__PURE__*/ (0, S.createContext)(null), mN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ [e, t] = pj(e, t, fye);
+ let { validationBehavior: n } = fj(Mj) || {}, r = e.validationBehavior ?? n ?? "native", i = dye({
...e,
validationBehavior: r
- }), [a, o] = dj(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = $se({
+ }), [a, o] = mj(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = $se({
...e,
label: o,
validationBehavior: r
- }, i), f = cj({
+ }, i), f = dj({
...e,
values: {
orientation: e.orientation || "vertical",
@@ -39357,7 +39412,7 @@ var dye = /*#__PURE__*/ (0, S.createContext)(null), fye = /*#__PURE__*/ (0, S.cr
},
defaultClassName: "react-aria-RadioGroup"
}), p = Ly(e, { global: !0 });
- return /*#__PURE__*/ S.createElement(mj.div, {
+ return /*#__PURE__*/ S.createElement(_j.div, {
...Rv(p, f, s),
ref: t,
slot: e.slot || void 0,
@@ -39366,39 +39421,39 @@ var dye = /*#__PURE__*/ (0, S.createContext)(null), fye = /*#__PURE__*/ (0, S.cr
"data-disabled": i.isDisabled || void 0,
"data-readonly": i.isReadOnly || void 0,
"data-required": i.isRequired || void 0
- }, /*#__PURE__*/ S.createElement(sj, { values: [
- [uN, i],
- [Sj, {
+ }, /*#__PURE__*/ S.createElement(uj, { values: [
+ [pN, i],
+ [Tj, {
...c,
ref: a,
elementType: "span"
}],
- [Dj, { slots: {
+ [Aj, { slots: {
description: l,
errorMessage: u
} }],
- [Oj, d]
- ] }, /*#__PURE__*/ S.createElement(xM, null, f.children)));
-}), fN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ [jj, d]
+ ] }, /*#__PURE__*/ S.createElement(wM, null, f.children)));
+}), hN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = uj(r, t, fye);
- let i = S.useContext(uN), a = Wv((0, S.useMemo)(() => Pv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Qse({
- ...fj(e),
+ [e, t] = pj(r, t, pye);
+ let i = S.useContext(pN), a = Wv((0, S.useMemo)(() => Pv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Qse({
+ ...hj(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ S.createElement(pN.Provider, { value: {
+ return /*#__PURE__*/ S.createElement(gN.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ S.createElement(pye, {
+ } }, /*#__PURE__*/ S.createElement(mye, {
...e,
ref: t
}));
-}), pN = /*#__PURE__*/ (0, S.createContext)(null), pye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, S.useContext)(pN), l = S.useContext(uN), { isFocused: u, isFocusVisible: d, focusProps: f } = hS(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = yS({
+}), gN = /*#__PURE__*/ (0, S.createContext)(null), mye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, S.useContext)(gN), l = S.useContext(pN), { isFocused: u, isFocusVisible: d, focusProps: f } = hS(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = yS({
...e,
isDisabled: p
- }), g = cj({
+ }), g = dj({
...e,
defaultClassName: s,
values: {
@@ -39413,7 +39468,7 @@ var dye = /*#__PURE__*/ (0, S.createContext)(null), fye = /*#__PURE__*/ (0, S.cr
isRequired: l.isRequired
}
}), _ = Ly(e, { global: !0 });
- return delete _.id, delete _.onClick, /*#__PURE__*/ S.createElement(mj.label, {
+ return delete _.id, delete _.onClick, /*#__PURE__*/ S.createElement(_j.label, {
...Rv(_, n, m, g),
ref: t,
"data-selected": i || void 0,
@@ -39432,8 +39487,8 @@ var dye = /*#__PURE__*/ (0, S.createContext)(null), fye = /*#__PURE__*/ (0, S.cr
});
//#endregion
//#region node_modules/react-stately/dist/private/select/useSelectState.mjs
-function mye(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = zM(e), [i, a] = (0, S.useState)(null), o = (0, S.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+function hye(e) {
+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = HM(e), [i, a] = (0, S.useState)(null), o = (0, S.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
t
@@ -39449,12 +39504,12 @@ function mye(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = NM({
+ }, d = IM({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, S.useMemo)(() => hye(l), [l]),
+ selectedKeys: (0, S.useMemo)(() => gye(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -39491,16 +39546,16 @@ function mye(e) {
setFocused: g
};
}
-function hye(e) {
+function gye(e) {
if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Select.mjs
-function gye(e) {
+function _ye(e) {
return e && e.__esModule ? e.default : e;
}
-var mN = /*#__PURE__*/ (0, S.createContext)(null), hN = /*#__PURE__*/ (0, S.createContext)(null), _ye = /*#__PURE__*/ Yv(function(e, t) {
- [e, t] = uj(e, t, mN);
+var _N = /*#__PURE__*/ (0, S.createContext)(null), vN = /*#__PURE__*/ (0, S.createContext)(null), vye = /*#__PURE__*/ Yv(function(e, t) {
+ [e, t] = pj(e, t, _N);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, S.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
isDisabled: r,
@@ -39515,24 +39570,24 @@ var mN = /*#__PURE__*/ (0, S.createContext)(null), hN = /*#__PURE__*/ (0, S.crea
i,
a
]);
- return /*#__PURE__*/ S.createElement(ey, { content: o }, (n) => /*#__PURE__*/ S.createElement(yye, {
+ return /*#__PURE__*/ S.createElement(ey, { content: o }, (n) => /*#__PURE__*/ S.createElement(bye, {
props: e,
collection: n,
selectRef: t
}));
-}), vye = [
- Sj,
- Cj,
- Dj
+}), yye = [
+ Tj,
+ Ej,
+ Aj
];
-function yye({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = lj(kj) || {}, i = e.validationBehavior ?? r ?? "native", a = mye({
+function bye({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = fj(Mj) || {}, i = e.validationBehavior ?? r ?? "native", a = hye({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = hS({ within: !0 }), c = (0, S.useRef)(null), [l, u] = dj(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = ece({
- ...fj(e),
+ }), { isFocusVisible: o, focusProps: s } = hS({ within: !0 }), c = (0, S.useRef)(null), [l, u] = mj(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = ece({
+ ...hj(e),
label: u,
validationBehavior: i
}, a, c), y = (0, S.useMemo)(() => ({
@@ -39549,48 +39604,48 @@ function yye({ props: e, selectRef: t, collection: n }) {
e.isDisabled,
v.isInvalid,
e.isRequired
- ]), b = cj({
+ ]), b = dj({
...e,
values: y,
defaultClassName: "react-aria-Select"
}), x = Ly(e, { global: !0 });
delete x.id;
let C = (0, S.useRef)(null);
- return /*#__PURE__*/ S.createElement(sj, { values: [
- [mN, e],
- [hN, a],
- [gN, p],
- [Sj, {
+ return /*#__PURE__*/ S.createElement(uj, { values: [
+ [_N, e],
+ [vN, a],
+ [yN, p],
+ [Tj, {
...d,
ref: l,
elementType: "span"
}],
- [Cj, {
+ [Ej, {
...f,
ref: c,
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [rN, a],
- [UM, {
+ [oN, a],
+ [KM, {
trigger: "Select",
triggerRef: c,
scrollRef: C,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: vye
+ clearContexts: yye
}],
- [IM, {
+ [zM, {
...m,
ref: C
}],
- [LM, a],
- [Dj, { slots: {
+ [BM, a],
+ [Aj, { slots: {
description: h,
errorMessage: g
} }],
- [Oj, v]
- ] }, /*#__PURE__*/ S.createElement(mj.div, {
+ [jj, v]
+ ] }, /*#__PURE__*/ S.createElement(_j.div, {
...Rv(x, b, s),
ref: t,
slot: e.slot || void 0,
@@ -39605,9 +39660,9 @@ function yye({ props: e, selectRef: t, collection: n }) {
autoComplete: e.autoComplete
})));
}
-for (var gN = /*#__PURE__*/ (0, S.createContext)(null), bye = /*#__PURE__*/ Yv(function(e, t) {
- [e, t] = uj(e, t, gN);
- let n = (0, S.useContext)(hN), { placeholder: r } = lj(mN), i = n.selectedItems.map((e) => {
+for (var yN = /*#__PURE__*/ (0, S.createContext)(null), xye = /*#__PURE__*/ Yv(function(e, t) {
+ [e, t] = pj(e, t, yN);
+ let n = (0, S.useContext)(vN), { placeholder: r } = fj(_N), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -39634,7 +39689,7 @@ for (var gN = /*#__PURE__*/ (0, S.createContext)(null), bye = /*#__PURE__*/ Yv(f
a,
o,
i
- ]), u = Fy(gye(hM), "react-aria-components"), d = cj({
+ ]), u = Fy(_ye(vM), "react-aria-components"), d = dj({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -39646,32 +39701,32 @@ for (var gN = /*#__PURE__*/ (0, S.createContext)(null), bye = /*#__PURE__*/ Yv(f
state: n
}
}), f = Ly(e, { global: !0 });
- return /*#__PURE__*/ S.createElement(mj.span, {
+ return /*#__PURE__*/ S.createElement(_j.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
- }, /*#__PURE__*/ S.createElement(Dj.Provider, { value: void 0 }, d.children));
-}), xye = /*#__PURE__*/ (0, S.createContext)(null), _N = /*#__PURE__*/ (0, S.createContext)(null), Sye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ }, /*#__PURE__*/ S.createElement(Aj.Provider, { value: void 0 }, d.children));
+}), Sye = /*#__PURE__*/ (0, S.createContext)(null), bN = /*#__PURE__*/ (0, S.createContext)(null), Cye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = uj(r, t, xye);
+ [e, t] = pj(r, t, Sye);
let i = Wv((0, S.useMemo)(() => Pv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = Yb(e), o = ice({
- ...fj(e),
+ ...hj(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ S.createElement(sj, { values: [[_N, a], [vN, {
+ return /*#__PURE__*/ S.createElement(uj, { values: [[bN, a], [xN, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ S.createElement(Cye, {
+ }]] }, /*#__PURE__*/ S.createElement(wye, {
...e,
ref: t
}));
-}), vN = /*#__PURE__*/ (0, S.createContext)(null), Cye = /*#__PURE__*/ (0, S.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, S.useContext)(vN), { isFocused: f, isFocusVisible: p, focusProps: m } = hS(), h = a || o, g = (0, S.useContext)(_N), { hoverProps: _, isHovered: v } = yS({
+}), xN = /*#__PURE__*/ (0, S.createContext)(null), wye = /*#__PURE__*/ (0, S.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, S.useContext)(xN), { isFocused: f, isFocusVisible: p, focusProps: m } = hS(), h = a || o, g = (0, S.useContext)(bN), { hoverProps: _, isHovered: v } = yS({
...e,
isDisabled: h
- }), y = cj({
+ }), y = dj({
...e,
defaultClassName: u,
values: {
@@ -39687,7 +39742,7 @@ for (var gN = /*#__PURE__*/ (0, S.createContext)(null), bye = /*#__PURE__*/ Yv(f
state: g
}
}), b = Ly(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ S.createElement(mj.label, {
+ return delete b.id, delete b.onClick, /*#__PURE__*/ S.createElement(_j.label, {
...Rv(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -39704,7 +39759,7 @@ for (var gN = /*#__PURE__*/ (0, S.createContext)(null), bye = /*#__PURE__*/ Yv(f
...Rv(r, m),
ref: l
})), y.children);
-}), yN = 10, bN = 5, xN = class {
+}), SN = 10, CN = 5, wN = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -39714,7 +39769,7 @@ for (var gN = /*#__PURE__*/ (0, S.createContext)(null), bye = /*#__PURE__*/ Yv(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) > bN && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > yN && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ if (Math.abs(a) > CN && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > SN && (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);
@@ -39793,11 +39848,11 @@ for (var gN = /*#__PURE__*/ (0, S.createContext)(null), bye = /*#__PURE__*/ Yv(f
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > bN && i) {
+ if (Math.abs(r - c.lastSwitchY) > CN && 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 > yN && a) {
+ if (l > SN && 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;
}
@@ -39812,7 +39867,7 @@ for (var gN = /*#__PURE__*/ (0, S.createContext)(null), bye = /*#__PURE__*/ Yv(f
boundaryContext: null
};
}
-}, wye = class {
+}, Tye = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -39882,8 +39937,8 @@ for (var gN = /*#__PURE__*/ (0, S.createContext)(null), bye = /*#__PURE__*/ Yv(f
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, SN = "row-header-column-" + Math.random().toString(36).slice(2), CN = "row-header-column-" + Math.random().toString(36).slice(2); SN === CN;) CN = "row-header-column-" + Math.random().toString(36).slice(2);
-function wN(e, t) {
+}, TN = "row-header-column-" + Math.random().toString(36).slice(2), EN = "row-header-column-" + Math.random().toString(36).slice(2); TN === EN;) EN = "row-header-column-" + Math.random().toString(36).slice(2);
+function DN(e, t) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -39967,13 +40022,13 @@ function wN(e, t) {
textValue: ""
}));
}
-var Tye = class extends wye {
+var Eye = class extends Tye {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: SN,
+ key: TN,
value: null,
textValue: "",
level: 0,
@@ -39988,7 +40043,7 @@ var Tye = class extends wye {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: CN,
+ key: EN,
value: null,
textValue: "",
level: 0,
@@ -40015,7 +40070,7 @@ var Tye = class extends wye {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = wN(s, a);
+ let l = DN(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -40076,8 +40131,8 @@ var Tye = class extends wye {
};
//#endregion
//#region node_modules/react-stately/dist/private/grid/useGridState.mjs
-function Eye(e) {
- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || DM(e), i = (0, S.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
+function Dye(e) {
+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || AM(e), i = (0, S.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);
@@ -40088,7 +40143,7 @@ function Eye(e) {
}
a(e, r);
};
- let o = (0, S.useMemo)(() => new kM(t, r), [t, r]), s = (0, S.useRef)(null);
+ let o = (0, S.useMemo)(() => new MM(t, r), [t, r]), s = (0, S.useRef)(null);
return (0, S.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;
@@ -40127,11 +40182,11 @@ function Eye(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/table/useTableState.mjs
-var Dye = {
+var Oye = {
ascending: "descending",
descending: "ascending"
};
-function Oye(e) {
+function kye(e) {
let [t, n] = (0, S.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, S.useMemo)(() => ({
showSelectionCheckboxes: i && r !== "none",
showDragButtons: a,
@@ -40142,7 +40197,7 @@ function Oye(e) {
i,
r,
a
- ]), c = MM(e, (0, S.useCallback)((e) => new Tye(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Eye({
+ ]), c = FM(e, (0, S.useCallback)((e) => new Eye(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Dye({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
@@ -40158,7 +40213,7 @@ function Oye(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? Dye[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? Oye[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -40171,7 +40226,7 @@ function Oye(e) {
treeColumn: o
};
}
-function kye(e, t) {
+function Aye(e, t) {
let n = (0, S.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
@@ -40181,7 +40236,7 @@ function kye(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Table.mjs
-var Aye = class extends D_ {
+var jye = class extends D_ {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -40196,7 +40251,7 @@ var Aye = class extends D_ {
}
get body() {
for (let e of this) if (e.type === "tablebody") return e;
- return new jN(-2);
+ return new PN(-2);
}
commit(e, t, n = !1) {
this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];
@@ -40222,7 +40277,7 @@ var Aye = class extends D_ {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = wN(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 = DN(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;
@@ -40303,11 +40358,11 @@ var Aye = class extends D_ {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new ON(-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 jN(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, jye = /*#__PURE__*/ (0, S.createContext)(null), Mye = /*#__PURE__*/ (0, S.createContext)(null), TN = /*#__PURE__*/ (0, S.createContext)(null), EN = /*#__PURE__*/ (0, S.createContext)(null), Nye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- [e, t] = uj(e, t, Mye);
- let n = DM(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, S.useMemo)(() => ({
+}, Mye = /*#__PURE__*/ (0, S.createContext)(null), Nye = /*#__PURE__*/ (0, S.createContext)(null), ON = /*#__PURE__*/ (0, S.createContext)(null), kN = /*#__PURE__*/ (0, S.createContext)(null), Pye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ [e, t] = pj(e, t, Nye);
+ let n = AM(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, S.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
disallowEmptySelection: a,
@@ -40317,26 +40372,26 @@ var Aye = class extends D_ {
i,
a,
o
- ]), c = /*#__PURE__*/ S.createElement(Iye.Provider, { value: s }, /*#__PURE__*/ S.createElement(sy, e));
+ ]), c = /*#__PURE__*/ S.createElement(Lye.Provider, { value: s }, /*#__PURE__*/ S.createElement(sy, e));
return /*#__PURE__*/ S.createElement(ey, {
content: c,
- createCollection: () => new Aye()
- }, (r) => /*#__PURE__*/ S.createElement(Fye, {
+ createCollection: () => new jye()
+ }, (r) => /*#__PURE__*/ S.createElement(Iye, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), Pye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(bj);
- return n ? /*#__PURE__*/ S.createElement(mj.div, {
+}), Fye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, S.useContext)(Cj);
+ return n ? /*#__PURE__*/ S.createElement(_j.div, {
...e,
ref: t
- }) : /*#__PURE__*/ S.createElement(mj.table, {
+ }) : /*#__PURE__*/ S.createElement(_j.table, {
...e,
ref: t
});
-}), DN = {
+}), AN = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -40346,26 +40401,26 @@ var Aye = class extends D_ {
rtl: "ArrowRight"
}
};
-function Fye({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
- [e, t] = uj(e, t, hj);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, S.useContext)(jye);
+function Iye({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+ [e, t] = pj(e, t, vj);
+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, S.useContext)(Mye);
t = Wv((0, S.useMemo)(() => Pv(t, c?.tableRef), [t, c?.tableRef]));
let [l, u] = Jb(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
r = (0, S.useMemo)(() => r.withExpandedKeys(l), [r, l]);
- let d = Oye({
+ let d = kye({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = kye(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, S.useContext)(bj), { dragAndDropHooks: _ } = e, { gridProps: v } = uce({
+ }), f = Aye(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, S.useContext)(Cj), { dragAndDropHooks: _ } = e, { gridProps: v } = uce({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;
(0, S.useRef)(b), (0, S.useRef)(x), (0, S.useEffect)(() => {}, [b, x]);
- let C, w, T, E = !1, D = null, O = (0, S.useRef)(null), { direction: k } = ky(), [A] = (0, S.useState)(() => new xN());
+ let C, w, T, E = !1, D = null, O = (0, S.useRef)(null), { direction: k } = ky(), [A] = (0, S.useState)(() => new wN());
if (b && _) {
C = _.useDraggableCollectionState({
collection: f.collection,
@@ -40400,12 +40455,12 @@ function Fye({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
let t = w?.target;
if (t && t.type === "item" && t.dropPosition === "on") {
let n = d.collection.getItem(t.key);
- (e.key === DN.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === DN.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
+ (e.key === AN.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === AN.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
}
}
}, w, t), E = w.isDropTarget({ type: "root" });
}
- let { focusProps: j, isFocused: M, isFocusVisible: N } = hS(), P = cj({
+ let { focusProps: j, isFocused: M, isFocusVisible: N } = hS(), P = dj({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -40422,18 +40477,18 @@ function Fye({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
width: "min-content"
}));
let L = Ly(e, { global: !0 });
- return /*#__PURE__*/ S.createElement(sj, { values: [
- [TN, f],
- [EN, ee],
- [gM, {
+ return /*#__PURE__*/ S.createElement(uj, { values: [
+ [ON, f],
+ [kN, ee],
+ [yM, {
dragAndDropHooks: _,
dragState: C,
dropState: w
}],
- [_M, { render: Kye }],
- [hj, null],
- [gj, null]
- ] }, /*#__PURE__*/ S.createElement(ob, null, /*#__PURE__*/ S.createElement(Pye, {
+ [bM, { render: qye }],
+ [vj, null],
+ [yj, null]
+ ] }, /*#__PURE__*/ S.createElement(ob, null, /*#__PURE__*/ S.createElement(Fye, {
...Rv(L, P, v, j, T?.collectionProps),
style: I,
ref: t,
@@ -40443,31 +40498,31 @@ function Fye({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
"data-drop-target": E || void 0,
"data-focused": M || void 0,
"data-focus-visible": N || void 0
- }, /*#__PURE__*/ S.createElement(xM, null, /*#__PURE__*/ S.createElement(g, {
+ }, /*#__PURE__*/ S.createElement(wM, null, /*#__PURE__*/ S.createElement(g, {
collection: f.collection,
scrollRef: c?.scrollRef ?? t,
- persistedKeys: yM(y, _, w)
+ persistedKeys: SM(y, _, w)
})))), D);
}
-var Iye = /*#__PURE__*/ (0, S.createContext)(null), ON = class extends w_ {
+var Lye = /*#__PURE__*/ (0, S.createContext)(null), jN = class extends w_ {
static {
this.type = "tableheader";
}
-}, Lye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(bj);
- return n ? /*#__PURE__*/ S.createElement(mj.div, {
+}, Rye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, S.useContext)(Cj);
+ return n ? /*#__PURE__*/ S.createElement(_j.div, {
...e,
ref: t
- }) : /*#__PURE__*/ S.createElement(mj.thead, {
+ }) : /*#__PURE__*/ S.createElement(_j.thead, {
...e,
ref: t
});
-}), kN = /*#__PURE__*/ iy(ON, (e, t) => {
- let n = (0, S.useContext)(TN).collection, r = k_({
+}), MN = /*#__PURE__*/ iy(jN, (e, t) => {
+ let n = (0, S.useContext)(ON).collection, r = k_({
items: n.headerRows,
children: (0, S.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ S.createElement(zye, { item: e });
+ case "headerrow": return /*#__PURE__*/ S.createElement(Bye, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
@@ -40475,13 +40530,13 @@ var Iye = /*#__PURE__*/ (0, S.createContext)(null), ON = class extends w_ {
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), s = cj({
+ }), s = dj({
...e,
children: void 0,
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ S.createElement(Lye, {
+ return /*#__PURE__*/ S.createElement(Rye, {
...Rv(Ly(e, { global: !0 }), i, a),
...s,
ref: t,
@@ -40490,8 +40545,8 @@ var Iye = /*#__PURE__*/ (0, S.createContext)(null), ON = class extends w_ {
}, (e) => /*#__PURE__*/ S.createElement(sy, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), Rye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(bj);
+}, e.children)), zye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, S.useContext)(Cj);
return n ? /*#__PURE__*/ S.createElement("div", {
...e,
ref: t
@@ -40500,41 +40555,41 @@ var Iye = /*#__PURE__*/ (0, S.createContext)(null), ON = class extends w_ {
ref: t
});
});
-function zye({ item: e }) {
- let t = (0, S.useRef)(null), n = (0, S.useContext)(TN), { isVirtualized: r, CollectionBranch: i } = (0, S.useContext)(bj), { rowProps: a } = mce({
+function Bye({ item: e }) {
+ let t = (0, S.useRef)(null), n = (0, S.useContext)(ON), { isVirtualized: r, CollectionBranch: i } = (0, S.useContext)(Cj), { rowProps: a } = mce({
node: e,
isVirtualized: r
}, n, t), { checkboxProps: o } = xce(n);
- return /*#__PURE__*/ S.createElement(Rye, {
+ return /*#__PURE__*/ S.createElement(zye, {
...a,
ref: t
- }, /*#__PURE__*/ S.createElement(sj, { values: [[Aj, { slots: { selection: o } }], [jj, { slots: { selection: o } }]] }, /*#__PURE__*/ S.createElement(i, {
+ }, /*#__PURE__*/ S.createElement(uj, { values: [[Nj, { slots: { selection: o } }], [Pj, { slots: { selection: o } }]] }, /*#__PURE__*/ S.createElement(i, {
collection: n.collection,
parent: e
})));
}
-var Bye = class extends w_ {
+var Vye = class extends w_ {
static {
this.type = "column";
}
-}, Vye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(bj);
- return n ? /*#__PURE__*/ S.createElement(mj.div, {
+}, Hye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, S.useContext)(Cj);
+ return n ? /*#__PURE__*/ S.createElement(_j.div, {
...e,
ref: t
- }) : /*#__PURE__*/ S.createElement(mj.th, {
+ }) : /*#__PURE__*/ S.createElement(_j.th, {
...e,
ref: t
});
-}), AN = /*#__PURE__*/ ry(Bye, (e, t, n) => {
- let r = Wv(t), i = (0, S.useContext)(TN), { isVirtualized: a } = (0, S.useContext)(bj), { columnHeaderProps: o, isPressed: s } = pce({
+}), NN = /*#__PURE__*/ ry(Vye, (e, t, n) => {
+ let r = Wv(t), i = (0, S.useContext)(ON), { isVirtualized: a } = (0, S.useContext)(Cj), { columnHeaderProps: o, isPressed: s } = pce({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = hS(), d = (0, S.useContext)(EN), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = hS(), d = (0, S.useContext)(kN), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = yS({ isDisabled: !e.allowsSorting }), h = cj({
+ let { hoverProps: p, isHovered: m } = yS({ isDisabled: !e.allowsSorting }), h = dj({
...e,
id: void 0,
children: n.rendered,
@@ -40561,7 +40616,7 @@ var Bye = class extends w_ {
width: d.getColumnWidth(n.key)
});
let _ = Ly(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ S.createElement(Vye, {
+ return delete _.id, /*#__PURE__*/ S.createElement(Hye, {
...Rv(_, o, u, p),
...h,
style: g,
@@ -40573,28 +40628,28 @@ var Bye = class extends w_ {
"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__*/ S.createElement(sj, { values: [[Hye, {
+ }, /*#__PURE__*/ S.createElement(uj, { values: [[Uye, {
column: n,
triggerRef: r
- }], [bj, vj]] }, h.children));
-}), Hye = /*#__PURE__*/ (0, S.createContext)(null), jN = class extends T_ {
+ }], [Cj, xj]] }, h.children));
+}), Uye = /*#__PURE__*/ (0, S.createContext)(null), PN = class extends T_ {
static {
this.type = "tablebody";
}
-}, Uye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(bj);
- return n ? /*#__PURE__*/ S.createElement(mj.div, {
+}, Wye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, S.useContext)(Cj);
+ return n ? /*#__PURE__*/ S.createElement(_j.div, {
...e,
ref: t
- }) : /*#__PURE__*/ S.createElement(mj.tbody, {
+ }) : /*#__PURE__*/ S.createElement(_j.tbody, {
...e,
ref: t
});
-}), MN = /*#__PURE__*/ iy(jN, (e, t, n) => {
- let r = (0, S.useContext)(TN), { isVirtualized: i } = (0, S.useContext)(bj), a = r.collection, { CollectionBranch: o } = (0, S.useContext)(bj), { dragAndDropHooks: s, dropState: c } = (0, S.useContext)(gM), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), FN = /*#__PURE__*/ iy(PN, (e, t, n) => {
+ let r = (0, S.useContext)(ON), { isVirtualized: i } = (0, S.useContext)(Cj), a = r.collection, { CollectionBranch: o } = (0, S.useContext)(Cj), { dragAndDropHooks: s, dropState: c } = (0, S.useContext)(yM), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
- }, p = cj({
+ }, p = dj({
...e,
id: void 0,
children: void 0,
@@ -40603,25 +40658,25 @@ var Bye = class extends w_ {
}), 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__*/ S.createElement(PN, {
+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ S.createElement(LN, {
role: "row",
...t,
style: r
- }, /*#__PURE__*/ S.createElement(IN, {
+ }, /*#__PURE__*/ S.createElement(zN, {
role: "rowheader",
...n,
style: r
}, e.renderEmptyState(f)));
}
let { rowGroupProps: g } = xT(), _ = Ly(e, { global: !0 });
- return /*#__PURE__*/ S.createElement(Uye, {
+ return /*#__PURE__*/ S.createElement(Wye, {
...Rv(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ S.createElement(Zye, null), /*#__PURE__*/ S.createElement(o, {
+ }, l && /*#__PURE__*/ S.createElement(Qye, null), /*#__PURE__*/ S.createElement(o, {
collection: a,
parent: n,
- renderDropIndicator: vM(s, c)
+ renderDropIndicator: xM(s, c)
}), m);
});
(class extends T_ {
@@ -40629,7 +40684,7 @@ var Bye = class extends w_ {
this.type = "tablefooter";
}
});
-var NN = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), Wye = class extends w_ {
+var IN = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), Gye = class extends w_ {
static {
this.type = "item";
}
@@ -40641,17 +40696,17 @@ var NN = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), Wy
}
return null;
}
-}, PN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(bj);
- return n ? /*#__PURE__*/ S.createElement(mj.div, {
+}, LN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, S.useContext)(Cj);
+ return n ? /*#__PURE__*/ S.createElement(_j.div, {
...e,
ref: t
- }) : /*#__PURE__*/ S.createElement(mj.tr, {
+ }) : /*#__PURE__*/ S.createElement(_j.tr, {
...e,
ref: t
});
-}), FN = /*#__PURE__*/ iy(Wye, (e, t, n) => {
- let r = Wv(t), i = (0, S.useContext)(TN), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, S.useContext)(gM), { isVirtualized: c, CollectionBranch: l } = (0, S.useContext)(bj), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = _ce({
+}), RN = /*#__PURE__*/ iy(Gye, (e, t, n) => {
+ let r = Wv(t), i = (0, S.useContext)(ON), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, S.useContext)(yM), { isVirtualized: c, CollectionBranch: l } = (0, S.useContext)(Cj), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = _ce({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
@@ -40675,7 +40730,7 @@ var NN = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), Wy
(0, S.useEffect)(() => {
o && D.current;
}, []);
- let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = cj({
+ let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = dj({
...A,
id: void 0,
defaultClassName: "react-aria-Row",
@@ -40697,10 +40752,10 @@ var NN = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), Wy
level: n.level + 1
}
}), P = Ly(e, { global: !0 });
- return delete P.id, delete P.onClick, /*#__PURE__*/ S.createElement(S.Fragment, null, w && !w.isHidden && /*#__PURE__*/ S.createElement(PN, {
+ return delete P.id, delete P.onClick, /*#__PURE__*/ S.createElement(S.Fragment, null, w && !w.isHidden && /*#__PURE__*/ S.createElement(LN, {
role: "row",
style: { height: 0 }
- }, /*#__PURE__*/ S.createElement(IN, {
+ }, /*#__PURE__*/ S.createElement(zN, {
role: "gridcell",
colSpan: i.collection.columnCount,
style: { padding: 0 }
@@ -40709,7 +40764,7 @@ var NN = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), Wy
...E,
...w.dropIndicatorProps,
ref: T
- }))), /*#__PURE__*/ S.createElement(PN, {
+ }))), /*#__PURE__*/ S.createElement(LN, {
...Rv(P, N, d, g, y, C?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
@@ -40725,17 +40780,17 @@ var NN = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), Wy
"data-expanded": M || void 0,
"data-has-child-items": j || void 0,
"data-level": n.level + 1
- }, /*#__PURE__*/ S.createElement(sj, { values: [
- [Aj, { slots: {
- [oj]: {},
+ }, /*#__PURE__*/ S.createElement(uj, { values: [
+ [Nj, { slots: {
+ [lj]: {},
selection: x
} }],
- [jj, { slots: {
- [oj]: {},
+ [Pj, { slots: {
+ [lj]: {},
selection: x
} }],
- [Cj, { slots: {
- [oj]: {},
+ [Ej, { slots: {
+ [lj]: {},
chevron: f,
drag: {
...C?.dragButtonProps,
@@ -40743,8 +40798,8 @@ var NN = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), Wy
style: { pointerEvents: "none" }
}
} }],
- [SM, { isSelected: p.isSelected }],
- [NN, { isFocusVisibleWithinRow: _ }]
+ [TM, { isSelected: p.isSelected }],
+ [IN, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ S.createElement(l, {
collection: i.collection,
parent: n
@@ -40757,21 +40812,21 @@ var NN = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), Wy
items: e.columns,
idScope: e.id
}, e.children);
-}), Gye = class extends w_ {
+}), Kye = class extends w_ {
static {
this.type = "cell";
}
-}, IN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(bj);
- return n ? /*#__PURE__*/ S.createElement(mj.div, {
+}, zN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, S.useContext)(Cj);
+ return n ? /*#__PURE__*/ S.createElement(_j.div, {
...e,
ref: t
- }) : /*#__PURE__*/ S.createElement(mj.td, {
+ }) : /*#__PURE__*/ S.createElement(_j.td, {
...e,
ref: t
});
-}), LN = /*#__PURE__*/ ry(Gye, (e, t, n) => {
- let r = Wv(t), i = (0, S.useContext)(TN), { dragState: a } = (0, S.useContext)(gM), { isVirtualized: o } = (0, S.useContext)(bj);
+}), BN = /*#__PURE__*/ ry(Kye, (e, t, n) => {
+ let r = Wv(t), i = (0, S.useContext)(ON), { dragState: a } = (0, S.useContext)(yM), { isVirtualized: o } = (0, S.useContext)(Cj);
n.column = i.collection.columns[n.index];
let { gridCellProps: s, isPressed: c } = dce({
node: n,
@@ -40779,7 +40834,7 @@ var NN = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), Wy
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = hS(), { hoverProps: f, isHovered: p } = yS({}), { isFocusVisibleWithinRow: m } = (0, S.useContext)(NN), 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 = cj({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = hS(), { hoverProps: f, isHovered: p } = yS({}), { isFocusVisibleWithinRow: m } = (0, S.useContext)(IN), 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 = dj({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -40799,7 +40854,7 @@ var NN = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), Wy
isTreeColumn: n.column.key === i.treeColumn
}
}), C = Ly(e, { global: !0 });
- return delete C.id, /*#__PURE__*/ S.createElement(IN, {
+ return delete C.id, /*#__PURE__*/ S.createElement(zN, {
...Rv(C, x, s, d, f),
ref: r,
"data-focused": l || void 0,
@@ -40813,14 +40868,14 @@ var NN = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), Wy
"data-level": _.level + 1,
"data-tree-column": n.column.key === i.treeColumn || void 0,
"data-disabled": b || void 0
- }, /*#__PURE__*/ S.createElement(bj.Provider, { value: vj }, x.children));
+ }, /*#__PURE__*/ S.createElement(Cj.Provider, { value: xj }, x.children));
});
-function Kye(e, t) {
+function qye(e, t) {
t = Wv(t);
- let { dragAndDropHooks: n, dropState: r } = (0, S.useContext)(gM), i = (0, S.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+ let { dragAndDropHooks: n, dropState: r } = (0, S.useContext)(yM), i = (0, S.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__*/ S.createElement(Xye, {
+ return /*#__PURE__*/ S.createElement(Zye, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -40829,40 +40884,40 @@ function Kye(e, t) {
ref: t
});
}
-var qye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(bj);
- return n ? /*#__PURE__*/ S.createElement(mj.div, {
+var Jye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, S.useContext)(Cj);
+ return n ? /*#__PURE__*/ S.createElement(_j.div, {
...e,
ref: t
- }) : /*#__PURE__*/ S.createElement(mj.tr, {
+ }) : /*#__PURE__*/ S.createElement(_j.tr, {
...e,
ref: t
});
-}), Jye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(bj);
- return n ? /*#__PURE__*/ S.createElement(mj.div, {
+}), Yye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, S.useContext)(Cj);
+ return n ? /*#__PURE__*/ S.createElement(_j.div, {
...e,
ref: t
- }) : /*#__PURE__*/ S.createElement(mj.td, {
+ }) : /*#__PURE__*/ S.createElement(_j.td, {
...e,
ref: t
});
});
-function Yye(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, S.useContext)(TN), { visuallyHiddenProps: c } = Qb(), l = cj({
+function Xye(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, S.useContext)(ON), { visuallyHiddenProps: c } = Qb(), l = dj({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ S.createElement(qye, {
+ return /*#__PURE__*/ S.createElement(Jye, {
...Ly(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ S.createElement(Jye, {
+ }, /*#__PURE__*/ S.createElement(Yye, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -40873,14 +40928,14 @@ function Yye(e, t) {
ref: i
}), l.children));
}
-var Xye = /*#__PURE__*/ (0, S.forwardRef)(Yye);
-function Zye() {
- let e = (0, S.useContext)(TN), { dragAndDropHooks: t, dropState: n } = (0, S.useContext)(gM), r = (0, S.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = Qb();
- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ S.createElement(PN, {
+var Zye = /*#__PURE__*/ (0, S.forwardRef)(Xye);
+function Qye() {
+ let e = (0, S.useContext)(ON), { dragAndDropHooks: t, dropState: n } = (0, S.useContext)(yM), r = (0, S.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = Qb();
+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ S.createElement(LN, {
role: "row",
"aria-hidden": i["aria-hidden"],
style: { height: 0 }
- }, /*#__PURE__*/ S.createElement(IN, {
+ }, /*#__PURE__*/ S.createElement(zN, {
role: "gridcell",
colSpan: e.collection.columnCount,
style: { padding: 0 }
@@ -40892,8 +40947,8 @@ function Zye() {
})));
}
ry(E_, function(e, t, n) {
- let r = (0, S.useContext)(TN), { isVirtualized: i } = (0, S.useContext)(bj), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, S.useRef)(null);
- FM((0, S.useMemo)(() => ({
+ let r = (0, S.useContext)(ON), { isVirtualized: i } = (0, S.useContext)(Cj), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, S.useRef)(null);
+ RM((0, S.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
sentinelRef: u,
@@ -40903,7 +40958,7 @@ ry(E_, function(e, t, n) {
s,
r?.collection
]), u);
- let d = cj({
+ let d = dj({
...c,
id: void 0,
children: n.rendered,
@@ -40911,10 +40966,10 @@ ry(E_, 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__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(PN, {
+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(LN, {
style: { height: 0 },
- inert: wM(!0)
- }, /*#__PURE__*/ S.createElement(IN, { style: {
+ inert: DM(!0)
+ }, /*#__PURE__*/ S.createElement(zN, { style: {
padding: 0,
border: 0
} }, /*#__PURE__*/ S.createElement("div", {
@@ -40925,14 +40980,14 @@ ry(E_, function(e, t, n) {
height: 1,
width: 1
}
- }))), a && d.children && /*#__PURE__*/ S.createElement(PN, {
+ }))), a && d.children && /*#__PURE__*/ S.createElement(LN, {
...Rv(Ly(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
"aria-level": n.level + 1,
"data-level": n.level + 1
- }, /*#__PURE__*/ S.createElement(IN, {
+ }, /*#__PURE__*/ S.createElement(zN, {
role: "rowheader",
...p,
style: m
@@ -40940,8 +40995,8 @@ ry(E_, function(e, t, n) {
});
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function Qye(e) {
- let [t, n] = Jb(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, S.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = NM({
+function $ye(e) {
+ let [t, n] = Jb(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, S.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = IM({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -40964,24 +41019,24 @@ function Qye(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function $ye(e) {
- let t = Qye({
+function ebe(e) {
+ let t = $ye({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? RN(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ defaultSelectedKey: e.defaultSelectedKey ?? VN(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, S.useRef)(i);
return (0, S.useEffect)(() => {
let o = i;
- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = RN(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 = VN(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 RN(e, t) {
+function VN(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);
@@ -40991,20 +41046,20 @@ function RN(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Tabs.mjs
-var zN = /*#__PURE__*/ (0, S.createContext)(null), BN = /*#__PURE__*/ (0, S.createContext)(null), VN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- [e, t] = uj(e, t, zN);
+var HN = /*#__PURE__*/ (0, S.createContext)(null), UN = /*#__PURE__*/ (0, S.createContext)(null), WN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ [e, t] = pj(e, t, HN);
let { children: n, orientation: r = "horizontal" } = e;
return n = (0, S.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ S.createElement(ey, { content: n }, (n) => /*#__PURE__*/ S.createElement(ebe, {
+ }) : n, [n, r]), /*#__PURE__*/ S.createElement(ey, { content: n }, (n) => /*#__PURE__*/ S.createElement(tbe, {
props: e,
collection: n,
tabsRef: t
}));
});
-function ebe({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = $ye({
+function tbe({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = ebe({
...e,
collection: n,
children: void 0
@@ -41016,12 +41071,12 @@ function ebe({ props: e, tabsRef: t, collection: n }) {
r,
o,
s
- ]), l = cj({
+ ]), l = dj({
...e,
defaultClassName: "react-aria-Tabs",
values: c
}), u = Ly(e, { global: !0 });
- return /*#__PURE__*/ S.createElement(mj.div, {
+ return /*#__PURE__*/ S.createElement(_j.div, {
...Rv(u, l, a),
ref: t,
slot: e.slot || void 0,
@@ -41029,20 +41084,20 @@ function ebe({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ S.createElement(sj, { values: [[zN, e], [BN, i]] }, l.children));
+ }, /*#__PURE__*/ S.createElement(uj, { values: [[HN, e], [UN, i]] }, l.children));
}
-var HN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- return (0, S.useContext)(BN) ? /*#__PURE__*/ S.createElement(tbe, {
+var GN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ return (0, S.useContext)(UN) ? /*#__PURE__*/ S.createElement(nbe, {
props: e,
forwardedRef: t
}) : /*#__PURE__*/ S.createElement(sy, e);
});
-function tbe({ props: e, forwardedRef: t }) {
- let n = (0, S.useContext)(BN), { CollectionRoot: r } = (0, S.useContext)(bj), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = lj(zN), o = Wv(t), { tabListProps: s } = wce({
+function nbe({ props: e, forwardedRef: t }) {
+ let n = (0, S.useContext)(UN), { CollectionRoot: r } = (0, S.useContext)(Cj), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = fj(HN), o = Wv(t), { tabListProps: s } = wce({
...e,
orientation: i,
keyboardActivation: a
- }, n, o), c = cj({
+ }, n, o), c = dj({
...e,
children: null,
defaultClassName: "react-aria-TabList",
@@ -41051,21 +41106,21 @@ function tbe({ props: e, forwardedRef: t }) {
state: n
}
}), l = Ly(e, { global: !0 });
- return delete l.id, /*#__PURE__*/ S.createElement(mj.div, {
+ return delete l.id, /*#__PURE__*/ S.createElement(_j.div, {
...Rv(l, c, s),
ref: o,
"data-orientation": i || void 0
- }, /*#__PURE__*/ S.createElement(xM, null, /*#__PURE__*/ S.createElement(r, {
+ }, /*#__PURE__*/ S.createElement(wM, null, /*#__PURE__*/ S.createElement(r, {
collection: n.collection,
- persistedKeys: xj(n.selectionManager.focusedKey)
+ persistedKeys: wj(n.selectionManager.focusedKey)
})));
}
-var UN = /*#__PURE__*/ ry(class extends w_ {
+var KN = /*#__PURE__*/ ry(class extends w_ {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, S.useContext)(BN), i = Wv(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Sce({
+ let r = (0, S.useContext)(UN), i = Wv(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Sce({
key: n.key,
...e
}, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = hS(), { hoverProps: f, isHovered: p } = yS({
@@ -41073,7 +41128,7 @@ var UN = /*#__PURE__*/ ry(class extends w_ {
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
onHoverChange: e.onHoverChange
- }), m = cj({
+ }), m = dj({
...e,
id: void 0,
children: n.rendered,
@@ -41086,7 +41141,7 @@ var UN = /*#__PURE__*/ ry(class extends w_ {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? mj.a : mj.div, g = Ly(e, { global: !0 });
+ }), h = n.props.href ? _j.a : _j.div, g = Ly(e, { global: !0 });
return delete g.id, delete g.onClick, /*#__PURE__*/ S.createElement(h, {
...Rv(g, m, a, l, f),
ref: i,
@@ -41096,26 +41151,26 @@ var UN = /*#__PURE__*/ ry(class extends w_ {
"data-focus-visible": d || void 0,
"data-pressed": c || void 0,
"data-hovered": p || void 0
- }, /*#__PURE__*/ S.createElement(SM.Provider, { value: { isSelected: o } }, m.children));
-}), WN = /*#__PURE__*/ Yv(function(e, t) {
- let n = (0, S.useContext)(BN), r = Wv(t), i = n.selectedKey === e.id, [a, o] = (0, S.useState)(n.selectedKey == null ? null : i);
+ }, /*#__PURE__*/ S.createElement(TM.Provider, { value: { isSelected: o } }, m.children));
+}), qN = /*#__PURE__*/ Yv(function(e, t) {
+ let n = (0, S.useContext)(UN), r = Wv(t), i = n.selectedKey === e.id, [a, o] = (0, S.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
- let s = VM(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ S.createElement(nbe, {
+ let s = WM(r, i);
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ S.createElement(rbe, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function nbe(e) {
- let t = (0, S.useContext)(BN), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Tce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = hS(), d = t.selectedKey === e.id, f = BM(r) && !i, p = cj({
+function rbe(e) {
+ let t = (0, S.useContext)(UN), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Tce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = hS(), d = t.selectedKey === e.id, f = UM(r) && !i, p = dj({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
isFocused: l,
isFocusVisible: u,
- isInert: wM(!d),
+ isInert: DM(!d),
isEntering: f,
isExiting: a,
state: t
@@ -41123,31 +41178,31 @@ function nbe(e) {
}), m = Ly(o, { global: !0 });
delete m.id;
let h = d ? Rv(m, s, c, p) : Rv(m, p);
- return /*#__PURE__*/ S.createElement(mj.div, {
+ return /*#__PURE__*/ S.createElement(_j.div, {
...h,
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
- inert: wM(!d || e.inert),
+ inert: DM(!d || e.inert),
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ S.createElement(sj, { values: [[zN, null], [BN, null]] }, /*#__PURE__*/ S.createElement(bj.Provider, { value: vj }, p.children)));
+ }, /*#__PURE__*/ S.createElement(uj, { values: [[HN, null], [UN, null]] }, /*#__PURE__*/ S.createElement(Cj.Provider, { value: xj }, p.children)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
-var rbe = /*#__PURE__*/ (0, S.createContext)({}), ibe = /*#__PURE__*/ (0, S.createContext)(null), abe = /*#__PURE__*/ Yv(function(e, t) {
- [e, t] = uj(e, t, ibe);
- let { validationBehavior: n } = lj(kj) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, S.useRef)(null);
- [e, i] = uj(e, i, gj);
- let [a, o] = dj(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, S.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Xoe({
- ...fj(e),
+var ibe = /*#__PURE__*/ (0, S.createContext)({}), abe = /*#__PURE__*/ (0, S.createContext)(null), obe = /*#__PURE__*/ Yv(function(e, t) {
+ [e, t] = pj(e, t, abe);
+ let { validationBehavior: n } = fj(Mj) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, S.useRef)(null);
+ [e, i] = pj(e, i, yj);
+ let [a, o] = mj(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, S.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Xoe({
+ ...hj(e),
inputElementType: s,
label: o,
validationBehavior: r
}, i), m = (0, S.useCallback)((e) => {
i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");
- }, [i]), h = cj({
+ }, [i]), h = dj({
...e,
values: {
isDisabled: e.isDisabled || !1,
@@ -41157,7 +41212,7 @@ var rbe = /*#__PURE__*/ (0, S.createContext)({}), ibe = /*#__PURE__*/ (0, S.crea
},
defaultClassName: "react-aria-TextField"
}), g = Ly(e, { global: !0 });
- return delete g.id, /*#__PURE__*/ S.createElement(mj.div, {
+ return delete g.id, /*#__PURE__*/ S.createElement(_j.div, {
...g,
...h,
ref: t,
@@ -41166,31 +41221,31 @@ var rbe = /*#__PURE__*/ (0, S.createContext)({}), ibe = /*#__PURE__*/ (0, S.crea
"data-invalid": p.isInvalid || void 0,
"data-readonly": e.isReadOnly || void 0,
"data-required": e.isRequired || void 0
- }, /*#__PURE__*/ S.createElement(sj, { values: [
- [Sj, {
+ }, /*#__PURE__*/ S.createElement(uj, { values: [
+ [Tj, {
...l,
ref: a
}],
- [Pj, {
+ [Lj, {
...u,
ref: m
}],
- [rbe, {
+ [ibe, {
...u,
ref: m
}],
- [Nj, {
+ [Ij, {
role: "presentation",
isInvalid: p.isInvalid,
isDisabled: e.isDisabled || !1
}],
- [Dj, { slots: {
+ [Aj, { slots: {
description: d,
errorMessage: f
} }],
- [Oj, p]
+ [jj, p]
] }, h.children));
-}), obe = class e extends D_ {
+}), sbe = class e extends D_ {
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;
@@ -41262,16 +41317,16 @@ var rbe = /*#__PURE__*/ (0, S.createContext)({}), ibe = /*#__PURE__*/ (0, S.crea
constructor(...e) {
super(...e), this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, sbe = /*#__PURE__*/ (0, S.createContext)(null), GN = /*#__PURE__*/ (0, S.createContext)(null), cbe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- return [e, t] = uj(e, t, sbe), /*#__PURE__*/ S.createElement(ey, {
+}, cbe = /*#__PURE__*/ (0, S.createContext)(null), JN = /*#__PURE__*/ (0, S.createContext)(null), lbe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ return [e, t] = pj(e, t, cbe), /*#__PURE__*/ S.createElement(ey, {
content: /*#__PURE__*/ S.createElement(sy, e),
- createCollection: () => new obe()
- }, (n) => /*#__PURE__*/ S.createElement(lbe, {
+ createCollection: () => new sbe()
+ }, (n) => /*#__PURE__*/ S.createElement(ube, {
props: e,
collection: n,
treeRef: t
}));
-}), KN = {
+}), YN = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -41281,7 +41336,7 @@ var rbe = /*#__PURE__*/ (0, S.createContext)({}), ibe = /*#__PURE__*/ (0, S.crea
rtl: "ArrowRight"
}
};
-function lbe({ props: e, collection: t, treeRef: n }) {
+function ube({ props: e, collection: t, treeRef: n }) {
let { dragAndDropHooks: r } = e, { direction: i } = ky(), a = cS({
usage: "search",
sensitivity: "base"
@@ -41289,9 +41344,9 @@ function lbe({ props: e, collection: t, treeRef: n }) {
(0, S.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, S.useContext)(bj), [y, b] = Jb(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, C] = (0, S.useState)(t), [w, T] = (0, S.useState)(y), [E, D] = (0, S.useState)(() => t.withExpandedKeys(w, y));
- (!gbe(w, y) || t !== x) && (D(t.withExpandedKeys(w, y)), C(t), T(y));
- let O = qM({
+ let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, S.useContext)(Cj), [y, b] = Jb(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, C] = (0, S.useState)(t), [w, T] = (0, S.useState)(y), [E, D] = (0, S.useState)(() => t.withExpandedKeys(w, y));
+ (!_be(w, y) || t !== x) && (D(t.withExpandedKeys(w, y)), C(t), T(y));
+ let O = XM({
...e,
selectionMode: u,
expandedKeys: y,
@@ -41313,7 +41368,7 @@ function lbe({ props: e, collection: t, treeRef: n }) {
let e = r.DragPreview;
P = r.renderDragPreview ? /*#__PURE__*/ S.createElement(e, { ref: F }, r.renderDragPreview) : null;
}
- let [I] = (0, S.useState)(() => new xN());
+ let [I] = (0, S.useState)(() => new wN());
if (s && r) {
j = r.useDroppableCollectionState({
collection: O.collection,
@@ -41343,7 +41398,7 @@ function lbe({ props: e, collection: t, treeRef: n }) {
let t = j?.target;
if (t && t.type === "item" && t.dropPosition === "on") {
let n = O.collection.getItem(t.key);
- (e.key === KN.expand[i] && n?.hasChildNodes && !O.expandedKeys.has(t.key) || e.key === KN.collapse[i] && n?.hasChildNodes && O.expandedKeys.has(t.key)) && O.toggleKey(t.key);
+ (e.key === YN.expand[i] && n?.hasChildNodes && !O.expandedKeys.has(t.key) || e.key === YN.collapse[i] && n?.hasChildNodes && O.expandedKeys.has(t.key)) && O.toggleKey(t.key);
}
}
}, j, n), N = j.isDropTarget({ type: "root" });
@@ -41356,7 +41411,7 @@ function lbe({ props: e, collection: t, treeRef: n }) {
selectionMode: O.selectionManager.selectionMode,
allowsDragging: !!ee,
state: O
- }, ie = cj({
+ }, ie = dj({
...e,
children: void 0,
defaultClassName: "react-aria-Tree",
@@ -41374,7 +41429,7 @@ function lbe({ props: e, collection: t, treeRef: n }) {
}, r));
}
let oe = Ly(e, { global: !0 });
- return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(ob, null, /*#__PURE__*/ S.createElement(mj.div, {
+ return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(ob, null, /*#__PURE__*/ S.createElement(_j.div, {
...Rv(oe, ie, k, L, M?.collectionProps),
ref: n,
slot: e.slot || void 0,
@@ -41384,39 +41439,39 @@ function lbe({ props: e, collection: t, treeRef: n }) {
"data-focus-visible": ne || void 0,
"data-selection-mode": O.selectionManager.selectionMode === "none" ? void 0 : O.selectionManager.selectionMode,
"data-allows-dragging": !!ee || void 0
- }, /*#__PURE__*/ S.createElement(sj, { values: [
- [GN, O],
- [gM, {
+ }, /*#__PURE__*/ S.createElement(uj, { values: [
+ [JN, O],
+ [yM, {
dragAndDropHooks: r,
dragState: A,
dropState: j
}],
- [_M, { render: fbe }]
- ] }, s && /*#__PURE__*/ S.createElement(hbe, null), /*#__PURE__*/ S.createElement(xM, null, /*#__PURE__*/ S.createElement(h, {
+ [bM, { render: pbe }]
+ ] }, s && /*#__PURE__*/ S.createElement(gbe, null), /*#__PURE__*/ S.createElement(wM, null, /*#__PURE__*/ S.createElement(h, {
collection: O.collection,
- persistedKeys: yM(O.selectionManager, r, j),
+ persistedKeys: SM(O.selectionManager, r, j),
scrollRef: n,
- renderDropIndicator: vM(r, j)
+ renderDropIndicator: xM(r, j)
}))), ae)), P);
}
-var ube = /*#__PURE__*/ ry(class extends w_ {
+var dbe = /*#__PURE__*/ ry(class extends w_ {
static {
this.type = "content";
}
}, function(e) {
- let t = (0, S.useContext)(qN), n = cj({
+ let t = (0, S.useContext)(XN), n = dj({
children: e.children,
values: t
});
- return /*#__PURE__*/ S.createElement(bj.Provider, { value: vj }, n.children);
-}), qN = /*#__PURE__*/ (0, S.createContext)(null), dbe = /*#__PURE__*/ iy(class extends w_ {
+ return /*#__PURE__*/ S.createElement(Cj.Provider, { value: xj }, n.children);
+}), XN = /*#__PURE__*/ (0, S.createContext)(null), fbe = /*#__PURE__*/ iy(class extends w_ {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, S.useContext)(GN);
+ let r = (0, S.useContext)(JN);
t = Wv(t);
- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, S.useContext)(gM), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Vce({
+ let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, S.useContext)(yM), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Vce({
node: n,
shouldSelectOnPressUp: !!a,
focusMode: e.focusMode,
@@ -41470,7 +41525,7 @@ var ube = /*#__PURE__*/ ry(class extends w_ {
j,
N,
M
- ]), F = cj({
+ ]), F = dj({
...e,
id: void 0,
children: n.rendered,
@@ -41520,7 +41575,7 @@ var ube = /*#__PURE__*/ ry(class extends w_ {
"aria-labelledby": `${L} ${c.id}`,
tabIndex: -1,
ref: O
- }))), /*#__PURE__*/ S.createElement(mj.div, {
+ }))), /*#__PURE__*/ S.createElement(_j.div, {
...Rv(te, c, y, g, x, w?.dragProps),
...F,
ref: t,
@@ -41540,17 +41595,17 @@ var ube = /*#__PURE__*/ ry(class extends w_ {
}, /*#__PURE__*/ S.createElement("div", {
...l,
style: { display: "contents" }
- }, /*#__PURE__*/ S.createElement(sj, { values: [
- [Aj, { slots: {
- [oj]: {},
+ }, /*#__PURE__*/ S.createElement(uj, { values: [
+ [Nj, { slots: {
+ [lj]: {},
selection: C
} }],
- [jj, { slots: {
- [oj]: {},
+ [Pj, { slots: {
+ [lj]: {},
selection: C
} }],
- [Cj, { slots: {
- [oj]: {},
+ [Ej, { slots: {
+ [lj]: {},
chevron: {
...u,
ref: E
@@ -41561,13 +41616,13 @@ var ube = /*#__PURE__*/ ry(class extends w_ {
style: { pointerEvents: "none" }
}
} }],
- [qN, { ...P }],
- [SM, { isSelected: f.isSelected }]
+ [XN, { ...P }],
+ [TM, { isSelected: f.isSelected }]
] }, ee))));
});
ry(E_, function(e, t, n) {
- let { isVirtualized: r } = (0, S.useContext)(bj), i = (0, S.useContext)(GN), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, S.useRef)(null);
- FM((0, S.useMemo)(() => ({
+ let { isVirtualized: r } = (0, S.useContext)(Cj), i = (0, S.useContext)(JN), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, S.useRef)(null);
+ RM((0, S.useMemo)(() => ({
onLoadMore: o,
collection: i?.collection,
sentinelRef: l,
@@ -41580,7 +41635,7 @@ ry(E_, function(e, t, n) {
let { rowProps: u, gridCellProps: d } = Vce({ node: n }, i, t), f = u["aria-level"] || 1, p = {
role: "row",
"aria-level": u["aria-level"]
- }, m = cj({
+ }, m = dj({
...c,
id: void 0,
children: n.rendered,
@@ -41593,7 +41648,7 @@ ry(E_, function(e, t, n) {
width: 0,
height: 0
},
- inert: wM(!0)
+ inert: DM(!0)
}, /*#__PURE__*/ S.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: l,
@@ -41602,7 +41657,7 @@ ry(E_, function(e, t, n) {
height: 1,
width: 1
}
- })), a && m.children && /*#__PURE__*/ S.createElement(mj.div, {
+ })), a && m.children && /*#__PURE__*/ S.createElement(_j.div, {
ref: t,
...Rv(Ly(e), p),
...m,
@@ -41612,12 +41667,12 @@ ry(E_, function(e, t, n) {
style: h
}, m.children)));
});
-function fbe(e, t) {
+function pbe(e, t) {
t = Wv(t);
- let { dragAndDropHooks: n, dropState: r } = (0, S.useContext)(gM), i = (0, S.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+ let { dragAndDropHooks: n, dropState: r } = (0, S.useContext)(yM), i = (0, S.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__*/ S.createElement(mbe, {
+ return /*#__PURE__*/ S.createElement(hbe, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -41626,8 +41681,8 @@ function fbe(e, t) {
level: c
});
}
-function pbe(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = Qb(), c = cj({
+function mbe(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = Qb(), c = dj({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: {
@@ -41636,7 +41691,7 @@ function pbe(e, t) {
},
values: { isDropTarget: r }
});
- return /*#__PURE__*/ S.createElement(mj.div, {
+ return /*#__PURE__*/ S.createElement(_j.div, {
...c,
role: "row",
"aria-level": a,
@@ -41649,9 +41704,9 @@ function pbe(e, t) {
ref: i
}), c.children));
}
-var mbe = /*#__PURE__*/ (0, S.forwardRef)(pbe);
-function hbe() {
- let { dragAndDropHooks: e, dropState: t } = (0, S.useContext)(gM), n = (0, S.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = Qb();
+var hbe = /*#__PURE__*/ (0, S.forwardRef)(mbe);
+function gbe() {
+ let { dragAndDropHooks: e, dropState: t } = (0, S.useContext)(yM), n = (0, S.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = Qb();
return !i && r["aria-hidden"] ? null : /*#__PURE__*/ S.createElement("div", {
role: "row",
"aria-hidden": r["aria-hidden"],
@@ -41663,15 +41718,15 @@ function hbe() {
ref: n
})));
}
-function gbe(e, t) {
+function _be(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
//#endregion
//#region src/react/boardui/components/base/input/label.tsx
-function JN({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, C.jsxs)(bve, {
+function ZN({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, C.jsxs)(xve, {
"data-label": "true",
...a,
className: eA("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
@@ -41691,8 +41746,8 @@ function JN({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
}
//#endregion
//#region src/react/boardui/components/base/input/hint-text.tsx
-function _be({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, C.jsx)(wve, {
+function vbe({ isInvalid: e = !1, className: t, ...n }) {
+ return /* @__PURE__ */ (0, C.jsx)(Tve, {
slot: e ? "errorMessage" : "description",
...n,
className: eA("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
@@ -41700,15 +41755,15 @@ function _be({ isInvalid: e = !1, className: t, ...n }) {
}
//#endregion
//#region src/react/boardui/components/base/input/input.tsx
-var YN = (0, S.createContext)({});
-function XN({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, C.jsx)(YN.Provider, {
+var QN = (0, S.createContext)({});
+function $N({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, C.jsx)(QN.Provider, {
value: {
size: e,
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, C.jsx)(abe, {
+ children: /* @__PURE__ */ (0, C.jsx)(obe, {
...a,
"data-input-size": e,
className: eA("group flex h-max w-full flex-col items-start gap-1", r),
@@ -41716,8 +41771,8 @@ function XN({ size: e = "medium", fieldClassName: t, inputClassName: n, classNam
})
});
}
-XN.displayName = "TextField";
-var ZN = tA({
+$N.displayName = "TextField";
+var eP = tA({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -41746,44 +41801,44 @@ var ZN = tA({
].join(" "),
icon: "size-5 shrink-0"
});
-function QN({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, S.useContext)(YN), u = e ?? l.size ?? "medium", d = r != null;
- return /* @__PURE__ */ (0, C.jsx)(kve, {
+function tP({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, S.useContext)(QN), u = e ?? l.size ?? "medium", d = r != null;
+ return /* @__PURE__ */ (0, C.jsx)(Ave, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => eA(ZN.field, d ? ZN.fieldWithAddonSize[u] : ZN.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 }) => eA(eP.field, d ? eP.fieldWithAddonSize[u] : eP.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, C.jsxs)("div", {
- className: ZN.content,
+ className: eP.content,
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
- className: ZN.leftSection,
+ className: eP.leftSection,
children: [d ? r : t ? /* @__PURE__ */ (0, C.jsx)(t, {
- className: ZN.icon,
+ className: eP.icon,
"aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, C.jsx)(jve, {
+ }) : null, /* @__PURE__ */ (0, C.jsx)(Mve, {
ref: o,
...c,
- className: eA(ZN.input, l.inputClassName, a)
+ className: eA(eP.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, C.jsx)(n, {
- className: ZN.icon,
+ className: eP.icon,
"aria-hidden": !0
}) : null]
})
});
}
-QN.displayName = "InputBase";
-function $N({ 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, C.jsx)(XN, {
+tP.displayName = "InputBase";
+function nP({ 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, C.jsx)($N, {
...d,
className: u,
"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- e && /* @__PURE__ */ (0, C.jsx)(JN, {
+ e && /* @__PURE__ */ (0, C.jsx)(ZN, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, C.jsx)(QN, {
+ /* @__PURE__ */ (0, C.jsx)(tP, {
ref: c,
groupRef: l,
placeholder: r,
@@ -41792,25 +41847,25 @@ function $N({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, C.jsx)(_be, {
+ t && /* @__PURE__ */ (0, C.jsx)(vbe, {
isInvalid: d,
children: t
})
] })
});
}
-$N.displayName = "Input";
+nP.displayName = "Input";
//#endregion
//#region src/react/components/modal-frame.tsx
-var vbe = {
+var ybe = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal",
collections: "max-w-4xl"
};
-function eP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
+function rP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
let { isFocusVisible: a } = yv();
- return /* @__PURE__ */ (0, C.jsx)(cN, {
+ return /* @__PURE__ */ (0, C.jsx)(dN, {
isOpen: e,
onOpenChange: t,
isDismissable: !0,
@@ -41818,11 +41873,11 @@ function eP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
"data-modal-kind": n,
"data-motion-instant": a || void 0,
className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
- children: /* @__PURE__ */ (0, C.jsx)(iye, {
+ children: /* @__PURE__ */ (0, C.jsx)(aye, {
"data-modal-surface": "",
"data-modal-width": n,
- className: `flex max-h-full w-full ${vbe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
- children: /* @__PURE__ */ (0, C.jsx)(iN, {
+ className: `flex max-h-full w-full ${ybe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
+ children: /* @__PURE__ */ (0, C.jsx)(sN, {
"aria-label": r,
className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",
children: i
@@ -41830,7 +41885,7 @@ function eP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
})
});
}
-function tP({ children: e }) {
+function iP({ children: e }) {
return /* @__PURE__ */ (0, C.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",
@@ -41839,11 +41894,11 @@ function tP({ children: e }) {
}
//#endregion
//#region src/react/components/sprite-glyph.tsx
-var ybe = { "text-aa": 1.435 }, nP = /* @__PURE__ */ new Map();
-function rP(e) {
- let t = nP.get(e);
+var bbe = { "text-aa": 1.435 }, aP = /* @__PURE__ */ new Map();
+function oP(e) {
+ let t = aP.get(e);
if (t) return t;
- let n = ybe[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, C.jsx)("svg", {
+ let n = bbe[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, C.jsx)("svg", {
"aria-hidden": !0,
viewBox: `0 0 ${(24 * n).toFixed(2)} 24`,
className: `shrink-0 fill-current ${t ?? "h-4 w-auto"}`,
@@ -41857,11 +41912,11 @@ function rP(e) {
className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,
children: /* @__PURE__ */ (0, C.jsx)("use", { href: `#i-${e}` })
});
- return r.displayName = `SpriteGlyph(${e})`, nP.set(e, r), r;
+ return r.displayName = `SpriteGlyph(${e})`, aP.set(e, r), r;
}
//#endregion
//#region src/react/components/settings-dialog-close.tsx
-function iP({ label: e, id: t, onPress: n }) {
+function sP({ label: e, id: t, onPress: n }) {
return /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
id: t,
@@ -41877,58 +41932,58 @@ function iP({ label: e, id: t, onPress: n }) {
}
//#endregion
//#region src/react/library-shortcuts/library-shortcuts.ts
-var aP = ["library-shortcuts"], oP = "/api/library-shortcuts";
-function sP(e = !0) {
+var cP = ["library-shortcuts"], lP = "/api/library-shortcuts";
+function uP(e = !0) {
return pt({
- queryKey: aP,
- queryFn: ({ signal: e }) => H(oP, e),
+ queryKey: cP,
+ queryFn: ({ signal: e }) => H(lP, e),
enabled: e,
refetchOnMount: e ? "always" : !1
});
}
-function cP() {
+function dP() {
return mt({
- mutationKey: aP,
- mutationFn: (e) => U(oP, e),
+ mutationKey: cP,
+ mutationFn: (e) => U(lP, e),
onSuccess: (e) => {
- W.setQueryData(aP, e);
+ W.setQueryData(cP, e);
}
});
}
-function lP(e, t) {
+function fP(e, t) {
return e.some((e) => t.entity_id ? e.entity_id === t.entity_id : e.kind === t.kind && e.name === t.name);
}
-function bbe(e) {
+function xbe(e) {
return Lt(e.kind, e.name, e.entity_id);
}
//#endregion
//#region src/react/library-shortcuts/shortcut-controls.tsx
-var uP = rP("star"), xbe = rP("bookmark-plus"), dP = rP("chevron-right"), fP = {
+var pP = oP("star"), Sbe = oP("bookmark-plus"), mP = oP("chevron-right"), hP = {
performer: "艺人",
creator: "创作者",
studio: "片商与厂牌",
series: "系列",
agency: "事务所",
tag: "标签"
-}, pP = {
- all: rP("star"),
- performer: rP("user-round"),
- creator: rP("user-round"),
- studio: rP("clapperboard"),
- series: rP("film"),
- agency: rP("briefcase"),
- tag: rP("tags"),
- filters: rP("list-filter")
-}, mP = [
+}, gP = {
+ all: oP("star"),
+ performer: oP("user-round"),
+ creator: oP("user-round"),
+ studio: oP("clapperboard"),
+ series: oP("film"),
+ agency: oP("briefcase"),
+ tag: oP("tags"),
+ filters: oP("list-filter")
+}, _P = [
["all", "全部"],
- ...Object.entries(fP),
+ ...Object.entries(hP),
["filters", "保存的筛选"]
];
-function hP({ item: e }) {
- return /* @__PURE__ */ (0, C.jsx)(Sbe, { item: e }, `${e.kind}:${e.entity_id}:${e.name}`);
+function vP({ item: e }) {
+ return /* @__PURE__ */ (0, C.jsx)(Cbe, { item: e }, `${e.kind}:${e.entity_id}:${e.name}`);
}
-function Sbe({ item: e }) {
- let t = sP(!1), n = (0, S.useRef)(t.data), r = cP(), i = t.data && t.data !== n.current ? lP(t.data.favorites || [], e) : e.favorite ?? (t.data ? lP(t.data.favorites || [], e) : !1);
+function Cbe({ item: e }) {
+ let t = uP(!1), n = (0, S.useRef)(t.data), r = dP(), i = t.data && t.data !== n.current ? fP(t.data.favorites || [], e) : e.favorite ?? (t.data ? fP(t.data.favorites || [], e) : !1);
return /* @__PURE__ */ (0, C.jsxs)("span", {
className: "inline-flex min-w-0 flex-col gap-1",
children: [
@@ -41949,7 +42004,7 @@ function Sbe({ item: e }) {
children: r.isPending ? /* @__PURE__ */ (0, C.jsx)("span", {
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: vo("") }
- }) : /* @__PURE__ */ (0, C.jsx)(uP, {})
+ }) : /* @__PURE__ */ (0, C.jsx)(pP, {})
}),
r.isError ? /* @__PURE__ */ (0, C.jsx)(q, {
tone: "error",
@@ -41964,39 +42019,37 @@ function Sbe({ item: e }) {
]
});
}
-function gP({ currentHref: e, kind: t }) {
+function yP({ currentHref: e, kind: t }) {
let [n, r] = (0, S.useState)(!1);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("span", {
"data-shortcuts-entry": "",
- children: /* @__PURE__ */ (0, C.jsx)("button", {
- type: "button",
+ children: /* @__PURE__ */ (0, C.jsx)(nj, {
"data-shortcuts-trigger": "",
- "aria-label": "我的收藏",
- title: "我的收藏",
+ label: "我的收藏",
+ icon: pP,
"aria-haspopup": "dialog",
"aria-expanded": n,
- onClick: () => r(!0),
- children: /* @__PURE__ */ (0, C.jsx)(uP, { "aria-hidden": !0 })
+ onPress: () => r(!0)
})
- }), /* @__PURE__ */ (0, C.jsx)(eP, {
+ }), /* @__PURE__ */ (0, C.jsx)(rP, {
isOpen: n,
onOpenChange: r,
width: "collections",
label: "我的收藏",
- children: n ? /* @__PURE__ */ (0, C.jsx)(Cbe, {
+ children: n ? /* @__PURE__ */ (0, C.jsx)(wbe, {
currentHref: e,
kind: t,
close: () => r(!1)
}) : null
})] });
}
-function Cbe({ currentHref: e, kind: t, close: n }) {
- let r = sP(), i = cP(), [a, o] = (0, S.useState)(""), [s, c] = (0, S.useState)(t || "all"), [l, u] = (0, S.useState)(""), [d, f] = (0, S.useState)(""), p = (0, S.useId)(), [m, h] = (0, S.useState)(() => matchMedia("(max-width: 760px)").matches);
+function wbe({ currentHref: e, kind: t, close: n }) {
+ let r = uP(), i = dP(), [a, o] = (0, S.useState)(""), [s, c] = (0, S.useState)(t || "all"), [l, u] = (0, S.useState)(""), [d, f] = (0, S.useState)(""), p = (0, S.useId)(), [m, h] = (0, S.useState)(() => matchMedia("(max-width: 760px)").matches);
(0, S.useEffect)(() => {
let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
}, []);
- let g = (0, S.useRef)(null), _ = (0, S.useRef)(null), v = (0, S.useRef)(s), y = (0, S.useRef)(null), b = (0, S.useRef)(null), x = (0, S.useRef)(null), w = aj(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });
+ let g = (0, S.useRef)(null), _ = (0, S.useRef)(null), v = (0, S.useRef)(s), y = (0, S.useRef)(null), b = (0, S.useRef)(null), x = (0, S.useRef)(null), w = cj(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });
(0, S.useLayoutEffect)(() => {
b.current && (x.current = ya(b.current) || null);
}, []), (0, S.useLayoutEffect)(() => {
@@ -42009,7 +42062,7 @@ function Cbe({ currentHref: e, kind: t, close: n }) {
}, [s]), (0, S.useLayoutEffect)(() => {
x.current?.();
});
- let T = mP.find(([e]) => e === s)?.[1] || "全部", E = (e) => {
+ let T = _P.find(([e]) => e === s)?.[1] || "全部", E = (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;
@@ -42032,7 +42085,7 @@ function Cbe({ currentHref: e, kind: t, close: n }) {
children: [/* @__PURE__ */ (0, C.jsx)("h2", {
className: "text-title-2-semibold text-text-primary",
children: T
- }), /* @__PURE__ */ (0, C.jsx)(iP, {
+ }), /* @__PURE__ */ (0, C.jsx)(sP, {
label: "关闭我的收藏",
onPress: n
})]
@@ -42062,8 +42115,8 @@ function Cbe({ currentHref: e, kind: t, close: n }) {
role: "presentation",
children: "我的收藏"
}),
- mP.map(([e, t]) => {
- let n = pP[e] || uP, r = e === "filters" ? O?.filters.length || 0 : (O?.favorites || []).filter((t) => e === "all" || t.kind === e).length;
+ _P.map(([e, t]) => {
+ let n = gP[e] || pP, r = e === "filters" ? O?.filters.length || 0 : (O?.favorites || []).filter((t) => e === "all" || t.kind === e).length;
return /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
role: "tab",
@@ -42095,17 +42148,17 @@ function Cbe({ currentHref: e, kind: t, close: n }) {
href: "/flagged",
onClick: n,
children: [
- /* @__PURE__ */ (0, C.jsx)(uP, { "aria-hidden": !0 }),
+ /* @__PURE__ */ (0, C.jsx)(pP, { "aria-hidden": !0 }),
"已标记",
- /* @__PURE__ */ (0, C.jsx)(dP, { "aria-hidden": !0 })
+ /* @__PURE__ */ (0, C.jsx)(mP, { "aria-hidden": !0 })
]
}), /* @__PURE__ */ (0, C.jsxs)("a", {
href: "/watch-later",
onClick: n,
children: [
- /* @__PURE__ */ (0, C.jsx)(xbe, { "aria-hidden": !0 }),
+ /* @__PURE__ */ (0, C.jsx)(Sbe, { "aria-hidden": !0 }),
"稍后看",
- /* @__PURE__ */ (0, C.jsx)(dP, { "aria-hidden": !0 })
+ /* @__PURE__ */ (0, C.jsx)(mP, { "aria-hidden": !0 })
]
})]
})]
@@ -42140,7 +42193,7 @@ function Cbe({ currentHref: e, kind: t, close: n }) {
O ? s === "filters" ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
O.filters.length ? null : /* @__PURE__ */ (0, C.jsx)(sA, {
shell: "plain",
- icon: rP("list-filter"),
+ icon: oP("list-filter"),
title: "还没有保存的筛选",
children: "在馆藏页保存当前条件,随时打开。"
}),
@@ -42170,7 +42223,7 @@ function Cbe({ currentHref: e, kind: t, close: n }) {
className: "flex flex-col gap-3",
"aria-label": "保存当前筛选",
children: [
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
label: "筛选名称",
value: a,
onChange: o,
@@ -42190,16 +42243,16 @@ function Cbe({ currentHref: e, kind: t, close: n }) {
]
}) : null
] }) : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
"aria-label": "搜索收藏",
placeholder: "搜索收藏",
- leadingIcon: rP("search"),
+ leadingIcon: oP("search"),
value: l,
onChange: u
}),
k.length ? null : /* @__PURE__ */ (0, C.jsx)(sA, {
shell: "plain",
- icon: uP,
+ icon: pP,
title: l ? "没有匹配的收藏" : O.favorites.length ? "还没有此类收藏" : "还没有收藏",
children: l ? "试试其他名称。" : "在资料页或标签页收藏常用内容。"
}),
@@ -42209,18 +42262,18 @@ function Cbe({ currentHref: e, kind: t, close: n }) {
"data-shortcuts-row": "",
className: "flex min-w-0 items-center justify-between gap-3",
children: [/* @__PURE__ */ (0, C.jsxs)("a", {
- href: bbe(e),
+ href: xbe(e),
"aria-label": e.name,
onClick: n,
className: "flex min-w-0 flex-1 items-center gap-3 text-body-regular text-text-primary",
- children: [/* @__PURE__ */ (0, C.jsx)(wbe, { item: e }, e.image_url), /* @__PURE__ */ (0, C.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, C.jsx)(Tbe, { item: e }, e.image_url), /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, C.jsx)("span", {
className: "truncate",
children: e.name
}), /* @__PURE__ */ (0, C.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
- children: fP[e.kind]
+ children: hP[e.kind]
})]
})]
}), /* @__PURE__ */ (0, C.jsx)(K, {
@@ -42245,8 +42298,8 @@ function Cbe({ currentHref: e, kind: t, close: n }) {
]
});
}
-function wbe({ item: e }) {
- let t = pP[e.kind] || uP;
+function Tbe({ item: e }) {
+ let t = gP[e.kind] || pP;
return /* @__PURE__ */ (0, C.jsxs)("span", {
"data-shortcuts-avatar": "",
title: e.image_label || e.name,
@@ -42265,12 +42318,12 @@ function wbe({ item: e }) {
}
//#endregion
//#region src/react/components/board-navigation-link.tsx
-function Tbe(e) {
+function Ebe(e) {
return /* @__PURE__ */ (0, C.jsx)("a", { ...e });
}
//#endregion
//#region src/react/boardui/components/foundations/icons/chevrons.tsx
-function Ebe(e) {
+function Dbe(e) {
return /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -42284,7 +42337,7 @@ function Ebe(e) {
})
});
}
-function Dbe(e) {
+function Obe(e) {
return /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 12 12",
fill: "none",
@@ -42298,7 +42351,7 @@ function Dbe(e) {
})
});
}
-function _P(e) {
+function bP(e) {
return /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 24 24",
fill: "none",
@@ -42312,7 +42365,7 @@ function _P(e) {
}
//#endregion
//#region src/react/boardui/components/base/breadcrumb/breadcrumb.tsx
-function Obe({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {
+function kbe({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {
let i = S.Children.toArray(e).filter(S.isValidElement);
return /* @__PURE__ */ (0, C.jsx)("nav", {
ref: r,
@@ -42320,14 +42373,14 @@ function Obe({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r
className: eA("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),
children: /* @__PURE__ */ (0, C.jsx)("ol", {
className: "flex items-center gap-2.5 px-1",
- children: i.map((e, t) => /* @__PURE__ */ (0, C.jsxs)(S.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, C.jsx)(Dbe, {
+ children: i.map((e, t) => /* @__PURE__ */ (0, C.jsxs)(S.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, C.jsx)(Obe, {
className: "size-3 shrink-0 text-text-tertiary",
"aria-hidden": !0
}), e] }, e.key ?? t))
})
});
}
-function vP({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {
+function xP({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {
let o = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [t && /* @__PURE__ */ (0, C.jsx)(t, {
className: "size-4 shrink-0",
"aria-hidden": !0
@@ -42340,7 +42393,7 @@ function vP({ children: e, icon: t, href: n, onClick: r, current: i = !1, classN
let s = eA("-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, C.jsx)("li", {
className: "flex items-center",
- children: n ? /* @__PURE__ */ (0, C.jsx)(Tbe, {
+ children: n ? /* @__PURE__ */ (0, C.jsx)(Ebe, {
href: n,
className: s,
children: o
@@ -42354,12 +42407,12 @@ function vP({ children: e, icon: t, href: n, onClick: r, current: i = !1, classN
}
//#endregion
//#region src/react/boardui/components/foundations/direction/direction.tsx
-function yP() {
+function SP() {
return ky().direction;
}
//#endregion
//#region src/react/boardui/components/base/dropdown/menu-styles.ts
-var bP = [
+var CP = [
"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",
@@ -42367,11 +42420,11 @@ var bP = [
"data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px]",
"data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left",
"data-[placement=left]:origin-right data-[placement=right]:origin-left"
-].join(" "), kbe = "w-[266px]", Abe = "flex w-full flex-col gap-1 outline-none", xP = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), SP = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
+].join(" "), Abe = "w-[266px]", jbe = "flex w-full flex-col gap-1 outline-none", wP = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), TP = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
//#endregion
//#region src/react/boardui/components/base/tree-view/tree-view.tsx
-function jbe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {
- let c = yP(), l = (0, S.useContext)(bj), u = l === vj && !s.dragAndDropHooks ? wP : l;
+function Mbe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {
+ let c = SP(), l = (0, S.useContext)(Cj), u = l === xj && !s.dragAndDropHooks ? DP : l;
return /* @__PURE__ */ (0, C.jsx)("div", {
className: "contents",
onKeyDownCapture: (e) => {
@@ -42388,23 +42441,23 @@ function jbe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",
}
}
},
- children: /* @__PURE__ */ (0, C.jsx)(bj.Provider, {
+ children: /* @__PURE__ */ (0, C.jsx)(Cj.Provider, {
value: u,
- children: /* @__PURE__ */ (0, C.jsx)(cbe, {
+ children: /* @__PURE__ */ (0, C.jsx)(lbe, {
...s,
ref: o,
selectionMode: n,
"data-size": e,
"data-show-guides": t,
renderEmptyState: r,
- className: (e) => eA("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 === wP ? "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) => eA("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 === DP ? "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 CP({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {
- let d = yP();
- return /* @__PURE__ */ (0, C.jsxs)(dbe, {
+function EP({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {
+ let d = SP();
+ return /* @__PURE__ */ (0, C.jsxs)(fbe, {
...u,
ref: l,
textValue: t,
@@ -42413,10 +42466,10 @@ function CP({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
...typeof c == "function" ? c(e) : c
}),
className: (e) => eA("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, C.jsx)(ube, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {
+ children: [/* @__PURE__ */ (0, C.jsx)(dbe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {
let f = n === null ? null : o && r ? r : n ?? (t ? o ? $he : Ek : Yhe);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)(Nbe, {
+ /* @__PURE__ */ (0, C.jsx)(Pbe, {
state: l,
id: u,
level: c,
@@ -42426,7 +42479,7 @@ function CP({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
}),
/* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
- children: [t ? /* @__PURE__ */ (0, C.jsx)(wj, {
+ children: [t ? /* @__PURE__ */ (0, C.jsx)(Dj, {
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",
@@ -42454,24 +42507,24 @@ function CP({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
} }), o]
});
}
-var wP = {
- ...vj,
- CollectionRoot: Mbe
+var DP = {
+ ...xj,
+ CollectionRoot: Nbe
};
-function Mbe({ collection: e, ...t }) {
- let n = (0, S.useContext)(GN);
+function Nbe({ collection: e, ...t }) {
+ let n = (0, S.useContext)(JN);
return n ? /* @__PURE__ */ (0, C.jsx)(Qg, {
initial: !1,
- children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, C.jsx)(Pbe, {
+ children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, C.jsx)(Fbe, {
state: n,
children: e.render?.(e)
}, e.key))
- }) : /* @__PURE__ */ (0, C.jsx)(vj.CollectionRoot, {
+ }) : /* @__PURE__ */ (0, C.jsx)(xj.CollectionRoot, {
collection: e,
...t
});
}
-function Nbe({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {
+function Pbe({ 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;
@@ -42530,7 +42583,7 @@ function Nbe({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction
]
});
}
-function Pbe({ state: e, children: t }) {
+function Fbe({ state: e, children: t }) {
let n = Yg(), r = x_(), [i, a] = (0, S.useState)(e);
return n && i !== e && a(e), /* @__PURE__ */ (0, C.jsx)(C_.div, {
role: "presentation",
@@ -42571,50 +42624,15 @@ function Pbe({ state: e, children: t }) {
1
]
},
- children: /* @__PURE__ */ (0, C.jsx)(GN.Provider, {
+ children: /* @__PURE__ */ (0, C.jsx)(JN.Provider, {
value: n ? e : i,
children: t
})
});
}
//#endregion
-//#region src/react/boardui/components/base/buttons/icon-button.tsx
-var TP = tA({
- 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"
- ].join(" "),
- size: {
- medium: "size-9",
- small: "size-8"
- },
- icon: {
- medium: "size-5 shrink-0",
- small: "size-4 shrink-0"
- }
-});
-function EP({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
- return /* @__PURE__ */ (0, C.jsx)("button", {
- ref: i,
- type: r,
- className: eA(TP.base, TP.size[t], n),
- ...a,
- children: /* @__PURE__ */ (0, C.jsx)(e, {
- className: TP.icon[t],
- "aria-hidden": !0
- })
- });
-}
-//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var DP = {
+var OP = {
md: {
box: "size-4",
glyph: "size-4",
@@ -42628,8 +42646,8 @@ var DP = {
gap: "gap-1.5"
}
};
-function OP({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = DP[t], c = n || r, l = o && !a;
+function kP({ state: e, size: t = "md" }) {
+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = OP[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, C.jsx)("span", {
"aria-hidden": !0,
className: eA("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? eA("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : eA("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"),
@@ -42656,13 +42674,13 @@ function OP({ state: e, size: t = "md" }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
-function kP({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = DP[n];
- return /* @__PURE__ */ (0, C.jsx)(Dve, {
+function AP({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = OP[n];
+ return /* @__PURE__ */ (0, C.jsx)(Ove, {
ref: r,
...i,
className: (t) => eA("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, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(OP, {
+ children: (e) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(kP, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, C.jsx)("span", {
@@ -42673,7 +42691,7 @@ function kP({ className: e, children: t, size: n = "md", ref: r, ...i }) {
}
//#endregion
//#region src/react/components/overlay-scrollbar.ts
-function AP() {
+function jP() {
let e = (0, S.useRef)(null);
return (0, S.useEffect)(() => {
ya(e.current);
@@ -42681,17 +42699,17 @@ function AP() {
}
//#endregion
//#region src/react/providers.tsx
-var jP = null;
-function Fbe() {
- return jP?.isConnected || (jP = document.createElement("div"), jP.className = "peach-react", jP.dataset.reactOverlays = "", document.body.append(jP)), jP;
+var MP = null;
+function Ibe() {
+ return MP?.isConnected || (MP = document.createElement("div"), MP.className = "peach-react", MP.dataset.reactOverlays = "", document.body.append(MP)), MP;
}
-function Ibe({ children: e }) {
+function Lbe({ children: e }) {
return /* @__PURE__ */ (0, C.jsx)(E, {
client: W,
children: /* @__PURE__ */ (0, C.jsx)(wne, {
reducedMotion: "user",
children: /* @__PURE__ */ (0, C.jsx)(uS, {
- getContainer: Fbe,
+ getContainer: Ibe,
children: e
})
})
@@ -42699,8 +42717,8 @@ function Ibe({ children: e }) {
}
//#endregion
//#region src/react/router/pages/settings.tsx
-function Lbe() {
- let e = (0, S.useContext)(IP), { pathname: t } = EO();
+function Rbe() {
+ let e = (0, S.useContext)(LP), { pathname: t } = EO();
return (0, S.useEffect)(() => {
e?.openSettings?.(ghe(t));
}, [e, t]), (0, S.useEffect)(() => () => {
@@ -42711,9 +42729,9 @@ function Lbe() {
}
//#endregion
//#region src/react/router/pages/overlay.tsx
-var MP = () => Kc, Rbe = () => qc;
-function zbe() {
- let e = (0, S.useContext)(IP), t = (0, S.useSyncExternalStore)(nl, Rbe), n = (0, S.useSyncExternalStore)(nl, MP);
+var NP = () => Kc, zbe = () => qc;
+function Bbe() {
+ let e = (0, S.useContext)(LP), t = (0, S.useSyncExternalStore)(nl, zbe), n = (0, S.useSyncExternalStore)(nl, NP);
return (0, S.useEffect)(() => {
if (!t || !n) return;
let r = !0;
@@ -42728,8 +42746,8 @@ function zbe() {
e
]), null;
}
-function NP(e, t = !1) {
- let n = (0, S.useSyncExternalStore)(nl, MP), r = (0, S.useRef)(void 0);
+function PP(e, t = !1) {
+ let n = (0, S.useSyncExternalStore)(nl, NP), r = (0, S.useRef)(void 0);
if (r.current === void 0) {
let { claimed: e } = fk.navigation;
r.current = Kc === 0 || mk() ? "boot" : e && !t ? null : "history";
@@ -42748,11 +42766,11 @@ function NP(e, t = !1) {
}));
}, [n]);
}
-function Bbe() {
- let e = (0, S.useContext)(IP), t = (0, S.useRef)(e);
+function Vbe() {
+ let e = (0, S.useContext)(LP), t = (0, S.useRef)(e);
return (0, S.useLayoutEffect)(() => {
t.current = e;
- }, [e]), NP((t) => {
+ }, [e]), PP((t) => {
let n = fk.navigation.location, { pathname: r, search: i } = PO(n.pathname) && IO(n.state) || n, a = yhe(r, i);
e && a && (UO(), t || bhe(fk.navigation.location.state), e.openOverlay(a));
}, !0), (0, S.useEffect)(() => () => {
@@ -42761,8 +42779,8 @@ function Bbe() {
});
}, []), null;
}
-function Vbe({ path: e }) {
- FP();
+function Hbe({ path: e }) {
+ IP();
let { location: t, seq: n, action: r } = fk.navigation, i = PO(t.pathname) ? IO(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, S.useRef)({
identity: a,
seq: i?.seq ?? n,
@@ -42774,25 +42792,25 @@ function Vbe({ path: e }) {
seq: n,
navigationSeq: n,
settings: !1
- }), /* @__PURE__ */ (0, C.jsx)(Bbe, {}, `${e} ${o.current.seq}`);
+ }), /* @__PURE__ */ (0, C.jsx)(Vbe, {}, `${e} ${o.current.seq}`);
}
-function Hbe() {
- let e = (0, S.useContext)(IP);
- return NP(() => {
+function Ube() {
+ let e = (0, S.useContext)(LP);
+ return PP(() => {
e?.follow?.ground();
}), null;
}
-function Ube() {
- return /* @__PURE__ */ (0, C.jsx)(Hbe, {}, FP());
+function Wbe() {
+ return /* @__PURE__ */ (0, C.jsx)(Ube, {}, IP());
}
//#endregion
//#region src/react/router/router.tsx
-var PP = (0, S.createContext)(0), FP = () => (0, S.useContext)(PP), IP = (0, S.createContext)(null);
-function Wbe({ children: e }) {
+var FP = (0, S.createContext)(0), IP = () => (0, S.useContext)(FP), LP = (0, S.createContext)(null);
+function Gbe({ children: e }) {
let [t, n] = (0, S.useState)(() => fk.navigation);
return (0, S.useLayoutEffect)(() => (n(fk.navigation), fk.listen((e) => {
(0, gt.flushSync)(() => n(e));
- })), []), /* @__PURE__ */ (0, C.jsx)(PP.Provider, {
+ })), []), /* @__PURE__ */ (0, C.jsx)(FP.Provider, {
value: t.openEpoch,
children: /* @__PURE__ */ (0, C.jsx)(mhe, {
location: t.location,
@@ -42802,34 +42820,34 @@ function Wbe({ children: e }) {
})
});
}
-function Gbe({ target: e }) {
+function Kbe({ target: e }) {
let t = Yme();
return (0, S.useLayoutEffect)(() => {
e.current = t;
}), null;
}
-function Kbe(e, t, n) {
+function qbe(e, t, n) {
let r = new URL(e, window.location.href);
- h5(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);
+ m5(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);
}
-function qbe() {
- let e = (0, S.useContext)(IP), [t, n] = (0, S.useState)(ek), r = (0, S.useRef)(null);
+function Jbe() {
+ let e = (0, S.useContext)(LP), [t, n] = (0, S.useState)(ek), r = (0, S.useRef)(null);
(0, S.useLayoutEffect)(() => (n(ek()), Ehe((e, t) => {
t ? (0, gt.flushSync)(() => n(e)) : n(e);
})), []);
let i = (0, S.useMemo)(() => (t) => {
- e && r.current && Kbe(t, e, r.current);
+ e && r.current && qbe(t, e, r.current);
}, [e]);
- return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(Gbe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, C.jsx)(Jbe, {
+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(Kbe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, C.jsx)(Ybe, {
entry: t,
- children: /* @__PURE__ */ (0, C.jsx)(Ybe, {
+ children: /* @__PURE__ */ (0, C.jsx)(Xbe, {
entry: t,
actions: e,
go: i
})
}, t.revision)) : null] });
}
-var Jbe = class extends S.Component {
+var Ybe = class extends S.Component {
state = { failed: !1 };
static getDerivedStateFromError() {
return { failed: !0 };
@@ -42840,48 +42858,48 @@ var Jbe = class extends S.Component {
render() {
return this.state.failed ? null : this.props.children;
}
-}, Ybe = (0, S.memo)(function({ entry: e, actions: t, go: n }) {
- return Kut(e.path) ? (0, gt.createPortal)(Yut(e.path, e.props, t, n), e.host, String(e.revision)) : null;
+}, Xbe = (0, S.memo)(function({ entry: e, actions: t, go: n }) {
+ return Jut(e.path) ? (0, gt.createPortal)(Zut(e.path, e.props, t, n), e.host, String(e.revision)) : null;
});
-function Xbe({ children: e }) {
+function Zbe({ children: e }) {
let t = EO();
- FP();
+ IP();
let n = hk(), r = PO(t.pathname) && !mk() ? IO(t.state) : null;
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsxs)(kO, {
location: n ?? t,
children: [
- Object.entries(m5).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(OO, {
+ Object.entries(p5).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(OO, {
path: e,
element: t.element
}, e)),
- Object.entries(Iut).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(OO, {
+ Object.entries(zut).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(OO, {
path: e,
element: t.element
}, e)),
- Object.entries(g5).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(OO, {
+ Object.entries(h5).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(OO, {
path: e,
element: t.element
}, e)),
- Object.entries(v5).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(OO, {
+ Object.entries(_5).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(OO, {
path: e,
element: t.element
}, e)),
- Object.entries(b5).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(OO, {
+ Object.entries(y5).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(OO, {
path: e,
element: t.element
}, e)),
- Gut.map((e) => /* @__PURE__ */ (0, C.jsx)(OO, {
+ qut.map((e) => /* @__PURE__ */ (0, C.jsx)(OO, {
path: e,
- element: x5["/"].element
+ element: b5["/"].element
}, e)),
- Object.entries(Lut).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(OO, {
+ Object.entries(But).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(OO, {
path: e,
element: t.element
}, e)),
LO.map((e) => /* @__PURE__ */ (0, C.jsx)(OO, {
path: e,
- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, C.jsx)(Ube, {}) : x5["/"].element
+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, C.jsx)(Wbe, {}) : b5["/"].element
}, e)),
NO.map((e) => /* @__PURE__ */ (0, C.jsx)(OO, {
path: e,
@@ -42897,7 +42915,7 @@ function Xbe({ children: e }) {
location: r ?? t,
children: [LO.map((e) => /* @__PURE__ */ (0, C.jsx)(OO, {
path: e,
- element: /* @__PURE__ */ (0, C.jsx)(Vbe, { path: e })
+ element: /* @__PURE__ */ (0, C.jsx)(Hbe, { path: e })
}, e)), /* @__PURE__ */ (0, C.jsx)(OO, {
path: "*",
element: null
@@ -42905,29 +42923,29 @@ function Xbe({ children: e }) {
}),
/* @__PURE__ */ (0, C.jsxs)(kO, { children: [NO.map((e) => /* @__PURE__ */ (0, C.jsx)(OO, {
path: e,
- element: /* @__PURE__ */ (0, C.jsx)(Lbe, {})
+ element: /* @__PURE__ */ (0, C.jsx)(Rbe, {})
}, e)), /* @__PURE__ */ (0, C.jsx)(OO, {
path: "*",
element: null
})] })
] });
}
-function Zbe({ children: e, actions: t = null }) {
- return /* @__PURE__ */ (0, C.jsx)(Ibe, { children: /* @__PURE__ */ (0, C.jsx)(IP.Provider, {
+function Qbe({ children: e, actions: t = null }) {
+ return /* @__PURE__ */ (0, C.jsx)(Lbe, { children: /* @__PURE__ */ (0, C.jsx)(LP.Provider, {
value: t,
- children: /* @__PURE__ */ (0, C.jsxs)(Wbe, { children: [
- /* @__PURE__ */ (0, C.jsx)(qbe, {}),
- /* @__PURE__ */ (0, C.jsx)(zbe, {}),
- /* @__PURE__ */ (0, C.jsx)(Xbe, { children: e })
+ children: /* @__PURE__ */ (0, C.jsxs)(Gbe, { children: [
+ /* @__PURE__ */ (0, C.jsx)(Jbe, {}),
+ /* @__PURE__ */ (0, C.jsx)(Bbe, {}),
+ /* @__PURE__ */ (0, C.jsx)(Zbe, { children: e })
] })
}) });
}
-var Qbe = { onCaughtError: (e) => {
+var $be = { onCaughtError: (e) => {
globalThis.reportError?.(e);
} };
//#endregion
//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function $be(e, t, n) {
+function exe(e, t, n) {
(0, S.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -42941,7 +42959,7 @@ function $be(e, t, n) {
n
]);
}
-function exe(e, t) {
+function txe(e, t) {
let n = (0, S.useRef)(!1);
return (0, S.useEffect)(() => {
if (!e) return;
@@ -42955,33 +42973,33 @@ function exe(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/select/select.tsx
-var LP = (0, S.createContext)("md");
-function RP({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var RP = (0, S.createContext)("md");
+function zP({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
let l = (0, S.useRef)(null), u = (0, S.useRef)(null), [d, f] = (0, S.useState)(!1);
- $be(d, () => f(!1), [l, u]);
- let p = exe(d, l);
- return /* @__PURE__ */ (0, C.jsx)(_ye, {
+ exe(d, () => f(!1), [l, u]);
+ let p = txe(d, l);
+ return /* @__PURE__ */ (0, C.jsx)(vye, {
ref: s,
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
className: eA("group flex flex-col", e),
- children: ({ isOpen: e }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)(wj, {
+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)(Dj, {
ref: l,
className: eA("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, C.jsx)(bye, {
+ children: [/* @__PURE__ */ (0, C.jsx)(xye, {
className: eA("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, C.jsx)(Ebe, { className: eA("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
- }), /* @__PURE__ */ (0, C.jsx)(GM, {
+ }), /* @__PURE__ */ (0, C.jsx)(Dbe, { className: eA("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, C.jsx)(JM, {
ref: u,
isNonModal: !0,
offset: 4,
- className: eA(kbe, bP, "p-2", n),
- children: /* @__PURE__ */ (0, C.jsx)(zve, {
+ className: eA(Abe, CP, "p-2", n),
+ children: /* @__PURE__ */ (0, C.jsx)(Bve, {
items: a,
- className: eA(Abe, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, C.jsx)(LP.Provider, {
+ className: eA(jbe, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, C.jsx)(RP.Provider, {
value: r,
children: i
})
@@ -42989,24 +43007,24 @@ function RP({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function zP({ className: e, children: t, ...n }) {
- let r = (0, S.useContext)(LP);
- return /* @__PURE__ */ (0, C.jsx)(Hve, {
+function BP({ className: e, children: t, ...n }) {
+ let r = (0, S.useContext)(RP);
+ return /* @__PURE__ */ (0, C.jsx)(Uve, {
...n,
- className: (t) => eA(xP, 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) => eA(wP, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),
children: t
});
}
//#endregion
//#region src/react/catalog-folders/catalog-folders.ts
-var BP = {
+var VP = {
category: "个人分类",
creator: "创作者/账号",
performer: "人物",
seller: "卖家",
studio: "厂牌"
};
-function VP(e, t = "", n = "") {
+function HP(e, t = "", n = "") {
let r = new URLSearchParams({
...e,
folder: t,
@@ -43018,15 +43036,15 @@ function VP(e, t = "", n = "") {
queryFn: ({ signal: e }) => H(`/api/folders?${r}`, e)
};
}
-function HP(e, t) {
+function UP(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}` : "");
}
//#endregion
//#region src/react/catalog-folders/folder-rule-dialog.tsx
-function txe({ folder: e, rule: t, revision: n, close: r }) {
- let i = (0, S.useContext)(IP), a = fA(), [o, s] = (0, S.useState)(t?.purpose || "category"), [c, l] = (0, S.useState)(t?.name || ""), [u, d] = (0, S.useState)(t?.recursive ?? !0), [f, p] = (0, S.useState)(t?.future ?? !1), [m, h] = (0, S.useState)(null), [g, _] = (0, S.useState)(!1), v = {
+function nxe({ folder: e, rule: t, revision: n, close: r }) {
+ let i = (0, S.useContext)(LP), a = fA(), [o, s] = (0, S.useState)(t?.purpose || "category"), [c, l] = (0, S.useState)(t?.name || ""), [u, d] = (0, S.useState)(t?.recursive ?? !0), [f, p] = (0, S.useState)(t?.future ?? !1), [m, h] = (0, S.useState)(null), [g, _] = (0, S.useState)(!1), v = {
folder: e.id,
purpose: o,
name: c,
@@ -43055,7 +43073,7 @@ function txe({ folder: e, rule: t, revision: n, close: r }) {
})
})).confirmed ? b("已移除目录规则") : _(!1);
}, E = !!a.busy, D = (e, t) => a.busy === e ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("span", { dangerouslySetInnerHTML: { __html: vo(t) } }), t] }) : null;
- return g ? null : /* @__PURE__ */ (0, C.jsx)(eP, {
+ return g ? null : /* @__PURE__ */ (0, C.jsx)(rP, {
isOpen: !0,
onOpenChange: (e) => {
!e && !E && r();
@@ -43069,7 +43087,7 @@ function txe({ 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, C.jsxs)("div", {
className: "min-w-0",
- children: [/* @__PURE__ */ (0, C.jsx)(Ej, {
+ children: [/* @__PURE__ */ (0, C.jsx)(kj, {
slot: "title",
className: "text-title-2-medium",
children: "设置目录用途"
@@ -43077,7 +43095,7 @@ function txe({ 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, C.jsx)(iP, {
+ }), /* @__PURE__ */ (0, C.jsx)(sP, {
label: "关闭目录用途",
onPress: () => {
E || r();
@@ -43089,20 +43107,20 @@ function txe({ folder: e, rule: t, revision: n, close: r }) {
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, C.jsx)(JN, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, C.jsx)(RP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(ZN, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, C.jsx)(zP, {
"aria-label": "这个文件夹用于",
selectedKey: o,
isDisabled: E,
onSelectionChange: (e) => {
s(e), y();
},
- children: Object.entries(BP).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(zP, {
+ children: Object.entries(VP).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(BP, {
id: e,
children: t
}, e))
})]
}),
- o === "category" ? null : /* @__PURE__ */ (0, C.jsx)($N, {
+ o === "category" ? null : /* @__PURE__ */ (0, C.jsx)(nP, {
label: "关联名称",
value: c,
onChange: (e) => {
@@ -43113,7 +43131,7 @@ function txe({ folder: e, rule: t, revision: n, close: r }) {
isDisabled: E,
isRequired: !0
}),
- /* @__PURE__ */ (0, C.jsx)(kP, {
+ /* @__PURE__ */ (0, C.jsx)(AP, {
isSelected: u,
isDisabled: E,
onChange: (e) => {
@@ -43121,7 +43139,7 @@ function txe({ folder: e, rule: t, revision: n, close: r }) {
},
children: "应用到子文件夹"
}),
- /* @__PURE__ */ (0, C.jsx)(kP, {
+ /* @__PURE__ */ (0, C.jsx)(AP, {
isSelected: f,
isDisabled: E,
onChange: (e) => {
@@ -43225,7 +43243,7 @@ function txe({ folder: e, rule: t, revision: n, close: r }) {
}
//#endregion
//#region src/react/catalog-folders/use-folder-sticky-offset.ts
-function nxe(e) {
+function rxe(e) {
(0, S.useLayoutEffect)(() => {
if (!e) return;
let t = document.getElementById("catalogFilter"), n = null, r = 0, i = new ResizeObserver(() => o()), a = () => {
@@ -43247,35 +43265,35 @@ function nxe(e) {
}
//#endregion
//#region src/react/catalog-folders/catalog-folders-page.tsx
-function rxe() {
- return TO() ? /* @__PURE__ */ (0, C.jsx)(ixe, {}) : null;
-}
function ixe() {
- let e = EO(), t = (0, S.useContext)(IP);
+ return TO() ? /* @__PURE__ */ (0, C.jsx)(axe, {}) : null;
+}
+function axe() {
+ let e = EO(), t = (0, S.useContext)(LP);
if (!Pt(e.pathname)) return null;
let n = new URLSearchParams(e.search), r = n.get("browse") === "folders" || !!n.get("folder");
- return /* @__PURE__ */ (0, C.jsx)(EP, {
+ return /* @__PURE__ */ (0, C.jsx)(ej, {
size: "small",
"data-folder-mode-toggle": "",
"aria-label": "文件夹模式",
title: "文件夹模式",
"aria-pressed": r,
icon: Ek,
- onClick: () => t?.navigate(HP(e, r ? {
+ onClick: () => t?.navigate(UP(e, r ? {
browse: null,
folder: null,
folder_recursive: null
} : { browse: "folders" }))
});
}
-function axe() {
- let e = EO(), t = (0, S.useContext)(IP), n = new URLSearchParams(e.search), r = n.get("browse") === "folders" || !!n.get("folder"), i = {
+function oxe() {
+ let e = EO(), t = (0, S.useContext)(LP), n = new URLSearchParams(e.search), r = n.get("browse") === "folders" || !!n.get("folder"), i = {
loc: n.get("loc") ?? "",
library: n.get("library") ?? ""
};
- nxe(r);
+ rxe(r);
let a = n.get("folder") || "", o = pt({
- ...VP(i, a),
+ ...HP(i, a),
enabled: r
}), [s, c] = (0, S.useState)(!1), [l, u] = (0, S.useState)(!1), d = document.getElementById("catalogFoldersTree"), f = document.getElementById("catalogFolderHeader");
if ((0, S.useLayoutEffect)(() => (d && (d.hidden = !r), f && (f.hidden = !r), document.body.toggleAttribute("data-folder-browse", r), () => {
@@ -43288,11 +43306,11 @@ function axe() {
c(!1), u(!1);
}, [a, r]), !r || !d || !f || !t) return null;
let p = (n) => {
- c(!1), t.navigate(HP(e, {
+ c(!1), t.navigate(UP(e, {
browse: "folders",
folder: n
}));
- }, m = o.data, h = /* @__PURE__ */ (0, C.jsx)(oxe, {
+ }, m = o.data, h = /* @__PURE__ */ (0, C.jsx)(sxe, {
scope: i,
selected: a,
current: m,
@@ -43311,21 +43329,21 @@ function axe() {
children: [
/* @__PURE__ */ (0, C.jsx)("span", {
className: "folder-drawer-trigger",
- children: /* @__PURE__ */ (0, C.jsx)(EP, {
+ children: /* @__PURE__ */ (0, C.jsx)(ej, {
"aria-label": "打开文件夹目录",
icon: dge,
size: "small",
onClick: () => c(!0)
})
}),
- /* @__PURE__ */ (0, C.jsxs)(Obe, {
+ /* @__PURE__ */ (0, C.jsxs)(kbe, {
"aria-label": "文件夹路径",
- children: [/* @__PURE__ */ (0, C.jsx)(vP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(xP, {
current: !a,
onClick: () => p(""),
icon: Ek,
children: "全部文件夹"
- }), m?.ancestors.map((e, t) => /* @__PURE__ */ (0, C.jsx)(vP, {
+ }), m?.ancestors.map((e, t) => /* @__PURE__ */ (0, C.jsx)(xP, {
current: t === m.ancestors.length - 1,
onClick: () => p(e.id),
children: /* @__PURE__ */ (0, C.jsx)("span", {
@@ -43335,7 +43353,7 @@ function axe() {
})
}, e.id))]
}),
- m?.selected ? /* @__PURE__ */ (0, C.jsx)(EP, {
+ m?.selected ? /* @__PURE__ */ (0, C.jsx)(ej, {
"aria-label": "设置目录用途",
icon: ege,
size: "small",
@@ -43367,14 +43385,14 @@ function axe() {
}) : null,
m?.selected ? /* @__PURE__ */ (0, C.jsxs)("div", {
className: "folder-scope-row",
- children: [/* @__PURE__ */ (0, C.jsx)(kP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(AP, {
size: "sm",
isSelected: n.get("folder_recursive") !== "0",
- onChange: (n) => t.navigate(HP(e, { folder_recursive: n ? null : "0" })),
+ onChange: (n) => t.navigate(UP(e, { folder_recursive: n ? null : "0" })),
children: "包含子文件夹"
}), /* @__PURE__ */ (0, C.jsx)("span", {
className: "text-caption-1-regular text-text-tertiary",
- children: m.rule ? `${BP[m.rule.purpose]}${m.rule.name ? ` · ${m.rule.name}` : ""}` : "个人分类"
+ children: m.rule ? `${VP[m.rule.purpose]}${m.rule.name ? ` · ${m.rule.name}` : ""}` : "个人分类"
})]
}) : null,
o.isPending ? /* @__PURE__ */ (0, C.jsx)("div", {
@@ -43399,7 +43417,7 @@ function axe() {
}) : null
]
}), f),
- /* @__PURE__ */ (0, C.jsxs)(eP, {
+ /* @__PURE__ */ (0, C.jsxs)(rP, {
isOpen: s,
onOpenChange: c,
width: "form",
@@ -43409,7 +43427,7 @@ function axe() {
children: [/* @__PURE__ */ (0, C.jsx)("h2", {
className: "text-title-2-medium",
children: "文件夹"
- }), /* @__PURE__ */ (0, C.jsx)(iP, {
+ }), /* @__PURE__ */ (0, C.jsx)(sP, {
label: "关闭文件夹目录",
onPress: () => c(!1)
})]
@@ -43418,7 +43436,7 @@ function axe() {
children: s ? h : null
})]
}),
- l && m?.selected ? /* @__PURE__ */ (0, C.jsx)(txe, {
+ l && m?.selected ? /* @__PURE__ */ (0, C.jsx)(nxe, {
folder: m.selected,
rule: m.rule,
revision: m.rules_revision,
@@ -43426,27 +43444,27 @@ function axe() {
}, m.selected.id) : null
] });
}
-function oxe({ scope: e, selected: t, current: n, go: r }) {
- let i = pt(VP(e)), [a, o] = (0, S.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, S.useState)(""), l = (0, S.useDeferredValue)(s), u = pt({
- ...VP(e, "", l),
+function sxe({ scope: e, selected: t, current: n, go: r }) {
+ let i = pt(HP(e)), [a, o] = (0, S.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, S.useState)(""), l = (0, S.useDeferredValue)(s), u = pt({
+ ...HP(e, "", l),
enabled: !!l.trim()
- }), d = AP();
+ }), d = jP();
(0, S.useEffect)(() => {
n?.ancestors.length && o((e) => /* @__PURE__ */ new Set([...e, ...n.ancestors.filter((e) => e.has_children).map((e) => e.id)]));
}, [n?.ancestors]);
- let f = [...a].map(String), p = nee({ queries: f.map((t) => VP(e, t)) }), m = /* @__PURE__ */ new Map();
+ let f = [...a].map(String), p = nee({ queries: f.map((t) => HP(e, t)) }), m = /* @__PURE__ */ new Map();
p.forEach((e, t) => {
e.data && m.set(f[t], e.data.children);
}), n?.selected && m.set(n.selected.id, n.children);
let h = (e) => {
let t = m.get(e.id);
- return /* @__PURE__ */ (0, C.jsx)(CP, {
+ return /* @__PURE__ */ (0, C.jsx)(EP, {
id: e.id,
label: e.name,
icon: Ek,
expandedIcon: $he,
trailingContent: e.parent ? void 0 : e.location === "local" ? "本地" : e.location,
- children: e.has_children ? t ? t.map(h) : /* @__PURE__ */ (0, C.jsx)(CP, {
+ children: e.has_children ? t ? t.map(h) : /* @__PURE__ */ (0, C.jsx)(EP, {
id: `${e.id}:loading`,
label: "正在读取文件夹",
isDisabled: !0
@@ -43462,7 +43480,7 @@ function oxe({ scope: e, selected: t, current: n, go: r }) {
"aria-label": "文件夹导航",
className: "flex min-w-0 flex-col gap-3",
children: [
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
"aria-label": "查找文件夹",
placeholder: "查找文件夹",
leadingIcon: jk,
@@ -43518,7 +43536,7 @@ function oxe({ scope: e, selected: t, current: n, go: r }) {
title: "没有匹配的文件夹",
children: "换个目录名称试试。"
})
- }) : /* @__PURE__ */ (0, C.jsx)(jbe, {
+ }) : /* @__PURE__ */ (0, C.jsx)(Mbe, {
"aria-label": "媒体文件夹",
size: "sm",
expandedKeys: a,
@@ -43540,7 +43558,7 @@ function oxe({ scope: e, selected: t, current: n, go: r }) {
}
//#endregion
//#region src/react/components/use-moving-surface.ts
-var sxe = {
+var cxe = {
selection: {
type: Nd,
duration: .16,
@@ -43552,7 +43570,7 @@ var sxe = {
bounce: 0
}
};
-function UP(e) {
+function WP(e) {
let [t, n] = (0, S.useState)(null);
return (0, S.useLayoutEffect)(() => {
if (!t) return;
@@ -43573,7 +43591,7 @@ function UP(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 = Tie(n, { transform: [r, E] }, sxe[e]);
+ l = Tie(n, { transform: [r, E] }, cxe[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -43610,36 +43628,36 @@ function UP(e) {
}
//#endregion
//#region src/react/components/segmented.tsx
-function WP(e) {
- let t = UP("selection");
- return /* @__PURE__ */ (0, C.jsx)(HN, {
+function GP(e) {
+ let t = WP("selection");
+ return /* @__PURE__ */ (0, C.jsx)(GN, {
...e,
ref: t
});
}
-function GP(e) {
- let t = UP("selection");
- return /* @__PURE__ */ (0, C.jsx)(dN, {
+function KP(e) {
+ let t = WP("selection");
+ return /* @__PURE__ */ (0, C.jsx)(mN, {
...e,
ref: t
});
}
-var KP = "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", qP = "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", cxe = "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", JP = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", YP = "relative flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";
+var qP = "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", JP = "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", lxe = "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", YP = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", XP = "relative flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";
//#endregion
//#region src/react/catalog-grid/catalog-view-toggle.tsx
-function XP() {
+function ZP() {
let e = cD();
- return /* @__PURE__ */ (0, C.jsxs)(dN, {
+ return /* @__PURE__ */ (0, C.jsxs)(mN, {
"aria-label": "馆藏显示方式",
orientation: "horizontal",
value: e,
onChange: wde,
"data-entity-layout": "",
- className: JP,
- children: [/* @__PURE__ */ (0, C.jsx)(fN, {
+ className: YP,
+ children: [/* @__PURE__ */ (0, C.jsx)(hN, {
value: "cards",
"aria-label": "卡片",
- className: YP,
+ className: XP,
"data-glass-segment": "",
children: /* @__PURE__ */ (0, C.jsx)("span", {
title: "卡片",
@@ -43649,10 +43667,10 @@ function XP() {
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, C.jsx)(fN, {
+ }), /* @__PURE__ */ (0, C.jsx)(hN, {
value: "list",
"aria-label": "列表",
- className: YP,
+ className: XP,
"data-glass-segment": "",
children: /* @__PURE__ */ (0, C.jsx)("span", {
title: "列表",
@@ -43667,106 +43685,106 @@ function XP() {
}
//#endregion
//#region src/react/follow-feed/follow-marks.ts
-var ZP = (e) => typeof e == "string" ? e : "", QP = (e) => e.aliases;
-function $P(e, t = "") {
+var QP = (e) => typeof e == "string" ? e : "", $P = (e) => e.aliases;
+function eF(e, t = "") {
let n = zr(e);
return n ? `<img data-follow-site-icon="" src="${n}" alt="${B(t)}"${t ? ` title="${B(t)}"` : ""} loading="lazy" data-drop="self">` : "";
}
-function eF(e, t = "") {
+function tF(e, t = "") {
let n = B(rr(t || e)), r = zr(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 tF = (e) => ZP(e.title).trim() || "未命名内容", nF = (e, t) => nr(e, QP(t));
-function rF(e) {
+var nF = (e) => QP(e.title).trim() || "未命名内容", rF = (e, t) => nr(e, $P(t));
+function iF(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 = ZP(n.entity_name);
+ let n = t[0], r = QP(n.entity_name);
return St("creator", r, n.entity_id), r;
}
-function iF(e, t) {
+function aF(e, t) {
let { src: n, fallback: r } = ir(e), i = rr(t);
if (!n) return `<span class="favatar none" title="没有可用头像">${B(i)}</span>`;
let a = r ? ` data-fallbacks="${B(r)}"` : "";
return `<img class="favatar" src="${B(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${B(i)}" data-drop-class="favatar none">`;
}
-function aF(e, t, n) {
- let r = QP(n), i = e.credit, a = i?.poster;
+function oF(e, t, n) {
+ let r = $P(n), i = e.credit, a = i?.poster;
if (!a) {
let n = nr(t, r);
return {
- author: n || ZP(e.author) || ZP(e.source_label) || "创作者未取得",
- avatar: iF(t, n),
+ author: n || QP(e.author) || QP(e.source_label) || "创作者未取得",
+ avatar: aF(t, n),
credited: "",
- entityName: rF(t)
+ entityName: iF(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 && nr(c, r) || a;
return {
author: l,
- avatar: iF(c, l),
+ avatar: aF(c, l),
credited: i.credited || "",
- entityName: rF(c)
+ entityName: iF(c)
};
}
-function oF(e, t = e.primary) {
+function sF(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 = ZP(e.primary.version);
+ let i = QP(e.primary.version);
i && n.push(r("version", B(i)));
- let a = ZP(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
+ let a = QP(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
return o && n.push(r(a, o)), n.join("");
}
-function sF(e, t = e.primary) {
+function cF(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]) => $P(e, t) || `<span>${B(t)}</span>`).join("");
+ let r = [...n].map(([e, t]) => eF(e, t) || `<span>${B(t)}</span>`).join("");
return `<span data-follow-seealso="" title="另见 ${B([...n.values()].join("、"))}"><span data-follow-seealso-label="">另见</span> ${r}</span>`;
}
-function cF(e, t) {
- let n = ZP(e.media_error);
+function lF(e, t) {
+ let n = QP(e.media_error);
return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";
}
-var lxe = 864e5, uxe = (e, t) => {
+var uxe = 864e5, dxe = (e, t) => {
let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();
- return Number.isFinite(n) && n - t > lxe;
+ return Number.isFinite(n) && n - t > uxe;
};
-function lF(e, t) {
- let n = ZP(e.published_at);
+function uF(e, t) {
+ let n = QP(e.published_at);
if (!n) return null;
let r = e.published_precision === "approximate", i = Tn(n);
return {
prefix: r ? "约 " : "",
full: r ? i.slice(0, 10) : i,
- suffix: uxe(n, t) ? " · 晚于现在" : ""
+ suffix: dxe(n, t) ? " · 晚于现在" : ""
};
}
-function uF(e, t = Date.now()) {
- let n = lF(e, t);
+function dF(e, t = Date.now()) {
+ let n = uF(e, t);
return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";
}
-function dxe(e, t = Date.now()) {
- let n = lF(e, t);
+function fxe(e, t = Date.now()) {
+ let n = uF(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 dF = /* @__PURE__ */ new Set(), fF = [], pF = null;
-function mF() {
- if (pF = null, !fF.length) return;
- let e = fF.splice(0, 200);
+var fF = /* @__PURE__ */ new Set(), pF = [], mF = null;
+function hF() {
+ if (mF = null, !pF.length) return;
+ let e = pF.splice(0, 200);
Ot("/api/follow/image-dims", {
method: "POST",
body: JSON.stringify({ entries: e })
- }).catch(() => {}), fF.length && (pF = setTimeout(mF, 800));
+ }).catch(() => {}), pF.length && (mF = setTimeout(hF, 800));
}
-function fxe(e, t, n, r) {
+function pxe(e, t, n, r) {
let i = `${e}:${t ?? ""}`;
- dF.has(i) || (dF.add(i), fF.push(t === null ? {
+ fF.has(i) || (fF.add(i), pF.push(t === null ? {
item: e,
width: n,
height: r
@@ -43775,26 +43793,26 @@ function fxe(e, t, n, r) {
width: n,
height: r,
media: t
- }), pF ||= setTimeout(mF, 800));
+ }), mF ||= setTimeout(hF, 800));
}
//#endregion
//#region src/react/entity-filter/entity-filter.ts
-var pxe = (e) => e === "videos", hF = () => /* @__PURE__ */ (0, C.jsx)("span", {
+var mxe = (e) => e === "videos", gF = () => /* @__PURE__ */ (0, C.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
});
-function mxe(e) {
- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = pxe(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({
+function hxe(e) {
+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = mxe(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, S.useRef)(null), h = (0, S.useRef)(null), g = (0, S.useRef)(null), _ = (0, S.useRef)(null), v = (0, S.useRef)(null), y = (0, S.useRef)(null), b = (0, S.useRef)(null), x = aj(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), w = aj(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), T = (0, S.useRef)(null), E = (0, S.useRef)(null), D = u?.mediaCounts ? u : null, O = aj(T, E, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!D}`);
+ })) : i, m = (0, S.useRef)(null), h = (0, S.useRef)(null), g = (0, S.useRef)(null), _ = (0, S.useRef)(null), v = (0, S.useRef)(null), y = (0, S.useRef)(null), b = (0, S.useRef)(null), x = cj(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), w = cj(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), T = (0, S.useRef)(null), E = (0, S.useRef)(null), D = u?.mediaCounts ? u : null, O = cj(T, E, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!D}`);
return (0, S.useEffect)(() => {
c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(b.current);
- }, [c]), /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(gF, {
+ }, [c]), /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(_F, {
items: o,
hidden: !l,
actions: s
- }), /* @__PURE__ */ (0, C.jsx)(ej, {
+ }), /* @__PURE__ */ (0, C.jsx)(rj, {
label: "筛选与排序",
topLabel: "媒体与标签",
attrs: {
@@ -43823,19 +43841,19 @@ function mxe(e) {
})
] }),
top: !n && !d ? null : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- n ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(vxe, {
+ n ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(yxe, {
keys: n,
view: t,
row: _,
glide: w,
onView: s.setView
- }), d ? /* @__PURE__ */ (0, C.jsx)(hF, {}) : null] }) : null,
- D ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(gxe, {
+ }), d ? /* @__PURE__ */ (0, C.jsx)(gF, {}) : null] }) : null,
+ D ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(_xe, {
head: D,
row: E,
glide: O,
onMedia: s.onlineMedia
- }), /* @__PURE__ */ (0, C.jsx)(hF, {})] }) : null,
+ }), /* @__PURE__ */ (0, C.jsx)(gF, {})] }) : null,
/* @__PURE__ */ (0, C.jsxs)("div", {
ref: v,
"data-entity-scroll": "",
@@ -43856,11 +43874,11 @@ function mxe(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, C.jsx)(hF, {}) : null]
+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, C.jsx)(gF, {}) : null]
}), /* @__PURE__ */ (0, C.jsx)("div", {
ref: y,
"data-entity-tags": "",
- children: l ? a.map((e) => /* @__PURE__ */ (0, C.jsxs)(tj, {
+ children: l ? a.map((e) => /* @__PURE__ */ (0, C.jsxs)(ij, {
"data-entity-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -43869,17 +43887,17 @@ function mxe(e) {
"data-count-badge": e.k,
children: e.n.toLocaleString()
})]
- }, e.k)) : u ? /* @__PURE__ */ (0, C.jsx)(_xe, {
+ }, e.k)) : u ? /* @__PURE__ */ (0, C.jsx)(vxe, {
head: u,
actions: s
}) : null
})]
})
] }),
- bottom: /* @__PURE__ */ (0, C.jsx)(yxe, { ...e })
+ bottom: /* @__PURE__ */ (0, C.jsx)(bxe, { ...e })
})] });
}
-var hxe = [[
+var gxe = [[
"videos",
"视频",
"play",
@@ -43890,7 +43908,7 @@ var hxe = [[
"pics",
"image"
]];
-function gxe({ head: e, row: t, glide: n, onMedia: r }) {
+function _xe({ head: e, row: t, glide: n, onMedia: r }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
ref: t,
role: "group",
@@ -43898,7 +43916,7 @@ function gxe({ head: e, row: t, glide: n, onMedia: r }) {
"data-entity-media": "",
"data-online-media": "",
onPointerLeave: n.leave,
- children: hxe.map(([t, i, a, o]) => {
+ children: gxe.map(([t, i, a, o]) => {
let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;
return /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -43916,7 +43934,7 @@ function gxe({ head: e, row: t, glide: n, onMedia: r }) {
})
});
}
-function _xe({ head: e, actions: t }) {
+function vxe({ head: e, actions: t }) {
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
e.providers.map(([n, r]) => /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -43926,10 +43944,10 @@ function _xe({ head: e, actions: t }) {
title: r,
"aria-label": `来源:${r}`,
onClick: () => t.onlineProvider(n),
- dangerouslySetInnerHTML: { __html: $P(n) }
+ dangerouslySetInnerHTML: { __html: eF(n) }
}, n)),
- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, C.jsx)(hF, {}) : null,
- e.tags.map((e) => /* @__PURE__ */ (0, C.jsxs)(tj, {
+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, C.jsx)(gF, {}) : null,
+ e.tags.map((e) => /* @__PURE__ */ (0, C.jsxs)(ij, {
"data-follow-tag": e.k,
"data-entity-press": "",
"data-tag-cat": `r34-${e.cat}`,
@@ -43942,7 +43960,7 @@ function _xe({ head: e, actions: t }) {
}, e.k))
] });
}
-function vxe({ keys: e, view: t, row: n, glide: r, onView: i }) {
+function yxe({ keys: e, view: t, row: n, glide: r, onView: i }) {
let a = [];
return e.people && a.push({
value: "people",
@@ -43990,7 +44008,7 @@ function vxe({ keys: e, view: t, row: n, glide: r, onView: i }) {
})
});
}
-function gF({ items: e, hidden: t, actions: n }) {
+function _F({ items: e, hidden: t, actions: n }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-entity-combo": "",
hidden: t,
@@ -44010,7 +44028,7 @@ function gF({ items: e, hidden: t, actions: n }) {
})] }) : null
});
}
-function yxe(e) {
+function bxe(e) {
let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
t === "photos" && a?.back ? /* @__PURE__ */ (0, C.jsxs)("button", {
@@ -44022,27 +44040,27 @@ function yxe(e) {
dangerouslySetInnerHTML: { __html: z("chevron-left") }
}), /* @__PURE__ */ (0, C.jsx)("span", { children: "全部照片" })]
}) : null,
- /* @__PURE__ */ (0, C.jsx)(bxe, {
+ /* @__PURE__ */ (0, C.jsx)(xxe, {
text: n,
busy: r
}),
- /* @__PURE__ */ (0, C.jsx)(gP, { currentHref: () => location.pathname + location.search }),
- t === "videos" && i ? /* @__PURE__ */ (0, C.jsx)(xxe, {
+ /* @__PURE__ */ (0, C.jsx)(yP, { currentHref: () => location.pathname + location.search }),
+ t === "videos" && i ? /* @__PURE__ */ (0, C.jsx)(Sxe, {
head: i,
actions: o
}) : null,
- t === "photos" && a ? /* @__PURE__ */ (0, C.jsx)(Cxe, {
+ t === "photos" && a ? /* @__PURE__ */ (0, C.jsx)(wxe, {
head: a,
actions: o,
helpers: s
}) : null,
- t === "online" && e.online ? /* @__PURE__ */ (0, C.jsx)(Sxe, {
+ t === "online" && e.online ? /* @__PURE__ */ (0, C.jsx)(Cxe, {
head: e.online,
actions: o
}) : null
] });
}
-function bxe({ text: e, busy: t }) {
+function xxe({ text: e, busy: t }) {
return /* @__PURE__ */ (0, C.jsx)("h3", {
"data-entity-readout": "",
children: t ? /* @__PURE__ */ (0, C.jsx)("span", {
@@ -44052,22 +44070,22 @@ function bxe({ text: e, busy: t }) {
}) : e
});
}
-function _F({ name: e, label: t, value: n, options: r, onChange: i }) {
- return /* @__PURE__ */ (0, C.jsx)(dN, {
+function vF({ name: e, label: t, value: n, options: r, onChange: i }) {
+ return /* @__PURE__ */ (0, C.jsx)(mN, {
name: e,
"aria-label": t,
orientation: "horizontal",
value: n,
onChange: i,
"data-entity-layout": "",
- className: JP,
+ className: YP,
children: r.map(([e, t, n]) => {
- let r = rP(n);
- return /* @__PURE__ */ (0, C.jsx)(fN, {
+ let r = oP(n);
+ return /* @__PURE__ */ (0, C.jsx)(hN, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: YP,
+ className: XP,
children: /* @__PURE__ */ (0, C.jsx)("span", {
title: t,
className: "contents",
@@ -44077,43 +44095,38 @@ function _F({ name: e, label: t, value: n, options: r, onChange: i }) {
})
});
}
-function vF({ onPress: e, busy: t = !1 }) {
- return /* @__PURE__ */ (0, C.jsx)("button", {
- type: "button",
+function yF({ onPress: e, busy: t = !1 }) {
+ return /* @__PURE__ */ (0, C.jsx)(nj, {
"data-entity-batch": "",
- title: "换一批",
- "aria-label": "换一批",
- "aria-busy": t || void 0,
- "aria-disabled": t || void 0,
- onClick: () => {
- t || e();
- },
- dangerouslySetInnerHTML: { __html: t ? vo("正在换一批") : z("shuffle") }
+ label: "换一批",
+ busy: t,
+ icon: oP("shuffle"),
+ onPress: e
});
}
-function xxe({ head: e, actions: t }) {
+function Sxe({ head: e, actions: t }) {
let n = cD();
return /* @__PURE__ */ (0, C.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, C.jsx)(vF, { onPress: () => void t.reshuffle() }),
- e.jav && n === "cards" ? /* @__PURE__ */ (0, C.jsx)(_F, {
+ /* @__PURE__ */ (0, C.jsx)(yF, { onPress: () => void t.reshuffle() }),
+ e.jav && n === "cards" ? /* @__PURE__ */ (0, C.jsx)(vF, {
label: "JAV 卡片版式",
value: e.jav.layout,
options: e.jav.options,
onChange: t.setJavLayout
}) : null,
- /* @__PURE__ */ (0, C.jsx)(XP, {}),
- n === "cards" ? /* @__PURE__ */ (0, C.jsx)(yF, {
+ /* @__PURE__ */ (0, C.jsx)(ZP, {}),
+ n === "cards" ? /* @__PURE__ */ (0, C.jsx)(bF, {
sorts: e.sorts,
onSort: t.setSort
}) : null
]
});
}
-function yF({ sorts: e, onSort: t }) {
+function bF({ sorts: e, onSort: t }) {
return /* @__PURE__ */ (0, C.jsx)(C.Fragment, { children: e.map((e) => {
- let n = rP(e.dir === "asc" ? "arrow-up" : "arrow-down");
+ let n = oP(e.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"data-entity-sort": e.key,
@@ -44125,12 +44138,12 @@ function yF({ sorts: e, onSort: t }) {
}, e.key);
}) });
}
-function Sxe({ head: e, actions: t }) {
+function Cxe({ head: e, actions: t }) {
return /* @__PURE__ */ (0, C.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, C.jsx)(vF, { onPress: t.onlineShuffle }),
- e.media === "images" ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(_F, {
+ /* @__PURE__ */ (0, C.jsx)(yF, { onPress: t.onlineShuffle }),
+ e.media === "images" ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(vF, {
label: "图片布局",
value: e.photoLayout,
options: e.photoLayouts,
@@ -44150,27 +44163,27 @@ function Sxe({ head: e, actions: t }) {
dangerouslySetInnerHTML: { __html: z("captions-off") }
})]
})] }) : null,
- /* @__PURE__ */ (0, C.jsx)(yF, {
+ /* @__PURE__ */ (0, C.jsx)(bF, {
sorts: e.sorts,
onSort: t.onlineSort
})
]
});
}
-function Cxe({ head: e, actions: t, helpers: n }) {
+function wxe({ head: e, actions: t, helpers: n }) {
let [r, i] = (0, S.useState)(!1), a = (0, S.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";
return (0, S.useEffect)(() => {
a.current && o && n.wireSourceTools(a.current);
}, [n, o]), /* @__PURE__ */ (0, C.jsxs)("span", {
"data-entity-sorts": "",
children: [
- e.shuffle ? /* @__PURE__ */ (0, C.jsx)(vF, {
+ e.shuffle ? /* @__PURE__ */ (0, C.jsx)(yF, {
onPress: () => {
i(!0), t.reshuffle().finally(() => i(!1));
},
busy: r
}) : null,
- /* @__PURE__ */ (0, C.jsx)(_F, {
+ /* @__PURE__ */ (0, C.jsx)(vF, {
label: "图片布局",
value: e.layout,
options: e.layouts,
@@ -44186,34 +44199,34 @@ function Cxe({ head: e, actions: t, helpers: n }) {
}
//#endregion
//#region src/react/catalog-filter/catalog-filter-page.tsx
-var bF = "";
-function wxe(e) {
- let t = !e.tiers, n = jxe(e.comboHost);
+var xF = "";
+function Txe(e) {
+ let t = !e.tiers, n = Mxe(e.comboHost);
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-catalog-root": "",
"data-loading": t || void 0,
"data-refreshing": e.refreshing || void 0,
className: "contents",
children: [
- n ? (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(gF, {
+ n ? (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(_F, {
items: e.combo,
hidden: e.comboHidden,
actions: e.actions
}), n) : null,
- /* @__PURE__ */ (0, C.jsx)(Dxe, { ...e }),
- e.offscreen ? null : /* @__PURE__ */ (0, C.jsx)(Txe, { ...e })
+ /* @__PURE__ */ (0, C.jsx)(Oxe, { ...e }),
+ e.offscreen ? null : /* @__PURE__ */ (0, C.jsx)(Exe, { ...e })
]
});
}
-function Txe(e) {
- let { actions: t, helpers: n } = e, r = (0, S.useRef)(null), i = (0, S.useRef)(null), a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useRef)(null), c = aj(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
+function Exe(e) {
+ let { actions: t, helpers: n } = e, r = (0, S.useRef)(null), i = (0, S.useRef)(null), a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useRef)(null), c = cj(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
(0, S.useEffect)(() => {
n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);
}, [n]);
- let l = !e.tiers, u = SF(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
+ let l = !e.tiers, u = CF(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
return (0, S.useLayoutEffect)(() => {
ko(o.current, "tagbar");
- }, [u]), /* @__PURE__ */ (0, C.jsx)(ej, {
+ }, [u]), /* @__PURE__ */ (0, C.jsx)(rj, {
label: "筛选与排序",
topLabel: "视图与标签",
attrs: {
@@ -44256,17 +44269,17 @@ function Txe(e) {
}), /* @__PURE__ */ (0, C.jsxs)("div", {
ref: o,
"data-catalog-tags": "",
- children: [e.empty || l ? /* @__PURE__ */ (0, C.jsx)(xF, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, C.jsx)(Exe, {
+ children: [e.empty || l ? /* @__PURE__ */ (0, C.jsx)(SF, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, C.jsx)(Dxe, {
tag: e,
onPress: t.toggleTag
}, e.k))]
})]
}),
- bottom: e.trash ? null : /* @__PURE__ */ (0, C.jsx)(kxe, { ...e })
+ bottom: e.trash ? null : /* @__PURE__ */ (0, C.jsx)(Axe, { ...e })
});
}
-function Exe({ tag: e, onPress: t }) {
- return /* @__PURE__ */ (0, C.jsxs)(tj, {
+function Dxe({ tag: e, onPress: t }) {
+ return /* @__PURE__ */ (0, C.jsxs)(ij, {
"data-catalog-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -44277,12 +44290,12 @@ function Exe({ tag: e, onPress: t }) {
})]
});
}
-function Dxe(e) {
+function Oxe(e) {
let { actions: t, helpers: n } = e, r = e.tiers ?? {
key: "",
performers: [],
studios: []
- }, i = e.empty || !e.tiers, a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useCallback)((e) => () => t.moreTops(e), [t]), c = SF(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = SF(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;
+ }, i = e.empty || !e.tiers, a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useCallback)((e) => () => t.moreTops(e), [t]), c = CF(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = CF(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;
return (0, S.useEffect)(() => {
n.wireDrag(a.current), n.wireDrag(o.current);
}, [
@@ -44295,7 +44308,7 @@ function Dxe(e) {
children: [u ? /* @__PURE__ */ (0, C.jsx)("div", {
ref: a,
"data-catalog-tier": "performers",
- children: i ? /* @__PURE__ */ (0, C.jsx)(xF, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, C.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, C.jsx)(SF, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"data-tier-performer": "",
"data-entity-kind": "performer",
@@ -44312,18 +44325,18 @@ function Dxe(e) {
}) : null, d ? /* @__PURE__ */ (0, C.jsx)("div", {
ref: o,
"data-catalog-tier": "studios",
- children: i ? /* @__PURE__ */ (0, C.jsx)(xF, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, C.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, C.jsx)(SF, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"data-tier-studio": "",
"data-entity-kind": "studio",
"data-entity-name": e.name,
onClick: () => t.openEntity("studio", e.name),
- children: [/* @__PURE__ */ (0, C.jsx)(Oxe, { studio: e }), e.name]
+ children: [/* @__PURE__ */ (0, C.jsx)(kxe, { studio: e }), e.name]
}, e.name))
}) : null]
});
}
-function Oxe({ studio: e }) {
+function kxe({ studio: e }) {
let [t, n] = (0, S.useState)(!1);
return /* @__PURE__ */ (0, C.jsx)("span", {
"data-tier-mark": "",
@@ -44337,7 +44350,7 @@ function Oxe({ studio: e }) {
}) : e.fallback
});
}
-function xF({ kind: e }) {
+function SF({ kind: e }) {
let t = Array.from({ length: 64 }, (e, t) => t);
return e === "tag" ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-catalog-placeholder": "tag",
@@ -44353,37 +44366,37 @@ function xF({ kind: e }) {
children: [/* @__PURE__ */ (0, C.jsx)("span", {}), /* @__PURE__ */ (0, C.jsx)("span", { children: "\xA0" })]
}, t)) });
}
-function kxe({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
+function Axe({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
let a = cD(), [o, s] = (0, S.useState)(!1);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("span", {
"data-catalog-summary": "",
- children: [/* @__PURE__ */ (0, C.jsx)(Axe, { count: e }), /* @__PURE__ */ (0, C.jsx)(gP, { currentHref: i.currentHref })]
+ children: [/* @__PURE__ */ (0, C.jsx)(jxe, { count: e }), /* @__PURE__ */ (0, C.jsx)(yP, { currentHref: i.currentHref })]
}), /* @__PURE__ */ (0, C.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, C.jsx)(vF, {
+ /* @__PURE__ */ (0, C.jsx)(yF, {
onPress: () => {
s(!0), i.reshuffle().finally(() => s(!1));
},
busy: o || t
}),
- n && a === "cards" ? /* @__PURE__ */ (0, C.jsx)(_F, {
+ n && a === "cards" ? /* @__PURE__ */ (0, C.jsx)(vF, {
name: n.name,
label: n.label,
value: n.value,
options: n.options,
onChange: i.setLayout
}, n.name) : null,
- /* @__PURE__ */ (0, C.jsx)(XP, {}),
- /* @__PURE__ */ (0, C.jsx)(rxe, {}),
- a === "cards" ? /* @__PURE__ */ (0, C.jsx)(yF, {
+ /* @__PURE__ */ (0, C.jsx)(ZP, {}),
+ /* @__PURE__ */ (0, C.jsx)(ixe, {}),
+ a === "cards" ? /* @__PURE__ */ (0, C.jsx)(bF, {
sorts: r,
onSort: i.setSort
}) : null
]
})] });
}
-function Axe({ count: e }) {
+function jxe({ count: e }) {
let t = (0, S.useRef)(null), n = (0, S.useRef)(null), r = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : "";
return (0, S.useLayoutEffect)(() => {
if (e === !1) return;
@@ -44392,7 +44405,7 @@ function Axe({ count: e }) {
return;
}
let i = t.current;
- i && (bF && i.dataset.popCount === void 0 && (i.dataset.popCount = bF), bF = r, Eo(i, r));
+ i && (xF && i.dataset.popCount === void 0 && (i.dataset.popCount = xF), xF = r, Eo(i, r));
}, [e, r]), e === !1 ? /* @__PURE__ */ (0, C.jsx)("span", { "data-catalog-readout": "" }, "failed") : e ? /* @__PURE__ */ (0, C.jsx)("span", {
ref: t,
"data-catalog-readout": "",
@@ -44408,7 +44421,7 @@ function Axe({ count: e }) {
})
}, "skeleton");
}
-function jxe(e) {
+function Mxe(e) {
let [t, n] = (0, S.useState)(null);
return (0, S.useLayoutEffect)(() => {
if (!e) return;
@@ -44418,7 +44431,7 @@ function jxe(e) {
};
}, [e]), t;
}
-function SF(e, t, n, r, i) {
+function CF(e, t, n, r, i) {
let a = () => ({
key: n,
limit: r,
@@ -44458,7 +44471,7 @@ function SF(e, t, n, r, i) {
}
//#endregion
//#region src/react/components/grid-reveal.tsx
-function CF(e, t) {
+function wF(e, t) {
let [n, r] = (0, S.useState)(e ? "skeleton" : "none"), [i] = (0, S.useState)(() => e ? t() : ""), a = (0, S.useRef)(null);
return (0, S.useLayoutEffect)(() => {
a.current && Vo(a.current);
@@ -44484,7 +44497,7 @@ function CF(e, t) {
fading: n === "fade"
};
}
-function wF({ message: e, onRetry: t }) {
+function TF({ message: e, onRetry: t }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-media-error": "",
onClick: (e) => {
@@ -44498,7 +44511,7 @@ function wF({ message: e, onRetry: t }) {
}
//#endregion
//#region src/react/components/art-slot.tsx
-function TF({ artwork: e, identity: t = e.html, relayout: n }) {
+function EF({ artwork: e, identity: t = e.html, relayout: n }) {
let [r, i] = (0, S.useState)({
identity: t,
artwork: e
@@ -44518,7 +44531,7 @@ function TF({ artwork: e, identity: t = e.html, relayout: n }) {
}
//#endregion
//#region src/react/components/row-click.ts
-var Mxe = [
+var Nxe = [
"a",
"button",
"input",
@@ -44531,46 +44544,46 @@ var Mxe = [
"[role=\"link\"]",
"[role=\"menu\"]"
].join(",");
-function EF(e, t) {
+function DF(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest(Mxe);
+ let r = n.closest(Nxe);
return !r || !t.contains(r) || r === t;
}
-function DF(e) {
+function OF(e) {
e.shiftKey && e.preventDefault();
}
//#endregion
//#region src/react/components/media-card.tsx
-var Nxe = 9 / 16, OF = "未命名视频";
-function kF({ name: e }) {
+var Pxe = 9 / 16, kF = "未命名视频";
+function AF({ name: e }) {
return /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, C.jsx)("use", { href: `#i-${e}` })
});
}
-var Pxe = {
+var Fxe = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
-}, Fxe = {
+}, Ixe = {
manual: "手动",
junk: "垃圾",
duplicate: "重复",
missing: "文件缺失"
};
-function AF({ item: e }) {
+function jF({ item: e }) {
if (e.disposal !== "trash") return null;
- let t = e.disposal_reason && Fxe[e.disposal_reason] || "原因未记录";
+ let t = e.disposal_reason && Ixe[e.disposal_reason] || "原因未记录";
return /* @__PURE__ */ (0, C.jsx)("span", {
"data-media-disposal-reason": "",
title: `归入原因:${t}`,
children: t
});
}
-function jF({ item: e, actions: t }) {
+function MF({ item: e, actions: t }) {
let [n, r] = (0, S.useState)(!1), [i, a] = (0, S.useState)(""), o = e.disposal === "trash" ? "restore" : "dispose", s = o === "restore" ? "还原" : "移入回收站";
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -44589,10 +44602,10 @@ function jF({ item: e, actions: t }) {
children: i
}) : null] });
}
-function MF(e, t, n) {
- return t === "short" ? Nxe : SE(n);
+function NF(e, t, n) {
+ return t === "short" ? Pxe : SE(n);
}
-function Ixe(e) {
+function Lxe(e) {
let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = ga(e), s = i[0] || "", c = na(e);
return {
avatar: r ? /* @__PURE__ */ (0, C.jsx)("div", {
@@ -44621,7 +44634,7 @@ function Ixe(e) {
"data-media-who": "",
"data-entity-kind": "performer",
"data-entity-name": s,
- children: [/* @__PURE__ */ (0, C.jsx)(kF, { name: "user-round" }), /* @__PURE__ */ (0, C.jsx)("span", { children: s })]
+ children: [/* @__PURE__ */ (0, C.jsx)(AF, { name: "user-round" }), /* @__PURE__ */ (0, C.jsx)("span", { children: s })]
}), /* @__PURE__ */ (0, C.jsx)("span", {
"data-media-who-more": "",
children: `等 ${o} 人`
@@ -44630,16 +44643,16 @@ function Ixe(e) {
"data-media-who": "",
"data-entity-kind": t,
"data-entity-name": n,
- children: [/* @__PURE__ */ (0, C.jsx)(kF, { name: "user-round" }), /* @__PURE__ */ (0, C.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, C.jsx)(AF, { name: "user-round" }), /* @__PURE__ */ (0, C.jsx)("span", { children: n })]
}) : /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"data-media-who": "",
"data-open-unowned": "",
- children: [/* @__PURE__ */ (0, C.jsx)(kF, { name: "user-round" }), /* @__PURE__ */ (0, C.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, C.jsx)(AF, { name: "user-round" }), /* @__PURE__ */ (0, C.jsx)("span", { children: n })]
})
};
}
-function Lxe() {
+function Rxe() {
return /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -44658,7 +44671,7 @@ function Lxe() {
})]
});
}
-function Rxe({ item: e, actions: t }) {
+function zxe({ item: e, actions: t }) {
let [n, r] = (0, S.useState)(null), [i, a] = (0, S.useState)(!1), o = n?.id === e.id ? n.on : !!e.watch_later;
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-media-later": "",
@@ -44676,21 +44689,21 @@ function Rxe({ item: e, actions: t }) {
},
"aria-busy": i || void 0,
"aria-disabled": i || void 0,
- children: /* @__PURE__ */ (0, C.jsx)(kF, { name: o ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, C.jsx)(AF, { name: o ? "check" : "bookmark-plus" })
})
});
}
-function NF(e, t) {
+function PF(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 zxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {
+function Bxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {
let l = (0, S.useRef)(null), u = (0, S.useRef)(e);
u.current = e;
let d = (0, S.useCallback)((e) => {
let t = u.current;
l.current && l.current !== e && fc(l.current), l.current = e, e && (!t.medium || t.medium === "video") && mc(e, t);
- }, []), f = e.part_group || null, p = e.edition_group || null, m = !!(f || p), h = n.active && e.is_jav ? n.size : "small", g = fa(e, h, !1, n.javImage), _ = h === "small" ? g.html : fa(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v).trim() || OF, b = o.titleHtml(e, v).trim() || B(OF), x = f?.total_size ?? e.size, w = f?.total_duration ?? e.duration, T = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: E, who: D } = Ixe(e), O = (e.follow_tags || e.tags || []).slice(0, 3), k = [
+ }, []), f = e.part_group || null, p = e.edition_group || null, m = !!(f || p), h = n.active && e.is_jav ? n.size : "small", g = fa(e, h, !1, n.javImage), _ = h === "small" ? g.html : fa(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v).trim() || kF, b = o.titleHtml(e, v).trim() || B(kF), x = f?.total_size ?? e.size, w = f?.total_duration ?? e.duration, T = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: E, who: D } = Lxe(e), O = (e.follow_tags || e.tags || []).slice(0, 3), k = [
e.feedback === "dislike" && "dislike",
e.feedback === "seen" && "seen",
e.watch_later && "later"
@@ -44719,9 +44732,9 @@ function zxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
u && r.contains(u) ? s.toggleTag(u.dataset.tag || "") : c(e, r);
}, j = /* @__PURE__ */ (0, C.jsxs)("div", {
"data-media-pic": "",
- style: { "--card-ratio": String(MF(e, t, n)) },
+ style: { "--card-ratio": String(NF(e, t, n)) },
children: [
- g.html ? /* @__PURE__ */ (0, C.jsx)(TF, {
+ g.html ? /* @__PURE__ */ (0, C.jsx)(EF, {
artwork: g,
identity: _,
relayout: (e) => ac(e, h)
@@ -44735,11 +44748,11 @@ function zxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
}),
/* @__PURE__ */ (0, C.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, C.jsx)(kF, { name: "check" })
+ children: /* @__PURE__ */ (0, C.jsx)(AF, { name: "check" })
}),
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, C.jsx)(kF, { name: "trash" }), /* @__PURE__ */ (0, C.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, C.jsx)(AF, { name: "trash" }), /* @__PURE__ */ (0, C.jsx)("b", { children: "回收站" })]
}),
f && !p ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-media-group": "",
@@ -44754,7 +44767,7 @@ function zxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-media-duration": "",
children: Xt(w)
}),
- e.disposal === "trash" ? /* @__PURE__ */ (0, C.jsx)(jF, {
+ e.disposal === "trash" ? /* @__PURE__ */ (0, C.jsx)(MF, {
item: e,
actions: s
}) : null,
@@ -44770,8 +44783,8 @@ function zxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-media-scrub": "",
children: /* @__PURE__ */ (0, C.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })
}),
- /* @__PURE__ */ (0, C.jsx)(Lxe, {}),
- /* @__PURE__ */ (0, C.jsx)(Rxe, {
+ /* @__PURE__ */ (0, C.jsx)(Rxe, {}),
+ /* @__PURE__ */ (0, C.jsx)(zxe, {
item: e,
actions: s
}),
@@ -44781,27 +44794,27 @@ function zxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), NF(l.current, -a);
+ e.stopPropagation(), PF(l.current, -a);
},
title: `后退 ${a} 秒`,
"aria-label": `后退 ${a} 秒`,
- children: /* @__PURE__ */ (0, C.jsx)(kF, { name: "rotate-ccw" })
+ children: /* @__PURE__ */ (0, C.jsx)(AF, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), NF(l.current, a);
+ e.stopPropagation(), PF(l.current, a);
},
title: `前进 ${a} 秒`,
"aria-label": `前进 ${a} 秒`,
- children: /* @__PURE__ */ (0, C.jsx)(kF, { name: "rotate-cw" })
+ children: /* @__PURE__ */ (0, C.jsx)(AF, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-open": "",
title: "打开详情",
"aria-label": "打开详情",
- children: /* @__PURE__ */ (0, C.jsx)(kF, { name: "expand" })
+ children: /* @__PURE__ */ (0, C.jsx)(AF, { name: "expand" })
})
]
})
@@ -44818,7 +44831,7 @@ function zxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-pending-delete": e.disposal === "trash" ? "" : void 0,
"data-selected": r ? "" : void 0,
onClick: A,
- onMouseDown: DF,
+ onMouseDown: OF,
children: [
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -44856,11 +44869,11 @@ function zxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
e.is_jav && e.release_date ? /* @__PURE__ */ (0, C.jsxs)("time", {
"data-media-release": "",
dateTime: e.release_date,
- children: [/* @__PURE__ */ (0, C.jsx)(kF, { name: "calendar" }), e.release_date]
+ children: [/* @__PURE__ */ (0, C.jsx)(AF, { name: "calendar" }), e.release_date]
}) : null,
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-media-size": "",
- children: [/* @__PURE__ */ (0, C.jsx)(kF, { name: "hard-drive" }), Number(x) > 0 ? Qt(Number(x)) : "大小未知"]
+ children: [/* @__PURE__ */ (0, C.jsx)(AF, { name: "hard-drive" }), Number(x) > 0 ? Qt(Number(x)) : "大小未知"]
}),
e.play_count ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-media-watch-count": "",
@@ -44882,15 +44895,15 @@ function zxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
children: o.tagLabel(t)
}, t))
}) : null,
- /* @__PURE__ */ (0, C.jsx)(AF, { item: e })
+ /* @__PURE__ */ (0, C.jsx)(jF, { item: e })
]
})]
})
]
});
}
-function Bxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
- let o = (0, S.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : Pxe[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";
+function Vxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
+ let o = (0, S.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : Fxe[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";
return /* @__PURE__ */ (0, C.jsxs)("article", {
ref: o,
"data-media-card": "",
@@ -44902,14 +44915,14 @@ function Bxe({ 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: DF,
+ onMouseDown: OF,
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
"data-media-pic": "",
style: { "--card-ratio": "1.7777777777777777" },
children: [
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, C.jsx)(kF, { name: u }), /* @__PURE__ */ (0, C.jsx)("b", { children: l })]
+ children: [/* @__PURE__ */ (0, C.jsx)(AF, { name: u }), /* @__PURE__ */ (0, C.jsx)("b", { children: l })]
}),
s ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-media-art": "thumb",
@@ -44921,13 +44934,13 @@ function Bxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
}),
/* @__PURE__ */ (0, C.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, C.jsx)(kF, { name: "check" })
+ children: /* @__PURE__ */ (0, C.jsx)(AF, { name: "check" })
}),
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, C.jsx)(kF, { name: "trash" }), /* @__PURE__ */ (0, C.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, C.jsx)(AF, { name: "trash" }), /* @__PURE__ */ (0, C.jsx)("b", { children: "回收站" })]
}),
- /* @__PURE__ */ (0, C.jsx)(jF, {
+ /* @__PURE__ */ (0, C.jsx)(MF, {
item: e,
actions: i
})
@@ -44938,7 +44951,7 @@ function Bxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
"data-media-avatar": "",
"data-media-kind-glyph": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, C.jsx)(kF, { name: u })
+ children: /* @__PURE__ */ (0, C.jsx)(AF, { name: u })
}), /* @__PURE__ */ (0, C.jsxs)("div", {
"data-media-text": "",
children: [
@@ -44966,29 +44979,29 @@ function Bxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
]
}),
e.disposal === "trash" ? /* @__PURE__ */ (0, C.jsx)("div", { "data-media-tags": "" }) : null,
- /* @__PURE__ */ (0, C.jsx)(AF, { item: e })
+ /* @__PURE__ */ (0, C.jsx)(jF, { item: e })
]
})]
})]
});
}
-function Vxe(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, C.jsx)(Bxe, { ...e }) : /* @__PURE__ */ (0, C.jsx)(zxe, { ...e });
+function Hxe(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, C.jsx)(Vxe, { ...e }) : /* @__PURE__ */ (0, C.jsx)(Bxe, { ...e });
}
-var PF = (0, S.memo)(Vxe), Hxe = 1100, Uxe = 340, Wxe = 5e3;
-function Gxe(e, t, n) {
+var FF = (0, S.memo)(Hxe), Uxe = 1100, Wxe = 340, Gxe = 5e3;
+function Kxe(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, Wxe);
+ }, s = () => o(!1), c = setTimeout(s, Gxe);
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 FF({ load: e, canFlip: t, referrerPolicy: n }) {
+function IF({ load: e, canFlip: t, referrerPolicy: n }) {
let [r, i] = (0, S.useState)([]), [a, o] = (0, S.useState)(0), [s, c] = (0, S.useState)(null), l = (0, S.useRef)({
live: !1,
generation: 0,
@@ -45030,11 +45043,11 @@ function FF({ load: e, canFlip: t, referrerPolicy: n }) {
return;
}
if (!r() || !u.current.canFlip() || a.length < 2) return;
- let s = await Promise.all(a.map((t) => Gxe(t, e, n)));
+ let s = await Promise.all(a.map((t) => Kxe(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, Hxe);
+ p(), e.cycle = setInterval(p, Uxe);
}));
};
return (0, S.useEffect)(() => d, [d]), {
@@ -45043,7 +45056,7 @@ function FF({ 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(Uxe, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(Wxe, () => {
e.armed = null, m();
});
},
@@ -45054,8 +45067,8 @@ function FF({ load: e, canFlip: t, referrerPolicy: n }) {
}
//#endregion
//#region src/react/components/mix-card.tsx
-var IF = rP("play");
-function Kxe({ src: e }) {
+var LF = oP("play");
+function qxe({ src: e }) {
let [t, n] = (0, S.useState)(!1);
return t ? null : /* @__PURE__ */ (0, C.jsx)("img", {
"data-mix-poster": "",
@@ -45068,8 +45081,8 @@ function Kxe({ src: e }) {
className: "absolute inset-0 block size-full object-contain"
});
}
-var LF = "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 qxe({ faces: e, fallback: t, onOpenEntity: n }) {
+var RF = "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 Jxe({ faces: e, fallback: t, onOpenEntity: n }) {
return e.length ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-mix-avatars": "",
children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, C.jsx)("button", {
@@ -45077,18 +45090,18 @@ function qxe({ faces: e, fallback: t, onOpenEntity: n }) {
title: `打开资料页:${e.name}`,
"aria-label": `打开资料页:${e.name}`,
onClick: () => n(e.kind, e.name),
- className: `${LF} cursor-pointer outline-none`,
+ className: `${RF} cursor-pointer outline-none`,
dangerouslySetInnerHTML: { __html: ia(e.name, e, Vi(e.name), e.kind) }
}, `${e.kind}:${e.id}`))
}) : /* @__PURE__ */ (0, C.jsx)("span", {
"data-mix-initial": "",
"aria-hidden": !0,
- className: `${LF} mt-0.5`,
+ className: `${RF} mt-0.5`,
children: t
});
}
-function RF({ 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 = FF({
+function zF({ 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 = IF({
load: i,
canFlip: a
}), x = (0, S.useRef)(b.onPointerLeave);
@@ -45115,11 +45128,11 @@ function RF({ 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, C.jsx)(TF, {
+ f?.html ? /* @__PURE__ */ (0, C.jsx)(EF, {
artwork: f,
identity: p,
relayout: m
- }) : r ? /* @__PURE__ */ (0, C.jsx)(Kxe, { src: r }, r) : /* @__PURE__ */ (0, C.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, C.jsx)(qxe, { src: r }, r) : /* @__PURE__ */ (0, C.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -45149,7 +45162,7 @@ function RF({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
/* @__PURE__ */ (0, C.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, C.jsx)(IF, {
+ children: [/* @__PURE__ */ (0, C.jsx)(LF, {
"aria-hidden": !0,
className: "size-3.75"
}), g ?? `${n.toLocaleString()} 个视频`]
@@ -45162,8 +45175,8 @@ function RF({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
_ ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-mix-glyph": "",
"aria-hidden": !0,
- children: /* @__PURE__ */ (0, C.jsx)(IF, {})
- }) : /* @__PURE__ */ (0, C.jsx)(qxe, {
+ children: /* @__PURE__ */ (0, C.jsx)(LF, {})
+ }) : /* @__PURE__ */ (0, C.jsx)(Jxe, {
faces: o,
fallback: nn(e),
onOpenEntity: s
@@ -45187,7 +45200,7 @@ function RF({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
}
//#endregion
//#region src/react/video-wall/folia/blockReflows.ts
-var Jxe = [
+var Yxe = [
[
[
{
@@ -48748,7 +48761,7 @@ var Jxe = [
}
]
]
-], zF = [
+], BF = [
[
{
x: 0,
@@ -49045,89 +49058,89 @@ var Jxe = [
rows: 2
}
]
-], BF = (e) => e.map((e) => ({
+], VF = (e) => e.map((e) => ({
...e,
x: 12 - e.x - e.cols
-})), VF = (e) => e.map((e) => ({
+})), HF = (e) => e.map((e) => ({
...e,
y: 8 - e.y - e.rows
-})), HF = [
+})), UF = [
(e) => e,
- BF,
VF,
- (e) => BF(VF(e))
-], UF = zF.flatMap((e) => HF.map((t) => t(e))), Yxe = Jxe.flatMap((e) => HF.map((t) => e.map(t)));
-UF.length;
-var Xxe = (e, t) => {
+ HF,
+ (e) => VF(HF(e))
+], WF = BF.flatMap((e) => UF.map((t) => t(e))), Xxe = Yxe.flatMap((e) => UF.map((t) => e.map(t)));
+WF.length;
+var Zxe = (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;
-}, WF = (e, t) => {
- let n = zF.length;
- return ((e + t * 2) % n + n) % n * HF.length + Xxe(e, t) % HF.length;
-}, Zxe = (e, t) => UF[WF(e, t)], Qxe = (e, t, n) => n < 0 || n >= 12 ? null : Yxe[WF(e, t)][n], GF = 103.36, KF = 6.08, qF = 12 * GF, JF = 8 * GF, YF = 12, XF = (e, t) => (e % t + t) % t, $xe = (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 ZF(e, t) {
- let n = Math.max(1, Math.ceil(e / YF)), r = t ? 3 : Math.min(3, n);
+}, GF = (e, t) => {
+ let n = BF.length;
+ return ((e + t * 2) % n + n) % n * UF.length + Zxe(e, t) % UF.length;
+}, Qxe = (e, t) => WF[GF(e, t)], $xe = (e, t, n) => n < 0 || n >= 12 ? null : Xxe[GF(e, t)][n], KF = 103.36, qF = 6.08, JF = 12 * KF, YF = 8 * KF, XF = 12, ZF = (e, t) => (e % t + t) % t, eSe = (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 QF(e, t) {
+ let n = Math.max(1, Math.ceil(e / XF)), r = t ? 3 : Math.min(3, n);
return {
columns: r,
- width: r * qF,
- height: Math.ceil(n / r) * JF
+ width: r * JF,
+ height: Math.ceil(n / r) * YF
};
}
-function QF(e, t, n) {
- let { x: r, y: i, cols: a, rows: o } = Zxe(e, t)[n];
+function $F(e, t, n) {
+ let { x: r, y: i, cols: a, rows: o } = Qxe(e, t)[n];
return {
- x: e * qF + r * GF,
- y: t * JF + i * GF,
- width: a * GF - KF,
- height: o * GF - KF
+ x: e * JF + r * KF,
+ y: t * YF + i * KF,
+ width: a * KF - qF,
+ height: o * KF - qF
};
}
-function eSe(e) {
+function tSe(e) {
return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);
}
-function $F(e, t, n) {
+function eI(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 >= YF) return null;
- let o = ZF(e, t), s = o.height / JF;
+ ].every(Number.isInteger) || a < 0 || a >= XF) return null;
+ let o = QF(e, t), s = o.height / YF;
if (t && (r < 0 || r >= o.columns || i < 0 || i >= s)) return null;
- let c = t ? r : XF(r, o.columns), l = ((t ? i : XF(i, s)) * o.columns + c) * YF + a;
+ let c = t ? r : ZF(r, o.columns), l = ((t ? i : ZF(i, s)) * o.columns + c) * XF + a;
return t && l >= e ? null : {
- ...QF(r, i, a),
+ ...$F(r, i, a),
index: l % e,
key: n
};
}
-function tSe(e, t) {
+function nSe(e, t) {
if (t < 0 || t >= e) return null;
- let n = Math.floor(t / YF);
- return $F(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % YF}`);
+ let n = Math.floor(t / XF);
+ return eI(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % XF}`);
}
-function eI(e, t, n) {
- let [r, i, a] = n.key.split(":").map(Number), o = Qxe(r, i, a);
+function tI(e, t, n) {
+ let [r, i, a] = n.key.split(":").map(Number), o = $xe(r, i, a);
return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {
- x: r * qF + e.x * GF,
- y: i * JF + e.y * GF,
- width: e.cols * GF - KF,
- height: e.rows * GF - KF
+ x: r * JF + e.x * KF,
+ y: i * YF + e.y * KF,
+ width: e.cols * KF - qF,
+ height: e.rows * KF - qF
}]));
}
-function nSe(e) {
+function rSe(e) {
let t = 0, n = 0;
for (let r = Math.max(0, e - 36); r < e; r += 1) {
- let e = Math.floor(r / YF), i = QF(e % 3, Math.floor(e / 3), r % YF);
+ let e = Math.floor(r / XF), i = $F(e % 3, Math.floor(e / 3), r % XF);
t = Math.max(t, i.x + i.width), n = Math.max(n, i.y + i.height);
}
return {
- width: e >= 36 ? 3 * qF - KF : t,
+ width: e >= 36 ? 3 * JF - qF : t,
height: n
};
}
-function rSe(e, t, n, r) {
+function iSe(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 {
@@ -49136,22 +49149,22 @@ function rSe(e, t, n, r) {
y: i(e.y, n.height, t.height)
};
}
-function iSe(e, t, n, r) {
+function aSe(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 = ZF(e, t), s = o.height / JF, c = [];
- for (let n = Math.floor(a.y / JF); n <= Math.floor((a.y + a.height) / JF); n += 1) for (let r = Math.floor(a.x / qF); r <= Math.floor((a.x + a.width) / qF); r += 1) {
+ }, o = QF(e, t), s = o.height / YF, c = [];
+ for (let n = Math.floor(a.y / YF); n <= Math.floor((a.y + a.height) / YF); n += 1) for (let r = Math.floor(a.x / JF); r <= Math.floor((a.x + a.width) / JF); r += 1) {
if (t && (r < 0 || r >= o.columns || n < 0 || n >= s)) continue;
- let i = t ? r : XF(r, o.columns), l = t ? n : XF(n, s);
- for (let s = 0; s < YF; s += 1) {
- let u = (l * o.columns + i) * YF + s;
+ let i = t ? r : ZF(r, o.columns), l = t ? n : ZF(n, s);
+ for (let s = 0; s < XF; s += 1) {
+ let u = (l * o.columns + i) * XF + s;
if (t && u >= e) continue;
- let d = QF(r, n, s);
- $xe(d, a) && c.push({
+ let d = $F(r, n, s);
+ eSe(d, a) && c.push({
...d,
index: u % e,
key: `${r}:${n}:${s}`
@@ -49160,7 +49173,7 @@ function iSe(e, t, n, r) {
}
return c;
}
-var aSe = class {
+var oSe = class {
positions = /* @__PURE__ */ new Map();
used = /* @__PURE__ */ new Set();
cursor = 0;
@@ -49172,7 +49185,7 @@ var aSe = class {
this.cursor = e;
}
tile(e, t) {
- let n = this.positions.get(e), r = n === void 0 ? null : $F(t, !1, e);
+ let n = this.positions.get(e), r = n === void 0 ? null : eI(t, !1, e);
return r ? {
...r,
index: n
@@ -49202,7 +49215,7 @@ var aSe = class {
let e = 0;
for (let t of this.positions.keys()) e = Math.max(e, Number(t.split(":")[0]));
return {
- x: (e + 2) * qF,
+ x: (e + 2) * JF,
y: 0
};
}
@@ -49215,10 +49228,10 @@ var aSe = class {
c < i && (r = s, i = c);
}
if (r) return r;
- let a = this.fresh(), o = `${Math.round(a.x / qF)}:0:0`;
+ let a = this.fresh(), o = `${Math.round(a.x / JF)}:0:0`;
return this.positions.set(o, t), this.used.add(t), this.tile(o, e);
}
-}, tI = [
+}, nI = [
"q",
"performer",
"series",
@@ -49233,17 +49246,17 @@ var aSe = class {
"dur_max",
"region"
];
-function oSe(e = {}) {
- return tI.some((t) => !!e[t]);
+function sSe(e = {}) {
+ return nI.some((t) => !!e[t]);
}
//#endregion
//#region src/react/video-wall/use-wall-camera.ts
-var nI = {
+var rI = {
x: 16,
y: 16,
scale: 1
};
-function sSe(e, t, n = nI, r = !1) {
+function cSe(e, t, n = rI, r = !1) {
let i = (0, S.useRef)(null), a = (0, S.useRef)(null), o = (0, S.useRef)({
width: 0,
height: 0
@@ -49263,7 +49276,7 @@ function sSe(e, t, n = nI, r = !1) {
let f = (0, S.useRef)(null), p = (0, S.useRef)(null), m = (0, S.useRef)(!1), h = (0, S.useRef)(null), g = (0, S.useCallback)(() => {
p.current?.stop(), p.current = null, f.current !== null && cancelAnimationFrame(f.current), f.current = null;
}, []), _ = (0, S.useCallback)((e, t = !1, n = !1) => {
- let { count: r, finite: c, focused: f } = d.current, p = rSe(e, o.current, nSe(r), c && !f && !n);
+ let { count: r, finite: c, focused: f } = d.current, p = iSe(e, o.current, rSe(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));
@@ -49363,7 +49376,7 @@ function sSe(e, t, n = nI, r = !1) {
},
snapshot: () => ({ ...s.current }),
reset: () => {
- g(), _({ ...nI }, !0);
+ g(), _({ ...rI }, !0);
},
pan: (e, t) => {
g(), _({
@@ -49425,17 +49438,17 @@ function sSe(e, t, n = nI, r = !1) {
}
//#endregion
//#region src/react/video-wall/wall-motion.ts
-var cSe = {
+var lSe = {
type: "spring",
stiffness: 300,
damping: 34
-}, lSe = {
+}, uSe = {
delay: .14,
duration: .24
};
//#endregion
//#region src/react/video-wall/use-wall-playback.ts
-function uSe(e, t, n) {
+function dSe(e, t, n) {
let [r, i] = (0, S.useState)({
paused: !0,
time: 0,
@@ -49477,8 +49490,8 @@ function uSe(e, t, n) {
}
//#endregion
//#region src/react/video-wall/wall-controls.tsx
-function dSe({ 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 = x_(), x = uSe(t, n, v), S = x.duration || Number(e.duration) || 0, w = r || i, T = !t || x.paused, E = async () => {
+function fSe({ 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 = x_(), x = dSe(t, n, v), S = x.duration || Number(e.duration) || 0, w = r || i, T = !t || x.paused, E = async () => {
if (!(w || a && !s)) try {
t === e.id ? await x.toggle() : await f();
} catch (e) {
@@ -49495,7 +49508,7 @@ function dSe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
opacity: 1,
transform: "translateY(0px)"
},
- transition: b ? { duration: 0 } : lSe,
+ transition: b ? { duration: 0 } : uSe,
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
"data-wall-control-row": "",
children: [
@@ -49600,7 +49613,7 @@ function dSe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
}
//#endregion
//#region src/react/components/mix-queue.tsx
-function rI({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
+function iI({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
let c = (0, S.useRef)(null), l = (0, S.useCallback)((e) => {
c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);
}, [a]);
@@ -49636,7 +49649,7 @@ function rI({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,
})]
});
}
-function iI({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
+function aI({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
let s = /* @__PURE__ */ (0, C.jsx)("span", {
"data-mix-item-text": "",
children: a
@@ -49659,7 +49672,7 @@ function iI({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }
}), r]
});
}
-var fSe = ({ label: e, count: t }) => /* @__PURE__ */ (0, C.jsxs)("h3", {
+var pSe = ({ label: e, count: t }) => /* @__PURE__ */ (0, C.jsxs)("h3", {
"data-mix-group-label": "",
children: [
e,
@@ -49669,16 +49682,16 @@ var fSe = ({ label: e, count: t }) => /* @__PURE__ */ (0, C.jsxs)("h3", {
});
//#endregion
//#region src/react/video-wall/wall-queue.tsx
-function pSe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {
+function mSe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-wall-queue": "",
id: "wall-queue",
- children: /* @__PURE__ */ (0, C.jsx)(rI, {
+ children: /* @__PURE__ */ (0, C.jsx)(iI, {
kind: n,
title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",
summary: `${e.length} 个视频`,
onClose: a,
- children: e.map((e) => /* @__PURE__ */ (0, C.jsxs)(iI, {
+ children: e.map((e) => /* @__PURE__ */ (0, C.jsxs)(aI, {
current: e.id === t,
"data-wall-source": e.id,
"aria-label": [
@@ -49687,7 +49700,7 @@ function pSe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })
r(e)
].filter(Boolean).join(" · "),
onClick: () => i(e),
- pic: /* @__PURE__ */ (0, C.jsx)(TF, { artwork: fa(e, "small", !0, "cover") }),
+ pic: /* @__PURE__ */ (0, C.jsx)(EF, { artwork: fa(e, "small", !0, "cover") }),
children: [/* @__PURE__ */ (0, C.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, C.jsx)("span", { children: [
e.edition_label,
e.part_label ? SD(e.part_label) : "",
@@ -49699,7 +49712,7 @@ function pSe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })
}
//#endregion
//#region src/react/video-wall/wall-route.ts
-function mSe(e = `${location.pathname}${location.search}`, t = {}) {
+function hSe(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",
@@ -49714,18 +49727,18 @@ function mSe(e = `${location.pathname}${location.search}`, t = {}) {
}
return s.set("returnTo", `${n.pathname}${n.search}`), `/wall?${s}`;
}
-function hSe(e = `${location.pathname}${location.search}`) {
+function gSe(e = `${location.pathname}${location.search}`) {
let t = new URL(e, location.origin).searchParams;
- for (let e of tI) t.delete(e);
+ for (let e of nI) t.delete(e);
return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;
}
-function aI() {
+function oI() {
let e = new URLSearchParams(fk.navigation.location.search).get("returnTo") || "/";
fk.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");
}
//#endregion
//#region src/react/video-wall/video-wall.tsx
-var oI = /* @__PURE__ */ new Map(), sI = (0, S.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {
+var sI = /* @__PURE__ */ new Map(), cI = (0, S.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {
let i = fa(!e.is_jav && t === "thumbnail" && e.has_thumb ? {
...e,
has_cover: !1
@@ -49738,7 +49751,7 @@ var oI = /* @__PURE__ */ new Map(), sI = (0, S.memo)(function({ item: e, image:
ref: a,
"data-media-pic": "",
style: { "--card-ratio": String(r) },
- children: /* @__PURE__ */ (0, C.jsx)(TF, {
+ children: /* @__PURE__ */ (0, C.jsx)(EF, {
artwork: i,
relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {
e.complete && e.naturalWidth && Gs(e);
@@ -49746,11 +49759,11 @@ var oI = /* @__PURE__ */ new Map(), sI = (0, S.memo)(function({ item: e, image:
})
});
});
-function gSe({ 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 _Se({ 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, S.useState)(() => {
- let e = oI.get(f);
+ let e = sI.get(f);
return e && (i || t || e.pool === p) ? e : void 0;
- }), [h] = (0, S.useState)(() => m?.exploration || new aSe()), g = (0, S.useRef)(!1), [_, v] = (0, S.useState)(null), y = (0, S.useRef)(null), b = (0, S.useRef)(null), x = (0, S.useRef)(null), w = (0, S.useRef)(null), T = (0, S.useRef)(null), [E, D] = (0, S.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [O, k] = (0, S.useState)(m?.selectedKey || ""), [A, j] = (0, S.useState)(m?.sourceId || null), [M, N] = (0, S.useState)(!1), P = E?.edition_group ? {
+ }), [h] = (0, S.useState)(() => m?.exploration || new oSe()), g = (0, S.useRef)(!1), [_, v] = (0, S.useState)(null), y = (0, S.useRef)(null), b = (0, S.useRef)(null), x = (0, S.useRef)(null), w = (0, S.useRef)(null), T = (0, S.useRef)(null), [E, D] = (0, S.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [O, k] = (0, S.useState)(m?.selectedKey || ""), [A, j] = (0, S.useState)(m?.sourceId || null), [M, N] = (0, S.useState)(!1), P = E?.edition_group ? {
kind: "editions",
seedId: E.edition_group.seed_id
} : E?.part_group ? {
@@ -49766,7 +49779,7 @@ function gSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
tagLabel: u.tagLabel,
mixRelated: async () => []
}, e)
- }), I = P ? F.data : void 0, ee = I?.items.find((e) => e.id === yD(I, A || E?.id || null)) || E, L = sSe(e.length, t && !!e.length, m?.camera || {
+ }), I = P ? F.data : void 0, ee = I?.items.find((e) => e.id === yD(I, A || E?.id || null)) || E, L = cSe(e.length, t && !!e.length, m?.camera || {
x: 0,
y: 0,
scale: innerWidth < 640 ? .68 : 1
@@ -49804,17 +49817,17 @@ function gSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
pool: p
};
let Ae = () => {
- Oe.current && (oI.delete(f), oI.set(f, {
+ Oe.current && (sI.delete(f), sI.set(f, {
...ke.current,
camera: L.snapshot(),
exploration: h
- }), oI.size > 8 && oI.delete(oI.keys().next().value));
+ }), sI.size > 8 && sI.delete(sI.keys().next().value));
};
(0, S.useLayoutEffect)(Ae);
- let je = iSe(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, L.view.camera, L.view.size), Me = i ? je.map((e) => ({
+ let je = aSe(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, L.view.camera, L.view.size), Me = i ? je.map((e) => ({
...e,
index: -1
- })) : t ? je : h.assign(je, e.length, n), Ne = E && (t ? $F(e.length, !0, O) : h.tile(O, e.length)), Pe = Ne ? eI(e.length, t, Ne) : /* @__PURE__ */ new Map();
+ })) : t ? je : h.assign(je, e.length, n), Ne = E && (t ? eI(e.length, !0, O) : h.tile(O, e.length)), Pe = Ne ? tI(e.length, t, Ne) : /* @__PURE__ */ new Map();
Ne && !Me.some((e) => e.key === Ne.key) && Me.push(Ne);
let Fe = (e = !1) => {
T.current?.abort(), T.current = null, w.current?.(e), w.current = null, oe(null), ue(!1);
@@ -49853,7 +49866,7 @@ function gSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
E?.id !== n.id && Fe(!1), Ee.current = {
key: r.key,
id: n.id
- }, fe(""), ce(null), D(n), k(r.key), j(null), N(!1), be(!1), L.reveal(eI(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));
+ }, fe(""), ce(null), D(n), k(r.key), j(null), N(!1), be(!1), L.reveal(tI(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));
}, Re = () => {
ee && y.current && (Ae(), Fe(!0), l.wallDetails?.(ee, y.current.querySelector("[data-wall-focus]") || y.current));
}, ze = async (e = ee) => {
@@ -49897,7 +49910,7 @@ function gSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
let r = L.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {
x: (L.view.size.width / 2 - r.x) / r.scale,
y: (L.view.size.height / 2 - r.y) / r.scale
- }, o = t ? tSe(e.length, i) : h.nearest(e.length, i, a);
+ }, o = t ? nSe(e.length, i) : h.nearest(e.length, i, a);
o && (Le(n, o), ce(n.id));
}, We = async () => {
if (!(r || g.current)) {
@@ -49989,7 +50002,7 @@ function gSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
/* @__PURE__ */ (0, C.jsx)("div", {
"data-wall-focus-backdrop": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, C.jsx)(sI, {
+ children: /* @__PURE__ */ (0, C.jsx)(cI, {
item: E,
image: we,
big: !0
@@ -49997,7 +50010,7 @@ function gSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
/* @__PURE__ */ (0, C.jsx)("div", {
"data-wall-scene": "",
- children: /* @__PURE__ */ (0, C.jsx)(sI, {
+ children: /* @__PURE__ */ (0, C.jsx)(cI, {
item: E,
image: we,
big: !0
@@ -50053,7 +50066,7 @@ function gSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
children: "重试"
}) : null]
}) : null,
- /* @__PURE__ */ (0, C.jsx)(dSe, {
+ /* @__PURE__ */ (0, C.jsx)(fSe, {
item: Ye,
playing: ae,
frame: b,
@@ -50075,7 +50088,7 @@ function gSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
ended: Be,
error: fe
}),
- M ? /* @__PURE__ */ (0, C.jsx)(pSe, {
+ M ? /* @__PURE__ */ (0, C.jsx)(mSe, {
items: Ve,
activeId: Ye.id,
kind: I?.kind || "wall",
@@ -50091,7 +50104,7 @@ function gSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
"data-refreshing": _ !== null || void 0,
hidden: Se,
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), M ? N(!1) : E ? Ie() : ye ? be(!1) : aI());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), M ? N(!1) : E ? Ie() : ye ? be(!1) : oI());
},
children: [
/* @__PURE__ */ (0, C.jsx)("button", {
@@ -50099,7 +50112,7 @@ function gSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
"data-wall-back": "",
"aria-label": "退出播放墙",
title: "返回",
- onClick: aI,
+ onClick: oI,
children: /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -50117,7 +50130,7 @@ function gSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}), /* @__PURE__ */ (0, C.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, C.jsx)(K, {
size: "small",
variant: "ghost",
- onClick: () => fk.push(hSe()),
+ onClick: () => fk.push(gSe()),
children: "清除筛选"
})]
}) : null,
@@ -50143,18 +50156,18 @@ function gSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
defaultValue: new URLSearchParams(location.search).get("q") || ""
})]
}),
- /* @__PURE__ */ (0, C.jsxs)(GP, {
+ /* @__PURE__ */ (0, C.jsxs)(KP, {
"aria-label": "播放墙图片",
value: we,
onChange: Te,
- className: KP,
- children: [/* @__PURE__ */ (0, C.jsx)(fN, {
+ className: qP,
+ children: [/* @__PURE__ */ (0, C.jsx)(hN, {
value: "cover",
- className: qP,
+ className: JP,
children: "封面"
- }), /* @__PURE__ */ (0, C.jsx)(fN, {
+ }), /* @__PURE__ */ (0, C.jsx)(hN, {
value: "thumbnail",
- className: qP,
+ className: JP,
children: "缩略图"
})]
}),
@@ -50246,7 +50259,7 @@ function gSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
},
whileHover: ie && !te && !r && ne ? { transform: `translateY(0px) scale(${(i.width + 12.16) / i.width},${(i.height + 12.16) / i.height})` } : void 0,
transition: te ? { duration: 0 } : {
- layout: cSe,
+ layout: lSe,
transform: a ? {
type: "spring",
stiffness: 360,
@@ -50279,7 +50292,7 @@ function gSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
!r && ["Enter", " "].includes(e.key) && (e.preventDefault(), Le(n, t, !1));
},
children: r ? Xe : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)(sI, {
+ /* @__PURE__ */ (0, C.jsx)(cI, {
item: n,
image: we,
ratio: i.width / i.height
@@ -50333,7 +50346,7 @@ function gSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}) : null,
!t && (n || e.length > 0) ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-wall-refresh": "",
- children: /* @__PURE__ */ (0, C.jsx)(vF, {
+ children: /* @__PURE__ */ (0, C.jsx)(yF, {
busy: r,
onPress: () => void Ke()
})
@@ -50380,36 +50393,36 @@ function gSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}
//#endregion
//#region src/react/library-processing/library-processing.ts
-var cI = "/api/library-processing", lI = ["library-processing"], uI = (e) => H(cI, e);
-async function dI(e) {
+var lI = "/api/library-processing", uI = ["library-processing"], dI = (e) => H(lI, e);
+async function fI(e) {
await W.fetchQuery({
- queryKey: lI,
- queryFn: () => uI(e)
+ queryKey: uI,
+ queryFn: () => dI(e)
});
}
-var _Se = 2e3, vSe = 1e4, fI = "连接中断,正在重新读取处理进度";
-function pI(e, t) {
- return e?.status === "running" ? _Se : t ? vSe : !1;
+var vSe = 2e3, ySe = 1e4, pI = "连接中断,正在重新读取处理进度";
+function mI(e, t) {
+ return e?.status === "running" ? vSe : t ? ySe : !1;
}
-var ySe = {
+var bSe = {
reading_local: "读取本地资料",
querying_metadata: "查询外部资料",
fetching_cover: "采集缺失封面",
generating_preview: "生成视频预览",
writing_candidates: "保存资料候选"
-}, mI = {
+}, hI = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
-function bSe(e) {
- let t = Object.entries(e).filter(([e, t]) => mI[e] && t > 0).map(([e, t]) => `${mI[e]} ${t.toLocaleString()} 部`);
+function xSe(e) {
+ let t = Object.entries(e).filter(([e, t]) => hI[e] && t > 0).map(([e, t]) => `${hI[e]} ${t.toLocaleString()} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
-function hI(e) {
- let t = ySe[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${IA(e.waited_seconds)}` : "";
+function gI(e) {
+ let t = bSe[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${IA(e.waited_seconds)}` : "";
return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;
}
-function xSe(e) {
+function SSe(e) {
let t = e.issue_preview || [];
return t.length ? {
label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
@@ -50423,62 +50436,62 @@ function xSe(e) {
log: e.issues_log || ""
} : null;
}
-var gI = "peach.library-processing.announced", SSe = 120;
-function CSe(e, t, n) {
+var _I = "peach.library-processing.announced", CSe = 120;
+function wSe(e, t, n) {
if (e.status !== "complete") return;
- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < SSe;
+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < CSe;
if (n || r) {
try {
- if (e.job_id && localStorage.getItem(gI) === e.job_id) return;
- e.job_id && localStorage.setItem(gI, e.job_id);
+ if (e.job_id && localStorage.getItem(_I) === e.job_id) return;
+ e.job_id && localStorage.setItem(_I, 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} 部视频预览` : ""));
}
}
//#endregion
//#region src/react/components/menu-dialog.tsx
-function _I(e) {
- let t = UP("hover");
- return /* @__PURE__ */ (0, C.jsx)(iN, {
+function vI(e) {
+ let t = WP("hover");
+ return /* @__PURE__ */ (0, C.jsx)(sN, {
...e,
ref: t
});
}
//#endregion
//#region src/react/library-processing/processing-actions.tsx
-var vI = {
+var yI = {
label: "补全资料与预览",
icon: Ck,
command: { stage: "collect" }
-}, yI = {
+}, bI = {
label: "只生成本地预览",
icon: Dk,
command: { stage: "previews" }
-}, bI = {
+}, xI = {
label: "只采集在线资料",
icon: tge,
command: { stage: "metadata" }
-}, wSe = [
+}, TSe = [
{
label: "扫描并补全资料",
icon: Ck,
command: {}
},
- vI,
+ yI,
{
label: "只扫描",
icon: Dk,
command: { stage: "scan" }
},
+ bI,
+ xI
+], ESe = [
yI,
- bI
-], TSe = [
- vI,
- yI,
- bI
+ bI,
+ xI
];
-function xI({ busy: e, scan: t = !1, onRun: n }) {
- let r = (0, S.useRef)(null), [i, a] = (0, S.useState)(!1), o = t ? wSe : TSe, s = o[0], c = (t) => {
+function SI({ busy: e, scan: t = !1, onRun: n }) {
+ let r = (0, S.useRef)(null), [i, a] = (0, S.useState)(!1), o = t ? TSe : ESe, s = o[0], c = (t) => {
e || (a(!1), n(t));
};
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("span", {
@@ -50502,19 +50515,19 @@ function xI({ busy: e, scan: t = !1, onRun: n }) {
e || a(!i);
}
})]
- }), /* @__PURE__ */ (0, C.jsx)(GM, {
+ }), /* @__PURE__ */ (0, C.jsx)(JM, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: bP,
- children: /* @__PURE__ */ (0, C.jsx)(_I, {
+ className: CP,
+ children: /* @__PURE__ */ (0, C.jsx)(vI, {
"aria-label": t ? "扫描与采集方式" : "资料与预览补全方式",
className: "flex w-56 flex-col gap-1 outline-none",
children: o.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
- className: eA(xP, SP, "text-body-2-medium"),
+ className: eA(wP, TP, "text-body-2-medium"),
onClick: () => c(n),
children: [/* @__PURE__ */ (0, C.jsx)(t, {
"aria-hidden": !0,
@@ -50526,27 +50539,27 @@ function xI({ busy: e, scan: t = !1, onRun: n }) {
}
//#endregion
//#region src/react/library-processing/library-completion.tsx
-function SI(e, t) {
+function CI(e, t) {
return [...new Set(e.filter((e) => (!e.medium || e.medium === "video") && !e.disposal && e.location !== "online" && (e.location === "local" || !!e.code) && !fa(e, "small", !1, t).html).map((e) => e.id))];
}
-function CI({ assetIds: e, onComplete: t }) {
- return e.length ? /* @__PURE__ */ (0, C.jsx)(ESe, {
+function wI({ assetIds: e, onComplete: t }) {
+ return e.length ? /* @__PURE__ */ (0, C.jsx)(DSe, {
assetIds: e,
onComplete: t
}) : null;
}
-function ESe({ assetIds: e, onComplete: t }) {
+function DSe({ assetIds: e, onComplete: t }) {
let n = pt({
- queryKey: lI,
- queryFn: ({ signal: e }) => uI(e),
- refetchInterval: (e) => pI(e.state.data, !0)
+ queryKey: uI,
+ queryFn: ({ signal: e }) => dI(e),
+ refetchInterval: (e) => mI(e.state.data, !0)
}), [r, i] = (0, S.useState)(null), [a, o] = (0, S.useState)(""), s = (0, S.useRef)(null), c = mt({
- mutationFn: (t) => U(cI, {
+ mutationFn: (t) => U(lI, {
...t,
asset_ids: e
}),
onSuccess: (e) => {
- i(e.job_id || null), W.setQueryData(lI, e), W.invalidateQueries({ queryKey: lI });
+ i(e.job_id || null), W.setQueryData(uI, e), W.invalidateQueries({ queryKey: uI });
}
}), l = n.data;
(0, S.useEffect)(() => {
@@ -50556,7 +50569,7 @@ function ESe({ assetIds: e, onComplete: t }) {
r,
t
]);
- let u = c.isPending || l?.status === "running", d = c.error ? V(c.error) : n.error ? fI : r && l?.job_id === r && l.status === "failed" ? l.error || "补全未完成" : "", f = d || (u ? c.isPending ? "正在启动补全…" : hI(l) : a || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,可补全封面与视频画面。`);
+ let u = c.isPending || l?.status === "running", d = c.error ? V(c.error) : n.error ? pI : r && l?.job_id === r && l.status === "failed" ? l.error || "补全未完成" : "", f = d || (u ? c.isPending ? "正在启动补全…" : gI(l) : a || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,可补全封面与视频画面。`);
return /* @__PURE__ */ (0, C.jsx)("section", {
"aria-label": "补全预览",
"aria-live": "polite",
@@ -50565,7 +50578,7 @@ function ESe({ assetIds: e, onComplete: t }) {
children: /* @__PURE__ */ (0, C.jsxs)(q, {
tone: d ? "warning" : "neutral",
actionLayout: "below",
- action: /* @__PURE__ */ (0, C.jsx)(xI, {
+ action: /* @__PURE__ */ (0, C.jsx)(SI, {
busy: u,
onRun: (e) => {
u || (o(""), c.mutate(e));
@@ -50586,32 +50599,32 @@ function ESe({ assetIds: e, onComplete: t }) {
}
//#endregion
//#region node_modules/@tanstack/react-table/dist/FlexRender.js
-function DSe(e) {
- return OSe(e) || typeof e == "function" || kSe(e);
-}
function OSe(e) {
+ return kSe(e) || typeof e == "function" || ASe(e);
+}
+function kSe(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function kSe(e) {
+function ASe(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function wI(e, t) {
- return e == null ? null : DSe(e) ? /* @__PURE__ */ S.createElement(e, t) : e;
+function TI(e, t) {
+ return e == null ? null : OSe(e) ? /* @__PURE__ */ S.createElement(e, t) : e;
}
-function ASe(e) {
+function jSe(e) {
if ("cell" in e && e.cell) {
let t = e.cell, n = t.column.columnDef, r = t, i = n;
- return r.getIsAggregated?.() ? wI(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : wI(n.cell, t.getContext());
+ return r.getIsAggregated?.() ? TI(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : TI(n.cell, t.getContext());
}
- return "header" in e && e.header ? wI(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? wI(e.footer.column.columnDef.footer, e.footer.getContext()) : null;
+ return "header" in e && e.header ? TI(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? TI(e.footer.column.columnDef.footer, e.footer.getContext()) : null;
}
//#endregion
//#region node_modules/@tanstack/store/dist/alien.js
/* @__NO_SIDE_EFFECTS__ */
-function jSe({ update: e, notify: t, unwatched: n }) {
+function MSe({ update: e, notify: t, unwatched: n }) {
return {
link: r,
unlink: i,
@@ -50729,7 +50742,7 @@ function jSe({ update: e, notify: t, unwatched: n }) {
}
//#endregion
//#region node_modules/@tanstack/store/dist/atom.js
-function MSe(e, t, n) {
+function NSe(e, t, n) {
let r = typeof e == "object", i = r ? e : void 0;
return {
next: (r ? e.next : e)?.bind(i),
@@ -50737,38 +50750,38 @@ function MSe(e, t, n) {
complete: (r ? e.complete : n)?.bind(i)
};
}
-var TI = [], EI = 0, { link: DI, unlink: NSe, propagate: PSe, checkDirty: OI, shallowPropagate: kI } = /* @__PURE__ */ jSe({
+var EI = [], DI = 0, { link: OI, unlink: PSe, propagate: FSe, checkDirty: kI, shallowPropagate: AI } = /* @__PURE__ */ MSe({
update(e) {
return e._update();
},
notify(e) {
- TI[jI++] = e, e.flags &= -3;
+ EI[MI++] = e, e.flags &= -3;
},
unwatched(e) {
- e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, PI(e));
+ e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, FI(e));
}
-}), AI = 0, jI = 0, MI, NI = 0;
-function FSe(e) {
+}), jI = 0, MI = 0, NI, PI = 0;
+function ISe(e) {
try {
- ++NI, e();
+ ++PI, e();
} finally {
- --NI || FI();
+ --PI || II();
}
}
-function PI(e) {
+function FI(e) {
let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;
- for (; n !== void 0;) n = NSe(n, e);
+ for (; n !== void 0;) n = PSe(n, e);
}
-function FI() {
- if (!(NI > 0)) {
- for (; AI < jI;) {
- let e = TI[AI];
- TI[AI++] = void 0, e.notify();
+function II() {
+ if (!(PI > 0)) {
+ for (; jI < MI;) {
+ let e = EI[jI];
+ EI[jI++] = void 0, e.notify();
}
- AI = 0, jI = 0;
+ jI = 0, MI = 0;
}
}
-function ISe(e, t) {
+function LSe(e, t) {
let n = typeof e == "function", r = e, i = {
_snapshot: n ? void 0 : e,
subs: void 0,
@@ -50777,53 +50790,53 @@ function ISe(e, t) {
depsTail: void 0,
flags: +!n,
get() {
- return MI !== void 0 && DI(i, MI, EI), i._snapshot;
+ return NI !== void 0 && OI(i, NI, DI), i._snapshot;
},
subscribe(e) {
- let t = MSe(e), n = { current: !1 }, r = LSe(() => {
- i.get(), n.current ? (MI = void 0, t.next?.(i._snapshot)) : n.current = !0;
+ let t = NSe(e), n = { current: !1 }, r = RSe(() => {
+ i.get(), n.current ? (NI = void 0, t.next?.(i._snapshot)) : n.current = !0;
});
return { unsubscribe: () => {
r.stop();
} };
},
_update(e) {
- let a = MI, o = t?.compare ?? Object.is;
- if (n) MI = i, ++EI, i.depsTail = void 0;
+ let a = NI, o = t?.compare ?? Object.is;
+ if (n) NI = i, ++DI, 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 {
- MI = a, n && (i.flags &= -5), PI(i);
+ NI = a, n && (i.flags &= -5), FI(i);
}
}
};
return n ? (i.flags = 17, i.get = function() {
let e = i.flags;
- if (e & 16 || e & 32 && OI(i.deps, i)) {
+ if (e & 16 || e & 32 && kI(i.deps, i)) {
if (i._update()) {
let e = i.subs;
- e !== void 0 && kI(e);
+ e !== void 0 && AI(e);
}
} else e & 32 && (i.flags = e & -33);
- return MI !== void 0 && DI(i, MI, EI), i._snapshot;
+ return NI !== void 0 && OI(i, NI, DI), i._snapshot;
}) : i.set = function(e) {
if (i._update(e)) {
let e = i.subs;
- e !== void 0 && (PSe(e), kI(e), FI());
+ e !== void 0 && (FSe(e), AI(e), II());
}
}, i;
}
-function LSe(e) {
+function RSe(e) {
let t = () => {
- let t = MI;
- MI = n, ++EI, n.depsTail = void 0, n.flags = 6;
+ let t = NI;
+ NI = n, ++DI, n.depsTail = void 0, n.flags = 6;
try {
return e();
} finally {
- MI = t, n.flags &= -5, PI(n);
+ NI = t, n.flags &= -5, FI(n);
}
}, n = {
deps: void 0,
@@ -50833,17 +50846,17 @@ function LSe(e) {
flags: 6,
notify() {
let e = this.flags;
- e & 16 || e & 32 && OI(this.deps, this) ? t() : this.flags = 2;
+ e & 16 || e & 32 && kI(this.deps, this) ? t() : this.flags = 2;
},
stop() {
- this.flags = 0, this.depsTail = void 0, PI(this);
+ this.flags = 0, this.depsTail = void 0, FI(this);
}
};
return t(), n;
}
//#endregion
//#region node_modules/@tanstack/store/dist/shallow.js
-function II(e, t) {
+function LI(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) {
@@ -50857,17 +50870,17 @@ function II(e, t) {
return !0;
}
if (e instanceof Date && t instanceof Date) return e.getTime() === t.getTime();
- let n = LI(e);
- if (n.length !== LI(t).length) return !1;
+ let n = RI(e);
+ if (n.length !== RI(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 LI(e) {
+function RI(e) {
return Object.keys(e).concat(Object.getOwnPropertySymbols(e));
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var RSe = /* @__PURE__ */ o(((e) => {
+var zSe = /* @__PURE__ */ o(((e) => {
var t = p(), n = Zv();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -50912,28 +50925,28 @@ var RSe = /* @__PURE__ */ o(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), RI = (/* @__PURE__ */ o(((e, t) => {
- t.exports = RSe();
+})), zI = (/* @__PURE__ */ o(((e, t) => {
+ t.exports = zSe();
})))();
-function zSe(e, t) {
+function BSe(e, t) {
return e === t;
}
-function zI(e, t = (e) => e, n) {
- let r = n?.compare ?? zSe, i = (0, S.useCallback)((t) => {
+function BI(e, t = (e) => e, n) {
+ let r = n?.compare ?? BSe, i = (0, S.useCallback)((t) => {
let { unsubscribe: n } = e.subscribe(t);
return n;
}, [e]), a = (0, S.useCallback)(() => e.get(), [e]);
- return (0, RI.useSyncExternalStoreWithSelector)(i, a, a, t, r);
+ return (0, zI.useSyncExternalStoreWithSelector)(i, a, a, t, r);
}
//#endregion
//#region node_modules/@tanstack/react-table/dist/Subscribe.js
-function BSe(e) {
- let t = zI(e.source, e.selector, { compare: II });
+function VSe(e) {
+ let t = BI(e.source, e.selector, { compare: LI });
return typeof e.children == "function" ? e.children(t) : e.children;
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.utils.js
-function VSe(e) {
+function HSe(e) {
let t = e;
return Object.defineProperty(e, "state", { get() {
return e.get();
@@ -50941,7 +50954,7 @@ function VSe(e) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/reactivity/renderPhaseReactivity.js
-function HSe(e) {
+function USe(e) {
let { createAtom: t, batch: n } = e, r = t(0);
return {
createOptionsStore: !1,
@@ -50971,7 +50984,7 @@ function HSe(e) {
}
};
}
-function USe(e, t = Object.is) {
+function WSe(e, t = Object.is) {
let n = !1, r;
return {
get: e.get,
@@ -50985,29 +50998,29 @@ function USe(e, t = Object.is) {
}
//#endregion
//#region node_modules/@tanstack/react-table/dist/reactivity.js
-function WSe() {
- return HSe({
- createAtom: ISe,
- batch: FSe
+function GSe() {
+ return USe({
+ createAtom: LSe,
+ batch: ISe
});
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/utils.js
-function BI(e, t) {
+function VI(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function VI(e) {
- if (Array.isArray(e)) return e.map(VI);
+function HI(e) {
+ if (Array.isArray(e)) return e.map(HI);
if (e && typeof e == "object") {
let t = Object.getPrototypeOf(e);
if (t !== Object.prototype && t !== null) return e;
- let n = t === null ? UI() : {}, r = Object.keys(e);
+ let n = t === null ? WI() : {}, 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: VI(e[i]),
+ value: HI(e[i]),
writable: !0
});
}
@@ -51015,7 +51028,7 @@ function VI(e) {
}
return e;
}
-function HI(e, t) {
+function UI(e, t) {
let n = Object.keys(t), r = e;
for (let e = 0; e < n.length; e++) {
let i = n[e];
@@ -51023,53 +51036,53 @@ function HI(e, t) {
}
return e;
}
-function UI() {
+function WI() {
return Object.create(null);
}
-function WI(e, t) {
+function GI(e, t) {
return Object.prototype.hasOwnProperty.call(e, t);
}
-function GI(e, t) {
+function KI(e, t) {
return (n) => {
- (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => BI(n, e));
+ (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => VI(n, e));
};
}
-function KI(e) {
+function qI(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 qI(e) {
+function JI(e) {
return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
-var GSe = 3;
-function KSe(e, t) {
- return JI(e, t, GSe);
+var KSe = 3;
+function qSe(e, t) {
+ return YI(e, t, KSe);
}
-function JI(e, t, n) {
+function YI(e, t, n) {
if (Object.is(e, t)) return !0;
- if (n <= 0 || !KI(e) || !KI(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;
- let r = qI(e), i = qI(t);
+ if (n <= 0 || !qI(e) || !qI(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;
+ let r = JI(e), i = JI(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) || !JI(a[i], o[i], n - 1)) return !1;
+ if (!Object.prototype.propertyIsEnumerable.call(t, i) || !YI(a[i], o[i], n - 1)) return !1;
}
return !0;
}
-function YI(e, t, n, r = KSe) {
+function XI(e, t, n, r = qSe) {
let i = `on${t.charAt(0).toUpperCase()}${t.slice(1)}Change`, a = e.options[i];
a && a((e) => {
- let t = BI(n, e);
+ let t = VI(n, e);
return r(e, t) ? e : t;
});
}
-function qSe(e) {
+function JSe(e) {
return e instanceof Function;
}
-function JSe(e, t) {
+function YSe(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -51079,7 +51092,7 @@ function JSe(e, t) {
};
return r(e), n;
}
-var YSe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {
+var XSe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {
let o = [], s;
return (c) => {
i?.();
@@ -51093,23 +51106,23 @@ var YSe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCo
return n?.(u), u && (o = l, a?.(), s = e(...l ?? []), r?.(s)), s;
};
};
-function XI(e) {
+function ZI(e) {
let t = !1;
return () => {
t ? e() : t = !0;
};
}
-function ZI({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {
+function QI({ 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 YSe({
+ return XSe({
...a,
...o
});
}
-function QI(e, t = "_") {
+function $I(e, t = "_") {
let [n, r] = e.replace(t, " ").split(" ");
return {
fnKey: r,
@@ -51117,10 +51130,10 @@ function QI(e, t = "_") {
parentName: n
};
}
-function $I(e, t, n) {
+function eL(e, t, n) {
for (let [r, { fn: i, memoDeps: a }] of Object.entries(n)) {
- let { fnKey: n, fnName: o } = QI(r);
- t[n] = a ? ZI({
+ let { fnKey: n, fnName: o } = $I(r);
+ t[n] = a ? QI({
memoDeps: a,
fn: i,
fnName: o,
@@ -51129,15 +51142,15 @@ function $I(e, t, n) {
}) : i;
}
}
-function eL(e, t, n, r) {
+function tL(e, t, n, r) {
for (let [i, { fn: a, memoDeps: o }] of Object.entries(r)) {
- let { fnKey: r, fnName: s } = QI(i);
+ let { fnKey: r, fnName: s } = $I(i);
if (o) {
let i = `_memo_${r}`;
t[r] = function(...t) {
if (!this[i]) {
let t = this;
- this[i] = ZI({
+ this[i] = QI({
memoDeps: (e) => o(t, e),
fn: (...e) => a(t, ...e),
fnName: s,
@@ -51153,18 +51166,18 @@ function eL(e, t, n, r) {
};
}
}
-function tL(e, t, n, ...r) {
+function nL(e, t, n, ...r) {
return e[t]?.(...r) ?? n(e, ...r);
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.utils.js
-function XSe(e) {
+function ZSe(e) {
return e.row.getValue(e.column.id);
}
-function ZSe(e) {
+function QSe(e) {
return e.getValue() ?? e.table.options.renderFallbackValue;
}
-function QSe(e) {
+function $Se(e) {
return {
table: e.table,
column: e.column,
@@ -51176,19 +51189,19 @@ function QSe(e) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.js
-var $Se = { assignCellPrototype: (e, t) => {
- eL("coreCellsFeature", e, t, {
- cell_getValue: { fn: (e) => XSe(e) },
- cell_renderValue: { fn: (e) => ZSe(e) },
+var eCe = { assignCellPrototype: (e, t) => {
+ tL("coreCellsFeature", e, t, {
+ cell_getValue: { fn: (e) => ZSe(e) },
+ cell_renderValue: { fn: (e) => QSe(e) },
cell_getContext: {
- fn: (e) => QSe(e),
+ fn: (e) => $Se(e),
memoDeps: (e) => [e]
}
});
} };
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/columns/constructColumn.js
-function eCe(e) {
+function tCe(e) {
if (!e._columnPrototype) {
e._columnPrototype = { table: e };
let t = Object.values(e._features);
@@ -51196,7 +51209,7 @@ function eCe(e) {
}
return e._columnPrototype;
}
-function tCe(e, t, n, r) {
+function nCe(e, t, n, r) {
let i = {
...e.getDefaultColumnDef(),
...t
@@ -51216,7 +51229,7 @@ function tCe(e, t, n, r) {
} else c = (e) => e[i.accessorKey];
}
if (!s) throw Error();
- let l = eCe(e), u = Object.create(l);
+ let l = tCe(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);
@@ -51224,47 +51237,47 @@ function tCe(e, t, n, r) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/featureStubs.js
-function nL(e) {
+function rL(e) {
return e.getIsVisible?.() ?? !0;
}
-function nCe(e) {
+function rCe(e) {
return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();
}
-function rL(e, t) {
+function iL(e, t) {
let n = e, r = t;
return n.getOrderColumnsFn?.()(r) ?? n._orderGroupedColumns?.(r) ?? t;
}
-function rCe(e, t, n, r) {
+function iCe(e, t, n, r) {
return e._orderByColumnPinning?.(t, n, r) ?? t;
}
-function iL(e, t) {
+function aL(e, t) {
return e._expandRows?.(t) ?? t;
}
-function iCe(e) {
+function aCe(e) {
e.autoResetExpanded?.();
}
-function aL(e) {
+function oL(e) {
e.autoResetPageIndex?.();
}
-function aCe(e) {
+function oCe(e) {
e.autoResetSorting?.();
}
-function oCe(e) {
+function sCe(e) {
e.autoResetCellSelection?.();
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.utils.js
-function sCe(e) {
+function cCe(e) {
return [e, ...e.columns.flatMap((e) => e.getFlatColumns())];
}
-function cCe(e) {
+function lCe(e) {
if (e.columns.length) {
let t = e.columns.flatMap((e) => e.getLeafColumns());
- return rL(e.table, t);
+ return iL(e.table, t);
}
return [e];
}
-function lCe(e) {
+function uCe(e) {
return {
header: (e) => {
let t = e.header.column.columnDef;
@@ -51275,54 +51288,54 @@ function lCe(e) {
...e.options.defaultColumn
};
}
-function oL(e, t, n, r = 0) {
+function sL(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 = tCe(e, o, r, n), c = o;
- s.columns = c.columns ? oL(e, c.columns, s, r + 1) : [], i[a] = s;
+ let o = t[a], s = nCe(e, o, r, n), c = o;
+ s.columns = c.columns ? sL(e, c.columns, s, r + 1) : [], i[a] = s;
}
return i;
}
-function uCe(e) {
- return oL(e, e.options.columns);
-}
function dCe(e) {
- return e.getAllColumns().flatMap((e) => e.getFlatColumns());
+ return sL(e, e.options.columns);
}
function fCe(e) {
- let t = UI(), n = e.getAllFlatColumns();
+ return e.getAllColumns().flatMap((e) => e.getFlatColumns());
+}
+function pCe(e) {
+ let t = WI(), n = e.getAllFlatColumns();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.id] = r;
}
return t;
}
-function pCe(e) {
- return rL(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));
-}
function mCe(e) {
- let t = UI(), n = e.getAllLeafColumns();
+ return iL(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));
+}
+function hCe(e) {
+ let t = WI(), n = e.getAllLeafColumns();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.id] = r;
}
return t;
}
-function hCe(e, t) {
+function gCe(e, t) {
return e.getAllFlatColumnsById()[t];
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.js
-var gCe = {
+var _Ce = {
assignColumnPrototype: (e, t) => {
- eL("coreColumnsFeature", e, t, {
+ tL("coreColumnsFeature", e, t, {
column_getFlatColumns: {
- fn: (e) => sCe(e),
+ fn: (e) => cCe(e),
memoDeps: (e) => [e.table.options.columns]
},
column_getLeafColumns: {
- fn: (e) => cCe(e),
+ fn: (e) => lCe(e),
memoDeps: (e) => [
e.table.atoms.columnOrder?.get(),
e.table.atoms.grouping?.get(),
@@ -51333,25 +51346,25 @@ var gCe = {
});
},
constructTableAPIs: (e) => {
- $I("coreColumnsFeature", e, {
+ eL("coreColumnsFeature", e, {
table_getDefaultColumnDef: {
- fn: () => lCe(e),
+ fn: () => uCe(e),
memoDeps: () => [e.options.defaultColumn]
},
table_getAllColumns: {
- fn: () => uCe(e),
+ fn: () => dCe(e),
memoDeps: () => [e.options.columns]
},
table_getAllFlatColumns: {
- fn: () => dCe(e),
+ fn: () => fCe(e),
memoDeps: () => [e.options.columns]
},
table_getAllFlatColumnsById: {
- fn: () => fCe(e),
+ fn: () => pCe(e),
memoDeps: () => [e.options.columns]
},
table_getAllLeafColumns: {
- fn: () => pCe(e),
+ fn: () => mCe(e),
memoDeps: () => [
e.atoms.columnOrder?.get(),
e.atoms.grouping?.get(),
@@ -51360,16 +51373,16 @@ var gCe = {
]
},
table_getAllLeafColumnsById: {
- fn: () => mCe(e),
+ fn: () => hCe(e),
memoDeps: () => [e.getAllLeafColumns()]
},
- table_getColumn: { fn: (t) => hCe(e, t) }
+ table_getColumn: { fn: (t) => gCe(e, t) }
});
}
};
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/headers/constructHeader.js
-function _Ce(e) {
+function vCe(e) {
if (!e._headerPrototype) {
e._headerPrototype = { table: e };
let t = Object.values(e._features);
@@ -51377,8 +51390,8 @@ function _Ce(e) {
}
return e._headerPrototype;
}
-function sL(e, t, n) {
- let r = _Ce(e), i = Object.create(r);
+function cL(e, t, n) {
+ let r = vCe(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);
@@ -51386,30 +51399,30 @@ function sL(e, t, n) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/headers/buildHeaderGroups.js
-function cL(e, t = 1) {
+function lL(e, t = 1) {
let n = t;
for (let r = 0; r < e.length; r++) {
let i = e[r];
- nL(i) && i.columns.length && (n = Math.max(n, cL(i.columns, t + 1)));
+ rL(i) && i.columns.length && (n = Math.max(n, lL(i.columns, t + 1)));
}
return n;
}
-function vCe(e, t) {
+function yCe(e, t) {
return e ? `${e}_${t}` : String(t);
}
-function yCe(e, t, n, r) {
+function bCe(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 bCe(e, t) {
+function xCe(e, t) {
let n = 0;
for (let r = 0; r < e.length; r++) e[r].column === t && n++;
return n;
}
-function lL(e, t, n, r, i, a) {
+function uL(e, t, n, r, i, a) {
let o = {
depth: t,
- id: vCe(r, t),
+ id: yCe(r, t),
headers: []
}, s = [];
for (let i = 0; i < e.length; i++) {
@@ -51417,10 +51430,10 @@ function lL(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 = sL(n, u, {
- id: yCe(r, t, u.id, a.id),
+ let e = cL(n, u, {
+ id: bCe(r, t, u.id, a.id),
isPlaceholder: d,
- placeholderId: d ? String(bCe(s, u)) : void 0,
+ placeholderId: d ? String(xCe(s, u)) : void 0,
depth: t,
index: s.length
});
@@ -51429,18 +51442,18 @@ function lL(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 && lL(s, t - 1, n, r, i, a);
+ i.push(o), t > 0 && uL(s, t - 1, n, r, i, a);
}
-function uL(e) {
+function dL(e) {
for (let t = 0; t < e.length; t++) {
let n = e[t];
- if (!nL(n.column)) continue;
+ if (!rL(n.column)) continue;
let r = 0;
if (n.subHeaders.length) {
- uL(n.subHeaders);
+ dL(n.subHeaders);
for (let e = 0; e < n.subHeaders.length; e++) {
let t = n.subHeaders[e];
- nL(t.column) && (r += t.colSpan);
+ rL(t.column) && (r += t.colSpan);
}
} else r = 1;
if (n.colSpan = r, n.isPlaceholder && n.subHeaders.length === 1 && n.subHeaders[0].column === n.column) {
@@ -51450,38 +51463,38 @@ function uL(e) {
} else n.rowSpan = 1;
}
}
-function xCe(e, t, n, r) {
- let i = cL(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);
- for (let e = 0; e < t.length; e++) e in t && (s[e] = sL(n, t[e], {
+function SCe(e, t, n, r) {
+ let i = lL(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);
+ for (let e = 0; e < t.length; e++) e in t && (s[e] = cL(n, t[e], {
depth: i,
index: e
}));
- return lL(s, i - 1, n, r, a, o), a.reverse(), uL(a[0]?.headers ?? []), a;
+ return uL(s, i - 1, n, r, a, o), a.reverse(), dL(a[0]?.headers ?? []), a;
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.utils.js
-function dL(e, t) {
- for (let n = 0; n < e.subHeaders.length; n++) dL(e.subHeaders[n], t);
+function fL(e, t) {
+ for (let n = 0; n < e.subHeaders.length; n++) fL(e.subHeaders[n], t);
t.push(e);
}
-function SCe(e) {
+function CCe(e) {
let t = [];
- return dL(e, t), t;
+ return fL(e, t), t;
}
-function CCe(e) {
+function wCe(e) {
return {
column: e.column,
header: e,
table: e.column.table
};
}
-function wCe(e) {
- return xCe(e.getAllColumns(), rCe(e, nCe(e), (e) => e.id), e);
-}
function TCe(e) {
- return [...e.getHeaderGroups()].reverse();
+ return SCe(e.getAllColumns(), iCe(e, rCe(e), (e) => e.id), e);
}
function ECe(e) {
+ return [...e.getHeaderGroups()].reverse();
+}
+function DCe(e) {
let t = e.getHeaderGroups(), n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e].headers;
@@ -51489,7 +51502,7 @@ function ECe(e) {
}
return n;
}
-function DCe(e) {
+function OCe(e) {
let t = e.getHeaderGroups()[0]?.headers ?? [], n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e].getLeafHeaders();
@@ -51499,23 +51512,23 @@ function DCe(e) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.js
-var OCe = {
+var kCe = {
assignHeaderPrototype: (e, t) => {
- eL("coreHeadersFeature", e, t, {
+ tL("coreHeadersFeature", e, t, {
header_getLeafHeaders: {
- fn: (e) => SCe(e),
+ fn: (e) => CCe(e),
memoDeps: (e) => [e.column.table.options.columns]
},
header_getContext: {
- fn: (e) => CCe(e),
+ fn: (e) => wCe(e),
memoDeps: (e) => [e.column.table.options.columns]
}
});
},
constructTableAPIs: (e) => {
- $I("coreHeadersFeature", e, {
+ eL("coreHeadersFeature", e, {
table_getHeaderGroups: {
- fn: () => wCe(e),
+ fn: () => TCe(e),
memoDeps: () => [
e.options.columns,
e.atoms.columnOrder?.get(),
@@ -51526,15 +51539,15 @@ var OCe = {
]
},
table_getFooterGroups: {
- fn: () => TCe(e),
+ fn: () => ECe(e),
memoDeps: () => [e.getHeaderGroups()]
},
table_getFlatHeaders: {
- fn: () => ECe(e),
+ fn: () => DCe(e),
memoDeps: () => [e.getHeaderGroups()]
},
table_getLeafHeaders: {
- fn: () => DCe(e),
+ fn: () => OCe(e),
memoDeps: () => [e.getHeaderGroups()]
}
});
@@ -51542,7 +51555,7 @@ var OCe = {
};
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/rows/constructRow.js
-function kCe(e) {
+function ACe(e) {
if (!e._rowPrototype) {
e._rowPrototype = { table: e };
let t = Object.values(e._features);
@@ -51550,102 +51563,102 @@ function kCe(e) {
}
return e._rowPrototype;
}
-var ACe = (e, t, n, r, i, a, o) => {
- let s = kCe(e), c = Object.create(s);
- c._displayIndexCache = -1, c._uniqueValuesCache = UI(), c._valuesCache = UI(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];
+var jCe = (e, t, n, r, i, a, o) => {
+ let s = ACe(e), c = Object.create(s);
+ c._displayIndexCache = -1, c._uniqueValuesCache = WI(), c._valuesCache = WI(), 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;
};
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/row-models/createCoreRowModel.js
-function jCe() {
- return (e) => ZI({
+function MCe() {
+ return (e) => QI({
feature: "coreRowModelsFeature",
table: e,
fnName: "table.getCoreRowModel",
memoDeps: () => [e.options.data],
- fn: () => MCe(e, e.options.data),
- onAfterUpdate: XI(() => {
- iCe(e), aL(e), aCe(e), oCe(e);
+ fn: () => NCe(e, e.options.data),
+ onAfterUpdate: ZI(() => {
+ aCe(e), oL(e), oCe(e), sCe(e);
})
});
}
-function fL(e, t, n, r = 0, i) {
+function pL(e, t, n, r = 0, i) {
let a = [];
for (let o = 0; o < n.length; o++) {
- let s = n[o], c = ACe(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 = fL(e, t, c.originalSubRows, r + 1, c)));
+ let s = n[o], c = jCe(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 = pL(e, t, c.originalSubRows, r + 1, c)));
}
return a;
}
-function MCe(e, t) {
+function NCe(e, t) {
let n = {
rows: [],
flatRows: [],
- rowsById: UI()
+ rowsById: WI()
};
- return n.rows = fL(e, n, t), n;
+ return n.rows = pL(e, n, t), n;
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.js
-function NCe(e) {
- return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? jCe()(e)), e._rowModels.coreRowModel();
-}
function PCe(e) {
- return e.getCoreRowModel();
+ return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? MCe()(e)), e._rowModels.coreRowModel();
}
function FCe(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 ICe(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 LCe(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 RCe(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 zCe(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 BCe(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 VCe(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 HCe(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 UCe(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 WCe(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 GCe(e) {
return e.getPaginatedRowModel();
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.js
-var GCe = { constructTableAPIs: (e) => {
- $I("coreRowModelsFeature", e, {
- table_getCoreRowModel: { fn: () => NCe(e) },
- table_getPreFilteredRowModel: { fn: () => PCe(e) },
- table_getFilteredRowModel: { fn: () => FCe(e) },
- table_getPreGroupedRowModel: { fn: () => ICe(e) },
- table_getGroupedRowModel: { fn: () => LCe(e) },
- table_getPreSortedRowModel: { fn: () => RCe(e) },
- table_getSortedRowModel: { fn: () => zCe(e) },
- table_getPreExpandedRowModel: { fn: () => BCe(e) },
- table_getExpandedRowModel: { fn: () => VCe(e) },
- table_getPrePaginatedRowModel: { fn: () => HCe(e) },
- table_getPaginatedRowModel: { fn: () => UCe(e) },
- table_getRowModel: { fn: () => WCe(e) }
+var KCe = { constructTableAPIs: (e) => {
+ eL("coreRowModelsFeature", e, {
+ table_getCoreRowModel: { fn: () => PCe(e) },
+ table_getPreFilteredRowModel: { fn: () => FCe(e) },
+ table_getFilteredRowModel: { fn: () => ICe(e) },
+ table_getPreGroupedRowModel: { fn: () => LCe(e) },
+ table_getGroupedRowModel: { fn: () => RCe(e) },
+ table_getPreSortedRowModel: { fn: () => zCe(e) },
+ table_getSortedRowModel: { fn: () => BCe(e) },
+ table_getPreExpandedRowModel: { fn: () => VCe(e) },
+ table_getExpandedRowModel: { fn: () => HCe(e) },
+ table_getPrePaginatedRowModel: { fn: () => UCe(e) },
+ table_getPaginatedRowModel: { fn: () => WCe(e) },
+ table_getRowModel: { fn: () => GCe(e) }
});
} };
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/cells/constructCell.js
-function KCe(e) {
+function qCe(e) {
if (!e._cellPrototype) {
e._cellPrototype = { table: e };
let t = Object.values(e._features);
@@ -51653,8 +51666,8 @@ function KCe(e) {
}
return e._cellPrototype;
}
-function qCe(e, t, n) {
- let r = KCe(n), i = Object.create(r);
+function JCe(e, t, n) {
+ let r = qCe(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);
@@ -51662,40 +51675,40 @@ function qCe(e, t, n) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.utils.js
-function JCe(e) {
+function YCe(e) {
let t = e.table.getRowsInDisplayOrder(), n = e._displayIndexCache;
return t[n] === e ? n : -1;
}
-function YCe(e) {
- let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? iL(e, t).rows : t.rows;
+function XCe(e) {
+ let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? aL(e, t).rows : t.rows;
for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;
return n;
}
-function XCe(e, t) {
- if (WI(e._valuesCache, t)) return e._valuesCache[t];
+function ZCe(e, t) {
+ if (GI(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 ZCe(e, t) {
- if (WI(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];
+function QCe(e, t) {
+ if (GI(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 QCe(e, t) {
+function $Ce(e, t) {
return e.getValue(t) ?? e.table.options.renderFallbackValue;
}
-function $Ce(e) {
- return JSe(e.subRows, (e) => e.subRows);
-}
function ewe(e) {
+ return YSe(e.subRows, (e) => e.subRows);
+}
+function twe(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 twe(e) {
+function nwe(e) {
if (e.parentId) return e.table.getCoreRowModel().rowsById[e.parentId] ?? e.table.getRow(e.parentId, !0);
}
-function nwe(e) {
+function rwe(e) {
let t = [], n = e;
for (;;) {
let e = n.getParentRow();
@@ -51704,71 +51717,71 @@ function nwe(e) {
}
return t.reverse();
}
-function rwe(e) {
+function iwe(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 = qCe(a, e, e.table), n.set(a, o)), r[i] = o;
+ o || (o = JCe(a, e, e.table), n.set(a, o)), r[i] = o;
}
return r;
}
-function iwe(e) {
- let t = UI(), n = e.getAllCells();
+function awe(e) {
+ let t = WI(), n = e.getAllCells();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.column.id] = r;
}
return t;
}
-function awe(e, t, n, r) {
+function owe(e, t, n, r) {
return t.options.getRowId?.(e, n, r) ?? (r ? `${r.id}.${n}` : String(n));
}
-function owe(e, t, n) {
+function swe(e, t, n) {
let r = (n ? e.getPrePaginatedRowModel() : e.getRowModel()).rowsById[t];
if (!r && (r = e.getCoreRowModel().rowsById[t], !r)) throw Error();
return r;
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.js
-var swe = {
+var cwe = {
assignRowPrototype: (e, t) => {
- eL("coreRowsFeature", e, t, {
- row_getDisplayIndex: { fn: (e) => JCe(e) },
+ tL("coreRowsFeature", e, t, {
+ row_getDisplayIndex: { fn: (e) => YCe(e) },
row_getAllCellsByColumnId: {
- fn: (e) => iwe(e),
+ fn: (e) => awe(e),
memoDeps: (e) => [e.getAllCells()]
},
row_getAllCells: {
- fn: (e) => rwe(e),
+ fn: (e) => iwe(e),
memoDeps: (e) => [e.table.getAllLeafColumns()]
},
row_getLeafRows: {
- fn: (e) => $Ce(e),
+ fn: (e) => ewe(e),
memoDeps: (e) => [e.subRows]
},
- row_getParentRow: { fn: (e) => twe(e) },
- row_getParentRows: { fn: (e) => nwe(e) },
- row_getUniqueValues: { fn: (e, t) => ZCe(e, t) },
- row_getValue: { fn: (e, t) => XCe(e, t) },
- row_renderValue: { fn: (e, t) => QCe(e, t) }
+ row_getParentRow: { fn: (e) => nwe(e) },
+ row_getParentRows: { fn: (e) => rwe(e) },
+ row_getUniqueValues: { fn: (e, t) => QCe(e, t) },
+ row_getValue: { fn: (e, t) => ZCe(e, t) },
+ row_renderValue: { fn: (e, t) => $Ce(e, t) }
});
},
constructTableAPIs: (e) => {
- $I("coreRowsFeature", e, {
+ eL("coreRowsFeature", e, {
table_getRowsInDisplayOrder: {
- fn: () => YCe(e),
+ fn: () => XCe(e),
memoDeps: () => [
e.getPrePaginatedRowModel().rows,
e.options.paginateExpandedRows,
e.options.paginateExpandedRows === !1 ? e.atoms.expanded?.get() : void 0
]
},
- table_getRowId: { fn: (t, n, r) => awe(t, e, n, r) },
- table_getRow: { fn: (t, n) => owe(e, t, n) },
+ table_getRowId: { fn: (t, n, r) => owe(t, e, n, r) },
+ table_getRow: { fn: (t, n) => swe(e, t, n) },
table_getMaxSubRowDepth: {
- fn: () => ewe(e),
+ fn: () => twe(e),
memoDeps: () => [e.getCoreRowModel()]
}
});
@@ -51776,7 +51789,7 @@ var swe = {
};
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/table/coreTablesFeature.utils.js
-function pL(e, t, n = (e, t) => e === t) {
+function mL(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) {
@@ -51787,13 +51800,13 @@ function pL(e, t, n = (e, t) => e === t) {
}
});
}
-function mL(e, t, n = (e, t) => e === t) {
+function hL(e, t, n = (e, t) => e === t) {
e._reactivity.batch(() => {
- pL(e, t, n), e._reactivity.commit?.();
+ mL(e, t, n), e._reactivity.commit?.();
});
}
-function cwe(e) {
- let t = VI(e.initialState);
+function lwe(e) {
+ let t = HI(e.initialState);
e._reactivity.batch(() => {
let n = Object.keys(t);
for (let r = 0; r < n.length; r++) {
@@ -51804,7 +51817,7 @@ function cwe(e) {
let n = Object.values(e._features);
for (let t = 0; t < n.length; t++) n[t].resetTableInstanceData?.(e);
}
-function lwe(e, t) {
+function uwe(e, t) {
let { features: n, atoms: r, initialState: i } = e.options;
if (!e.options.mergeOptions) return {
...e.options,
@@ -51836,28 +51849,28 @@ function lwe(e, t) {
}
});
}
-function hL(e, t, n) {
- let r = lwe(e, BI(t, e.options));
- e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && mL(e, r.state ?? null);
+function gL(e, t, n) {
+ let r = uwe(e, VI(t, e.options));
+ e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && hL(e, r.state ?? null);
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/coreFeatures.js
-var uwe = {
- coreCellsFeature: $Se,
- coreColumnsFeature: gCe,
- coreHeadersFeature: OCe,
- coreRowModelsFeature: GCe,
- coreRowsFeature: swe,
+var dwe = {
+ coreCellsFeature: eCe,
+ coreColumnsFeature: _Ce,
+ coreHeadersFeature: kCe,
+ coreRowModelsFeature: KCe,
+ coreRowsFeature: cwe,
coreTablesFeature: { constructTableAPIs: (e) => {
- $I("coreTablesFeature", e, {
- table_reset: { fn: () => cwe(e) },
- table_setOptions: { fn: (t) => hL(e, t) }
+ eL("coreTablesFeature", e, {
+ table_reset: { fn: () => lwe(e) },
+ table_setOptions: { fn: (t) => gL(e, t) }
});
} }
};
//#endregion
//#region node_modules/@tanstack/table-core/dist/helpers/columnHelper.js
-function gL() {
+function _L() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -51873,22 +51886,22 @@ function gL() {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/helpers/tableFeatures.js
-function _L(e) {
+function vL(e) {
return e;
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/table/constructTable.js
-function dwe(e, t = {}) {
+function fwe(e, t = {}) {
return Object.values(e).forEach((e) => {
t = e.getInitialState?.(t) ?? t;
- }), VI(t);
+ }), HI(t);
}
-function fwe(e) {
+function pwe(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: {
- ...uwe,
+ ...dwe,
..._
},
_headerGroupInstanceInitFns: [],
@@ -51926,7 +51939,7 @@ function fwe(e) {
set(e) {
v.optionsStore.set(() => e);
}
- })) : v.options = b, v.initialState = dwe(v._features, v.options.initialState);
+ })) : v.options = b, v.initialState = fwe(v._features, v.options.initialState);
let x = Object.keys(v.initialState);
for (let e = 0; e < x.length; e++) {
let n = x[e];
@@ -51934,14 +51947,14 @@ function fwe(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 && WI(i, n)) {
+ if (i && GI(i, n)) {
let e = i[n];
return e === void 0 ? v.initialState[n] : e;
}
return r;
}, { debugName: `table/atoms/${n}` });
}
- pL(v), v.store = VSe(t.createReadonlyAtom(() => {
+ mL(v), v.store = HSe(t.createReadonlyAtom(() => {
let e = {};
for (let t = 0; t < x.length; t++) {
let n = x[t];
@@ -51949,7 +51962,7 @@ function fwe(e) {
}
return e;
}, {
- compare: II,
+ compare: LI,
debugName: "table/store"
}));
for (let e = 0; e < y.length; e++) {
@@ -51960,43 +51973,43 @@ function fwe(e) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-pagination/rowPaginationFeature.utils.js
-var vL = 0, yL = 10;
-function bL() {
+var yL = 0, bL = 10;
+function xL() {
return {
- pageIndex: vL,
- pageSize: yL
+ pageIndex: yL,
+ pageSize: bL
};
}
-function pwe(e) {
+function mwe(e) {
if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {
- if ((e.atoms.pagination?.get()?.pageIndex ?? vL) === vL) return;
- CL(e, !0);
+ if ((e.atoms.pagination?.get()?.pageIndex ?? yL) === yL) return;
+ wL(e, !0);
}
}
-function xL(e, t) {
- YI(e, "pagination", t);
+function SL(e, t) {
+ XI(e, "pagination", t);
}
-function mwe(e, t) {
- xL(e, t ? bL() : VI(e.initialState.pagination ?? bL()));
+function hwe(e, t) {
+ SL(e, t ? xL() : HI(e.initialState.pagination ?? xL()));
}
-function SL(e, t) {
- xL(e, (n) => {
- let r = BI(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+function CL(e, t) {
+ SL(e, (n) => {
+ let r = VI(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 CL(e, t) {
- SL(e, t ? vL : e.initialState.pagination?.pageIndex ?? vL);
+function wL(e, t) {
+ CL(e, t ? yL : e.initialState.pagination?.pageIndex ?? yL);
}
-function hwe(e, t) {
- wL(e, t ? yL : e.initialState.pagination?.pageSize ?? yL);
+function gwe(e, t) {
+ TL(e, t ? bL : e.initialState.pagination?.pageSize ?? bL);
}
-function wL(e, t) {
- xL(e, (e) => {
- let n = Math.max(1, BI(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);
+function TL(e, t) {
+ SL(e, (e) => {
+ let n = Math.max(1, VI(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -52004,233 +52017,233 @@ function wL(e, t) {
};
});
}
-function gwe(e) {
- let t = TL(e), n = [];
- return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;
-}
function _we(e) {
- return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;
+ let t = EL(e), n = [];
+ return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;
}
function vwe(e) {
- let t = e.atoms.pagination?.get()?.pageIndex ?? vL, n = TL(e);
- return n === -1 || n !== 0 && t < n - 1;
+ return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;
}
function ywe(e) {
- let t = e.atoms.pagination?.get()?.pageIndex ?? vL, n = TL(e);
- return Number.isFinite(n) && n > 0 && t < n - 1;
+ let t = e.atoms.pagination?.get()?.pageIndex ?? yL, n = EL(e);
+ return n === -1 || n !== 0 && t < n - 1;
}
function bwe(e) {
- return SL(e, (e) => e - 1);
+ let t = e.atoms.pagination?.get()?.pageIndex ?? yL, n = EL(e);
+ return Number.isFinite(n) && n > 0 && t < n - 1;
}
function xwe(e) {
- return SL(e, (e) => e + 1);
+ return CL(e, (e) => e - 1);
}
function Swe(e) {
- return SL(e, 0);
+ return CL(e, (e) => e + 1);
}
function Cwe(e) {
- let t = TL(e);
- if (!(!Number.isFinite(t) || t <= 0)) return SL(e, t - 1);
+ return CL(e, 0);
}
-function TL(e) {
+function wwe(e) {
+ let t = EL(e);
+ if (!(!Number.isFinite(t) || t <= 0)) return CL(e, t - 1);
+}
+function EL(e) {
let t = e.options.pageCount;
if (t != null) return t;
- let n = EL(e), r = e.atoms.pagination?.get()?.pageSize ?? yL;
+ let n = DL(e), r = e.atoms.pagination?.get()?.pageSize ?? bL;
return r === Infinity && Number.isFinite(n) && n > 0 ? 1 : Math.ceil(n / r);
}
-function EL(e) {
+function DL(e) {
return e.options.rowCount ?? e.getPrePaginatedRowModel().rows.length;
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-pagination/rowPaginationFeature.js
-var DL = {
+var OL = {
getInitialState: (e) => ({
...e,
pagination: {
- ...bL(),
+ ...xL(),
...e.pagination
}
}),
- getDefaultTableOptions: (e) => ({ onPaginationChange: GI("pagination", e) }),
+ getDefaultTableOptions: (e) => ({ onPaginationChange: KI("pagination", e) }),
constructTableAPIs: (e) => {
- $I("rowPaginationFeature", e, {
- table_autoResetPageIndex: { fn: () => pwe(e) },
- table_setPagination: { fn: (t) => xL(e, t) },
- table_resetPagination: { fn: (t) => mwe(e, t) },
- table_setPageIndex: { fn: (t) => SL(e, t) },
- table_resetPageIndex: { fn: (t) => CL(e, t) },
- table_setPageSize: { fn: (t) => wL(e, t) },
- table_getPageCount: { fn: () => TL(e) },
- table_resetPageSize: { fn: (t) => hwe(e, t) },
- table_getPageOptions: { fn: () => gwe(e) },
- table_getCanPreviousPage: { fn: () => _we(e) },
- table_getCanNextPage: { fn: () => vwe(e) },
- table_getCanLastPage: { fn: () => ywe(e) },
- table_previousPage: { fn: () => bwe(e) },
- table_nextPage: { fn: () => xwe(e) },
- table_firstPage: { fn: () => Swe(e) },
- table_lastPage: { fn: () => Cwe(e) },
- table_getRowCount: { fn: () => EL(e) }
+ eL("rowPaginationFeature", e, {
+ table_autoResetPageIndex: { fn: () => mwe(e) },
+ table_setPagination: { fn: (t) => SL(e, t) },
+ table_resetPagination: { fn: (t) => hwe(e, t) },
+ table_setPageIndex: { fn: (t) => CL(e, t) },
+ table_resetPageIndex: { fn: (t) => wL(e, t) },
+ table_setPageSize: { fn: (t) => TL(e, t) },
+ table_getPageCount: { fn: () => EL(e) },
+ table_resetPageSize: { fn: (t) => gwe(e, t) },
+ table_getPageOptions: { fn: () => _we(e) },
+ table_getCanPreviousPage: { fn: () => vwe(e) },
+ table_getCanNextPage: { fn: () => ywe(e) },
+ table_getCanLastPage: { fn: () => bwe(e) },
+ table_previousPage: { fn: () => xwe(e) },
+ table_nextPage: { fn: () => Swe(e) },
+ table_firstPage: { fn: () => Cwe(e) },
+ table_lastPage: { fn: () => wwe(e) },
+ table_getRowCount: { fn: () => DL(e) }
});
}
};
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.js
-function wwe() {
- return UI();
+function Twe() {
+ return WI();
}
-function OL(e, t) {
+function kL(e, t) {
e.options.onRowSelectionChange?.(t);
}
-function Twe(e, t) {
- e._lastSelectedRowId = null, OL(e, t ? UI() : Object.assign(UI(), VI(e.initialState.rowSelection ?? {})));
+function Ewe(e, t) {
+ e._lastSelectedRowId = null, kL(e, t ? WI() : Object.assign(WI(), HI(e.initialState.rowSelection ?? {})));
}
-function kL(e, t, n) {
- e._lastSelectedRowId = null, OL(e, (r) => {
- if (t = t === void 0 ? !tL(e, "getIsAllRowsSelected", ML) : t, n?.deselectAll && !t) return UI();
- let i = Object.assign(UI(), r), a = e.getPreGroupedRowModel().flatRows;
+function AL(e, t, n) {
+ e._lastSelectedRowId = null, kL(e, (r) => {
+ if (t = t === void 0 ? !nL(e, "getIsAllRowsSelected", NL) : t, n?.deselectAll && !t) return WI();
+ let i = Object.assign(WI(), r), a = e.getPreGroupedRowModel().flatRows;
if (t) {
let e = /* @__PURE__ */ new Map();
a.forEach((t) => {
- HL(t, e) && (i[t.id] = !0);
+ UL(t, e) && (i[t.id] = !0);
});
} else a.forEach((e) => {
- RL(e) && delete i[e.id];
+ zL(e) && delete i[e.id];
});
return i;
});
}
-function AL(e, t, n) {
- e._lastSelectedRowId = null, OL(e, (r) => {
- let i = t === void 0 ? !tL(e, "getIsAllPageRowsSelected", NL) : t;
- if (n?.deselectAll && !i) return UI();
- let a = Object.assign(UI(), r);
+function jL(e, t, n) {
+ e._lastSelectedRowId = null, kL(e, (r) => {
+ let i = t === void 0 ? !nL(e, "getIsAllPageRowsSelected", PL) : t;
+ if (n?.deselectAll && !i) return WI();
+ let a = Object.assign(WI(), r);
return e.getRowModel().rows.forEach((t) => {
- VL(a, t.id, i, !0, e, !0);
+ HL(a, t.id, i, !0, e, !0);
}), a;
});
}
-function Ewe(e) {
+function Dwe(e) {
return e.getCoreRowModel();
}
-function Dwe(e) {
+function Owe(e) {
let t = e.getCoreRowModel();
- return tL(e, "getIsSomeRowsSelected", PL) ? GL(t, e) : {
+ return nL(e, "getIsSomeRowsSelected", FL) ? KL(t, e) : {
rows: [],
flatRows: [],
- rowsById: UI()
+ rowsById: WI()
};
}
-function Owe(e) {
+function kwe(e) {
let t = e.getFilteredRowModel();
- return tL(e, "getIsSomeRowsSelected", PL) ? GL(t, e) : {
+ return nL(e, "getIsSomeRowsSelected", FL) ? KL(t, e) : {
rows: [],
flatRows: [],
- rowsById: UI()
+ rowsById: WI()
};
}
-function kwe(e) {
+function Awe(e) {
let t = e.getSortedRowModel();
- return tL(e, "getIsSomeRowsSelected", PL) ? GL(t, e) : {
+ return nL(e, "getIsSomeRowsSelected", FL) ? KL(t, e) : {
rows: [],
flatRows: [],
- rowsById: UI()
+ rowsById: WI()
};
}
-function jL(e) {
+function ML(e) {
return Object.keys(e.atoms.rowSelection?.get() ?? {});
}
-function ML(e) {
+function NL(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) => !KL(t, n) && HL(t, e)) && (r = !1);
+ t.some((t) => !qL(t, n) && UL(t, e)) && (r = !1);
}
return r;
}
-function NL(e) {
+function PL(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 (KL(a, n)) !i && HL(a, r) && (i = !0);
- else if (HL(a, r)) return !1;
+ if (qL(a, n)) !i && UL(a, r) && (i = !0);
+ else if (UL(a, r)) return !1;
}
return i;
}
-function PL(e) {
- return tL(e, "getSelectedRowIds", jL).length > 0;
-}
-function Awe(e) {
- return e.getPaginatedRowModel().flatRows.filter((e) => RL(e)).some((e) => IL(e) || tL(e, "getIsSomeSelected", LL));
+function FL(e) {
+ return nL(e, "getSelectedRowIds", ML).length > 0;
}
function jwe(e) {
- return (t) => {
- kL(e, t.target.checked);
- };
+ return e.getPaginatedRowModel().flatRows.filter((e) => zL(e)).some((e) => LL(e) || nL(e, "getIsSomeSelected", RL));
}
function Mwe(e) {
return (t) => {
AL(e, t.target.checked);
};
}
-function FL(e, t, n) {
- let r = IL(e);
- OL(e.table, (i) => {
+function Nwe(e) {
+ return (t) => {
+ jL(e, t.target.checked);
+ };
+}
+function IL(e, t, n) {
+ let r = LL(e);
+ kL(e.table, (i) => {
t = t === void 0 ? !r : t;
- let a = Object.assign(UI(), i);
- return VL(a, e.id, t, (n?.selectChildren ?? !0) && BL(e), e.table), !t && n?.deselectParents && UL(a, e), a;
+ let a = Object.assign(WI(), i);
+ return HL(a, e.id, t, (n?.selectChildren ?? !0) && VL(e), e.table), !t && n?.deselectParents && WL(a, e), a;
});
}
-function IL(e) {
- return KL(e, e.table.atoms.rowSelection?.get() ?? {});
-}
function LL(e) {
- return qL(e) === "some";
-}
-function Nwe(e) {
- return qL(e) === "all";
+ return qL(e, e.table.atoms.rowSelection?.get() ?? {});
}
function RL(e) {
+ return JL(e) === "some";
+}
+function Pwe(e) {
+ return JL(e) === "all";
+}
+function zL(e) {
let t = e.table.options;
return typeof t.enableRowSelection == "function" ? t.enableRowSelection(e) : t.enableRowSelection ?? !0;
}
-function zL(e) {
+function BL(e) {
let t = e.table.options;
return typeof t.enableSubRowSelection == "function" ? t.enableSubRowSelection(e) : t.enableSubRowSelection ?? !0;
}
-function BL(e) {
+function VL(e) {
let t = e.table.options;
return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;
}
-function Pwe(e, t) {
- let n = RL(e);
+function Fwe(e, t) {
+ let n = zL(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 && BL(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1)) || !Fwe(e, s, o, t)) && FL(e, o, t), a._lastSelectedRowId = e.id;
+ (!(a.options.enableRowRangeSelection !== !1 && s !== null && VL(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1)) || !Iwe(e, s, o, t)) && IL(e, o, t), a._lastSelectedRowId = e.id;
};
}
-function Fwe(e, t, n, r) {
+function Iwe(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 || !BL(s) || !BL(e)) return !1;
+ if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !VL(s) || !VL(e)) return !1;
let f = Math.min(c, l), p = Math.max(c, l);
- return OL(a, (e) => {
- let t = Object.assign(UI(), e);
+ return kL(a, (e) => {
+ let t = Object.assign(WI(), e);
for (let e = f; e <= p; e++) {
let s = o[e];
- RL(s) && BL(s) && (VL(t, s.id, n, i, a), !n && r?.deselectParents && UL(t, s));
+ zL(s) && VL(s) && (HL(t, s.id, n, i, a), !n && r?.deselectParents && WL(t, s));
}
return t;
}), !0;
}
-function VL(e, t, n, r, i, a) {
+function HL(e, t, n, r, i, a) {
let o = i.getRow(t, !0);
- n ? (BL(o) || Object.keys(e).forEach((t) => delete e[t]), RL(o) && (e[t] = !0)) : (!a || RL(o)) && delete e[t], r && o.subRows.length && zL(o) && o.subRows.forEach((t) => VL(e, t.id, n, r, i, a));
+ n ? (VL(o) || Object.keys(e).forEach((t) => delete e[t]), zL(o) && (e[t] = !0)) : (!a || zL(o)) && delete e[t], r && o.subRows.length && BL(o) && o.subRows.forEach((t) => HL(e, t.id, n, r, i, a));
}
-function HL(e, t) {
- if (!RL(e)) return !1;
+function UL(e, t) {
+ if (!zL(e)) return !1;
let n = e.table;
if (n.options.enableSubRowSelection === !0) return !0;
let r = e.parentId;
@@ -52246,7 +52259,7 @@ function HL(e, t) {
}
o.push(c);
let r = a[c] ?? n.getRow(c, !0);
- if (!zL(r)) {
+ if (!BL(r)) {
s = !1;
break;
}
@@ -52254,43 +52267,43 @@ function HL(e, t) {
}
return o.forEach((e) => t.set(e, s)), s;
}
-function UL(e, t) {
+function WL(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 WL(e, t, n, r) {
+function GL(e, t, n, r) {
let i = [];
for (let a = 0; a < e.length; a++) {
- let o = e[a], s = KL(o, t);
+ let o = e[a], s = qL(o, t);
if (s && (n.push(o), r[o.id] = o), o.subRows.length) {
- let e = WL(o.subRows, t, n, r);
+ let e = GL(o.subRows, t, n, r);
if (s) {
let t = Object.create(Object.getPrototypeOf(o));
- HI(t, o), t.subRows = e, i.push(t);
+ UI(t, o), t.subRows = e, i.push(t);
}
} else s && i.push(o);
}
return i;
}
-function GL(e, t) {
- let n = [], r = UI(), i = t.atoms.rowSelection?.get() ?? {};
+function KL(e, t) {
+ let n = [], r = WI(), i = t.atoms.rowSelection?.get() ?? {};
return {
- rows: WL(e.rows, i, n, r),
+ rows: GL(e.rows, i, n, r),
flatRows: n,
rowsById: r
};
}
-function KL(e, t) {
- return !!(WI(t, e.id) && t[e.id]);
+function qL(e, t) {
+ return !!(GI(t, e.id) && t[e.id]);
}
-function qL(e) {
+function JL(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 (RL(o) && (i = !0, KL(o, t) ? n = !0 : r = !1), o.subRows.length) {
- let e = qL(o);
+ if (zL(o) && (i = !0, qL(o, t) ? n = !0 : r = !1), o.subRows.length) {
+ let e = JL(o);
e === "all" ? (n = !0, i = !0) : e === "some" ? (n = !0, r = !1, i = !0) : r = !1;
}
}
@@ -52298,7 +52311,7 @@ function qL(e) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.js
-var JL = {
+var YL = {
initTableInstanceData: (e) => {
e._lastSelectedRowId = null;
},
@@ -52306,11 +52319,11 @@ var JL = {
e._lastSelectedRowId = null;
},
getInitialState: (e) => ({
- rowSelection: wwe(),
+ rowSelection: Twe(),
...e
}),
getDefaultTableOptions: (e) => ({
- onRowSelectionChange: GI("rowSelection", e),
+ onRowSelectionChange: KI("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableRowRangeSelection: !0,
@@ -52321,11 +52334,11 @@ var JL = {
}
}),
assignRowPrototype: (e, t) => {
- eL("rowSelectionFeature", e, t, {
- row_toggleSelected: { fn: (e, t, n) => FL(e, t, n) },
- row_getIsSelected: { fn: (e) => IL(e) },
+ tL("rowSelectionFeature", e, t, {
+ row_toggleSelected: { fn: (e, t, n) => IL(e, t, n) },
+ row_getIsSelected: { fn: (e) => LL(e) },
row_getIsSomeSelected: {
- fn: (e) => LL(e),
+ fn: (e) => RL(e),
memoDeps: (e) => [
e.subRows,
e.table.atoms.rowSelection?.get(),
@@ -52333,44 +52346,44 @@ var JL = {
]
},
row_getIsAllSubRowsSelected: {
- fn: (e) => Nwe(e),
+ fn: (e) => Pwe(e),
memoDeps: (e) => [
e.subRows,
e.table.atoms.rowSelection?.get(),
e.table.options.enableRowSelection
]
},
- row_getCanSelect: { fn: (e) => RL(e) },
- row_getCanSelectSubRows: { fn: (e) => zL(e) },
- row_getCanMultiSelect: { fn: (e) => BL(e) },
- row_getToggleSelectedHandler: { fn: (e, t) => Pwe(e, t) }
+ row_getCanSelect: { fn: (e) => zL(e) },
+ row_getCanSelectSubRows: { fn: (e) => BL(e) },
+ row_getCanMultiSelect: { fn: (e) => VL(e) },
+ row_getToggleSelectedHandler: { fn: (e, t) => Fwe(e, t) }
});
},
constructTableAPIs: (e) => {
- $I("rowSelectionFeature", e, {
- table_setRowSelection: { fn: (t) => OL(e, t) },
- table_resetRowSelection: { fn: (t) => Twe(e, t) },
- table_toggleAllRowsSelected: { fn: (t, n) => kL(e, t, n) },
- table_toggleAllPageRowsSelected: { fn: (t, n) => AL(e, t, n) },
- table_getPreSelectedRowModel: { fn: () => Ewe(e) },
+ eL("rowSelectionFeature", e, {
+ table_setRowSelection: { fn: (t) => kL(e, t) },
+ table_resetRowSelection: { fn: (t) => Ewe(e, t) },
+ table_toggleAllRowsSelected: { fn: (t, n) => AL(e, t, n) },
+ table_toggleAllPageRowsSelected: { fn: (t, n) => jL(e, t, n) },
+ table_getPreSelectedRowModel: { fn: () => Dwe(e) },
table_getSelectedRowModel: {
- fn: () => Dwe(e),
+ fn: () => Owe(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getCoreRowModel()]
},
table_getFilteredSelectedRowModel: {
- fn: () => Owe(e),
+ fn: () => kwe(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getFilteredRowModel()]
},
table_getGroupedSelectedRowModel: {
- fn: () => kwe(e),
+ fn: () => Awe(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]
},
table_getSelectedRowIds: {
- fn: () => jL(e),
+ fn: () => ML(e),
memoDeps: () => [e.atoms.rowSelection?.get()]
},
table_getIsAllRowsSelected: {
- fn: () => ML(e),
+ fn: () => NL(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getFilteredRowModel(),
@@ -52379,7 +52392,7 @@ var JL = {
]
},
table_getIsAllPageRowsSelected: {
- fn: () => NL(e),
+ fn: () => PL(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getPaginatedRowModel(),
@@ -52388,49 +52401,49 @@ var JL = {
]
},
table_getIsSomeRowsSelected: {
- fn: () => PL(e),
+ fn: () => FL(e),
memoDeps: () => [e.atoms.rowSelection?.get()]
},
table_getIsSomePageRowsSelected: {
- fn: () => Awe(e),
+ fn: () => jwe(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getPaginatedRowModel(),
e.options.enableRowSelection
]
},
- table_getToggleAllRowsSelectedHandler: { fn: () => jwe(e) },
- table_getToggleAllPageRowsSelectedHandler: { fn: () => Mwe(e) }
+ table_getToggleAllRowsSelectedHandler: { fn: () => Mwe(e) },
+ table_getToggleAllPageRowsSelectedHandler: { fn: () => Nwe(e) }
});
}
-}, Iwe = /([0-9]+)/gm;
+}, Lwe = /([0-9]+)/gm;
/* @__NO_SIDE_EFFECTS__ */
-function Lwe(e) {
+function Rwe(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 YL = /* @__PURE__ */ Lwe({ sort: (e, t) => Rwe(e, t) });
-function Rwe(e, t) {
+var XL = /* @__PURE__ */ Rwe({ sort: (e, t) => zwe(e, t) });
+function zwe(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.utils.js
-function zwe() {
+function Bwe() {
return [];
}
-function XL(e, t) {
- YI(e, "sorting", t);
-}
function ZL(e, t) {
- XL(e, t ? [] : VI(e.initialState.sorting ?? []));
+ XI(e, "sorting", t);
}
-function Bwe(e) {
- e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && ZL(e);
+function QL(e, t) {
+ ZL(e, t ? [] : HI(e.initialState.sorting ?? []));
+}
+function Vwe(e) {
+ e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && QL(e);
}
-function QL(e) {
+function $L(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);
@@ -52438,7 +52451,7 @@ function QL(e) {
r = "datetime";
break;
}
- if (typeof a == "string" && (i = !0, a.split(Iwe).length > 1)) {
+ if (typeof a == "string" && (i = !0, a.split(Lwe).length > 1)) {
r = "alphanumeric";
break;
}
@@ -52447,9 +52460,9 @@ function QL(e) {
let e = t?.[r];
if (e || r === "alphanumeric" && (e = t?.text), e) return e;
}
- return YL;
+ return XL;
}
-function $L(e) {
+function eR(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);
@@ -52457,14 +52470,14 @@ function $L(e) {
}
return "desc";
}
-function eR(e) {
+function tR(e) {
let t = e.table._rowModelFns.sortFns;
- return qSe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? QL(e) : t?.[e.columnDef.sortFn] ?? YL;
+ return JSe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? $L(e) : t?.[e.columnDef.sortFn] ?? XL;
}
-function tR(e, t, n) {
- let r = rR(e, n && aR(e)), i = t !== void 0;
- XL(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 && aR(e) && n);
+function nR(e, t, n) {
+ let r = iR(e, n && oR(e)), i = t !== void 0;
+ ZL(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 && oR(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
@@ -52480,41 +52493,41 @@ function tR(e, t, n) {
}], c;
});
}
-function nR(e) {
- return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? $L(e) === "desc" ? "desc" : "asc";
+function rR(e) {
+ return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? eR(e) === "desc" ? "desc" : "asc";
}
-function rR(e, t) {
- let n = nR(e), r = oR(e);
+function iR(e, t) {
+ let n = rR(e), r = sR(e);
return r ? r !== n && (e.table.options.enableSortingRemoval ?? !0) && (!t || (e.table.options.enableMultiRemove ?? !0)) ? !1 : r === "desc" ? "asc" : "desc" : n;
}
-function iR(e) {
+function aR(e) {
return (e.columnDef.enableSorting ?? !0) && (e.table.options.enableSorting ?? !0) && !!e.accessorFn;
}
-function aR(e) {
+function oR(e) {
return e.columnDef.enableMultiSort ?? e.table.options.enableMultiSort ?? !!e.accessorFn;
}
-function oR(e) {
+function sR(e) {
let t = e.table.atoms.sorting?.get()?.find((t) => t.id === e.id);
return t ? t.desc ? "desc" : "asc" : !1;
}
-function Vwe(e) {
- return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;
-}
function Hwe(e) {
- XL(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 Uwe(e) {
- let t = iR(e);
+ ZL(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);
+}
+function Wwe(e) {
+ let t = aR(e);
return (n) => {
- t && tR(e, void 0, aR(e) ? e.table.options.isMultiSortEvent?.(n) : !1);
+ t && nR(e, void 0, oR(e) ? e.table.options.isMultiSortEvent?.(n) : !1);
};
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.js
-var sR = {
+var cR = {
getInitialState(e) {
return {
- sorting: zwe(),
+ sorting: Bwe(),
...e
};
},
@@ -52527,40 +52540,40 @@ var sR = {
getDefaultTableOptions(e) {
return {
autoResetSorting: !1,
- onSortingChange: GI("sorting", e),
+ onSortingChange: KI("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
};
},
assignColumnPrototype(e, t) {
- eL("rowSortingFeature", e, t, {
- column_getAutoSortFn: { fn: (e) => QL(e) },
- column_getAutoSortDir: { fn: (e) => $L(e) },
- column_getSortFn: { fn: (e) => eR(e) },
- column_toggleSorting: { fn: (e, t, n) => tR(e, t, n) },
- column_getFirstSortDir: { fn: (e) => nR(e) },
- column_getNextSortingOrder: { fn: (e, t) => rR(e, t) },
- column_getCanSort: { fn: (e) => iR(e) },
- column_getCanMultiSort: { fn: (e) => aR(e) },
- column_getIsSorted: { fn: (e) => oR(e) },
- column_getSortIndex: { fn: (e) => Vwe(e) },
- column_clearSorting: { fn: (e) => Hwe(e) },
- column_getToggleSortingHandler: { fn: (e) => Uwe(e) }
+ tL("rowSortingFeature", e, t, {
+ column_getAutoSortFn: { fn: (e) => $L(e) },
+ column_getAutoSortDir: { fn: (e) => eR(e) },
+ column_getSortFn: { fn: (e) => tR(e) },
+ column_toggleSorting: { fn: (e, t, n) => nR(e, t, n) },
+ column_getFirstSortDir: { fn: (e) => rR(e) },
+ column_getNextSortingOrder: { fn: (e, t) => iR(e, t) },
+ column_getCanSort: { fn: (e) => aR(e) },
+ column_getCanMultiSort: { fn: (e) => oR(e) },
+ column_getIsSorted: { fn: (e) => sR(e) },
+ column_getSortIndex: { fn: (e) => Hwe(e) },
+ column_clearSorting: { fn: (e) => Uwe(e) },
+ column_getToggleSortingHandler: { fn: (e) => Wwe(e) }
});
},
constructTableAPIs(e) {
- $I("rowSortingFeature", e, {
- table_autoResetSorting: { fn: () => Bwe(e) },
- table_setSorting: { fn: (t) => XL(e, t) },
- table_resetSorting: { fn: (t) => ZL(e, t) }
+ eL("rowSortingFeature", e, {
+ table_autoResetSorting: { fn: () => Vwe(e) },
+ table_setSorting: { fn: (t) => ZL(e, t) },
+ table_resetSorting: { fn: (t) => QL(e, t) }
});
}
};
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-pagination/createPaginatedRowModel.js
-function cR() {
+function lR() {
return (e) => {
let t = e;
- return ZI({
+ return QI({
feature: "rowPaginationFeature",
table: t,
fnName: "table.getPaginatedRowModel",
@@ -52569,14 +52582,14 @@ function cR() {
t.atoms.pagination?.get(),
t.options.paginateExpandedRows ? void 0 : t.atoms.expanded?.get()
],
- fn: () => Wwe(t)
+ fn: () => Gwe(t)
});
};
}
-function Wwe(e) {
+function Gwe(e) {
let t = e.getPrePaginatedRowModel(), n = e.atoms.pagination?.get();
if (!t.rows.length) return t;
- let { pageSize: r, pageIndex: i } = n ?? bL(), { rows: a, flatRows: o, rowsById: s } = t, c = a;
+ let { pageSize: r, pageIndex: i } = n ?? xL(), { rows: a, flatRows: o, rowsById: s } = t, c = a;
if (r !== Infinity || i !== 0) {
let e = r * i, t = e + r;
c = a.slice(e, t);
@@ -52586,7 +52599,7 @@ function Wwe(e) {
rows: c,
flatRows: o,
rowsById: s
- } : iL(e, {
+ } : aL(e, {
rows: c,
flatRows: o,
rowsById: s
@@ -52598,25 +52611,25 @@ function Wwe(e) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-sorting/createSortedRowModel.js
-function lR() {
+function uR() {
return (e) => {
let t = e;
- return ZI({
+ return QI({
feature: "rowSortingFeature",
table: t,
fnName: "table.getSortedRowModel",
memoDeps: () => [t.atoms.sorting?.get(), t.getPreSortedRowModel()],
- fn: () => Gwe(t),
- onAfterUpdate: XI(() => aL(t))
+ fn: () => Kwe(t),
+ onAfterUpdate: ZI(() => oL(t))
});
};
}
-function Gwe(e) {
+function Kwe(e) {
let t = e.getPreSortedRowModel(), n = e.atoms.sorting?.get();
if (!t.rows.length || !n?.length) return t;
let r = [], i = n.filter((t) => {
let n = e.getColumn(t.id);
- return n ? iR(n) : !1;
+ return n ? aR(n) : !1;
});
if (!i.length) return t;
let a = [];
@@ -52627,7 +52640,7 @@ function Gwe(e) {
desc: n.desc,
sortUndefined: r.columnDef.sortUndefined,
invertSorting: r.columnDef.invertSorting,
- sortFn: eR(r)
+ sortFn: tR(r)
});
}
let o = (e, t) => {
@@ -52657,7 +52670,7 @@ function Gwe(e) {
let e = s(a.subRows);
if (e.changed) {
let s = Object.create(Object.getPrototypeOf(a));
- HI(s, a), s.subRows = e.rows, t[i] = s, r[o] = s, n = !0;
+ UI(s, a), s.subRows = e.rows, t[i] = s, r[o] = s, n = !0;
}
}
}
@@ -52674,31 +52687,31 @@ function Gwe(e) {
}
//#endregion
//#region node_modules/@tanstack/react-table/dist/useTable.js
-var Kwe = typeof window > "u" ? S.useEffect : S.useLayoutEffect;
-function uR(e, t) {
+var qwe = typeof window > "u" ? S.useEffect : S.useLayoutEffect;
+function dR(e, t) {
let [{ table: n, rootSource: r }] = (0, S.useState)(() => {
- let t = fwe({
+ let t = pwe({
...e,
features: {
- coreReactivityFeature: WSe(),
+ coreReactivityFeature: GSe(),
...e.features
}
});
- return t.Subscribe = ((e) => BSe({
+ return t.Subscribe = ((e) => VSe({
...e,
source: e.source ?? t.store
- })), t.FlexRender = ASe, {
+ })), t.FlexRender = jSe, {
table: t,
- rootSource: USe(t.store, II)
+ rootSource: WSe(t.store, LI)
};
}), i = n;
- hL(i, (t) => ({
+ gL(i, (t) => ({
...t,
...e
}), { syncExternalState: !1 });
- let a = i.options.state, o = r.get(), s = zI(r, t, { compare: II });
- return Kwe(() => {
- r.markCommitted(o), mL(i, a ?? null, II);
+ let a = i.options.state, o = r.get(), s = BI(r, t, { compare: LI });
+ return qwe(() => {
+ r.markCommitted(o), hL(i, a ?? null, LI);
}), (0, S.useMemo)(() => ({
...n,
options: e,
@@ -52711,10 +52724,10 @@ function uR(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/table/table.tsx
-function dR({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function fR({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
className: eA("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, C.jsx)(Nye, {
+ children: /* @__PURE__ */ (0, C.jsx)(Pye, {
ref: r,
...i,
className: eA("bui-table", e === "sm" && "bui-table-sm", t)
@@ -52723,7 +52736,7 @@ function dR({ size: e = "md", className: t, containerClassName: n, ref: r, ...i
}
//#endregion
//#region src/react/components/data-table-frame.tsx
-function fR({ children: e, follow: t = !1, onRowClick: n }) {
+function pR({ children: e, follow: t = !1, onRowClick: n }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-board-data-table": !0,
"data-follow-table": t || void 0,
@@ -52731,14 +52744,14 @@ function fR({ children: e, follow: t = !1, onRowClick: n }) {
let t = e.target;
if (!(t instanceof Element)) return;
let r = t.closest("[role=\"row\"][data-key]");
- r && EF(e, r) && n(r.dataset.key);
+ r && DF(e, r) && n(r.dataset.key);
} : void 0,
children: e
});
}
//#endregion
//#region src/react/components/table-pagination.tsx
-function pR({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
+function mR({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
return t <= 1 ? null : /* @__PURE__ */ (0, C.jsxs)("nav", {
"aria-label": r,
className: "flex flex-wrap items-center justify-center gap-2",
@@ -52777,11 +52790,11 @@ function pR({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
}
//#endregion
//#region src/react/components/table-controls.tsx
-function mR({ label: e, options: t, sorting: n, onChange: r }) {
+function hR({ label: e, options: t, sorting: n, onChange: r }) {
let i = n[0];
return /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsxs)(RP, {
+ children: [/* @__PURE__ */ (0, C.jsxs)(zP, {
"aria-label": `${e}排序`,
selectedKey: i?.id ?? "default",
onSelectionChange: (e) => {
@@ -52790,10 +52803,10 @@ function mR({ label: e, options: t, sorting: n, onChange: r }) {
desc: i?.desc ?? !1
}]);
},
- children: [/* @__PURE__ */ (0, C.jsx)(zP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(BP, {
id: "default",
children: "默认顺序"
- }), t.map((e) => /* @__PURE__ */ (0, C.jsx)(zP, {
+ }), t.map((e) => /* @__PURE__ */ (0, C.jsx)(BP, {
id: e.id,
children: e.label
}, e.id))]
@@ -52812,7 +52825,7 @@ function mR({ label: e, options: t, sorting: n, onChange: r }) {
})]
});
}
-function hR({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条" }) {
+function gR({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条" }) {
let o = Math.max(1, Math.ceil(t / n.pageSize)), s = Math.min(n.pageIndex, o - 1), c = t ? s * n.pageSize + 1 : 0, l = Math.min((s + 1) * n.pageSize, t);
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-table-pagination": !0,
@@ -52822,7 +52835,7 @@ function hR({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记
className: "text-body-2-regular tabular-nums text-text-secondary",
children: `${c.toLocaleString()}–${l.toLocaleString()} / ${t.toLocaleString()} ${i}`
}),
- /* @__PURE__ */ (0, C.jsx)(RP, {
+ /* @__PURE__ */ (0, C.jsx)(zP, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(n.pageSize),
@@ -52837,12 +52850,12 @@ function hR({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记
20,
50,
100
- ].map((e) => /* @__PURE__ */ (0, C.jsx)(zP, {
+ ].map((e) => /* @__PURE__ */ (0, C.jsx)(BP, {
id: String(e),
children: `每页 ${e} ${a}`
}, e))
}),
- /* @__PURE__ */ (0, C.jsx)(pR, {
+ /* @__PURE__ */ (0, C.jsx)(mR, {
label: `${e}分页`,
page: s + 1,
pages: o,
@@ -52856,11 +52869,11 @@ function hR({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记
}
//#endregion
//#region src/react/catalog-grid/catalog-list-page.tsx
-var qwe = _L({
- rowSortingFeature: sR,
- rowSelectionFeature: JL,
- rowPaginationFeature: DL
-}), Jwe = [
+var Jwe = vL({
+ rowSortingFeature: cR,
+ rowSelectionFeature: YL,
+ rowPaginationFeature: OL
+}), Ywe = [
{
id: "name",
label: "名称"
@@ -52897,12 +52910,12 @@ var qwe = _L({
id: "played",
label: "观看时间"
}
-], gR = /* @__PURE__ */ new Map();
-function Ywe(e) {
+], _R = /* @__PURE__ */ new Map();
+function Xwe(e) {
let t = lD(e.filters || {}, !1), [n] = (0, S.useState)(() => {
let n = new URLSearchParams(t);
return new URLSearchParams(location.search).has("seed") || n.delete("seed"), `${e.mode}:${e.listScope || e.entityKey || ""}:${n}`;
- }), [r, i] = (0, S.useState)(() => gR.get(n) || {
+ }), [r, i] = (0, S.useState)(() => _R.get(n) || {
sorting: [],
pagination: {
pageIndex: 0,
@@ -52910,7 +52923,7 @@ function Ywe(e) {
}
}), { sorting: a, pagination: o } = r;
(0, S.useEffect)(() => {
- gR.set(n, r);
+ _R.set(n, r);
}, [n, r]);
let s = o.pageIndex * o.pageSize, c = a[0], l = pt({
queryKey: [
@@ -52964,14 +52977,14 @@ function Ywe(e) {
d,
o.pageIndex
]);
- let f = Object.fromEntries([...e.selected].map((e) => [String(e), !0])), p = uR({
- features: qwe,
+ let f = Object.fromEntries([...e.selected].map((e) => [String(e), !0])), p = dR({
+ features: Jwe,
columns: (0, S.useMemo)(() => {
- let t = gL();
+ let t = _L();
return t.columns([
t.display({
id: "select",
- header: ({ table: e }) => /* @__PURE__ */ (0, C.jsx)(kP, {
+ header: ({ table: e }) => /* @__PURE__ */ (0, C.jsx)(AP, {
slot: null,
"aria-label": "全选本页作品",
isDisabled: l.isPlaceholderData,
@@ -52979,7 +52992,7 @@ function Ywe(e) {
isIndeterminate: e.getIsSomeRowsSelected(),
onChange: (t) => e.toggleAllRowsSelected(t)
}),
- cell: ({ row: t }) => /* @__PURE__ */ (0, C.jsx)(kP, {
+ cell: ({ row: t }) => /* @__PURE__ */ (0, C.jsx)(AP, {
slot: null,
"aria-label": `选择 ${e.helpers.displayName(t.original, t.original.name || "")}`,
isDisabled: l.isPlaceholderData,
@@ -52991,7 +53004,7 @@ function Ywe(e) {
id: "name",
header: "名称",
enableSorting: !0,
- cell: ({ row: t }) => /* @__PURE__ */ (0, C.jsx)(Xwe, {
+ cell: ({ row: t }) => /* @__PURE__ */ (0, C.jsx)(Zwe, {
item: t.original,
props: e,
disabled: l.isPlaceholderData
@@ -53060,24 +53073,24 @@ function Ywe(e) {
className: "flex flex-wrap justify-end gap-2",
role: "toolbar",
"aria-label": "作品列表工具栏",
- children: /* @__PURE__ */ (0, C.jsx)(mR, {
+ children: /* @__PURE__ */ (0, C.jsx)(hR, {
label: "作品列表",
- options: Jwe,
+ options: Ywe,
sorting: a,
onChange: (e) => p.setSorting(e)
})
}),
- /* @__PURE__ */ (0, C.jsx)(CI, { assetIds: e.filters?.state === "trash" ? [] : SI(u, e.layout.javImage) }),
- l.isError ? /* @__PURE__ */ (0, C.jsx)(wF, {
+ /* @__PURE__ */ (0, C.jsx)(wI, { assetIds: e.filters?.state === "trash" ? [] : CI(u, e.layout.javImage) }),
+ l.isError ? /* @__PURE__ */ (0, C.jsx)(TF, {
message: Dt(l.error),
onRetry: () => void l.refetch()
}) : null,
- /* @__PURE__ */ (0, C.jsx)(fR, {
+ /* @__PURE__ */ (0, C.jsx)(pR, {
follow: !0,
onRowClick: (t) => {
l.isPlaceholderData || e.actions.toggleSelection(Number(t), !1);
},
- children: /* @__PURE__ */ (0, C.jsxs)(dR, {
+ children: /* @__PURE__ */ (0, C.jsxs)(fR, {
"aria-label": "作品列表",
size: "sm",
sortDescriptor: c ? {
@@ -53088,19 +53101,19 @@ function Ywe(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, C.jsx)(kN, { children: p.getHeaderGroups()[0].headers.map((e, t) => /* @__PURE__ */ (0, C.jsx)(AN, {
+ children: [/* @__PURE__ */ (0, C.jsx)(MN, { children: p.getHeaderGroups()[0].headers.map((e, t) => /* @__PURE__ */ (0, C.jsx)(NN, {
id: e.id,
isRowHeader: t === 1,
allowsSorting: e.column.getCanSort(),
children: ({ sortDirection: t }) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-0.5",
- children: [wI(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [TI(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": t || void 0,
- children: /* @__PURE__ */ (0, C.jsx)(_P, {})
+ children: /* @__PURE__ */ (0, C.jsx)(bP, {})
}) : null]
})
- }, e.id)) }), /* @__PURE__ */ (0, C.jsx)(MN, {
+ }, e.id)) }), /* @__PURE__ */ (0, C.jsx)(FN, {
renderEmptyState: () => l.isPending ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-skeleton": "",
"data-table-skeleton": "",
@@ -53109,17 +53122,17 @@ function Ywe(e) {
"aria-label": "正在读取作品列表",
children: Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, C.jsxs)("div", { children: [/* @__PURE__ */ (0, C.jsx)("i", { className: "skeleton-sheen" }), /* @__PURE__ */ (0, C.jsx)("span", { className: "skeleton-sheen" })] }, t))
}) : l.isError ? "作品列表未取得" : "没有符合的作品",
- children: p.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(FN, {
+ children: p.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(RN, {
id: e.id,
"data-catalog-row": "",
"data-id": e.original.id,
"data-board-selected": e.getIsSelected() || void 0,
- children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(LN, { children: wI(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(BN, { children: TI(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
}),
- l.data ? /* @__PURE__ */ (0, C.jsx)(hR, {
+ l.data ? /* @__PURE__ */ (0, C.jsx)(gR, {
label: "作品列表",
total: d,
pagination: o,
@@ -53130,7 +53143,7 @@ function Ywe(e) {
]
});
}
-function Xwe({ item: e, props: t, disabled: n }) {
+function Zwe({ item: e, props: t, disabled: n }) {
let r = fa(e, "small", !1, t.layout.javImage), i = t.helpers.displayName(e, e.name || "").trim() || "未命名作品", a = e.creator || e.performers?.join("、") || e.studio;
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-list-identity": "",
@@ -53144,7 +53157,7 @@ function Xwe({ item: e, props: t, disabled: n }) {
},
children: [/* @__PURE__ */ (0, C.jsx)("span", {
"data-list-picture": "",
- children: r.html ? /* @__PURE__ */ (0, C.jsx)(TF, {
+ children: r.html ? /* @__PURE__ */ (0, C.jsx)(EF, {
artwork: r,
relayout: (e) => ac(e, "small")
}) : /* @__PURE__ */ (0, C.jsx)("span", { children: "无预览" })
@@ -53171,21 +53184,21 @@ function Xwe({ item: e, props: t, disabled: n }) {
}
//#endregion
//#region src/react/catalog-grid/catalog-grid-page.tsx
-function _R(e) {
+function vR(e) {
let t = cD();
- if (e.mode === "items") return /* @__PURE__ */ (0, C.jsx)(Qwe, { ...e });
+ if (e.mode === "items") return /* @__PURE__ */ (0, C.jsx)($we, { ...e });
let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${lD(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- return t === "list" && !e.wall ? /* @__PURE__ */ (0, C.jsx)(Ywe, { ...e }, n) : /* @__PURE__ */ (0, C.jsx)($we, { ...e }, n);
+ return t === "list" && !e.wall ? /* @__PURE__ */ (0, C.jsx)(Xwe, { ...e }, n) : /* @__PURE__ */ (0, C.jsx)(eTe, { ...e }, n);
}
-function Zwe({ name: e }) {
+function Qwe({ name: e }) {
return /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, C.jsx)("use", { href: `#i-${e}` })
});
}
-function Qwe(e) {
- let { actions: t } = e, n = (0, S.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, C.jsx)(PF, {
+function $we(e) {
+ let { actions: t } = e, n = (0, S.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, C.jsx)(FF, {
item: i,
variant: r,
layout: e.layout,
@@ -53205,7 +53218,7 @@ function Qwe(e) {
children: i
});
}
-function $we(e) {
+function eTe(e) {
let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Mde(e) : jde(e), [s] = (0, S.useState)(() => e.wall ? Pde(o.queryKey) : void 0), c = s || (i && e.initial ? {
pages: [{
...e.initial,
@@ -53237,7 +53250,7 @@ function $we(e) {
e.mix,
a,
r.javImage
- ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || oSe(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && eSe(e.item) ? [e.item] : []), v = a ? [] : SI(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = CF(l.isPending, e.skeletonHtml), b = (0, S.useRef)(null), x = eTe(e, l.data, d, f, b);
+ ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || sSe(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && tSe(e.item) ? [e.item] : []), v = a ? [] : CI(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = wF(l.isPending, e.skeletonHtml), b = (0, S.useRef)(null), x = tTe(e, l.data, d, f, b);
(0, S.useLayoutEffect)(() => {
if (!l.data) return;
let t = !0;
@@ -53264,12 +53277,12 @@ function $we(e) {
let T = (0, S.useCallback)((e, t) => n.open(e, t), [n]), E = (0, S.useCallback)((e, t) => n.openResource(e, t), [n]), D = (0, S.useCallback)((e) => n.openShort(e), [n]), O = (0, S.useCallback)(async () => {
let e = await l.fetchNextPage({ cancelRefetch: !1 });
if (e.isFetchNextPageError) throw e.error;
- }, [l.fetchNextPage]), k = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, C.jsx)(nTe, {
+ }, [l.fetchNextPage]), k = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, C.jsx)(rTe, {
seed: i.seed,
layout: r,
helpers: t,
actions: n
- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, C.jsx)(PF, {
+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, C.jsx)(FF, {
item: i.item,
variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",
layout: r,
@@ -53286,9 +53299,9 @@ function $we(e) {
"data-grid-reveal": y.fading ? "" : void 0,
children: [
!e.wall && y.layer,
- /* @__PURE__ */ (0, C.jsx)(CI, { assetIds: v }),
+ /* @__PURE__ */ (0, C.jsx)(wI, { assetIds: v }),
(() => {
- if (g && e.wall) return /* @__PURE__ */ (0, C.jsx)(gSe, {
+ if (g && e.wall) return /* @__PURE__ */ (0, C.jsx)(_Se, {
sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${lD(e.filters || {}, !!e.excludeVertical)}`,
items: _,
finite: h,
@@ -53307,7 +53320,7 @@ function $we(e) {
javImage: r.javImage
}, h ? "finite" : "explore");
if (l.isPending) return null;
- if (!l.data) return /* @__PURE__ */ (0, C.jsx)(wF, {
+ if (!l.data) return /* @__PURE__ */ (0, C.jsx)(TF, {
message: Dt(l.error),
onRetry: () => void l.refetch()
});
@@ -53328,12 +53341,12 @@ function $we(e) {
"data-media-grid": "",
"data-catalog-view-mode": "cards",
children: t.tiles.map(k)
- }), t.strip ? /* @__PURE__ */ (0, C.jsx)(tTe, {
+ }), t.strip ? /* @__PURE__ */ (0, C.jsx)(nTe, {
cut: t.strip,
props: e,
onOpen: D
}) : null] }, t.start))
- }), l.hasNextPage ? /* @__PURE__ */ (0, C.jsx)(vR, {
+ }), l.hasNextPage ? /* @__PURE__ */ (0, C.jsx)(yR, {
entity: i,
load: O,
enabled: () => e.canLoadMore?.() !== !1
@@ -53342,7 +53355,7 @@ function $we(e) {
]
});
}
-function vR({ entity: e, load: t, enabled: n, children: r }) {
+function yR({ entity: e, load: t, enabled: n, children: r }) {
let i = (0, S.useRef)(null), a = (0, S.useRef)(!1), o = (0, S.useRef)(!1), [s, c] = (0, S.useState)({
busy: !1,
error: ""
@@ -53404,12 +53417,12 @@ function vR({ entity: e, load: t, enabled: n, children: r }) {
hidden: !!s.error,
onClick: () => void u(!0),
dangerouslySetInnerHTML: { __html: yo("继续载入中…") }
- }), s.error ? /* @__PURE__ */ (0, C.jsx)(wF, {
+ }), s.error ? /* @__PURE__ */ (0, C.jsx)(TF, {
message: s.error,
onRetry: () => void u(!0)
}) : null] });
}
-function eTe(e, t, n, r, i) {
+function tTe(e, t, n, r, i) {
let [a, o] = (0, S.useState)([]), [s, c] = (0, S.useState)(null), l = (0, S.useRef)(0), u = (0, S.useRef)(0), d = (0, S.useRef)([]);
return (0, S.useEffect)(() => () => d.current.forEach((e) => e.abort()), []), (0, S.useEffect)(() => {
let n = t?.pages.length || 0;
@@ -53440,7 +53453,7 @@ function eTe(e, t, n, r, i) {
}]);
}, [s]), a;
}
-function tTe({ cut: e, props: t, onOpen: n }) {
+function nTe({ cut: e, props: t, onOpen: n }) {
let r = (0, S.useRef)(null), { wireDrag: i } = t;
return (0, S.useEffect)(() => {
r.current && i(r.current);
@@ -53456,12 +53469,12 @@ function tTe({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, C.jsx)(Zwe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, C.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, C.jsx)(Qwe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, C.jsx)("span", { children: "进入沉浸模式" })]
})
] }), /* @__PURE__ */ (0, C.jsx)("div", {
ref: r,
"data-shorts-row": "",
- children: e.items.map((e) => /* @__PURE__ */ (0, C.jsx)(PF, {
+ children: e.items.map((e) => /* @__PURE__ */ (0, C.jsx)(FF, {
item: e,
variant: "short",
layout: t.layout,
@@ -53475,17 +53488,17 @@ function tTe({ cut: e, props: t, onOpen: n }) {
})]
});
}
-function yR(e, t, n) {
+function bR(e, t, n) {
return pa(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);
}
-function nTe({ seed: e, layout: t, helpers: n, actions: r }) {
+function rTe({ seed: e, layout: t, helpers: n, actions: r }) {
let i = (0, S.useRef)(/* @__PURE__ */ new Map()), a = (0, S.useRef)(t);
a.current = t;
let o = va(e, n.tagLabel), s = (0, S.useCallback)(async () => {
let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => uD(e, t.javImage)).slice(0, 9);
- return i.current = new Map(n.map((e) => [String(e.id), yR(e, t, !0).html])), n.map((e) => String(e.id));
- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = yR(e, t, !1);
- return /* @__PURE__ */ (0, C.jsx)(RF, {
+ return i.current = new Map(n.map((e) => [String(e.id), bR(e, t, !0).html])), n.map((e) => String(e.id));
+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = bR(e, t, !1);
+ return /* @__PURE__ */ (0, C.jsx)(zF, {
"data-mix-seed": String(e.id),
name: `Mix · ${o}`,
caption: `${n.displayName(e, e.name || "")}及相似作品`,
@@ -53495,12 +53508,12 @@ function nTe({ seed: e, layout: t, helpers: n, actions: r }) {
wholeCard: !0,
poster: null,
artwork: l,
- artworkIdentity: c === "small" ? l.html : yR(e, {
+ artworkIdentity: c === "small" ? l.html : bR(e, {
...t,
size: "small"
}, !1).html,
relayoutArt: (e) => ac(e, c),
- ratio: MF(e, "grid", t),
+ ratio: NF(e, "grid", t),
flipImages: s,
faceHtml: (e) => i.current.get(e) || "",
canFlip: r.canFlip,
@@ -53512,41 +53525,41 @@ function nTe({ seed: e, layout: t, helpers: n, actions: r }) {
}
//#endregion
//#region src/react/media-sources.ts
-async function bR(e) {
+async function xR(e) {
await W.fetchQuery({
queryKey: xn,
queryFn: () => Sn(e)
});
}
-var rTe = [
+var iTe = [
"local",
"115",
"pikpak"
-], iTe = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), aTe = "/api/duplicates?limit=120", xR = ["duplicates"], SR = "/api/batch", CR = (e) => H(aTe, e), oTe = /[\s\-_.()[\]【】/\\]/;
-function sTe(e) {
+], aTe = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), oTe = "/api/duplicates?limit=120", SR = ["duplicates"], CR = "/api/batch", wR = (e) => H(oTe, e), sTe = /[\s\-_.()[\]【】/\\]/;
+function cTe(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 && !oTe.test(n[r - 1]);) --r;
+ for (; r > 0 && !sTe.test(n[r - 1]);) --r;
return r >= 8 ? n.slice(0, r) : "";
}
-var cTe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
-async function lTe(e) {
+var lTe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
+async function uTe(e) {
await Promise.all([W.fetchQuery({
- queryKey: xR,
- queryFn: () => CR(e)
- }), bR(e)]);
+ queryKey: SR,
+ queryFn: () => wR(e)
+ }), xR(e)]);
}
-var wR = {
+var TR = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, uTe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), TR = (e, t) => uTe(e, t).filter((t) => e.some((e) => e.location !== t)), dTe = (e, t) => t.filter((t) => e.some((e) => TR(e.files, [t]).length));
-function fTe(e, t) {
+}, dTe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), ER = (e, t) => dTe(e, t).filter((t) => e.some((e) => e.location !== t)), fTe = (e, t) => t.filter((t) => e.some((e) => ER(e.files, [t]).length));
+function pTe(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -53565,12 +53578,12 @@ function fTe(e, t) {
}
return n;
}
-function pTe(e, t) {
+function mTe(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 ER(e, t) {
- for (let n = 0; n < e.length; n += 200) await U(SR, {
+async function DR(e, t) {
+ for (let n = 0; n < e.length; n += 200) await U(CR, {
ids: e.slice(n, n + 200),
operation: t,
...t === "dispose" ? { disposal_reason: "duplicate" } : {}
@@ -53578,7 +53591,7 @@ async function ER(e, t) {
}
//#endregion
//#region src/react/media-repair/media-repair.ts
-var DR = "/api/media-repair", OR = ["media-repair"], kR = ["media-repair", "libraries"], mTe = {
+var OR = "/api/media-repair", kR = ["media-repair"], AR = ["media-repair", "libraries"], hTe = {
status: "idle",
library: "",
stage: "",
@@ -53590,41 +53603,41 @@ var DR = "/api/media-repair", OR = ["media-repair"], kR = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, AR = (e) => H(DR, e), jR = async (e) => (await H("/api/libraries", e)).libraries || [];
-async function hTe(e) {
+}, jR = (e) => H(OR, e), MR = async (e) => (await H("/api/libraries", e)).libraries || [];
+async function gTe(e) {
await Promise.all([W.fetchQuery({
- queryKey: OR,
- queryFn: () => AR(e)
- }), W.fetchQuery({
queryKey: kR,
queryFn: () => jR(e)
+ }), W.fetchQuery({
+ queryKey: AR,
+ queryFn: () => MR(e)
})]);
}
-var MR = (e) => Number(e).toLocaleString();
-function gTe(e) {
+var NR = (e) => Number(e).toLocaleString();
+function _Te(e) {
if (e.status === "running") {
- let t = e.total ? `${MR(Math.min(e.checked || 0, e.total))} / ${MR(e.total)}` : "准备中";
+ let t = e.total ? `${NR(Math.min(e.checked || 0, e.total))} / ${NR(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${MR(e.repaired)} 部,${MR(e.failed)} 部修不了` : `修好 ${MR(e.repaired)} 部` : "";
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${NR(e.repaired)} 部,${NR(e.failed)} 部修不了` : `修好 ${NR(e.repaired)} 部` : "";
}
-var _Te = (e) => `${MR(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, vTe = "/api/quality-goals?limit=200", NR = ["quality-goals"], PR = (e) => H(vTe, e);
-async function yTe(e) {
+var vTe = (e) => `${NR(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, yTe = "/api/quality-goals?limit=200", PR = ["quality-goals"], FR = (e) => H(yTe, e);
+async function bTe(e) {
await W.fetchQuery({
- queryKey: NR,
- queryFn: () => PR(e)
+ queryKey: PR,
+ queryFn: () => FR(e)
});
}
-var FR = (e) => e.has_cover ? $i(e) : `/poster?id=${e.id}&c=4`;
+var IR = (e) => e.has_cover ? $i(e) : `/poster?id=${e.id}&c=4`;
//#endregion
//#region src/selection.ts
-function IR(e, t, n, r, i, a = i || !e.has(r)) {
+function LR(e, t, n, r, i, a = i || !e.has(r)) {
let o = n === null ? -1 : t.indexOf(n), s = t.indexOf(r);
return i && o >= 0 && s >= 0 ? t.slice(Math.min(o, s), Math.max(o, s) + 1).forEach((t) => e.add(t)) : a ? e.add(r) : e.delete(r), r;
}
//#endregion
//#region src/react/review/review.ts
-var bTe = "/api/review", xTe = "/api/review/decision", STe = "/api/review/genre", LR = ["review"], RR = {
+var xTe = "/api/review", STe = "/api/review/decision", CTe = "/api/review/genre", RR = ["review"], zR = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -53634,15 +53647,15 @@ var bTe = "/api/review", xTe = "/api/review/decision", STe = "/api/review/genre"
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, CTe = Object.keys(RR), wTe = "metadata_fields", zR = (e) => typeof e == "string" && Object.hasOwn(RR, e), TTe = {
+}, wTe = Object.keys(zR), TTe = "metadata_fields", BR = (e) => typeof e == "string" && Object.hasOwn(zR, e), ETe = {
creator_tags: "creator",
western_identity: "creator"
};
-function ETe(e, t) {
+function DTe(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 BR(e, t) {
+function VR(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -53659,10 +53672,10 @@ function BR(e, t) {
}
return [...n.values()];
}
-function DTe(e, t, n) {
- return n && BR(e, t).find((e) => e.key === n)?.rows || e;
+function OTe(e, t, n) {
+ return n && VR(e, t).find((e) => e.key === n)?.rows || e;
}
-function OTe(e, t) {
+function kTe(e, t) {
let n = vn(e.length, 20), r = yn(t, n);
return {
page: r,
@@ -53670,32 +53683,32 @@ function OTe(e, t) {
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function kTe(e) {
+function ATe(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 ATe(e, t, n, r, i, a) {
- return IR(e, t, n, r, i, a);
+function jTe(e, t, n, r, i, a) {
+ return LR(e, t, n, r, i, a);
}
-function VR(e, t) {
+function HR(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function HR(e, t) {
+function UR(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
-var UR = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function jTe(e, t) {
- let n = HR(e, t), r = UR(e, t);
+var WR = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+function MTe(e, t) {
+ let n = UR(e, t), r = WR(e, t);
return r ? `${n} · ${r}` : n;
}
-var MTe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", NTe = (e) => String(e.tags || "").split("|").filter(Boolean), PTe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function FTe(e) {
+var NTe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", PTe = (e) => String(e.tags || "").split("|").filter(Boolean), FTe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function ITe(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function WR(e, t, n, r) {
+function GR(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -53711,19 +53724,19 @@ function WR(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var ITe = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", GR = (e) => H(bTe, e), KR = (e) => U(xTe, e), LTe = (e, t) => U(STe, {
+var LTe = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", KR = (e) => H(xTe, e), qR = (e) => U(STe, e), RTe = (e, t) => U(CTe, {
genre: e,
tag: t
});
-async function RTe(e) {
+async function zTe(e) {
await W.fetchQuery({
- queryKey: LR,
- queryFn: () => GR(e)
+ queryKey: RR,
+ queryFn: () => KR(e)
});
}
-function qR(e, t) {
+function JR(e, t) {
let n = new Set(t);
- n.size && W.setQueryData(LR, (t) => {
+ n.size && W.setQueryData(RR, (t) => {
if (!t) return t;
let r = t.sections[e] || [], i = r.filter((e) => !n.has(String(e.item_key)));
return i.length === r.length ? t : {
@@ -53739,194 +53752,194 @@ function qR(e, t) {
};
});
}
-var zTe = () => W.invalidateQueries({
- queryKey: LR,
+var BTe = () => W.invalidateQueries({
+ queryKey: RR,
exact: !0
});
-function BTe(e, t) {
+function VTe(e, t) {
return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Tn(e.fetched_at)} 的缓存` : e?.error || t;
}
//#endregion
//#region src/react/data-cleanup/links.ts
-var VTe = "/api/links", JR = "/api/links/check", YR = "/api/links/prune", XR = ["links"], ZR = ["links", "check"], QR = ["links", "prune"], $R = {
+var HTe = "/api/links", YR = "/api/links/check", XR = "/api/links/prune", ZR = ["links"], QR = ["links", "check"], $R = ["links", "prune"], ez = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
source_reference: "资料出处"
};
-async function ez(e) {
+async function tz(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var tz = (e) => H(VTe, e), nz = (e) => U(JR, { status_only: !0 }, "POST", e), HTe = ({ retry: e, checkId: t }) => ez(U(JR, e ? {
+var nz = (e) => H(HTe, e), rz = (e) => U(YR, { status_only: !0 }, "POST", e), UTe = ({ retry: e, checkId: t }) => tz(U(YR, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), rz = (e) => H(YR, e), UTe = ({ checkId: e, ids: t }) => ez(U(YR, {
+} : { restart: !0 })), iz = (e) => H(XR, e), WTe = ({ checkId: e, ids: t }) => tz(U(XR, {
confirm: !0,
check_id: e,
background: !0,
...t ? { ids: t } : {}
-})), iz = (e) => Number(e || 0).toLocaleString(), az = (e) => `已删除 ${iz(e.removed)} 条;${e.marked ? `已隐退女优的 ${iz(e.marked)} 条留作不可点的记录;` : ""}保留 ${iz(e.recovered)} 条未确认失效的链接。`;
-function WTe(e) {
+})), az = (e) => Number(e || 0).toLocaleString(), oz = (e) => `已删除 ${az(e.removed)} 条;${e.marked ? `已隐退女优的 ${az(e.marked)} 条留作不可点的记录;` : ""}保留 ${az(e.recovered)} 条未确认失效的链接。`;
+function GTe(e) {
let t = e.scope === "retry";
- return e.total ? `${t ? "已重验" : "已检查"} ${iz(e.checked)} / ${iz(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${az(e.checked)} / ${az(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
//#endregion
//#region src/react/settings-panel/settings-data.ts
-var oz = "/api/settings", sz = "/api/follow/schedule", cz = "/api/thumbnail-jobs", lz = ["settings"], uz = ["follow-schedule"], dz = ["thumbnail-jobs"], fz = (e) => H(oz, e), GTe = (e) => H(sz, e), KTe = (e) => H(cz, e);
-function qTe(e = W) {
+var sz = "/api/settings", cz = "/api/follow/schedule", lz = "/api/thumbnail-jobs", uz = ["settings"], dz = ["follow-schedule"], fz = ["thumbnail-jobs"], pz = (e) => H(sz, e), KTe = (e) => H(cz, e), qTe = (e) => H(lz, e);
+function JTe(e = W) {
return e.fetchQuery({
- queryKey: lz,
- queryFn: ({ signal: e }) => fz(e),
+ queryKey: uz,
+ queryFn: ({ signal: e }) => pz(e),
staleTime: 0
}).catch(() => null);
}
-function pz() {
+function mz() {
return mt({
- mutationFn: (e) => U(oz, e),
- onSuccess: (e) => W.setQueryData(lz, e)
+ mutationFn: (e) => U(sz, e),
+ onSuccess: (e) => W.setQueryData(uz, e)
});
}
-function JTe() {
+function YTe() {
return mt({
- mutationFn: (e) => U(sz, {
+ mutationFn: (e) => U(cz, {
enabled: e > 0,
interval_minutes: e || 60
}),
- onSuccess: (e) => W.setQueryData(uz, e)
+ onSuccess: (e) => W.setQueryData(dz, e)
});
}
-function YTe() {
+function XTe() {
return mt({
- mutationFn: (e) => U(cz, { mode: e }),
- onSuccess: (e) => W.setQueryData(dz, e)
+ mutationFn: (e) => U(lz, { mode: e }),
+ onSuccess: (e) => W.setQueryData(fz, e)
});
}
//#endregion
//#region src/react/data-cleanup/organize.ts
-var XTe = "/api/organize", ZTe = "/api/organize/preview", QTe = "/api/organize/apply", $Te = "/api/organize/rollback", mz = ["organize"], hz = (e) => H(XTe, e);
-async function eEe(e) {
+var ZTe = "/api/organize", QTe = "/api/organize/preview", $Te = "/api/organize/apply", eEe = "/api/organize/rollback", hz = ["organize"], gz = (e) => H(ZTe, e);
+async function tEe(e) {
await W.fetchQuery({
- queryKey: mz,
- queryFn: () => hz(e)
+ queryKey: hz,
+ queryFn: () => gz(e)
});
}
-var tEe = (e) => U(ZTe, e), nEe = (e) => e.kind === "apply" ? U(QTe, {
+var nEe = (e) => U(QTe, e), rEe = (e) => e.kind === "apply" ? U($Te, {
...e.request,
confirm: !0
-}) : U($Te, { confirm: !0 });
-async function rEe(e) {
- W.setQueryData(mz, (t) => t && {
+}) : U(eEe, { confirm: !0 });
+async function iEe(e) {
+ W.setQueryData(hz, (t) => t && {
...t,
templates: e
});
try {
- await U(oz, { organizeTemplates: e });
+ await U(sz, { organizeTemplates: e });
} catch {}
}
-var iEe = (e, t) => e && {
+var aEe = (e, t) => e && {
...e,
...t
-}, aEe = /目录模板|分隔符|盘符|`\.`/;
-function gz(e) {
+}, oEe = /目录模板|分隔符|盘符|`\.`/;
+function _z(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var _z = (e) => Number(e || 0).toLocaleString();
-function oEe(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${_z(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${_z(e.counts.change)} 个文件会改名或移动,${_z(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+var vz = (e) => Number(e || 0).toLocaleString();
+function sEe(e) {
+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${vz(t)}`).join(" · ");
+ return Number(e.counts?.change || 0) ? `${vz(e.counts.change)} 个文件会改名或移动,${vz(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
}
-function vz(e) {
+function yz(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
- text: t ? `已退回 ${_z(r)} 个文件${n ? `,${_z(n)} 行未能退回` : ""}。` : `已整理 ${_z(r)} 个文件${n ? `,${_z(n)} 行未能处理` : ""}。`,
+ text: t ? `已退回 ${vz(r)} 个文件${n ? `,${vz(n)} 行未能退回` : ""}。` : `已整理 ${vz(r)} 个文件${n ? `,${vz(n)} 行未能处理` : ""}。`,
failed: n,
rollback: t
};
}
//#endregion
//#region src/react/data-cleanup/resource-sync.ts
-var yz = "/api/resource-sync/scan", bz = "/api/resource-sync/apply", xz = ["resource-sync", "scan"], Sz = ["resource-sync", "apply"], Cz = (e) => U(yz, {
+var bz = "/api/resource-sync/scan", xz = "/api/resource-sync/apply", Sz = ["resource-sync", "scan"], Cz = ["resource-sync", "apply"], wz = (e) => U(bz, {
background: !0,
status_only: !0
-}, "POST", e), sEe = () => U(yz, {
+}, "POST", e), cEe = () => U(bz, {
background: !0,
restart: !0
-}), wz = (e) => H(bz, e), cEe = (e) => U(bz, {
+}), Tz = (e) => H(xz, e), lEe = (e) => U(xz, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), Tz = (e) => (e?.sources ?? []).some((e) => rTe.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function lEe(e) {
- Tz(W.getQueryData(xn)) && await Promise.all([W.fetchQuery({
- queryKey: xz,
- queryFn: () => Cz(e)
- }), W.fetchQuery({
+}), Ez = (e) => (e?.sources ?? []).some((e) => iTe.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function uEe(e) {
+ Ez(W.getQueryData(xn)) && await Promise.all([W.fetchQuery({
queryKey: Sz,
queryFn: () => wz(e)
+ }), W.fetchQuery({
+ queryKey: Cz,
+ queryFn: () => Tz(e)
})]);
}
-var uEe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), dEe = {
+var dEe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), fEe = {
local: "本地磁盘",
115: "115",
pikpak: "PikPak"
-}, Ez = (e) => Number(e || 0).toLocaleString(), fEe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", Dz = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), Oz = (e) => e.vanish ? `${Ez(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", kz = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", pEe = (e) => `将永久删除文件已不在盘上的 ${Ez(Dz(e))} 条记录和 ${Ez(e.empty)} 个空文件夹,并清理 ${Ez(e.cache?.files)} 个闲置缓存。${kz(e)}${Oz(e)}`, mEe = (e) => `将永久删除文件已不在盘上的 ${Ez(Dz(e))} 条记录(含回收站里的)、${Ez(e.empty)} 个空文件夹,并清理 ${Ez(e.cache?.files)} 个闲置缓存。来源根目录保留。${kz(e)}${Oz(e)}`, hEe = (e) => e.online ? [
- `找不到文件 · 共 ${Ez(e.total)} 项`,
- e.vanish ? `${Ez(e.vanish)} 项带个人记录` : "",
- e.empty ? `空文件夹 ${Ez(e.empty)} 个` : "",
- e.unreadable ? `${Ez(e.unreadable)} 个目录读取失败,已跳过` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${Ez(e.total)} 项`;
-function Az(e) {
+}, Dz = (e) => Number(e || 0).toLocaleString(), pEe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", Oz = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), kz = (e) => e.vanish ? `${Dz(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", Az = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", mEe = (e) => `将永久删除文件已不在盘上的 ${Dz(Oz(e))} 条记录和 ${Dz(e.empty)} 个空文件夹,并清理 ${Dz(e.cache?.files)} 个闲置缓存。${Az(e)}${kz(e)}`, hEe = (e) => `将永久删除文件已不在盘上的 ${Dz(Oz(e))} 条记录(含回收站里的)、${Dz(e.empty)} 个空文件夹,并清理 ${Dz(e.cache?.files)} 个闲置缓存。来源根目录保留。${Az(e)}${kz(e)}`, gEe = (e) => e.online ? [
+ `找不到文件 · 共 ${Dz(e.total)} 项`,
+ e.vanish ? `${Dz(e.vanish)} 项带个人记录` : "",
+ e.empty ? `空文件夹 ${Dz(e.empty)} 个` : "",
+ e.unreadable ? `${Dz(e.unreadable)} 个目录读取失败,已跳过` : ""
+].filter(Boolean).join(" · ") : `馆藏中有 ${Dz(e.total)} 项`;
+function jz(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 ? `${Ez(t.length)} 条记录没有删除(${o})` : "",
- n ? `${Ez(n)} 个文件夹没有删除` : "",
- r.length ? `${Ez(r.length)} 个缓存没有清理` : ""
+ t.length ? `${Dz(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${Dz(n)} 个文件夹没有删除` : "",
+ r.length ? `${Dz(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
-var gEe = (e, t) => {
- let { rest: n } = Az(e), r = `已永久删除 ${Ez(e.purged)} 条失效记录和 ${Ez(e.dirs_removed)} 个空文件夹,清理 ${Ez(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${Ez(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${Ez(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
+var _Ee = (e, t) => {
+ let { rest: n } = jz(e), r = `已永久删除 ${Dz(e.purged)} 条失效记录和 ${Dz(e.dirs_removed)} 个空文件夹,清理 ${Dz(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${Dz(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${Dz(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
return n ? `${r}${n},重新检查后可再试。` : r;
-}, _Ee = "/api/review?counts=1", jz = ["review", "counts"], vEe = "/api/ads?limit=1", Mz = ["junk-summary"], Nz = "/api/items?state=trash&limit=1", Pz = ["trash-summary"], yEe = [
+}, vEe = "/api/review?counts=1", Mz = ["review", "counts"], yEe = "/api/ads?limit=1", Nz = ["junk-summary"], Pz = "/api/items?state=trash&limit=1", Fz = ["trash-summary"], bEe = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], Fz = (e) => H(_Ee, e), Iz = (e) => H(vEe, e), Lz = (e) => {
+], Iz = (e) => H(vEe, e), Lz = (e) => H(yEe, e), Rz = (e) => {
let t = sessionStorage.getItem("peach.library");
- return H(t ? `${Nz}&library=${encodeURIComponent(t)}` : Nz, e);
-}, Rz = (e) => Number(e || 0).toLocaleString();
-function bEe(e) {
- let t = RR, 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 H(t ? `${Pz}&library=${encodeURIComponent(t)}` : Pz, e);
+}, zz = (e) => Number(e || 0).toLocaleString();
+function xEe(e) {
+ let t = zR, 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 xEe(e) {
+function SEe(e) {
if (!e) return "";
- let t = yEe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${Rz(e.counts[t])}`);
- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${Rz(e.dismissed_total)}`), t.join(" · ");
-}
-var SEe = [
- [jz, ({ signal: e }) => Fz(e)],
- [NR, ({ signal: e }) => PR(e)],
- [Pz, ({ signal: e }) => Lz(e)],
- [XR, ({ signal: e }) => tz(e)],
+ let t = bEe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${zz(e.counts[t])}`);
+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${zz(e.dismissed_total)}`), t.join(" · ");
+}
+var CEe = [
+ [Mz, ({ signal: e }) => Iz(e)],
+ [PR, ({ signal: e }) => FR(e)],
+ [Fz, ({ signal: e }) => Rz(e)],
[ZR, ({ signal: e }) => nz(e)],
- [QR, ({ signal: e }) => rz(e)]
+ [QR, ({ signal: e }) => rz(e)],
+ [$R, ({ signal: e }) => iz(e)]
];
-async function CEe(e) {
- let t = location.hash === "#resource-sync", n = SEe.map(([n, r]) => {
+async function wEe(e) {
+ let t = location.hash === "#resource-sync", n = CEe.map(([n, r]) => {
if (t) return W.fetchQuery({
queryKey: n,
queryFn: () => r({ signal: e })
@@ -53939,40 +53952,40 @@ async function CEe(e) {
await Promise.all([
...n,
W.fetchQuery({
- queryKey: Mz,
- queryFn: () => Iz(e)
+ queryKey: Nz,
+ queryFn: () => Lz(e)
}),
W.fetchQuery({
- queryKey: xR,
- queryFn: () => CR(e)
+ queryKey: SR,
+ queryFn: () => wR(e)
}),
- bR(e).then(() => lEe(e)),
- dI(e),
- hTe(e),
- eEe(e)
+ xR(e).then(() => uEe(e)),
+ fI(e),
+ gTe(e),
+ tEe(e)
]);
}
//#endregion
//#region src/react/components/stat-card.tsx
-var wEe = [
+var TEe = [
"text-chart-6",
"text-chart-5",
"text-chart-7",
"text-chart-8"
-], TEe = [
+], EEe = [
"bg-chart-6/10",
"bg-chart-5/10",
"bg-chart-7/10",
"bg-chart-8/10"
];
-function zz(e = {}) {
+function Bz(e = {}) {
return `${oA({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var Bz = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", EEe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
-function Vz({ interactive: e = !1 } = {}) {
+var Vz = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", DEe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
+function Hz({ interactive: e = !1 } = {}) {
return oA({
padding: "none",
radius: "plain",
@@ -53980,8 +53993,8 @@ function Vz({ interactive: e = !1 } = {}) {
className: "flex min-h-33 flex-col gap-2 p-4 text-left"
});
}
-var DEe = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
-function Hz({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
+var OEe = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
+function Uz({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",
@@ -54014,13 +54027,13 @@ function Hz({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta
})
] });
}
-function Uz({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
+function Wz({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.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, C.jsx)("i", {
"aria-hidden": !0,
- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${wEe[n % 4]} ${TEe[n % 4]}`,
+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${TEe[n % 4]} ${EEe[n % 4]}`,
children: /* @__PURE__ */ (0, C.jsx)(t, {
"aria-hidden": !0,
className: "size-4"
@@ -54042,139 +54055,139 @@ function Uz({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
}
//#endregion
//#region src/management.ts
-var Wz = "扫描媒体文件夹,补全资料、封面与视频预览。下拉菜单可选择只扫描、只生成本地预览或只采集在线资料。", Gz = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", Kz = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", qz = "type=\"button\" disabled data-skeleton-action", Jz = "disabled data-skeleton-action", OEe = "aria-disabled=\"true\"", Yz = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, Xz = (e, t) => `<div data-geist-fieldset-content>
+var Gz = "扫描媒体文件夹,补全资料、封面与视频预览。下拉菜单可选择只扫描、只生成本地预览或只采集在线资料。", Kz = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", qz = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", Jz = "type=\"button\" disabled data-skeleton-action", Yz = "disabled data-skeleton-action", kEe = "aria-disabled=\"true\"", Xz = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, Zz = (e, t) => `<div data-geist-fieldset-content>
<h3 class="text-title-2-medium text-text-primary">${e}</h3>
<p class="text-body-2-regular text-text-secondary">${t}</p></div>`;
-function kEe() {
- return Yz(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>
- ${Xz("扫描与采集", Wz)}
+function AEe() {
+ return Xz(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>
+ ${Zz("扫描与采集", Gz)}
<footer data-geist-fieldset-footer><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${no("arrow-up", "size-[18px] shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${ao({
glyph: "database",
label: "扫描并补全资料",
- attrs: Jz
+ attrs: Yz
})}${ao({
glyph: "chevron-down",
- attrs: `${Jz} aria-label="更多扫描与采集方式"`
+ attrs: `${Yz} aria-label="更多扫描与采集方式"`
})}</span></footer>
</section>`);
}
-function AEe() {
- return Yz(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>
- ${Xz("媒体修复", Gz)}
- <footer data-geist-fieldset-footer>${so(Kz, {
+function jEe() {
+ return Xz(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>
+ ${Zz("媒体修复", Kz)}
+ <footer data-geist-fieldset-footer>${so(qz, {
className: "w-48",
- attrs: OEe
+ attrs: kEe
})}${ao({
label: "开始修复",
- attrs: Jz
+ attrs: Yz
})}</footer>
</section>`);
}
-function Zz() {
+function Qz() {
let e = [
["人工复核", "square-check-big"],
["高清版", "sparkles"],
["重复文件", "file-stack"],
["垃圾文件", "file-archive"],
["回收站", "trash"]
- ], t = `<span class="geist-button ui-organize-preset-skeleton">${Kz}</span>`.repeat(3), n = (e) => `<div class="ui-organizefield"><span>${e}</span>
- <span class="geist-input ui-organize-input-skeleton">${Kz}</span></div>`;
+ ], t = `<span class="geist-button ui-organize-preset-skeleton">${qz}</span>`.repeat(3), n = (e) => `<div class="ui-organizefield"><span>${e}</span>
+ <span class="geist-input ui-organize-input-skeleton">${qz}</span></div>`;
return `<div class="ui-cleanuppage" data-skeleton="cleanup" aria-busy="true" aria-label="正在读取数据管理状态">
<div class="ui-cleanupstats">${e.map(([e, t]) => `
<button type="button" class="board-plain-stat" disabled>
<span class="ui-board-plain-stat-head"><span class="ui-board-stat-tile">${z(t)}</span>${e}</span>
- <strong>${Kz}</strong><span class="cleanupmeta">${Kz}</span></button>`).join("")}</div>
+ <strong>${qz}</strong><span class="cleanupmeta">${qz}</span></button>`).join("")}</div>
<div class="cleanupgrid">
- <div class="cleanupscraping">${kEe()}</div>
- <div class="cleanupmediarepair">${AEe()}</div>
+ <div class="cleanupscraping">${AEe()}</div>
+ <div class="cleanupmediarepair">${jEe()}</div>
<section class="cleanupfieldset cleanuporganize" data-geist-fieldset data-cleanup-task aria-labelledby="cleanup-loading-organize">
<div class="geist-fieldset-content"><h3 class="geist-fieldset-title" id="cleanup-loading-organize">整理</h3>
<p>按模板给文件改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。</p>
<div class="ui-organizefields">
- <div class="organizesource"><span class="ui-gselect"><span class="gselectfield organize-source-skeleton">${Kz}${z("chevron-down")}</span></span></div>
+ <div class="organizesource"><span class="ui-gselect"><span class="gselectfield organize-source-skeleton">${qz}${z("chevron-down")}</span></span></div>
${n("文件名模板")}
${n("目录模板")}
<div class="ui-organizepresets">${t}</div>
- <p class="cleanupmeta">${Kz}</p>
+ <p class="cleanupmeta">${qz}</p>
</div></div>
- <footer class="geist-fieldset-footer" data-geist-fieldset-footer><button class="geist-button primary" ${qz}>预览</button></footer>
+ <footer class="geist-fieldset-footer" data-geist-fieldset-footer><button class="geist-button primary" ${Jz}>预览</button></footer>
</section></div>
<section class="ui-resourcesync" aria-labelledby="cleanup-loading-links">
<h2 id="cleanup-loading-links">链接管理</h2>
<div class="resourcesyncbox" data-geist-fieldset data-cleanup-task data-fieldset-stack>
<div class="resourcesyncbody geist-fieldset-content"><h3 class="geist-fieldset-title">站外链接</h3>
- <div class="linksummary"><div class="ui-linkstats"><div><span>链接总数</span><b>${Kz}</b><small>${Kz}</small></div>${[
+ <div class="linksummary"><div class="ui-linkstats"><div><span>链接总数</span><b>${qz}</b><small>${qz}</small></div>${[
"官网/事务所",
"社交账号",
"作品资料站"
- ].map((e) => `<div><span>${e}</span><b>${Kz}</b></div>`).join("")}</div>
- <div class="ui-linkhosts"><span>主要站点</span><b>${Kz}</b></div></div></div>
- <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${qz}>${z("unlink")}<span>检查死链</span></button></div>
+ ].map((e) => `<div><span>${e}</span><b>${qz}</b></div>`).join("")}</div>
+ <div class="ui-linkhosts"><span>主要站点</span><b>${qz}</b></div></div></div>
+ <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${Jz}>${z("unlink")}<span>检查死链</span></button></div>
</div></section>
<section class="ui-resourcesync" aria-labelledby="cleanup-loading-sync">
<h2 id="cleanup-loading-sync">资源同步</h2>
<div class="resourcesyncbox" data-geist-fieldset data-cleanup-task>
<div class="resourcesyncbody geist-fieldset-content"><h3 class="geist-fieldset-title">文件与记录核对</h3>
<p>按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。</p></div>
- <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${qz}>${z("git-compare")}<span>检查文件</span></button></div>
+ <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${Jz}>${z("git-compare")}<span>检查文件</span></button></div>
</div></section></div>`;
}
//#endregion
//#region src/react/components/fieldset.tsx
-var jEe = oA({
+var MEe = oA({
padding: "none",
bordered: "line",
className: "overflow-hidden"
-}), MEe = {
+}), NEe = {
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"
-}, NEe = {
+}, PEe = {
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"
-}, PEe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", FEe = {
+}, FEe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", IEe = {
neutral: "border-border-button-default bg-card-footer",
error: "border-border-error-default bg-background-tertiary-error"
-}, IEe = oA({
+}, LEe = oA({
padding: "none",
radius: "surface",
bordered: "line",
className: "overflow-hidden"
-}), Qz = "border-t border-border-button-default p-4 first:border-t-0";
-function LEe({ tone: e = "neutral", status: t, children: n }) {
+}), $z = "border-t border-border-button-default p-4 first:border-t-0";
+function REe({ tone: e = "neutral", status: t, children: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
- className: `${PEe} ${FEe[e]}`,
+ className: `${FEe} ${IEe[e]}`,
children: [t ? /* @__PURE__ */ (0, C.jsx)("p", {
className: `mr-auto min-w-0 text-caption-1-regular ${e === "error" ? "text-text-error-primary" : "text-text-secondary"}`,
children: t
}) : null, n]
});
}
-function $z({ id: e, gap: t = "none", children: n }) {
+function eB({ id: e, gap: t = "none", children: n }) {
return /* @__PURE__ */ (0, C.jsx)("h3", {
id: e,
className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,
children: n
});
}
-function eB({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function tB({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
return /* @__PURE__ */ (0, C.jsxs)("section", {
id: r,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: `${jEe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
+ className: `${MEe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
children: [/* @__PURE__ */ (0, C.jsx)("div", {
- className: MEe[e],
+ className: NEe[e],
children: a
}), i ? /* @__PURE__ */ (0, C.jsx)("footer", {
- className: NEe[e],
+ className: PEe[e],
children: i
}) : null]
});
}
//#endregion
//#region src/react/components/path-line.tsx
-function REe({ className: e }) {
+function zEe({ className: e }) {
return /* @__PURE__ */ (0, C.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -54187,8 +54200,8 @@ function REe({ className: e }) {
children: /* @__PURE__ */ (0, C.jsx)("use", { href: "#i-folder-open" })
});
}
-var zEe = "打开文件管理器失败,请重试";
-function tB({ path: e, prefix: t, className: n, onRevealed: r }) {
+var BEe = "打开文件管理器失败,请重试";
+function nB({ path: e, prefix: t, className: n, onRevealed: r }) {
let [i, a] = (0, S.useState)(!1), [o, s] = (0, S.useState)(""), c = (0, S.useRef)(!0);
(0, S.useEffect)(() => () => {
c.current = !1;
@@ -54199,7 +54212,7 @@ function tB({ path: e, prefix: t, className: n, onRevealed: r }) {
try {
await U("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof un ? e.message : zEe);
+ c.current && s(e instanceof un ? e.message : BEe);
} finally {
c.current && a(!1);
}
@@ -54212,8 +54225,8 @@ function tB({ path: e, prefix: t, className: n, onRevealed: r }) {
children: [/* @__PURE__ */ (0, C.jsxs)("p", {
className: eA("min-w-0 break-all", n),
children: [t, e]
- }), /* @__PURE__ */ (0, C.jsx)(EP, {
- icon: REe,
+ }), /* @__PURE__ */ (0, C.jsx)(ej, {
+ icon: zEe,
size: "small",
className: "shrink-0",
"aria-label": "在资源管理器中显示",
@@ -54228,7 +54241,7 @@ function tB({ path: e, prefix: t, className: n, onRevealed: r }) {
}
//#endregion
//#region src/react/components/task-progress.tsx
-function nB({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
+function rB({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-task-progress": !0,
className: r ? "flex flex-col gap-1.5" : oA({
@@ -54248,18 +54261,18 @@ function nB({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
}
//#endregion
//#region src/react/library-processing/use-library-processing.ts
-function rB({ toast: e, mode: t, monitor: n }) {
+function iB({ toast: e, mode: t, monitor: n }) {
let r = t === "notice" || !!n, i = pt({
- queryKey: lI,
- queryFn: ({ signal: e }) => uI(e),
- refetchInterval: (e) => pI(e.state.data, r)
+ queryKey: uI,
+ queryFn: ({ signal: e }) => dI(e),
+ refetchInterval: (e) => mI(e.state.data, r)
}), [a, o] = (0, S.useState)(null), s = (0, S.useRef)(void 0), c = i.data;
return (0, S.useEffect)(() => {
if (!c) return;
let n = s.current;
s.current = c.status;
let r = n === "running" && c.status !== "running";
- r && o(c), (r || t === "notice") && CSe(c, e, r);
+ r && o(c), (r || t === "notice") && wSe(c, e, r);
}, [
c,
t,
@@ -54272,14 +54285,14 @@ function rB({ toast: e, mode: t, monitor: n }) {
}
//#endregion
//#region src/react/library-processing/library-processing-card.tsx
-var BEe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", VEe = (e) => {
+var VEe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", HEe = (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(",")}。`;
-}, HEe = (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} 部视频预览。` : "") + VEe(e);
-function UEe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = xSe(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = bSe(e.notes || {}), c = AP();
+}, UEe = (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} 部视频预览。` : "") + HEe(e);
+function WEe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = SSe(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = xSe(e.notes || {}), c = jP();
return /* @__PURE__ */ (0, C.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
@@ -54287,7 +54300,7 @@ function UEe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
e.status === "running" && e.stalled ? /* @__PURE__ */ (0, C.jsx)(q, {
tone: "warning",
title: "处理较慢",
- children: BEe
+ children: VEe
}) : null,
t || e.status === "failed" ? /* @__PURE__ */ (0, C.jsx)(q, {
tone: "error",
@@ -54330,7 +54343,7 @@ function UEe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
})
}), a.log ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "mt-2 border-t border-current/20 pt-2 text-text-secondary",
- children: /* @__PURE__ */ (0, C.jsx)(tB, {
+ children: /* @__PURE__ */ (0, C.jsx)(nB, {
path: a.log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -54344,13 +54357,13 @@ function UEe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
n?.status === "complete" ? /* @__PURE__ */ (0, C.jsx)(q, {
tone: "success",
title: "处理完成",
- children: HEe(n)
+ children: UEe(n)
}) : null,
e.status !== "running" && s ? /* @__PURE__ */ (0, C.jsx)(q, {
tone: "neutral",
extra: e.issues_log ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",
- children: /* @__PURE__ */ (0, C.jsx)(tB, {
+ children: /* @__PURE__ */ (0, C.jsx)(nB, {
path: e.issues_log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -54362,22 +54375,22 @@ function UEe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
]
});
}
-function iB(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = rB(e), o = mt({
- mutationFn: (e) => U(cI, e),
+function aB(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = iB(e), o = mt({
+ mutationFn: (e) => U(lI, e),
onSuccess: (e) => {
- a(), W.setQueryData(lI, e), W.invalidateQueries({ queryKey: lI });
+ a(), W.setQueryData(uI, e), W.invalidateQueries({ queryKey: uI });
}
});
(0, S.useEffect)(() => {
i && n?.();
}, [i, n]);
- let s = r.data ?? { status: "idle" }, c = o.error ? V(o.error) : r.isError ? r.data ? fI : V(r.error) : "", l = o.isPending || s.status === "running", u = hI(s), d = (e) => {
+ let s = r.data ?? { status: "idle" }, c = o.error ? V(o.error) : r.isError ? r.data ? pI : V(r.error) : "", l = o.isPending || s.status === "running", u = gI(s), d = (e) => {
l || (o.reset(), o.mutate(e));
};
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, C.jsx)(eB, {
+ children: [/* @__PURE__ */ (0, C.jsx)(tB, {
layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
@@ -54393,7 +54406,7 @@ function iB(e) {
trailingIcon: yk,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, C.jsx)(xI, {
+ /* @__PURE__ */ (0, C.jsx)(SI, {
scan: !0,
busy: l,
onRun: d
@@ -54402,12 +54415,12 @@ function iB(e) {
children: /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, C.jsx)($z, { children: "扫描与采集" }),
+ /* @__PURE__ */ (0, C.jsx)(eB, { children: "扫描与采集" }),
/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: Wz
+ children: Gz
}),
- s.status === "running" ? /* @__PURE__ */ (0, C.jsx)(nB, {
+ s.status === "running" ? /* @__PURE__ */ (0, C.jsx)(rB, {
embedded: !0,
label: u,
value: Math.min(s.checked || 0, s.total || 0),
@@ -54415,7 +54428,7 @@ function iB(e) {
}) : null
]
})
- }), /* @__PURE__ */ (0, C.jsx)(UEe, {
+ }), /* @__PURE__ */ (0, C.jsx)(WEe, {
state: s,
problem: c,
settled: i,
@@ -54431,9 +54444,9 @@ function iB(e) {
}
//#endregion
//#region src/react/background-job.ts
-var aB = 2e3, WEe = (e) => e, GEe = (e, t) => t;
-function oB(e) {
- let { queryKey: t, jobOf: n = WEe, withJob: r = GEe, idlePollMs: i } = e, [a, o] = (0, S.useState)(!1), [s, c] = (0, S.useState)(null), l = (0, S.useRef)(e);
+var oB = 2e3, GEe = (e) => e, KEe = (e, t) => t;
+function sB(e) {
+ let { queryKey: t, jobOf: n = GEe, withJob: r = KEe, idlePollMs: i } = e, [a, o] = (0, S.useState)(!1), [s, c] = (0, S.useState)(null), l = (0, S.useRef)(e);
(0, S.useEffect)(() => {
l.current = e;
});
@@ -54442,7 +54455,7 @@ function oB(e) {
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? aB : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? oB : i ?? !1;
}
}), d = mt({
mutationFn: (e) => l.current.start(e),
@@ -54467,32 +54480,32 @@ function oB(e) {
}
//#endregion
//#region src/react/media-repair/media-repair-card.tsx
-var KEe = (e) => Ya[e] || e, sB = (e) => W.setQueryData(OR, e);
-function qEe() {
+var qEe = (e) => Ya[e] || e, cB = (e) => W.setQueryData(kR, e);
+function JEe() {
let e = pt({
- queryKey: OR,
- queryFn: ({ signal: e }) => AR(e),
- refetchInterval: (e) => e.state.data?.status === "running" && aB
- }), t = pt({
queryKey: kR,
- queryFn: ({ signal: e }) => jR(e)
- }), [n, r] = (0, S.useState)(""), i = fA(), a = e.data ?? mTe, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {
+ queryFn: ({ signal: e }) => jR(e),
+ refetchInterval: (e) => e.state.data?.status === "running" && oB
+ }), t = pt({
+ queryKey: AR,
+ queryFn: ({ signal: e }) => MR(e)
+ }), [n, r] = (0, S.useState)(""), i = fA(), a = e.data ?? hTe, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {
c && Es({
title: `修复媒体库「${c.name}」`,
body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (c.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
confirmLabel: "修复媒体库",
- onConfirm: async () => sB(await U(DR, {
+ onConfirm: async () => cB(await U(OR, {
library: c.id,
restart: !0
}))
});
- }, u = () => void i.run("stop", (e) => U(DR, { stop: !0 }, "POST", e), sB), d = gTe(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
+ }, u = () => void i.run("stop", (e) => U(OR, { stop: !0 }, "POST", e), cB), d = _Te(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, C.jsx)(eB, {
+ children: [/* @__PURE__ */ (0, C.jsx)(tB, {
layout: "split",
label: "媒体修复",
- footer: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(RP, {
+ footer: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(zP, {
"aria-label": "媒体库",
className: "w-48",
selectedKey: c?.id ?? null,
@@ -54500,10 +54513,10 @@ function qEe() {
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: o.map((e) => /* @__PURE__ */ (0, C.jsxs)(zP, {
+ children: o.map((e) => /* @__PURE__ */ (0, C.jsxs)(BP, {
id: e.id,
textValue: e.name,
- children: [/* @__PURE__ */ (0, C.jsx)(kA, { mark: KEe(e.icon) }), e.name]
+ children: [/* @__PURE__ */ (0, C.jsx)(kA, { mark: qEe(e.icon) }), e.name]
}, e.id))
}), s ? /* @__PURE__ */ (0, C.jsx)(K, {
onClick: u,
@@ -54517,10 +54530,10 @@ function qEe() {
children: /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, C.jsx)($z, { children: "媒体修复" }),
+ /* @__PURE__ */ (0, C.jsx)(eB, { children: "媒体修复" }),
/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: Gz
+ children: Kz
}),
s && a.total ? /* @__PURE__ */ (0, C.jsx)(dA, {
label: "修复进度",
@@ -54546,7 +54559,7 @@ function qEe() {
f && a.missing_tool ? /* @__PURE__ */ (0, C.jsx)(q, {
tone: "warning",
title: "缺少 untrunc",
- children: _Te(a)
+ children: vTe(a)
}) : null,
p ? /* @__PURE__ */ (0, C.jsx)(q, {
tone: "error",
@@ -54558,43 +54571,43 @@ function qEe() {
}
//#endregion
//#region src/react/components/use-table-selection.ts
-var cB = /* @__PURE__ */ new Map();
-function lB(e) {
+var lB = /* @__PURE__ */ new Map();
+function uB(e) {
let t = (0, S.useId)(), n = (0, S.useRef)(e);
- return n.current = e, (0, S.useEffect)(() => (cB.set(t, () => n.current()), () => {
- cB.delete(t);
+ return n.current = e, (0, S.useEffect)(() => (lB.set(t, () => n.current()), () => {
+ lB.delete(t);
}), [t]), (0, S.useCallback)(() => {
- for (let [e, n] of cB) e !== t && n();
+ for (let [e, n] of lB) e !== t && n();
}, [t]);
}
//#endregion
//#region src/react/components/data-table.tsx
-var JEe = _L({
- rowSortingFeature: sR,
- rowSelectionFeature: JL,
- rowPaginationFeature: DL,
- sortedRowModel: lR(),
- paginatedRowModel: cR()
+var YEe = vL({
+ rowSortingFeature: cR,
+ rowSelectionFeature: YL,
+ rowPaginationFeature: OL,
+ sortedRowModel: uR(),
+ paginatedRowModel: lR()
});
-function uB({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a, onSelected: o, actions: s, title: c = e, titleId: l, description: u, footerActions: d, panel: f = !0, unit: p = "条记录" }) {
+function dB({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a, onSelected: o, actions: s, title: c = e, titleId: l, description: u, footerActions: d, panel: f = !0, unit: p = "条记录" }) {
let [m, h] = (0, S.useState)([]), [g, _] = (0, S.useState)({
pageIndex: 0,
pageSize: 20
- }), v = lB(() => o([])), y = Math.max(1, Math.ceil(t.length / g.pageSize)), b = Math.min(g.pageIndex, y - 1), x = Object.fromEntries(a.map((e) => [e, !0])), w = uR({
- features: JEe,
+ }), v = uB(() => o([])), y = Math.max(1, Math.ceil(t.length / g.pageSize)), b = Math.min(g.pageIndex, y - 1), x = Object.fromEntries(a.map((e) => [e, !0])), w = dR({
+ features: YEe,
data: t,
columns: (0, S.useMemo)(() => {
- let t = gL();
+ let t = _L();
return t.columns([t.display({
id: "select",
- header: ({ table: t }) => /* @__PURE__ */ (0, C.jsx)(kP, {
+ header: ({ table: t }) => /* @__PURE__ */ (0, C.jsx)(AP, {
slot: null,
"aria-label": `全选${e}`,
isSelected: t.getIsAllRowsSelected(),
isIndeterminate: t.getIsSomeRowsSelected(),
onChange: (e) => t.toggleAllRowsSelected(e)
}),
- cell: ({ row: e }) => /* @__PURE__ */ (0, C.jsx)(kP, {
+ cell: ({ row: e }) => /* @__PURE__ */ (0, C.jsx)(AP, {
slot: null,
"aria-label": `选择 ${i(e.original)}`,
isSelected: e.getIsSelected(),
@@ -54658,7 +54671,7 @@ function uB({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a
className: "text-body-2-regular tabular-nums text-text-secondary",
children: `${t.length.toLocaleString()} ${p}`
}),
- /* @__PURE__ */ (0, C.jsx)(mR, {
+ /* @__PURE__ */ (0, C.jsx)(hR, {
label: e,
options: n.filter((e) => e.value).map((e) => ({
id: e.id,
@@ -54689,10 +54702,10 @@ function uB({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a
children: "取消选择"
})]
}),
- /* @__PURE__ */ (0, C.jsx)(fR, {
+ /* @__PURE__ */ (0, C.jsx)(pR, {
follow: !0,
onRowClick: (e) => w.getRow(e)?.toggleSelected(),
- children: /* @__PURE__ */ (0, C.jsxs)(dR, {
+ children: /* @__PURE__ */ (0, C.jsxs)(fR, {
"aria-label": e,
size: "sm",
sortDescriptor: m[0] ? {
@@ -54700,29 +54713,29 @@ function uB({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a
direction: m[0].desc ? "descending" : "ascending"
} : void 0,
onSortChange: (e) => w.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),
- children: [/* @__PURE__ */ (0, C.jsx)(kN, { children: w.getHeaderGroups()[0].headers.map((e, t) => /* @__PURE__ */ (0, C.jsx)(AN, {
+ children: [/* @__PURE__ */ (0, C.jsx)(MN, { children: w.getHeaderGroups()[0].headers.map((e, t) => /* @__PURE__ */ (0, C.jsx)(NN, {
id: e.id,
isRowHeader: t === 1,
allowsSorting: e.column.getCanSort(),
children: ({ sortDirection: t }) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-0.5",
- children: [wI(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [TI(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": t || void 0,
- children: /* @__PURE__ */ (0, C.jsx)(_P, {})
+ children: /* @__PURE__ */ (0, C.jsx)(bP, {})
}) : null]
})
- }, e.id)) }), /* @__PURE__ */ (0, C.jsx)(MN, {
+ }, e.id)) }), /* @__PURE__ */ (0, C.jsx)(FN, {
renderEmptyState: () => "没有记录",
- children: w.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(FN, {
+ children: w.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(RN, {
id: e.id,
"data-board-selected": e.getIsSelected() || void 0,
- children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(LN, { children: wI(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(BN, { children: TI(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
}),
- /* @__PURE__ */ (0, C.jsx)(hR, {
+ /* @__PURE__ */ (0, C.jsx)(gR, {
label: e,
total: t.length,
pagination: {
@@ -54741,8 +54754,8 @@ function uB({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a
}
//#endregion
//#region src/react/data-cleanup/link-manager.tsx
-var YEe = rP("unlink"), dB = rP("rotate-cw"), XEe = "站点返回 404 或 410,确认这个地址不存在。", ZEe = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", QEe = "删除前会逐条重验一次;此操作不可撤销。", $Ee = "暂时无法读取进度,正在重新连接…", fB = (e) => Number(e || 0).toLocaleString();
-function pB({ label: e, value: t, note: n }) {
+var XEe = oP("unlink"), fB = oP("rotate-cw"), ZEe = "站点返回 404 或 410,确认这个地址不存在。", QEe = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", $Ee = "删除前会逐条重验一次;此操作不可撤销。", eDe = "暂时无法读取进度,正在重新连接…", pB = (e) => Number(e || 0).toLocaleString();
+function mB({ label: e, value: t, note: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 flex-col gap-0.5",
children: [
@@ -54761,10 +54774,10 @@ function pB({ label: e, value: t, note: n }) {
]
});
}
-function mB({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, footer: o }) {
+function hB({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, footer: o }) {
return t.length ? /* @__PURE__ */ (0, C.jsx)("div", {
- className: Qz,
- children: /* @__PURE__ */ (0, C.jsx)(uB, {
+ className: $z,
+ children: /* @__PURE__ */ (0, C.jsx)(dB, {
label: e,
items: t,
columns: [
@@ -54780,8 +54793,8 @@ function mB({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, fo
{
id: "kind",
label: "类型",
- value: (e) => $R[e.link_kind] || e.link_kind,
- render: (e) => $R[e.link_kind] || e.link_kind
+ value: (e) => ez[e.link_kind] || e.link_kind,
+ render: (e) => ez[e.link_kind] || e.link_kind
},
{
id: "label",
@@ -54837,27 +54850,27 @@ function mB({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, fo
})
}) : null;
}
-function eDe() {
+function tDe() {
let e = pt({
- queryKey: XR,
- queryFn: ({ signal: e }) => tz(e)
- }), [t, n] = (0, S.useState)([]), [r, i] = (0, S.useState)([]), a = oB({
- queryKey: QR,
- queryFn: ({ signal: e }) => rz(e),
- start: UTe,
+ queryKey: ZR,
+ queryFn: ({ signal: e }) => nz(e)
+ }), [t, n] = (0, S.useState)([]), [r, i] = (0, S.useState)([]), a = sB({
+ queryKey: $R,
+ queryFn: ({ signal: e }) => iz(e),
+ start: WTe,
onFinish: () => {
W.invalidateQueries({
- queryKey: XR,
+ queryKey: ZR,
exact: !0
}), W.invalidateQueries({
- queryKey: ZR,
+ queryKey: QR,
exact: !0
});
}
- }), o = oB({
- queryKey: ZR,
- queryFn: ({ signal: e }) => nz(e),
- start: HTe,
+ }), o = sB({
+ queryKey: QR,
+ queryFn: ({ signal: e }) => rz(e),
+ start: UTe,
onStarted: () => {
a.dismiss(), n([]), i([]);
}
@@ -54865,7 +54878,7 @@ function eDe() {
(0, S.useEffect)(() => {
n([]), i([]);
}, [c]);
- let l = o.running || o.start.isPending, u = a.running || a.start.isPending, d = s?.status === "complete", f = s?.gone ?? [], p = s?.unclear ?? [], m = d ? p : [], h = f.filter((e) => r.includes(e.id)).map((e) => e.id), g = m.filter((e) => t.includes(e.id)).map((e) => e.id), _ = e.data, v = (_?.top_hosts ?? []).slice(0, 3).map(([e, t]) => `${e} ${fB(t)}`).join(" · "), y = (e) => {
+ let l = o.running || o.start.isPending, u = a.running || a.start.isPending, d = s?.status === "complete", f = s?.gone ?? [], p = s?.unclear ?? [], m = d ? p : [], h = f.filter((e) => r.includes(e.id)).map((e) => e.id), g = m.filter((e) => t.includes(e.id)).map((e) => e.id), _ = e.data, v = (_?.top_hosts ?? []).slice(0, 3).map(([e, t]) => `${e} ${pB(t)}`).join(" · "), y = (e) => {
l || e && !e.length || o.start.mutate(e ? {
retry: e,
checkId: c
@@ -54890,7 +54903,7 @@ function eDe() {
else if (x && !f.length && !p.length) E = /* @__PURE__ */ (0, C.jsx)(q, {
tone: "success",
title: "完成",
- children: az(x)
+ children: oz(x)
});
else if (w) E = /* @__PURE__ */ (0, C.jsx)(q, {
tone: "error",
@@ -54900,7 +54913,7 @@ function eDe() {
else if (o.query.isError && s) E = /* @__PURE__ */ (0, C.jsx)(q, {
tone: "neutral",
title: "任务状态",
- children: $Ee
+ children: eDe
});
else if (s?.status === "failed") E = /* @__PURE__ */ (0, C.jsx)(q, {
tone: "error",
@@ -54908,12 +54921,12 @@ function eDe() {
children: s.error || "检查失败"
});
else if (s && s.status !== "idle") {
- T = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [s.status === "running" ? /* @__PURE__ */ (0, C.jsx)(nB, {
+ T = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [s.status === "running" ? /* @__PURE__ */ (0, C.jsx)(rB, {
embedded: !0,
- label: WTe(s),
+ label: GTe(s),
value: Math.min(s.checked || 0, s.total || 0),
total: s.total
- }) : null, u ? /* @__PURE__ */ (0, C.jsx)(nB, {
+ }) : null, u ? /* @__PURE__ */ (0, C.jsx)(rB, {
embedded: !0,
label: a.job?.message || "正在重验并删除失效链接…",
value: Math.min(a.job?.checked || 0, a.job?.total || 0),
@@ -54921,17 +54934,17 @@ function eDe() {
}) : null] });
let e = g.length ? `重试选中的 ${g.length} 条` : "重试选中的链接";
E = d || f.length || p.length ? /* @__PURE__ */ (0, C.jsxs)("div", {
- className: IEe,
+ className: LEe,
children: [
x?.status === "complete" ? /* @__PURE__ */ (0, C.jsx)(q, {
tone: "success",
title: "完成",
- children: az(x)
+ children: oz(x)
}) : null,
- /* @__PURE__ */ (0, C.jsx)(mB, {
+ /* @__PURE__ */ (0, C.jsx)(hB, {
title: "地址已失效",
items: f,
- hint: XEe,
+ hint: ZEe,
picked: r,
onPick: i,
children: /* @__PURE__ */ (0, C.jsx)(K, {
@@ -54943,29 +54956,29 @@ function eDe() {
children: `删除所选(${h.length})`
})
}),
- /* @__PURE__ */ (0, C.jsx)(mB, {
+ /* @__PURE__ */ (0, C.jsx)(hB, {
title: "本次未访问成功",
items: p,
- hint: ZEe,
+ hint: QEe,
picked: t,
onPick: n,
footer: m.length ? /* @__PURE__ */ (0, C.jsx)(K, {
- leadingIcon: dB,
+ leadingIcon: fB,
...J(l),
onClick: () => y(m.map((e) => e.id)),
children: `全部重试(${m.length})`
}) : null,
children: m.length ? /* @__PURE__ */ (0, C.jsx)(C.Fragment, { children: /* @__PURE__ */ (0, C.jsx)(K, {
- leadingIcon: dB,
+ leadingIcon: fB,
disabled: !g.length,
...J(l),
onClick: () => y(g),
children: e
}) }) : null
}),
- d && f.length ? /* @__PURE__ */ (0, C.jsx)(LEe, {
+ d && f.length ? /* @__PURE__ */ (0, C.jsx)(REe, {
tone: "error",
- status: QEe,
+ status: $Ee,
children: /* @__PURE__ */ (0, C.jsx)(K, {
variant: "danger",
...J(u),
@@ -54974,7 +54987,7 @@ function eDe() {
})
}) : null,
d && !f.length && !p.length ? /* @__PURE__ */ (0, C.jsx)("p", {
- className: `${Qz} text-body-regular text-notification-success-foreground`,
+ className: `${$z} text-body-regular text-notification-success-foreground`,
children: "全部链接均可访问。"
}) : null
]
@@ -54984,17 +54997,17 @@ function eDe() {
id: "link-manager",
"aria-labelledby": "link-manager-title",
className: "flex scroll-mt-20 flex-col gap-4",
- children: [/* @__PURE__ */ (0, C.jsxs)(eB, {
+ children: [/* @__PURE__ */ (0, C.jsxs)(tB, {
layout: "stack",
labelledBy: "link-manager-title",
footer: /* @__PURE__ */ (0, C.jsx)(K, {
- leadingIcon: YEe,
+ leadingIcon: XEe,
...J(l),
onClick: () => y(),
children: l ? "检查中" : d ? "重新检查" : "检查死链"
}),
children: [
- /* @__PURE__ */ (0, C.jsx)($z, {
+ /* @__PURE__ */ (0, C.jsx)(eB, {
id: "link-manager-title",
gap: "small",
children: "链接管理"
@@ -55005,13 +55018,13 @@ function eDe() {
children: V(e.error)
}) : _ ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: "link-stat-grid mt-4 gap-x-8 gap-y-3",
- children: [/* @__PURE__ */ (0, C.jsx)(pB, {
+ children: [/* @__PURE__ */ (0, C.jsx)(mB, {
label: "链接总数",
- value: fB(_.total),
- note: `分布在 ${fB(_.entities)} 个女优、厂牌与系列`
- }), Object.entries(_.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(pB, {
- label: $R[e] || e,
- value: fB(t)
+ value: pB(_.total),
+ note: `分布在 ${pB(_.entities)} 个女优、厂牌与系列`
+ }), Object.entries(_.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(mB, {
+ label: ez[e] || e,
+ value: pB(t)
}, e))]
}), v ? /* @__PURE__ */ (0, C.jsxs)("div", {
className: "mt-4 flex min-w-0 flex-col gap-0.5",
@@ -55038,18 +55051,18 @@ function eDe() {
}
//#endregion
//#region src/react/data-cleanup/organize-card.tsx
-var tDe = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, nDe = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", rDe = 8;
-function iDe({ plan: e }) {
+var nDe = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, rDe = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", iDe = 8;
+function aDe({ plan: e }) {
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("ol", {
className: "mt-2 flex min-w-0 flex-col gap-1",
- children: e.rows.slice(0, rDe).map((e) => /* @__PURE__ */ (0, C.jsxs)("li", {
+ children: e.rows.slice(0, iDe).map((e) => /* @__PURE__ */ (0, C.jsxs)("li", {
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
children: [
/* @__PURE__ */ (0, C.jsx)("span", {
"data-middle-truncate": !0,
title: e.current_path,
className: "min-w-0 truncate",
- children: gz(e.current_path)
+ children: _z(e.current_path)
}),
/* @__PURE__ */ (0, C.jsx)("span", {
"aria-hidden": !0,
@@ -55059,7 +55072,7 @@ function iDe({ plan: e }) {
"data-middle-truncate": !0,
title: e.target_path,
className: "min-w-0 truncate text-text-primary",
- children: gz(e.target_path)
+ children: _z(e.target_path)
})
]
}, e.current_path))
@@ -55068,10 +55081,10 @@ function iDe({ plan: e }) {
children: "只列出前 8 行,完整计划在计划 CSV 里。"
}) : null] });
}
-function aDe({ toast: e, failure: t }) {
+function oDe({ toast: e, failure: t }) {
let n = pt({
- queryKey: mz,
- queryFn: ({ signal: e }) => hz(e)
+ queryKey: hz,
+ queryFn: ({ signal: e }) => gz(e)
}), r = n.data, i = r?.locations ?? [], [a, o] = (0, S.useState)(""), s = i.some((e) => e.location === a) ? a : i[0]?.location ?? "", c = r?.templates?.[s], [l, u] = (0, S.useState)(null), d = l?.location === s ? l : {
location: s,
file: c?.file ?? "",
@@ -55084,38 +55097,38 @@ function aDe({ toast: e, failure: t }) {
file_template: d.file.trim(),
dir_template: d.dir.trim()
}), v = mt({
- mutationFn: tEe,
+ mutationFn: nEe,
onError: (e) => {
- let t = aEe.test(V(e)) ? "dir" : "file";
+ let t = oEe.test(V(e)) ? "dir" : "file";
m(t), (t === "dir" ? g : h).current?.focus();
}
- }), y = oB({
- queryKey: mz,
- queryFn: ({ signal: e }) => hz(e),
- start: nEe,
+ }), y = sB({
+ queryKey: hz,
+ queryFn: ({ signal: e }) => gz(e),
+ start: rEe,
jobOf: (e) => e,
- withJob: iEe,
+ withJob: aEe,
onStarted: () => v.reset(),
onFinish: (n) => {
if (W.invalidateQueries({
- queryKey: mz,
+ queryKey: hz,
exact: !0
}), n.status !== "complete") return;
- let { text: r, failed: i } = vz(n);
+ let { text: r, failed: i } = yz(n);
i ? t("按模板整理", /* @__PURE__ */ Error(`${i} 行未能处理`)) : e(r.replace(/。$/, ""));
}
}), b = y.running || y.start.isPending, x = v.data, w = Number(x?.counts?.change || 0), T = an[s] || s, E = (r?.placeholders ?? []).map((e) => `{${e.key}} ${e.label}`).join(" · "), D = () => {
!v.isPending && s && (m(null), v.mutate(_()));
}, O = () => void Es({
title: "按模板整理文件",
- body: tDe(T),
+ body: nDe(T),
confirmLabel: "整理文件",
onConfirm: async () => {
let e = _();
await y.start.mutateAsync({
kind: "apply",
request: e
- }), rEe({
+ }), iEe({
...r?.templates ?? {},
[e.location]: {
file: e.file_template,
@@ -55125,13 +55138,13 @@ function aDe({ toast: e, failure: t }) {
}
}), k = () => void Es({
title: "回滚上一批整理",
- body: nDe,
+ body: rDe,
confirmLabel: "回滚整理",
onConfirm: () => y.start.mutateAsync({ kind: "rollback" })
}), A = null, j = y.job, M = y.outcome;
if (j?.status === "running") {
let e = j.message || j.stage || "正在整理文件…";
- A = /* @__PURE__ */ (0, C.jsx)(nB, {
+ A = /* @__PURE__ */ (0, C.jsx)(rB, {
embedded: !0,
label: e,
value: Math.min(j.checked || 0, j.total || 0),
@@ -55143,7 +55156,7 @@ function aDe({ toast: e, failure: t }) {
children: M.error || "请查看任务记录,核对已处理的文件。"
});
else if (M) {
- let { text: e, failed: t } = vz(M);
+ let { text: e, failed: t } = yz(M);
A = /* @__PURE__ */ (0, C.jsx)(q, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "整理结果",
@@ -55153,7 +55166,7 @@ function aDe({ toast: e, failure: t }) {
tone: "error",
title: "整理失败",
children: V(y.start.error)
- }) : v.isPending ? A = /* @__PURE__ */ (0, C.jsx)(nB, {
+ }) : v.isPending ? A = /* @__PURE__ */ (0, C.jsx)(rB, {
embedded: !0,
label: "正在按模板算计划…"
}) : v.isError ? A = /* @__PURE__ */ (0, C.jsx)(q, {
@@ -55163,9 +55176,9 @@ function aDe({ toast: e, failure: t }) {
}) : x && (A = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(q, {
tone: "neutral",
title: "预览结果",
- children: oEe(x)
- }), w ? /* @__PURE__ */ (0, C.jsx)(iDe, { plan: x }) : null] }));
- return /* @__PURE__ */ (0, C.jsxs)(eB, {
+ children: sEe(x)
+ }), w ? /* @__PURE__ */ (0, C.jsx)(aDe, { plan: x }) : null] }));
+ return /* @__PURE__ */ (0, C.jsxs)(tB, {
layout: "stack",
id: "organize",
labelledBy: "cleanup-organize-title",
@@ -55189,7 +55202,7 @@ function aDe({ toast: e, failure: t }) {
}) : null
] }),
children: [
- /* @__PURE__ */ (0, C.jsx)($z, {
+ /* @__PURE__ */ (0, C.jsx)(eB, {
id: "cleanup-organize-title",
gap: "medium",
children: "整理"
@@ -55209,20 +55222,20 @@ function aDe({ toast: e, failure: t }) {
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "mt-3 flex flex-col gap-3",
children: [
- i.length ? /* @__PURE__ */ (0, C.jsx)(RP, {
+ i.length ? /* @__PURE__ */ (0, C.jsx)(zP, {
"aria-label": "整理哪个来源",
className: "w-fit min-w-25",
selectedKey: s || null,
onSelectionChange: (e) => {
e !== null && (o(String(e)), m(null), v.reset());
},
- children: i.map((e) => /* @__PURE__ */ (0, C.jsxs)(zP, {
+ children: i.map((e) => /* @__PURE__ */ (0, C.jsxs)(BP, {
id: e.location,
textValue: an[e.location] || e.location,
children: [/* @__PURE__ */ (0, C.jsx)(kA, { mark: Ya[e.location] || "database" }), an[e.location] || e.location]
}, e.location))
}) : null,
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
label: "文件名模板",
placeholder: "{number}[ {title}]",
value: d.file,
@@ -55233,7 +55246,7 @@ function aDe({ toast: e, failure: t }) {
f({ file: e }), m(null);
}
}),
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
label: "目录模板",
placeholder: "留空表示原地改名",
value: d.dir,
@@ -55278,43 +55291,43 @@ function aDe({ toast: e, failure: t }) {
}
//#endregion
//#region src/react/data-cleanup/orphan-records.ts
-var oDe = "/api/orphan-records", sDe = "/api/orphan-records/attach", hB = ["orphan-records"], cDe = [
+var sDe = "/api/orphan-records", cDe = "/api/orphan-records/attach", gB = ["orphan-records"], lDe = [
["asset_preference", "喜欢与理由"],
["watch_queue", "稍后看"],
["playlist_item", "播放列表"],
["asset_quality_goal", "寻找更好版本"],
["activity_event", "观看历史"],
["asset_tag_preference", "隐藏标签"]
-], lDe = (e) => H(oDe, e), uDe = (e, t) => U(sDe, {
+], uDe = (e) => H(sDe, e), dDe = (e, t) => U(cDe, {
id: e,
target: t
-}), gB = (e) => U(SR, {
+}), _B = (e) => U(CR, {
ids: Array.isArray(e) ? e : [e],
operation: "delete"
-}), dDe = (e) => [
+}), fDe = (e) => [
e.rating ? `评分 ${e.rating}` : "",
e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",
e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""
-], _B = (e) => [...cDe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...dDe(e)].filter(Boolean).join(" · "), fDe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", vB = (e) => [e.name, fDe(e.duration)].filter(Boolean).join(" · "), pDe = rP("play"), yB = () => W.invalidateQueries({
- queryKey: hB,
+], vB = (e) => [...lDe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...fDe(e)].filter(Boolean).join(" · "), pDe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", yB = (e) => [e.name, pDe(e.duration)].filter(Boolean).join(" · "), mDe = oP("play"), bB = () => W.invalidateQueries({
+ queryKey: gB,
exact: !0
});
-function mDe({ item: e, toast: t }) {
+function hDe({ item: e, toast: t }) {
let [n, r] = (0, S.useState)(e.candidates[0]?.id ?? null), i = mt({
- mutationFn: () => uDe(e.id, Number(n)),
+ mutationFn: () => dDe(e.id, Number(n)),
onSuccess: (e) => {
- t(`记录已接到新文件,批次 ${e.batch}`), yB();
+ t(`记录已接到新文件,批次 ${e.batch}`), bB();
},
onError: (e) => t(V(e))
}), a = mt({
- mutationFn: () => gB(e.id),
+ mutationFn: () => _B(e.id),
onSuccess: (n) => {
- t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), yB();
+ t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), bB();
}
}), o = () => {
Es({
title: "彻底删除",
- body: `将删除「${e.name}」这一条和它带的记录(${_B(e.records)})。此操作不可撤销。`,
+ body: `将删除「${e.name}」这一条和它带的记录(${vB(e.records)})。此操作不可撤销。`,
confirmLabel: "彻底删除",
danger: !0,
onConfirm: () => a.mutateAsync()
@@ -55323,17 +55336,17 @@ function mDe({ item: e, toast: t }) {
return /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-48 flex-wrap items-center gap-2",
children: [
- e.candidates.length ? /* @__PURE__ */ (0, C.jsx)(RP, {
+ e.candidates.length ? /* @__PURE__ */ (0, C.jsx)(zP, {
"aria-label": `把 ${e.name} 的记录接到哪个文件`,
className: "w-52",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(Number(e));
},
- children: e.candidates.map((e) => /* @__PURE__ */ (0, C.jsx)(zP, {
+ children: e.candidates.map((e) => /* @__PURE__ */ (0, C.jsx)(BP, {
id: e.id,
- textValue: vB(e),
- children: vB(e)
+ textValue: yB(e),
+ children: yB(e)
}, e.id))
}) : /* @__PURE__ */ (0, C.jsx)("span", {
className: "text-text-secondary",
@@ -55356,12 +55369,12 @@ function mDe({ item: e, toast: t }) {
]
});
}
-function hDe({ item: e }) {
+function gDe({ item: e }) {
return /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, C.jsxs)("span", {
className: "relative inline-grid aspect-16/10 w-24 flex-none place-items-center max-cleanup-tight:hidden overflow-hidden rounded-lg border border-separator-border bg-background-tertiary-default text-text-tertiary",
- children: [/* @__PURE__ */ (0, C.jsx)(pDe, {
+ children: [/* @__PURE__ */ (0, C.jsx)(mDe, {
"aria-hidden": !0,
className: "size-5"
}), e.has_thumb ? /* @__PURE__ */ (0, C.jsx)("img", {
@@ -55384,14 +55397,14 @@ function hDe({ item: e }) {
})]
});
}
-function gDe({ toast: e }) {
+function _De({ toast: e }) {
let [t, n] = (0, S.useState)([]), r = pt({
- queryKey: hB,
- queryFn: ({ signal: e }) => lDe(e)
+ queryKey: gB,
+ queryFn: ({ signal: e }) => uDe(e)
}), i = r.data?.items ?? [], a = mt({
- mutationFn: (e) => gB(e),
+ mutationFn: (e) => _B(e),
onSuccess: (t) => {
- e(`已彻底删除 ${t.purged} 条记录${t.blocked.length ? `,${t.blocked.length} 条文件已恢复,未删除` : ""}`), n([]), yB();
+ e(`已彻底删除 ${t.purged} 条记录${t.blocked.length ? `,${t.blocked.length} 条文件已恢复,未删除` : ""}`), n([]), bB();
}
}), o = (e) => void Es({
title: "彻底删除所选记录",
@@ -55404,10 +55417,10 @@ function gDe({ toast: e }) {
id: "orphan-records",
"aria-labelledby": "orphan-records-title",
className: "flex scroll-mt-20 flex-col gap-4",
- children: r.isError ? /* @__PURE__ */ (0, C.jsxs)(eB, {
+ children: r.isError ? /* @__PURE__ */ (0, C.jsxs)(tB, {
layout: "stack",
labelledBy: "orphan-records-title",
- children: [/* @__PURE__ */ (0, C.jsx)($z, {
+ children: [/* @__PURE__ */ (0, C.jsx)(eB, {
id: "orphan-records-title",
children: "孤儿记录"
}), /* @__PURE__ */ (0, C.jsx)(q, {
@@ -55415,7 +55428,7 @@ function gDe({ toast: e }) {
title: "孤儿记录读取失败",
children: V(r.error)
})]
- }) : /* @__PURE__ */ (0, C.jsx)(uB, {
+ }) : /* @__PURE__ */ (0, C.jsx)(dB, {
label: "文件已消失的作品",
items: i,
columns: [
@@ -55423,22 +55436,22 @@ function gDe({ toast: e }) {
id: "item",
label: "作品",
value: (e) => e.name,
- render: (e) => /* @__PURE__ */ (0, C.jsx)(hDe, { item: e })
+ render: (e) => /* @__PURE__ */ (0, C.jsx)(gDe, { item: e })
},
{
id: "records",
label: "带的记录",
- value: (e) => _B(e.records),
+ value: (e) => vB(e.records),
render: (e) => /* @__PURE__ */ (0, C.jsx)("span", {
className: "block min-w-28",
- children: _B(e.records) || "无个人记录"
+ children: vB(e.records) || "无个人记录"
})
},
{
id: "target",
label: "接到与操作",
value: (e) => e.candidates.length,
- render: (t) => /* @__PURE__ */ (0, C.jsx)(mDe, {
+ render: (t) => /* @__PURE__ */ (0, C.jsx)(hDe, {
item: t,
toast: e
})
@@ -55465,99 +55478,99 @@ function gDe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/resource-sync-card.tsx
-var _De = rP("git-compare"), vDe = rP("rotate-cw"), yDe = "暂时无法读取进度,正在重新连接…", bB = "清理失效条目", xB = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", SB = (e) => Number(e || 0).toLocaleString();
-function bDe({ scan: e }) {
+var vDe = oP("git-compare"), yDe = oP("rotate-cw"), bDe = "暂时无法读取进度,正在重新连接…", xB = "清理失效条目", SB = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", CB = (e) => Number(e || 0).toLocaleString();
+function xDe({ scan: e }) {
let t = e.cache ?? {
files: 0,
bytes: 0
};
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("div", {
- className: xB,
+ className: SB,
children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, C.jsx)("article", {
- className: Vz(),
- children: /* @__PURE__ */ (0, C.jsx)(Hz, {
- label: dEe[e.location] || "媒体来源",
+ className: Hz(),
+ children: /* @__PURE__ */ (0, C.jsx)(Uz, {
+ label: fEe[e.location] || "媒体来源",
mark: /* @__PURE__ */ (0, C.jsx)(kA, { mark: Ya[e.location] ?? "database" }),
aside: /* @__PURE__ */ (0, C.jsx)("span", {
className: e.online ? "text-notification-success-foreground" : "text-text-error-primary",
children: e.online ? "可访问" : "离线,已跳过"
}),
- figure: e.online ? `${SB(e.missing)} 项` : "—",
- meta: hEe(e),
+ figure: e.online ? `${CB(e.missing)} 项` : "—",
+ meta: gEe(e),
wrapMeta: !0
})
}, e.location))
}), /* @__PURE__ */ (0, C.jsxs)("div", {
- className: xB,
+ className: SB,
children: [
/* @__PURE__ */ (0, C.jsx)("article", {
- className: Vz(),
- children: /* @__PURE__ */ (0, C.jsx)(Hz, {
+ className: Hz(),
+ children: /* @__PURE__ */ (0, C.jsx)(Uz, {
label: "待永久删除",
- figure: `${SB(Dz(e))} 项`,
+ figure: `${CB(Oz(e))} 项`,
meta: "文件已不在盘上,含回收站"
})
}),
/* @__PURE__ */ (0, C.jsx)("article", {
- className: Vz(),
- children: /* @__PURE__ */ (0, C.jsx)(Hz, {
+ className: Hz(),
+ children: /* @__PURE__ */ (0, C.jsx)(Uz, {
label: "将标为已消失",
- figure: `${SB(e.vanish)} 项`,
+ figure: `${CB(e.vanish)} 项`,
meta: "带个人记录,记录留着"
})
}),
/* @__PURE__ */ (0, C.jsx)("article", {
- className: Vz(),
- children: /* @__PURE__ */ (0, C.jsx)(Hz, {
+ className: Hz(),
+ children: /* @__PURE__ */ (0, C.jsx)(Uz, {
label: "空文件夹",
- figure: `${SB(e.empty)} 个`,
+ figure: `${CB(e.empty)} 个`,
meta: "保留来源根目录"
})
}),
/* @__PURE__ */ (0, C.jsx)("article", {
- className: Vz(),
- children: /* @__PURE__ */ (0, C.jsx)(Hz, {
+ className: Hz(),
+ children: /* @__PURE__ */ (0, C.jsx)(Uz, {
label: "可清理的缓存",
- figure: `${SB(t.files)} 个`,
+ figure: `${CB(t.files)} 个`,
meta: t.files ? Qt(t.bytes) : ""
})
})
]
})] });
}
-function xDe({ toast: e }) {
- let t = oB({
- queryKey: Sz,
- queryFn: ({ signal: e }) => wz(e),
- start: cEe,
+function SDe({ toast: e }) {
+ let t = sB({
+ queryKey: Cz,
+ queryFn: ({ signal: e }) => Tz(e),
+ start: lEe,
onFinish: (t) => {
if (W.invalidateQueries({
- queryKey: Pz,
+ queryKey: Fz,
exact: !0
}), W.invalidateQueries({
- queryKey: xz,
+ queryKey: Sz,
exact: !0
}), t.status !== "complete") return;
- let { done: n, left: r } = Az(t);
- r ? e(`已完成 ${SB(n)} 项,${SB(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
+ let { done: n, left: r } = jz(t);
+ r ? e(`已完成 ${CB(n)} 项,${CB(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
}
- }), n = oB({
- queryKey: xz,
- queryFn: ({ signal: e }) => Cz(e),
- start: sEe,
+ }), n = sB({
+ queryKey: Sz,
+ queryFn: ({ signal: e }) => wz(e),
+ start: cEe,
onStarted: () => t.dismiss()
}), r = n.job, i = n.running || n.start.isPending, a = t.running || t.start.isPending, o = r?.status === "complete" || r?.status === "failed", s = i ? "扫描中" : o ? "重新扫描" : "检查文件", c = (e) => void Es({
- title: bB,
- body: mEe(e),
- confirmLabel: bB,
+ title: xB,
+ body: hEe(e),
+ confirmLabel: xB,
danger: !0,
onConfirm: () => t.start.mutateAsync(e.scan_id || "")
}), l = t.outcome, u = (e) => {
- let t = Az(e).left > 0;
+ let t = jz(e).left > 0;
return /* @__PURE__ */ (0, C.jsx)(q, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "清理结果",
- children: gEe(e, Qt)
+ children: _Ee(e, Qt)
});
}, d = null, f = null;
if (l?.status === "failed") f = /* @__PURE__ */ (0, C.jsx)(q, {
@@ -55566,7 +55579,7 @@ function xDe({ toast: e }) {
children: l.error || "请查看任务记录,核对已处理的文件。"
});
else if (l) f = u(l);
- else if (t.running) d = /* @__PURE__ */ (0, C.jsx)(nB, {
+ else if (t.running) d = /* @__PURE__ */ (0, C.jsx)(rB, {
embedded: !0,
label: t.job?.message || "正在复核并清理失效条目…"
});
@@ -55578,11 +55591,11 @@ function xDe({ toast: e }) {
else if (n.query.isError && r) f = /* @__PURE__ */ (0, C.jsx)(q, {
tone: "neutral",
title: "任务状态",
- children: yDe
+ children: bDe
});
else if (r?.status === "running") {
- let e = fEe(r);
- d = /* @__PURE__ */ (0, C.jsx)(nB, {
+ let e = pEe(r);
+ d = /* @__PURE__ */ (0, C.jsx)(rB, {
embedded: !0,
label: e,
value: r.completed_sources,
@@ -55599,13 +55612,13 @@ function xDe({ toast: e }) {
children: "这次检查的结果已经清理,重新扫描可再核对。"
});
else if (r?.status === "complete") {
- let e = uEe(r);
+ let e = dEe(r);
f = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)(bDe, { scan: r }),
+ /* @__PURE__ */ (0, C.jsx)(xDe, { scan: r }),
e ? /* @__PURE__ */ (0, C.jsx)(q, {
tone: "neutral",
title: "清理内容",
- children: pEe(r)
+ children: mEe(r)
}) : null,
/* @__PURE__ */ (0, C.jsx)("div", {
className: "flex flex-wrap items-center justify-end gap-2",
@@ -55613,7 +55626,7 @@ function xDe({ toast: e }) {
variant: "danger",
...J(a),
onClick: () => c(r),
- children: a ? "正在复核并清理…" : bB
+ children: a ? "正在复核并清理…" : xB
}) : /* @__PURE__ */ (0, C.jsx)("p", {
className: "mr-auto text-body-regular text-notification-success-foreground",
children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"
@@ -55629,12 +55642,12 @@ function xDe({ toast: e }) {
id: "resource-sync",
"aria-labelledby": "resource-sync-title",
className: "flex scroll-mt-20 flex-col gap-4",
- children: [/* @__PURE__ */ (0, C.jsxs)(eB, {
+ children: [/* @__PURE__ */ (0, C.jsxs)(tB, {
layout: "split",
labelledBy: "resource-sync-title",
footer: /* @__PURE__ */ (0, C.jsx)(K, {
"data-resource-scan": !0,
- leadingIcon: o && !i ? vDe : _De,
+ leadingIcon: o && !i ? yDe : vDe,
...J(i),
onClick: () => {
i || n.start.mutate();
@@ -55642,7 +55655,7 @@ function xDe({ toast: e }) {
children: s
}),
children: [
- /* @__PURE__ */ (0, C.jsx)($z, {
+ /* @__PURE__ */ (0, C.jsx)(eB, {
id: "resource-sync-title",
gap: "small",
children: "资源同步"
@@ -55666,16 +55679,16 @@ function xDe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/data-cleanup-page.tsx
-function CB(e, t) {
+function wB(e, t) {
return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);
}
-function wB({ section: e, label: t, icon: n, value: r, open: i }) {
+function TB({ section: e, label: t, icon: n, value: r, open: i }) {
return /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
- className: Vz({ interactive: !0 }),
+ className: Hz({ interactive: !0 }),
"data-cleanup-go": e,
onClick: () => i(e),
- children: /* @__PURE__ */ (0, C.jsx)(Hz, {
+ children: /* @__PURE__ */ (0, C.jsx)(Uz, {
label: t,
icon: n,
figure: r.figure,
@@ -55683,80 +55696,80 @@ function wB({ section: e, label: t, icon: n, value: r, open: i }) {
})
});
}
-var SDe = rP("square-check-big"), CDe = rP("sparkles"), wDe = rP("file-stack"), TDe = rP("file-archive"), EDe = rP("trash"), DDe = [
- jz,
- NR,
- xR
-], ODe = () => {
- for (let e of DDe) W.invalidateQueries({
+var CDe = oP("square-check-big"), wDe = oP("sparkles"), TDe = oP("file-stack"), EDe = oP("file-archive"), DDe = oP("trash"), ODe = [
+ Mz,
+ PR,
+ SR
+], kDe = () => {
+ for (let e of ODe) W.invalidateQueries({
queryKey: e,
exact: !0
});
};
-function kDe({ toast: e, failure: t, open: n }) {
+function ADe({ toast: e, failure: t, open: n }) {
let r = pt({
- queryKey: jz,
- queryFn: ({ signal: e }) => Fz(e)
+ queryKey: Mz,
+ queryFn: ({ signal: e }) => Iz(e)
}), i = pt({
- queryKey: NR,
- queryFn: ({ signal: e }) => PR(e)
+ queryKey: PR,
+ queryFn: ({ signal: e }) => FR(e)
}), a = pt({
- queryKey: xR,
- queryFn: ({ signal: e }) => CR(e)
+ queryKey: SR,
+ queryFn: ({ signal: e }) => wR(e)
}), o = pt({
- queryKey: Mz,
- queryFn: ({ signal: e }) => Iz(e)
- }), s = pt({
- queryKey: Pz,
+ queryKey: Nz,
queryFn: ({ signal: e }) => Lz(e)
+ }), s = pt({
+ queryKey: Fz,
+ queryFn: ({ signal: e }) => Rz(e)
}), c = pt({
queryKey: xn,
queryFn: ({ signal: e }) => Sn(e)
}), l = (t) => e(t);
return /* @__PURE__ */ (0, C.jsxs)(lA, { children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
- className: DEe,
+ className: OEe,
children: [
- /* @__PURE__ */ (0, C.jsx)(wB, {
+ /* @__PURE__ */ (0, C.jsx)(TB, {
section: "review",
label: "人工复核",
- icon: SDe,
+ icon: CDe,
open: n,
- value: CB(r, bEe)
+ value: wB(r, xEe)
}),
- /* @__PURE__ */ (0, C.jsx)(wB, {
+ /* @__PURE__ */ (0, C.jsx)(TB, {
section: "quality",
label: "高清版",
- icon: CDe,
+ icon: wDe,
open: n,
- value: CB(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
+ value: wB(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
}),
- /* @__PURE__ */ (0, C.jsx)(wB, {
+ /* @__PURE__ */ (0, C.jsx)(TB, {
section: "duplicates",
label: "重复文件",
- icon: wDe,
+ icon: TDe,
open: n,
- value: CB(a, (e) => Number(e.total || 0) ? {
+ value: wB(a, (e) => Number(e.total || 0) ? {
figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,
meta: `可回收 ${Qt(e.reclaimable || 0)}`
} : { figure: "没有重复内容" })
}),
- /* @__PURE__ */ (0, C.jsx)(wB, {
+ /* @__PURE__ */ (0, C.jsx)(TB, {
section: "ads",
label: "垃圾文件",
- icon: TDe,
+ icon: EDe,
open: n,
- value: CB(o, (e) => ({
+ value: wB(o, (e) => ({
figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
- meta: xEe(e)
+ meta: SEe(e)
}))
}),
- /* @__PURE__ */ (0, C.jsx)(wB, {
+ /* @__PURE__ */ (0, C.jsx)(TB, {
section: "trash",
label: "回收站",
- icon: EDe,
+ icon: DDe,
open: n,
- value: CB(s, (e) => ({
+ value: wB(s, (e) => ({
figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
meta: e.total ? `占用 ${Qt(e.bytes || 0)}` : ""
}))
@@ -55769,31 +55782,31 @@ function kDe({ toast: e, failure: t, open: n }) {
/* @__PURE__ */ (0, C.jsx)("div", {
id: "libraryProcessing",
className: "scroll-mt-20",
- children: /* @__PURE__ */ (0, C.jsx)(iB, {
+ children: /* @__PURE__ */ (0, C.jsx)(aB, {
toast: l,
monitor: !0,
- onComplete: ODe
+ onComplete: kDe
})
}),
/* @__PURE__ */ (0, C.jsx)("div", {
id: "mediaRepair",
- children: /* @__PURE__ */ (0, C.jsx)(qEe, {})
+ children: /* @__PURE__ */ (0, C.jsx)(JEe, {})
}),
- /* @__PURE__ */ (0, C.jsx)(aDe, {
+ /* @__PURE__ */ (0, C.jsx)(oDe, {
toast: l,
failure: t
})
]
}),
- /* @__PURE__ */ (0, C.jsx)(eDe, {}),
- /* @__PURE__ */ (0, C.jsx)(gDe, { toast: l }),
- Tz(c.data) ? /* @__PURE__ */ (0, C.jsx)(xDe, { toast: e }) : null
+ /* @__PURE__ */ (0, C.jsx)(tDe, {}),
+ /* @__PURE__ */ (0, C.jsx)(_De, { toast: l }),
+ Ez(c.data) ? /* @__PURE__ */ (0, C.jsx)(SDe, { toast: e }) : null
] });
}
//#endregion
//#region src/react/feed-new/feed-new.ts
-var TB = (e) => ["feed-new", e ?? "home"], ADe = 8, jDe = 1500;
-function MDe(e, t, n) {
+var EB = (e) => ["feed-new", e ?? "home"], jDe = 8, MDe = 1500;
+function NDe(e, t, n) {
let r = document.createElement("template");
r.innerHTML = e;
let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {
@@ -55804,34 +55817,34 @@ function MDe(e, t, n) {
setTimeout(e, n);
})]);
}
-async function NDe(e, t, n) {
+async function PDe(e, t, n) {
let r = new URLSearchParams({ limit: "12" });
e && r.set("entity", String(e));
let i = await Ot(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);
- return n && o.length && await MDe(s, ADe, jDe), {
+ return n && o.length && await NDe(s, jDe, MDe), {
items: o,
html: s,
fetching: o.some((e) => e.cover_fetching && !e.has_cover)
};
}
-var EB = (e, t, n = !1) => ({
- queryKey: TB(e),
- queryFn: () => NDe(e, t, n),
+var DB = (e, t, n = !1) => ({
+ queryKey: EB(e),
+ queryFn: () => PDe(e, t, n),
staleTime: Infinity,
refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1
-}), DB = (e, t) => Ot("/api/feeds/discovery", {
+}), OB = (e, t) => Ot("/api/feeds/discovery", {
method: "POST",
body: JSON.stringify({
action: t,
ids: [e]
})
}).then(() => void 0, () => void 0);
-async function PDe(e) {
- W.removeQueries({ queryKey: TB(null) }), await W.fetchQuery(EB(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
+async function FDe(e) {
+ W.removeQueries({ queryKey: EB(null) }), await W.fetchQuery(DB(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
}
//#endregion
//#region src/react/entity-page/entity-page.ts
-var OB = [
+var kB = [
"loc",
"creator",
"tag",
@@ -55841,52 +55854,52 @@ var OB = [
"orient",
"sort",
"dir"
-], kB = {
+], AB = {
media: "videos",
set: 0
-}, AB = (e, t) => [
+}, jB = (e, t) => [
"entity",
e,
t
-], FDe = (e, t, n, r) => [
+], IDe = (e, t, n, r) => [
"entity-items",
e,
t,
n,
r
-], jB = (e, t, n, r) => [
+], MB = (e, t, n, r) => [
"entity-photos",
e,
t,
n,
r
-], MB = (e) => String(e || "").split(",").filter(Boolean), IDe = (e, t) => MB(e).includes(t);
-function NB(e, t, n, r, i = 0) {
+], NB = (e) => String(e || "").split(",").filter(Boolean), LDe = (e, t) => NB(e).includes(t);
+function PB(e, t, n, r, i = 0) {
let a = new URLSearchParams();
- a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...MB(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 OB) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
+ a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...NB(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 kB) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
return r.jav && a.set("jav", "1"), a;
}
-async function PB(e, t, n, r, i, a, o) {
- let s = NB(e, t, n, r, i);
+async function FB(e, t, n, r, i, a, o) {
+ let s = PB(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 Ot(`/api/items?${s}`, a ? { signal: a } : {});
}
-var FB = (e) => {
+var IB = (e) => {
let t = {
jav: e.jav,
seed: e.seed
- }, n = NB(e.kind, e.name, e.filters, t).toString();
+ }, n = PB(e.kind, e.name, e.filters, t).toString();
return {
- queryKey: FDe(e.kind, e.name, n, e.revision),
- queryFn: ({ signal: n }) => PB(e.kind, e.name, e.filters, t, 0, n),
+ queryKey: IDe(e.kind, e.name, n, e.revision),
+ queryFn: ({ signal: n }) => FB(e.kind, e.name, e.filters, t, 0, n),
staleTime: Infinity
};
-}, IB = (e, t) => ({
- queryKey: AB(e, t),
+}, LB = (e, t) => ({
+ queryKey: jB(e, t),
queryFn: ({ signal: n }) => Ot(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),
staleTime: Infinity
});
-function LDe(e, t, n, r, i, a) {
+function RDe(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)}` : ""}`;
@@ -55895,10 +55908,10 @@ function LDe(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 LB = (e, t, n, r) => ({
- queryKey: jB(e, t, n, r),
+var RB = (e, t, n, r) => ({
+ queryKey: MB(e, t, n, r),
queryFn: async ({ pageParam: i }) => {
- let a = await Ot(LDe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
+ let a = await Ot(RDe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
if (i) throw e;
return { error: String(e) };
});
@@ -55911,8 +55924,8 @@ var LB = (e, t, n, r) => ({
seed: t[0]?.seed || ""
} : void 0,
staleTime: Infinity
-}), RB = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
-async function RDe(e) {
+}), zB = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
+async function zDe(e) {
let { kind: t, name: n } = e;
for (let e of [
"entity",
@@ -55923,26 +55936,26 @@ async function RDe(e) {
t,
n
] });
- e.resolvedEntity?.id && W.setQueryData(AB(t, n), e.resolvedEntity), await Promise.all([
- W.fetchQuery(IB(t, n)).then((t) => !t || t.error || !t.id ? null : (W.removeQueries({ queryKey: TB(Number(t.id)) }), W.fetchQuery(EB(Number(t.id), e.helpers.feedRowHtml, !0)))),
- W.fetchQuery(FB(e)),
- W.fetchInfiniteQuery(LB(t, n, 0, "")),
- e.media.media === "photos" && e.media.set ? W.fetchInfiniteQuery(LB(t, n, e.media.set, "")) : null
+ e.resolvedEntity?.id && W.setQueryData(jB(t, n), e.resolvedEntity), await Promise.all([
+ W.fetchQuery(LB(t, n)).then((t) => !t || t.error || !t.id ? null : (W.removeQueries({ queryKey: EB(Number(t.id)) }), W.fetchQuery(DB(Number(t.id), e.helpers.feedRowHtml, !0)))),
+ W.fetchQuery(IB(e)),
+ W.fetchInfiniteQuery(RB(t, n, 0, "")),
+ e.media.media === "photos" && e.media.set ? W.fetchInfiniteQuery(RB(t, n, e.media.set, "")) : null
]);
}
//#endregion
//#region src/identity-filter.ts
-var zB = [
+var BB = [
["all", "全部"],
["japanese_av", "女优"],
["amateur", "素人"],
["western", "西方"],
["blogger", "网黄博主"],
["animation", "动画作者"]
-], BB = "mb-4 flex flex-wrap gap-2";
-function zDe(e) {
- let t = zB.some(([t]) => t === e) ? e : "all";
- return `<div class="peach-react"><div aria-label="身份分类" class="${BB}">${zB.map(([e, n]) => ao({
+], VB = "mb-4 flex flex-wrap gap-2";
+function BDe(e) {
+ let t = BB.some(([t]) => t === e) ? e : "all";
+ return `<div class="peach-react"><div aria-label="身份分类" class="${VB}">${BB.map(([e, n]) => ao({
variant: e === t ? "primary" : "secondary",
size: "small",
label: n,
@@ -55951,43 +55964,43 @@ function zDe(e) {
}
//#endregion
//#region src/react/follow/online-vocab.ts
-var BDe = "/api/follow/authors", VDe = "/api/follow/tags", HDe = (e) => [
+var VDe = "/api/follow/authors", HDe = "/api/follow/tags", UDe = (e) => [
"follow",
"authors",
e
-], UDe = (e, t) => [
+], WDe = (e, t) => [
"follow",
"tags",
e,
t
];
-function WDe(e, t, n) {
+function GDe(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${BDe}?${r}`;
+ return e && r.set("q", e), `${VDe}?${r}`;
}
-function GDe(e, t, n, r) {
+function KDe(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), `${VDe}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${HDe}?${i}`;
}
-var KDe = (e, t, n, r) => H(WDe(e, t, n), r), qDe = (e, t, n, r, i) => H(GDe(e, t, n, r), i), JDe = "/api/index", VB = {
+var qDe = (e, t, n, r) => H(GDe(e, t, n), r), JDe = (e, t, n, r, i) => H(KDe(e, t, n, r), i), YDe = "/api/index", HB = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, YDe = {
+}, XDe = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency"
-}, HB = [
+}, UB = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -55997,31 +56010,31 @@ var KDe = (e, t, n, r) => H(WDe(e, t, n), r), qDe = (e, t, n, r, i) => H(GDe(e,
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], UB = [
+], WB = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], WB = {
+], GB = {
people: 120,
tags: 180
-}, GB = (e) => e !== "tags", KB = (e) => e === "studios" || e === "agencies";
-function qB(e) {
- if (e.kind === "creators" && e.category === "animation") return qB({
+}, KB = (e) => e !== "tags", qB = (e) => e === "studios" || e === "agencies";
+function JB(e) {
+ if (e.kind === "creators" && e.category === "animation") return JB({
...e,
kind: "performers",
scope: "local"
});
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? UB : HB : e.kind === "performers" && t === "local" ? zB : []).some(([t]) => t === e.category);
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? WB : UB : e.kind === "performers" && t === "local" ? BB : []).some(([t]) => t === e.category);
return {
...e,
scope: t,
category: n ? e.category : "all"
};
}
-function JB(e) {
+function YB(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -56041,50 +56054,50 @@ function JB(e) {
...i && i !== "all" ? { category: i } : {}
};
}
-var YB = (e, t, n = "all") => [
+var XB = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" || n !== "all" ? [n] : []
];
-function XB(e, t, n, r, i) {
+function ZB(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), `${JDe}?${a}`;
+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${YDe}?${a}`;
}
-function ZB(e) {
- let t = e.what === "people" || e.what === "online-authors" ? WB.people : WB.tags, n = {
+function QB(e) {
+ let t = e.what === "people" || e.what === "online-authors" ? GB.people : GB.tags, n = {
initialPageParam: 0,
getNextPageParam: (e, t) => e.has_more ? t.reduce((e, t) => e + t.items.length, 0) : void 0
};
switch (e.what) {
case "people": return {
...n,
- queryKey: YB(e.kind, e.q, e.category || "all"),
- queryFn: ({ pageParam: n, signal: r }) => H(XB(e.kind, e.q, e.category || "all", t, n), r)
+ queryKey: XB(e.kind, e.q, e.category || "all"),
+ queryFn: ({ pageParam: n, signal: r }) => H(ZB(e.kind, e.q, e.category || "all", t, n), r)
};
case "tags": return {
...n,
- queryKey: YB("tags", e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => H(XB("tags", e.q, e.category, t, n), r)
+ queryKey: XB("tags", e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => H(ZB("tags", e.q, e.category, t, n), r)
};
case "online-authors": return {
...n,
- queryKey: HDe(e.q),
- queryFn: ({ pageParam: n, signal: r }) => KDe(e.q, t, n, r)
+ queryKey: UDe(e.q),
+ queryFn: ({ pageParam: n, signal: r }) => qDe(e.q, t, n, r)
};
case "online-tags": return {
...n,
- queryKey: UDe(e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => qDe(e.q, e.category, t, n, r)
+ queryKey: WDe(e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => JDe(e.q, e.category, t, n, r)
};
}
}
-async function XDe(e, t) {
- let n = ZB(JB(qB(e)));
+async function ZDe(e, t) {
+ let n = QB(YB(JB(e)));
W.removeQueries({
queryKey: n.queryKey,
exact: !0
@@ -56098,13 +56111,13 @@ async function XDe(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var ZDe = (e) => e ? e.pages.flatMap((e) => e.items) : [], QDe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, QB = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", $De = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, eOe = {
+var QDe = (e) => e ? e.pages.flatMap((e) => e.items) : [], $De = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, $B = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", eOe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, tOe = {
numeric: !0,
sensitivity: "base"
};
-function tOe(e, t) {
+function nOe(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", eOe))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", tOe))) {
let e = nn(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]);
}
@@ -56112,7 +56125,7 @@ function tOe(e, t) {
}
//#endregion
//#region src/react/index/index-people.tsx
-function $B({ html: e, face: t, company: n, big: r }) {
+function eV({ html: e, face: t, company: n, big: r }) {
let i = (0, S.useRef)(null);
return (0, S.useLayoutEffect)(() => {
t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");
@@ -56124,8 +56137,8 @@ function $B({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var nOe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", rOe = rP("rss");
-function eV({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
+var rOe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", iOe = oP("rss");
+function tV({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
return /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
...o,
@@ -56135,7 +56148,7 @@ function eV({ name: e, readout: t, big: n, children: r, following: i, onPress: a
radius: "plain",
padding: "none",
interactive: !0,
- className: `${nOe} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${rOe} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -56147,7 +56160,7 @@ function eV({ name: e, readout: t, big: n, children: r, following: i, onPress: a
children: /* @__PURE__ */ (0, C.jsx)(rA, {
variant: "caption",
color: "blue",
- children: /* @__PURE__ */ (0, C.jsx)(rOe, {})
+ children: /* @__PURE__ */ (0, C.jsx)(iOe, {})
})
}) : null,
/* @__PURE__ */ (0, C.jsx)("span", {
@@ -56163,24 +56176,24 @@ function eV({ name: e, readout: t, big: n, children: r, following: i, onPress: a
]
});
}
-function tV({ kind: e, items: t, layout: n, props: r }) {
- let i = KB(e), a = n === "big";
+function nV({ kind: e, items: t, layout: n, props: r }) {
+ let i = qB(e), a = n === "big";
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-index-grid": "",
"data-layout": n,
"data-cells": i ? "company" : "people",
className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,
children: t.map((t) => {
- let n = t.entity_kind || YDe[e], o = r.personAvatar(t, n, a);
- return /* @__PURE__ */ (0, C.jsx)(eV, {
+ let n = t.entity_kind || XDe[e], o = r.personAvatar(t, n, a);
+ return /* @__PURE__ */ (0, C.jsx)(tV, {
"data-k": t.k,
"data-kind": n,
name: t.k,
- readout: `${$De(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
+ readout: `${eOe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
big: a,
following: t.following,
onPress: () => r.openEntity(n, t.k),
- children: /* @__PURE__ */ (0, C.jsx)($B, {
+ children: /* @__PURE__ */ (0, C.jsx)(eV, {
html: o.html,
face: o.face,
company: i,
@@ -56190,14 +56203,14 @@ function tV({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function iOe({ items: e, layout: t, props: n }) {
+function aOe({ items: e, layout: t, props: n }) {
let r = t === "big";
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-index-grid": "",
"data-layout": t,
"data-cells": "people",
className: "index-grid-person gap-3",
- children: e.map((e) => /* @__PURE__ */ (0, C.jsx)(eV, {
+ children: e.map((e) => /* @__PURE__ */ (0, C.jsx)(tV, {
"data-follow-author": e.key,
"data-kind": "performer",
name: e.k,
@@ -56206,7 +56219,7 @@ function iOe({ 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, C.jsx)($B, {
+ children: /* @__PURE__ */ (0, C.jsx)(eV, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -56216,8 +56229,8 @@ function iOe({ items: e, layout: t, props: n }) {
}
//#endregion
//#region src/board-tooltip.ts
-var nV = (e) => e.replace(/\s+/g, " ").trim();
-function rV(e) {
+var rV = (e) => e.replace(/\s+/g, " ").trim();
+function iV(e) {
let t = document.createTreeWalker(e, NodeFilter.SHOW_TEXT), n = "", r;
for (; r = t.nextNode();) {
let e = r.parentElement;
@@ -56225,12 +56238,12 @@ function rV(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 nV(n);
+ return rV(n);
}
-function iV(e) {
+function aV(e) {
let t = e.getBoundingClientRect();
if (t.width && t.height) {
- if (e.matches("a") && rV(e) && !aV(e)) {
+ if (e.matches("a") && iV(e) && !oV(e)) {
let t = document.createRange();
t.selectNodeContents(e);
let n = t.getBoundingClientRect();
@@ -56243,7 +56256,7 @@ function iV(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 aV(e) {
+function oV(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);
@@ -56254,19 +56267,19 @@ function aV(e) {
}
return !1;
}
-function aOe() {
+function oOe() {
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 = (t) => {
- let n = iV(t), r = e.getBoundingClientRect();
+ let n = aV(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`);
}, o = () => {
clearTimeout(i), e.matches(":popover-open") && e.hidePopover(), e.hidden = !0, t && (t.hasAttribute("title") || (t.title = n), r === null ? t.removeAttribute("aria-describedby") : t.setAttribute("aria-describedby", r)), t = null;
}, s = (s, c) => {
if (!(s instanceof Element)) return;
let l = s.closest("[title]");
- (!t?.contains(s) || l && !l.contains(t)) && l && !l.closest(".vjs-control") && l.title.trim() && (o(), t = l, n = l.title, r = l.getAttribute("aria-describedby"), l.removeAttribute("title"), (rV(l) !== nV(n) || aV(l)) && (i = setTimeout(() => {
- t === l && l.isConnected && iV(l) && ((l.closest("dialog[open]") ?? document.body).append(e), e.textContent = n, e.hidden = !1, e.showPopover(), a(l), l.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" ")));
+ (!t?.contains(s) || l && !l.contains(t)) && l && !l.closest(".vjs-control") && l.title.trim() && (o(), t = l, n = l.title, r = l.getAttribute("aria-describedby"), l.removeAttribute("title"), (iV(l) !== rV(n) || oV(l)) && (i = setTimeout(() => {
+ t === l && l.isConnected && aV(l) && ((l.closest("dialog[open]") ?? document.body).append(e), e.textContent = n, e.hidden = !1, e.showPopover(), a(l), l.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" ")));
}, c)));
};
document.addEventListener("pointerover", (e) => s(e.target, 400)), document.addEventListener("pointerout", (e) => {
@@ -56275,33 +56288,33 @@ function aOe() {
e.key === "Escape" && o();
}), document.addEventListener("scroll", (n) => {
if (!t || !Wa(n, t)) return;
- let r = iV(t);
+ let r = aV(t);
t.matches(":focus-visible") && r && r.bottom > 0 && r.top < innerHeight ? e.matches(":popover-open") && a(t) : o();
}, !0), window.addEventListener("resize", o);
}
//#endregion
//#region src/board-controls.ts
-function oV(e) {
+function sV(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 sV = /* @__PURE__ */ new WeakSet();
-function oOe() {
- if (sV.has(document)) return;
- sV.add(document);
+var cV = /* @__PURE__ */ new WeakSet();
+function sOe() {
+ if (cV.has(document)) return;
+ cV.add(document);
let e = (e) => {
- e.querySelectorAll("input[type=range]").forEach(oV), cOe(e), sOe(e);
+ e.querySelectorAll("input[type=range]").forEach(sV), lOe(e), cOe(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]") && oV(t), e(t));
+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && sV(t), e(t));
}).observe(document.body, {
subtree: !0,
childList: !0
}), document.addEventListener("input", (e) => {
- e.target instanceof HTMLInputElement && e.target.type === "range" && oV(e.target);
- }), aOe();
+ e.target instanceof HTMLInputElement && e.target.type === "range" && sV(e.target);
+ }), oOe();
}
-function sOe(e) {
+function cOe(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;
@@ -56325,15 +56338,15 @@ function sOe(e) {
r.observe(e);
});
}
-var cV = /* @__PURE__ */ new Map();
-function cOe(e) {
+var lV = /* @__PURE__ */ new Map();
+function lOe(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 = cV.get(n) ?? null, i = () => {
+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = lV.get(n) ?? null, i = () => {
let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");
if (!i || !i.offsetWidth) return;
let a = {
@@ -56342,7 +56355,7 @@ function cOe(e) {
w: i.offsetWidth,
h: i.offsetHeight
};
- ls(t, r, a, "x"), r = a, cV.set(n, a);
+ ls(t, r, a, "x"), r = a, lV.set(n, a);
};
e.addEventListener("change", i);
let a = new MutationObserver(i);
@@ -56359,8 +56372,8 @@ function cOe(e) {
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox.ts
-var lV = "/vendor/swiper/14.3.0/", uV = null, lOe = () => uV ??= Promise.all([new Promise((e, t) => {
- let n = `${lV}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
+var uV = "/vendor/swiper/14.3.0/", dV = null, uOe = () => dV ??= Promise.all([new Promise((e, t) => {
+ let n = `${uV}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
if (r?.sheet) {
e();
return;
@@ -56374,11 +56387,11 @@ var lV = "/vendor/swiper/14.3.0/", uV = null, lOe = () => uV ??= Promise.all([ne
return;
}
let r = document.createElement("script");
- r.src = `${lV}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
+ r.src = `${uV}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 uV = null, e;
+ throw dV = null, e;
});
-function uOe(e, t, n) {
+function dOe(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);
@@ -56399,47 +56412,47 @@ function uOe(e, t, n) {
}
};
}
-var dV = (e) => {
+var fV = (e) => {
let t = Number(e) || 0;
return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : Qt(t)).replace(" ", "\xA0") : "大小未知";
-}, dOe = (e) => e.asset?.name || e.name || "未命名图片";
-function fOe(e, t) {
+}, fOe = (e) => e.asset?.name || e.name || "未命名图片";
+function pOe(e, t) {
let n = e.asset;
- if (n) return [an[n.location ?? ""] || n.location || "来源未知", dV(n.size)].join(" · ");
+ if (n) return [an[n.location ?? ""] || n.location || "来源未知", fV(n.size)].join(" · ");
let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";
return [
e.source || "在线图片",
r,
- e.size ? dV(e.size) : ""
+ e.size ? fV(e.size) : ""
].filter(Boolean).join(" · ");
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var fV = null, pV = null, pOe = 0;
-function mOe() {
- return (!pV || !fV?.isConnected) && (pV?.unmount(), fV = document.createElement("div"), fV.className = "peach-react", fV.dataset.photoLightboxHost = "", document.body.append(fV), pV = (0, _t.createRoot)(fV)), pV;
+var pV = null, mV = null, mOe = 0;
+function hOe() {
+ return (!mV || !pV?.isConnected) && (mV?.unmount(), pV = document.createElement("div"), pV.className = "peach-react", pV.dataset.photoLightboxHost = "", document.body.append(pV), mV = (0, _t.createRoot)(pV)), mV;
}
-async function mV(e, t, n) {
+async function hV(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
- r = await lOe();
+ r = await uOe();
} catch {
window.open(t[e].src, "_blank", "noopener");
return;
}
- let i = mOe();
- (0, gt.flushSync)(() => i.render(/* @__PURE__ */ (0, C.jsx)(hOe, {
+ let i = hOe();
+ (0, gt.flushSync)(() => i.render(/* @__PURE__ */ (0, C.jsx)(gOe, {
slides: t,
index: e,
Swiper: r,
host: n ?? null
- }, ++pOe)));
+ }, ++mOe)));
}
-function hV() {
- pV && (0, gt.flushSync)(() => pV.render(null));
+function gV() {
+ mV && (0, gt.flushSync)(() => mV.render(null));
}
-function hOe({ slides: e, index: t, Swiper: n, host: r }) {
+function gOe({ slides: e, index: t, Swiper: n, host: r }) {
let i = e.length > 1, a = (0, S.useId)(), o = (0, S.useRef)(null), s = (0, S.useRef)(null), c = (0, S.useRef)(null), l = (0, S.useRef)(null), u = (0, S.useRef)(null), d = (0, S.useRef)(null), f = (0, S.useRef)(null), p = (0, S.useRef)(null), m = (0, S.useRef)(null), h = (0, S.useRef)(null), g = (0, S.useRef)(null), [_, v] = (0, S.useState)(t), [y, b] = (0, S.useState)(100), [x, w] = (0, S.useState)({}), [T, E] = (0, S.useState)(() => /* @__PURE__ */ new Set()), [D, O] = (0, S.useState)(() => /* @__PURE__ */ new Set()), [k, A] = (0, S.useState)(!1), [j, M] = (0, S.useState)({
at: t,
text: ""
@@ -56482,7 +56495,7 @@ function hOe({ slides: e, index: t, Swiper: n, host: r }) {
v(this.activeIndex), i(this.activeIndex);
} }
});
- i(t, 0), h.current = uOe(e, a, b);
+ i(t, 0), h.current = dOe(e, a, b);
let m = xs(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();
};
@@ -56499,13 +56512,13 @@ function hOe({ 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) : hV());
+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : gV());
};
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, S.useLayoutEffect)(() => {
- m.current && oV(m.current);
+ m.current && sV(m.current);
}, [y]);
let N = e[_], P = N.asset ?? null, F = async (e) => {
if (!P || !r || e.getAttribute("aria-busy") === "true") return;
@@ -56536,18 +56549,18 @@ function hOe({ slides: e, index: t, Swiper: n, host: r }) {
"data-photo-lightbox": "",
"data-has-strip": i ? "" : void 0,
onCancel: (e) => {
- e.preventDefault(), hV();
+ e.preventDefault(), gV();
},
onClick: (e) => {
let t = e.target;
- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && hV();
+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && gV();
},
children: [
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-photo-close": "",
"aria-label": "关闭",
- onClick: hV,
+ onClick: gV,
dangerouslySetInnerHTML: { __html: z("x") }
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
@@ -56683,10 +56696,10 @@ function hOe({ slides: e, index: t, Swiper: n, host: r }) {
id: `${a}-title`,
"data-middle-truncate": "",
tabIndex: -1,
- children: dOe(N)
+ children: fOe(N)
}, _), /* @__PURE__ */ (0, C.jsx)("span", {
"data-photo-detail-meta": "",
- children: fOe(N, x[_])
+ children: pOe(N, x[_])
})]
}),
/* @__PURE__ */ (0, C.jsx)("button", {
@@ -56725,40 +56738,40 @@ function hOe({ slides: e, index: t, Swiper: n, host: r }) {
}
//#endregion
//#region src/react/entity-body/entity-body-page.tsx
-function gOe(e) {
- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, C.jsx)(_Oe, {
+function _Oe(e) {
+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, C.jsx)(vOe, {
roster: e.roster,
props: e
- }) : e.view === "videos" ? /* @__PURE__ */ (0, C.jsx)(vOe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, C.jsx)(xOe, {
+ }) : e.view === "videos" ? /* @__PURE__ */ (0, C.jsx)(yOe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, C.jsx)(SOe, {
photos: e.photos,
props: e
}, e.photos.revision) : null;
}
-var gV = WB.people;
-function _Oe({ roster: e, props: t }) {
+var _V = GB.people;
+function vOe({ roster: e, props: t }) {
let { helpers: n, actions: r } = t, i = (0, S.useMemo)(() => ({
personAvatar: n.personAvatar,
openEntity: r.openEntity
- }), [n, r]), [a, o] = (0, S.useState)(gV), s = (0, S.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, S.useCallback)(async () => {
- o((e) => e + gV);
+ }), [n, r]), [a, o] = (0, S.useState)(_V), s = (0, S.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, S.useCallback)(async () => {
+ o((e) => e + _V);
}, []);
- return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(tV, {
+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(nV, {
kind: e.kind,
items: s,
layout: e.layout,
props: i
- }), a < e.people.length ? /* @__PURE__ */ (0, C.jsx)(vR, {
+ }), a < e.people.length ? /* @__PURE__ */ (0, C.jsx)(yR, {
entity: !0,
load: c,
enabled: () => !0
}, a) : null] });
}
-function vOe(e) {
- let t = CF(!e.items, e.skeletonHtml);
+function yOe(e) {
+ let t = wF(!e.items, e.skeletonHtml);
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-entity-grid": "",
"data-grid-reveal": t.fading ? "" : void 0,
- children: [t.layer, e.items ? /* @__PURE__ */ (0, C.jsx)(_R, {
+ children: [t.layer, e.items ? /* @__PURE__ */ (0, C.jsx)(vR, {
mode: "entity",
entityKey: `${e.kind}:${e.name}`,
revision: e.revision,
@@ -56778,33 +56791,33 @@ function vOe(e) {
}) : null]
});
}
-var yOe = (e) => Array.from({ length: e.n }, (t, n) => ({
+var bOe = (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 || "官方样张"
-})), _V = (e) => e.sample === !0, vV = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, yV = (e) => _V(e) ? `/sample-thumb?${vV(e)}` : `/photo-thumb?id=${e.id}`, bOe = (e) => _V(e) ? {
- src: `/sample-image?${vV(e)}`,
- thumb: yV(e),
+})), vV = (e) => e.sample === !0, yV = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, bV = (e) => vV(e) ? `/sample-thumb?${yV(e)}` : `/photo-thumb?id=${e.id}`, xOe = (e) => vV(e) ? {
+ src: `/sample-image?${yV(e)}`,
+ thumb: bV(e),
name: e.name,
asset: null,
source: e.source
} : {
src: `/photo?id=${e.id}`,
- thumb: yV(e),
+ thumb: bV(e),
name: e.name || "",
asset: e
};
-function xOe({ photos: e, props: t }) {
- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, S.useMemo)(() => [...e.codeSets.flatMap(yOe), ...e.items], [e]), [s, c] = (0, S.useState)(() => /* @__PURE__ */ new Set()), l = (0, S.useCallback)((e) => c((t) => {
+function SOe({ photos: e, props: t }) {
+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, S.useMemo)(() => [...e.codeSets.flatMap(bOe), ...e.items], [e]), [s, c] = (0, S.useState)(() => /* @__PURE__ */ new Set()), l = (0, S.useCallback)((e) => c((t) => {
if (t.has(e)) return t;
let n = new Set(t);
return n.add(e), n;
}), []), u = (0, S.useCallback)((e) => {
- mV(e, o.map(bOe), { revealSource: i.revealSource });
- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, C.jsx)(SOe, {
+ hV(e, o.map(xOe), { revealSource: i.revealSource });
+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, C.jsx)(COe, {
item: e,
index: t,
lost: s.has(t),
@@ -56822,7 +56835,7 @@ function xOe({ photos: e, props: t }) {
};
}), h = p;
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, C.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(bV, {
+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, C.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(xV, {
label: e.code,
title: e.name,
meta: [
@@ -56834,7 +56847,7 @@ function xOe({ 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, C.jsx)(bV, {
+ m.length && e.total ? /* @__PURE__ */ (0, C.jsx)(xV, {
label: "本地图片",
meta: `${e.total.toLocaleString()} 张`
}) : null,
@@ -56843,14 +56856,14 @@ function xOe({ 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, C.jsx)(vR, {
+ e.hasMore ? /* @__PURE__ */ (0, C.jsx)(yR, {
entity: !0,
load: i.loadMorePhotos,
enabled: () => a?.() !== !1
}, e.items.length) : null
] });
}
-function bV({ label: e, title: t, meta: n }) {
+function xV({ label: e, title: t, meta: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-photo-group": "",
children: [
@@ -56867,7 +56880,7 @@ function bV({ label: e, title: t, meta: n }) {
]
});
}
-function SOe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
+function COe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
let a = e.name ?? "";
return /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -56876,7 +56889,7 @@ function SOe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
title: a,
onClick: () => i(t),
children: n ? null : /* @__PURE__ */ (0, C.jsx)("img", {
- src: yV(e),
+ src: bV(e),
alt: a,
loading: "lazy",
decoding: "async",
@@ -56887,8 +56900,8 @@ function SOe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
}
//#endregion
//#region src/react/follow-feed/follow-card.tsx
-var COe = (e) => Number(e) > 0;
-function xV({ name: e, actions: t, children: n, ...r }) {
+var wOe = (e) => Number(e) > 0;
+function SV({ name: e, actions: t, children: n, ...r }) {
return /* @__PURE__ */ (0, C.jsx)("a", {
...r,
href: Lt("creator", e),
@@ -56898,15 +56911,15 @@ function xV({ name: e, actions: t, children: n, ...r }) {
children: n
});
}
-var SV = ({ provider: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
+var CV = ({ provider: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
"data-follow-nothumb": "",
- dangerouslySetInnerHTML: { __html: eF(e) }
+ dangerouslySetInnerHTML: { __html: tF(e) }
});
-function wOe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {
+function TOe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {
let [s, c] = (0, S.useState)(!1), [l, u] = (0, S.useState)(!1), [d, f] = (0, S.useState)(null);
return (0, S.useEffect)(() => {
c(!1);
- }, [o]), s ? /* @__PURE__ */ (0, C.jsx)(SV, { provider: i }) : /* @__PURE__ */ (0, C.jsx)("img", {
+ }, [o]), s ? /* @__PURE__ */ (0, C.jsx)(CV, { provider: i }) : /* @__PURE__ */ (0, C.jsx)("img", {
src: l ? t : e,
alt: "",
loading: "lazy",
@@ -56925,8 +56938,8 @@ function wOe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a
} : void 0
});
}
-function TOe(e) {
- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = si(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) => fxe(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? li(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = hee({
+function EOe(e) {
+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = si(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) => pxe(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? li(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = hee({
cover: p,
coverFace: (f?.thumb_url ? f : u).face,
stack: t.stack,
@@ -56934,7 +56947,7 @@ function TOe(e) {
limit: 9
}), w = (0, S.useRef)(x.faces);
w.current = x.faces;
- let T = FF({
+ let T = IF({
load: async () => w.current,
canFlip: () => w.current.length > 1 && l.canFlip(),
referrerPolicy: "no-referrer"
@@ -56942,7 +56955,7 @@ function TOe(e) {
E.current = T.onPointerLeave;
let D = (0, S.useCallback)((e) => {
e && (e._stopHover = () => E.current());
- }, []), O = aF(u, n, i), k = tF(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = cF(u, i), N = sF(t, u), P = u.status === "saved", F = (e) => {
+ }, []), O = oF(u, n, i), k = nF(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = lF(u, i), N = cF(t, u), P = u.status === "saved", F = (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));
}, I = (e, t) => {
e.stopPropagation(), t();
@@ -56957,7 +56970,7 @@ function TOe(e) {
"data-collection": x.isMix ? "" : void 0,
"data-selected": a ? "" : void 0,
onClick: F,
- onMouseDown: DF,
+ onMouseDown: OF,
onMouseEnter: T.onPointerEnter,
onMouseLeave: T.onPointerLeave,
children: [
@@ -56971,7 +56984,7 @@ function TOe(e) {
}), /* @__PURE__ */ (0, C.jsxs)("div", {
"data-media-pic": "",
children: [
- p ? /* @__PURE__ */ (0, C.jsx)(wOe, {
+ p ? /* @__PURE__ */ (0, C.jsx)(TOe, {
src: p,
fallback: m,
width: _?.width,
@@ -56979,7 +56992,7 @@ function TOe(e) {
provider: A,
onLearn: v,
retryKey: e.retryKey
- }, p) : /* @__PURE__ */ (0, C.jsx)(SV, { provider: A }),
+ }, p) : /* @__PURE__ */ (0, C.jsx)(CV, { provider: A }),
x.faces.length > 1 ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-mix-faces": "",
hidden: !T.faces.length,
@@ -56999,7 +57012,7 @@ function TOe(e) {
"data-media-badge": "",
title: u.provider_label || u.provider,
"aria-label": `来源:${u.provider_label || u.provider}`,
- dangerouslySetInnerHTML: { __html: eF(u.provider, u.provider_label) }
+ dangerouslySetInnerHTML: { __html: tF(u.provider, u.provider_label) }
}), N ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: N }
@@ -57012,7 +57025,7 @@ function TOe(e) {
},
dangerouslySetInnerHTML: { __html: z("check") }
}) : null,
- COe(u.duration) ? /* @__PURE__ */ (0, C.jsx)("span", {
+ wOe(u.duration) ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-media-duration": "",
children: Xt(u.duration)
}) : null,
@@ -57084,7 +57097,7 @@ function TOe(e) {
/* @__PURE__ */ (0, C.jsxs)("div", {
"data-media-meta": "",
children: [
- O.entityName ? /* @__PURE__ */ (0, C.jsx)(xV, {
+ O.entityName ? /* @__PURE__ */ (0, C.jsx)(SV, {
name: O.entityName,
actions: l,
"data-media-avatar": "",
@@ -57103,12 +57116,12 @@ function TOe(e) {
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-media-title": "",
- dangerouslySetInnerHTML: { __html: oF(t, u) + B(k) }
+ dangerouslySetInnerHTML: { __html: sF(t, u) + B(k) }
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
"data-follow-byline": "",
children: [
- O.entityName ? /* @__PURE__ */ (0, C.jsx)(xV, {
+ O.entityName ? /* @__PURE__ */ (0, C.jsx)(SV, {
name: O.entityName,
actions: l,
"data-follow-author": "",
@@ -57121,8 +57134,8 @@ function TOe(e) {
}),
/* @__PURE__ */ (0, C.jsx)("time", {
dateTime: u.published_at || "",
- title: uF(u),
- children: dxe(u)
+ title: dF(u),
+ children: fxe(u)
}),
O.credited ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-follow-credit": "",
@@ -57157,10 +57170,10 @@ function TOe(e) {
]
});
}
-var CV = (0, S.memo)(TOe);
+var wV = (0, S.memo)(EOe);
//#endregion
//#region src/react/components/use-masonry-grid.ts
-function EOe(e, t) {
+function DOe(e, t) {
let n = (0, S.useRef)(null);
return (0, S.useLayoutEffect)(() => {
let t = n.current;
@@ -57196,10 +57209,10 @@ function EOe(e, t) {
}
//#endregion
//#region src/react/follow-feed/follow-feed-page.tsx
-var wV = () => /* @__PURE__ */ (0, C.jsx)("span", {
+var TV = () => /* @__PURE__ */ (0, C.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), DOe = rP("settings"), TV = rP("chevron-down"), OOe = rP("history"), kOe = [[
+}), OOe = oP("settings"), EV = oP("chevron-down"), kOe = oP("history"), AOe = [[
"fixed",
"固定比例",
"layout-grid"
@@ -57208,7 +57221,7 @@ var wV = () => /* @__PURE__ */ (0, C.jsx)("span", {
"瀑布流",
"columns-2"
]];
-function AOe(e, t, n) {
+function jOe(e, t, n) {
return (0, S.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) => {
@@ -57256,7 +57269,7 @@ function AOe(e, t, n) {
n
]);
}
-function jOe(e) {
+function MOe(e) {
let { view: t, seed: n, revision: r, actions: i } = e, a = Jr(t, r), o = ht(a), s = pt({
queryKey: Yr,
queryFn: ({ signal: e }) => Xr(e)
@@ -57264,7 +57277,7 @@ function jOe(e) {
sources: c?.sources || [],
aliases: c?.author_aliases || [],
credentials: l
- }), [c, l]), d = AOe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, S.useMemo)(() => ({
+ }), [c, l]), d = jOe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, S.useMemo)(() => ({
tags: Tc(d.visible.flatMap(ei).map((e) => ({ tags: e.tags || [] }))),
providers: [...d.providers].map(([e, t]) => [
e,
@@ -57290,10 +57303,10 @@ function jOe(e) {
m,
i
]);
- let h = NOe(e, !!c);
+ let h = POe(e, !!c);
if (!c) return o.isError ? /* @__PURE__ */ (0, C.jsxs)("div", {
"data-follow-feed": "",
- children: [/* @__PURE__ */ (0, C.jsx)(EV, { onManage: i.openManage }), /* @__PURE__ */ (0, C.jsx)(wF, {
+ children: [/* @__PURE__ */ (0, C.jsx)(DV, { onManage: i.openManage }), /* @__PURE__ */ (0, C.jsx)(TF, {
message: Dt(o.error),
onRetry: () => void o.refetch()
})]
@@ -57306,7 +57319,7 @@ function jOe(e) {
author: d.author,
provider: d.provider
}, {
- authors: new Map([...d.authorSources].map(([e, t]) => [e, nF(t, u)])),
+ authors: new Map([...d.authorSources].map(([e, t]) => [e, rF(t, u)])),
providers: d.providers,
works: d.workNames
}), v = t.status ? d.counts[t.status] || 0 : d.allCount, y = d.sources.some((e) => e.can_backfill);
@@ -57324,7 +57337,7 @@ function jOe(e) {
"data-follow-feed": "",
"data-select-mode": e.selectMode ? "" : void 0,
children: [
- /* @__PURE__ */ (0, C.jsx)(EV, {
+ /* @__PURE__ */ (0, C.jsx)(DV, {
onManage: i.openManage,
children: d.sources.length ? /* @__PURE__ */ (0, C.jsx)(K, {
variant: "primary",
@@ -57338,20 +57351,20 @@ function jOe(e) {
}) : "检查更新"
}) : null
}),
- /* @__PURE__ */ (0, C.jsx)(POe, {
+ /* @__PURE__ */ (0, C.jsx)(FOe, {
facets: d,
pressed: d.author,
context: u,
props: e,
onPick: (e) => g({ author: d.author === e ? "" : e })
}),
- /* @__PURE__ */ (0, C.jsx)(FOe, {
+ /* @__PURE__ */ (0, C.jsx)(IOe, {
rows: d.workRows,
pressed: t.work,
props: e,
onPick: (e) => g({ work: t.work === e ? "" : e })
}),
- /* @__PURE__ */ (0, C.jsx)(IOe, {
+ /* @__PURE__ */ (0, C.jsx)(LOe, {
facets: d,
view: t,
total: v,
@@ -57359,7 +57372,7 @@ function jOe(e) {
props: e,
route: g
}),
- /* @__PURE__ */ (0, C.jsx)(LOe, {
+ /* @__PURE__ */ (0, C.jsx)(ROe, {
conditions: _,
onDrop: (e) => i.route(gi(t, e)),
onClear: () => g({
@@ -57371,11 +57384,11 @@ function jOe(e) {
durMax: 0
})
}),
- d.broken.length ? /* @__PURE__ */ (0, C.jsx)(ROe, {
+ d.broken.length ? /* @__PURE__ */ (0, C.jsx)(zOe, {
count: d.broken.length,
onManage: i.openManage
}) : null,
- /* @__PURE__ */ (0, C.jsx)(zOe, {
+ /* @__PURE__ */ (0, C.jsx)(BOe, {
retryKey: o.dataUpdatedAt,
pending: f,
facets: d,
@@ -57387,14 +57400,14 @@ function jOe(e) {
"data-follow-pagination": "",
children: [c.has_more ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-follow-page-action": "",
- children: c.groups.length < 500 ? /* @__PURE__ */ (0, C.jsxs)(vR, {
+ children: c.groups.length < 500 ? /* @__PURE__ */ (0, C.jsxs)(yR, {
entity: !0,
enabled: () => !h.busyRef.current,
load: async () => {
await o.fetchNextPage({ throwOnError: !0 });
},
- children: [/* @__PURE__ */ (0, C.jsx)(TV, { className: "size-3.5" }), "加载更多"]
- }, o.data?.pages.length) : /* @__PURE__ */ (0, C.jsx)(MOe, {
+ children: [/* @__PURE__ */ (0, C.jsx)(EV, { className: "size-3.5" }), "加载更多"]
+ }, o.data?.pages.length) : /* @__PURE__ */ (0, C.jsx)(NOe, {
busy: o.isFetchingNextPage,
error: o.isFetchNextPageError ? Dt(o.error) : "",
load: () => {
@@ -57405,7 +57418,7 @@ function jOe(e) {
"data-follow-page-action": "",
children: [/* @__PURE__ */ (0, C.jsx)(K, {
variant: "secondary",
- leadingIcon: h.olderBusy ? void 0 : OOe,
+ leadingIcon: h.olderBusy ? void 0 : kOe,
"data-follow-older": "",
"aria-busy": h.busy || void 0,
onClick: () => void h.start(!0),
@@ -57423,7 +57436,7 @@ function jOe(e) {
})
] });
}
-function EV({ onManage: e, children: t }) {
+function DV({ onManage: e, children: t }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-follow-head": "",
children: [/* @__PURE__ */ (0, C.jsx)("h2", {
@@ -57433,7 +57446,7 @@ function EV({ onManage: e, children: t }) {
"data-follow-head-actions": "",
children: [/* @__PURE__ */ (0, C.jsx)(K, {
variant: "secondary",
- leadingIcon: DOe,
+ leadingIcon: OOe,
"data-follow-manage": "",
onClick: e,
children: "管理关注"
@@ -57441,20 +57454,20 @@ function EV({ onManage: e, children: t }) {
})]
});
}
-function MOe({ busy: e, error: t, load: n }) {
+function NOe({ busy: e, error: t, load: n }) {
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"data-entity-more": "",
"aria-busy": e || void 0,
"aria-disabled": e || void 0,
onClick: n,
- children: [/* @__PURE__ */ (0, C.jsx)(TV, { className: "size-3.5" }), "加载更多"]
- }), t ? /* @__PURE__ */ (0, C.jsx)(wF, {
+ children: [/* @__PURE__ */ (0, C.jsx)(EV, { className: "size-3.5" }), "加载更多"]
+ }), t ? /* @__PURE__ */ (0, C.jsx)(TF, {
message: t,
onRetry: n
}) : null] });
}
-function NOe(e, t) {
+function POe(e, t) {
let { helpers: n, actions: r } = e, [i, a] = (0, S.useState)(0), [o, s] = (0, S.useState)(!1), [c, l] = (0, S.useState)(""), [u, d] = (0, S.useState)(""), [f, p] = (0, S.useState)(!1), m = (0, S.useRef)(!1), h = (0, S.useRef)(null), g = (0, S.useRef)({
helpers: n,
actions: r
@@ -57516,12 +57529,12 @@ function NOe(e, t) {
olderBusy: c === "older" || f && o
};
}
-function POe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
+function FOe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
let a = (0, S.useRef)(null);
(0, S.useEffect)(() => {
r.helpers.wireDrag(a.current);
}, [r.helpers]);
- let o = (t) => nF(e.authorSources.get(t) || [], n);
+ let o = (t) => rF(e.authorSources.get(t) || [], n);
return e.authorOrder.length ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-follow-authors-bar": "",
children: /* @__PURE__ */ (0, C.jsx)("div", {
@@ -57529,14 +57542,14 @@ function POe({ 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 = rF(a), c = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("span", {
+ let a = e.authorSources.get(n) || [], s = iF(a), c = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("span", {
"data-follow-ring": "",
- dangerouslySetInnerHTML: { __html: iF(a, o(n)) }
+ dangerouslySetInnerHTML: { __html: aF(a, o(n)) }
}), /* @__PURE__ */ (0, C.jsx)("span", {
"data-follow-name": "",
children: o(n)
})] });
- return s ? /* @__PURE__ */ (0, C.jsx)(xV, {
+ return s ? /* @__PURE__ */ (0, C.jsx)(SV, {
name: s,
actions: r.actions,
"data-follow-author": n,
@@ -57553,7 +57566,7 @@ function POe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
})
}) : null;
}
-function FOe({ rows: e, pressed: t, props: n, onPick: r }) {
+function IOe({ rows: e, pressed: t, props: n, onPick: r }) {
let i = (0, S.useRef)(null);
return (0, S.useEffect)(() => {
n.helpers.wireDrag(i.current);
@@ -57574,13 +57587,13 @@ function FOe({ rows: e, pressed: t, props: n, onPick: r }) {
}, e[0]))
}) : null;
}
-function IOe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
- let { helpers: o, actions: s } = i, c = (0, S.useRef)(null), l = (0, S.useRef)(null), u = (0, S.useRef)(null), d = (0, S.useRef)(null), f = (0, S.useRef)(null), p = (0, S.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = aj(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = aj(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
+function LOe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
+ let { helpers: o, actions: s } = i, c = (0, S.useRef)(null), l = (0, S.useRef)(null), u = (0, S.useRef)(null), d = (0, S.useRef)(null), f = (0, S.useRef)(null), p = (0, S.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = cj(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = cj(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
(0, S.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, C.jsx)(ej, {
+ return /* @__PURE__ */ (0, C.jsx)(rj, {
label: "筛选与排序",
topLabel: m ? "媒体与关注筛选" : "关注筛选",
attrs: {
@@ -57632,7 +57645,7 @@ function IOe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: z(i) }
}, e);
})
- }), /* @__PURE__ */ (0, C.jsx)(wV, {})] }) : null, /* @__PURE__ */ (0, C.jsxs)("div", {
+ }), /* @__PURE__ */ (0, C.jsx)(TV, {})] }) : null, /* @__PURE__ */ (0, C.jsxs)("div", {
ref: f,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
@@ -57652,7 +57665,7 @@ function IOe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
t.status !== e && a({ status: e });
},
children: n
- }, e)), v ? /* @__PURE__ */ (0, C.jsx)(wV, {}) : null]
+ }, e)), v ? /* @__PURE__ */ (0, C.jsx)(TV, {}) : null]
}), /* @__PURE__ */ (0, C.jsxs)("div", {
ref: p,
"data-entity-tags": "",
@@ -57665,10 +57678,10 @@ function IOe({ 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: eF(t, n) }
+ dangerouslySetInnerHTML: { __html: tF(t, n) }
}, t)),
- _.length && e.tagRows.length ? /* @__PURE__ */ (0, C.jsx)(wV, {}) : null,
- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, C.jsxs)(tj, {
+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, C.jsx)(TV, {}) : null,
+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, C.jsxs)(ij, {
"data-follow-tag": n,
"data-entity-press": "",
"data-tag-cat": `r34-${_i(e.groups, n)}`,
@@ -57688,18 +57701,18 @@ function IOe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
"data-follow-readout": "",
children: `${n.toLocaleString()} 项更新 · 显示 ${e.visible.length.toLocaleString()}`
}),
- /* @__PURE__ */ (0, C.jsx)(gP, {
+ /* @__PURE__ */ (0, C.jsx)(yP, {
currentHref: () => location.pathname + location.search,
kind: "creator"
}),
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, C.jsx)(vF, { onPress: s.shuffle }),
- y ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(_F, {
+ /* @__PURE__ */ (0, C.jsx)(yF, { onPress: s.shuffle }),
+ y ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(vF, {
label: "图片布局",
value: i.photoLayout,
- options: kOe,
+ options: AOe,
onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")
}), /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
@@ -57717,7 +57730,7 @@ function IOe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
})]
})] }) : null,
Ur.map(([e, n]) => {
- let r = t.sort === e, i = rP(t.dir === "asc" ? "arrow-up" : "arrow-down");
+ let r = t.sort === e, i = oP(t.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"data-entity-sort": e,
@@ -57737,7 +57750,7 @@ function IOe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
] })
});
}
-function LOe({ conditions: e, onDrop: t, onClear: n }) {
+function ROe({ conditions: e, onDrop: t, onClear: n }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-entity-combo": "",
"data-follow-combo": "",
@@ -57762,7 +57775,7 @@ function LOe({ conditions: e, onDrop: t, onClear: n }) {
})] }) : null
});
}
-function ROe({ count: e, onManage: t }) {
+function zOe({ count: e, onManage: t }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-follow-broken": "",
onClick: (e) => {
@@ -57771,12 +57784,12 @@ function ROe({ count: e, onManage: t }) {
dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${z("alert")}<span>${e} 个来源上次检查失败,去<button type="button" class="flink" data-follow-manage>管理关注</button>看原因。</span></div>` }
});
}
-function zOe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a }) {
- let { view: o, helpers: s } = i, c = o.media === "images", l = CF(e, () => s.listSkeletonHtml(o.media));
+function BOe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a }) {
+ let { view: o, helpers: s } = i, c = o.media === "images", l = wF(e, () => s.listSkeletonHtml(o.media));
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-follow-list-body": "",
"data-grid-reveal": l.fading ? "" : void 0,
- children: [l.layer, e ? null : /* @__PURE__ */ (0, C.jsx)(BOe, {
+ children: [l.layer, e ? null : /* @__PURE__ */ (0, C.jsx)(VOe, {
facets: t,
data: n,
context: r,
@@ -57786,29 +57799,29 @@ function zOe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a
})]
});
}
-function BOe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a }) {
- let { view: o, actions: s } = r, c = OV(r), l = i ? {
+function VOe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a }) {
+ let { view: o, actions: s } = r, c = kV(r), l = i ? {
"data-size": r.photoSize,
"data-layout": r.photoLayout,
"data-images-only": String(r.imagesOnly)
- } : {}, u = EOe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), d;
+ } : {}, u = DOe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), d;
return d = e.visible.length ? e.visible.map((t) => {
let i = e.byId.get(t.primary?.source_id), l = i?.author_key && e.authorSources.get(i.author_key) || [], u = t.primary.id;
- return /* @__PURE__ */ (0, C.jsx)(CV, {
+ return /* @__PURE__ */ (0, C.jsx)(wV, {
group: t,
authorSources: l,
media: o.media,
retryKey: a,
context: n,
- selected: r.selected.has(DV(t, o)),
+ selected: r.selected.has(OV(t, o)),
selectMode: r.selectMode,
- busy: c.busy.get(DV(t, o)) || "",
- failure: c.failures.get(DV(t, o)) || "",
+ busy: c.busy.get(OV(t, o)) || "",
+ failure: c.failures.get(OV(t, o)) || "",
actions: s,
onStatus: c.status,
onSave: c.save
}, `${u}:${o.media}`);
- }) : /* @__PURE__ */ (0, C.jsx)(VOe, {
+ }) : /* @__PURE__ */ (0, C.jsx)(HOe, {
data: t,
filtered: !!(o.status || e.author || e.provider || o.work || o.tags.length)
}), /* @__PURE__ */ (0, C.jsx)("div", {
@@ -57819,10 +57832,10 @@ function BOe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a
children: d
});
}
-function DV(e, t) {
+function OV(e, t) {
return si(e, t.media).id;
}
-function VOe({ data: e, filtered: t }) {
+function HOe({ data: e, filtered: t }) {
let n = (e.groups || []).length ? xo("search-x", "当前筛选下没有更新", "切换媒体类型、创作者、来源、时长或标签后再试。") : (e.sources || []).length ? t ? xo("rss", "没有符合条件的更新", "切换状态或来源筛选后再试。") : xo("rss", "还没有更新", "点「检查更新」去各个来源取一遍;来源有新内容时会集中显示在这里。") : xo("rss", "还没有关注任何来源", "添加创作者或订阅来源后,更新会集中显示在这里。", { actions: "<a class=\"geist-button primary\" href=\"/subscriptions?tab=add\">添加关注</a>" });
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-follow-empty": "",
@@ -57830,12 +57843,12 @@ function VOe({ data: e, filtered: t }) {
dangerouslySetInnerHTML: { __html: n }
});
}
-var HOe = {
+var UOe = {
new: "已恢复未看",
seen: "已标记已看",
ignored: "已忽略"
};
-function OV(e) {
+function kV(e) {
let { view: t, revision: n, actions: r } = e, [i, a] = (0, S.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, S.useState)(() => /* @__PURE__ */ new Map()), c = Jr(t, n).queryKey, l = (e, t, n) => n((n) => {
let r = new Map(n);
return t ? r.set(e, t) : r.delete(e), r;
@@ -57858,7 +57871,7 @@ function OV(e) {
to: t
}),
onSuccess: (e, { id: t, to: n, was: i }) => {
- u(t, n), d(), r.toast(HOe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
+ u(t, n), d(), r.toast(UOe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
await U(Pn, {
item: t,
to: i
@@ -57904,9 +57917,9 @@ function OV(e) {
}
//#endregion
//#region src/react/entity-body/entity-online.tsx
-function UOe(e) {
- let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = CF(a, () => i.listSkeletonHtml(r));
- return !n && t.isError ? /* @__PURE__ */ (0, C.jsx)(wF, {
+function WOe(e) {
+ let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = wF(a, () => i.listSkeletonHtml(r));
+ return !n && t.isError ? /* @__PURE__ */ (0, C.jsx)(TF, {
message: Dt(t.error),
onRetry: () => {
t.refetch();
@@ -57917,11 +57930,11 @@ function UOe(e) {
"data-grid-reveal": o.fading ? "" : void 0,
children: [
o.layer,
- a || !n ? null : /* @__PURE__ */ (0, C.jsx)(WOe, {
+ a || !n ? null : /* @__PURE__ */ (0, C.jsx)(GOe, {
...e,
data: n
}),
- !a && n?.has_more ? /* @__PURE__ */ (0, C.jsx)(vR, {
+ !a && n?.has_more ? /* @__PURE__ */ (0, C.jsx)(yR, {
entity: !0,
enabled: () => e.canLoadMore?.() !== !1,
load: async () => {
@@ -57931,8 +57944,8 @@ function UOe(e) {
]
});
}
-function WOe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c }) {
- let l = OV({
+function GOe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c }) {
+ let l = kV({
view: e,
revision: 0,
actions: c
@@ -57950,7 +57963,7 @@ function WOe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
"data-images-only": String(s)
} : {}, p = r.length ? r.map((e) => {
let n = si(e, t).id, r = u.byId.get(e.primary?.source_id)?.author_key;
- return /* @__PURE__ */ (0, C.jsx)(CV, {
+ return /* @__PURE__ */ (0, C.jsx)(wV, {
group: e,
authorSources: r && u.byAuthor.get(r) || [],
media: t,
@@ -57963,7 +57976,7 @@ function WOe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
onStatus: l.status,
onSave: l.save
}, `${e.primary.id}:${t}`);
- }) : /* @__PURE__ */ (0, C.jsx)(GOe, { searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length) });
+ }) : /* @__PURE__ */ (0, C.jsx)(KOe, { searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length) });
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-follow-list": "",
"data-follow-wall": d ? "" : void 0,
@@ -57971,7 +57984,7 @@ function WOe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
children: p
});
}
-function GOe({ searched: e }) {
+function KOe({ searched: e }) {
let t = e ? xo("search-x", "当前筛选下没有更新", "切换媒体类型、状态、来源或标签后再试。") : xo("rss", "还没有抓到更新", "关注页检查更新之后,这位创作者的新内容会出现在这里。");
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-follow-empty": "",
@@ -57979,7 +57992,7 @@ function GOe({ searched: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function kV(e) {
+function AV(e) {
return {
x0: 0,
y0: 0,
@@ -57987,7 +58000,7 @@ function kV(e) {
y1: e.height
};
}
-function AV(e) {
+function jV(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -57995,40 +58008,40 @@ function AV(e) {
y1: Math.round(e.y1)
};
}
-function jV(e) {
+function MV(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function MV(e, t) {
- if (!jV(e)) return {
+function NV(e, t) {
+ if (!MV(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return kV(e);
+ if (t == null || !(t > 0)) return AV(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 AV({
+ return jV({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function KOe(e, t) {
- if (!jV(e) || !(t > 0)) return kV(e);
+function qOe(e, t) {
+ if (!MV(e) || !(t > 0)) return AV(e);
let n = Math.min(e.width, e.height * t);
- return AV({
+ return jV({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function qOe(e, t, n) {
- if (!jV(t) || !(n > 0)) return kV(t);
- let r = NV(e, t), i = MV({
+function JOe(e, t, n) {
+ if (!MV(t) || !(n > 0)) return AV(t);
+ let r = PV(e, t), i = NV({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -58039,8 +58052,8 @@ function qOe(e, t, n) {
y1: r.y0 + i.y1
};
}
-function NV(e, t, n = null, r = "width") {
- if (!jV(t)) return {
+function PV(e, t, n = null, r = "width") {
+ if (!MV(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -58049,43 +58062,43 @@ function NV(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 AV({
+ return jV({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function PV(e, t, n, r) {
+function FV(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 AV({
+ return jV({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function FV(e, t, n, r = null) {
- if (!jV(n) || !(t > 0)) return e;
+function IV(e, t, n, r = null) {
+ if (!MV(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 NV({
+ return PV({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function JOe(e, t, n, r, i = null) {
+function YOe(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 NV(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return PV(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function YOe(e, t) {
- return jV(t) ? {
+function XOe(e, t) {
+ return MV(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -58097,8 +58110,8 @@ function YOe(e, t) {
height: 0
};
}
-function XOe(e, t) {
- if (!jV(t)) return {
+function ZOe(e, t) {
+ if (!MV(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -58108,7 +58121,7 @@ function XOe(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function ZOe(e, t) {
+function QOe(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}%`,
@@ -58117,16 +58130,16 @@ function ZOe(e, t) {
height: `${t.height / r * 100}%`
};
}
-function IV(e, t, n) {
+function LV(e, t, n) {
return t > 0 ? e * n / t : 0;
}
-function QOe(e, t) {
+function $Oe(e, t) {
return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;
}
//#endregion
//#region src/react/crop/crop-frame.tsx
-var $Oe = .02, LV = 1.08;
-function RV({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var eke = .02, RV = 1.08;
+function zV({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, S.useRef)(null), c = (0, S.useRef)(null), [l, u] = (0, S.useState)(!1), [d, f] = (0, S.useState)(null);
(0, S.useEffect)(() => {
u(!1);
@@ -58145,8 +58158,8 @@ function RV({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: IV(e, n.clientWidth, r.width),
- dy: IV(t, n.clientHeight, r.height)
+ dx: LV(e, n.clientWidth, r.width),
+ dy: LV(t, n.clientHeight, r.height)
};
}, [r]);
function m(e) {
@@ -58163,22 +58176,22 @@ function RV({ 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(PV(n.box, o.dx, o.dy, r)) : i(JOe(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(FV(n.box, o.dx, o.dy, r)) : i(YOe(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) * $Oe), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * eke), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
- o[e.key] ? (e.preventDefault(), i(PV(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(FV(n, e.key === "-" ? 1 / LV : LV, r, t)));
+ o[e.key] ? (e.preventDefault(), i(FV(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(IV(n, e.key === "-" ? 1 / RV : RV, r, t)));
}
- let v = n && r ? YOe(NV(n, r, t), r) : null, y = v ? QOe(v, d) : !1, b = v ? {
+ let v = n && r ? XOe(PV(n, r, t), r) : null, y = v ? $Oe(v, d) : !1, b = v ? {
"--crop-l": `${v.left}%`,
"--crop-t": `${v.top}%`,
"--crop-w": `${v.width}%`,
@@ -58197,7 +58210,7 @@ function RV({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- jV({
+ MV({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -58236,7 +58249,7 @@ function RV({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: g,
onKeyDown: _,
onWheel: (e) => {
- n && r && i(FV(n, e.deltaY > 0 ? LV : 1 / LV, r, t));
+ n && r && i(IV(n, e.deltaY > 0 ? RV : 1 / RV, 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, C.jsx)("span", {
@@ -58259,13 +58272,13 @@ function RV({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
//#endregion
//#region src/react/avatar-picker/avatar-picker.ts
-var eke = "/api/avatar-choices", zV = "/api/avatar-pick", tke = "/api/avatar-code-cover", BV = "/api/avatar-frame", nke = "/avatar-choice", VV = (e, t) => [
+var tke = "/api/avatar-choices", BV = "/api/avatar-pick", nke = "/api/avatar-code-cover", VV = "/api/avatar-frame", rke = "/avatar-choice", HV = (e, t) => [
"avatar-choices",
e,
t
-], HV = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, UV = (e, t, n, r = "") => `${nke}${HV(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), WV = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", rke = (e, t, n) => H(eke + HV(e, t), n), ike = (e) => U(tke, { code: e });
-async function ake(e, t, n) {
- let r = await U(BV, {
+], UV = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, WV = (e, t, n, r = "") => `${rke}${UV(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), GV = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", ike = (e, t, n) => H(tke + UV(e, t), n), ake = (e) => U(nke, { code: e });
+async function oke(e, t, n) {
+ let r = await U(VV, {
kind: e,
id: t,
ref: n.ref
@@ -58278,12 +58291,12 @@ async function ake(e, t, n) {
bases: r.bases
};
}
-var oke = (e, t, n) => U(BV, {
+var ske = (e, t, n) => U(VV, {
kind: e,
id: t,
url: n
-}), ske = (e, t, n) => GV(`${BV}${HV(e, t)}&name=${encodeURIComponent(n.name)}`, n);
-async function GV(e, t) {
+}), cke = (e, t, n) => KV(`${VV}${UV(e, t)}&name=${encodeURIComponent(n.name)}`, n);
+async function KV(e, t) {
let n = await fetch(e, {
method: "POST",
credentials: "same-origin",
@@ -58292,17 +58305,17 @@ async function GV(e, t) {
if (n.ok) return r;
throw new un(r?.error || `请求失败(${n.status})`, n.status, r);
}
-function KV(e, t, n) {
+function qV(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? qOe(e.focus, t, n) : MV(t, n);
+ return e.focus && r ? JOe(e.focus, t, n) : NV(t, n);
}
-var cke = (e) => e.crop && jV({
+var lke = (e) => e.crop && MV({
width: e.width,
height: e.height
});
-async function lke(e, t, n) {
+async function uke(e, t, n) {
if (!("file" in n)) {
- await U(zV, {
+ await U(BV, {
kind: e,
id: t,
...n
@@ -58315,19 +58328,19 @@ async function lke(e, t, n) {
i.x1,
i.y1
].join(",")}` : "";
- await GV(`${zV}${HV(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
+ await KV(`${BV}${UV(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
}
-var qV = 2;
-function uke(e, t) {
+var JV = 2;
+function dke(e, t) {
if (!t) return e;
let n = t.matched_names.filter((t) => t !== e);
- return n.length ? `${e}:图库里按${`「${n.slice(0, qV).join("」「")}」`}${n.length > qV ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有候选图片,可输入番号、图片地址或从本机选择。`;
+ return n.length ? `${e}:图库里按${`「${n.slice(0, JV).join("」「")}」`}${n.length > JV ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有候选图片,可输入番号、图片地址或从本机选择。`;
}
-var dke = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function fke(e) {
- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${dke(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var fke = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function pke(e) {
+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${fke(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var JV = (e) => e.cast > 1, pke = (e) => JV(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, mke = {
+var YV = (e) => e.cast > 1, mke = (e) => YV(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, hke = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
@@ -58337,7 +58350,7 @@ var JV = (e) => e.cast > 1, pke = (e) => JV(e) ? `${e.label}:${e.cast.toLocale
social: "社媒头像",
online: "在线作品"
};
-function hke(e) {
+function gke(e) {
if (e.startsWith("follow:")) {
let t = e.split(":")[2];
return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;
@@ -58348,19 +58361,19 @@ function hke(e) {
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var gke = (e) => `${mke[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (JV(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), _ke = 8, vke = 3 / 4;
-async function yke(e, t, n) {
+var _ke = (e) => `${hke[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (YV(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), vke = 8, yke = 3 / 4;
+async function bke(e, t, n) {
switch (n.via) {
- case "choice": return { choice: await ake(e, t, n.choice) };
- case "code": return { choice: await ike(n.code) };
- case "url": return { choice: await oke(e, t, n.url) };
+ case "choice": return { choice: await oke(e, t, n.choice) };
+ case "code": return { choice: await ake(n.code) };
+ case "url": return { choice: await ske(e, t, n.url) };
case "file": return {
- choice: await ske(e, t, n.file),
+ choice: await cke(e, t, n.file),
file: n.file
};
}
}
-function bke({ kind: e, entityId: t, name: n, onPicked: r }) {
+function xke({ kind: e, entityId: t, name: n, onPicked: r }) {
let [i, a] = (0, S.useState)(!1);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("span", {
className: "absolute right-1 bottom-1 z-10",
@@ -58375,12 +58388,12 @@ function bke({ kind: e, entityId: t, name: n, onPicked: r }) {
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, C.jsx)(eP, {
+ }), /* @__PURE__ */ (0, C.jsx)(rP, {
isOpen: i,
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, C.jsx)(xke, {
+ children: /* @__PURE__ */ (0, C.jsx)(Ske, {
kind: e,
entityId: t,
name: n,
@@ -58389,22 +58402,22 @@ function bke({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function xke({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, S.useRef)(null), o = AP(), [s, c] = (0, S.useState)(""), [l, u] = (0, S.useState)(""), [d, f] = (0, S.useState)(null), p = VV(e, t), m = (0, S.useRef)(!1), h = pt({
+function Ske({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+ let a = (0, S.useRef)(null), o = jP(), [s, c] = (0, S.useState)(""), [l, u] = (0, S.useState)(""), [d, f] = (0, S.useState)(null), p = HV(e, t), m = (0, S.useRef)(!1), h = pt({
queryKey: p,
- queryFn: ({ signal: n }) => rke(e, t, n),
+ queryFn: ({ signal: n }) => ike(e, t, n),
retryOnMount: !0
});
(0, S.useEffect)(() => () => {
- m.current && W.removeQueries({ queryKey: VV(e, t) });
+ m.current && W.removeQueries({ queryKey: HV(e, t) });
}, [e, t]);
let g = mt({
- mutationFn: (n) => lke(e, t, n),
+ mutationFn: (n) => uke(e, t, n),
onSuccess: () => {
m.current = !0, i(), r();
}
}), _ = mt({
- mutationFn: (n) => yke(e, t, n),
+ mutationFn: (n) => bke(e, t, n),
onSuccess: f
}), v = (e) => _.isPending && _.variables?.via === e;
function y(e) {
@@ -58422,17 +58435,17 @@ function xke({ 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, w = x?.choices ?? [], T = (g.error ? V(g.error) : "") || (!d && _.error ? V(_.error) : "") || (h.error ? V(h.error) : ""), E = g.isPending || _.isPending, D = d ? "" : fke(x), O = !!T && !!h.error && T === V(h.error), k = h.isPending || w.length > 0;
+ let x = h.data, w = x?.choices ?? [], T = (g.error ? V(g.error) : "") || (!d && _.error ? V(_.error) : "") || (h.error ? V(h.error) : ""), E = g.isPending || _.isPending, D = d ? "" : pke(x), O = !!T && !!h.error && T === V(h.error), k = h.isPending || w.length > 0;
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, C.jsx)(tP, { children: /* @__PURE__ */ (0, C.jsx)(_ge, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, C.jsx)(iP, { children: /* @__PURE__ */ (0, C.jsx)(_ge, { className: "size-6" }) }),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(Ej, {
+ children: [/* @__PURE__ */ (0, C.jsx)(kj, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: d ? "框出头像那一块" : "更换头像"
@@ -58443,7 +58456,7 @@ function xke({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: d ? pke(d.choice) : uke(n, x)
+ children: d ? mke(d.choice) : dke(n, x)
}),
D ? /* @__PURE__ */ (0, C.jsx)(q, {
tone: "neutral",
@@ -58464,14 +58477,14 @@ function xke({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, C.jsx)(EP, {
+ /* @__PURE__ */ (0, C.jsx)(ej, {
icon: xk,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), d ? /* @__PURE__ */ (0, C.jsx)(wke, {
+ }), d ? /* @__PURE__ */ (0, C.jsx)(Tke, {
kind: e,
entityId: t,
choice: d.choice,
@@ -58490,7 +58503,7 @@ function xke({ 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: _ke }, (e, t) => /* @__PURE__ */ (0, C.jsxs)("span", {
+ children: h.isPending ? Array.from({ length: vke }, (e, t) => /* @__PURE__ */ (0, C.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",
@@ -58503,7 +58516,7 @@ function xke({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: gke(n),
+ title: _ke(n),
...J(E),
onClick: () => {
E || (n.crop ? f({ choice: n }) : _.mutate({
@@ -58513,8 +58526,8 @@ function xke({ 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, C.jsx)(Ske, {
- src: UV(e, t, n.ref, WV(n, n.ref)),
+ /* @__PURE__ */ (0, C.jsx)(Cke, {
+ src: WV(e, t, n.ref, GV(n, n.ref)),
choice: n
}),
/* @__PURE__ */ (0, C.jsx)("span", {
@@ -58529,7 +58542,7 @@ function xke({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
children: "在用"
})
}) : null,
- JV(n) ? /* @__PURE__ */ (0, C.jsx)("span", {
+ YV(n) ? /* @__PURE__ */ (0, C.jsx)("span", {
className: "absolute top-1 right-1",
children: /* @__PURE__ */ (0, C.jsxs)(rA, {
variant: "caption",
@@ -58553,7 +58566,7 @@ function xke({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
children: [/* @__PURE__ */ (0, C.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, C.jsx)($N, {
+ children: /* @__PURE__ */ (0, C.jsx)(nP, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
@@ -58588,7 +58601,7 @@ function xke({ 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, C.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, C.jsx)($N, {
+ children: /* @__PURE__ */ (0, C.jsx)(nP, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
@@ -58611,7 +58624,7 @@ function xke({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function Ske({ src: e, choice: t }) {
+function Cke({ src: e, choice: t }) {
let n = (0, S.useRef)(null), [r, i] = (0, S.useState)(!1), [a, o] = (0, S.useState)(!1);
(0, S.useEffect)(() => {
n.current?.complete && n.current.naturalWidth && i(!0);
@@ -58619,7 +58632,7 @@ function Ske({ src: e, choice: t }) {
let s = {
width: t.width,
height: t.height
- }, c = cke(t) ? ZOe(KV(t, s, vke), s) : null, l = r || a ? !0 : void 0;
+ }, c = lke(t) ? QOe(qV(t, s, yke), s) : null, l = r || a ? !0 : void 0;
return /* @__PURE__ */ (0, C.jsxs)("span", {
"data-choice-lost": a || void 0,
className: "relative block w-full aspect-avatar-choice overflow-hidden",
@@ -58645,7 +58658,7 @@ function Ske({ src: e, choice: t }) {
})]
});
}
-function Cke(e) {
+function wke(e) {
let [t, n] = (0, S.useState)("");
return (0, S.useEffect)(() => {
if (!e) return;
@@ -58653,23 +58666,23 @@ function Cke(e) {
return n(t), () => URL.revokeObjectURL(t);
}, [e]), t;
}
-function wke({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confirm: o }) {
- let s = n.bases.length ? n.bases : [n.ref], [c, l] = (0, S.useState)(s[0]), [u, d] = (0, S.useState)(null), [f, p] = (0, S.useState)(null), m = WV(n, c), h = Cke(r), g = r ? h : UV(e, t, c, m), _ = AP();
+function Tke({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confirm: o }) {
+ let s = n.bases.length ? n.bases : [n.ref], [c, l] = (0, S.useState)(s[0]), [u, d] = (0, S.useState)(null), [f, p] = (0, S.useState)(null), m = GV(n, c), h = wke(r), g = r ? h : WV(e, t, c, m), _ = jP();
function v(e) {
l(e), d(null), p(null);
}
- let y = f && u ? XOe(f, u) : null;
+ let y = f && u ? ZOe(f, u) : null;
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("div", {
ref: _,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: [g ? /* @__PURE__ */ (0, C.jsx)(RV, {
+ children: [g ? /* @__PURE__ */ (0, C.jsx)(zV, {
src: g,
aspect: 1,
box: f,
size: u,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- d(e), jV(e) && p(c === n.ref ? KV(n, e, 1) : MV(e, 1));
+ d(e), MV(e) && p(c === n.ref ? qV(n, e, 1) : NV(e, 1));
},
onBox: p
}) : null, s.length > 1 ? /* @__PURE__ */ (0, C.jsx)("div", {
@@ -58683,7 +58696,7 @@ function wke({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confi
"data-crop-base": !0,
onClick: () => v(e),
className: "cursor-pointer rounded-lg px-2 py-1 text-caption-1-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-checked:bg-background-tertiary-default aria-checked:text-text-primary",
- children: hke(e)
+ children: gke(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, C.jsxs)("div", {
@@ -58732,7 +58745,7 @@ function wke({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confi
}
//#endregion
//#region src/react/components/source-avatar.tsx
-function YV({ code: e, person: t, detail: n = !1 }) {
+function XV({ code: e, person: t, detail: n = !1 }) {
let r = (0, S.useRef)(null), [i, a] = (0, S.useState)(n || typeof IntersectionObserver > "u");
(0, S.useEffect)(() => {
if (!r.current || i) return;
@@ -58766,8 +58779,8 @@ function YV({ code: e, person: t, detail: n = !1 }) {
}
//#endregion
//#region src/react/feed-new/feed-new-row.tsx
-function XV({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
- let a = (0, S.useContext)(IP), o = (0, S.useRef)(null), [s, c] = (0, S.useState)([]), l = e?.items.length ? e.html : "";
+function ZV({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
+ let a = (0, S.useContext)(LP), o = (0, S.useRef)(null), [s, c] = (0, S.useState)([]), l = e?.items.length ? e.html : "";
(0, S.useLayoutEffect)(() => {
t.removeAttribute("aria-busy"), t.hidden = !l, e && i?.(!!l);
}, [
@@ -58799,7 +58812,7 @@ function XV({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
u(e);
},
dangerouslySetInnerHTML: { __html: l }
- }), s.map((e, t) => (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(YV, {
+ }), s.map((e, t) => (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(XV, {
code: e.dataset.code,
person: {
name: e.dataset.name,
@@ -58809,12 +58822,12 @@ function XV({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
}
//#endregion
//#region src/react/entity-hero/glyph.tsx
-var Tke = {
+var Eke = {
"text-aa": 1.435,
"mark-javdb": 326 / 111
};
-function ZV({ name: e }) {
- let t = Tke[e];
+function QV({ name: e }) {
+ let t = Eke[e];
return /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24",
"aria-hidden": "true",
@@ -58824,20 +58837,20 @@ function ZV({ name: e }) {
}
//#endregion
//#region src/react/entity-hero/hero-pop.tsx
-function QV(e, t) {
+function $V(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 $V = (e) => !!e?.isConnected && e.matches(":popover-open");
-function eH(e, t, n, r) {
+var eH = (e) => !!e?.isConnected && e.matches(":popover-open");
+function tH(e, t, n, r) {
let i = (0, S.useRef)(r);
i.current = r, (0, S.useEffect)(() => {
if (!e) return;
let r = () => {
- t.current && $V(n.current) ? QV(t.current, n.current) : i.current();
+ t.current && eH(n.current) ? $V(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -58851,17 +58864,17 @@ function eH(e, t, n, r) {
n
]);
}
-function tH({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
+function nH({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
let o = (0, S.useRef)(null), s = (0, S.useRef)(null), [c, l] = (0, S.useState)(!1), u = (0, S.useRef)(!1), d = (0, S.useRef)(0), f = () => {
- clearTimeout(d.current), u.current = !1, $V(s.current) && s.current.hidePopover(), l(!1);
+ clearTimeout(d.current), u.current = !1, eH(s.current) && s.current.hidePopover(), l(!1);
}, p = () => {
- clearTimeout(d.current), s.current && o.current && !$V(s.current) && (s.current.showPopover(), QV(o.current, s.current), l(!0));
+ clearTimeout(d.current), s.current && o.current && !eH(s.current) && (s.current.showPopover(), $V(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 eH(c, o, s, f), (0, S.useEffect)(() => {
+ return tH(c, o, s, f), (0, S.useEffect)(() => {
if (!c) return;
let e = (e) => {
let t = e.target;
@@ -58887,7 +58900,7 @@ function tH({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && $V(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && eH(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, C.jsxs)("div", {
@@ -58905,16 +58918,16 @@ function tH({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function Eke({ following: e, busy: t, onToggle: n, tip: r }) {
+function Dke({ following: e, busy: t, onToggle: n, tip: r }) {
let i = (0, S.useRef)(null), a = (0, S.useRef)(null), o = (0, S.useRef)(null), [s, c] = (0, S.useState)(!1), l = (0, S.useRef)(!1), u = () => {
- $V(o.current) && o.current.hidePopover(), c(!1);
+ eH(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- !l.current && o.current && i.current && !$V(o.current) && (o.current.showPopover(), QV(i.current, o.current), c(!0));
+ !l.current && o.current && i.current && !eH(o.current) && (o.current.showPopover(), $V(i.current, o.current), c(!0));
}, f = () => {
l.current = !1, u();
};
- return eH(s, i, o, () => c(!1)), (0, S.useEffect)(() => {
- i.current && $V(o.current) && QV(i.current, o.current);
+ return tH(s, i, o, () => c(!1)), (0, S.useEffect)(() => {
+ i.current && eH(o.current) && $V(i.current, o.current);
}, [r]), /* @__PURE__ */ (0, C.jsxs)("label", {
ref: i,
"data-entry-feed": "",
@@ -58923,7 +58936,7 @@ function Eke({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, C.jsx)(ZV, { name: "rss" }),
+ /* @__PURE__ */ (0, C.jsx)(QV, { name: "rss" }),
/* @__PURE__ */ (0, C.jsx)("input", {
ref: a,
type: "checkbox",
@@ -58958,29 +58971,29 @@ function Eke({ following: e, busy: t, onToggle: n, tip: r }) {
}
//#endregion
//#region src/react/entity-hero/name-picker.tsx
-function Dke({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function Oke({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let [i, a] = (0, S.useState)(!1), o = (0, S.useRef)(null);
return (0, S.useEffect)(() => {
o.current?.setAttribute("title", "名字与别名");
- }, []), /* @__PURE__ */ (0, C.jsxs)(Zve, {
+ }, []), /* @__PURE__ */ (0, C.jsxs)(Qve, {
isOpen: i,
onOpenChange: a,
- children: [/* @__PURE__ */ (0, C.jsx)(wj, {
+ children: [/* @__PURE__ */ (0, C.jsx)(Dj, {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, C.jsx)(ZV, { name: "chevron-down" })
- }), /* @__PURE__ */ (0, C.jsx)(GM, {
+ children: /* @__PURE__ */ (0, C.jsx)(QV, { name: "chevron-down" })
+ }), /* @__PURE__ */ (0, C.jsx)(JM, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
- className: bP,
+ className: CP,
"data-namepick-menu": "",
- children: /* @__PURE__ */ (0, C.jsxs)($ve, {
+ children: /* @__PURE__ */ (0, C.jsxs)(eye, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
- /* @__PURE__ */ (0, C.jsx)($M, {
+ /* @__PURE__ */ (0, C.jsx)(nN, {
selectionMode: "single",
disallowEmptySelection: !0,
selectedKeys: [e],
@@ -58988,31 +59001,31 @@ function Dke({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let r = [...t][0];
r && r !== e && n(r);
},
- children: t.map((e) => /* @__PURE__ */ (0, C.jsxs)(tN, {
+ children: t.map((e) => /* @__PURE__ */ (0, C.jsxs)(iN, {
id: e,
textValue: e,
"data-namepick-name": e,
- children: [/* @__PURE__ */ (0, C.jsx)(ZV, { name: "check" }), /* @__PURE__ */ (0, C.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, C.jsx)(QV, { name: "check" }), /* @__PURE__ */ (0, C.jsx)("span", { children: e })]
}, e))
}),
- /* @__PURE__ */ (0, C.jsx)(Pve, { "data-namepick-rule": "" }),
- /* @__PURE__ */ (0, C.jsx)($M, { children: /* @__PURE__ */ (0, C.jsxs)(tN, {
+ /* @__PURE__ */ (0, C.jsx)(Fve, { "data-namepick-rule": "" }),
+ /* @__PURE__ */ (0, C.jsx)(nN, { children: /* @__PURE__ */ (0, C.jsxs)(iN, {
id: "alias",
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, C.jsx)(ZV, { name: "plus" }), /* @__PURE__ */ (0, C.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, C.jsx)(QV, { name: "plus" }), /* @__PURE__ */ (0, C.jsx)("span", { children: "添加别名…" })]
}) })
]
})
})]
});
}
-var Oke = (e) => e === "studio" || e === "agency", nH = (e) => e === "performer" || e === "creator", kke = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
-function Ake(e) {
+var kke = (e) => e === "studio" || e === "agency", rH = (e) => e === "performer" || e === "creator", Ake = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
+function jke(e) {
return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);
}
-function rH(e) {
+function iH(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0,
@@ -59024,13 +59037,13 @@ function rH(e) {
linked: !1
} : null;
}
-function iH(e, t) {
+function aH(e, t) {
let n = Jt(e, "performer"), r = Kt(t);
return r && [e.label, n].map(Kt).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
-var aH = (e) => ({ site: Ht(e) });
-function jke(e, t) {
- let n = rH(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+var oH = (e) => ({ site: Ht(e) });
+function Mke(e, t) {
+ let n = iH(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
title: e.label,
@@ -59040,7 +59053,7 @@ function jke(e, t) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${iH(e, n)} · ${t}`
+ title: `${aH(e, n)} · ${t}`
};
}
let r = e.url || "";
@@ -59048,11 +59061,11 @@ function jke(e, t) {
type: "private",
label: e.label || e.hostname || "已记录"
};
- if (nH(t) && e.link_kind !== "social") return {
+ if (rH(t) && e.link_kind !== "social") return {
type: "icon",
url: r,
- title: iH(e, n),
- mark: aH(e)
+ title: aH(e, n),
+ mark: oH(e)
};
if (e.link_kind === "social") {
let t = Gt(r);
@@ -59060,7 +59073,7 @@ function jke(e, t) {
type: "icon",
url: r,
title: e.label || "",
- mark: t ? { brand: t } : aH(e)
+ mark: t ? { brand: t } : oH(e)
};
}
return {
@@ -59068,12 +59081,12 @@ function jke(e, t) {
url: r,
title: e.label || "",
text: Jt(e, t, i),
- mark: aH(e)
+ mark: oH(e)
};
});
- return [...r, ...Mke(a)];
+ return [...r, ...Nke(a)];
}
-function Mke(e) {
+function Nke(e) {
let t = e.filter((e) => e.type === "private");
return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {
type: "private",
@@ -59081,8 +59094,8 @@ function Mke(e) {
sources: t.map((e) => e.label)
}];
}
-var oH = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function Nke(e) {
+var sH = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+function Pke(e) {
return [
[
"legal_name",
@@ -59138,7 +59151,7 @@ function Nke(e) {
}]
}] : []);
}
-function Pke(e) {
+function Fke(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -59195,14 +59208,14 @@ function Pke(e) {
tags: e.tags
}), t;
}
-function sH(e, t = 4) {
+function cH(e, t = 4) {
let n = e.length > t + 1 ? t : e.length;
return {
shown: e.slice(0, n),
rest: e.length - n
};
}
-function Fke(e) {
+function Ike(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 ? {
@@ -59213,7 +59226,7 @@ function Fke(e) {
}
//#endregion
//#region src/react/entity-hero/entity-hero-page.tsx
-function Ike(e) {
+function Lke(e) {
return ra({
id: e.id,
hasImage: e.has_image,
@@ -59224,8 +59237,8 @@ function Ike(e) {
standIn: e.avatar_stand_in
});
}
-function Lke({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
- let s = nH(e), c = Oke(e), l = s ? Pke(n.profile) : c ? Nke(n.company_profile) : [], u = jke(n, e), d = oH(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, S.useRef)(null), m = (0, S.useRef)(null);
+function Rke({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
+ let s = rH(e), c = kke(e), l = s ? Fke(n.profile) : c ? Pke(n.company_profile) : [], u = Mke(n, e), d = sH(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, S.useRef)(null), m = (0, S.useRef)(null);
return (0, S.useEffect)(() => {
o.wireScroller(p.current);
}, [o, u.length]), (0, S.useEffect)(() => {
@@ -59238,7 +59251,7 @@ function Lke({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
"data-entity-portrait-wrap": "",
- children: [/* @__PURE__ */ (0, C.jsx)(Rke, {
+ children: [/* @__PURE__ */ (0, C.jsx)(zke, {
kind: e,
name: t,
helpers: o,
@@ -59246,7 +59259,7 @@ function Lke({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
company: c
}), s && n.id ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-avatar-picker": "",
- children: /* @__PURE__ */ (0, C.jsx)(bke, {
+ children: /* @__PURE__ */ (0, C.jsx)(xke, {
kind: e,
entityId: Number(n.id),
name: n.canonical_name || t,
@@ -59261,13 +59274,13 @@ function Lke({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
"data-entity-title": "",
children: [
/* @__PURE__ */ (0, C.jsx)("h2", { children: n.canonical_name }),
- e === "tag" ? null : /* @__PURE__ */ (0, C.jsx)(Dke, {
+ e === "tag" ? null : /* @__PURE__ */ (0, C.jsx)(Oke, {
current: n.canonical_name,
- choices: Ake(n),
+ choices: jke(n),
onChoose: a.chooseName,
onAddAlias: a.addAlias
}),
- n.id ? /* @__PURE__ */ (0, C.jsx)(hP, { item: {
+ n.id ? /* @__PURE__ */ (0, C.jsx)(vP, { item: {
entity_id: Number(n.id),
kind: e,
name: n.canonical_name || t,
@@ -59275,7 +59288,7 @@ function Lke({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
} }) : null
]
}),
- /* @__PURE__ */ (0, C.jsx)(zke, {
+ /* @__PURE__ */ (0, C.jsx)(Bke, {
kind: e,
entity: n,
actions: a
@@ -59296,14 +59309,14 @@ function Lke({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
u.length ? /* @__PURE__ */ (0, C.jsx)("div", {
ref: p,
"data-entity-links": "",
- children: u.map((e, t) => /* @__PURE__ */ (0, C.jsx)(Gke, { link: e }, t))
+ children: u.map((e, t) => /* @__PURE__ */ (0, C.jsx)(Kke, { link: e }, t))
}) : null,
- d.length || n.feed ? /* @__PURE__ */ (0, C.jsx)(Kke, {
+ d.length || n.feed ? /* @__PURE__ */ (0, C.jsx)(qke, {
entity: n,
actions: a,
helpers: o
}) : null,
- n.follow?.held.length ? /* @__PURE__ */ (0, C.jsx)(Hke, {
+ n.follow?.held.length ? /* @__PURE__ */ (0, C.jsx)(Uke, {
follow: n.follow,
entity: n,
actions: a
@@ -59312,11 +59325,11 @@ function Lke({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}),
l.length ? /* @__PURE__ */ (0, C.jsx)("dl", {
"data-entity-facts": "",
- children: l.map((e) => /* @__PURE__ */ (0, C.jsx)(Uke, {
+ children: l.map((e) => /* @__PURE__ */ (0, C.jsx)(Wke, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, C.jsx)(Wke, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, C.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, C.jsx)(Gke, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, C.jsxs)("span", {
"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,
children: [t ? " " : "", e.text]
}, t))
@@ -59335,7 +59348,7 @@ function Lke({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
onClick: () => a.openEntity("performer", e.k),
children: [/* @__PURE__ */ (0, C.jsx)("span", {
"data-hero-ring": "",
- dangerouslySetInnerHTML: { __html: `<span>${B(nn(e.k))}</span>${Ike(e)}` }
+ dangerouslySetInnerHTML: { __html: `<span>${B(nn(e.k))}</span>${Lke(e)}` }
}), /* @__PURE__ */ (0, C.jsx)("span", {
"data-hero-costar-name": "",
children: e.k
@@ -59343,14 +59356,14 @@ function Lke({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}, e.k))
})
}) : null]
- }), i ? (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(XV, {
+ }), i ? (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(ZV, {
feedNew: r,
host: i,
wire: o.wireFeedRow,
act: (e, t) => a.feedAction(e, t)
}), i) : null] });
}
-function Rke({ kind: e, name: t, helpers: n, people: r, company: i }) {
+function zke({ kind: e, name: t, helpers: n, people: r, company: i }) {
let [a] = (0, S.useState)(() => `${n.portraitImg()}<span>${B(nn(t))}</span>`);
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-entity-portrait": r ? "round" : "square",
@@ -59359,8 +59372,8 @@ function Rke({ kind: e, name: t, helpers: n, people: r, company: i }) {
dangerouslySetInnerHTML: { __html: a }
});
}
-function zke({ kind: e, entity: t, actions: n }) {
- let r = rH(t), i = (e, t) => (r) => {
+function Bke({ kind: e, entity: t, actions: n }) {
+ let r = iH(t), i = (e, t) => (r) => {
r.preventDefault(), n.openEntity(e, t);
}, a = r ? r.linked ? /* @__PURE__ */ (0, C.jsx)("a", {
href: Lt("agency", r.name, r.id),
@@ -59369,41 +59382,41 @@ function zke({ kind: e, entity: t, actions: n }) {
children: r.name
}) : r.name : null, o = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });
if (e === "performer" || e === "creator") {
- let e = Fke(t.name_groups);
+ let e = Ike(t.name_groups);
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- /* @__PURE__ */ (0, C.jsx)(cH, { entity: t }),
+ /* @__PURE__ */ (0, C.jsx)(lH, { entity: t }),
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, C.jsx)(ZV, { name: "film" }), /* @__PURE__ */ (0, C.jsx)("span", { children: o })]
+ children: [/* @__PURE__ */ (0, C.jsx)(QV, { name: "film" }), /* @__PURE__ */ (0, C.jsx)("span", { children: o })]
}),
- t.follow?.key ? /* @__PURE__ */ (0, C.jsx)(Vke, {
+ t.follow?.key ? /* @__PURE__ */ (0, C.jsx)(Hke, {
follow: t.follow,
actions: n
}) : null,
a ? /* @__PURE__ */ (0, C.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, C.jsx)(ZV, { name: "briefcase" }), /* @__PURE__ */ (0, C.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, C.jsx)(QV, { name: "briefcase" }), /* @__PURE__ */ (0, C.jsx)("span", { children: a })]
}) : null,
e ? /* @__PURE__ */ (0, C.jsxs)("div", {
"data-meta-item": "names",
children: [
- /* @__PURE__ */ (0, C.jsx)(ZV, { name: "id-card" }),
+ /* @__PURE__ */ (0, C.jsx)(QV, { name: "id-card" }),
/* @__PURE__ */ (0, C.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: e.names.map((e, t) => /* @__PURE__ */ (0, C.jsx)("span", { children: e }, t))
}),
- e.rest > 0 ? /* @__PURE__ */ (0, C.jsx)(tH, {
+ e.rest > 0 ? /* @__PURE__ */ (0, C.jsx)(nH, {
id: "entityAliasPop",
hook: "alias",
rest: e.rest,
label: `另外 ${e.rest.toLocaleString()} 个别名`,
heading: `${e.total.toLocaleString()} 个别名`,
- children: /* @__PURE__ */ (0, C.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, C.jsx)(lH, {
+ children: /* @__PURE__ */ (0, C.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, C.jsx)(uH, {
label: e.label,
names: e.names
}, t)) })
@@ -59425,61 +59438,61 @@ function zke({ kind: e, entity: t, actions: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- e === "creator" ? /* @__PURE__ */ (0, C.jsx)(cH, { entity: t }) : null,
+ e === "creator" ? /* @__PURE__ */ (0, C.jsx)(lH, { entity: t }) : null,
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, C.jsx)(ZV, { name: "film" }), /* @__PURE__ */ (0, C.jsxs)("span", { children: [o, c] })]
+ children: [/* @__PURE__ */ (0, C.jsx)(QV, { name: "film" }), /* @__PURE__ */ (0, C.jsxs)("span", { children: [o, c] })]
}),
a ? /* @__PURE__ */ (0, C.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, C.jsx)(ZV, { name: "briefcase" }), /* @__PURE__ */ (0, C.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, C.jsx)(QV, { name: "briefcase" }), /* @__PURE__ */ (0, C.jsx)("span", { children: a })]
}) : null,
l ? /* @__PURE__ */ (0, C.jsxs)("span", {
"data-meta-item": "",
title: "片商",
- children: [/* @__PURE__ */ (0, C.jsx)(ZV, { name: "clapperboard" }), /* @__PURE__ */ (0, C.jsx)("a", {
+ children: [/* @__PURE__ */ (0, C.jsx)(QV, { name: "clapperboard" }), /* @__PURE__ */ (0, C.jsx)("a", {
href: Lt("studio", l.name, l.id),
"data-studio-link": l.name,
onClick: i("studio", l.name),
children: l.name
})]
}) : null,
- s.length ? /* @__PURE__ */ (0, C.jsx)(Bke, { aliases: s }) : null
+ s.length ? /* @__PURE__ */ (0, C.jsx)(Vke, { aliases: s }) : null
]
});
}
-function Bke({ aliases: e }) {
- let { shown: t, rest: n } = sH(e, 3);
+function Vke({ aliases: e }) {
+ let { shown: t, rest: n } = cH(e, 3);
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-meta-item": "names",
"data-company-names": "",
children: [
- /* @__PURE__ */ (0, C.jsx)(ZV, { name: "id-card" }),
+ /* @__PURE__ */ (0, C.jsx)(QV, { name: "id-card" }),
/* @__PURE__ */ (0, C.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: t.map((e, t) => /* @__PURE__ */ (0, C.jsx)("span", { children: e }, t))
}),
- n ? /* @__PURE__ */ (0, C.jsx)(tH, {
+ n ? /* @__PURE__ */ (0, C.jsx)(nH, {
id: "entityAliasPop",
hook: "alias",
rest: n,
label: `另外 ${n.toLocaleString()} 个别名`,
heading: `${e.length.toLocaleString()} 个别名`,
- children: /* @__PURE__ */ (0, C.jsx)("dl", { children: /* @__PURE__ */ (0, C.jsx)(lH, { names: e.map((e) => ({ name: e })) }) })
+ children: /* @__PURE__ */ (0, C.jsx)("dl", { children: /* @__PURE__ */ (0, C.jsx)(uH, { names: e.map((e) => ({ name: e })) }) })
}) : null
]
});
}
-function Vke({ follow: e, actions: t }) {
+function Hke({ follow: e, actions: t }) {
let n = e.providers.join(" · ");
return /* @__PURE__ */ (0, C.jsxs)("span", {
"data-meta-item": "",
"data-entity-follow": "",
title: n ? `关注 · ${n}` : "关注",
- children: [/* @__PURE__ */ (0, C.jsx)(ZV, { name: "rss" }), /* @__PURE__ */ (0, C.jsxs)("a", {
+ children: [/* @__PURE__ */ (0, C.jsx)(QV, { name: "rss" }), /* @__PURE__ */ (0, C.jsxs)("a", {
href: "?media=online",
onClick: (n) => {
n.preventDefault(), t.openFollowAuthor(e.key);
@@ -59488,7 +59501,7 @@ function Vke({ follow: e, actions: t }) {
})]
});
}
-function Hke({ follow: e, entity: t, actions: n }) {
+function Uke({ follow: e, entity: t, actions: n }) {
let [r, i] = (0, S.useState)(""), a = async (e, t) => {
if (!r) {
i(e);
@@ -59522,14 +59535,14 @@ function Hke({ follow: e, entity: t, actions: n }) {
}, e.key))
});
}
-function cH({ entity: e }) {
+function lH({ entity: e }) {
return e.identity_labels?.length ? /* @__PURE__ */ (0, C.jsxs)("span", {
"data-meta-item": "classification",
"data-identity-classification": "",
- children: [/* @__PURE__ */ (0, C.jsx)(ZV, { name: "user-round" }), /* @__PURE__ */ (0, C.jsx)("span", { children: e.identity_labels.join(" · ") })]
+ children: [/* @__PURE__ */ (0, C.jsx)(QV, { name: "user-round" }), /* @__PURE__ */ (0, C.jsx)("span", { children: e.identity_labels.join(" · ") })]
}) : null;
}
-function lH({ label: e, names: t }) {
+function uH({ label: e, names: t }) {
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [e ? /* @__PURE__ */ (0, C.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, C.jsx)("dd", {
"data-wide": e ? void 0 : "",
children: t.map((e, t) => /* @__PURE__ */ (0, C.jsxs)("span", {
@@ -59538,20 +59551,20 @@ function lH({ label: e, names: t }) {
}, t))
})] });
}
-function Uke({ glyph: e, label: t, clip: n, children: r }) {
- return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("dt", { children: [/* @__PURE__ */ (0, C.jsx)(ZV, { name: e }), t] }), /* @__PURE__ */ (0, C.jsx)("dd", {
+function Wke({ glyph: e, label: t, clip: n, children: r }) {
+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("dt", { children: [/* @__PURE__ */ (0, C.jsx)(QV, { name: e }), t] }), /* @__PURE__ */ (0, C.jsx)("dd", {
"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,
title: n,
children: r
})] });
}
-function Wke({ tags: e }) {
- let { shown: t, rest: n } = sH(e);
+function Gke({ tags: e }) {
+ let { shown: t, rest: n } = cH(e);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, C.jsx)("span", {
"data-fact-tag": "",
title: e,
children: e
- }, e)), n ? /* @__PURE__ */ (0, C.jsx)(tH, {
+ }, e)), n ? /* @__PURE__ */ (0, C.jsx)(nH, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -59567,10 +59580,10 @@ function Wke({ tags: e }) {
})
}) : null] });
}
-function uH({ mark: e }) {
+function dH({ mark: e }) {
if ("brand" in e) return /* @__PURE__ */ (0, C.jsx)("span", {
"data-link-icon": "brand",
- children: /* @__PURE__ */ (0, C.jsx)(ZV, { name: e.brand })
+ children: /* @__PURE__ */ (0, C.jsx)(QV, { name: e.brand })
});
let t = z("globe") + ("site" in e ? `<img src="${B(e.site)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : "");
return /* @__PURE__ */ (0, C.jsx)("span", {
@@ -59578,7 +59591,7 @@ function uH({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function Gke({ link: e }) {
+function Kke({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, C.jsx)("a", {
"data-link": "icon",
@@ -59587,19 +59600,19 @@ function Gke({ link: e }) {
rel: "noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, C.jsx)(uH, { mark: e.mark })
+ children: /* @__PURE__ */ (0, C.jsx)(dH, { mark: e.mark })
});
case "gone": return /* @__PURE__ */ (0, C.jsx)("span", {
"data-link": "gone",
tabIndex: 0,
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, C.jsx)(uH, { mark: { globe: !0 } })
+ children: /* @__PURE__ */ (0, C.jsx)(dH, { mark: { globe: !0 } })
});
case "private": return /* @__PURE__ */ (0, C.jsxs)("span", {
"data-link": "private",
title: e.sources ? e.sources.join("\n") : e.label,
- children: [/* @__PURE__ */ (0, C.jsx)(uH, { mark: { globe: !0 } }), /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [/* @__PURE__ */ (0, C.jsx)(dH, { mark: { globe: !0 } }), /* @__PURE__ */ (0, C.jsx)("span", {
"data-link-label": "",
children: e.sources ? e.label : `来源 · ${e.label}`
})]
@@ -59610,14 +59623,14 @@ function Gke({ link: e }) {
target: "_blank",
rel: "noreferrer",
title: e.title,
- children: [/* @__PURE__ */ (0, C.jsx)(uH, { mark: e.mark }), /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [/* @__PURE__ */ (0, C.jsx)(dH, { mark: e.mark }), /* @__PURE__ */ (0, C.jsx)("span", {
"data-link-label": "",
children: e.text
})]
});
}
}
-function Kke({ entity: e, actions: t, helpers: n }) {
+function qke({ entity: e, actions: t, helpers: n }) {
let [r, i] = (0, S.useState)(!!e.feed?.following), [a, o] = (0, S.useState)(!1), s = (0, S.useRef)(!1), c = async (e) => {
if (s.current) return !1;
s.current = !0, o(!0);
@@ -59635,34 +59648,34 @@ function Kke({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-entry-marks": "",
- children: [oH(e).map((e, t) => /* @__PURE__ */ (0, C.jsxs)("a", {
+ children: [sH(e).map((e, t) => /* @__PURE__ */ (0, C.jsxs)("a", {
"data-entry-mark": "",
href: e.url,
target: "_blank",
rel: "noreferrer",
title: e.label,
"aria-label": e.label,
- children: [e.mark ? /* @__PURE__ */ (0, C.jsx)(ZV, { name: e.mark }) : /* @__PURE__ */ (0, C.jsxs)("span", {
+ children: [e.mark ? /* @__PURE__ */ (0, C.jsx)(QV, { name: e.mark }) : /* @__PURE__ */ (0, C.jsxs)("span", {
"data-missav-mark": "",
children: [/* @__PURE__ */ (0, C.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, C.jsx)("span", { children: "AV" })]
}), e.ordinal ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-entry-ordinal": "",
children: e.ordinal
}) : null]
- }, t)), e.feed ? /* @__PURE__ */ (0, C.jsx)(Eke, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, C.jsx)(Dke, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: kke(r)
+ tip: Ake(r)
}) : null]
});
}
//#endregion
//#region src/react/entity-page/use-entity-online.ts
-var qke = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
-function Jke(e, t, n) {
+var Jke = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
+function Yke(e, t, n) {
let [r, i] = (0, S.useState)(() => ci(e));
r.author !== e && i(ci(e));
let [a, o] = (0, S.useState)({
@@ -59741,7 +59754,7 @@ function Jke(e, t, n) {
onlineMedia: (e) => c(e),
onlineShuffle: () => E({
sort: Gr,
- seed: qke()
+ seed: Jke()
}),
onlineImagesOnly: (e) => n.setImagesOnly(e),
onlineStatus: (e) => E({ status: e }),
@@ -59759,8 +59772,8 @@ function Jke(e, t, n) {
}
//#endregion
//#region src/react/entity-page/entity-page-view.tsx
-function Yke(e) {
- let { kind: t, name: n } = e, r = pt(IB(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {
+function Xke(e) {
+ let { kind: t, name: n } = e, r = pt(LB(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;
@@ -59778,17 +59791,17 @@ function Yke(e) {
s,
o?.kind,
o?.name
- ]), r.isError ? /* @__PURE__ */ (0, C.jsx)(wF, {
+ ]), r.isError ? /* @__PURE__ */ (0, C.jsx)(TF, {
message: V(r.error),
onRetry: () => {
r.refetch();
}
- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, C.jsx)(Qke, {
+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, C.jsx)($ke, {
...e,
entity: r.data
});
}
-function dH(e) {
+function fH(e) {
let [t, n] = (0, S.useState)({
key: e,
n: 1
@@ -59800,22 +59813,22 @@ function dH(e) {
};
return n(r), r.n;
}
-var Xke = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
-function Zke(e, t) {
+var Zke = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
+function Qke(e, t) {
return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;
}
-function Qke(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 = ht(LB(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 || RB(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {
+function $ke(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 = ht(RB(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 || zB(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
- } : kB, [y, b] = (0, S.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [w, T] = (0, S.useState)(x);
+ } : AB, [y, b] = (0, S.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [w, T] = (0, S.useState)(x);
w !== x && (T(x), b("videos"));
- let E = l && y === "people" && u.length ? "people" : v.media, D = Jke(g, E === "online", {
+ let E = l && y === "people" && u.length ? "people" : v.media, D = Yke(g, E === "online", {
photoLayout: e.photoLayout,
photoLayouts: e.photoLayouts,
imagesOnly: e.followImagesOnly,
setImagesOnly: e.follow.actions.setImagesOnly
- }), O = E === "photos" || E === "online" && D.media === "images", [k, A] = (0, S.useState)(0), j = FB(e), M = pt(j), N = dH(JSON.stringify([j.queryKey, k])), [P] = (0, S.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));
+ }), O = E === "photos" || E === "online" && D.media === "images", [k, A] = (0, S.useState)(0), j = IB(e), M = pt(j), N = fH(JSON.stringify([j.queryKey, k])), [P] = (0, S.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));
(0, S.useLayoutEffect)(() => {
s.javContext(P);
}, [s, P]);
@@ -59825,26 +59838,26 @@ function Qke(e) {
}, [e.layout, P]), I = {
jav: e.jav,
seed: e.seed
- }, ee = (0, S.useCallback)((e, r, a) => PB(t, n, i, I, e, r, a), [N]), [L, te] = (0, S.useState)({}), ne = v.set, re = L[ne] || "", ie = ht({
- ...LB(t, n, ne, re),
+ }, ee = (0, S.useCallback)((e, r, a) => FB(t, n, i, I, e, r, a), [N]), [L, te] = (0, S.useState)({}), ne = v.set, re = L[ne] || "", ie = ht({
+ ...RB(t, n, ne, re),
enabled: E === "photos"
- }), ae = ie.data?.pages[0], oe = dH(JSON.stringify(jB(t, n, ne, re))), se = (0, S.useMemo)(() => {
+ }), ae = ie.data?.pages[0], oe = fH(JSON.stringify(MB(t, n, ne, re))), se = (0, S.useMemo)(() => {
let e = ie.data?.pages;
if (!e?.[0] || e[0].error) return null;
let t = e[0];
return {
revision: oe,
- codeSets: t.id ? [] : RB(t),
+ codeSets: t.id ? [] : zB(t),
items: e.flatMap((e) => e.items || []),
total: t.total || 0,
hasMore: !!e[e.length - 1]?.has_more
};
}, [ie.data, oe]), ce = ie.refetch, le = ie.fetchNextPage, ue = pt({
- ...EB(d, o.feedRowHtml),
+ ...DB(d, o.feedRowHtml),
enabled: !!d
}), de = (0, S.useRef)(e.feedRevision);
(0, S.useEffect)(() => {
- de.current !== e.feedRevision && (de.current = e.feedRevision, W.invalidateQueries({ queryKey: TB(d) }));
+ de.current !== e.feedRevision && (de.current = e.feedRevision, W.invalidateQueries({ queryKey: EB(d) }));
}, [d, e.feedRevision]);
let fe = !!M.data;
(0, S.useEffect)(() => {
@@ -59863,7 +59876,7 @@ function Qke(e) {
pe.current = !1;
}, []);
let me = (0, S.useCallback)(async () => {
- await W.invalidateQueries({ queryKey: ["entity-route"] }), await W.invalidateQueries({ queryKey: AB(t, n) }), await W.invalidateQueries({ queryKey: [
+ await W.invalidateQueries({ queryKey: ["entity-route"] }), await W.invalidateQueries({ queryKey: jB(t, n) }), await W.invalidateQueries({ queryKey: [
"entity-items",
t,
n
@@ -59897,7 +59910,7 @@ function Qke(e) {
enabled: e
})
}),
- onSuccess: (e, r) => W.setQueryData(AB(t, n), (e) => e && {
+ onSuccess: (e, r) => W.setQueryData(jB(t, n), (e) => e && {
...e,
feed: {
...e.feed,
@@ -59951,10 +59964,10 @@ function Qke(e) {
let e = await Ot("/api/feeds/check").catch(() => null);
if (!e || e.status !== "running") break;
}
- pe.current && await W.invalidateQueries({ queryKey: TB(d) });
+ pe.current && await W.invalidateQueries({ queryKey: EB(d) });
})();
},
- feedAction: DB,
+ feedAction: OB,
avatarPicked: () => {
s.avatarChanged(), me().then(() => {
pe.current && A((e) => e + 1);
@@ -60002,19 +60015,19 @@ function Qke(e) {
(e !== E || v.set) && (b(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {
media: e,
set: 0
- } : kB));
+ } : AB));
},
setState: (e) => s.route({
...i,
state: e
- }, kB),
+ }, AB),
toggleTag: s.toggleTag,
clearFilter: s.clearFilter,
clearAll: s.clearAll,
setSort: s.setSort,
reshuffle: async () => {
if (E !== "photos") {
- let r = s.reshuffleVideos(), a = FB({
+ let r = s.reshuffleVideos(), a = IB({
kind: t,
name: n,
filters: {
@@ -60028,7 +60041,7 @@ function Qke(e) {
await W.fetchQuery(a).catch(() => null);
return;
}
- let r = Xke(), a = await W.fetchInfiniteQuery(LB(t, n, ne, r)).catch(() => null);
+ let r = Zke(), a = await W.fetchInfiniteQuery(RB(t, n, ne, r)).catch(() => null);
pe.current && a?.pages[0] && !a.pages[0].error && te((e) => ({
...e,
[ne]: r
@@ -60063,7 +60076,7 @@ function Qke(e) {
k: e.k,
label: gc(e.k),
n: e.n,
- selected: IDe(i.tag, e.k)
+ selected: LDe(i.tag, e.k)
})), we = [
u.length,
!_,
@@ -60098,14 +60111,14 @@ function Qke(e) {
creator: "",
studio: "",
owner: ""
- }, kB), Me = "", Ne = !1;
+ }, AB), Me = "", Ne = !1;
if (E === "people") Me = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;
else if (E === "online") Ne = D.busy, Me = `在线 · ${(D.total ?? r.follow?.n ?? 0).toLocaleString()} 项更新`;
else if (E === "videos") {
Ne = !M.data;
- let e = MB(i.tag).length;
+ let e = NB(i.tag).length;
Me = `视频 · ${(M.data?.work_total ?? M.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;
- } else ae && !ae.error ? Me = Ee ? `${ae.title} · ${(ae.total || 0).toLocaleString()} 张` : Zke(ae, RB(ae).length) : Ne = ie.isPending;
+ } else ae && !ae.error ? Me = Ee ? `${ae.title} · ${(ae.total || 0).toLocaleString()} 张` : Qke(ae, zB(ae).length) : Ne = ie.isPending;
let Pe = (0, S.useMemo)(() => ({
...e.card.actions,
loadMorePhotos: async () => {
@@ -60122,7 +60135,7 @@ function Qke(e) {
u
]);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)(Lke, {
+ /* @__PURE__ */ (0, C.jsx)(Rke, {
kind: t,
name: n,
entity: r,
@@ -60132,7 +60145,7 @@ function Qke(e) {
actions: ye,
helpers: be
}, k),
- (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(mxe, {
+ (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(hxe, {
kind: t,
name: n,
view: E,
@@ -60149,7 +60162,7 @@ function Qke(e) {
actions: xe,
helpers: Se
}), c.filter),
- (0, gt.createPortal)(E === "online" ? /* @__PURE__ */ (0, C.jsx)(UOe, {
+ (0, gt.createPortal)(E === "online" ? /* @__PURE__ */ (0, C.jsx)(WOe, {
view: D.view,
media: D.media,
result: D.result,
@@ -60162,15 +60175,15 @@ function Qke(e) {
helpers: e.follow.helpers,
actions: e.follow.actions,
canLoadMore: e.canLoadMore
- }, D.key) : E === "videos" && M.isError ? /* @__PURE__ */ (0, C.jsx)(wF, {
+ }, D.key) : E === "videos" && M.isError ? /* @__PURE__ */ (0, C.jsx)(TF, {
message: V(M.error),
onRetry: () => {
M.refetch();
}
- }) : Ae ? /* @__PURE__ */ (0, C.jsx)($ke, {
+ }) : Ae ? /* @__PURE__ */ (0, C.jsx)(eAe, {
filtered: ke,
onShowAll: je
- }) : /* @__PURE__ */ (0, C.jsx)(gOe, {
+ }) : /* @__PURE__ */ (0, C.jsx)(_Oe, {
kind: t,
name: n,
view: E,
@@ -60201,9 +60214,9 @@ function Qke(e) {
}), c.body)
] });
}
-function $ke({ filtered: e, onShowAll: t }) {
+function eAe({ filtered: e, onShowAll: t }) {
return e ? /* @__PURE__ */ (0, C.jsx)(sA, {
- icon: rP("search"),
+ icon: oP("search"),
title: "没有符合条件的视频",
actions: /* @__PURE__ */ (0, C.jsx)(K, {
variant: "secondary",
@@ -60212,14 +60225,14 @@ function $ke({ filtered: e, onShowAll: t }) {
}),
children: "清除筛选后查看名下全部视频。"
}) : /* @__PURE__ */ (0, C.jsx)(sA, {
- icon: rP("film"),
+ icon: oP("film"),
title: "还没有视频",
children: "署上这个名字的视频入库后会显示在这里。"
});
}
//#endregion
//#region src/react/components/collection-summary.tsx
-function fH({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function pH({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
return /* @__PURE__ */ (0, C.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
@@ -60246,29 +60259,29 @@ function fH({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var eAe = rP("play"), tAe = rP("file-stack"), nAe = oA({
+var tAe = oP("play"), nAe = oP("file-stack"), rAe = oA({
padding: "none",
radius: "surface",
className: "mb-6 overflow-hidden dark:bg-background-primary-default"
-}), pH = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", mH = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", hH = "font-mono text-caption-1-regular leading-5 text-text-secondary", gH = () => {
+}), mH = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", hH = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", gH = "font-mono text-caption-1-regular leading-5 text-text-secondary", _H = () => {
W.invalidateQueries({
- queryKey: xR,
+ queryKey: SR,
exact: !0
}), W.invalidateQueries({
- queryKey: Pz,
+ queryKey: Fz,
exact: !0
});
};
-function rAe(e) {
+function iAe(e) {
return e.identical ? /* @__PURE__ */ (0, C.jsx)("span", {
- className: `${mH} text-(--keep)`,
+ className: `${hH} text-(--keep)`,
children: "sha1 一致"
}) : /* @__PURE__ */ (0, C.jsx)("span", {
- className: `${mH} text-text-secondary`,
+ className: `${hH} text-text-secondary`,
children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"
});
}
-function iAe({ file: e, prefix: t, openItem: n }) {
+function aAe({ file: e, prefix: t, openItem: n }) {
let r = () => n(e.id), i = an[e.location] || e.location || e.drive;
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4",
@@ -60278,7 +60291,7 @@ function iAe({ file: e, prefix: t, openItem: n }) {
onClick: r,
"aria-label": `预览 ${e.name}`,
className: "relative row-span-2 inline-grid aspect-16/10 w-full cursor-pointer place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default text-text-secondary",
- children: [/* @__PURE__ */ (0, C.jsx)(eAe, {
+ children: [/* @__PURE__ */ (0, C.jsx)(tAe, {
"aria-hidden": !0,
className: "size-6"
}), /* @__PURE__ */ (0, C.jsx)("img", {
@@ -60298,20 +60311,20 @@ function iAe({ file: e, prefix: t, openItem: n }) {
"data-middle-truncate": !0,
"data-middle-truncate-within": !0,
className: "min-w-0 shrink cursor-pointer truncate text-left text-body-regular hover:text-text-secondary",
- children: cTe(e.name, t)
+ children: lTe(e.name, t)
}), e.is_largest || e.is_longest ? /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex flex-none gap-1",
children: [e.is_largest ? /* @__PURE__ */ (0, C.jsx)("i", {
- className: `${pH} not-italic bg-background-primary-hover text-text-secondary`,
+ className: `${mH} not-italic bg-background-primary-hover text-text-secondary`,
children: "最大"
}) : null, e.is_longest ? /* @__PURE__ */ (0, C.jsx)("i", {
- className: `${pH} not-italic bg-(--keep)/22 text-(--keep)`,
+ className: `${mH} not-italic bg-(--keep)/22 text-(--keep)`,
children: "最长"
}) : null]
}) : null]
}),
/* @__PURE__ */ (0, C.jsxs)("span", {
- className: `${hH} flex min-w-0 items-center gap-1.5`,
+ className: `${gH} flex min-w-0 items-center gap-1.5`,
children: [/* @__PURE__ */ (0, C.jsx)(kA, { mark: Ya[e.location] || "database" }), /* @__PURE__ */ (0, C.jsx)("span", {
title: i,
className: "min-w-0 truncate",
@@ -60319,37 +60332,37 @@ function iAe({ file: e, prefix: t, openItem: n }) {
})]
}),
/* @__PURE__ */ (0, C.jsx)("span", {
- className: hH,
+ className: gH,
children: Qt(e.size || 0)
}),
/* @__PURE__ */ (0, C.jsx)("span", {
- className: hH,
+ className: gH,
children: Xt(e.duration)
}),
/* @__PURE__ */ (0, C.jsx)("span", {
- className: `${hH} col-start-2 -col-end-1 min-w-0 pt-0.5 wrap-anywhere max-duplicate-narrow:col-span-full`,
+ className: `${gH} col-start-2 -col-end-1 min-w-0 pt-0.5 wrap-anywhere max-duplicate-narrow:col-span-full`,
children: e.path ?? ""
})
]
});
}
-function aAe({ openItem: e, toast: t, failure: n }) {
+function oAe({ openItem: e, toast: t, failure: n }) {
let r = pt({
- queryKey: xR,
- queryFn: ({ signal: e }) => CR(e)
+ queryKey: SR,
+ queryFn: ({ signal: e }) => wR(e)
}), i = pt({
queryKey: xn,
queryFn: ({ signal: e }) => Sn(e)
}), [a, o] = (0, S.useState)(""), s = mt({
- mutationFn: (e) => ER(e, "dispose"),
+ mutationFn: (e) => DR(e, "dispose"),
onSuccess: (e, r) => {
- gH(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {
+ _H(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {
try {
- await ER(r, "restore");
+ await DR(r, "restore");
} catch (e) {
n("撤销移入回收站", e);
} finally {
- gH();
+ _H();
}
} });
},
@@ -60363,12 +60376,12 @@ function aAe({ openItem: e, toast: t, failure: n }) {
children: r.error ? V(r.error) : "未取得重复文件列表,请刷新页面重试。"
})
});
- let l = c.groups ?? [], u = iTe(i.data), d = ({ groups: e, keep: t, key: n }) => {
+ let l = c.groups ?? [], u = aTe(i.data), d = ({ groups: e, keep: t, key: n }) => {
if (s.isPending) return;
- let r = fTe(e, t);
+ let r = pTe(e, t);
r.length && Es({
title: "移入回收站",
- body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${wR[t] ?? wR.largest}。文件共 ${Qt(pTe(e, r))},记录可从回收站还原。`,
+ body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${TR[t] ?? TR.largest}。文件共 ${Qt(mTe(e, r))},记录可从回收站还原。`,
confirmLabel: "移入回收站",
onConfirm: () => (o(n), s.mutateAsync(r))
});
@@ -60376,15 +60389,15 @@ function aAe({ openItem: e, toast: t, failure: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "mx-auto w-full max-w-board pb-10.5",
children: [
- /* @__PURE__ */ (0, C.jsx)(fH, {
+ /* @__PURE__ */ (0, C.jsx)(pH, {
label: "重复内容",
figure: `${Number(c.total || 0).toLocaleString()} 组`,
detail: `${Number(c.files || 0).toLocaleString()} 个文件 · 可回收 ${Qt(c.reclaimable)}`
}),
- l.length ? /* @__PURE__ */ (0, C.jsxs)(hve, {
+ l.length ? /* @__PURE__ */ (0, C.jsxs)(gve, {
title: "批量保留",
children: [
- /* @__PURE__ */ (0, C.jsx)(nj, {
+ /* @__PURE__ */ (0, C.jsx)(aj, {
busy: a === "all:largest",
onPress: () => d({
groups: l,
@@ -60393,7 +60406,7 @@ function aAe({ openItem: e, toast: t, failure: n }) {
}),
children: "全部保留最大"
}),
- /* @__PURE__ */ (0, C.jsx)(nj, {
+ /* @__PURE__ */ (0, C.jsx)(aj, {
busy: a === "all:longest",
onPress: () => d({
groups: l,
@@ -60402,7 +60415,7 @@ function aAe({ openItem: e, toast: t, failure: n }) {
}),
children: "全部保留最长"
}),
- dTe(l, u).map((e) => /* @__PURE__ */ (0, C.jsx)(nj, {
+ fTe(l, u).map((e) => /* @__PURE__ */ (0, C.jsx)(aj, {
busy: a === `all:${e}`,
onPress: () => d({
groups: l,
@@ -60425,10 +60438,10 @@ function aAe({ openItem: e, toast: t, failure: n }) {
})
}) : null,
l.length ? l.map((t, n) => {
- let r = [t], i = sTe(t.files.map((e) => e.name)), a = (e) => `${n}:${e}`;
+ let r = [t], i = cTe(t.files.map((e) => e.name)), a = (e) => `${n}:${e}`;
return /* @__PURE__ */ (0, C.jsxs)("section", {
"aria-label": t.code,
- className: nAe,
+ className: rAe,
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default",
children: [
@@ -60440,9 +60453,9 @@ function aAe({ openItem: e, toast: t, failure: n }) {
className: "font-mono text-caption-1-regular leading-5 text-text-primary",
children: `${Number(t.count || 0).toLocaleString()} 个 · 可回收 ${Qt(t.reclaimable)}`
}),
- rAe(t),
+ iAe(t),
t.cross_drive ? /* @__PURE__ */ (0, C.jsx)("span", {
- className: `${mH} text-text-secondary`,
+ className: `${hH} text-text-secondary`,
children: `跨盘 ${t.drives.join(" ")}`
}) : null,
/* @__PURE__ */ (0, C.jsxs)("span", {
@@ -60470,7 +60483,7 @@ function aAe({ openItem: e, toast: t, failure: n }) {
}),
children: "留最长"
}),
- TR(t.files, u).map((e) => /* @__PURE__ */ (0, C.jsx)(K, {
+ ER(t.files, u).map((e) => /* @__PURE__ */ (0, C.jsx)(K, {
variant: "secondary",
size: "small",
...f(a(e)),
@@ -60498,14 +60511,14 @@ function aAe({ openItem: e, toast: t, failure: n }) {
]
})
]
- }), /* @__PURE__ */ (0, C.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, C.jsx)(iAe, {
+ }), /* @__PURE__ */ (0, C.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, C.jsx)(aAe, {
file: t,
prefix: i,
openItem: e
}, t.id)) })]
}, `${t.code}-${n}`);
}) : /* @__PURE__ */ (0, C.jsx)(sA, {
- icon: tAe,
+ icon: nAe,
title: "没有找到重复文件",
children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"
}),
@@ -60518,27 +60531,27 @@ function aAe({ openItem: e, toast: t, failure: n }) {
}
//#endregion
//#region src/react/diagnostics/diagnostics.ts
-var _H = ["diagnostics"], vH = (e) => H("/api/diagnostics", e);
-async function oAe(e) {
+var vH = ["diagnostics"], yH = (e) => H("/api/diagnostics", e);
+async function sAe(e) {
await W.fetchQuery({
- queryKey: _H,
- queryFn: () => vH(e),
+ queryKey: vH,
+ queryFn: () => yH(e),
staleTime: 1e4
});
}
//#endregion
//#region src/react/diagnostics/diagnostics-page.tsx
-var yH = {
+var bH = {
ok: "正常",
warning: "需检查",
failed: "需处理",
unknown: "未取得",
disabled: "未配置"
-}, sAe = {
+}, cAe = {
"/settings/network": "打开网络与访问",
"/settings/maintenance": "打开维护与更新",
"/tasks": "查看任务"
-}, cAe = [
+}, lAe = [
["媒体库与挂载", ["media_mounts", "data_root"]],
["数据库与迁移", ["database", "schema"]],
["工具", ["ffmpeg"]],
@@ -60549,8 +60562,8 @@ var yH = {
"version"
]],
["后台任务", ["tasks"]]
-], bH = (e) => new Date(e).toLocaleString();
-function xH() {
+], xH = (e) => new Date(e).toLocaleString();
+function SH() {
let e = fA();
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col items-end gap-2",
@@ -60575,7 +60588,7 @@ function xH() {
}) : null]
});
}
-function SH({ name: e, check: t, navigate: n, configure: r }) {
+function CH({ name: e, check: t, navigate: n, configure: r }) {
let i = e === "security" || e === "port" ? "网络与访问" : "媒体库与入库";
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-2 border-b border-separator-border py-4 pr-3 last:border-b-0",
@@ -60587,7 +60600,7 @@ function SH({ name: e, check: t, navigate: n, configure: r }) {
children: t.label
}), /* @__PURE__ */ (0, C.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: yH[t.status] ?? "未取得"
+ children: bH[t.status] ?? "未取得"
})]
}),
/* @__PURE__ */ (0, C.jsx)("p", {
@@ -60602,13 +60615,13 @@ function SH({ name: e, check: t, navigate: n, configure: r }) {
size: "small",
variant: "secondary",
onClick: () => t.target === "/settings/library" ? r(i) : n(t.target),
- children: t.target === "/settings/library" ? `打开${i}` : sAe[t.target] ?? "打开相关页面"
+ children: t.target === "/settings/library" ? `打开${i}` : cAe[t.target] ?? "打开相关页面"
}) }) : null
]
});
}
-function lAe({ group: e, openItem: t, receipt: n }) {
- let r = fA(), i = AP(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");
+function uAe({ group: e, openItem: t, receipt: n }) {
+ let r = fA(), i = jP(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");
return /* @__PURE__ */ (0, C.jsx)(OA, {
summary: `${e.label} · ${e.count === null ? "未取得" : `${e.count.toLocaleString()} 项`}`,
children: e.count === null ? /* @__PURE__ */ (0, C.jsx)(q, {
@@ -60657,10 +60670,10 @@ function lAe({ group: e, openItem: t, receipt: n }) {
})
});
}
-function uAe(e) {
+function dAe(e) {
let t = pt({
- queryKey: _H,
- queryFn: ({ signal: e }) => vH(e),
+ queryKey: vH,
+ queryFn: ({ signal: e }) => yH(e),
staleTime: 1e4
}), n = fA(), [r, i] = (0, S.useState)(""), a = () => void n.run("refresh", async () => {
let e = await t.refetch();
@@ -60669,7 +60682,7 @@ function uAe(e) {
}, () => i(""), (e) => i(V(e))), o = t.data;
if (!o) return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "ui-configpage",
- children: [/* @__PURE__ */ (0, C.jsx)(xH, {}), /* @__PURE__ */ (0, C.jsx)(q, {
+ children: [/* @__PURE__ */ (0, C.jsx)(SH, {}), /* @__PURE__ */ (0, C.jsx)(q, {
tone: "error",
title: "诊断读取失败",
action: /* @__PURE__ */ (0, C.jsx)(K, {
@@ -60695,7 +60708,7 @@ function uAe(e) {
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap justify-end gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(xH, {}), /* @__PURE__ */ (0, C.jsx)(K, {
+ children: [/* @__PURE__ */ (0, C.jsx)(SH, {}), /* @__PURE__ */ (0, C.jsx)(K, {
variant: "secondary",
onClick: a,
...J(n.busy === "refresh"),
@@ -60708,7 +60721,7 @@ function uAe(e) {
}) : null,
s.length ? /* @__PURE__ */ (0, C.jsx)(vA, {
title: `需要关注 · ${s.length} 项`,
- children: s.map(([t, n]) => /* @__PURE__ */ (0, C.jsx)(SH, {
+ children: s.map(([t, n]) => /* @__PURE__ */ (0, C.jsx)(CH, {
name: t,
check: n,
...e
@@ -60718,8 +60731,8 @@ function uAe(e) {
title: "库健康",
children: /* @__PURE__ */ (0, C.jsxs)(bA, { children: [o.library.issue_at ? /* @__PURE__ */ (0, C.jsxs)("p", {
className: "text-body-2-regular text-text-secondary",
- children: ["处理记录 · ", bH(o.library.issue_at)]
- }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, C.jsx)(lAe, {
+ children: ["处理记录 · ", xH(o.library.issue_at)]
+ }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, C.jsx)(uAe, {
group: n,
...e
}, t))] })
@@ -60728,12 +60741,12 @@ function uAe(e) {
title: "系统检查",
children: /* @__PURE__ */ (0, C.jsx)(bA, { children: /* @__PURE__ */ (0, C.jsx)(OA, {
summary: `其他检查 · ${c.length} 项`,
- children: cAe.map(([t, n]) => {
+ children: lAe.map(([t, n]) => {
let r = c.filter(([e]) => n.some((t) => t === e));
return r.length ? /* @__PURE__ */ (0, C.jsxs)("div", { children: [/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-medium text-text-secondary",
children: t
- }), r.map(([t, n]) => /* @__PURE__ */ (0, C.jsx)(SH, {
+ }), r.map(([t, n]) => /* @__PURE__ */ (0, C.jsx)(CH, {
name: t,
check: n,
...e
@@ -60751,7 +60764,7 @@ function uAe(e) {
children: [
e.label,
" · ",
- yH[e.status] ?? "未取得"
+ bH[e.status] ?? "未取得"
]
}),
/* @__PURE__ */ (0, C.jsx)(qA, {
@@ -60761,15 +60774,15 @@ function uAe(e) {
/* @__PURE__ */ (0, C.jsxs)(EA, { children: [
/* @__PURE__ */ (0, C.jsx)(DA, {
term: "上次解析成功",
- children: e.last_success_at ? bH(e.last_success_at) : "未取得"
+ children: e.last_success_at ? xH(e.last_success_at) : "未取得"
}),
e.last_check_at ? /* @__PURE__ */ (0, C.jsxs)(DA, {
term: "上次检查",
- children: [bH(e.last_check_at), e.elapsed_s !== void 0 && e.elapsed_s !== null ? ` · ${e.elapsed_s.toFixed(2)} 秒` : ""]
+ children: [xH(e.last_check_at), e.elapsed_s !== void 0 && e.elapsed_s !== null ? ` · ${e.elapsed_s.toFixed(2)} 秒` : ""]
}) : null,
/* @__PURE__ */ (0, C.jsx)(DA, {
term: "冷却截止",
- children: e.cooldown_until ? bH(e.cooldown_until) : "未在冷却"
+ children: e.cooldown_until ? xH(e.cooldown_until) : "未在冷却"
})
] })
]
@@ -60785,21 +60798,21 @@ function uAe(e) {
}
//#endregion
//#region src/react/feed-new/feed-new-page.tsx
-function dAe({ host: e, revision: t, helpers: n, actions: r }) {
- let i = pt(EB(null, n.feedRowHtml)), a = (0, S.useRef)(t);
+function fAe({ host: e, revision: t, helpers: n, actions: r }) {
+ let i = pt(DB(null, n.feedRowHtml)), a = (0, S.useRef)(t);
return (0, S.useEffect)(() => {
- a.current !== t && (a.current = t, W.invalidateQueries({ queryKey: TB(null) }));
- }, [t]), (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(XV, {
+ a.current !== t && (a.current = t, W.invalidateQueries({ queryKey: EB(null) }));
+ }, [t]), (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(ZV, {
feedNew: i.data ?? null,
host: e,
wire: n.wireFeedRow,
- act: DB,
+ act: OB,
settled: r.settled
}), e);
}
//#endregion
//#region src/react/follow-manage/source-view.tsx
-function CH({ provider: e, label: t }) {
+function wH({ provider: e, label: t }) {
let n = zr(e), [r, i] = (0, S.useState)(!1);
return !n || r ? t ? /* @__PURE__ */ (0, C.jsx)(C.Fragment, { children: t }) : null : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("img", {
src: n,
@@ -60811,7 +60824,7 @@ function CH({ provider: e, label: t }) {
className: "size-3.5 shrink-0 rounded-sm object-contain"
}), t ? /* @__PURE__ */ (0, C.jsx)($b, { children: t }) : null] });
}
-function wH({ group: e, name: t }) {
+function TH({ group: e, name: t }) {
let { src: n, fallback: r } = ir(e), [i, a] = (0, S.useState)(0), o = [n, r].filter(Boolean)[i];
return o ? /* @__PURE__ */ (0, C.jsx)("img", {
src: o,
@@ -60828,7 +60841,7 @@ function wH({ group: e, name: t }) {
children: rr(t)
});
}
-function TH({ source: e }) {
+function EH({ source: e }) {
let t = Yn(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
return /* @__PURE__ */ (0, C.jsx)(rA, {
variant: "caption",
@@ -60836,7 +60849,7 @@ function TH({ source: e }) {
children: Jn(e)
});
}
-function EH({ source: e }) {
+function DH({ source: e }) {
return /* @__PURE__ */ (0, C.jsx)("a", {
href: e.url,
target: "_blank",
@@ -60846,7 +60859,7 @@ function EH({ source: e }) {
children: e.label
});
}
-function DH({ text: e, prefix: t = "", tone: n = "error" }) {
+function OH({ text: e, prefix: t = "", tone: n = "error" }) {
let r = (0, S.useRef)(null), [i, a] = (0, S.useState)(!1), [o, s] = (0, S.useState)(!1), c = Zn(e);
(0, S.useLayoutEffect)(() => {
let e = r.current;
@@ -60877,11 +60890,11 @@ function DH({ text: e, prefix: t = "", tone: n = "error" }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var OH = eA(xP, SP, "text-body-2-medium"), fAe = "粘贴来源链接,或输入创作者名、id…", pAe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", mAe = "识别中…", hAe = "站内没有查到来源", kH = (e, t) => `${e}:${t.url}`;
-function gAe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
+var kH = eA(wP, TP, "text-body-2-medium"), pAe = "粘贴来源链接,或输入创作者名、id…", mAe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", hAe = "识别中…", gAe = "站内没有查到来源", AH = (e, t) => `${e}:${t.url}`;
+function _Ae({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
return (0, S.useEffect)(() => {
t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });
- }, [t, r]), /* @__PURE__ */ (0, C.jsxs)(GM, {
+ }, [t, r]), /* @__PURE__ */ (0, C.jsxs)(JM, {
ref: t,
triggerRef: e,
isOpen: !0,
@@ -60893,7 +60906,7 @@ function gAe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: eA(bP, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ className: eA(CP, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
children: [i && !n.length ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "px-2 py-1.5",
children: /* @__PURE__ */ (0, C.jsx)(cA, { label: "正在查找建议" })
@@ -60903,7 +60916,7 @@ function gAe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
}), /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"aria-current": t === r ? "true" : void 0,
- className: t === r ? eA(OH, "bg-background-secondary-default") : OH,
+ className: t === r ? eA(kH, "bg-background-secondary-default") : kH,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
@@ -60923,7 +60936,7 @@ function gAe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
})] }, `${e.group}-${e.value}`))]
});
}
-function _Ae({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
+function vAe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
let i = (0, S.useRef)(null), [a, o] = (0, S.useState)(!1), s = (e.providers || []).filter((e) => e.followable), c = s.filter((e) => !t.has(e.provider_label)).length, l = c === s.length ? "全部来源" : `${c}/${s.length} 个来源`, u = (e, r) => {
let i = new Set(t);
r ? i.delete(e) : i.add(e), n(i);
@@ -60937,14 +60950,14 @@ function _Ae({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
"aria-label": l,
onClick: () => o(!0),
children: l
- }), /* @__PURE__ */ (0, C.jsx)(GM, {
+ }), /* @__PURE__ */ (0, C.jsx)(JM, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom end",
offset: 4,
- className: bP,
- children: /* @__PURE__ */ (0, C.jsxs)(iN, {
+ className: CP,
+ children: /* @__PURE__ */ (0, C.jsxs)(sN, {
"aria-label": "来源筛选",
className: "flex w-64 flex-col gap-1 outline-none",
children: [s.length ? /* @__PURE__ */ (0, C.jsxs)("div", {
@@ -60964,12 +60977,12 @@ function _Ae({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(kP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(AP, {
isSelected: !t.has(e.provider_label),
onChange: (t) => u(e.provider_label, t),
children: /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, C.jsx)(CH, { provider: e.provider }), e.provider_label]
+ children: [/* @__PURE__ */ (0, C.jsx)(wH, { provider: e.provider }), e.provider_label]
})
}), n ? /* @__PURE__ */ (0, C.jsx)(K, {
variant: "ghost",
@@ -60985,7 +60998,7 @@ function _Ae({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
})
})] });
}
-function vAe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
+function yAe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
if (e.kind === "error") return /* @__PURE__ */ (0, C.jsx)(q, {
tone: "error",
title: e.line,
@@ -61004,15 +61017,15 @@ function vAe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
children: e.line
}),
a.length ? a.map((e) => {
- let n = kH(t, e);
- return /* @__PURE__ */ (0, C.jsx)(kP, {
+ let n = AH(t, e);
+ return /* @__PURE__ */ (0, C.jsx)(AP, {
isSelected: !e.known && !r.has(n),
isDisabled: e.known,
onChange: (e) => i(n, e),
children: /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-1.5",
children: [
- /* @__PURE__ */ (0, C.jsx)(CH, { provider: e.provider }),
+ /* @__PURE__ */ (0, C.jsx)(wH, { provider: e.provider }),
/* @__PURE__ */ (0, C.jsx)("b", {
className: "text-body-medium",
children: e.provider_label
@@ -61028,7 +61041,7 @@ function vAe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
]
})
}, n);
- }) : /* @__PURE__ */ (0, C.jsx)(SA, { children: hAe }),
+ }) : /* @__PURE__ */ (0, C.jsx)(SA, { children: gAe }),
(e.external_searches || []).map((e) => /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, C.jsx)("small", {
@@ -61043,7 +61056,7 @@ function vAe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
]
});
}
-function yAe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
+function bAe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
let [a, o] = (0, S.useState)(""), [s, c] = (0, S.useState)(!1), [l, u] = (0, S.useState)(""), [d, f] = (0, S.useState)(""), [p, m] = (0, S.useState)(!1), [h, g] = (0, S.useState)(null), [_, v] = (0, S.useState)(-1), y = (0, S.useRef)(null), b = (0, S.useRef)(null), [x, w] = (0, S.useState)(/* @__PURE__ */ new Set()), [T, E] = (0, S.useState)(/* @__PURE__ */ new Set()), [D, O] = (0, S.useState)(""), [k, A] = (0, S.useState)(0);
(0, S.useEffect)(() => {
let e = a.trim();
@@ -61063,7 +61076,7 @@ function yAe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
matched: t.matched || "",
n: t.n || 0,
group: e.label
- }))), [j.data]), { job: N, running: P, outcome: F, start: I, dismiss: ee } = oB({
+ }))), [j.data]), { job: N, running: P, outcome: F, start: I, dismiss: ee } = sB({
queryKey: oee,
queryFn: ({ signal: e }) => mr(e),
start: (e) => _r([e]),
@@ -61095,7 +61108,7 @@ function yAe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
}, ae = F?.results || [], oe = ae.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !x.has(e.provider_label || "")).map((e) => ({
candidate: e,
- key: kH(t, e)
+ key: AH(t, e)
})).filter((e) => !T.has(e.key))), se = mt({
mutationFn: async (e) => {
let t = [], n = [];
@@ -61145,9 +61158,9 @@ function yAe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
let t = e.relatedTarget;
!e.currentTarget.contains(t) && !b.current?.contains(t) && m(!1);
},
- children: [/* @__PURE__ */ (0, C.jsx)($N, {
+ children: [/* @__PURE__ */ (0, C.jsx)(nP, {
"aria-label": "来源链接、名字或 id",
- placeholder: fAe,
+ placeholder: pAe,
value: a,
leadingIcon: jk,
enterKeyHint: "search",
@@ -61160,7 +61173,7 @@ function yAe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
c(!1), o(e.currentTarget.value);
},
onKeyDown: ie
- }), ne ? /* @__PURE__ */ (0, C.jsx)(gAe, {
+ }), ne ? /* @__PURE__ */ (0, C.jsx)(_Ae, {
field: y,
menu: b,
options: M,
@@ -61170,7 +61183,7 @@ function yAe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onClose: re
}) : null]
}),
- /* @__PURE__ */ (0, C.jsx)(_Ae, {
+ /* @__PURE__ */ (0, C.jsx)(vAe, {
credentials: t,
hidden: x,
onHidden: w,
@@ -61188,9 +61201,9 @@ function yAe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
/* @__PURE__ */ (0, C.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
- children: [P || I.isPending ? /* @__PURE__ */ (0, C.jsx)(nB, {
+ children: [P || I.isPending ? /* @__PURE__ */ (0, C.jsx)(rB, {
embedded: !0,
- label: N?.message || (N?.total ? `查找中:${N.checked || 0}/${N.total}` : le ? pAe : mAe),
+ label: N?.message || (N?.total ? `查找中:${N.checked || 0}/${N.total}` : le ? mAe : hAe),
value: N?.checked,
total: N?.total
}) : null, D ? /* @__PURE__ */ (0, C.jsx)(q, {
@@ -61203,7 +61216,7 @@ function yAe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
className: "flex flex-col gap-3",
children: [
/* @__PURE__ */ (0, C.jsx)(wA, { children: "查找结果" }),
- ae.map((e, t) => /* @__PURE__ */ (0, C.jsx)(vAe, {
+ ae.map((e, t) => /* @__PURE__ */ (0, C.jsx)(yAe, {
row: e,
at: t,
hidden: x,
@@ -61258,22 +61271,22 @@ function yAe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
//#endregion
//#region src/react/follow-manage/alias-manager.tsx
-var bAe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, AH = _L({
- rowSelectionFeature: JL,
- rowSortingFeature: sR,
- rowPaginationFeature: DL,
- sortedRowModel: lR(),
- paginatedRowModel: cR()
-}), xAe = AH, SAe = (e) => e.alias;
-function CAe(e, t, n) {
+var xAe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, jH = vL({
+ rowSelectionFeature: YL,
+ rowSortingFeature: cR,
+ rowPaginationFeature: OL,
+ sortedRowModel: uR(),
+ paginatedRowModel: lR()
+}), SAe = jH, CAe = (e) => e.alias;
+function wAe(e, t, n) {
let r = n ? `name:${n}` : "", i = r && e.find((e) => e.author_key === r) || e.find((e) => e.author_name === t || e.entity_name === t);
return i ? e.filter((e) => e.author_key === i.author_key) : [];
}
-function jH({ sources: e, name: t, canonicalKey: n }) {
+function MH({ sources: e, name: t, canonicalKey: n }) {
return /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(wH, {
- group: CAe(e, t, n),
+ children: [/* @__PURE__ */ (0, C.jsx)(TH, {
+ group: wAe(e, t, n),
name: t
}), /* @__PURE__ */ (0, C.jsx)("b", {
className: "text-body-medium",
@@ -61281,8 +61294,8 @@ function jH({ sources: e, name: t, canonicalKey: n }) {
})]
});
}
-function wAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
- let [a, o] = (0, S.useState)({}), [s, c] = (0, S.useState)({}), l = lB(() => o({})), u = lB(() => c({})), [d, f] = (0, S.useState)([]), [p, m] = (0, S.useState)([]), [h, g] = (0, S.useState)({
+function TAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
+ let [a, o] = (0, S.useState)({}), [s, c] = (0, S.useState)({}), l = uB(() => o({})), u = uB(() => c({})), [d, f] = (0, S.useState)([]), [p, m] = (0, S.useState)([]), [h, g] = (0, S.useState)({
pageIndex: 0,
pageSize: 20
}), [_, v] = (0, S.useState)({
@@ -61344,7 +61357,7 @@ function wAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
});
}, N = (e) => void Es({
title: "移除创作者别名",
- body: bAe(e),
+ body: xAe(e),
confirmLabel: "移除创作者别名",
onConfirm: () => j.mutateAsync(e)
}), P = (0, S.useRef)({
@@ -61364,18 +61377,18 @@ function wAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
remove: N
};
let F = (0, S.useMemo)(() => {
- let e = gL();
+ let e = _L();
return e.columns([
e.display({
id: "select",
- header: (e) => /* @__PURE__ */ (0, C.jsx)(kP, {
+ header: (e) => /* @__PURE__ */ (0, C.jsx)(AP, {
slot: null,
isSelected: e.table.getIsAllRowsSelected(),
isIndeterminate: e.table.getSelectedRowModel().rows.length > 0 && !e.table.getIsAllRowsSelected(),
"aria-label": "全选待合并别名",
onChange: (t) => e.table.toggleAllRowsSelected(t)
}),
- cell: (e) => /* @__PURE__ */ (0, C.jsx)(kP, {
+ cell: (e) => /* @__PURE__ */ (0, C.jsx)(AP, {
slot: null,
isSelected: e.row.getIsSelected(),
"aria-label": `选择别名 ${e.row.original.alias},归入 ${e.row.original.canonical}`,
@@ -61384,7 +61397,7 @@ function wAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}),
e.accessor("canonical", {
header: "规范创作者",
- cell: (e) => /* @__PURE__ */ (0, C.jsx)(jH, {
+ cell: (e) => /* @__PURE__ */ (0, C.jsx)(MH, {
sources: P.current.sources,
name: e.getValue()
})
@@ -61414,18 +61427,18 @@ function wAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
})
]);
}, []), I = (0, S.useMemo)(() => {
- let e = gL();
+ let e = _L();
return e.columns([
e.display({
id: "select",
- header: ({ table: e }) => /* @__PURE__ */ (0, C.jsx)(kP, {
+ header: ({ table: e }) => /* @__PURE__ */ (0, C.jsx)(AP, {
slot: null,
"aria-label": "全选已保存别名",
isSelected: e.getIsAllRowsSelected(),
isIndeterminate: e.getIsSomeRowsSelected(),
onChange: (t) => e.toggleAllRowsSelected(t)
}),
- cell: ({ row: e }) => /* @__PURE__ */ (0, C.jsx)(kP, {
+ cell: ({ row: e }) => /* @__PURE__ */ (0, C.jsx)(AP, {
slot: null,
"aria-label": `选择已保存别名 ${e.original.canonical_name}`,
isSelected: e.getIsSelected(),
@@ -61435,7 +61448,7 @@ function wAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
e.accessor("canonical_name", {
id: "canonical",
header: "规范创作者",
- cell: (e) => /* @__PURE__ */ (0, C.jsx)(jH, {
+ cell: (e) => /* @__PURE__ */ (0, C.jsx)(MH, {
sources: P.current.sources,
name: e.getValue(),
canonicalKey: e.row.original.canonical_key
@@ -61462,11 +61475,11 @@ function wAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
})
})
]);
- }, []), ee = uR({
- features: AH,
+ }, []), ee = dR({
+ features: jH,
data: t,
columns: F,
- getRowId: SAe,
+ getRowId: CAe,
state: {
rowSelection: a,
sorting: d,
@@ -61483,8 +61496,8 @@ function wAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
},
onPaginationChange: g,
enableRowSelection: !0
- }), L = uR({
- features: xAe,
+ }), L = dR({
+ features: SAe,
data: e,
columns: I,
getRowId: (e) => e.canonical_key,
@@ -61520,7 +61533,7 @@ function wAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: [/* @__PURE__ */ (0, C.jsx)(wA, { children: "手动添加别名" }), /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
"aria-label": "规范创作者名",
placeholder: "规范创作者名",
value: T,
@@ -61528,7 +61541,7 @@ function wAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
isDisabled: r,
className: "w-56"
}),
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
"aria-label": "平台别名",
placeholder: "平台别名",
value: D,
@@ -61569,7 +61582,7 @@ function wAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
onClick: () => M(t, !0),
children: `全部合并(${t.length})`
}),
- /* @__PURE__ */ (0, C.jsx)(mR, {
+ /* @__PURE__ */ (0, C.jsx)(hR, {
label: "待合并创作者别名",
sorting: d,
options: [
@@ -61613,9 +61626,9 @@ function wAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: "取消选择"
})]
}),
- /* @__PURE__ */ (0, C.jsx)(fR, {
+ /* @__PURE__ */ (0, C.jsx)(pR, {
follow: !0,
- children: /* @__PURE__ */ (0, C.jsxs)(dR, {
+ children: /* @__PURE__ */ (0, C.jsxs)(fR, {
"aria-label": "待合并创作者别名",
size: "sm",
sortDescriptor: d[0] ? {
@@ -61623,26 +61636,26 @@ function wAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
direction: d[0].desc ? "descending" : "ascending"
} : void 0,
onSortChange: (e) => ee.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),
- children: [/* @__PURE__ */ (0, C.jsx)(kN, { children: ee.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, C.jsx)(AN, {
+ children: [/* @__PURE__ */ (0, C.jsx)(MN, { children: ee.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, C.jsx)(NN, {
id: e.id,
isRowHeader: e.column.id === "alias",
allowsSorting: e.column.getCanSort(),
children: ({ sortDirection: t }) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-0.5",
- children: [wI(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [TI(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": t || void 0,
- children: /* @__PURE__ */ (0, C.jsx)(_P, {})
+ children: /* @__PURE__ */ (0, C.jsx)(bP, {})
}) : null]
})
- }, e.id)) }), /* @__PURE__ */ (0, C.jsx)(MN, { children: ee.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(FN, {
+ }, e.id)) }), /* @__PURE__ */ (0, C.jsx)(FN, { children: ee.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(RN, {
id: e.id,
"data-board-selected": e.getIsSelected() || void 0,
- children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(LN, { children: wI(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(BN, { children: TI(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
}),
- /* @__PURE__ */ (0, C.jsx)(hR, {
+ /* @__PURE__ */ (0, C.jsx)(gR, {
label: "待合并创作者别名",
unit: "组",
total: t.length,
@@ -61662,7 +61675,7 @@ function wAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
className: "mr-auto text-body-2-regular text-text-secondary",
children: `${e.length} 组`
}),
- /* @__PURE__ */ (0, C.jsx)(mR, {
+ /* @__PURE__ */ (0, C.jsx)(hR, {
label: "已保存创作者别名",
sorting: p,
options: [{
@@ -61704,9 +61717,9 @@ function wAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: "取消选择"
})]
}),
- e.length ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(fR, {
+ e.length ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(pR, {
follow: !0,
- children: /* @__PURE__ */ (0, C.jsxs)(dR, {
+ children: /* @__PURE__ */ (0, C.jsxs)(fR, {
"aria-label": "已保存创作者别名",
size: "sm",
sortDescriptor: p[0] ? {
@@ -61714,25 +61727,25 @@ function wAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
direction: p[0].desc ? "descending" : "ascending"
} : void 0,
onSortChange: (e) => L.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),
- children: [/* @__PURE__ */ (0, C.jsx)(kN, { children: L.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, C.jsx)(AN, {
+ children: [/* @__PURE__ */ (0, C.jsx)(MN, { children: L.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, C.jsx)(NN, {
id: e.id,
isRowHeader: e.column.id === "canonical",
allowsSorting: e.column.getCanSort(),
children: ({ sortDirection: t }) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-0.5",
- children: [wI(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [TI(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": t || void 0,
- children: /* @__PURE__ */ (0, C.jsx)(_P, {})
+ children: /* @__PURE__ */ (0, C.jsx)(bP, {})
}) : null]
})
- }, e.id)) }), /* @__PURE__ */ (0, C.jsx)(MN, { children: L.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(FN, {
+ }, e.id)) }), /* @__PURE__ */ (0, C.jsx)(FN, { children: L.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(RN, {
id: e.id,
"data-board-selected": e.getIsSelected() || void 0,
- children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(LN, { children: wI(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(BN, { children: TI(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
- }), /* @__PURE__ */ (0, C.jsx)(hR, {
+ }), /* @__PURE__ */ (0, C.jsx)(gR, {
label: "已保存创作者别名",
unit: "组",
total: e.length,
@@ -61751,7 +61764,7 @@ function wAe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var TAe = tA({
+var EAe = tA({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -61813,8 +61826,8 @@ var TAe = tA({
}
}
});
-function EAe({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = TAe[t];
+function DAe({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = EAe[t];
return /* @__PURE__ */ (0, C.jsx)("span", {
"aria-hidden": !0,
className: eA("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? eA("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"),
@@ -61824,12 +61837,12 @@ function EAe({ state: e, size: t = "md", shape: n = "pill" }) {
})
});
}
-function MH({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, C.jsx)(Sye, {
+function NH({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, C.jsx)(Cye, {
ref: i,
...a,
className: (t) => eA("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, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(EAe, {
+ children: (e) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(DAe, {
state: e,
size: n,
shape: r
@@ -61841,8 +61854,8 @@ function MH({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
}
//#endregion
//#region src/react/components/legacy-avatar.ts
-var NH = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", DAe = "输入女优名,到 JavDB 找她的演员页";
-function OAe(e, t) {
+var PH = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", OAe = "输入女优名,到 JavDB 找她的演员页";
+function kAe(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e.candidates) t.has(r.id) && r.held_by && n.set(r.held_by.id, r.held_by.name);
if (n.size > 1) return {
@@ -61861,10 +61874,10 @@ function OAe(e, t) {
blocked: !1
};
}
-function kAe({ card: e, picked: t, onPick: n }) {
+function AAe({ card: e, picked: t, onPick: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(kP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(AP, {
isSelected: t,
onChange: n,
children: /* @__PURE__ */ (0, C.jsxs)("span", {
@@ -61891,7 +61904,7 @@ function kAe({ card: e, picked: t, onPick: n }) {
})]
});
}
-function AAe({ readOnly: e, toast: t, onAdded: n }) {
+function jAe({ readOnly: e, toast: t, onAdded: n }) {
let [r, i] = (0, S.useState)(""), [a, o] = (0, S.useState)(null), [s, c] = (0, S.useState)(/* @__PURE__ */ new Set()), l = fA(), u = () => {
let t = r.trim();
t && !e && l.run("lookup", (e) => Dr(t, e), (e) => {
@@ -61905,7 +61918,7 @@ function AAe({ readOnly: e, toast: t, onAdded: n }) {
a && l.run("follow", (e) => Or(a.q, [...s], e), (e) => {
t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();
});
- }, m = a ? OAe(a, s) : null;
+ }, m = a ? kAe(a, s) : null;
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: oA({
padding: "none",
@@ -61920,9 +61933,9 @@ function AAe({ readOnly: e, toast: t, onAdded: n }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, C.jsx)("div", {
className: "min-w-64 grow",
- children: /* @__PURE__ */ (0, C.jsx)($N, {
+ children: /* @__PURE__ */ (0, C.jsx)(nP, {
"aria-label": "女优名",
- placeholder: DAe,
+ placeholder: OAe,
value: r,
leadingIcon: jk,
enterKeyHint: "search",
@@ -61947,7 +61960,7 @@ function AAe({ readOnly: e, toast: t, onAdded: n }) {
className: "flex flex-col gap-3",
children: [
/* @__PURE__ */ (0, C.jsx)(wA, { children: "JavDB 上的演员卡" }),
- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, C.jsx)(kAe, {
+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, C.jsx)(AAe, {
card: e,
picked: s.has(e.id),
onPick: (t) => c((n) => {
@@ -61982,13 +61995,13 @@ function AAe({ readOnly: e, toast: t, onAdded: n }) {
}
//#endregion
//#region src/react/follow-manage/feed-sources.tsx
-var jAe = _L({
- rowPaginationFeature: DL,
- rowSelectionFeature: JL,
- rowSortingFeature: sR,
- sortedRowModel: lR(),
- paginatedRowModel: cR()
-}), PH = {
+var MAe = vL({
+ rowPaginationFeature: OL,
+ rowSelectionFeature: YL,
+ rowSortingFeature: cR,
+ sortedRowModel: uR(),
+ paginatedRowModel: lR()
+}), FH = {
select: "选择",
name: "名称",
kind: "类型",
@@ -61998,18 +62011,18 @@ var jAe = _L({
fetched: "上次拉取",
fresh: "上次新增",
actions: "操作"
-}, MAe = /* @__PURE__ */ new Set(["select", "actions"]), FH = () => W.invalidateQueries({
+}, NAe = /* @__PURE__ */ new Set(["select", "actions"]), IH = () => W.invalidateQueries({
queryKey: Vn,
exact: !0
-}), IH = (e) => e.name || e.url;
-function NAe(e) {
+}), LH = (e) => e.name || e.url;
+function PAe(e) {
try {
return new URL(e).hostname.replace(/^www\./, "");
} catch {
return e;
}
}
-function PAe({ source: e }) {
+function FAe({ source: e }) {
return e.last_error ? /* @__PURE__ */ (0, C.jsx)(rA, {
variant: "caption",
color: "rose",
@@ -62024,7 +62037,7 @@ function PAe({ source: e }) {
children: "已暂停"
});
}
-function FAe({ source: e }) {
+function IAe({ source: e }) {
let t = e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
@@ -62033,27 +62046,27 @@ function FAe({ source: e }) {
} : null;
return /* @__PURE__ */ (0, C.jsx)("span", {
"aria-hidden": !0,
- className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary ${NH}`,
- dangerouslySetInnerHTML: { __html: ia(IH(e), t, null, "performer") }
+ className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary ${PH}`,
+ dangerouslySetInnerHTML: { __html: ia(LH(e), t, null, "performer") }
});
}
-var IAe = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
-function LAe(e) {
+var LAe = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
+function RAe(e) {
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();
for (let { entity_id: r } of e) r !== null && (t.has(r) ? n.add(r) : t.add(r));
return n;
}
-function LH(e, t) {
+function RH(e, t) {
let n = e.length === 1 ? e[0] : null;
return Es({
title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,
- body: n ? `将移除订阅源「${IH(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
+ body: n ? `将移除订阅源「${LH(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
confirmLabel: n ? "移除订阅源" : "移除所选订阅源",
danger: !0,
onConfirm: t
});
}
-function RAe({ readOnly: e, toast: t }) {
+function zAe({ readOnly: e, toast: t }) {
let n = pt({
queryKey: Vn,
queryFn: ({ signal: e }) => Cr(e)
@@ -62078,13 +62091,13 @@ function RAe({ readOnly: e, toast: t }) {
},
onSuccess: (e) => {
let n = e.results.filter((e) => !e.ok), i = e.ids.length - n.length;
- if (s(/* @__PURE__ */ new Set()), FH(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
+ if (s(/* @__PURE__ */ new Set()), IH(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
let e = n[0];
r.setError(`${n.length} 条没有写入:${e.ok ? "" : V(e.error)}`);
}
},
onError: (e) => r.setError(V(e))
- }), g = (0, S.useMemo)(() => LAe(a), [a]), _ = (0, S.useRef)({
+ }), g = (0, S.useMemo)(() => RAe(a), [a]), _ = (0, S.useRef)({
readOnly: e,
shared: g,
busy: null,
@@ -62096,34 +62109,34 @@ function RAe({ readOnly: e, toast: t }) {
readOnly: e,
shared: g,
busy: r.busy,
- toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => wr(e.id, t, n), () => void FH()),
- fetch: (e) => void r.run(`check-${e.id}`, (t) => Er(t, [e.id]), () => void FH()),
- remove: (e) => void LH([e], async () => {
- await Tr(e.id), t(`已移除订阅源「${IH(e)}」`), FH();
+ toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => wr(e.id, t, n), () => void IH()),
+ fetch: (e) => void r.run(`check-${e.id}`, (t) => Er(t, [e.id]), () => void IH()),
+ remove: (e) => void RH([e], async () => {
+ await Tr(e.id), t(`已移除订阅源「${LH(e)}」`), IH();
})
};
let v = (0, S.useMemo)(() => {
- let e = gL(), t = (e) => () => PH[e] || e;
+ let e = _L(), t = (e) => () => FH[e] || e;
return e.columns([
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, C.jsx)(kP, {
+ cell: (e) => /* @__PURE__ */ (0, C.jsx)(AP, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
- "aria-label": `选择 ${IH(e.row.original)}`
+ "aria-label": `选择 ${LH(e.row.original)}`
})
}),
- e.accessor(IH, {
+ e.accessor(LH, {
id: "name",
header: t("name"),
cell: (e) => {
- let t = IAe(e.row.original, _.current.shared);
+ let t = LAe(e.row.original, _.current.shared);
return /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",
children: [
- /* @__PURE__ */ (0, C.jsx)(FAe, { source: e.row.original }),
+ /* @__PURE__ */ (0, C.jsx)(IAe, { source: e.row.original }),
e.getValue(),
t ? /* @__PURE__ */ (0, C.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -62151,13 +62164,13 @@ function RAe({ readOnly: e, toast: t }) {
rel: "noreferrer noopener",
title: "打开来源页面",
className: "text-text-primary underline-offset-2 hover:underline",
- children: NAe(e.getValue())
+ children: PAe(e.getValue())
})
}),
e.accessor((e) => e.last_error ? "拉取失败" : e.enabled ? "已启用" : "已暂停", {
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, C.jsx)(PAe, { source: e.row.original })
+ cell: (e) => /* @__PURE__ */ (0, C.jsx)(FAe, { source: e.row.original })
}),
e.accessor((e) => e.interval_minutes, {
id: "interval",
@@ -62189,8 +62202,8 @@ function RAe({ readOnly: e, toast: t }) {
cell: (e) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, C.jsx)(MH, {
- "aria-label": `启用 ${IH(e.row.original)}`,
+ /* @__PURE__ */ (0, C.jsx)(NH, {
+ "aria-label": `启用 ${LH(e.row.original)}`,
isSelected: e.row.original.enabled,
isDisabled: _.current.readOnly,
onChange: (t) => _.current.toggle(e.row.original, t)
@@ -62200,7 +62213,7 @@ function RAe({ readOnly: e, toast: t }) {
size: "xs",
iconOnly: !0,
leadingIcon: Ak,
- "aria-label": `拉取 ${IH(e.row.original)}`,
+ "aria-label": `拉取 ${LH(e.row.original)}`,
disabled: _.current.readOnly,
...J(_.current.busy === `check-${e.row.original.id}`),
onClick: () => _.current.fetch(e.row.original)
@@ -62210,7 +62223,7 @@ function RAe({ readOnly: e, toast: t }) {
size: "xs",
iconOnly: !0,
leadingIcon: wk,
- "aria-label": `移除 ${IH(e.row.original)}`,
+ "aria-label": `移除 ${LH(e.row.original)}`,
disabled: _.current.readOnly,
onClick: () => _.current.remove(e.row.original)
})
@@ -62218,8 +62231,8 @@ function RAe({ readOnly: e, toast: t }) {
})
})
]);
- }, []), y = (0, S.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), b = uR({
- features: jAe,
+ }, []), y = (0, S.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), b = dR({
+ features: MAe,
data: a,
columns: v,
getRowId: (e) => String(e.id),
@@ -62245,16 +62258,16 @@ function RAe({ readOnly: e, toast: t }) {
title: "打不开订阅源",
children: V(n.error)
}) : /* @__PURE__ */ (0, C.jsx)(SA, { children: "正在读订阅源。" });
- let x = () => void r.run("check", (e) => Er(e), () => void FH()), w = (e) => s((t) => {
+ let x = () => void r.run("check", (e) => Er(e), () => void IH()), w = (e) => s((t) => {
let n = new Set(t);
return n.has(e) ? n.delete(e) : n.add(e), n;
}), T = a.filter((e) => o.has(e.id)), E = a.filter((e) => e.last_error);
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, C.jsx)(AAe, {
+ children: [/* @__PURE__ */ (0, C.jsx)(jAe, {
readOnly: e,
toast: t,
- onAdded: () => void FH()
+ onAdded: () => void IH()
}), /* @__PURE__ */ (0, C.jsxs)("section", {
"aria-label": "JAV 订阅列表",
className: oA({
@@ -62279,7 +62292,7 @@ function RAe({ readOnly: e, toast: t }) {
...J(r.busy === "check"),
children: "立即拉取"
}),
- /* @__PURE__ */ (0, C.jsx)(mR, {
+ /* @__PURE__ */ (0, C.jsx)(hR, {
label: "JAV 订阅源",
sorting: f,
onChange: (e) => {
@@ -62295,7 +62308,7 @@ function RAe({ readOnly: e, toast: t }) {
"fresh"
].map((e) => ({
id: e,
- label: PH[e]
+ label: FH[e]
}))
})
]
@@ -62310,7 +62323,7 @@ function RAe({ readOnly: e, toast: t }) {
children: E.map((e) => /* @__PURE__ */ (0, C.jsx)("li", {
className: "min-w-0 truncate",
title: e.last_error || "",
- children: `${IH(e)}:${Zn(e.last_error || "") || "未说明原因"}`
+ children: `${LH(e)}:${Zn(e.last_error || "") || "未说明原因"}`
}, e.id))
}),
children: "这些订阅源这一轮没有取到新条目。"
@@ -62348,7 +62361,7 @@ function RAe({ readOnly: e, toast: t }) {
size: "small",
disabled: e,
...J(h.isPending),
- onClick: () => void LH(T, () => h.mutateAsync({
+ onClick: () => void RH(T, () => h.mutateAsync({
ids: T.map((e) => e.id),
action: "remove"
})),
@@ -62362,10 +62375,10 @@ function RAe({ readOnly: e, toast: t }) {
})
]
}),
- a.length ? /* @__PURE__ */ (0, C.jsx)(fR, {
+ a.length ? /* @__PURE__ */ (0, C.jsx)(pR, {
follow: !0,
onRowClick: (e) => w(Number(e)),
- children: /* @__PURE__ */ (0, C.jsxs)(dR, {
+ children: /* @__PURE__ */ (0, C.jsxs)(fR, {
"aria-label": "JAV 订阅源",
size: "sm",
sortDescriptor: f[0] ? {
@@ -62373,25 +62386,25 @@ function RAe({ readOnly: e, toast: t }) {
direction: f[0].desc ? "descending" : "ascending"
} : void 0,
onSortChange: (e) => b.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),
- children: [/* @__PURE__ */ (0, C.jsx)(kN, { children: b.getHeaderGroups()[0].headers.map((e) => {
- let t = wI(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, C.jsx)(AN, {
+ children: [/* @__PURE__ */ (0, C.jsx)(MN, { children: b.getHeaderGroups()[0].headers.map((e) => {
+ let t = TI(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, C.jsx)(NN, {
id: e.id,
isRowHeader: e.column.id === "name",
allowsSorting: e.column.getCanSort(),
- children: ({ sortDirection: n }) => MAe.has(e.column.id) ? /* @__PURE__ */ (0, C.jsx)($b, { children: t }) : /* @__PURE__ */ (0, C.jsxs)("span", {
+ children: ({ sortDirection: n }) => NAe.has(e.column.id) ? /* @__PURE__ */ (0, C.jsx)($b, { children: t }) : /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-0.5",
children: [t, e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": n || void 0,
- children: /* @__PURE__ */ (0, C.jsx)(_P, {})
+ children: /* @__PURE__ */ (0, C.jsx)(bP, {})
}) : null]
})
}, e.id);
- }) }), /* @__PURE__ */ (0, C.jsx)(MN, { children: b.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(FN, {
+ }) }), /* @__PURE__ */ (0, C.jsx)(FN, { children: b.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(RN, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(LN, { children: wI(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(BN, { children: TI(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
}) : /* @__PURE__ */ (0, C.jsx)(sA, {
@@ -62400,7 +62413,7 @@ function RAe({ readOnly: e, toast: t }) {
shell: "plain",
children: "在上面按女优名添加,或在人物页点「订阅新作」。"
}),
- a.length ? /* @__PURE__ */ (0, C.jsx)(hR, {
+ a.length ? /* @__PURE__ */ (0, C.jsx)(gR, {
label: "JAV 订阅",
total: m.total,
unit: "个订阅源",
@@ -62426,24 +62439,24 @@ function RAe({ readOnly: e, toast: t }) {
}
//#endregion
//#region src/react/follow-manage/source-list.tsx
-var zAe = _L({
- rowPaginationFeature: DL,
- rowSelectionFeature: JL,
- rowSortingFeature: sR,
- paginatedRowModel: cR()
-}), RH = (e) => (Number(e) || 0).toLocaleString(), BAe = Object.fromEntries(Object.entries(Wn).map(([e, t]) => [t, e])), zH = 740;
-function VAe() {
+var BAe = vL({
+ rowPaginationFeature: OL,
+ rowSelectionFeature: YL,
+ rowSortingFeature: cR,
+ paginatedRowModel: lR()
+}), zH = (e) => (Number(e) || 0).toLocaleString(), VAe = Object.fromEntries(Object.entries(Wn).map(([e, t]) => [t, e])), BH = 740;
+function HAe() {
let [e, t] = (0, S.useState)(!1), n = (0, S.useRef)(null), r = (0, S.useCallback)((e) => {
if (n.current?.disconnect(), !e) {
n.current = null;
return;
}
- let r = new ResizeObserver(() => t(e.clientWidth < zH));
- r.observe(e), n.current = r, t(e.clientWidth < zH);
+ let r = new ResizeObserver(() => t(e.clientWidth < BH));
+ r.observe(e), n.current = r, t(e.clientWidth < BH);
}, []);
return (0, S.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
}
-var HAe = {
+var UAe = {
select: "选择",
author: "创作者",
source: "来源",
@@ -62452,33 +62465,33 @@ var HAe = {
checked: "上次检查",
actions: "操作"
};
-function UAe({ source: e, selected: t, onToggle: n, handlers: r }) {
+function WAe({ source: e, selected: t, onToggle: n, handlers: r }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-selected": t || void 0,
"data-follow-source-row": "",
className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2",
onClick: (e) => {
- EF(e, e.currentTarget) && n(!t);
+ DF(e, e.currentTarget) && n(!t);
},
children: [
- /* @__PURE__ */ (0, C.jsx)(kP, {
+ /* @__PURE__ */ (0, C.jsx)(AP, {
isSelected: t,
onChange: n,
"aria-label": `选择 ${e.label}`
}),
/* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 grow basis-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, C.jsx)(EH, { source: e }), e.last_error ? /* @__PURE__ */ (0, C.jsx)(DH, { text: e.last_error }) : null]
+ children: [/* @__PURE__ */ (0, C.jsx)(DH, { source: e }), e.last_error ? /* @__PURE__ */ (0, C.jsx)(OH, { text: e.last_error }) : null]
}),
/* @__PURE__ */ (0, C.jsx)("span", {
className: "flex shrink-0 items-center gap-1.5 text-body-2-regular text-text-secondary",
title: e.provider_label,
- children: /* @__PURE__ */ (0, C.jsx)(CH, {
+ children: /* @__PURE__ */ (0, C.jsx)(wH, {
provider: e.provider,
label: e.provider_label
})
}),
- /* @__PURE__ */ (0, C.jsx)(TH, { source: e }),
+ /* @__PURE__ */ (0, C.jsx)(EH, { source: e }),
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-follow-source-controls": "",
className: "contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5",
@@ -62487,7 +62500,7 @@ function UAe({ source: e, selected: t, onToggle: n, handlers: r }) {
className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular",
children: Lr(e)
}),
- /* @__PURE__ */ (0, C.jsx)(MH, {
+ /* @__PURE__ */ (0, C.jsx)(NH, {
"aria-label": `启用 ${e.label}`,
isSelected: e.enabled,
isDisabled: r.readOnly,
@@ -62519,7 +62532,7 @@ function UAe({ source: e, selected: t, onToggle: n, handlers: r }) {
]
});
}
-function WAe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {
+function GAe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {
let c = e.map((e) => e.id), l = e.filter((e) => e.enabled).map((e) => e.id), u = e.filter(Yn).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = lr(r, c);
return /* @__PURE__ */ (0, C.jsxs)("section", {
"aria-label": `${t} 的关注来源`,
@@ -62533,7 +62546,7 @@ function WAe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
"data-open": n || void 0,
className: "flex flex-wrap items-center gap-3 px-2 py-2.5",
children: [
- /* @__PURE__ */ (0, C.jsx)(wH, {
+ /* @__PURE__ */ (0, C.jsx)(TH, {
group: e,
name: t
}),
@@ -62558,7 +62571,7 @@ function WAe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex shrink-0 items-center gap-1 max-sm:mr-auto max-sm:min-w-0 max-sm:shrink max-sm:flex-wrap",
title: d,
- children: [e.map((e) => /* @__PURE__ */ (0, C.jsx)(CH, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, C.jsx)($b, { children: `来源:${d}` })]
+ children: [e.map((e) => /* @__PURE__ */ (0, C.jsx)(wH, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, C.jsx)($b, { children: `来源:${d}` })]
}),
u ? /* @__PURE__ */ (0, C.jsx)("span", {
className: "shrink-0 text-body-2-regular text-text-error-primary",
@@ -62590,7 +62603,7 @@ function WAe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
id: f,
hidden: !n,
"data-source-divider": !0,
- children: e.map((e) => /* @__PURE__ */ (0, C.jsx)(UAe, {
+ children: e.map((e) => /* @__PURE__ */ (0, C.jsx)(WAe, {
source: e,
handlers: i,
selected: r.has(e.id),
@@ -62599,8 +62612,8 @@ function WAe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
})]
});
}
-function GAe(e) {
- let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: d, onPageSize: f, onSelected: p, toast: m, openFollow: h } = e, g = t.sources, _ = (0, S.useMemo)(() => t.author_aliases || [], [t.author_aliases]), v = t.counts || {}, [y, b] = (0, S.useState)(/* @__PURE__ */ new Set()), [x, w] = VAe(), [T, E] = (0, S.useState)(""), D = (0, S.useMemo)(() => dee(g, n, r, _), [
+function KAe(e) {
+ let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: d, onPageSize: f, onSelected: p, toast: m, openFollow: h } = e, g = t.sources, _ = (0, S.useMemo)(() => t.author_aliases || [], [t.author_aliases]), v = t.counts || {}, [y, b] = (0, S.useState)(/* @__PURE__ */ new Set()), [x, w] = HAe(), [T, E] = (0, S.useState)(""), D = (0, S.useMemo)(() => dee(g, n, r, _), [
g,
n,
r,
@@ -62610,7 +62623,7 @@ function GAe(e) {
n,
r,
_
- ]), { job: k, running: A, outcome: j, start: M } = oB({
+ ]), { job: k, running: A, outcome: j, start: M } = sB({
queryKey: Bn,
queryFn: ({ signal: e }) => pr(e),
start: (e) => gr(e),
@@ -62697,12 +62710,12 @@ function GAe(e) {
readOnly: c
};
let ae = ie.current, oe = (0, S.useMemo)(() => {
- let e = gL(), t = (e) => () => HAe[e] || e;
+ let e = _L(), t = (e) => () => UAe[e] || e;
return e.columns([
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, C.jsx)(kP, {
+ cell: (e) => /* @__PURE__ */ (0, C.jsx)(AP, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
@@ -62714,7 +62727,7 @@ function GAe(e) {
header: t("author"),
cell: (e) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(wH, {
+ children: [/* @__PURE__ */ (0, C.jsx)(TH, {
group: e.row.original.group,
name: e.row.original.author
}), /* @__PURE__ */ (0, C.jsx)("span", {
@@ -62728,7 +62741,7 @@ function GAe(e) {
header: t("source"),
cell: (e) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, C.jsx)(EH, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, C.jsx)(DH, { text: e.row.original.source.last_error }) : null]
+ children: [/* @__PURE__ */ (0, C.jsx)(DH, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, C.jsx)(OH, { text: e.row.original.source.last_error }) : null]
})
}),
e.accessor((e) => e.source.provider_label, {
@@ -62736,13 +62749,13 @@ function GAe(e) {
header: t("provider"),
cell: (e) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, C.jsx)(CH, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
+ children: [/* @__PURE__ */ (0, C.jsx)(wH, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, C.jsx)(TH, { source: e.row.original.source })
+ cell: (e) => /* @__PURE__ */ (0, C.jsx)(EH, { source: e.row.original.source })
}),
e.accessor((e) => e.source.last_checked_at || "", {
id: "checked",
@@ -62755,7 +62768,7 @@ function GAe(e) {
cell: (e) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, C.jsx)(MH, {
+ /* @__PURE__ */ (0, C.jsx)(NH, {
"aria-label": `启用 ${e.row.original.source.label}`,
isSelected: e.row.original.source.enabled,
isDisabled: ae.readOnly,
@@ -62785,13 +62798,13 @@ function GAe(e) {
})
]);
}, [ae]), se = (0, S.useMemo)(() => {
- let e = BAe[n];
+ let e = VAe[n];
return e ? [{
id: e,
desc: r === "desc"
}] : [];
- }, [n, r]), ce = (0, S.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), le = a === "table", ue = sr(le ? O.length : D.length, o, i), de = uR({
- features: zAe,
+ }, [n, r]), ce = (0, S.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), le = a === "table", ue = sr(le ? O.length : D.length, o, i), de = dR({
+ features: BAe,
data: O,
columns: oe,
getRowId: (e) => String(e.source.id),
@@ -62841,7 +62854,7 @@ function GAe(e) {
children: "关注列表"
}), /* @__PURE__ */ (0, C.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: `${g.length.toLocaleString()} 个来源${v.new ? ` · ${RH(v.new)} 条未看` : ""}`
+ children: `${g.length.toLocaleString()} 个来源${v.new ? ` · ${zH(v.new)} 条未看` : ""}`
})]
}),
/* @__PURE__ */ (0, C.jsx)(K, {
@@ -62885,7 +62898,7 @@ function GAe(e) {
onClick: () => d("table")
})]
}),
- /* @__PURE__ */ (0, C.jsx)(RP, {
+ /* @__PURE__ */ (0, C.jsx)(zP, {
"aria-label": "关注列表排序",
selectedKey: n,
onSelectionChange: (e) => {
@@ -62893,7 +62906,7 @@ function GAe(e) {
let t = String(e);
l(t, mn[t]);
},
- children: fn.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(zP, {
+ children: fn.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(BP, {
id: e,
children: t
}, e))
@@ -62921,7 +62934,7 @@ function GAe(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- A ? /* @__PURE__ */ (0, C.jsx)(nB, {
+ A ? /* @__PURE__ */ (0, C.jsx)(rB, {
embedded: !0,
label: k?.message || (k?.total ? `${k.older ? "抓取历史" : "检查更新"}:已完成 ${k.checked || 0}/${k.total} 个来源` : "正在准备检查任务"),
value: k?.checked,
@@ -63012,10 +63025,10 @@ function GAe(e) {
})
]
}),
- le ? /* @__PURE__ */ (0, C.jsx)(fR, {
+ le ? /* @__PURE__ */ (0, C.jsx)(pR, {
follow: !0,
onRowClick: (e) => P(Number(e), !s.has(Number(e))),
- children: /* @__PURE__ */ (0, C.jsxs)(dR, {
+ children: /* @__PURE__ */ (0, C.jsxs)(fR, {
"aria-label": "关注来源",
size: "sm",
sortDescriptor: se[0] ? {
@@ -63026,9 +63039,9 @@ function GAe(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, C.jsx)(kN, { children: de.getHeaderGroups()[0].headers.map((e) => {
- let t = e.column.id in Wn, n = wI(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, C.jsx)(AN, {
+ children: [/* @__PURE__ */ (0, C.jsx)(MN, { children: de.getHeaderGroups()[0].headers.map((e) => {
+ let t = e.column.id in Wn, n = TI(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, C.jsx)(NN, {
id: e.id,
allowsSorting: t,
isRowHeader: e.column.id === "source",
@@ -63037,20 +63050,20 @@ function GAe(e) {
children: [n, /* @__PURE__ */ (0, C.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": e || void 0,
- children: /* @__PURE__ */ (0, C.jsx)(_P, {})
+ children: /* @__PURE__ */ (0, C.jsx)(bP, {})
})]
}) : /* @__PURE__ */ (0, C.jsx)($b, { children: n })
}, e.id);
- }) }), /* @__PURE__ */ (0, C.jsx)(MN, {
+ }) }), /* @__PURE__ */ (0, C.jsx)(FN, {
renderEmptyState: () => "这一页没有来源",
- children: fe.map((e) => /* @__PURE__ */ (0, C.jsx)(FN, {
+ children: fe.map((e) => /* @__PURE__ */ (0, C.jsx)(RN, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(LN, { children: wI(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(BN, { children: TI(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
- }) : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(kP, {
+ }) : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(AP, {
isSelected: me.all,
isIndeterminate: me.some,
onChange: (e) => F(pe, e),
@@ -63060,7 +63073,7 @@ function GAe(e) {
className: "flex flex-col gap-3",
children: D.slice(ue.start, ue.end).map((e) => {
let t = String(e[0].author_key || e[0].id);
- return /* @__PURE__ */ (0, C.jsx)(WAe, {
+ return /* @__PURE__ */ (0, C.jsx)(GAe, {
group: e,
name: nr(e, _),
handlers: ae,
@@ -63075,7 +63088,7 @@ function GAe(e) {
}, t);
})
})] }),
- /* @__PURE__ */ (0, C.jsx)(hR, {
+ /* @__PURE__ */ (0, C.jsx)(gR, {
label: "关注列表",
total: ue.total,
pagination: {
@@ -63093,7 +63106,7 @@ function GAe(e) {
children: [
/* @__PURE__ */ (0, C.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
- children: `未看 ${RH(v.new)} · 已看 ${RH(v.seen)} · 已保存 ${RH(v.saved)} · 已忽略 ${RH(v.ignored)}`
+ children: `未看 ${zH(v.new)} · 已看 ${zH(v.seen)} · 已保存 ${zH(v.saved)} · 已忽略 ${zH(v.ignored)}`
}),
/* @__PURE__ */ (0, C.jsx)(K, {
variant: "secondary",
@@ -63145,12 +63158,12 @@ function GAe(e) {
}
//#endregion
//#region src/react/follow-manage/follow-manage-page.tsx
-var BH = [
+var VH = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"]
-], VH = (e) => BH.some(([t]) => t === e);
-function HH({ term: e, figure: t, unit: n }) {
+], HH = (e) => VH.some(([t]) => t === e);
+function UH({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: oA({
padding: "none",
@@ -63172,8 +63185,8 @@ function HH({ term: e, figure: t, unit: n }) {
})]
});
}
-function KAe(e) {
- let { route: t, savePreference: n, toast: r, openFollow: i, openServiceConfiguration: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, S.useState)(VH(e.tab) ? e.tab : "list"), [d, f] = (0, S.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, S.useState)(() => gn(e.sort, e.dir).sort), [h, g] = (0, S.useState)(() => gn(e.sort, e.dir).dir), [_, v] = (0, S.useState)(lee(e.layout) ? e.layout : "default"), [y, b] = (0, S.useState)(uee(e.pageSize)), [x, w] = (0, S.useState)(/* @__PURE__ */ new Set()), T = pt({
+function qAe(e) {
+ let { route: t, savePreference: n, toast: r, openFollow: i, openServiceConfiguration: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, S.useState)(HH(e.tab) ? e.tab : "list"), [d, f] = (0, S.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, S.useState)(() => gn(e.sort, e.dir).sort), [h, g] = (0, S.useState)(() => gn(e.sort, e.dir).dir), [_, v] = (0, S.useState)(lee(e.layout) ? e.layout : "default"), [y, b] = (0, S.useState)(uee(e.pageSize)), [x, w] = (0, S.useState)(/* @__PURE__ */ new Set()), T = pt({
queryKey: Rn,
queryFn: ({ signal: e }) => dr(e)
}), E = pt({
@@ -63216,64 +63229,64 @@ function KAe(e) {
children: s
}) : null,
/* @__PURE__ */ (0, C.jsxs)("div", {
- className: EEe,
+ className: DEe,
"aria-label": "关注概览",
children: [
- /* @__PURE__ */ (0, C.jsx)(HH, {
+ /* @__PURE__ */ (0, C.jsx)(UH, {
term: "关注创作者",
figure: M.length,
unit: "位"
}),
- /* @__PURE__ */ (0, C.jsx)(HH, {
+ /* @__PURE__ */ (0, C.jsx)(UH, {
term: "启用来源",
figure: P,
unit: `/ ${A.length}`
}),
- /* @__PURE__ */ (0, C.jsx)(HH, {
+ /* @__PURE__ */ (0, C.jsx)(UH, {
term: "检查失败",
figure: N,
unit: "个来源"
}),
- /* @__PURE__ */ (0, C.jsx)(HH, {
+ /* @__PURE__ */ (0, C.jsx)(UH, {
term: "未看更新",
figure: O.counts?.new || 0,
unit: "条"
}),
- /* @__PURE__ */ (0, C.jsx)(HH, {
+ /* @__PURE__ */ (0, C.jsx)(UH, {
term: "JAV 订阅",
figure: I,
unit: "位"
}),
- /* @__PURE__ */ (0, C.jsx)(HH, {
+ /* @__PURE__ */ (0, C.jsx)(UH, {
term: "未看新作",
figure: D.data?.unread || 0,
unit: "条"
})
]
}),
- /* @__PURE__ */ (0, C.jsxs)(VN, {
+ /* @__PURE__ */ (0, C.jsxs)(WN, {
selectedKey: l,
onSelectionChange: (e) => {
let t = String(e);
- VH(t) && (u(t), j({ tab: t }));
+ HH(t) && (u(t), j({ tab: t }));
},
className: "flex flex-col gap-6",
children: [
- /* @__PURE__ */ (0, C.jsx)(HN, {
+ /* @__PURE__ */ (0, C.jsx)(GN, {
"aria-label": "关注管理区域",
"data-section-nav": !0,
"data-section-items": !0,
className: "flex max-w-full flex-nowrap overflow-x-auto",
- children: BH.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(UN, {
+ children: VH.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(KN, {
id: e,
className: "cursor-pointer whitespace-nowrap",
children: t
}, e))
}),
- /* @__PURE__ */ (0, C.jsx)(WN, {
+ /* @__PURE__ */ (0, C.jsx)(qN, {
id: "list",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, C.jsx)(GAe, {
+ children: /* @__PURE__ */ (0, C.jsx)(KAe, {
data: O,
sort: p,
dir: h,
@@ -63303,16 +63316,16 @@ function KAe(e) {
}
})
}),
- /* @__PURE__ */ (0, C.jsxs)(WN, {
+ /* @__PURE__ */ (0, C.jsxs)(qN, {
id: "add",
className: "flex flex-col gap-8",
- children: [/* @__PURE__ */ (0, C.jsx)(yAe, {
+ children: [/* @__PURE__ */ (0, C.jsx)(bAe, {
data: O,
credentials: k,
readOnly: o,
toast: r,
openCredentials: a
- }), /* @__PURE__ */ (0, C.jsx)(wAe, {
+ }), /* @__PURE__ */ (0, C.jsx)(TAe, {
groups: O.author_aliases || [],
readOnly: o,
toast: r,
@@ -63320,10 +63333,10 @@ function KAe(e) {
sources: O.sources
})]
}),
- /* @__PURE__ */ (0, C.jsx)(WN, {
+ /* @__PURE__ */ (0, C.jsx)(qN, {
id: "feeds",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, C.jsx)(RAe, {
+ children: /* @__PURE__ */ (0, C.jsx)(zAe, {
readOnly: o,
toast: r
})
@@ -63339,15 +63352,15 @@ function KAe(e) {
}
//#endregion
//#region src/react/components/board-tabs.tsx
-function UH({ value: e }) {
+function WH({ value: e }) {
return /* @__PURE__ */ (0, C.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 qAe = "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 WH({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
+var JAe = "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 GH({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
let a = (0, S.useRef)(null);
return (0, S.useLayoutEffect)(() => {
let e = a.current;
@@ -63371,14 +63384,14 @@ function WH({ 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 ? rP(e.symbol) : null, i = e.value === t;
+ let n = e.symbol ? oP(e.symbol) : null, i = e.value === t;
return /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
role: "tab",
"data-tab": e.value,
"aria-selected": i,
tabIndex: i ? 0 : -1,
- className: qAe,
+ className: JAe,
onClick: () => {
i || r(e.value);
},
@@ -63389,12 +63402,12 @@ function WH({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
}
//#endregion
//#region src/react/index/index-tags.tsx
-var GH = () => /* @__PURE__ */ (0, C.jsx)("span", {
+var KH = () => /* @__PURE__ */ (0, C.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
});
-function JAe({ tag: e, actions: t }) {
+function YAe({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 items-center gap-1",
@@ -63402,13 +63415,13 @@ function JAe({ tag: e, actions: t }) {
type: "button",
"data-alpha-tag": "",
"data-k": e.k,
- "data-tag-cat": QB(t.online, e.cat),
+ "data-tag-cat": $B(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, C.jsx)(GH, {}),
+ /* @__PURE__ */ (0, C.jsx)(KH, {}),
/* @__PURE__ */ (0, C.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -63418,7 +63431,7 @@ function JAe({ tag: e, actions: t }) {
children: e.n.toLocaleString()
})
]
- }), t.online ? null : /* @__PURE__ */ (0, C.jsx)(hP, { item: {
+ }), t.online ? null : /* @__PURE__ */ (0, C.jsx)(vP, { item: {
kind: "tag",
name: e.k,
entity_id: e.entity_id,
@@ -63426,7 +63439,7 @@ function JAe({ tag: e, actions: t }) {
} })]
});
}
-function YAe({ groups: e, actions: t }) {
+function XAe({ groups: e, actions: t }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-alphabet": "",
className: "flex flex-col gap-4",
@@ -63439,10 +63452,10 @@ function YAe({ groups: e, actions: t }) {
}),
children: [/* @__PURE__ */ (0, C.jsxs)("h3", {
className: "mb-2 flex items-center text-title-2-medium text-text-primary",
- children: [e, /* @__PURE__ */ (0, C.jsx)(UH, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, C.jsx)(WH, { value: n.length })]
}), /* @__PURE__ */ (0, C.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
- children: n.map((e) => /* @__PURE__ */ (0, C.jsx)(JAe, {
+ children: n.map((e) => /* @__PURE__ */ (0, C.jsx)(YAe, {
tag: e,
actions: t
}, e.k))
@@ -63450,8 +63463,8 @@ function YAe({ groups: e, actions: t }) {
}, e))
});
}
-var XAe = "\xA0";
-function ZAe({ tags: e, actions: t }) {
+var ZAe = "\xA0";
+function QAe({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
@@ -63461,16 +63474,16 @@ function ZAe({ tags: e, actions: t }) {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": QB(t.online, e.cat),
+ "data-tag-cat": $B(t.online, e.cat),
"aria-pressed": t.picked.has(e.k),
onClick: () => t.press(e.k),
className: "inline-flex cursor-pointer items-center rounded-lg border px-3 py-1.25 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: [e.label + XAe, /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [e.label + ZAe, /* @__PURE__ */ (0, C.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
children: e.n.toLocaleString()
})]
- }), t.online ? null : /* @__PURE__ */ (0, C.jsx)(hP, { item: {
+ }), t.online ? null : /* @__PURE__ */ (0, C.jsx)(vP, { item: {
kind: "tag",
name: e.k,
entity_id: e.entity_id,
@@ -63479,7 +63492,7 @@ function ZAe({ tags: e, actions: t }) {
}, e.k))
});
}
-var QAe = [[
+var $Ae = [[
"cloud",
"标签云",
"tags"
@@ -63488,16 +63501,16 @@ var QAe = [[
"字母表",
"text-aa"
]];
-function $Ae({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
- return /* @__PURE__ */ (0, C.jsx)(ej, {
+function eje({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
+ return /* @__PURE__ */ (0, C.jsx)(rj, {
label: "标签筛选",
topLabel: "标签类型",
- top: e.map(([e, r]) => /* @__PURE__ */ (0, C.jsxs)(tj, {
+ top: e.map(([e, r]) => /* @__PURE__ */ (0, C.jsxs)(ij, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : QB(n, e),
+ "data-tag-cat": e === "all" ? "all" : $B(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, C.jsx)(GH, {}), r]
+ children: [/* @__PURE__ */ (0, C.jsx)(KH, {}), r]
}, e)),
bottom: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsx)("span", {
@@ -63516,19 +63529,19 @@ function $Ae({ categories: e, category: t, online: n, readout: r, letters: i, vi
children: e
}, e))
}) : null,
- /* @__PURE__ */ (0, C.jsx)(dN, {
+ /* @__PURE__ */ (0, C.jsx)(mN, {
"aria-label": "标签视图",
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${JP}`,
- children: QAe.map(([e, t, n]) => {
- let r = rP(n);
- return /* @__PURE__ */ (0, C.jsx)(fN, {
+ className: `ml-auto ${YP}`,
+ children: $Ae.map(([e, t, n]) => {
+ let r = oP(n);
+ return /* @__PURE__ */ (0, C.jsx)(hN, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: YP,
+ className: XP,
children: /* @__PURE__ */ (0, C.jsx)("span", {
title: t,
className: "contents",
@@ -63540,13 +63553,13 @@ function $Ae({ categories: e, category: t, online: n, readout: r, letters: i, vi
] })
});
}
-function eje({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+function tje({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
return /* @__PURE__ */ (0, C.jsxs)(KT, {
visible: e > 0,
label: "所选标签操作",
count: `已选 ${e.toLocaleString()} 个标签`,
children: [
- /* @__PURE__ */ (0, C.jsx)(kP, {
+ /* @__PURE__ */ (0, C.jsx)(AP, {
isSelected: t === "any",
onChange: (e) => n(e ? "any" : "all"),
children: /* @__PURE__ */ (0, C.jsxs)("span", {
@@ -63578,7 +63591,7 @@ function eje({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
}
//#endregion
//#region src/react/index/index-page.tsx
-var tje = [{
+var nje = [{
value: "studios",
label: "厂牌",
symbol: "clapperboard"
@@ -63586,7 +63599,7 @@ var tje = [{
value: "agencies",
label: "事务所",
symbol: "briefcase"
-}], nje = [{
+}], rje = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -63594,7 +63607,7 @@ var tje = [{
value: "online",
label: "在线",
symbol: "rss"
-}], rje = [
+}], ije = [
{
value: "performers",
label: "艺人",
@@ -63610,7 +63623,7 @@ var tje = [{
label: "在线",
symbol: "rss"
}
-], ije = {
+], aje = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -63630,20 +63643,20 @@ var tje = [{
"layout-grid"
]]
};
-function aje({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, C.jsx)(GP, {
- "aria-label": `${VB[e]}索引版式`,
+function oje({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, C.jsx)(KP, {
+ "aria-label": `${HB[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none max-board-narrow:order-3 ${KP}`,
- children: ije[KB(e) ? "company" : "people"].map(([e, t, n]) => {
- let r = rP(n);
- return /* @__PURE__ */ (0, C.jsx)(fN, {
+ className: `flex-none max-board-narrow:order-3 ${qP}`,
+ children: aje[qB(e) ? "company" : "people"].map(([e, t, n]) => {
+ let r = oP(n);
+ return /* @__PURE__ */ (0, C.jsx)(hN, {
value: e,
"aria-label": t,
- className: cxe,
+ className: lxe,
children: /* @__PURE__ */ (0, C.jsx)("span", {
title: t,
className: "contents",
@@ -63653,8 +63666,8 @@ function aje({ kind: e, layout: t, onChange: n }) {
})
});
}
-var oje = rP("search");
-function sje({ label: e, value: t, onQuery: n }) {
+var sje = oP("search");
+function cje({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, S.useState)(t), a = (0, S.useRef)(!1), o = (0, S.useRef)(void 0);
(0, S.useEffect)(() => () => clearTimeout(o.current), []);
let s = (e) => {
@@ -63669,15 +63682,15 @@ function sje({ label: e, value: t, onQuery: n }) {
onCompositionEnd: (e) => {
a.current = !1, s(e.target.value);
},
- children: /* @__PURE__ */ (0, C.jsx)(XN, {
+ children: /* @__PURE__ */ (0, C.jsx)($N, {
"aria-label": e,
value: r,
onChange: (e) => {
i(e), a.current || s(e);
},
- children: /* @__PURE__ */ (0, C.jsx)(QN, {
+ children: /* @__PURE__ */ (0, C.jsx)(tP, {
type: "search",
- leadingIcon: oje,
+ leadingIcon: sje,
spellCheck: !1,
autoComplete: "off",
enterKeyHint: "search",
@@ -63688,14 +63701,14 @@ function sje({ label: e, value: t, onQuery: n }) {
})
});
}
-function cje(e) {
- let [t, n] = (0, S.useState)(() => qB({
+function lje(e) {
+ let [t, n] = (0, S.useState)(() => JB({
kind: e.kind,
q: e.q,
scope: e.scope,
view: e.view,
category: e.category
- })), [r, i] = (0, S.useState)(e.layout), [a, o] = (0, S.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, S.useState)("any"), l = (0, S.useRef)(null), { kind: u, q: d, scope: f, view: p, category: m } = t, h = VB[u], g = u === "tags" && f === "online", _ = u === "performers" && f === "online";
+ })), [r, i] = (0, S.useState)(e.layout), [a, o] = (0, S.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, S.useState)("any"), l = (0, S.useRef)(null), { kind: u, q: d, scope: f, view: p, category: m } = t, h = HB[u], g = u === "tags" && f === "online", _ = u === "performers" && f === "online";
(0, S.useEffect)(() => {
if (t.kind === e.kind && t.scope === e.scope && t.category === e.category) return;
let n = !0;
@@ -63713,7 +63726,7 @@ function cje(e) {
...r
};
y(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });
- }, x = ZB(JB(t)), w = ht({
+ }, x = QB(YB(t)), w = ht({
queryKey: x.queryKey,
queryFn: ({ pageParam: e, signal: t }) => x.queryFn({
pageParam: e,
@@ -63722,7 +63735,7 @@ function cje(e) {
initialPageParam: 0,
getNextPageParam: x.getNextPageParam,
placeholderData: v ? de : void 0
- }), T = ZDe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = QDe(T.length, !!w.hasNextPage), O = `${u}:${f}:${d}`, k = (0, S.useRef)(null), A = w.data?.pages[0]?.categories;
+ }), T = QDe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = $De(T.length, !!w.hasNextPage), O = `${u}:${f}:${d}`, k = (0, S.useRef)(null), A = w.data?.pages[0]?.categories;
A && !w.isPlaceholderData && (k.current = {
key: O,
counts: A
@@ -63734,14 +63747,14 @@ function cje(e) {
let P = (0, S.useMemo)(() => u === "tags" ? T.map((t) => ({
...t,
label: e.tagLabel(t.k)
- })) : [], [T, u]), F = (0, S.useMemo)(() => u === "tags" && p === "alphabet" ? tOe(P, (t) => e.tagLabel(t)) : [], [
+ })) : [], [T, u]), F = (0, S.useMemo)(() => u === "tags" && p === "alphabet" ? nOe(P, (t) => e.tagLabel(t)) : [], [
P,
p,
u
]), I = (t) => {
i(t), e.savePreference({ layout: t });
- }, ee = u === "tags" ? /* @__PURE__ */ (0, C.jsx)(WH, {
- tabs: nje,
+ }, ee = u === "tags" ? /* @__PURE__ */ (0, C.jsx)(GH, {
+ tabs: rje,
value: f,
label: "词表",
onChange: (e) => {
@@ -63751,8 +63764,8 @@ function cje(e) {
view: e === "online" ? "alphabet" : p
});
}
- }) : KB(u) ? /* @__PURE__ */ (0, C.jsx)(WH, {
- tabs: tje,
+ }) : qB(u) ? /* @__PURE__ */ (0, C.jsx)(GH, {
+ tabs: nje,
value: u,
label: "公司类型",
onChange: (e) => b({ kind: e })
@@ -63761,7 +63774,7 @@ function cje(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
}) : P.find((e) => e.k === t)?.entity_id ? e.openEntity("tag", t) : e.showTags([t], "all");
- }, te = (g ? UB : HB).filter(N);
+ }, te = (g ? WB : UB).filter(N);
return /* @__PURE__ */ (0, C.jsxs)("div", {
ref: l,
"data-index-page": u,
@@ -63776,22 +63789,22 @@ function cje(e) {
className: "flex items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: h
}),
- GB(u) ? /* @__PURE__ */ (0, C.jsx)("span", {
+ KB(u) ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-index-count": "",
className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",
children: w.isPending || w.isError ? "" : D
}) : null,
- GB(u) ? /* @__PURE__ */ (0, C.jsx)(aje, {
+ KB(u) ? /* @__PURE__ */ (0, C.jsx)(oje, {
kind: u,
layout: r,
onChange: I
}) : null,
- /* @__PURE__ */ (0, C.jsx)(gP, { kind: u === "tags" ? "tag" : u === "studios" ? "studio" : u === "agencies" ? "agency" : u === "creators" ? "creator" : "performer" }),
+ /* @__PURE__ */ (0, C.jsx)(yP, { kind: u === "tags" ? "tag" : u === "studios" ? "studio" : u === "agencies" ? "agency" : u === "creators" ? "creator" : "performer" }),
/* @__PURE__ */ (0, C.jsx)("span", {
"aria-hidden": !0,
className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"
}),
- /* @__PURE__ */ (0, C.jsx)(sje, {
+ /* @__PURE__ */ (0, C.jsx)(cje, {
label: `过滤${h}`,
value: d,
onQuery: (e) => {
@@ -63800,8 +63813,8 @@ function cje(e) {
})
]
}),
- u === "performers" || u === "creators" ? /* @__PURE__ */ (0, C.jsx)(WH, {
- tabs: rje,
+ u === "performers" || u === "creators" ? /* @__PURE__ */ (0, C.jsx)(GH, {
+ tabs: ije,
value: _ ? "online" : u,
label: "人物名册",
onChange: (t) => {
@@ -63815,8 +63828,8 @@ function cje(e) {
ee,
u === "performers" && f === "local" ? /* @__PURE__ */ (0, C.jsx)("div", {
"aria-label": "身份分类",
- className: BB,
- children: zB.filter((e) => e[0] === m || N(e)).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(K, {
+ className: VB,
+ children: BB.filter((e) => e[0] === m || N(e)).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(K, {
variant: m === e ? "primary" : "secondary",
size: "small",
"aria-pressed": m === e,
@@ -63824,7 +63837,7 @@ function cje(e) {
children: t
}, e))
}) : null,
- u === "tags" ? /* @__PURE__ */ (0, C.jsx)($Ae, {
+ u === "tags" ? /* @__PURE__ */ (0, C.jsx)(eje, {
categories: te,
category: m,
online: g,
@@ -63850,7 +63863,7 @@ function cje(e) {
}) }
});
if (w.isError) return /* @__PURE__ */ (0, C.jsx)(sA, {
- icon: rP("alert"),
+ icon: oP("alert"),
title: `没能读取${h}`,
actions: /* @__PURE__ */ (0, C.jsx)(K, {
variant: "secondary",
@@ -63859,18 +63872,18 @@ function cje(e) {
}),
children: Dt(w.error)
});
- if (!T.length) return /* @__PURE__ */ (0, C.jsx)(uje, {
+ if (!T.length) return /* @__PURE__ */ (0, C.jsx)(dje, {
kind: u,
filtered: !!d || m !== "all",
online: g || _,
configurable: e.configurable
});
- if (_) return /* @__PURE__ */ (0, C.jsx)(iOe, {
+ if (_) return /* @__PURE__ */ (0, C.jsx)(aOe, {
items: T,
layout: r,
props: e
});
- if (GB(u)) return /* @__PURE__ */ (0, C.jsx)(tV, {
+ if (KB(u)) return /* @__PURE__ */ (0, C.jsx)(nV, {
kind: u,
items: T,
layout: r,
@@ -63881,10 +63894,10 @@ function cje(e) {
picked: a,
press: L
};
- return p === "alphabet" ? /* @__PURE__ */ (0, C.jsx)(YAe, {
+ return p === "alphabet" ? /* @__PURE__ */ (0, C.jsx)(XAe, {
groups: F,
actions: t
- }) : /* @__PURE__ */ (0, C.jsx)(ZAe, {
+ }) : /* @__PURE__ */ (0, C.jsx)(QAe, {
tags: P,
actions: t
});
@@ -63905,7 +63918,7 @@ function cje(e) {
}) : "载入更多"
})
}) : null,
- u === "tags" && !g && e.selectMode ? /* @__PURE__ */ (0, C.jsx)(eje, {
+ u === "tags" && !g && e.selectMode ? /* @__PURE__ */ (0, C.jsx)(tje, {
count: a.size,
match: s,
onMatch: c,
@@ -63918,16 +63931,16 @@ function cje(e) {
]
});
}
-var lje = {
+var uje = {
tags: "标签",
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所"
};
-function uje({ kind: e, filtered: t, online: n, configurable: r }) {
+function dje({ kind: e, filtered: t, online: n, configurable: r }) {
if (t) return /* @__PURE__ */ (0, C.jsx)(sA, {
- icon: rP("search"),
+ icon: oP("search"),
title: "没有符合条件的内容",
actions: /* @__PURE__ */ (0, C.jsx)(aA, {
variant: "primary",
@@ -63936,13 +63949,13 @@ function uje({ kind: e, filtered: t, online: n, configurable: r }) {
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : lje[e], a = /* @__PURE__ */ (0, C.jsx)(aA, {
+ let i = n && e === "performers" ? "创作者" : uje[e], a = /* @__PURE__ */ (0, C.jsx)(aA, {
variant: !r || n ? "primary" : "secondary",
href: "/subscriptions?tab=add",
children: "添加关注"
});
return /* @__PURE__ */ (0, C.jsx)(sA, {
- icon: rP(e === "tags" ? "tags" : "user-round"),
+ icon: oP(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
actions: n ? a : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [r ? /* @__PURE__ */ (0, C.jsx)(K, {
variant: "primary",
@@ -63952,15 +63965,15 @@ function uje({ kind: e, filtered: t, online: n, configurable: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var KH = {
+var qH = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, dje = (e) => KH[e.junk_kind || "other"] || KH.other;
-function fje(e) {
+}, fje = (e) => qH[e.junk_kind || "other"] || qH.other;
+function pje(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -63971,21 +63984,21 @@ function fje(e) {
glyph: "check"
};
}
-var qH = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), pje = (e, t) => [
+var JH = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), mje = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function mje({ kind: e, view: t }) {
+function hje({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function hje(e, t) {
- let n = await H(`/api/ads?${mje(e)}`, t);
+async function gje(e, t) {
+ let n = await H(`/api/ads?${hje(e)}`, t);
return {
...n,
items: n.items || []
@@ -63993,19 +64006,19 @@ async function hje(e, t) {
}
//#endregion
//#region src/react/junk-queue/junk-card.tsx
-function JH({ name: e }) {
+function YH({ name: e }) {
return /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, C.jsx)("use", { href: `#i-${e}` })
});
}
-var YH = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function gje({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
- let o = (0, S.useRef)(null), [s, c] = (0, S.useState)(""), [l, u] = (0, S.useState)(""), d = e.junk_kind || "other", [f, p] = dje(e), m = String(e.name || ""), h = fje(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]") || YH(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
+var XH = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+function _je({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
+ let o = (0, S.useRef)(null), [s, c] = (0, S.useState)(""), [l, u] = (0, S.useState)(""), d = e.junk_kind || "other", [f, p] = fje(e), m = String(e.name || ""), h = pje(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]") || XH(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
}, y = (t) => {
- t.stopPropagation(), YH(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);
+ t.stopPropagation(), XH(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) => {
@@ -64036,7 +64049,7 @@ function gje({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"data-junk-kind": d,
"data-selected": n ? "" : void 0,
onClick: v,
- onMouseDown: DF,
+ onMouseDown: OF,
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
"data-media-pic": "",
@@ -64044,7 +64057,7 @@ function gje({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, C.jsx)(JH, { name: p }), /* @__PURE__ */ (0, C.jsx)("b", { children: f })]
+ children: [/* @__PURE__ */ (0, C.jsx)(YH, { name: p }), /* @__PURE__ */ (0, C.jsx)("b", { children: f })]
}),
g ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-media-art": "thumb",
@@ -64056,7 +64069,7 @@ function gje({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
}),
/* @__PURE__ */ (0, C.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, C.jsx)(JH, { name: "check" })
+ children: /* @__PURE__ */ (0, C.jsx)(YH, { name: "check" })
})
]
}),
@@ -64093,7 +64106,7 @@ function gje({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [s === "reveal" ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-junk-spinner": "",
dangerouslySetInnerHTML: { __html: vo("正在定位") }
- }) : /* @__PURE__ */ (0, C.jsx)(JH, { name: "folder-open" }), /* @__PURE__ */ (0, C.jsx)("span", {
+ }) : /* @__PURE__ */ (0, C.jsx)(YH, { name: "folder-open" }), /* @__PURE__ */ (0, C.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -64105,7 +64118,7 @@ function gje({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": h.label,
...w(h.operation),
onClick: x(h.operation),
- children: [/* @__PURE__ */ (0, C.jsx)(JH, { name: h.glyph }), /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [/* @__PURE__ */ (0, C.jsx)(YH, { name: h.glyph }), /* @__PURE__ */ (0, C.jsx)("span", {
"data-junk-label": "",
children: h.label
})]
@@ -64117,7 +64130,7 @@ function gje({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": "移入回收站",
...w("dispose"),
onClick: x("dispose"),
- children: [/* @__PURE__ */ (0, C.jsx)(JH, { name: "trash" }), /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [/* @__PURE__ */ (0, C.jsx)(YH, { name: "trash" }), /* @__PURE__ */ (0, C.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -64132,7 +64145,7 @@ function gje({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
]
});
}
-var _je = (0, S.memo)(gje), XH = [
+var vje = (0, S.memo)(_je), ZH = [
[
"",
"全部",
@@ -64168,65 +64181,65 @@ var _je = (0, S.memo)(gje), XH = [
"其它",
"hard-drive"
]
-], vje = (e) => XH.find(([t]) => t === e)?.[0] ?? "";
-function ZH(e) {
+], yje = (e) => ZH.find(([t]) => t === e)?.[0] ?? "";
+function QH(e) {
let t = new URLSearchParams(e);
return {
- kind: vje(t.get("type")),
+ kind: yje(t.get("type")),
view: t.get("view") === "dismissed" ? "dismissed" : "pending"
};
}
-function QH(e = "", t = "pending") {
+function $H(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 $H(e) {
+function eU(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: QH("", "pending")
+ href: $H("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: QH("", "dismissed")
+ href: $H("", "dismissed")
};
}
-var eU = (e) => e === "dismissed" ? "已排除" : "待判断", tU = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
-function yje({ kind: e, view: t }) {
- let n = XH.map(([n, r, i]) => `<a href="${QH(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${tU(i)}${B(r)}</a>`).join(""), r = $H(t);
- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${mo(eU(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\"" : ""}>${tU(r.glyph)}${r.label}</a></nav></div></div></div>`;
+var tU = (e) => e === "dismissed" ? "已排除" : "待判断", nU = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
+function bje({ kind: e, view: t }) {
+ let n = ZH.map(([n, r, i]) => `<a href="${$H(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${nU(i)}${B(r)}</a>`).join(""), r = eU(t);
+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${mo(tU(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\"" : ""}>${nU(r.glyph)}${r.label}</a></nav></div></div></div>`;
}
//#endregion
//#region src/react/junk-queue/junk-count.tsx
-function nU({ name: e }) {
+function rU({ name: e }) {
return /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, C.jsx)("use", { href: `#i-${e}` })
});
}
-function rU({ scope: e, count: t }) {
+function iU({ scope: e, count: t }) {
return t ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [" ", /* @__PURE__ */ (0, C.jsx)("span", {
"data-count-badge": `junk:${e}`,
children: t.toLocaleString()
})] }) : null;
}
-function bje({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = AP(), a = (0, S.useRef)(null), { kind: o, view: s } = e, c = aj(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? XH.map(([e]) => qH(t, e)).join(",") : ""}`), l = $H(s), u = (e) => {
+function xje({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = jP(), a = (0, S.useRef)(null), { kind: o, view: s } = e, c = cj(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? ZH.map(([e]) => JH(t, e)).join(",") : ""}`), l = eU(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") || QH()));
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || $H()));
}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-junk-count": "",
children: [/* @__PURE__ */ (0, C.jsx)("div", {
"data-junk-summary": "",
"aria-live": "polite",
- children: /* @__PURE__ */ (0, C.jsx)(fH, {
- label: eU(s),
+ children: /* @__PURE__ */ (0, C.jsx)(pH, {
+ label: tU(s),
figure: d,
pending: !t && !n,
flush: !0
@@ -64246,17 +64259,17 @@ function bje({ route: e, page: t, failed: n, onNavigate: r }) {
onClick: u,
onPointerLeave: c.leave,
children: [
- XH.map(([e, n, r]) => /* @__PURE__ */ (0, C.jsxs)("a", {
- href: QH(e, s),
+ ZH.map(([e, n, r]) => /* @__PURE__ */ (0, C.jsxs)("a", {
+ href: $H(e, s),
"data-junk-kind-link": e,
"aria-current": e === o ? "page" : void 0,
onPointerEnter: c.hover,
children: [
- /* @__PURE__ */ (0, C.jsx)(nU, { name: r }),
+ /* @__PURE__ */ (0, C.jsx)(rU, { name: r }),
n,
- /* @__PURE__ */ (0, C.jsx)(rU, {
+ /* @__PURE__ */ (0, C.jsx)(iU, {
scope: e,
- count: t ? qH(t, e) : 0
+ count: t ? JH(t, e) : 0
})
]
}, e || "all")),
@@ -64270,9 +64283,9 @@ function bje({ 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, C.jsx)(nU, { name: l.glyph }),
+ /* @__PURE__ */ (0, C.jsx)(rU, { name: l.glyph }),
l.label,
- /* @__PURE__ */ (0, C.jsx)(rU, {
+ /* @__PURE__ */ (0, C.jsx)(iU, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -64285,33 +64298,33 @@ function bje({ route: e, page: t, failed: n, onNavigate: r }) {
}
//#endregion
//#region src/react/junk-queue/junk-queue-page.tsx
-var xje = rP("check"), Sje = (e, t) => e[1] === t.view && e[2] === t.kind;
-function Cje(e) {
+var Sje = oP("check"), Cje = (e, t) => e[1] === t.view && e[2] === t.kind;
+function wje(e) {
let t = {
kind: e.kind,
view: e.view
}, n = pt({
- queryKey: pje(t, e.revision),
- queryFn: ({ signal: e }) => hje(t, e),
- placeholderData: (e, n) => n && Sje(n.queryKey, t) ? e : void 0
+ queryKey: mje(t, e.revision),
+ queryFn: ({ signal: e }) => gje(t, e),
+ placeholderData: (e, n) => n && Cje(n.queryKey, t) ? e : void 0
});
(0, S.useEffect)(() => {
n.isFetching || e.settled?.(e.revision);
}, [n.isFetching, e.revision]);
- let r = wje(e.countRow), i = n.isPending;
+ let r = Tje(e.countRow), i = n.isPending;
(0, S.useLayoutEffect)(() => {
let t = e.countRow;
t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));
}, [e.countRow, i]), (0, S.useLayoutEffect)(() => {
r && n.data && ko(r, "junk");
}, [r, n.data]);
- let { navigate: a } = e.actions, o = r ? (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(bje, {
+ let { navigate: a } = e.actions, o = r ? (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(xje, {
route: t,
page: n.data,
failed: n.isError && !n.data,
onNavigate: a
}), r) : null;
- return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [o, /* @__PURE__ */ (0, C.jsx)(Tje, {
+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [o, /* @__PURE__ */ (0, C.jsx)(Eje, {
props: e,
data: n.data,
pending: i,
@@ -64319,7 +64332,7 @@ function Cje(e) {
retry: () => void n.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function wje(e) {
+function Tje(e) {
let [t, n] = (0, S.useState)(null);
return (0, S.useLayoutEffect)(() => {
if (!e) return;
@@ -64329,8 +64342,8 @@ function wje(e) {
};
}, [e]), t;
}
-function Tje({ props: e, data: t, pending: n, error: r, retry: i }) {
- let a = CF(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, S.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, S.useCallback)(() => {
+function Eje({ props: e, data: t, pending: n, error: r, retry: i }) {
+ let a = wF(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, S.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, S.useCallback)(() => {
d?.() !== !1 && c((e) => e + 1);
}, [d]);
return /* @__PURE__ */ (0, C.jsxs)("div", {
@@ -64338,14 +64351,14 @@ function Tje({ 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, C.jsx)(wF, {
+ if (!t) return /* @__PURE__ */ (0, C.jsx)(TF, {
message: Dt(r),
onRetry: i
});
if (!l.length) {
let t = e.view === "dismissed";
return /* @__PURE__ */ (0, C.jsx)(sA, {
- icon: xje,
+ icon: Sje,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有候选文件。"
});
@@ -64355,7 +64368,7 @@ function Tje({ 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, C.jsx)(_je, {
+ children: u.map((t) => /* @__PURE__ */ (0, C.jsx)(vje, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -64364,7 +64377,7 @@ function Tje({ props: e, data: t, pending: n, error: r, retry: i }) {
actions: e.actions
}, t.id))
}),
- u.length < l.length ? /* @__PURE__ */ (0, C.jsx)(Eje, { onMore: f }, s) : null,
+ u.length < l.length ? /* @__PURE__ */ (0, C.jsx)(Dje, { onMore: f }, s) : null,
u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, C.jsx)("p", {
"data-junk-truncated": "",
className: "py-6 text-center text-caption-1-regular text-text-secondary",
@@ -64374,7 +64387,7 @@ function Tje({ props: e, data: t, pending: n, error: r, retry: i }) {
})()]
});
}
-function Eje({ onMore: e }) {
+function Dje({ onMore: e }) {
let t = (0, S.useRef)(null);
return (0, S.useEffect)(() => {
let n = t.current;
@@ -64392,9 +64405,9 @@ function Eje({ onMore: e }) {
}
//#endregion
//#region src/react/jav/discovery-faces.tsx
-function Dje({ item: e }) {
+function Oje({ item: e }) {
let t = e.performer_refs?.length ? e.performer_refs : [...new Set(e.performers.split(/[,,、;/]/).filter(Boolean))].map((e) => ({ name: e })), n = t.slice(0, 5).map((t) => {
- let n = t.source_avatar && t.source_actor_id && !t.has_image ? { children: /* @__PURE__ */ (0, C.jsx)(YV, {
+ let n = t.source_avatar && t.source_actor_id && !t.has_image ? { children: /* @__PURE__ */ (0, C.jsx)(XV, {
code: e.code,
person: t
}) } : { dangerouslySetInnerHTML: { __html: ia(t.name, t, null) } };
@@ -64416,18 +64429,18 @@ function Dje({ item: e }) {
}
//#endregion
//#region src/react/jav/jav-navigation.ts
-var iU = [
+var aU = [
["library", "馆藏"],
["discover", "发现"],
["wants", "想要"]
-], aU = (e) => iU.some(([t]) => t === e) ? e : "library", Oje = (e) => aU(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
-function kje(e) {
+], oU = (e) => aU.some(([t]) => t === e) ? e : "library", kje = (e) => oU(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
+function Aje(e) {
let t = new URLSearchParams(e);
return t.delete("tab"), t.set("jav", "1"), "/?" + t;
}
//#endregion
//#region src/react/jav/discovery-sorts.ts
-var oU = [
+var sU = [
[
"taste",
"口味",
@@ -64454,10 +64467,10 @@ var oU = [
"按番号排序"
]
];
-function sU(e) {
+function cU(e) {
return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";
}
-function Aje(e) {
+function jje(e) {
if (typeof e != "number" || !Number.isFinite(e)) return {
score: "—",
label: "资料未取得",
@@ -64483,8 +64496,8 @@ function Aje(e) {
}
//#endregion
//#region src/jav-skeleton.ts
-var cU = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, jje = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, lU = "w-full min-w-0";
-function uU() {
+var lU = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, Mje = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, uU = "w-full min-w-0";
+function dU() {
return [
"w-20",
"w-16",
@@ -64494,8 +64507,8 @@ function uU() {
"w-24"
].map((e) => `<span data-skeleton="tag" aria-hidden="true" class="skeleton-sheen relative block h-7.5 flex-none rounded-(--tag-radius) ${e}"></span>`).join("");
}
-function dU(e, t = _E()) {
- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${cU("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${jje("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">${cU("80%")}${cU("60%")}${cU("40%")}</div></div>`).join("")}</div>`;
+function fU(e, t = _E()) {
+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${lU("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${Mje("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">${lU("80%")}${lU("60%")}${lU("40%")}</div></div>`).join("")}</div>`;
let n = SE({
...xE({
active: !0,
@@ -64504,16 +64517,16 @@ function dU(e, t = _E()) {
}),
size: t
});
- return `<div data-media-grid class="${lU}" 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="${uU}" 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>${cU("85%")}${cU("65%")}</div><div data-media-byline>${cU("55%")}</div>
+ <div data-media-title>${lU("85%")}${lU("65%")}</div><div data-media-byline>${lU("55%")}</div>
<div data-media-tags><span class="skeleton block h-5 w-20 rounded-md"></span><span class="skeleton block h-5 w-24 rounded-md"></span></div>
</div></div>
<div data-jav-skeleton-actions class="flex flex-wrap gap-2"><span data-jav-skeleton-action class="skeleton block h-9 w-20 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-12 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-26 rounded-md"></span></div>
</div>`).join("")}</div>`;
}
-function Mje(e) {
+function Nje(e) {
let t = e === "wants" ? "筛选想要" : "筛选推荐";
return `<div class="peach-react"><div class="flex w-full flex-col gap-6">
<div class="flex w-full flex-col gap-4"><div class="flex flex-wrap items-center justify-between gap-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2>${ao({
@@ -64521,42 +64534,42 @@ function Mje(e) {
label: "查找资源",
attrs: "disabled data-skeleton-action"
})}</div>
- <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${iU.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">${aU.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>
<form aria-label="${t}">${io("筛选番号、女优或标题", "", t)}</form>
- ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${cU("100%")}</div>${dU(e)}` : `<section class="flex min-w-0 flex-col gap-4">${Nje()}${dU(e)}</section>`}</div></div>`;
+ ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${lU("100%")}</div>${fU(e)}` : `<section class="flex min-w-0 flex-col gap-4">${Pje()}${fU(e)}</section>`}</div></div>`;
}
-function Nje() {
+function Pje() {
let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-7.5 flex-none items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${_E() === e ? "data-selected=\"true\"" : ""} class="flex size-7.5 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${no(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>${uU()}</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>${dU()}</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>
${ro()}
<span data-entity-sorts><button type="button" data-entity-batch data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${no("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>
- ${oU.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? no("arrow-down", "size-3.5") : ""}</button>`).join("")}
+ ${sU.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? no("arrow-down", "size-3.5") : ""}</button>`).join("")}
</span>
</div>
</div>`;
}
//#endregion
//#region src/react/activity/work-code.ts
-var fU = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), pU = (e, t) => !!fU(e) && fU(e) === fU(t);
+var pU = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), mU = (e, t) => !!pU(e) && pU(e) === pU(t);
//#endregion
//#region src/react/activity/resource-search.tsx
-function Pje({ className: e }) {
+function Fje({ className: e }) {
return /* @__PURE__ */ (0, C.jsx)("span", {
className: e,
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: vo("") }
});
}
-function Fje(e) {
+function Ije(e) {
return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";
}
-function Ije({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
- let [a, o] = (0, S.useState)(e), [s, c] = (0, S.useState)(() => Fje(t)), [l, u] = (0, S.useState)(""), [d, f] = (0, S.useState)(""), [p, m] = (0, S.useState)(null), [h, g] = (0, S.useState)(""), [_, v] = (0, S.useState)(""), y = fA(), b = (0, S.useRef)(null);
+function Lje({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
+ let [a, o] = (0, S.useState)(e), [s, c] = (0, S.useState)(() => Ije(t)), [l, u] = (0, S.useState)(""), [d, f] = (0, S.useState)(""), [p, m] = (0, S.useState)(null), [h, g] = (0, S.useState)(""), [_, v] = (0, S.useState)(""), y = fA(), b = (0, S.useRef)(null);
(0, S.useEffect)(() => () => b.current?.abort(), []);
let x = () => {
if (!a.trim() || y.busy) return;
@@ -64572,7 +64585,7 @@ function Ije({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
let e = new AbortController();
b.current = e, H(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {
if (e.signal.aborted) return;
- let r = (n.items || []).find((e) => pU(e.code, t));
+ let r = (n.items || []).find((e) => mU(e.code, t));
i(r ? {
code: r.code,
title: String(r.catalog_title || r.name || ""),
@@ -64598,13 +64611,13 @@ function Ije({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
t,
"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"
] }) : null,
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
label: "按番号查找资源",
value: a,
maxLength: 80,
placeholder: "输入番号,按回车搜索",
enterKeyHint: "search",
- leadingIcon: y.busy ? Pje : jk,
+ leadingIcon: y.busy ? Fje : jk,
isReadOnly: !!y.busy,
"aria-busy": !!y.busy,
onChange: o,
@@ -64614,7 +64627,7 @@ function Ije({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, C.jsx)(wA, { children: "优先寻找" }), /* @__PURE__ */ (0, C.jsxs)(RP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(wA, { children: "优先寻找" }), /* @__PURE__ */ (0, C.jsxs)(zP, {
"aria-label": "优先寻找",
selectedKey: s,
isDisabled: !!y.busy,
@@ -64622,15 +64635,15 @@ function Ije({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
e !== null && c(String(e));
},
children: [
- /* @__PURE__ */ (0, C.jsx)(zP, {
+ /* @__PURE__ */ (0, C.jsx)(BP, {
id: "quality",
children: "高清"
}),
- /* @__PURE__ */ (0, C.jsx)(zP, {
+ /* @__PURE__ */ (0, C.jsx)(BP, {
id: "chinese",
children: "中字"
}),
- /* @__PURE__ */ (0, C.jsx)(zP, {
+ /* @__PURE__ */ (0, C.jsx)(BP, {
id: "uncensored",
children: "无码"
})
@@ -64639,12 +64652,12 @@ function Ije({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex gap-3 max-sm:flex-col",
- children: [/* @__PURE__ */ (0, C.jsx)($N, {
+ children: [/* @__PURE__ */ (0, C.jsx)(nP, {
label: "最小体积(GiB)",
inputMode: "decimal",
value: l,
onChange: u
- }), /* @__PURE__ */ (0, C.jsx)($N, {
+ }), /* @__PURE__ */ (0, C.jsx)(nP, {
label: "最大体积(GiB)",
inputMode: "decimal",
value: d,
@@ -64699,19 +64712,19 @@ function Ije({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}
//#endregion
//#region src/react/activity/cloud-download-dialog.tsx
-var Lje = {
+var Rje = {
submitted: "已提交离线下载,进度在任务中心",
adopted: "这个磁力已有任务,没有重复提交",
adopted_remote: "远端已有同一任务,已接管"
};
-function mU({ prefill: e, close: t, receipt: n, provider: r }) {
- return /* @__PURE__ */ (0, C.jsx)(eP, {
+function hU({ prefill: e, close: t, receipt: n, provider: r }) {
+ return /* @__PURE__ */ (0, C.jsx)(rP, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
},
width: "form",
- children: e ? /* @__PURE__ */ (0, C.jsx)(Rje, {
+ children: e ? /* @__PURE__ */ (0, C.jsx)(zje, {
prefill: e,
close: t,
receipt: n,
@@ -64719,14 +64732,14 @@ function mU({ prefill: e, close: t, receipt: n, provider: r }) {
}) : null
});
}
-function Rje({ prefill: e, close: t, receipt: n, provider: r }) {
+function zje({ prefill: e, close: t, receipt: n, provider: r }) {
let i = pt({
queryKey: WA,
queryFn: ({ signal: e }) => H(`${UA}?limit=50`, e),
refetchInterval: (e) => GA(e.state.data)
}), a = i.data, o = /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex items-center justify-between gap-4 px-5 pt-5",
- children: [/* @__PURE__ */ (0, C.jsx)(Ej, {
+ children: [/* @__PURE__ */ (0, C.jsx)(kj, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "查找资源"
@@ -64738,7 +64751,7 @@ function Rje({ prefill: e, close: t, receipt: n, provider: r }) {
onClick: t
})]
});
- return a ? /* @__PURE__ */ (0, C.jsx)(zje, {
+ return a ? /* @__PURE__ */ (0, C.jsx)(Bje, {
header: o,
snapshot: a,
prefill: e,
@@ -64767,7 +64780,7 @@ function Rje({ prefill: e, close: t, receipt: n, provider: r }) {
]
});
}
-function zje({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {
+function Bje({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {
let o = T(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, S.useState)(c?.key || "pikpak"), [d, f] = (0, S.useState)(""), [p, m] = (0, S.useState)(n.code ?? ""), [h, g] = (0, S.useState)(c?.target || ""), [_, v] = (0, S.useState)(n.code ? n : null), [y, b] = (0, S.useState)(""), x = t.available && s.some((e) => e.key === l), w = fA(), E = (0, S.useRef)(null), D = (e) => {
u(e), g(s.find((t) => t.key === e)?.target ?? "");
};
@@ -64786,7 +64799,7 @@ function zje({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
};
b(""), w.run("submit", (e) => U(UA, t, "POST", e), (e) => {
o.invalidateQueries({ queryKey: WA });
- let t = Lje[e.outcome];
+ let t = Rje[e.outcome];
if (e.ok && t) {
i(t), r();
return;
@@ -64823,22 +64836,22 @@ function zje({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
].filter(Boolean).join(" · ") }) : null]
})]
}) : null,
- /* @__PURE__ */ (0, C.jsx)(Ije, {
+ /* @__PURE__ */ (0, C.jsx)(Lje, {
initialCode: n.code ?? "",
reason: n.searchReason,
onSearch: (e) => {
- pU(e, _?.code) || (v(pU(e, n.code) ? n : null), f("")), m(e);
+ mU(e, _?.code) || (v(mU(e, n.code) ? n : null), f("")), m(e);
},
- onWork: (e) => v((t) => e ? pU(t?.code, e.code) ? {
+ onWork: (e) => v((t) => e ? mU(t?.code, e.code) ? {
...t,
...e,
origin: t?.origin || e.origin
- } : e : pU(t?.code, n.code) ? t : null),
+ } : e : mU(t?.code, n.code) ? t : null),
choose: (e, t) => {
f(e), m(t), E.current?.focus();
}
}),
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
ref: E,
label: "磁力链接",
placeholder: "magnet:?xt=urn:btih:…",
@@ -64851,14 +64864,14 @@ function zje({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
className: "flex flex-col gap-1",
children: [
/* @__PURE__ */ (0, C.jsx)(wA, { children: "下载到" }),
- /* @__PURE__ */ (0, C.jsx)(RP, {
+ /* @__PURE__ */ (0, C.jsx)(zP, {
"aria-label": "下载到",
selectedKey: l,
isDisabled: !s.length,
onSelectionChange: (e) => {
e !== null && D(String(e));
},
- children: s.map((e) => /* @__PURE__ */ (0, C.jsx)(zP, {
+ children: s.map((e) => /* @__PURE__ */ (0, C.jsx)(BP, {
id: e.key,
textValue: e.label,
children: /* @__PURE__ */ (0, C.jsx)(HA, {
@@ -64881,7 +64894,7 @@ function zje({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
children: "下载渠道设置"
})]
}),
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
label: "目标目录",
placeholder: "/云下载",
autoComplete: "off",
@@ -64889,14 +64902,14 @@ function zje({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
value: h,
onChange: g
}),
- n.code ? null : /* @__PURE__ */ (0, C.jsx)($N, {
+ n.code ? null : /* @__PURE__ */ (0, C.jsx)(nP, {
label: "番号",
placeholder: "可不填",
autoComplete: "off",
maxLength: 60,
value: p,
onChange: (e) => {
- m(e), pU(e, _?.code) || v(null);
+ m(e), mU(e, _?.code) || v(null);
}
}),
y || w.error ? /* @__PURE__ */ (0, C.jsx)(CA, { children: y || w.error }) : null
@@ -64920,18 +64933,18 @@ function zje({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
}
//#endregion
//#region src/react/wants/wants.ts
-var hU = "/api/wants", gU = ["wants"], Bje = (e) => [
+var gU = "/api/wants", _U = ["wants"], Vje = (e) => [
"wants",
"follow",
e
-], Vje = [
+], Hje = [
["searching", "待找"],
["unreleased", "未发售"],
["given_up", "暂时放弃"],
["acquired", "已入库"]
-], _U = (e) => H(hU, e);
-function Hje(e, t) {
- W.setQueryData(gU, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
+], vU = (e) => H(gU, e);
+function Uje(e, t) {
+ W.setQueryData(_U, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
...n,
items: n.items.map((n) => n.id === e ? {
...n,
@@ -64939,26 +64952,26 @@ function Hje(e, t) {
} : n)
} : n);
}
-var Uje = (e, t) => H(`${hU}?follow=${encodeURIComponent(e)}`, t), vU = (e, t) => U(hU, {
+var Wje = (e, t) => H(`${gU}?follow=${encodeURIComponent(e)}`, t), yU = (e, t) => U(gU, {
action: "add",
...e
-}, "POST", t), yU = (e, t) => U(hU, {
+}, "POST", t), bU = (e, t) => U(gU, {
action: "remove",
ids: e
-}, "POST", t), Wje = (e, t) => U(hU, {
+}, "POST", t), Gje = (e, t) => U(gU, {
action: "reset",
ids: e
-}, "POST", t), bU = () => W.invalidateQueries({ queryKey: gU }), xU = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
-function Gje(e) {
+}, "POST", t), xU = () => W.invalidateQueries({ queryKey: _U }), SU = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
+function Kje(e) {
return e.phase === "acquired" ? e.acquired_at ? `入库于 ${e.acquired_at.slice(0, 10)}` : "已入库" : e.phase === "unreleased" ? e.release_date ? `${e.release_date} 发售` : "还没发售" : e.phase === "given_up" ? `查过 ${e.search_count} 次都没找到` : e.fresh ? "新片:查不到也一直留在待找" : e.search_count ? `查过 ${e.search_count} 次` : "还没查过";
}
//#endregion
//#region src/react/publication-cache.ts
-var SU = 864e5, CU = (e) => {
+var CU = 864e5, wU = (e) => {
let t = new Date(e);
return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());
};
-function wU(e) {
+function TU(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));
@@ -64966,26 +64979,26 @@ function wU(e) {
let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();
return Date.UTC(n, r + 1, Math.min(i, o));
}
-function Kje(e, t = Date.now()) {
- let n = wU(e);
- return n !== void 0 && CU(t) > n ? Infinity : SU;
+function qje(e, t = Date.now()) {
+ let n = TU(e);
+ return n !== void 0 && wU(t) > n ? Infinity : CU;
}
-function TU(e, t, n = Date.now()) {
- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : Kje(t, n) === Infinity ? CU(e) > wU(t) : n - e < SU;
+function EU(e, t, n = Date.now()) {
+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : qje(t, n) === Infinity ? wU(e) > TU(t) : n - e < CU;
}
//#endregion
//#region src/react/wants/resource-cache.ts
-var EU = "peach.want-resources.v1";
-function DU(e) {
+var DU = "peach.want-resources.v1";
+function OU(e) {
return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);
}
-function OU(e, t, n) {
- return !!e && !e.cache_stale && (e.state === "error" || !DU(e) ? Date.now() - t < 6e4 : TU(t, n));
+function kU(e, t, n) {
+ return !!e && !e.cache_stale && (e.state === "error" || !OU(e) ? Date.now() - t < 6e4 : EU(t, n));
}
-function kU() {
+function AU() {
try {
- let e = JSON.parse(localStorage.getItem(EU) || "[]");
- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && DU(e.result) && e.result.items.every((e) => e && [
+ let e = JSON.parse(localStorage.getItem(DU) || "[]");
+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && OU(e.result) && e.result.items.every((e) => e && [
"magnet",
"ed2k",
"url"
@@ -64994,23 +65007,23 @@ function kU() {
return [];
}
}
-function qje(e, t) {
- let n = kU().find((t) => t.code === e);
- return n && TU(n.saved, t) ? n : void 0;
+function Jje(e, t) {
+ let n = AU().find((t) => t.code === e);
+ return n && EU(n.saved, t) ? n : void 0;
}
-function Jje(e) {
- let t = new Map(kU().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();
+function Yje(e) {
+ let t = new Map(AU().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 && TU(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
+ e && EU(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
}
return n;
}
-function Yje(e, t) {
- if (t.state === "ready" && DU(t)) try {
- let n = kU().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
- localStorage.setItem(EU, JSON.stringify([{
+function Xje(e, t) {
+ if (t.state === "ready" && OU(t)) try {
+ let n = AU().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
+ localStorage.setItem(DU, JSON.stringify([{
code: e,
saved: Number.isFinite(r) ? r : Date.now(),
result: t
@@ -65019,16 +65032,16 @@ function Yje(e, t) {
}
//#endregion
//#region src/react/wants/resource-display.ts
-function Xje(e) {
+function Zje(e) {
let t = /^([\d,]+)\s*B$/i.exec(e.trim());
return /^[\d,.]+$/.test(e.trim()) ? "大小未知" : t ? Qt(Number(t[1].replaceAll(",", ""))) : e || "大小未知";
}
-function Zje(e) {
+function Qje(e) {
return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;
}
//#endregion
//#region src/react/wants/want-magnets.tsx
-function AU({ icon: e, children: t, title: n }) {
+function jU({ icon: e, children: t, title: n }) {
return /* @__PURE__ */ (0, C.jsxs)("span", {
title: n,
className: "inline-flex items-center gap-1",
@@ -65038,8 +65051,8 @@ function AU({ icon: e, children: t, title: n }) {
}), t]
});
}
-function jU({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
- let s = (0, S.useRef)(null), [c, l] = (0, S.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, S.useState)([]), f = fA(), p = T(), m = (0, S.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, S.useMemo)(() => qje(h, e.release_date), [h, e.release_date]);
+function MU({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
+ let s = (0, S.useRef)(null), [c, l] = (0, S.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, S.useState)([]), f = fA(), p = T(), m = (0, S.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, S.useMemo)(() => Jje(h, e.release_date), [h, e.release_date]);
(0, S.useEffect)(() => {
if (!s.current || c) return;
let e = new IntersectionObserver((t) => {
@@ -65059,22 +65072,22 @@ function jU({ 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 H(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);
- return m.current = n && i.state === "busy", Yje(h, i), i;
+ return m.current = n && i.state === "busy", Xje(h, i), i;
},
initialData: g?.result,
initialDataUpdatedAt: g?.saved,
enabled: c,
retry: !1,
- staleTime: (t) => OU(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
+ staleTime: (t) => kU(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
gcTime: 864e5,
- refetchOnMount: (t) => !OU(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",
+ refetchOnMount: (t) => !kU(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, S.useEffect)(() => {
_.data?.source_url && a?.(_.data.source_url);
}, [_.data?.source_url, a]), (0, S.useEffect)(() => {
- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && Hje(e.id, _.data.items.some((e) => e.protocol === "magnet"));
+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && Uje(e.id, _.data.items.some((e) => e.protocol === "magnet"));
}, [
_.data,
o,
@@ -65127,7 +65140,7 @@ function jU({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}) : null,
_.data?.warnings?.map((e) => /* @__PURE__ */ (0, C.jsx)(q, {
tone: "neutral",
- children: Zje(e)
+ children: Qje(e)
}, e)),
_.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, C.jsx)(aA, {
variant: "secondary",
@@ -65172,25 +65185,25 @@ function jU({ 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, C.jsx)(AU, {
+ /* @__PURE__ */ (0, C.jsx)(jU, {
icon: sge,
children: e.source
}),
- /* @__PURE__ */ (0, C.jsx)(AU, {
+ /* @__PURE__ */ (0, C.jsx)(jU, {
icon: Dk,
title: `来源大小:${e.size}`,
- children: Xje(e.size)
+ children: Zje(e.size)
}),
- e.files ? /* @__PURE__ */ (0, C.jsx)(AU, {
+ e.files ? /* @__PURE__ */ (0, C.jsx)(jU, {
icon: Xhe,
children: e.files.replaceAll("個", "个")
}) : null,
- /* @__PURE__ */ (0, C.jsx)(AU, {
+ /* @__PURE__ */ (0, C.jsx)(jU, {
icon: Vhe,
title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",
children: e.date ? e.date.slice(0, 10) : "日期未知"
}),
- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, C.jsx)(AU, {
+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, C.jsx)(jU, {
icon: kk,
children: e
}, e))
@@ -65248,21 +65261,21 @@ function jU({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}
//#endregion
//#region src/react/wants/want-list.tsx
-var Qje = {
+var $je = {
code: "手动添加",
feed: "订阅新作",
follow: "关注"
-}, $je = [
+}, eMe = [
["all", "全部"],
["available", "有磁链"],
["missing", "没磁链"]
-], MU = (e) => [
+], NU = (e) => [
e.release_date,
e.studio,
e.performers,
- Qje[e.origin]
+ $je[e.origin]
].filter(Boolean).join(" · ");
-function eMe({ want: e }) {
+function tMe({ want: e }) {
return /* @__PURE__ */ (0, C.jsxs)("span", {
className: "relative inline-grid w-card-cover shrink-0 aspect-card-cover place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default max-sm:w-24",
children: [/* @__PURE__ */ (0, C.jsx)("span", {
@@ -65278,7 +65291,7 @@ function eMe({ want: e }) {
}) : null]
});
}
-function tMe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {
+function nMe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {
let [l, u] = (0, S.useState)(""), d = e.link || l || (e.code ? `https://javdb.com/search?q=${encodeURIComponent(e.code)}&f=all` : "");
return /* @__PURE__ */ (0, C.jsxs)("li", {
"data-want-id": e.id,
@@ -65288,29 +65301,29 @@ function tMe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
}),
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 items-start gap-4 max-sm:gap-3",
- children: [/* @__PURE__ */ (0, C.jsx)(eMe, { want: e }), /* @__PURE__ */ (0, C.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, C.jsx)(tMe, { want: e }), /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-1",
children: [
/* @__PURE__ */ (0, C.jsxs)("p", {
className: "flex min-w-0 flex-wrap items-baseline gap-x-2",
children: [/* @__PURE__ */ (0, C.jsx)("b", {
className: "min-w-0 text-headline-medium wrap-anywhere text-text-primary",
- children: xU(e)
+ children: SU(e)
}), e.code && e.title ? /* @__PURE__ */ (0, C.jsx)("span", {
className: "min-w-0 truncate text-body-2-regular text-text-secondary",
children: e.title
}) : null]
}),
- MU(e) ? /* @__PURE__ */ (0, C.jsx)("p", {
+ NU(e) ? /* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: MU(e)
+ children: NU(e)
}) : null,
!e.code || e.phase === "unreleased" || e.phase === "acquired" ? /* @__PURE__ */ (0, C.jsx)("p", {
"data-want-note": "",
className: "text-caption-1-regular text-text-secondary",
- children: Gje(e)
+ children: Kje(e)
}) : null,
- e.scrape_error ? /* @__PURE__ */ (0, C.jsx)(DH, {
+ e.scrape_error ? /* @__PURE__ */ (0, C.jsx)(OH, {
text: e.scrape_error,
prefix: "资料未取得:",
tone: "muted"
@@ -65355,7 +65368,7 @@ function tMe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
})
]
})]
- }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, C.jsx)(jU, {
+ }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, C.jsx)(MU, {
want: e,
readOnly: t,
downloads: o,
@@ -65365,8 +65378,8 @@ function tMe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
}) : null]
});
}
-function nMe({ phase: e, label: t, rows: n, row: r }) {
- let [i, a] = (0, S.useState)(1), [o, s] = (0, S.useState)("all"), c = Jje(n), l = (e) => e.has_magnets ?? c.get(e.code || "") ?? !1, u = n.filter(l), d = e !== "searching" || o === "all" ? n : n.filter((e) => l(e) === (o === "available")), f = sr(d.length, 20, i);
+function rMe({ phase: e, label: t, rows: n, row: r }) {
+ let [i, a] = (0, S.useState)(1), [o, s] = (0, S.useState)("all"), c = Yje(n), l = (e) => e.has_magnets ?? c.get(e.code || "") ?? !1, u = n.filter(l), d = e !== "searching" || o === "all" ? n : n.filter((e) => l(e) === (o === "available")), f = sr(d.length, 20, i);
return /* @__PURE__ */ (0, C.jsxs)("section", {
"aria-label": t,
"data-want-phase": e,
@@ -65380,19 +65393,19 @@ function nMe({ phase: e, label: t, rows: n, row: r }) {
className: "text-body-2-regular tabular-nums text-text-secondary",
children: n.length.toLocaleString()
})]
- }), e === "searching" ? /* @__PURE__ */ (0, C.jsx)(GP, {
+ }), e === "searching" ? /* @__PURE__ */ (0, C.jsx)(KP, {
name: "want-magnet-filter",
"aria-label": "待找磁链筛选",
orientation: "horizontal",
value: o,
- className: KP,
+ className: qP,
onChange: (e) => {
s(e), a(1);
},
- children: $je.map(([e, t]) => /* @__PURE__ */ (0, C.jsxs)(fN, {
+ children: eMe.map(([e, t]) => /* @__PURE__ */ (0, C.jsxs)(hN, {
value: e,
"aria-label": t,
- className: qP,
+ className: JP,
children: [t, /* @__PURE__ */ (0, C.jsx)("span", {
className: "text-caption-1-regular tabular-nums text-text-tertiary",
children: (e === "all" ? n.length : e === "available" ? u.length : n.length - u.length).toLocaleString()
@@ -65416,7 +65429,7 @@ function nMe({ phase: e, label: t, rows: n, row: r }) {
children: [/* @__PURE__ */ (0, C.jsx)("span", {
className: "text-body-2-regular tabular-nums text-text-secondary",
children: `${(f.start + 1).toLocaleString()}–${f.end.toLocaleString()} / ${f.total.toLocaleString()} 条`
- }), /* @__PURE__ */ (0, C.jsx)(pR, {
+ }), /* @__PURE__ */ (0, C.jsx)(mR, {
label: `${t}分页`,
page: f.page,
pages: f.pages,
@@ -65426,26 +65439,26 @@ function nMe({ phase: e, label: t, rows: n, row: r }) {
]
});
}
-function rMe({ readOnly: e, toast: t, query: n = "" }) {
+function iMe({ readOnly: e, toast: t, query: n = "" }) {
let [r, i] = (0, S.useState)(""), [a, o] = (0, S.useState)(null), s = fA(), c = pt({
- queryKey: gU,
- queryFn: ({ signal: e }) => _U(e),
+ queryKey: _U,
+ queryFn: ({ signal: e }) => vU(e),
staleTime: 3e4,
refetchInterval: (e) => e.state.data?.scraping ? 3e3 : !1
}), l = () => {
let n = r.trim();
- n && !e && s.run("add", (e) => vU({ code: n }, e), (e) => {
- t(e.created ? `已加入想要:${xU(e.want)}` : `${xU(e.want)} 已经在想要里`), i(""), bU();
+ n && !e && s.run("add", (e) => yU({ code: n }, e), (e) => {
+ t(e.created ? `已加入想要:${SU(e.want)}` : `${SU(e.want)} 已经在想要里`), i(""), xU();
});
}, u = (e) => {
e.key === "Enter" && !e.nativeEvent.isComposing && (e.preventDefault(), l());
}, d = (e) => {
- s.run(`remove:${e.id}`, (t) => yU([e.id], t), () => {
- t(`已移除:${xU(e)}`), bU();
+ s.run(`remove:${e.id}`, (t) => bU([e.id], t), () => {
+ t(`已移除:${SU(e)}`), xU();
});
}, f = (e) => {
- s.run(`reset:${e.id}`, (t) => Wje([e.id], t), () => {
- t(`${xU(e)} 回到待找`), bU();
+ s.run(`reset:${e.id}`, (t) => Gje([e.id], t), () => {
+ t(`${SU(e)} 回到待找`), xU();
});
}, p = c.data, m = (p?.items || []).filter((e) => !n || [
e.code,
@@ -65474,7 +65487,7 @@ function rMe({ readOnly: e, toast: t, query: n = "" }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, C.jsx)("div", {
className: "min-w-64 grow max-sm:min-w-0",
- children: /* @__PURE__ */ (0, C.jsx)($N, {
+ children: /* @__PURE__ */ (0, C.jsx)(nP, {
"aria-label": "番号",
placeholder: "输入番号,例如 SSIS-950",
value: r,
@@ -65505,7 +65518,7 @@ function rMe({ readOnly: e, toast: t, query: n = "" }) {
c.isPending ? /* @__PURE__ */ (0, C.jsx)("div", {
role: "status",
"aria-label": "正在读取想要",
- dangerouslySetInnerHTML: { __html: dU("wants") }
+ dangerouslySetInnerHTML: { __html: fU("wants") }
}) : null,
p?.scraping ? /* @__PURE__ */ (0, C.jsx)(SA, {
role: "status",
@@ -65533,13 +65546,13 @@ function rMe({ readOnly: e, toast: t, query: n = "" }) {
title: n ? "没有符合条件的作品" : "还没有想要的作品",
children: n ? "试试其他番号、女优或标题。" : "输入番号,添加想看的作品。"
}) : null,
- Vje.map(([n, r]) => {
+ Hje.map(([n, r]) => {
let i = m.filter((e) => e.phase === n);
- return i.length ? /* @__PURE__ */ (0, C.jsx)(nMe, {
+ return i.length ? /* @__PURE__ */ (0, C.jsx)(rMe, {
phase: n,
label: r,
rows: i,
- row: (n) => /* @__PURE__ */ (0, C.jsx)(tMe, {
+ row: (n) => /* @__PURE__ */ (0, C.jsx)(nMe, {
want: n,
readOnly: e,
busy: s.busy,
@@ -65560,7 +65573,7 @@ function rMe({ readOnly: e, toast: t, query: n = "" }) {
}, n.id)
}, n) : null;
}),
- /* @__PURE__ */ (0, C.jsx)(mU, {
+ /* @__PURE__ */ (0, C.jsx)(hU, {
prefill: a,
close: () => o(null),
receipt: t,
@@ -65571,13 +65584,13 @@ function rMe({ readOnly: e, toast: t, query: n = "" }) {
}
//#endregion
//#region src/react/jav/jav.ts
-var NU = (e, t = "taste", n = "desc") => [
+var PU = (e, t = "taste", n = "desc") => [
"jav-discoveries",
e,
t,
n
];
-function PU(e, t, n = {}) {
+function FU(e, t, n = {}) {
let r = new URLSearchParams({
scope: e,
limit: "100",
@@ -65586,29 +65599,29 @@ function PU(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"), H(`/api/jav/discoveries?${r}`, t);
}
-function FU(e, t, n) {
+function IU(e, t, n) {
let r = da({
...e,
is_jav: !0
}, t, !1, n);
return r.html || !e.cover_url ? r.html : la(e, t).replace(/ src="[^"]*"/, ` src="${B(e.cover_url)}" referrerpolicy="no-referrer" data-jav-image="${e.id}" data-jav-cover="${B(e.cover_url)}" data-jav-thumb="" data-jav-image-layout="${t}"${t === "big" ? " data-panel-prior=\"1\"" : ""}`);
}
-async function iMe(e, t) {
+async function aMe(e, t) {
e === "wants" ? await W.ensureQueryData({
- queryKey: gU,
- queryFn: () => _U(t),
+ queryKey: _U,
+ queryFn: () => vU(t),
staleTime: 3e4,
revalidateIfStale: !0
}) : e === "discover" && await W.ensureQueryData({
- queryKey: NU("external"),
- queryFn: () => PU("external", t),
+ queryKey: PU("external"),
+ queryFn: () => FU("external", t),
staleTime: 3e4,
revalidateIfStale: !0
});
}
//#endregion
//#region src/react/jav/jav-header.tsx
-function IU({ tab: e, navigate: t, find: n }) {
+function LU({ tab: e, navigate: t, find: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex w-full flex-col gap-4",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
@@ -65622,25 +65635,25 @@ function IU({ tab: e, navigate: t, find: n }) {
onClick: n,
children: "查找资源"
})]
- }), /* @__PURE__ */ (0, C.jsx)(WH, {
- tabs: iU.map(([e, t]) => ({
+ }), /* @__PURE__ */ (0, C.jsx)(GH, {
+ tabs: aU.map(([e, t]) => ({
value: e,
label: t
})),
value: e,
label: "JAV 分区",
className: "",
- onChange: (e) => t(Oje(e))
+ onChange: (e) => t(kje(e))
})]
});
}
-function aMe({ navigate: e, receipt: t }) {
+function oMe({ navigate: e, receipt: t }) {
let [n, r] = (0, S.useState)(null);
- return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(IU, {
+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(LU, {
tab: "library",
navigate: e,
find: () => r({})
- }), /* @__PURE__ */ (0, C.jsx)(mU, {
+ }), /* @__PURE__ */ (0, C.jsx)(hU, {
prefill: n,
close: () => r(null),
receipt: t
@@ -65648,8 +65661,8 @@ function aMe({ navigate: e, receipt: t }) {
}
//#endregion
//#region src/react/jav/jav-page.tsx
-var oMe = rP("search");
-function LU(e) {
+var sMe = oP("search");
+function RU(e) {
let t = new URLSearchParams(location.search);
for (let [n, r] of Object.entries(e)) r ? t.set(n, r) : t.delete(n);
pk(location.pathname + (t.size ? `?${t}` : ""), {
@@ -65657,14 +65670,14 @@ function LU(e) {
state: fk.navigation.location.state
});
}
-function sMe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
+function cMe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
let [i, a] = (0, S.useState)(null), [o, s] = (0, S.useState)(() => new URLSearchParams(location.search).get("q") || ""), c = (e) => {
- s(e), LU({ q: e });
+ s(e), RU({ q: e });
};
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex w-full flex-col gap-6",
children: [
- /* @__PURE__ */ (0, C.jsx)(IU, {
+ /* @__PURE__ */ (0, C.jsx)(LU, {
tab: e,
navigate: n,
find: () => a({})
@@ -65674,29 +65687,29 @@ function sMe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
onSubmit: (e) => {
e.preventDefault();
},
- children: /* @__PURE__ */ (0, C.jsx)($N, {
+ children: /* @__PURE__ */ (0, C.jsx)(nP, {
type: "search",
"aria-label": e === "discover" ? "筛选推荐" : "筛选想要",
placeholder: "筛选番号、女优或标题",
- leadingIcon: oMe,
+ leadingIcon: sMe,
value: o,
onChange: c,
enterKeyHint: "search"
})
}),
- e === "discover" ? /* @__PURE__ */ (0, C.jsx)(cMe, {
+ e === "discover" ? /* @__PURE__ */ (0, C.jsx)(lMe, {
readOnly: t,
receipt: r,
resource: a,
query: o.trim(),
navigate: n,
clearText: () => c("")
- }) : /* @__PURE__ */ (0, C.jsx)(rMe, {
+ }) : /* @__PURE__ */ (0, C.jsx)(iMe, {
readOnly: t,
toast: r,
query: o.trim()
}),
- /* @__PURE__ */ (0, C.jsx)(mU, {
+ /* @__PURE__ */ (0, C.jsx)(hU, {
prefill: i,
close: () => a(null),
receipt: r
@@ -65704,15 +65717,15 @@ function sMe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
]
});
}
-function cMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clearText: a }) {
- let o = new URLSearchParams(location.search), [s, c] = (0, S.useState)(() => o.get("scope") === "library" ? "library" : "external"), [l, u] = (0, S.useState)(() => o.get("tag") || ""), [d, f] = (0, S.useState)(() => oU.some(([e]) => e === o.get("sort")) ? o.get("sort") : "taste"), [p, m] = (0, S.useState)(() => o.get("dir") === "asc"), h = (e) => {
- c(e), LU({ scope: e === "external" ? "" : e });
+function lMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clearText: a }) {
+ let o = new URLSearchParams(location.search), [s, c] = (0, S.useState)(() => o.get("scope") === "library" ? "library" : "external"), [l, u] = (0, S.useState)(() => o.get("tag") || ""), [d, f] = (0, S.useState)(() => sU.some(([e]) => e === o.get("sort")) ? o.get("sort") : "taste"), [p, m] = (0, S.useState)(() => o.get("dir") === "asc"), h = (e) => {
+ c(e), RU({ scope: e === "external" ? "" : e });
}, g = (e) => {
- u(e), LU({ tag: e });
+ u(e), RU({ tag: e });
}, _ = (e) => {
- f(e), LU({ sort: e === "taste" ? "" : e });
+ f(e), RU({ sort: e === "taste" ? "" : e });
}, v = (e) => {
- m(e), LU({ dir: e ? "asc" : "" });
+ m(e), RU({ dir: e ? "asc" : "" });
}, y = (0, S.useRef)(null);
(0, S.useEffect)(() => {
let e = [...y.current?.querySelectorAll("[data-catalog-scroll],[data-catalog-tags],[data-filter-row=\"bottom\"]") || []].map((e) => Qo(e, { drag: !0 }));
@@ -65725,12 +65738,12 @@ function cMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
home: !1,
portrait: !1
})), T = (0, S.useRef)({}), E = (0, S.useRef)(!1), D = (0, S.useRef)(!1), O = p ? "asc" : "desc", k = pt({
- queryKey: NU(s, d, O),
+ queryKey: PU(s, d, O),
retry: !1,
refetchOnWindowFocus: !1,
queryFn: ({ signal: e }) => {
let t = E.current, n = D.current;
- return E.current = !1, D.current = !1, PU(s, e, {
+ return E.current = !1, D.current = !1, FU(s, e, {
sort: d,
direction: O,
jobId: t ? void 0 : T.current[s],
@@ -65762,7 +65775,7 @@ function cMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
"aria-busy": ee,
className: "flex min-w-0 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, C.jsx)(ej, {
+ /* @__PURE__ */ (0, C.jsx)(rj, {
label: "发现筛选与排序",
topLabel: "发现范围与标签",
attrs: {
@@ -65777,7 +65790,7 @@ function cMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
"data-catalog-scroll": "",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
"data-catalog-views": "",
- children: [[["external", "库外发现"], ["library", "馆藏探索"]].map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(tj, {
+ children: [[["external", "库外发现"], ["library", "馆藏探索"]].map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(ij, {
"data-entity-tag": e,
"data-entity-press": "",
pressed: s === e,
@@ -65791,8 +65804,8 @@ function cMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
})]
}), /* @__PURE__ */ (0, C.jsx)("div", {
"data-catalog-tags": "",
- dangerouslySetInnerHTML: ee ? { __html: uU() } : void 0,
- children: ee ? null : F.map((e) => /* @__PURE__ */ (0, C.jsxs)(tj, {
+ dangerouslySetInnerHTML: ee ? { __html: dU() } : void 0,
+ children: ee ? null : F.map((e) => /* @__PURE__ */ (0, C.jsxs)(ij, {
"data-catalog-tag": e,
"data-entity-press": "",
pressed: l === e,
@@ -65813,8 +65826,8 @@ function cMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
className: "relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"
}) : `${I.length} 部`
}),
- /* @__PURE__ */ (0, C.jsx)(gP, { currentHref: () => location.pathname + location.search }),
- r || l ? /* @__PURE__ */ (0, C.jsx)(nj, {
+ /* @__PURE__ */ (0, C.jsx)(yP, { currentHref: () => location.pathname + location.search }),
+ r || l ? /* @__PURE__ */ (0, C.jsx)(aj, {
onPress: () => {
g(""), a();
},
@@ -65834,14 +65847,14 @@ function cMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
onClick: () => N(A?.status === "running" ? "stop" : "update"),
dangerouslySetInnerHTML: { __html: M.busy ? vo("正在更新资料") : z(A?.status === "running" ? "x" : "refresh-cw") }
}) : null,
- /* @__PURE__ */ (0, C.jsx)(_F, {
+ /* @__PURE__ */ (0, C.jsx)(vF, {
label: "JAV 卡片版式",
value: x,
options: mE,
onChange: Gle
}),
- /* @__PURE__ */ (0, C.jsx)(yF, {
- sorts: oU.map(([e, t, n]) => ({
+ /* @__PURE__ */ (0, C.jsx)(bF, {
+ sorts: sU.map(([e, t, n]) => ({
key: e,
label: t,
ariaLabel: n,
@@ -65859,7 +65872,7 @@ function cMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
ee ? /* @__PURE__ */ (0, C.jsx)("div", {
role: "status",
"aria-label": "正在读取推荐",
- dangerouslySetInnerHTML: { __html: dU("discover", x) }
+ dangerouslySetInnerHTML: { __html: fU("discover", x) }
}) : null,
k.error ? /* @__PURE__ */ (0, C.jsx)(q, {
tone: "error",
@@ -65869,7 +65882,7 @@ function cMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
s === "external" && A?.status === "running" ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-jav-metadata": "",
className: "min-w-0",
- children: /* @__PURE__ */ (0, C.jsx)(nB, {
+ children: /* @__PURE__ */ (0, C.jsx)(rB, {
embedded: !0,
label: `正在读取作品资料 · ${A.completed} / ${A.total} 部`,
value: A.completed,
@@ -65907,13 +65920,13 @@ function cMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
}) : null,
/* @__PURE__ */ (0, C.jsx)("div", {
"data-media-grid": "",
- className: lU,
+ className: uU,
style: { "--card-ratio": w },
children: I.map((r) => {
- let a = r.performer_refs?.length ? r.performer_refs.map((e) => e.name).join("、") : r.performers, o = FU(r, x, b.value.javImage), s = Aje(r.taste_score ?? r.score), c = [
+ let a = r.performer_refs?.length ? r.performer_refs.map((e) => e.name).join("、") : r.performers, o = IU(r, x, b.value.javImage), s = jje(r.taste_score ?? r.score), c = [
s.label,
- `口味 ${sU(r.taste_score ?? r.score)}`,
- k.data?.ranking_method === "mmr" && r.ranking_score != null ? `排序 ${sU(r.ranking_score)}` : "",
+ `口味 ${cU(r.taste_score ?? r.score)}`,
+ k.data?.ranking_method === "mmr" && r.ranking_score != null ? `排序 ${cU(r.ranking_score)}` : "",
r.source_score == null ? "" : `来源评分 ${r.source_score.toFixed(1)} / 5`,
...r.reasons || []
].filter(Boolean).join(" · ");
@@ -65933,12 +65946,12 @@ function cMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
"data-media-pic": "",
"data-jav-cover-box": "",
className: "relative inline-grid place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default",
- children: o ? /* @__PURE__ */ (0, C.jsx)(TF, {
+ children: o ? /* @__PURE__ */ (0, C.jsx)(EF, {
artwork: {
kind: "cover",
html: o
},
- identity: FU(r, "small", b.value.javImage),
+ identity: IU(r, "small", b.value.javImage),
relayout: (e) => ac(e, x)
}) : /* @__PURE__ */ (0, C.jsx)("span", {
"data-media-nopic": "",
@@ -65947,7 +65960,7 @@ function cMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
"data-media-meta": "",
- children: [/* @__PURE__ */ (0, C.jsx)(Dje, { item: r }), /* @__PURE__ */ (0, C.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, C.jsx)(Oje, { item: r }), /* @__PURE__ */ (0, C.jsxs)("div", {
"data-media-text": "",
children: [
/* @__PURE__ */ (0, C.jsxs)("h3", {
@@ -66042,8 +66055,8 @@ function cMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
disabled: e || r.wanted || !!r.asset_id,
...J(j.busy === String(r.id)),
onClick: () => {
- j.run(String(r.id), (e) => vU({ code: r.code }, e), () => {
- t("已加入想要"), bU(), k.refetch();
+ j.run(String(r.id), (e) => yU({ code: r.code }, e), () => {
+ t("已加入想要"), xU(), k.refetch();
});
},
children: r.asset_id ? "已入库" : r.wanted ? "已加入想要" : "想要"
@@ -66068,12 +66081,12 @@ function cMe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var RU = "flex min-h-10 flex-wrap items-center justify-center gap-x-4 gap-y-2 border-y px-6 py-2 max-sm:justify-start", lMe = {
- gray: `${RU} border-separator-border bg-background-secondary-default text-text-secondary`,
- warning: `${RU} border-current/35 bg-status-yellow-background text-status-yellow-text`,
- error: `${RU} border-current/35 bg-background-tertiary-error text-text-error-primary`
+var zU = "flex min-h-10 flex-wrap items-center justify-center gap-x-4 gap-y-2 border-y px-6 py-2 max-sm:justify-start", uMe = {
+ gray: `${zU} border-separator-border bg-background-secondary-default text-text-secondary`,
+ warning: `${zU} border-current/35 bg-status-yellow-background text-status-yellow-text`,
+ error: `${zU} border-current/35 bg-background-tertiary-error text-text-error-primary`
};
-function uMe({ value: e, max: t }) {
+function dMe({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, C.jsxs)("svg", {
role: "progressbar",
@@ -66101,16 +66114,16 @@ function uMe({ value: e, max: t }) {
})]
});
}
-function dMe(e) {
- let { job: t } = rB(e), n = t.data, r = t.isError ? n ? fI : V(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
+function fMe(e) {
+ let { job: t } = iB(e), n = t.data, r = t.isError ? n ? pI : V(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
if (!r && !o && !a) return null;
- let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.total || 0, l = Math.min(n?.checked || 0, c), u = r || (a ? "扫描与资料采集未完成" : hI(n) + (c ? ` · ${LA(l, c)}` : "")), d = s === "gray" ? ige : Khe;
+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.total || 0, l = Math.min(n?.checked || 0, c), u = r || (a ? "扫描与资料采集未完成" : gI(n) + (c ? ` · ${LA(l, c)}` : "")), d = s === "gray" ? ige : Khe;
return /* @__PURE__ */ (0, C.jsxs)("aside", {
role: a ? "alert" : "status",
- className: lMe[s],
+ className: uMe[s],
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [o && c ? /* @__PURE__ */ (0, C.jsx)(uMe, {
+ children: [o && c ? /* @__PURE__ */ (0, C.jsx)(dMe, {
value: l,
max: c
}) : /* @__PURE__ */ (0, C.jsx)(d, {
@@ -66130,32 +66143,32 @@ function dMe(e) {
}
//#endregion
//#region src/react/playlists/playlists.ts
-var fMe = "/api/playlists", zU = "/api/playlist", BU = ["playlists"], VU = (e) => H(fMe, e);
-async function pMe(e) {
+var pMe = "/api/playlists", BU = "/api/playlist", VU = ["playlists"], HU = (e) => H(pMe, e);
+async function mMe(e) {
await W.fetchQuery({
- queryKey: BU,
- queryFn: () => VU(e),
+ queryKey: VU,
+ queryFn: () => HU(e),
staleTime: 0
});
}
-var HU = () => W.invalidateQueries({
- queryKey: BU,
+var UU = () => W.invalidateQueries({
+ queryKey: VU,
exact: !0
-}), mMe = (e) => e.current_asset_id || e.preview_asset_id || null, UU = (e) => `/poster?id=${e}&c=4`, hMe = (e) => U(zU, {
+}), hMe = (e) => e.current_asset_id || e.preview_asset_id || null, WU = (e) => `/poster?id=${e}&c=4`, gMe = (e) => U(BU, {
action: "create",
name: e,
asset_ids: []
-}), WU = (e, t) => U(zU, {
+}), GU = (e, t) => U(BU, {
action: "rename",
id: e,
name: t
-}), GU = (e) => U(zU, {
+}), KU = (e) => U(BU, {
action: "delete",
id: e
-}), gMe = (e) => H(`${zU}?id=${e}`).catch(() => null);
-function _Me(e) {
+}), _Me = (e) => H(`${BU}?id=${e}`).catch(() => null);
+function vMe(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return U(zU, {
+ return U(BU, {
action: "create",
name: e.name,
asset_ids: t,
@@ -66165,18 +66178,18 @@ function _Me(e) {
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var vMe = rP("ellipsis"), yMe = rP("pencil"), bMe = rP("trash"), xMe = rP("playlist"), KU = eA(xP, SP, "text-body-2-medium"), qU = "播放列表名称不能为空", JU = (e) => async () => {
+var yMe = oP("ellipsis"), bMe = oP("pencil"), xMe = oP("trash"), SMe = oP("playlist"), qU = eA(wP, TP, "text-body-2-medium"), JU = "播放列表名称不能为空", YU = (e) => async () => {
try {
await e();
} finally {
- HU();
+ UU();
}
};
-function SMe({ toast: e }) {
+function CMe({ toast: e }) {
let [t, n] = (0, S.useState)(""), [r, i] = (0, S.useState)(""), a = mt({
- mutationFn: (e) => hMe(e),
+ mutationFn: (e) => gMe(e),
onSuccess: (t) => {
- n(""), i(""), HU(), e("已新建播放列表", { undo: JU(() => GU(t.playlist.id)) });
+ n(""), i(""), UU(), e("已新建播放列表", { undo: YU(() => KU(t.playlist.id)) });
},
onError: (e) => i(V(e) || "新建失败")
});
@@ -66184,12 +66197,12 @@ function SMe({ toast: e }) {
"data-playlist-create": "",
"aria-label": "新建播放列表",
onSubmit: (e) => {
- e.preventDefault(), !a.isPending && (t.trim() ? a.mutate(t) : i(qU));
+ e.preventDefault(), !a.isPending && (t.trim() ? a.mutate(t) : i(JU));
},
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, C.jsx)("div", {
className: "min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none",
- children: /* @__PURE__ */ (0, C.jsx)($N, {
+ children: /* @__PURE__ */ (0, C.jsx)(nP, {
label: "新播放列表",
placeholder: "输入名称",
maxLength: 80,
@@ -66208,7 +66221,7 @@ function SMe({ toast: e }) {
})]
});
}
-function CMe({ target: e, close: t, toast: n }) {
+function wMe({ target: e, close: t, toast: n }) {
let [r, i] = (0, S.useState)(""), [a, o] = (0, S.useState)(""), s = (0, S.useRef)(null);
(0, S.useEffect)(() => {
if (!e) return;
@@ -66219,13 +66232,13 @@ function CMe({ target: e, close: t, toast: n }) {
return () => cancelAnimationFrame(t);
}, [e]);
let c = mt({
- mutationFn: ({ row: e, value: t }) => WU(e.id, t),
+ mutationFn: ({ row: e, value: t }) => GU(e.id, t),
onSuccess: (e, { row: r }) => {
- t(), HU(), n("已重命名播放列表", { undo: JU(() => WU(r.id, r.name)) });
+ t(), UU(), n("已重命名播放列表", { undo: YU(() => GU(r.id, r.name)) });
},
onError: (e) => o(V(e))
});
- return /* @__PURE__ */ (0, C.jsx)(eP, {
+ return /* @__PURE__ */ (0, C.jsx)(rP, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
@@ -66239,16 +66252,16 @@ function CMe({ target: e, close: t, toast: n }) {
n ? c.mutate({
row: e,
value: n
- }) : o(qU);
+ }) : o(JU);
},
className: "flex min-h-0 flex-col",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-4 p-5",
- children: [/* @__PURE__ */ (0, C.jsx)(Ej, {
+ children: [/* @__PURE__ */ (0, C.jsx)(kj, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "编辑名称"
- }), /* @__PURE__ */ (0, C.jsx)($N, {
+ }), /* @__PURE__ */ (0, C.jsx)(nP, {
ref: s,
label: "名称",
placeholder: "输入名称",
@@ -66276,7 +66289,7 @@ function CMe({ target: e, close: t, toast: n }) {
})
});
}
-function wMe({ name: e, onRename: t, onDelete: n }) {
+function TMe({ name: e, onRename: t, onDelete: n }) {
let r = (0, S.useRef)(null), [i, a] = (0, S.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -66290,33 +66303,33 @@ function wMe({ name: e, onRename: t, onDelete: n }) {
"data-playlist-menu": "",
onClick: () => a(!0),
className: "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-2lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary aria-expanded:bg-background-primary-hover aria-expanded:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, C.jsx)(vMe, {
+ children: /* @__PURE__ */ (0, C.jsx)(yMe, {
"aria-hidden": !0,
className: "size-4.5"
})
- }), /* @__PURE__ */ (0, C.jsx)(GM, {
+ }), /* @__PURE__ */ (0, C.jsx)(JM, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: bP,
- children: /* @__PURE__ */ (0, C.jsxs)(_I, {
+ className: CP,
+ children: /* @__PURE__ */ (0, C.jsxs)(vI, {
"aria-label": `播放列表操作:${e}`,
className: "flex w-37.5 flex-col gap-0.5 outline-none",
children: [/* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
- className: KU,
+ className: qU,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, C.jsx)(yMe, {
+ children: [/* @__PURE__ */ (0, C.jsx)(bMe, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "编辑名称"]
}), /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
- className: KU,
+ className: qU,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, C.jsx)(bMe, {
+ children: [/* @__PURE__ */ (0, C.jsx)(xMe, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "删除播放列表"]
@@ -66324,13 +66337,13 @@ function wMe({ name: e, onRename: t, onDelete: n }) {
})
})] });
}
-function TMe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {
+function EMe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {
let a = pt({
- queryKey: BU,
- queryFn: ({ signal: e }) => VU(e)
+ queryKey: VU,
+ queryFn: ({ signal: e }) => HU(e)
}), [o, s] = (0, S.useState)(null), c = (0, S.useRef)(i);
(0, S.useEffect)(() => {
- c.current !== i && (c.current = i, HU());
+ c.current !== i && (c.current = i, UU());
}, [i]);
let l = a.data, u = l?.items ?? [], d = (e) => {
Es({
@@ -66339,8 +66352,8 @@ function TMe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
confirmLabel: "删除播放列表",
danger: !0,
onConfirm: async () => {
- let t = await gMe(e.id);
- await GU(e.id), HU(), r("已删除播放列表", t ? { undo: JU(() => _Me(t)) } : void 0);
+ let t = await _Me(e.id);
+ await KU(e.id), UU(), r("已删除播放列表", t ? { undo: YU(() => vMe(t)) } : void 0);
}
});
};
@@ -66355,7 +66368,7 @@ function TMe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
}), /* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "保存 Mix,按自己的顺序继续播放。"
- })] }), /* @__PURE__ */ (0, C.jsx)(SMe, { toast: r })]
+ })] }), /* @__PURE__ */ (0, C.jsx)(CMe, { toast: r })]
}),
/* @__PURE__ */ (0, C.jsx)("div", {
className: "mx-auto w-full max-w-board",
@@ -66363,20 +66376,20 @@ function TMe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
"data-playlist-grid": "",
className: "card-grid-cover gap-4.5",
children: u.map((r) => {
- let i = mMe(r), a = r.name.trim() || "未命名播放列表";
- return /* @__PURE__ */ (0, C.jsx)(RF, {
+ let i = hMe(r), a = r.name.trim() || "未命名播放列表";
+ return /* @__PURE__ */ (0, C.jsx)(zF, {
"data-playlist-card": String(r.id),
name: a,
caption: r.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",
count: r.item_count,
- poster: r.preview_asset_id ? UU(r.preview_asset_id) : null,
- flipImages: async () => (r.preview_ids || []).map(UU),
+ poster: r.preview_asset_id ? WU(r.preview_asset_id) : null,
+ flipImages: async () => (r.preview_ids || []).map(WU),
canFlip: n,
faces: r.faces || [],
onOpenEntity: t,
...i ? { onOpen: () => e(r.id, i) } : {},
openLabel: `打开播放列表 ${a}`,
- menu: /* @__PURE__ */ (0, C.jsx)(wMe, {
+ menu: /* @__PURE__ */ (0, C.jsx)(TMe, {
name: a,
onRename: () => s(r),
onDelete: () => d(r)
@@ -66384,15 +66397,15 @@ function TMe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
}, r.id);
})
}) : /* @__PURE__ */ (0, C.jsx)(sA, {
- icon: xMe,
+ icon: SMe,
title: "还没有播放列表",
children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
- }) : a.isError ? /* @__PURE__ */ (0, C.jsx)(wF, {
+ }) : a.isError ? /* @__PURE__ */ (0, C.jsx)(TF, {
message: V(a.error) || "播放列表读取失败",
onRetry: () => void a.refetch()
}) : null
}),
- /* @__PURE__ */ (0, C.jsx)(CMe, {
+ /* @__PURE__ */ (0, C.jsx)(wMe, {
target: o,
close: () => s(null),
toast: r
@@ -66402,7 +66415,7 @@ function TMe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
}
//#endregion
//#region src/react/quality-goals/quality-goals-page.tsx
-function EMe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {
+function DMe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {
let o = () => t(e.id);
return /* @__PURE__ */ (0, C.jsxs)("li", {
"data-goal-id": e.id,
@@ -66422,7 +66435,7 @@ function EMe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
className: "text-caption-1-regular text-text-secondary",
children: "暂无预览"
}), /* @__PURE__ */ (0, C.jsx)("img", {
- src: FR(e),
+ src: IR(e),
alt: "",
loading: "lazy",
onError: (e) => e.currentTarget.remove(),
@@ -66470,7 +66483,7 @@ function EMe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
origin: `asset:${e.id}`,
searchReason: e.reason || "",
duration: e.duration,
- cover: FR(e)
+ cover: IR(e)
}),
children: "查找资源"
}) : null, /* @__PURE__ */ (0, C.jsx)(K, {
@@ -66482,10 +66495,10 @@ function EMe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
})]
});
}
-function DMe({ toast: e, ...t }) {
+function OMe({ toast: e, ...t }) {
let [n, r] = (0, S.useState)(null), i = pt({
- queryKey: NR,
- queryFn: ({ signal: e }) => PR(e)
+ queryKey: PR,
+ queryFn: ({ signal: e }) => FR(e)
}), a = i.data;
if (!a) return /* @__PURE__ */ (0, C.jsx)(lA, { children: /* @__PURE__ */ (0, C.jsx)(q, {
tone: "error",
@@ -66494,14 +66507,14 @@ function DMe({ toast: e, ...t }) {
}) });
let o = a.items || [];
return o.length ? /* @__PURE__ */ (0, C.jsxs)(lA, { children: [
- /* @__PURE__ */ (0, C.jsx)(fH, {
+ /* @__PURE__ */ (0, C.jsx)(pH, {
label: "待升级",
figure: `${Number(a.total || 0).toLocaleString()} 部作品`,
flush: !0
}),
/* @__PURE__ */ (0, C.jsx)("ul", {
className: "card-grid-cover gap-5",
- children: o.map((e) => /* @__PURE__ */ (0, C.jsx)(EMe, {
+ children: o.map((e) => /* @__PURE__ */ (0, C.jsx)(DMe, {
item: e,
...t,
searchResources: r
@@ -66511,7 +66524,7 @@ function DMe({ toast: e, ...t }) {
className: "mt-6 text-center text-caption-1-regular text-text-secondary",
children: `显示前 ${o.length.toLocaleString()} 部,共 ${Number(a.total).toLocaleString()} 部。`
}) : null,
- /* @__PURE__ */ (0, C.jsx)(mU, {
+ /* @__PURE__ */ (0, C.jsx)(hU, {
prefill: n,
close: () => r(null),
receipt: e
@@ -66525,8 +66538,8 @@ function DMe({ toast: e, ...t }) {
}
//#endregion
//#region src/react/review/bulk-toolbar.tsx
-function OMe(e) {
- let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: o, pageKeys: s, selected: c, onSelected: l, selectedRows: u, metadata: d, approvable: f, busy: p, feedback: m, onUnifySource: h, onRun: g } = e, _ = s.filter((e) => c.has(e)), v = _.length > 0 && _.length === s.length, y = kTe(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
+function kMe(e) {
+ let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: o, pageKeys: s, selected: c, onSelected: l, selectedRows: u, metadata: d, approvable: f, busy: p, feedback: m, onUnifySource: h, onRun: g } = e, _ = s.filter((e) => c.has(e)), v = _.length > 0 && _.length === s.length, y = ATe(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("div", {
role: "group",
"aria-label": "复核筛选",
@@ -66534,29 +66547,29 @@ function OMe(e) {
"data-glass-pane": "",
className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",
children: [
- /* @__PURE__ */ (0, C.jsx)(RP, {
+ /* @__PURE__ */ (0, C.jsx)(zP, {
"aria-label": "筛选分组方式",
size: "sm",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: t.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(zP, {
+ children: t.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(BP, {
id: e,
children: t
}, e))
}),
- i.length > 1 ? /* @__PURE__ */ (0, C.jsxs)(RP, {
+ i.length > 1 ? /* @__PURE__ */ (0, C.jsxs)(zP, {
"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",
size: "sm",
selectedKey: a || "*",
onSelectionChange: (e) => {
e !== null && o(String(e) === "*" ? "" : String(e));
},
- children: [/* @__PURE__ */ (0, C.jsx)(zP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(BP, {
id: "*",
children: "全部分类"
- }), i.map((e) => /* @__PURE__ */ (0, C.jsx)(zP, {
+ }), i.map((e) => /* @__PURE__ */ (0, C.jsx)(BP, {
id: e.key,
children: `${e.title} · ${e.rows.length}`
}, e.key))]
@@ -66580,7 +66593,7 @@ function OMe(e) {
visible: c.size > 0,
count: `已选 ${c.size} 项`,
children: [
- b ? /* @__PURE__ */ (0, C.jsxs)(RP, {
+ b ? /* @__PURE__ */ (0, C.jsxs)(zP, {
"aria-label": "统一选择来源",
size: "sm",
selectedKey: "",
@@ -66588,10 +66601,10 @@ function OMe(e) {
onSelectionChange: (e) => {
e !== null && e !== "" && h(String(e));
},
- children: [/* @__PURE__ */ (0, C.jsx)(zP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(BP, {
id: "",
children: x
- }), y.map((e) => /* @__PURE__ */ (0, C.jsx)(zP, {
+ }), y.map((e) => /* @__PURE__ */ (0, C.jsx)(BP, {
id: e,
children: e
}, e))]
@@ -66627,7 +66640,7 @@ function OMe(e) {
}
//#endregion
//#region src/react/review/candidate-form.tsx
-var kMe = {
+var AMe = {
title: "标题",
original_title: "原标题",
runtime: "来源时长",
@@ -66637,14 +66650,14 @@ var kMe = {
cover_url: "封面",
screenshot_urls: "截图",
trailer_url: "预告片"
-}, YU = "reviewgenretags";
-function AMe({ tags: e }) {
+}, XU = "reviewgenretags";
+function jMe({ tags: e }) {
return e.length ? /* @__PURE__ */ (0, C.jsx)("datalist", {
- id: YU,
+ id: XU,
children: e.map((e) => /* @__PURE__ */ (0, C.jsx)("option", { value: e }, e))
}) : null;
}
-function XU({ candidate: e, selectable: t = !1 }) {
+function ZU({ candidate: e, selectable: t = !1 }) {
let n = Object.entries(e.catalog_evidence || {}).filter(([, e]) => e && e.display_value), r = e.content_id || e.provider_id;
return /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 flex-1 flex-col",
@@ -66681,7 +66694,7 @@ function XU({ candidate: e, selectable: t = !1 }) {
children: [
/* @__PURE__ */ (0, C.jsx)("dt", {
className: "text-body-2-regular text-text-secondary",
- children: kMe[e] || e
+ children: AMe[e] || e
}),
/* @__PURE__ */ (0, C.jsx)("dd", {
className: "min-w-0 text-body-2-regular break-words text-text-primary",
@@ -66696,32 +66709,32 @@ function XU({ candidate: e, selectable: t = !1 }) {
}) : null]
});
}
-function jMe({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
+function MMe({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
let a = e.candidates || [];
return a.length ? a.length === 1 ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",
- children: /* @__PURE__ */ (0, C.jsx)(XU, { candidate: a[0] })
- }) : /* @__PURE__ */ (0, C.jsx)(dN, {
+ children: /* @__PURE__ */ (0, C.jsx)(ZU, { candidate: a[0] })
+ }) : /* @__PURE__ */ (0, C.jsx)(mN, {
"aria-label": `${t || "候选"}的来源`,
value: n,
isDisabled: i,
onChange: r,
className: "flex flex-col gap-2",
- children: a.map((e) => /* @__PURE__ */ (0, C.jsx)(fN, {
+ children: a.map((e) => /* @__PURE__ */ (0, C.jsx)(hN, {
value: e.candidate_key,
className: "group flex cursor-pointer items-center gap-2 overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:border-border-button-active data-disabled:cursor-not-allowed",
- children: /* @__PURE__ */ (0, C.jsx)(XU, {
+ children: /* @__PURE__ */ (0, C.jsx)(ZU, {
candidate: e,
selectable: !0
})
}, e.candidate_key))
}) : null;
}
-function MMe({ genre: e, tags: t, locked: n, toast: r }) {
+function NMe({ genre: e, tags: t, locked: n, toast: r }) {
let [i, a] = (0, S.useState)(""), [o, s] = (0, S.useState)(""), c = mt({
- mutationFn: (t) => LTe(e, t),
+ mutationFn: (t) => RTe(e, t),
onSuccess: async (t, n) => {
- t.ok ? (r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await zTe()) : s(t.error || "服务端拒绝了这次收录");
+ t.ok ? (r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await BTe()) : s(t.error || "服务端拒绝了这次收录");
},
onError: (e) => s(V(e))
}), l = () => {
@@ -66736,16 +66749,16 @@ function MMe({ genre: e, tags: t, locked: n, toast: r }) {
className: "text-body-medium text-text-primary",
children: e
}),
- /* @__PURE__ */ (0, C.jsx)(XN, {
+ /* @__PURE__ */ (0, C.jsx)($N, {
"aria-label": `「${e}」收录成的中文标签`,
value: i,
onChange: a,
maxLength: 40,
isDisabled: n || c.isPending,
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, C.jsx)(QN, {
+ children: /* @__PURE__ */ (0, C.jsx)(tP, {
size: "small",
- list: t.length ? YU : void 0,
+ list: t.length ? XU : void 0,
autoComplete: "off",
placeholder: "中文标签",
onKeyDown: (e) => {
@@ -66777,8 +66790,8 @@ function MMe({ genre: e, tags: t, locked: n, toast: r }) {
]
});
}
-function NMe({ row: e, tags: t, locked: n, toast: r }) {
- let i = PTe(e);
+function PMe({ row: e, tags: t, locked: n, toast: r }) {
+ let i = FTe(e);
return i.length ? /* @__PURE__ */ (0, C.jsxs)("div", {
role: "group",
"aria-label": "未收录 genre",
@@ -66786,7 +66799,7 @@ function NMe({ row: e, tags: t, locked: n, toast: r }) {
children: [/* @__PURE__ */ (0, C.jsx)("h5", {
className: "text-body-2-medium text-text-secondary",
children: `未收录 genre · ${i.length}`
- }), i.map((e) => /* @__PURE__ */ (0, C.jsx)(MMe, {
+ }), i.map((e) => /* @__PURE__ */ (0, C.jsx)(NMe, {
genre: e,
tags: t,
locked: n,
@@ -66796,12 +66809,12 @@ function NMe({ row: e, tags: t, locked: n, toast: r }) {
}
//#endregion
//#region src/react/review/review-evidence.tsx
-var ZU = (e = "") => /^https?:\/\//i.test(e) ? e : "", PMe = (e = "") => ZU(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
-function QU({ url: e }) {
- let t = PMe(e || "");
- return /* @__PURE__ */ (0, C.jsx)(FMe, { source: t }, t);
+var QU = (e = "") => /^https?:\/\//i.test(e) ? e : "", FMe = (e = "") => QU(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+function $U({ url: e }) {
+ let t = FMe(e || "");
+ return /* @__PURE__ */ (0, C.jsx)(IMe, { source: t }, t);
}
-function FMe({ source: e }) {
+function IMe({ source: e }) {
let [t, n] = (0, S.useState)("idle");
return (0, S.useEffect)(() => {
if (t !== "loading") return;
@@ -66838,7 +66851,7 @@ function FMe({ source: e }) {
})]
});
}
-function $U({ asset: e, openItem: t }) {
+function eW({ asset: e, openItem: t }) {
let n = e.name || "";
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",
@@ -66871,14 +66884,14 @@ function $U({ asset: e, openItem: t }) {
})]
});
}
-function IMe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
+function LMe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"aria-label": `打开创作者页:${t}`,
onClick: () => i(e, t),
- className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${NH}`,
+ className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${PH}`,
dangerouslySetInnerHTML: { __html: r }
}), /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 flex-col items-start",
@@ -66894,8 +66907,8 @@ function IMe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
})]
});
}
-function LMe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
- let o = ZU(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
+function RMe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
+ let o = QU(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
return /* @__PURE__ */ (0, C.jsxs)("section", {
className: "flex flex-col gap-3",
children: [
@@ -66920,7 +66933,7 @@ function LMe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
children: `查看全部 ${c.toLocaleString()} 部作品`
})]
}),
- /* @__PURE__ */ (0, C.jsx)(QU, { url: e.preview_url }),
+ /* @__PURE__ */ (0, C.jsx)($U, { url: e.preview_url }),
/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "通过后记录身份判断。"
@@ -66963,7 +66976,7 @@ function LMe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
]
});
}
-function RMe({ assets: e, picked: t, onPicked: n, locked: r }) {
+function zMe({ assets: e, picked: t, onPicked: n, locked: r }) {
let [i, a] = (0, S.useState)(null), o = new Set(t), s = (t, s) => {
if (r) return;
let c = new Set(o);
@@ -67019,7 +67032,7 @@ function RMe({ assets: e, picked: t, onPicked: n, locked: r }) {
}),
/* @__PURE__ */ (0, C.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, C.jsx)(OP, {
+ children: /* @__PURE__ */ (0, C.jsx)(kP, {
size: "sm",
state: {
isSelected: n,
@@ -67039,22 +67052,22 @@ function RMe({ assets: e, picked: t, onPicked: n, locked: r }) {
}
//#endregion
//#region src/react/review/review-card.tsx
-var zMe = oA({
+var BMe = oA({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
-}), eW = "flex min-h-6 min-w-0 items-center", tW = 2, BMe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
-function VMe(e) {
- let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, S.useRef)(!1), m = AP(), h = AP(), g = t === "metadata_fields", _ = TTe[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = jTe(t, n), x = UR(t, n), w = HR(t, n), T = MTe(n), E = NTe(n), D = VR(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, C.jsxs)("div", {
+}), tW = "flex min-h-6 min-w-0 items-center", nW = 2, VMe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+function HMe(e) {
+ let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, S.useRef)(!1), m = jP(), h = jP(), g = t === "metadata_fields", _ = ETe[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = MTe(t, n), x = WR(t, n), w = UR(t, n), T = NTe(n), E = PTe(n), D = HR(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-3",
- children: [O.slice(0, tW).map((e) => /* @__PURE__ */ (0, C.jsx)($U, {
+ children: [O.slice(0, nW).map((e) => /* @__PURE__ */ (0, C.jsx)(eW, {
asset: e,
openItem: f.openItem
- }, e.id)), O.length > tW ? /* @__PURE__ */ (0, C.jsx)("p", {
+ }, e.id)), O.length > nW ? /* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: `另有 ${(O.length - tW).toLocaleString()} 部对照作品`
+ children: `另有 ${(O.length - nW).toLocaleString()} 部对照作品`
}) : null]
- }) : y ? /* @__PURE__ */ (0, C.jsx)(IMe, {
+ }) : y ? /* @__PURE__ */ (0, C.jsx)(LMe, {
kind: _,
name: v,
works: Number(n.video_count || n.videos || 0),
@@ -67065,14 +67078,14 @@ function VMe(e) {
image_version: n.image_version,
avatar_focus: n.avatar_focus
} : null, null, _)
- }) : n.asset_id ? /* @__PURE__ */ (0, C.jsx)($U, {
+ }) : n.asset_id ? /* @__PURE__ */ (0, C.jsx)(eW, {
openItem: f.openItem,
asset: {
id: n.asset_id,
name: n.asset_name,
preview_url: n.asset_preview_url
}
- }) : null, M = g ? /* @__PURE__ */ (0, C.jsx)(jMe, {
+ }) : null, M = g ? /* @__PURE__ */ (0, C.jsx)(MMe, {
row: n,
fieldName: x,
value: r.candidateKey,
@@ -67081,7 +67094,7 @@ function VMe(e) {
candidateKey: e
}),
locked: s
- }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, C.jsx)(RMe, {
+ }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, C.jsx)(zMe, {
assets: k,
picked: r.assets,
locked: s,
@@ -67094,15 +67107,15 @@ function VMe(e) {
icon: nge,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`
- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, C.jsx)(LMe, {
+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, C.jsx)(RMe, {
row: n,
openItem: f.openItem,
openEntity: f.openEntity,
onReveal: f.onReveal,
revealing: f.revealing,
note: f.revealNote
- }) : /* @__PURE__ */ (0, C.jsx)(QU, { url: n.preview_url }), N = y ? j : x ? /* @__PURE__ */ (0, C.jsxs)("h4", {
- className: `${eW} flex-wrap gap-2`,
+ }) : /* @__PURE__ */ (0, C.jsx)($U, { url: n.preview_url }), N = y ? j : x ? /* @__PURE__ */ (0, C.jsxs)("h4", {
+ className: `${tW} flex-wrap gap-2`,
children: [/* @__PURE__ */ (0, C.jsx)("span", {
title: x,
className: "flex max-w-full min-w-0 overflow-hidden rounded-md",
@@ -67117,7 +67130,7 @@ function VMe(e) {
children: w
})]
}) : /* @__PURE__ */ (0, C.jsx)("h4", {
- className: eW,
+ className: tW,
children: /* @__PURE__ */ (0, C.jsx)("span", {
title: b,
className: "min-w-0 truncate text-body-medium text-text-primary",
@@ -67127,20 +67140,20 @@ function VMe(e) {
return /* @__PURE__ */ (0, C.jsxs)("section", {
"aria-label": b,
"data-review-key": n.item_key,
- className: `${zMe} ${BMe(t)} overflow-hidden`,
+ className: `${BMe} ${VMe(t)} overflow-hidden`,
children: [
/* @__PURE__ */ (0, C.jsxs)("header", {
className: "flex min-w-0 shrink-0 items-start gap-2",
children: [
s ? null : /* @__PURE__ */ (0, C.jsx)("span", {
- className: `${eW} shrink-0`,
+ className: `${tW} shrink-0`,
onPointerDownCapture: (e) => {
p.current = e.shiftKey;
},
onKeyDownCapture: (e) => {
p.current = e.shiftKey;
},
- children: /* @__PURE__ */ (0, C.jsx)(kP, {
+ children: /* @__PURE__ */ (0, C.jsx)(AP, {
isSelected: a,
"aria-label": `选择 ${b}`,
onChange: (e) => o(p.current, e)
@@ -67184,7 +67197,7 @@ function VMe(e) {
})
}) : null,
M,
- /* @__PURE__ */ (0, C.jsx)(NMe, {
+ /* @__PURE__ */ (0, C.jsx)(PMe, {
row: n,
tags: u,
locked: s,
@@ -67247,8 +67260,8 @@ function VMe(e) {
}
//#endregion
//#region src/react/review/review-page.tsx
-var HMe = "flex cursor-pointer items-center justify-between gap-2";
-function UMe({ page: e, pages: t, onPage: n }) {
+var UMe = "flex cursor-pointer items-center justify-between gap-2";
+function WMe({ page: e, pages: t, onPage: n }) {
return t <= 1 ? null : /* @__PURE__ */ (0, C.jsxs)("nav", {
"aria-label": "复核分页",
className: "flex w-full flex-wrap items-center justify-between gap-2",
@@ -67285,34 +67298,34 @@ function UMe({ page: e, pages: t, onPage: n }) {
]
});
}
-function WMe(e) {
+function GMe(e) {
let [t, n] = (0, S.useState)(() => matchMedia("(max-width:900px)").matches);
(0, S.useEffect)(() => {
let e = matchMedia("(max-width:900px)"), t = () => n(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
}, []);
- let { route: r, openItem: i, openEntity: a, revealSource: o, toast: s, readOnly: c, readOnlyMessage: l, writerUrl: u } = e, [d, f] = (0, S.useState)(zR(e.category) ? e.category : wTe), [p, m] = (0, S.useState)("candidates"), [h, g] = (0, S.useState)(""), [_, v] = (0, S.useState)(1), [y, b] = (0, S.useState)(/* @__PURE__ */ new Set()), [x, w] = (0, S.useState)(/* @__PURE__ */ new Map()), [T, E] = (0, S.useState)(/* @__PURE__ */ new Map()), [D, O] = (0, S.useState)(""), k = (0, S.useRef)(null), [A, j] = (0, S.useState)(0), [M, N] = (0, S.useState)(""), P = (0, S.useRef)(!0);
+ let { route: r, openItem: i, openEntity: a, revealSource: o, toast: s, readOnly: c, readOnlyMessage: l, writerUrl: u } = e, [d, f] = (0, S.useState)(BR(e.category) ? e.category : TTe), [p, m] = (0, S.useState)("candidates"), [h, g] = (0, S.useState)(""), [_, v] = (0, S.useState)(1), [y, b] = (0, S.useState)(/* @__PURE__ */ new Set()), [x, w] = (0, S.useState)(/* @__PURE__ */ new Map()), [T, E] = (0, S.useState)(/* @__PURE__ */ new Map()), [D, O] = (0, S.useState)(""), k = (0, S.useRef)(null), [A, j] = (0, S.useState)(0), [M, N] = (0, S.useState)(""), P = (0, S.useRef)(!0);
(0, S.useEffect)(() => () => {
P.current = !1;
}, []);
let F = pt({
- queryKey: LR,
- queryFn: ({ signal: e }) => GR(e)
+ queryKey: RR,
+ queryFn: ({ signal: e }) => KR(e)
}), I = F.data || {
sections: {},
counts: {}
- }, ee = I.sections[d] || [], L = d === "metadata_fields", te = c, ne = ETe(ee, L), re = ne.some(([e]) => e === p) ? p : "candidates", ie = BR(ee, re), ae = ie.some((e) => e.key === h) ? h : "", oe = OTe(DTe(ee, re, ae), _), se = oe.rows.map((e) => e.item_key), ce = new Set(se), le = ie.map((e) => ({
+ }, ee = I.sections[d] || [], L = d === "metadata_fields", te = c, ne = DTe(ee, L), re = ne.some(([e]) => e === p) ? p : "candidates", ie = VR(ee, re), ae = ie.some((e) => e.key === h) ? h : "", oe = kTe(OTe(ee, re, ae), _), se = oe.rows.map((e) => e.item_key), ce = new Set(se), le = ie.map((e) => ({
...e,
rows: e.rows.filter((e) => ce.has(e.item_key))
- })).filter((e) => e.rows.length), ue = (e) => x.get(e.item_key) || FTe(e), de = ee.filter((e) => y.has(e.item_key)), fe = (e) => {
+ })).filter((e) => e.rows.length), ue = (e) => x.get(e.item_key) || ITe(e), de = ee.filter((e) => y.has(e.item_key)), fe = (e) => {
let t = new Set(e);
b((e) => new Set([...e].filter((e) => !t.has(e)))), w((e) => new Map([...e].filter(([e]) => !t.has(e)))), E((e) => new Map([...e].filter(([e]) => !t.has(e))));
}, pe = (e, t) => E((n) => new Map(n).set(e, t)), me = (e) => {
f(e), m("candidates"), g(""), v(1), b(/* @__PURE__ */ new Set()), w(/* @__PURE__ */ new Map()), E(/* @__PURE__ */ new Map()), O(""), k.current = null, r({ category: e === "metadata_fields" ? "" : e });
}, he = mt({
- mutationFn: ({ row: e, status: t }) => KR(WR(d, e, t, ue(e))),
+ mutationFn: ({ row: e, status: t }) => qR(GR(d, e, t, ue(e))),
onSuccess: (e, { row: t, status: n }) => {
- e.ok ? (qR(d, [t.item_key]), fe([t.item_key]), s(ITe(n))) : pe(t.item_key, e.error || "服务端拒绝了这次判定");
+ e.ok ? (JR(d, [t.item_key]), fe([t.item_key]), s(LTe(n))) : pe(t.item_key, e.error || "服务端拒绝了这次判定");
},
onError: (e, { row: t }) => pe(t.item_key, V(e))
}), ge = mt({
@@ -67322,7 +67335,7 @@ function WMe(e) {
if (!P.current) break;
O(`正在处理 ${i} / ${t.length}`);
try {
- let t = await KR(WR(d, a, e, ue(a)));
+ let t = await qR(GR(d, a, e, ue(a)));
if (!t.ok) throw Error(t.error || "服务端未采用该项");
n.push(a.item_key);
} catch (e) {
@@ -67336,7 +67349,7 @@ function WMe(e) {
};
},
onSuccess: ({ status: e, done: t, failures: n }) => {
- qR(d, t), fe(t), n.forEach(([e, t]) => pe(e, t)), O(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
+ JR(d, t), fe(t), n.forEach(([e, t]) => pe(e, t)), O(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
},
onError: (e) => {
O(V(e));
@@ -67360,7 +67373,7 @@ function WMe(e) {
j(e), N("");
let t = await o(e);
P.current && (j(0), N(t));
- }, be = BTe(I.mirror, l), xe = I.genre_tags || [], Se = {
+ }, be = VTe(I.mirror, l), xe = I.genre_tags || [], Se = {
openItem: i,
openEntity: a,
onReveal: ye,
@@ -67384,13 +67397,13 @@ function WMe(e) {
}) : void 0,
children: be
}) : null,
- /* @__PURE__ */ (0, C.jsx)(AMe, { tags: xe }),
- /* @__PURE__ */ (0, C.jsxs)(VN, {
+ /* @__PURE__ */ (0, C.jsx)(jMe, { tags: xe }),
+ /* @__PURE__ */ (0, C.jsxs)(WN, {
orientation: t ? "horizontal" : "vertical",
selectedKey: d,
onSelectionChange: (e) => {
let t = String(e);
- zR(t) && me(t);
+ BR(t) && me(t);
},
className: "flex flex-col gap-5 review-split:flex-row review-split:items-start review-split:gap-6",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
@@ -67399,27 +67412,27 @@ function WMe(e) {
children: [/* @__PURE__ */ (0, C.jsx)("h2", {
id: "reviewcategories",
children: "复核分类"
- }), /* @__PURE__ */ (0, C.jsx)(HN, {
+ }), /* @__PURE__ */ (0, C.jsx)(GN, {
"aria-labelledby": "reviewcategories",
"data-section-items": !0,
className: "flex review-split:flex-col review-split:items-stretch",
- children: CTe.map((e) => {
+ children: wTe.map((e) => {
let t = Number(I.counts[e] || 0);
- return /* @__PURE__ */ (0, C.jsxs)(UN, {
+ return /* @__PURE__ */ (0, C.jsxs)(KN, {
id: e,
- className: HMe,
- children: [RR[e], t ? /* @__PURE__ */ (0, C.jsx)("span", {
+ className: UMe,
+ children: [zR[e], t ? /* @__PURE__ */ (0, C.jsx)("span", {
className: "tabular-nums text-caption-1-medium text-text-secondary",
children: t.toLocaleString()
}) : null]
}, e);
})
})]
- }), /* @__PURE__ */ (0, C.jsxs)(WN, {
+ }), /* @__PURE__ */ (0, C.jsxs)(qN, {
id: d,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- ee.length && !te ? /* @__PURE__ */ (0, C.jsx)(OMe, {
+ ee.length && !te ? /* @__PURE__ */ (0, C.jsx)(kMe, {
groupOptions: ne,
groupBy: re,
onGroupBy: (e) => {
@@ -67435,7 +67448,7 @@ function WMe(e) {
onSelected: b,
selectedRows: de,
metadata: L,
- approvable: de.every((e) => VR(d, e)),
+ approvable: de.every((e) => HR(d, e)),
busy: ge.isPending,
feedback: D,
onUnifySource: ve,
@@ -67460,7 +67473,7 @@ function WMe(e) {
})]
}) : null, /* @__PURE__ */ (0, C.jsx)("div", {
className: "review-grid gap-5",
- children: e.rows.map((e) => /* @__PURE__ */ (0, C.jsx)(VMe, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, C.jsx)(HMe, {
category: d,
row: e,
choice: ue(e),
@@ -67468,7 +67481,7 @@ function WMe(e) {
selected: y.has(e.item_key),
onSelect: (t, n) => b((r) => {
let i = new Set(r);
- return k.current = ATe(i, se, k.current, e.item_key, t, n), i;
+ return k.current = jTe(i, se, k.current, e.item_key, t, n), i;
}),
locked: te,
busy: he.isPending && he.variables?.row.item_key === e.item_key,
@@ -67499,7 +67512,7 @@ function WMe(e) {
title: "此分类没有待复核项目",
children: "可切换分类查看其他候选。"
}),
- /* @__PURE__ */ (0, C.jsx)(UMe, {
+ /* @__PURE__ */ (0, C.jsx)(WMe, {
page: oe.page,
pages: oe.pages,
onPage: v
@@ -67512,13 +67525,9 @@ function WMe(e) {
}
//#endregion
//#region src/react/scraping/custom-source-data.ts
-var nW = "/api/custom-metadata", rW = ["custom-metadata"], iW = (e) => H(nW, e), GMe = "/api/scraping", KMe = "/api/scraping/settings", qMe = "/api/scraping/check", aW = "/api/scraping/cover", JMe = "/api/scraping/amane-bridge", YMe = "/api/scraping/amane-bridge/check", XMe = "/api/scraping/amane-bridge/rebuild", oW = ["scraping"], sW = ["scraping", "cover"], cW = ["scraping", "amane-bridge"], lW = (e) => H(GMe, e), uW = (e) => H(aW, e), dW = (e) => H(JMe, e);
-async function ZMe(e) {
+var rW = "/api/custom-metadata", iW = ["custom-metadata"], aW = (e) => H(rW, e), KMe = "/api/scraping", qMe = "/api/scraping/settings", JMe = "/api/scraping/check", oW = "/api/scraping/cover", YMe = "/api/scraping/amane-bridge", XMe = "/api/scraping/amane-bridge/check", ZMe = "/api/scraping/amane-bridge/rebuild", sW = ["scraping"], cW = ["scraping", "cover"], lW = ["scraping", "amane-bridge"], uW = (e) => H(KMe, e), dW = (e) => H(oW, e), fW = (e) => H(YMe, e);
+async function QMe(e) {
await Promise.all([
- W.fetchQuery({
- queryKey: oW,
- queryFn: () => lW(e)
- }),
W.fetchQuery({
queryKey: sW,
queryFn: () => uW(e)
@@ -67528,26 +67537,30 @@ async function ZMe(e) {
queryFn: () => dW(e)
}),
W.fetchQuery({
- queryKey: rW,
- queryFn: () => iW(e)
+ queryKey: lW,
+ queryFn: () => fW(e)
+ }),
+ W.fetchQuery({
+ queryKey: iW,
+ queryFn: () => aW(e)
})
]);
}
-function QMe(e, t) {
+function $Me(e, t) {
return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.elapsed_s === void 0 ? "" : ` · ${e.elapsed_s.toFixed(2)} 秒`) + (e.message ? `。${e.message}` : "");
}
//#endregion
//#region src/react/settings-panel/legacy-controls.tsx
-var fW = (e) => e.map(([e, t, n]) => n ? [
+var pW = (e) => e.map(([e, t, n]) => n ? [
e,
t,
n
] : [e, t]);
-function pW({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
+function mW({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
let u = (0, S.useRef)(null), d = (0, S.useRef)(null), f = (0, S.useRef)(l);
return f.current = l, (0, S.useLayoutEffect)(() => {
let e = u.current;
- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = gs(t, n, fW(r), i, {
+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = gs(t, n, pW(r), i, {
attr: a,
className: o,
text: s
@@ -67565,13 +67578,13 @@ function pW({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:
ref: u
});
}
-function mW({ 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 hW({ 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, S.useRef)(null), f = (0, S.useRef)(null), p = (0, S.useRef)(-1), m = (0, S.useRef)(l);
return m.current = l, (0, S.useLayoutEffect)(() => {
let e = d.current;
if (!e) return;
if (p.current !== c || !f.current) {
- e.innerHTML = qa(fW(n), r, { label: t });
+ e.innerHTML = qa(pW(n), r, { label: t });
let i = Ja(e.firstElementChild);
i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;
}
@@ -67584,7 +67597,7 @@ function mW({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a =
"aria-describedby": s
});
}
-function $Me({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
+function eNe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
let s = (0, S.useRef)(null), c = (0, S.useRef)(null), l = (0, S.useRef)({
onStep: a,
onSettle: o
@@ -67619,7 +67632,7 @@ function $Me({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet
}
//#endregion
//#region src/react/scraping/custom-sources.tsx
-var eNe = [
+var tNe = [
["code", "番号"],
["title", "标题"],
["studio", "厂牌"],
@@ -67627,7 +67640,7 @@ var eNe = [
["release_date", "发行日期"],
["performers", "演员(文本数组)"],
["tags", "标签(文本数组)"]
-], tNe = [
+], nNe = [
["censored", "有码"],
["amateur", "素人"],
["uncensored", "无码"],
@@ -67636,7 +67649,7 @@ var eNe = [
["other", "其他"],
["unsure", "待核番号"],
["unknown", "未知"]
-], nNe = () => ({
+], rNe = () => ({
name: "",
endpoint: "",
enabled: !1,
@@ -67646,11 +67659,11 @@ var eNe = [
},
content_types: ["censored"]
});
-function rNe({ receipt: e }) {
+function iNe({ receipt: e }) {
let [t, n] = (0, S.useState)(null), r = pt({
- queryKey: rW,
- queryFn: ({ signal: e }) => iW(e)
- }), i = fA(), a = (e) => W.setQueryData(rW, e);
+ queryKey: iW,
+ queryFn: ({ signal: e }) => aW(e)
+ }), i = fA(), a = (e) => W.setQueryData(iW, e);
return /* @__PURE__ */ (0, C.jsx)(vA, {
title: "自定义元数据来源",
children: /* @__PURE__ */ (0, C.jsxs)(bA, { children: [
@@ -67679,7 +67692,7 @@ function rNe({ receipt: e }) {
/* @__PURE__ */ (0, C.jsx)(K, {
variant: "secondary",
...J(i.busy === t.id),
- onClick: () => void i.run(t.id, (e) => U(nW, {
+ onClick: () => void i.run(t.id, (e) => U(rW, {
...t,
enabled: !t.enabled
}, "POST", e), (n) => {
@@ -67694,7 +67707,7 @@ function rNe({ receipt: e }) {
body: `删除「${B(t.name)}」后,采集将不再查询这个来源。`,
confirmLabel: "删除来源",
onConfirm: async () => {
- a(await U(nW, {
+ a(await U(rW, {
action: "delete",
id: t.id
})), n(null), e("已删除来源");
@@ -67707,10 +67720,10 @@ function rNe({ receipt: e }) {
i.error ? /* @__PURE__ */ (0, C.jsx)(CA, { children: i.error }) : null,
t ? null : /* @__PURE__ */ (0, C.jsx)(K, {
variant: "secondary",
- onClick: () => n(nNe()),
+ onClick: () => n(rNe()),
children: "添加来源"
}),
- t ? /* @__PURE__ */ (0, C.jsx)(iNe, {
+ t ? /* @__PURE__ */ (0, C.jsx)(aNe, {
initial: t,
cancel: () => n(null),
saved: (t) => {
@@ -67720,7 +67733,7 @@ function rNe({ receipt: e }) {
] })
});
}
-function iNe({ initial: e, cancel: t, saved: n }) {
+function aNe({ initial: e, cancel: t, saved: n }) {
let [r, i] = (0, S.useState)(e), [a, o] = (0, S.useState)(""), [s, c] = (0, S.useState)(""), l = (0, S.useRef)(0), u = fA(), d = (e) => {
l.current++, i((t) => ({
...t,
@@ -67731,16 +67744,16 @@ function iNe({ initial: e, cancel: t, saved: n }) {
"aria-label": "元数据来源配置",
"aria-busy": u.busy === "preview",
onSubmit: (e) => {
- e.preventDefault(), u.run("save", (e) => U(nW, r, "POST", e), n);
+ e.preventDefault(), u.run("save", (e) => U(rW, r, "POST", e), n);
},
children: [/* @__PURE__ */ (0, C.jsxs)(bA, { children: [
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
label: "来源名称",
value: r.name,
maxLength: 80,
onChange: (e) => d({ name: e })
}),
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
label: "JSON 接口地址",
value: r.endpoint,
maxLength: 2048,
@@ -67749,7 +67762,7 @@ function iNe({ initial: e, cancel: t, saved: n }) {
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(wA, { children: "来源连接方式" }), /* @__PURE__ */ (0, C.jsx)(mW, {
+ children: [/* @__PURE__ */ (0, C.jsx)(wA, { children: "来源连接方式" }), /* @__PURE__ */ (0, C.jsx)(hW, {
id: "custom-source-network",
label: "来源连接方式",
epoch: 0,
@@ -67760,7 +67773,7 @@ function iNe({ initial: e, cancel: t, saved: n }) {
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(wA, { children: "接口番号格式" }), /* @__PURE__ */ (0, C.jsx)(mW, {
+ children: [/* @__PURE__ */ (0, C.jsx)(wA, { children: "接口番号格式" }), /* @__PURE__ */ (0, C.jsx)(hW, {
id: "custom-source-code-format",
label: "接口番号格式",
epoch: 0,
@@ -67775,7 +67788,7 @@ function iNe({ initial: e, cancel: t, saved: n }) {
})]
}),
/* @__PURE__ */ (0, C.jsx)(SA, { children: "填写公开 JSON 接口和响应字段路径,例如 data.title。番号字段用于核对作品身份。" }),
- eNe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)($N, {
+ tNe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(nP, {
label: `${t}字段路径`,
value: r.fields[e] || "",
onChange: (t) => {
@@ -67787,18 +67800,18 @@ function iNe({ initial: e, cancel: t, saved: n }) {
className: "flex flex-wrap gap-3",
role: "group",
"aria-label": "适用内容类型",
- children: tNe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(kP, {
+ children: nNe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(AP, {
isSelected: r.content_types.includes(e),
onChange: (t) => d({ content_types: t ? [...r.content_types, e] : r.content_types.filter((t) => t !== e) }),
children: t
}, e))
}),
- /* @__PURE__ */ (0, C.jsx)(kP, {
+ /* @__PURE__ */ (0, C.jsx)(AP, {
isSelected: r.enabled,
onChange: (e) => d({ enabled: e }),
children: "启用来源"
}),
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
label: "试查番号(回车查询)",
value: a,
onChange: (e) => {
@@ -67808,7 +67821,7 @@ function iNe({ initial: e, cancel: t, saved: n }) {
if (e.key !== "Enter" || e.nativeEvent.isComposing) return;
e.preventDefault();
let t = l.current;
- u.run("preview", (e) => U(nW, {
+ u.run("preview", (e) => U(rW, {
...r,
code: a,
action: "preview"
@@ -67842,19 +67855,19 @@ function iNe({ initial: e, cancel: t, saved: n }) {
}
//#endregion
//#region src/react/scraping/scraping-page.tsx
-var hW = [["peach", "Peach 代理"], ["direct", "直接连接"]];
-function aNe(e) {
- return hW.some(([t]) => t === e) || !e ? [...hW] : [...hW, [e, e]];
-}
+var gW = [["peach", "Peach 代理"], ["direct", "直接连接"]];
function oNe(e) {
+ return gW.some(([t]) => t === e) || !e ? [...gW] : [...gW, [e, e]];
+}
+function sNe(e) {
try {
return new URL(e).host || e;
} catch {
return e;
}
}
-var gW = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
-function _W({ source: e }) {
+var _W = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
+function vW({ source: e }) {
if (e === "makers") return /* @__PURE__ */ (0, C.jsx)(Bhe, {
"aria-hidden": !0,
className: "size-4 shrink-0"
@@ -67876,16 +67889,16 @@ function _W({ source: e }) {
className: "size-4 shrink-0 rounded-sm object-contain"
});
}
-function sNe() {
- return /* @__PURE__ */ (0, C.jsx)(_W, { source: "github" });
+function cNe() {
+ return /* @__PURE__ */ (0, C.jsx)(vW, { source: "github" });
}
-function cNe({ source: e, toast: t }) {
- let [n, r] = (0, S.useState)(e.network), [i, a] = (0, S.useState)(""), [o, s] = (0, S.useState)(""), [c, l] = (0, S.useState)(gW[0][0]), [u, d] = (0, S.useState)(""), [f, p] = (0, S.useState)(""), m = (0, S.useRef)(null);
+function lNe({ source: e, toast: t }) {
+ let [n, r] = (0, S.useState)(e.network), [i, a] = (0, S.useState)(""), [o, s] = (0, S.useState)(""), [c, l] = (0, S.useState)(_W[0][0]), [u, d] = (0, S.useState)(""), [f, p] = (0, S.useState)(""), m = (0, S.useRef)(null);
function h() {
a(""), s(""), d(""), p(""), m.current && (m.current.value = "");
}
let g = mt({
- mutationFn: (t) => U(KMe, {
+ mutationFn: (t) => U(qMe, {
source: e.source,
network: n,
cookie: i,
@@ -67893,12 +67906,12 @@ function cNe({ source: e, toast: t }) {
revoke: t
}),
onSuccess: (e, n) => {
- W.setQueryData(oW, (t) => t && {
+ W.setQueryData(sW, (t) => t && {
...t,
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");
}
- }), _ = mt({ mutationFn: () => U(qMe, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
+ }), _ = mt({ mutationFn: () => U(JMe, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
e.preventDefault(), !v && (_.reset(), g.mutate(!1));
}, b = () => {
v || (_.reset(), g.mutate(!0));
@@ -67922,22 +67935,22 @@ function cNe({ source: e, toast: t }) {
onSubmit: y,
aside: /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 items-center gap-1",
- children: [/* @__PURE__ */ (0, C.jsx)(_W, { source: e.source }), e.login ? /* @__PURE__ */ (0, C.jsx)(TA, {
+ children: [/* @__PURE__ */ (0, C.jsx)(vW, { source: e.source }), e.login ? /* @__PURE__ */ (0, C.jsx)(TA, {
href: e.login,
- children: oNe(e.login)
+ children: sNe(e.login)
}) : null]
}),
children: [
/* @__PURE__ */ (0, C.jsx)(yA, { children: /* @__PURE__ */ (0, C.jsx)(hA, {
label: "连接方式",
- children: /* @__PURE__ */ (0, C.jsx)(RP, {
+ children: /* @__PURE__ */ (0, C.jsx)(zP, {
"aria-label": "连接方式",
className: "w-44 min-w-0",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: aNe(n).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(zP, {
+ children: oNe(n).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(BP, {
id: e,
children: t
}, e))
@@ -67968,20 +67981,20 @@ function cNe({ source: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"
}),
- /* @__PURE__ */ (0, C.jsx)(GP, {
+ /* @__PURE__ */ (0, C.jsx)(KP, {
"aria-label": "提供 Cookie 的方式(二选一)",
value: c,
onChange: (e) => {
l(e), h();
},
- className: KP,
- children: gW.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(fN, {
+ className: qP,
+ children: _W.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(hN, {
value: e,
- className: qP,
+ className: JP,
children: t
}, e))
}),
- c === "paste" ? /* @__PURE__ */ (0, C.jsx)($N, {
+ c === "paste" ? /* @__PURE__ */ (0, C.jsx)(nP, {
type: "password",
label: "Cookie",
autoComplete: "off",
@@ -68019,7 +68032,7 @@ function cNe({ source: e, toast: t }) {
T ? /* @__PURE__ */ (0, C.jsx)(CA, { children: T }) : null,
E.map((t) => /* @__PURE__ */ (0, C.jsx)(q, {
tone: t.ok ? "success" : "error",
- children: QMe(t, e.label)
+ children: $Me(t, e.label)
}, t.label))
]
}) : null,
@@ -68045,11 +68058,11 @@ function cNe({ source: e, toast: t }) {
]
});
}
-function lNe({ toast: e }) {
- let [t, n] = (0, S.useState)(""), { running: r, outcome: i, start: a } = oB({
- queryKey: sW,
- queryFn: ({ signal: e }) => uW(e),
- start: () => U(aW, { code: t }),
+function uNe({ toast: e }) {
+ let [t, n] = (0, S.useState)(""), { running: r, outcome: i, start: a } = sB({
+ queryKey: cW,
+ queryFn: ({ signal: e }) => dW(e),
+ start: () => U(oW, { code: t }),
onFinish: (t) => {
t.status === "complete" && e(t.result || "封面采集完成");
}
@@ -68064,7 +68077,7 @@ function lNe({ toast: e }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, C.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, C.jsx)($N, {
+ children: /* @__PURE__ */ (0, C.jsx)(nP, {
"aria-label": "馆藏番号",
isRequired: !0,
isDisabled: r,
@@ -68091,11 +68104,11 @@ function lNe({ toast: e }) {
] })
});
}
-function uNe({ toast: e }) {
- let { query: t, running: n, outcome: r, start: i } = oB({
- queryKey: cW,
- queryFn: ({ signal: e }) => dW(e),
- start: () => U(XMe, {}),
+function dNe({ toast: e }) {
+ let { query: t, running: n, outcome: r, start: i } = sB({
+ queryKey: lW,
+ queryFn: ({ signal: e }) => fW(e),
+ start: () => U(ZMe, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
...e,
@@ -68104,7 +68117,7 @@ function uNe({ toast: e }) {
onFinish: (t) => {
t.status === "complete" && e(t.result || "amane 桥已重建");
}
- }), a = mt({ mutationFn: () => U(YMe, {}) }), o = t.data;
+ }), a = mt({ mutationFn: () => U(XMe, {}) }), o = t.data;
if (!o) return t.error ? /* @__PURE__ */ (0, C.jsx)(vA, {
title: "amane",
children: /* @__PURE__ */ (0, C.jsx)(bA, { children: /* @__PURE__ */ (0, C.jsx)(q, {
@@ -68117,7 +68130,7 @@ function uNe({ toast: e }) {
title: "amane",
aside: /* @__PURE__ */ (0, C.jsx)(TA, {
href: o.repository,
- leadingIcon: sNe,
+ leadingIcon: cNe,
children: o.repository
}),
children: [
@@ -68186,23 +68199,23 @@ function uNe({ toast: e }) {
]
});
}
-function dNe({ toast: e }) {
+function fNe({ toast: e }) {
let t = pt({
- queryKey: oW,
- queryFn: ({ signal: e }) => lW(e)
+ queryKey: sW,
+ queryFn: ({ signal: e }) => uW(e)
}), n = t.data;
return n ? /* @__PURE__ */ (0, C.jsxs)(lA, { children: [
/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "高清图片可能要经代理才能下载,先检查连接。"
}),
- /* @__PURE__ */ (0, C.jsx)(lNe, { toast: e }),
- /* @__PURE__ */ (0, C.jsx)(rNe, { receipt: e }),
- (n.sources || []).map((t) => /* @__PURE__ */ (0, C.jsx)(cNe, {
+ /* @__PURE__ */ (0, C.jsx)(uNe, { toast: e }),
+ /* @__PURE__ */ (0, C.jsx)(iNe, { receipt: e }),
+ (n.sources || []).map((t) => /* @__PURE__ */ (0, C.jsx)(lNe, {
source: t,
toast: e
}, t.source)),
- /* @__PURE__ */ (0, C.jsx)(uNe, { toast: e })
+ /* @__PURE__ */ (0, C.jsx)(dNe, { toast: e })
] }) : /* @__PURE__ */ (0, C.jsx)(lA, { children: /* @__PURE__ */ (0, C.jsx)(q, {
tone: "error",
title: "采集来源读取失败",
@@ -68211,27 +68224,27 @@ function dNe({ toast: e }) {
}
//#endregion
//#region src/react/search/search.ts
-var vW = /* @__PURE__ */ new Set([
+var yW = /* @__PURE__ */ new Set([
"performer",
"creator",
"studio",
"agency",
"series"
-]), yW = /* @__PURE__ */ new Set([
+]), bW = /* @__PURE__ */ new Set([
"asset",
"jav",
"post",
"photo",
"release"
-]), bW = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
-function fNe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {
+]), xW = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
+function pNe({ 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 || bW(t).includes(bW(e)));
+ }, d = t.filter((t) => !e || xW(t).includes(xW(e)));
if (!e) {
if (s.length) {
let e = s.map((e) => ({
@@ -68252,8 +68265,8 @@ function fNe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
value: e
}))
} : null,
- left: e.filter((e) => !yW.has(e.kind)),
- right: e.filter((e) => yW.has(e.kind)),
+ left: e.filter((e) => !bW.has(e.kind)),
+ right: e.filter((e) => bW.has(e.kind)),
empty: !1,
options: l
};
@@ -68303,7 +68316,7 @@ function fNe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: n,
more: r
};
- }, g = m.filter((e) => !yW.has(e.kind)).map(h), _ = m.filter((e) => yW.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);
+ }, g = m.filter((e) => !bW.has(e.kind)).map(h), _ = m.filter((e) => bW.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);
return {
tabs: f && a.length > 1 ? [...a] : null,
recent: p,
@@ -68313,17 +68326,17 @@ function fNe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: l
};
}
-function pNe(e, t, n = Math.random) {
+function mNe(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) => bW(t) === bW(e))).slice(0, 5);
+ return r.filter((e) => !t.some((t) => xW(t) === xW(e))).slice(0, 5);
}
//#endregion
//#region src/react/search/search-page.tsx
-var mNe = () => ({
+var hNe = () => ({
history: [],
pool: [],
poolRequest: 0,
@@ -68341,7 +68354,7 @@ var mNe = () => ({
active: -1,
reveal: !1,
rewind: !1
-}), xW = (e) => fNe({
+}), SW = (e) => pNe({
query: e.query,
history: e.history,
picks: e.picks,
@@ -68350,18 +68363,18 @@ var mNe = () => ({
tabs: e.tabs,
kind: e.kind,
recommendations: e.recommendations
-}), hNe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), SW = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
+}), gNe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), CW = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, C.jsx)("use", { href: `#i-${e}` })
});
-function gNe(e) {
+function _Ne(e) {
let t = (0, S.useRef)(e);
t.current = e;
let n = (0, S.useRef)(null);
- n.current ??= mNe();
+ n.current ??= hNe();
let r = n.current, i = (0, S.useRef)(null), [, a] = (0, S.useReducer)((e) => e + 1, 0), o = (0, S.useRef)(null);
- o.current ??= _Ne(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
+ o.current ??= vNe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
let s = o.current;
(0, S.useLayoutEffect)(() => {
let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus();
@@ -68374,7 +68387,7 @@ function gNe(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 = xW(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, C.jsx)(yNe, {
+ let c = SW(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, C.jsx)(bNe, {
entry: t,
active: t.index === r.active,
helpers: e.helpers,
@@ -68387,7 +68400,7 @@ function gNe(e) {
children: [
/* @__PURE__ */ (0, C.jsxs)("h3", { children: [e.label, e.href ? /* @__PURE__ */ (0, C.jsx)("a", {
href: e.href,
- onMouseDown: CW,
+ onMouseDown: wW,
onClick: (t) => {
t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));
},
@@ -68406,7 +68419,7 @@ function gNe(e) {
"data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,
"data-history-limit": l,
children: [
- c.tabs ? /* @__PURE__ */ (0, C.jsx)(vNe, {
+ c.tabs ? /* @__PURE__ */ (0, C.jsx)(yNe, {
tabs: c.tabs,
kind: r.kind,
onPick: s.pickKind,
@@ -68433,7 +68446,7 @@ function gNe(e) {
]
});
}
-function _Ne(e, t, n, r) {
+function vNe(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 () => {
@@ -68444,7 +68457,7 @@ function _Ne(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) => bW(e) !== bW(t))]), U("/api/search-history", { query: t }).catch(() => null));
+ t && e().historyLimit && (s([t, ...o().filter((e) => xW(e) !== xW(t))]), U("/api/search-history", { query: t }).catch(() => null));
}, u = async () => {
let n = ++t.poolRequest;
t.pool = [];
@@ -68490,9 +68503,9 @@ function _Ne(e, t, n, r) {
let i = n();
i && e().helpers.dismiss(i), t.active = -1, r();
}, h = () => {
- t.query = i().value.trim(), t.picks = t.query ? [] : pNe(t.pool, o()), t.active = -1;
+ t.query = i().value.trim(), t.picks = t.query ? [] : mNe(t.pool, o()), t.active = -1;
let a = n();
- a && (hNe(xW(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
+ a && (gNe(SW(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
}, g = () => {
t.active = -1, t.kind = "", clearTimeout(t.timer);
let e = i().value.trim();
@@ -68504,7 +68517,7 @@ function _Ne(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() ? xW(t).options : [], y = (e) => {
+ }, v = () => p() ? SW(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) => {
@@ -68513,7 +68526,7 @@ function _Ne(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" && vW.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" && yW.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));
}, C = (t) => {
m(), i().blur(), e().actions.openPath?.(t);
};
@@ -68559,13 +68572,13 @@ function _Ne(e, t, n, r) {
await U("/api/search-history", {
operation: "remove",
query: e
- }).catch(() => null), s(o().filter((t) => bW(t) !== bW(e))), t.active = -1, r();
+ }).catch(() => null), s(o().filter((t) => xW(t) !== xW(e))), t.active = -1, r();
},
pickKind: _,
openPath: C
};
}
-function vNe({ tabs: e, kind: t, onPick: n, wire: r }) {
+function yNe({ tabs: e, kind: t, onPick: n, wire: r }) {
let i = (0, S.useRef)(null);
(0, S.useLayoutEffect)(() => {
r(i.current);
@@ -68577,7 +68590,7 @@ function vNe({ tabs: e, kind: t, onPick: n, wire: r }) {
"aria-selected": t === e,
onMouseDown: (e) => e.preventDefault(),
onClick: () => n(e),
- children: [r, i ? /* @__PURE__ */ (0, C.jsx)(UH, { value: i }) : null]
+ children: [r, i ? /* @__PURE__ */ (0, C.jsx)(WH, { value: i }) : null]
}, e || "all");
return /* @__PURE__ */ (0, C.jsxs)("div", {
ref: i,
@@ -68587,8 +68600,8 @@ function vNe({ tabs: e, kind: t, onPick: n, wire: r }) {
children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]
});
}
-var CW = (e) => e.preventDefault();
-function yNe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
+var wW = (e) => e.preventDefault();
+function bNe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
let o = {
"data-search-value": e.value,
"data-active": t ? "" : void 0,
@@ -68600,33 +68613,33 @@ function yNe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
type: "button",
"data-search-option": "more",
...o,
- onMouseDown: CW,
+ onMouseDown: wW,
children: [
"查看全部 ",
e.total.toLocaleString(),
" 个视频",
- /* @__PURE__ */ (0, C.jsx)(SW, { name: "chevron-right" })
+ /* @__PURE__ */ (0, C.jsx)(CW, { name: "chevron-right" })
]
});
if (e.type !== "suggest") return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-search-option": "",
...o,
children: [
- /* @__PURE__ */ (0, C.jsx)(SW, { name: e.type === "history" ? "history" : "sparkles" }),
+ /* @__PURE__ */ (0, C.jsx)(CW, { name: e.type === "history" ? "history" : "sparkles" }),
/* @__PURE__ */ (0, C.jsx)("span", { children: e.value }),
e.type === "history" ? /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-remove-history": e.value,
"aria-label": `删除历史 ${e.value}`,
- onMouseDown: CW,
+ onMouseDown: wW,
onClick: (t) => {
t.stopPropagation(), a(e.value);
},
- children: /* @__PURE__ */ (0, C.jsx)(SW, { name: "x" })
+ children: /* @__PURE__ */ (0, C.jsx)(CW, { name: "x" })
}) : null
]
});
- let { item: s, kind: c } = e, l = vW.has(c) ? c : void 0;
+ let { item: s, kind: c } = e, l = yW.has(c) ? c : void 0;
if ([
"asset",
"jav",
@@ -68640,8 +68653,8 @@ function yNe({ 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: CW,
- children: [/* @__PURE__ */ (0, C.jsx)(wW, {
+ onMouseDown: wW,
+ children: [/* @__PURE__ */ (0, C.jsx)(TW, {
card: s.card,
helpers: n
}), /* @__PURE__ */ (0, C.jsxs)("span", {
@@ -68666,9 +68679,9 @@ function yNe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-search-option": "person",
"data-open-entity": l,
...o,
- onMouseDown: CW,
+ onMouseDown: wW,
children: [
- /* @__PURE__ */ (0, C.jsx)(TW, {
+ /* @__PURE__ */ (0, C.jsx)(EW, {
item: s,
kind: c
}),
@@ -68691,11 +68704,11 @@ function yNe({ 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: CW,
+ onMouseDown: wW,
onClick: (t) => {
t.stopPropagation(), i(e);
},
- children: /* @__PURE__ */ (0, C.jsx)(wW, {
+ children: /* @__PURE__ */ (0, C.jsx)(TW, {
card: e,
helpers: n
})
@@ -68709,7 +68722,7 @@ function yNe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-open-entity": l,
...o,
children: [
- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, C.jsx)(TW, {
+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, C.jsx)(EW, {
item: s,
kind: c
}) : null,
@@ -68722,13 +68735,13 @@ function yNe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
]
});
}
-function wW({ card: e, helpers: t }) {
+function TW({ card: e, helpers: t }) {
return /* @__PURE__ */ (0, C.jsx)("span", {
"data-search-pic": "",
dangerouslySetInnerHTML: { __html: t.coverHtml(e) }
});
}
-function TW({ item: e, kind: t }) {
+function EW({ item: e, kind: t }) {
if (e.avatarHtml) return /* @__PURE__ */ (0, C.jsx)("span", {
"data-search-face": "",
dangerouslySetInnerHTML: { __html: e.avatarHtml }
@@ -68748,45 +68761,45 @@ function TW({ item: e, kind: t }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var EW = "/api/configuration", bNe = "/api/pick-folder", DW = ["configuration"], OW = (e) => H(EW, e);
-async function xNe(e) {
+var DW = "/api/configuration", xNe = "/api/pick-folder", OW = ["configuration"], kW = (e) => H(DW, e);
+async function SNe(e) {
await W.fetchQuery({
- queryKey: DW,
- queryFn: () => OW(e)
+ queryKey: OW,
+ queryFn: () => kW(e)
});
}
//#endregion
//#region src/react/settings/configuration-panel.ts
-var kW = "flex flex-col gap-6";
-function AW(e) {
+var AW = "flex flex-col gap-6";
+function jW(e) {
return e ? {
- className: e.active ? `${kW} ui-board-group-active` : kW,
+ className: e.active ? `${AW} ui-board-group-active` : AW,
"data-board-group": String(e.index),
id: e.id,
role: "tabpanel",
"aria-labelledby": e.labelledBy
- } : { className: kW };
+ } : { className: AW };
}
//#endregion
//#region src/react/settings/download-settings.tsx
-var SNe = "/api/configuration/downloads", jW = "/api/configuration/downloads/check", CNe = "/api/configuration/downloads/folder", wNe = "/api/configuration/downloads/pikpak/login", TNe = "/api/configuration/downloads/pikpak/logout", MW = "/api/configuration/downloads/pikpak/browser-login", NW = 2e3;
-function ENe({ initial: e, receipt: t, panel: n }) {
+var CNe = "/api/configuration/downloads", MW = "/api/configuration/downloads/check", wNe = "/api/configuration/downloads/folder", TNe = "/api/configuration/downloads/pikpak/login", ENe = "/api/configuration/downloads/pikpak/logout", NW = "/api/configuration/downloads/pikpak/browser-login", PW = 2e3;
+function DNe({ initial: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
- ...AW(n),
- children: /* @__PURE__ */ (0, C.jsx)(DNe, {
+ ...jW(n),
+ children: /* @__PURE__ */ (0, C.jsx)(ONe, {
initial: e,
receipt: t
})
});
}
-function DNe({ initial: e, receipt: t }) {
+function ONe({ initial: e, receipt: t }) {
let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(""), o = n.pikpak.logged_in || !!i.trim();
- return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(ONe, {
+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(kNe, {
state: n,
settle: r,
receipt: t,
pikpakAccount: o
- }), /* @__PURE__ */ (0, C.jsx)(ANe, {
+ }), /* @__PURE__ */ (0, C.jsx)(jNe, {
state: n,
settle: r,
receipt: t,
@@ -68794,8 +68807,8 @@ function DNe({ initial: e, receipt: t }) {
setUsername: a
})] });
}
-function ONe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
- let [i, a] = (0, S.useState)(e.config), [o, s] = (0, S.useState)(""), [c, l] = (0, S.useState)(String(e.config.wait_hours)), [u, d] = (0, S.useState)(null), [f, p] = (0, S.useState)(""), [m, h] = (0, S.useState)(PW), [g, _] = (0, S.useState)(""), [v, y] = (0, S.useState)(!1), b = fA(), x = (e) => i.targets[e] ?? "", w = (e, t) => a({
+function kNe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
+ let [i, a] = (0, S.useState)(e.config), [o, s] = (0, S.useState)(""), [c, l] = (0, S.useState)(String(e.config.wait_hours)), [u, d] = (0, S.useState)(null), [f, p] = (0, S.useState)(""), [m, h] = (0, S.useState)(FW), [g, _] = (0, S.useState)(""), [v, y] = (0, S.useState)(!1), b = fA(), x = (e) => i.targets[e] ?? "", w = (e, t) => a({
...i,
targets: {
...i.targets,
@@ -68824,7 +68837,7 @@ function ONe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
target: !e.config.targets[115],
root: !e.config.pikpak_root
};
- b.run("auto", (e) => H(jW, e), (e) => E(e, t), (e) => _(V(e)));
+ b.run("auto", (e) => H(MW, e), (e) => E(e, t), (e) => _(V(e)));
}, []), /* @__PURE__ */ (0, C.jsxs)(vA, {
title: "云下载",
onSubmit: (e) => {
@@ -68838,18 +68851,18 @@ function ONe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
token: o,
pikpak_account: r
};
- b.run("save", (e) => U(SNe, f, "POST", e), (e) => {
+ b.run("save", (e) => U(CNe, f, "POST", e), (e) => {
let { report: r, ...i } = e;
t(i), a(i.config), l(String(i.config.wait_hours)), s(""), r ? E(r, {
address: !i.config.clouddrive_address,
target: u,
root: !i.config.pikpak_root
- }, i.config.targets[115] ?? "") : (d(null), p(""), h(PW), y(!1), _("")), n("已保存配置");
+ }, i.config.targets[115] ?? "") : (d(null), p(""), h(FW), y(!1), _("")), n("已保存配置");
}, (e) => _(V(e)));
},
children: [
/* @__PURE__ */ (0, C.jsxs)(bA, { children: [
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
label: "CloudDrive2 地址",
placeholder: "留空自动查找",
autoComplete: "off",
@@ -68861,7 +68874,7 @@ function ONe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
clouddrive_address: e
})
}),
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
label: "CloudDrive2 API 令牌",
type: "password",
autoComplete: "off",
@@ -68872,7 +68885,7 @@ function ONe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: s
}),
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
label: /* @__PURE__ */ (0, C.jsx)(HA, {
source: "115",
label: "115 目标目录"
@@ -68887,7 +68900,7 @@ function ONe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: (e) => w("115", e)
}),
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
label: /* @__PURE__ */ (0, C.jsx)(HA, {
source: "pikpak",
label: "PikPak 目标目录"
@@ -68905,7 +68918,7 @@ function ONe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
children: [/* @__PURE__ */ (0, C.jsx)(wA, { children: /* @__PURE__ */ (0, C.jsx)(HA, {
source: "pikpak",
label: "PikPak 根目录对应的媒体文件夹"
- }) }), e.pikpak_roots.length ? /* @__PURE__ */ (0, C.jsx)(RP, {
+ }) }), e.pikpak_roots.length ? /* @__PURE__ */ (0, C.jsx)(zP, {
"aria-label": "PikPak 根目录对应的媒体文件夹",
selectedKey: i.pikpak_root || null,
isDisabled: !e.available,
@@ -68914,13 +68927,13 @@ function ONe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
...i,
pikpak_root: e === null ? "" : String(e)
}),
- children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, C.jsx)(zP, {
+ children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, C.jsx)(BP, {
id: e,
children: e
}, e))
}) : /* @__PURE__ */ (0, C.jsx)(SA, { children: "先在「媒体库与入库」添加 PikPak 挂载文件夹。" })]
}),
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
label: "等待上限(小时)",
type: "number",
inputMode: "numeric",
@@ -68935,7 +68948,7 @@ function ONe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
divided: !0,
children: /* @__PURE__ */ (0, C.jsx)(cA, { label: "正在检查 CloudDrive2" })
}) : null,
- u ? /* @__PURE__ */ (0, C.jsx)(kNe, {
+ u ? /* @__PURE__ */ (0, C.jsx)(ANe, {
report: u,
detected: f,
suggested: m,
@@ -68947,7 +68960,7 @@ function ONe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- b.run("folder", (e) => U(CNe, t, "POST", e), (t) => {
+ b.run("folder", (e) => U(wNe, t, "POST", e), (t) => {
d(t), h((t) => ({
...t,
target: {
@@ -68979,7 +68992,7 @@ function ONe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- b.run("check", (e) => U(jW, t, "POST", e), (t) => E(t, e), (e) => _(V(e)));
+ b.run("check", (e) => U(MW, t, "POST", e), (t) => E(t, e), (e) => _(V(e)));
},
disabled: !e.available,
...J(b.busy === "check"),
@@ -68994,12 +69007,12 @@ function ONe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
]
});
}
-var PW = {
+var FW = {
target: null,
root: "",
saved: !1
};
-function kNe({ report: e, detected: t, suggested: n, create: r, creating: i }) {
+function ANe({ report: e, detected: t, suggested: n, create: r, creating: i }) {
let a = n.target;
return /* @__PURE__ */ (0, C.jsxs)(bA, {
divided: !0,
@@ -69053,30 +69066,30 @@ function kNe({ report: e, detected: t, suggested: n, create: r, creating: i }) {
] }), e.problems.map((e) => /* @__PURE__ */ (0, C.jsx)(CA, { children: e }, e))]
});
}
-function ANe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
+function jNe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
let [a, o] = (0, S.useState)(""), [s, c] = (0, S.useState)(!1), [l, u] = (0, S.useState)(""), [d, f] = (0, S.useState)(""), [p, m] = (0, S.useState)(""), h = fA(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";
(0, S.useEffect)(() => {
if (!v) return;
let e = new AbortController(), r, i = async () => {
try {
- let r = await H(MW, e.signal);
+ let r = await H(NW, e.signal);
if (e.signal.aborted || (t(r), r.pikpak_browser.state === "done" ? n("已登录 PikPak") : r.pikpak_browser.state !== "waiting" && m(r.pikpak_browser.message), r.pikpak_browser.state !== "waiting")) return;
} catch (t) {
if (e.signal.aborted) return;
f(V(t));
}
- r = setTimeout(i, NW);
+ r = setTimeout(i, PW);
};
- return r = setTimeout(i, NW), () => {
+ return r = setTimeout(i, PW), () => {
e.abort(), clearTimeout(r);
};
}, [v]);
let y = () => {
- m(""), h.run("browser", (e) => U(MW, {}, "POST", e), (e) => {
+ m(""), h.run("browser", (e) => U(NW, {}, "POST", e), (e) => {
t(e), f("");
}, (e) => f(V(e)));
}, b = () => {
- h.run("cancel", (e) => U(`${MW}/cancel`, {}, "POST", e), (e) => {
+ h.run("cancel", (e) => U(`${NW}/cancel`, {}, "POST", e), (e) => {
t(e), f(""), m(e.pikpak_browser.message);
}, (e) => f(V(e)));
}, x = (e) => {
@@ -69086,15 +69099,15 @@ function ANe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
password: a,
remember: s
};
- h.run("login", (e) => U(wNe, i, "POST", e), (e) => {
+ h.run("login", (e) => U(TNe, i, "POST", e), (e) => {
t(e.settings), f(""), e.ok ? (u(""), o(""), n("已登录 PikPak")) : u(e.captcha_url ?? "");
}, (e) => f(V(e)));
}, w = () => {
- h.run("logout", (e) => U(TNe, {}, "POST", e), (e) => {
+ h.run("logout", (e) => U(ENe, {}, "POST", e), (e) => {
t(e), f(""), n("已登出 PikPak");
}, (e) => f(V(e)));
}, T = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
label: "账号",
placeholder: "邮箱或手机号",
autoComplete: "username",
@@ -69103,7 +69116,7 @@ function ANe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: i
}),
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
label: "密码",
type: "password",
autoComplete: "current-password",
@@ -69112,7 +69125,7 @@ function ANe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: o
}),
- /* @__PURE__ */ (0, C.jsx)(kP, {
+ /* @__PURE__ */ (0, C.jsx)(AP, {
isSelected: s,
isDisabled: !e.available,
onChange: c,
@@ -69194,28 +69207,28 @@ function ANe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
}
//#endregion
//#region src/react/settings/maintenance-settings.tsx
-var jNe = [
+var MNe = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-function MNe({ data: e, receipt: t, reopenTutorial: n, panel: r }) {
+function NNe({ data: e, receipt: t, reopenTutorial: n, panel: r }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
- ...AW(r),
+ ...jW(r),
children: [
- /* @__PURE__ */ (0, C.jsx)(FNe, { facts: e.facts }),
- /* @__PURE__ */ (0, C.jsx)(NNe, {
+ /* @__PURE__ */ (0, C.jsx)(INe, { facts: e.facts }),
+ /* @__PURE__ */ (0, C.jsx)(PNe, {
receipt: t,
reopenTutorial: n
}),
- e.uninstall ? /* @__PURE__ */ (0, C.jsx)(INe, {
+ e.uninstall ? /* @__PURE__ */ (0, C.jsx)(LNe, {
uninstall: e.uninstall,
receipt: t
}) : null
]
});
}
-function NNe({ receipt: e, reopenTutorial: t }) {
+function PNe({ receipt: e, reopenTutorial: t }) {
let n = fA();
return /* @__PURE__ */ (0, C.jsx)("section", {
"aria-label": "安装教程",
@@ -69231,7 +69244,7 @@ function NNe({ receipt: e, reopenTutorial: t }) {
}) }), n.error ? /* @__PURE__ */ (0, C.jsx)(bA, { children: /* @__PURE__ */ (0, C.jsx)(CA, { children: n.error }) }) : null] })
});
}
-function PNe({ initial: e, receipt: t }) {
+function FNe({ initial: e, receipt: t }) {
let [n, r] = (0, S.useState)(e.mode), [i, a] = (0, S.useState)(e.interval_hours), o = fA(e.error), s = (r) => {
r.preventDefault(), e.available && o.run("save", (e) => U("/api/configuration/automatic-updates", {
mode: n,
@@ -69245,7 +69258,7 @@ function PNe({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, C.jsxs)(yA, { children: [
/* @__PURE__ */ (0, C.jsx)(hA, {
label: "自动检查新版本",
- children: /* @__PURE__ */ (0, C.jsx)(MH, {
+ children: /* @__PURE__ */ (0, C.jsx)(NH, {
"aria-label": "自动检查新版本",
isSelected: n !== "off",
isDisabled: !e.available,
@@ -69254,7 +69267,7 @@ function PNe({ initial: e, receipt: t }) {
}),
/* @__PURE__ */ (0, C.jsx)(hA, {
label: "自动下载更新",
- children: /* @__PURE__ */ (0, C.jsx)(MH, {
+ children: /* @__PURE__ */ (0, C.jsx)(NH, {
"aria-label": "自动下载更新",
isSelected: n === "download",
isDisabled: !e.available || !e.download_available || n === "off",
@@ -69264,14 +69277,14 @@ function PNe({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, C.jsx)(hA, {
label: "检查频率",
description: c,
- children: /* @__PURE__ */ (0, C.jsx)(RP, {
+ children: /* @__PURE__ */ (0, C.jsx)(zP, {
"aria-label": "检查频率",
selectedKey: String(i),
isDisabled: !e.available,
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: jNe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(zP, {
+ children: MNe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(BP, {
id: e,
children: t
}, e))
@@ -69291,7 +69304,7 @@ function PNe({ initial: e, receipt: t }) {
]
});
}
-function FNe({ facts: e }) {
+function INe({ facts: e }) {
return /* @__PURE__ */ (0, C.jsxs)(vA, {
title: "运行信息",
children: [/* @__PURE__ */ (0, C.jsx)(EA, { children: e.map((e) => /* @__PURE__ */ (0, C.jsxs)(DA, {
@@ -69310,7 +69323,7 @@ function FNe({ facts: e }) {
}) })]
});
}
-function INe({ uninstall: e, receipt: t }) {
+function LNe({ uninstall: e, receipt: t }) {
let [n, r] = (0, S.useState)(!1), [i, a] = (0, S.useState)(""), o = () => void Es({
title: "卸载 Peach",
danger: !0,
@@ -69332,7 +69345,7 @@ function INe({ uninstall: e, receipt: t }) {
/* @__PURE__ */ (0, C.jsx)(hA, {
label: "完全卸载",
description: "同时删除设置、本地数据库、观看记录、凭据和缓存",
- children: /* @__PURE__ */ (0, C.jsx)(MH, {
+ children: /* @__PURE__ */ (0, C.jsx)(NH, {
"aria-label": "完全卸载",
isSelected: n,
isDisabled: !e.full_available || !!i,
@@ -69341,7 +69354,7 @@ function INe({ uninstall: e, receipt: t }) {
}),
/* @__PURE__ */ (0, C.jsx)(OA, {
summary: "数据目录",
- children: c.map((e) => /* @__PURE__ */ (0, C.jsx)(tB, {
+ children: c.map((e) => /* @__PURE__ */ (0, C.jsx)(nB, {
path: e,
className: "text-body-2-regular text-text-secondary",
onRevealed: t
@@ -69363,23 +69376,23 @@ function INe({ uninstall: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/release-updates.tsx
-var FW = /* @__PURE__ */ new Set([
+var IW = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), LNe = [
+]), RNe = [
65,
67,
90
-], IW = 120;
-function RNe({ initial: e, initialJob: t }) {
+], LW = 120;
+function zNe({ initial: e, initialJob: t }) {
let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(t || {
state: "idle",
progress: 0
- }), [o, s] = (0, S.useState)(""), c = fA(), l = (0, S.useRef)(!1), u = (0, S.useRef)(!0), d = FW.has(i.state);
+ }), [o, s] = (0, S.useState)(""), c = fA(), l = (0, S.useRef)(!1), u = (0, S.useRef)(!0), d = IW.has(i.state);
(0, S.useEffect)(() => (u.current = !0, () => {
u.current = !1;
}), []);
@@ -69396,7 +69409,7 @@ function RNe({ initial: e, initialJob: t }) {
(0, S.useEffect)(() => {
i.state !== "ready" || l.current || (l.current = !0, p());
}, [i.state]), (0, S.useEffect)(() => {
- let e = new AbortController(), t = FW.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
+ let e = new AbortController(), t = IW.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
try {
let t = await H("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
@@ -69409,9 +69422,9 @@ function RNe({ initial: e, initialJob: t }) {
let n = await H("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && r(n.result);
} catch {
- o += 1, o >= IW && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
+ o += 1, o >= LW && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && o < IW && (n = setTimeout(c, t));
+ !e.signal.aborted && o < LW && (n = setTimeout(c, t));
};
return n = setTimeout(c, t), () => {
e.abort(), clearTimeout(n);
@@ -69466,7 +69479,7 @@ function RNe({ initial: e, initialJob: t }) {
/* @__PURE__ */ (0, C.jsx)(dA, {
label: "更新准备进度",
value: i.progress,
- stops: LNe
+ stops: RNe
}),
/* @__PURE__ */ (0, C.jsxs)(SA, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
/* @__PURE__ */ (0, C.jsx)(SA, { children: _ })
@@ -69503,26 +69516,26 @@ function RNe({ initial: e, initialJob: t }) {
}
//#endregion
//#region src/react/settings/general-settings.tsx
-function zNe({ data: e, receipt: t, panel: n }) {
+function BNe({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
- ...AW(n),
+ ...jW(n),
children: [
- e.startup ? /* @__PURE__ */ (0, C.jsx)(BNe, {
+ e.startup ? /* @__PURE__ */ (0, C.jsx)(VNe, {
startup: e.startup,
receipt: t
}) : null,
- e.automatic_updates ? /* @__PURE__ */ (0, C.jsx)(PNe, {
+ e.automatic_updates ? /* @__PURE__ */ (0, C.jsx)(FNe, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.updates ? /* @__PURE__ */ (0, C.jsx)(RNe, {
+ e.updates ? /* @__PURE__ */ (0, C.jsx)(zNe, {
initial: e.updates,
initialJob: e.update_job
}) : null
]
});
}
-function BNe({ startup: e, receipt: t }) {
+function VNe({ startup: e, receipt: t }) {
let [n, r] = (0, S.useState)(e.enabled), [i, a] = (0, S.useState)(e.silent), [o, s] = (0, S.useState)(e.desktop), c = fA(), l = e.available && !e.desktop_message;
return /* @__PURE__ */ (0, C.jsxs)(vA, {
title: "开机自启",
@@ -69537,7 +69550,7 @@ function BNe({ startup: e, receipt: t }) {
/* @__PURE__ */ (0, C.jsxs)(yA, { children: [
/* @__PURE__ */ (0, C.jsx)(hA, {
label: "开机后启动 Peach",
- children: /* @__PURE__ */ (0, C.jsx)(MH, {
+ children: /* @__PURE__ */ (0, C.jsx)(NH, {
"aria-label": "开机后启动 Peach",
isSelected: n,
isDisabled: !e.available,
@@ -69546,7 +69559,7 @@ function BNe({ startup: e, receipt: t }) {
}),
/* @__PURE__ */ (0, C.jsx)(hA, {
label: "只启动托盘,不打开网页",
- children: /* @__PURE__ */ (0, C.jsx)(MH, {
+ children: /* @__PURE__ */ (0, C.jsx)(NH, {
"aria-label": "只启动托盘,不打开网页",
isSelected: i,
isDisabled: !e.available || !n,
@@ -69556,7 +69569,7 @@ function BNe({ startup: e, receipt: t }) {
/* @__PURE__ */ (0, C.jsx)(hA, {
label: "在桌面创建快捷方式",
description: e.desktop_message || void 0,
- children: /* @__PURE__ */ (0, C.jsx)(MH, {
+ children: /* @__PURE__ */ (0, C.jsx)(NH, {
"aria-label": "在桌面创建快捷方式",
isSelected: o,
isDisabled: !l,
@@ -69579,7 +69592,7 @@ function BNe({ startup: e, receipt: t }) {
}
//#endregion
//#region src/react/restart-redirect.ts
-var LW = 8e3, VNe = [
+var RW = 8e3, HNe = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -69598,12 +69611,12 @@ var LW = 8e3, VNe = [
read: "256 / 128 KB",
task: "2 个起步"
}
-], HNe = [
+], UNe = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-function UNe() {
+function WNe() {
return /* @__PURE__ */ (0, C.jsx)("div", {
className: "@container flex flex-col gap-3",
children: /* @__PURE__ */ (0, C.jsxs)(OA, {
@@ -69617,14 +69630,14 @@ function UNe() {
/* @__PURE__ */ (0, C.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
- children: VNe.map((e) => /* @__PURE__ */ (0, C.jsxs)("li", {
+ children: HNe.map((e) => /* @__PURE__ */ (0, C.jsxs)("li", {
className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e.name
}), /* @__PURE__ */ (0, C.jsx)("dl", {
className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",
- children: HNe.map(([t, n]) => /* @__PURE__ */ (0, C.jsxs)("div", {
+ children: UNe.map(([t, n]) => /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col",
children: [/* @__PURE__ */ (0, C.jsx)("dt", {
className: "text-caption-1-regular text-text-secondary",
@@ -69655,7 +69668,7 @@ function UNe() {
}
//#endregion
//#region src/react/settings/folder-rows.tsx
-function WNe({ className: e }) {
+function GNe({ className: e }) {
return /* @__PURE__ */ (0, C.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -69668,12 +69681,12 @@ function WNe({ className: e }) {
children: /* @__PURE__ */ (0, C.jsx)("use", { href: "#i-folder-search" })
});
}
-var RW = [
+var zW = [
["local", "本地磁盘"],
["115", "CloudDrive · 115"],
["pikpak", "CloudDrive · PikPak"]
-], zW = (e) => Ya[e] || "database", GNe = (e) => e === "115" || e === "pikpak";
-function KNe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {
+], BW = (e) => Ya[e] || "database", KNe = (e) => e === "115" || e === "pikpak";
+function qNe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {
let [a, o] = (0, S.useState)(e), [s, c] = (0, S.useState)([]), [l, u] = (0, S.useState)(null), [d, f] = (0, S.useState)(null), p = (0, S.useRef)(!1), m = (0, S.useRef)([]);
(0, S.useLayoutEffect)(() => {
l !== null && (m.current[l]?.focus(), u(null));
@@ -69716,7 +69729,7 @@ function KNe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick:
}
};
}
-function qNe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {
+function JNe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {
let u = (0, S.useRef)(null), d = () => {
let e = u.current;
e && e.ownerDocument.activeElement !== e && (e.scrollLeft = e.scrollWidth);
@@ -69729,7 +69742,7 @@ function qNe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
className: "min-w-0 flex-1",
"aria-label": e,
placeholder: "本机文件夹路径",
@@ -69747,8 +69760,8 @@ function qNe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
className: "flex h-9 shrink-0 items-center",
children: c
}) : null,
- /* @__PURE__ */ (0, C.jsx)(EP, {
- icon: WNe,
+ /* @__PURE__ */ (0, C.jsx)(ej, {
+ icon: GNe,
"aria-label": "选择文件夹",
onClick: o,
...J(a)
@@ -69767,23 +69780,23 @@ function qNe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
})]
});
}
-function JNe({ index: e, value: t, onChange: n, options: r = RW }) {
- return /* @__PURE__ */ (0, C.jsx)(RP, {
+function YNe({ index: e, value: t, onChange: n, options: r = zW }) {
+ return /* @__PURE__ */ (0, C.jsx)(zP, {
className: "w-full @lg:w-60",
"aria-label": `媒体来源 ${e + 1}`,
selectedKey: t,
onSelectionChange: (e) => {
e !== null && n(String(e));
},
- children: r.map(([e, t]) => /* @__PURE__ */ (0, C.jsxs)(zP, {
+ children: r.map(([e, t]) => /* @__PURE__ */ (0, C.jsxs)(BP, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, C.jsx)(kA, { mark: zW(e) }), t]
+ children: [/* @__PURE__ */ (0, C.jsx)(kA, { mark: BW(e) }), t]
}, e))
});
}
-function YNe({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {
- return /* @__PURE__ */ (0, C.jsx)($N, {
+function XNe({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {
+ return /* @__PURE__ */ (0, C.jsx)(nP, {
label: n,
placeholder: r,
value: e,
@@ -69792,7 +69805,7 @@ function YNe({ value: e, onChange: t, label: n = "Windows 中的对应路径", p
}
//#endregion
//#region src/react/settings/library-icon-picker.tsx
-var BW = [
+var VW = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -69836,13 +69849,13 @@ var BW = [
["star", "收藏"],
["tags", "主题"]
];
-function XNe(e) {
+function ZNe(e) {
let t = e === "local" ? "" : Ya[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
-var VW = "auto";
-function ZNe({ value: e, label: t, kind: n = "local", onChange: r }) {
- let i = (0, S.useRef)(null), [a, o] = (0, S.useState)(!1), [s, c] = (0, S.useState)(e), [l, u] = XNe(n);
+var HW = "auto";
+function QNe({ value: e, label: t, kind: n = "local", onChange: r }) {
+ let i = (0, S.useRef)(null), [a, o] = (0, S.useState)(!1), [s, c] = (0, S.useState)(e), [l, u] = ZNe(n);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(K, {
ref: i,
variant: "secondary",
@@ -69856,35 +69869,35 @@ function ZNe({ value: e, label: t, kind: n = "local", onChange: r }) {
children: /* @__PURE__ */ (0, C.jsxs)("span", {
"data-icon-choice": !0,
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(kA, { mark: e || l }), ((e) => e && BW.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, C.jsx)(kA, { mark: e || l }), ((e) => e && VW.find(([t]) => t === e)?.[1] || u)(e)]
})
- }), /* @__PURE__ */ (0, C.jsx)(GM, {
+ }), /* @__PURE__ */ (0, C.jsx)(JM, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom start",
offset: 4,
- className: bP,
- children: /* @__PURE__ */ (0, C.jsxs)(iN, {
+ className: CP,
+ children: /* @__PURE__ */ (0, C.jsxs)(sN, {
"aria-label": `${t}候选`,
className: "flex w-72 flex-col gap-3 outline-none",
children: [
- /* @__PURE__ */ (0, C.jsx)(Ej, {
+ /* @__PURE__ */ (0, C.jsx)(kj, {
slot: "title",
className: "px-1 text-body-medium text-text-primary",
children: "选择媒体库图标"
}),
- /* @__PURE__ */ (0, C.jsx)(dN, {
+ /* @__PURE__ */ (0, C.jsx)(mN, {
"aria-label": "候选图标",
- value: s || VW,
- onChange: (e) => c(e === VW ? "" : e),
+ value: s || HW,
+ onChange: (e) => c(e === HW ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: BW.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(fN, {
- value: e || VW,
+ children: VW.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(hN, {
+ value: e || HW,
"aria-label": e ? t : u,
className: "flex h-10 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none hover:bg-dropdown-item-hover-background focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-dropdown-item-hover-background data-selected:text-text-primary",
children: /* @__PURE__ */ (0, C.jsx)(kA, { mark: e || l })
- }, e || VW))
+ }, e || HW))
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
@@ -69906,9 +69919,9 @@ function ZNe({ value: e, label: t, kind: n = "local", onChange: r }) {
}
//#endregion
//#region src/react/settings/push-discovery-settings.tsx
-var QNe = "/api/configuration/push-discovery", $Ne = "/api/configuration/push-discovery/secret";
-function ePe({ initial: e, receipt: t }) {
- let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(e.prefixes), [o, s] = (0, S.useState)(""), c = fA(), l = AP(), u = n.media_roots, [d, f] = (0, S.useState)(e), p = (e, n) => {
+var $Ne = "/api/configuration/push-discovery", ePe = "/api/configuration/push-discovery/secret";
+function tPe({ initial: e, receipt: t }) {
+ let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(e.prefixes), [o, s] = (0, S.useState)(""), c = fA(), l = jP(), u = n.media_roots, [d, f] = (0, S.useState)(e), p = (e, n) => {
r(e), f(e), a(e.prefixes), s(""), t(n);
}, m = (e, t) => a((n) => n.map((n, r) => r === e ? {
...n,
@@ -69921,9 +69934,9 @@ function ePe({ initial: e, receipt: t }) {
cloud: n.cloud,
prefixes: i
};
- c.run("save", (e) => U(QNe, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(V(e)));
+ c.run("save", (e) => U($Ne, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(V(e)));
}, g = () => {
- c.run("secret", (e) => U($Ne, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(V(e)));
+ c.run("secret", (e) => U(ePe, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(V(e)));
}, _ = () => {
navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看配置」选中自己复制。"));
}, v = `已入库 ${d.queue.ingested} 个文件` + (d.queue.pending ? `,队列里还有 ${d.queue.pending} 条` : ""), y = d.local_running ? `正在监视 ${d.local_roots.join("、")}` : d.local_message || "没有运行";
@@ -69935,7 +69948,7 @@ function ePe({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, C.jsx)(hA, {
label: "新文件落地就入库",
description: d.enabled ? v : void 0,
- children: /* @__PURE__ */ (0, C.jsx)(MH, {
+ children: /* @__PURE__ */ (0, C.jsx)(NH, {
"aria-label": "新文件落地就入库",
isSelected: n.enabled,
isDisabled: !n.available,
@@ -69948,7 +69961,7 @@ function ePe({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, C.jsx)(hA, {
label: "监视本机文件夹",
description: d.enabled && d.watch_local ? y : void 0,
- children: /* @__PURE__ */ (0, C.jsx)(MH, {
+ children: /* @__PURE__ */ (0, C.jsx)(NH, {
"aria-label": "监视本机文件夹",
isSelected: n.watch_local,
isDisabled: !n.available || !n.enabled,
@@ -69960,7 +69973,7 @@ function ePe({ initial: e, receipt: t }) {
}),
/* @__PURE__ */ (0, C.jsx)(hA, {
label: "接收 CloudDrive2 通知",
- children: /* @__PURE__ */ (0, C.jsx)(MH, {
+ children: /* @__PURE__ */ (0, C.jsx)(NH, {
"aria-label": "接收 CloudDrive2 通知",
isSelected: n.cloud,
isDisabled: !n.available || !n.enabled,
@@ -70012,7 +70025,7 @@ function ePe({ initial: e, receipt: t }) {
children: i.map((e, t) => /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
className: "min-w-0 flex-1",
"aria-label": `云端路径前缀 ${t + 1}`,
placeholder: "/115",
@@ -70021,13 +70034,13 @@ function ePe({ initial: e, receipt: t }) {
value: e.prefix,
onChange: (e) => m(t, { prefix: e })
}),
- /* @__PURE__ */ (0, C.jsx)(RP, {
+ /* @__PURE__ */ (0, C.jsx)(zP, {
"aria-label": `前缀 ${t + 1} 对应的媒体根`,
selectedKey: e.root,
onSelectionChange: (e) => {
e !== null && m(t, { root: String(e) });
},
- children: u.map((e) => /* @__PURE__ */ (0, C.jsx)(zP, {
+ children: u.map((e) => /* @__PURE__ */ (0, C.jsx)(BP, {
id: e,
children: e
}, e))
@@ -70075,22 +70088,22 @@ function ePe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/application/initial-follow-ranges.ts
-var HW = [
+var UW = [
["0", "不限时间"],
["7", "最近 7 天"],
["30", "最近 30 天"],
["90", "最近 90 天"]
-], tPe = [
+], nPe = [
["off", "关闭"],
["precise", "每 10 秒一张"],
["coarse", "每 30 秒一张"]
];
-function nPe({ epoch: e = 0 }) {
+function rPe({ epoch: e = 0 }) {
let t = pt({
- queryKey: dz,
- queryFn: ({ signal: e }) => KTe(e),
+ queryKey: fz,
+ queryFn: ({ signal: e }) => qTe(e),
refetchOnMount: "always"
- }), n = YTe(), r = n.reset;
+ }), n = XTe(), r = n.reset;
(0, S.useEffect)(() => {
r();
}, [e, r]);
@@ -70103,14 +70116,14 @@ function nPe({ epoch: e = 0 }) {
description: "仅采集本机磁盘上的视频。",
children: /* @__PURE__ */ (0, C.jsx)("div", {
id: "videoThumbnailSetting",
- children: /* @__PURE__ */ (0, C.jsx)(RP, {
+ children: /* @__PURE__ */ (0, C.jsx)(zP, {
"aria-label": "缩略图采集间隔",
selectedKey: i?.mode || "off",
isDisabled: !i || t.isFetching || n.isPending,
onSelectionChange: (e) => {
e !== null && n.mutate(String(e));
},
- children: tPe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(zP, {
+ children: nPe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(BP, {
id: e,
children: t
}, e))
@@ -70131,23 +70144,23 @@ function nPe({ epoch: e = 0 }) {
]
});
}
-function rPe({ receipt: e }) {
+function iPe({ receipt: e }) {
let t = dE();
(0, S.useSyncExternalStore)(t.subscribe, t.version);
let n = pt({
- queryKey: lz,
- queryFn: ({ signal: e }) => fz(e),
+ queryKey: uz,
+ queryFn: ({ signal: e }) => pz(e),
refetchOnMount: "always"
- }), r = pz(), i = n.data?.followInitialDays ?? t.value.followInitialDays, a = r.error || n.error;
+ }), r = mz(), i = n.data?.followInitialDays ?? t.value.followInitialDays, a = r.error || n.error;
return /* @__PURE__ */ (0, C.jsxs)(vA, {
title: "关注采集",
children: [/* @__PURE__ */ (0, C.jsxs)(yA, { children: [
- /* @__PURE__ */ (0, C.jsx)(iPe, {}),
+ /* @__PURE__ */ (0, C.jsx)(aPe, {}),
/* @__PURE__ */ (0, C.jsx)(hA, {
label: "首次采集范围",
children: /* @__PURE__ */ (0, C.jsx)("div", {
id: "followInitialDaysSetting",
- children: /* @__PURE__ */ (0, C.jsx)(RP, {
+ children: /* @__PURE__ */ (0, C.jsx)(zP, {
"aria-label": "首次采集范围",
selectedKey: String(i),
isDisabled: n.isFetching || r.isPending,
@@ -70156,7 +70169,7 @@ function rPe({ receipt: e }) {
typeof n.followInitialDays == "number" && (t.value.followInitialDays = n.followInitialDays), t.save(), e("已保存首次采集范围");
} });
},
- children: HW.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(zP, {
+ children: UW.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(BP, {
id: e,
children: t
}, e))
@@ -70177,12 +70190,12 @@ function rPe({ receipt: e }) {
}) : null]
});
}
-function iPe() {
+function aPe() {
let e = pt({
- queryKey: uz,
- queryFn: ({ signal: e }) => GTe(e),
+ queryKey: dz,
+ queryFn: ({ signal: e }) => KTe(e),
refetchOnMount: "always"
- }), t = JTe(), n = e.data, r = (0, S.useRef)(XT(Number(localStorage.getItem("peach.number.followScheduleSetting")), 15, 10080, 60)), [i, a] = (0, S.useState)("60"), [o, s] = (0, S.useState)(!1);
+ }), t = YTe(), n = e.data, r = (0, S.useRef)(XT(Number(localStorage.getItem("peach.number.followScheduleSetting")), 15, 10080, 60)), [i, a] = (0, S.useState)("60"), [o, s] = (0, S.useState)(!1);
(0, S.useEffect)(() => {
n?.enabled && (r.current = n.interval_minutes, a(String(n.interval_minutes)));
}, [n]);
@@ -70196,7 +70209,7 @@ function iPe() {
children: /* @__PURE__ */ (0, C.jsxs)("div", {
id: "followScheduleSetting",
className: "flex min-w-0 flex-wrap items-center justify-end gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(MH, {
+ children: [/* @__PURE__ */ (0, C.jsx)(NH, {
"aria-label": "自动检查更新",
isSelected: n?.enabled === !0,
isDisabled: c,
@@ -70205,7 +70218,7 @@ function iPe() {
}
}), n?.enabled ? /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)($N, {
+ children: [/* @__PURE__ */ (0, C.jsx)(nP, {
type: "number",
inputMode: "numeric",
name: "follow-interval",
@@ -70240,29 +70253,29 @@ function iPe() {
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var aPe = (e) => RW.find(([t]) => t === e)?.[1] ?? e, oPe = async (e) => (await U(bNe, { initial: e })).path, UW = (e = "") => ({
+var oPe = (e) => zW.find(([t]) => t === e)?.[1] ?? e, sPe = async (e) => (await U(xNe, { initial: e })).path, WW = (e = "") => ({
path: e,
location: "local",
root: "",
library: "",
library_icon: ""
});
-function sPe(e) {
- let t = e.media_sources?.filter((e) => RW.some(([t]) => t === e.location));
+function cPe(e) {
+ let t = e.media_sources?.filter((e) => zW.some(([t]) => t === e.location));
return t?.length ? t.map((e) => ({
path: e.path,
location: e.location,
root: e.root,
library: e.library || "",
library_icon: e.library_icon || ""
- })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => UW(e));
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => WW(e));
}
-var cPe = (e) => !(e instanceof un) || e.status !== 400 ? null : e.body?.errors ?? null;
-function lPe({ data: e, receipt: t, panel: n }) {
+var lPe = (e) => !(e instanceof un) || e.status !== 400 ? null : e.body?.errors ?? null;
+function uPe({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
- ...AW(n),
+ ...jW(n),
children: [
- e.editable ? /* @__PURE__ */ (0, C.jsx)(uPe, {
+ e.editable ? /* @__PURE__ */ (0, C.jsx)(dPe, {
data: e,
receipt: t
}) : /* @__PURE__ */ (0, C.jsx)(q, {
@@ -70270,29 +70283,29 @@ function lPe({ data: e, receipt: t, panel: n }) {
title: "只读",
children: e.notice
}),
- e.editable ? null : /* @__PURE__ */ (0, C.jsx)(dPe, { data: e }),
- e.push_discovery ? /* @__PURE__ */ (0, C.jsx)(ePe, {
+ e.editable ? null : /* @__PURE__ */ (0, C.jsx)(fPe, { data: e }),
+ e.push_discovery ? /* @__PURE__ */ (0, C.jsx)(tPe, {
initial: e.push_discovery,
receipt: t
}) : null,
- /* @__PURE__ */ (0, C.jsx)(nPe, {})
+ /* @__PURE__ */ (0, C.jsx)(rPe, {})
]
});
}
-function uPe({ data: e, receipt: t }) {
- let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = KNe({
- initial: () => sPe(e),
- blank: () => UW(),
- pickFolder: oPe,
+function dPe({ data: e, receipt: t }) {
+ let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = qNe({
+ initial: () => cPe(e),
+ blank: () => WW(),
+ pickFolder: sPe,
describe: V
}), [d, f] = (0, S.useState)(!1), [p, m] = (0, S.useState)(""), [h, g] = (0, S.useState)(null), _ = (0, S.useRef)(e.revision), v = fA();
(0, S.useEffect)(() => {
if (!h) return;
- let e = setTimeout(() => location.assign(h.url), LW);
+ let e = setTimeout(() => location.assign(h.url), RW);
return () => clearTimeout(e);
}, [h]);
let y = (r) => {
- r.preventDefault(), m(""), v.run("save", (t) => U(EW, {
+ r.preventDefault(), m(""), v.run("save", (t) => U(DW, {
revision: _.current,
media_dirs: n.map((e) => e.path),
...e.media_sources ? { media_sources: n } : {},
@@ -70301,7 +70314,7 @@ function uPe({ data: e, receipt: t }) {
}, "POST", t), (e) => {
_.current = e.revision, s([]), t("已保存配置"), g(e);
}, (e) => {
- let t = cPe(e);
+ let t = lPe(e);
s(t?.media_dirs ?? []), (!t || t.port) && m(t?.port || V(e));
});
};
@@ -70321,7 +70334,7 @@ function uPe({ data: e, receipt: t }) {
]
}) })
});
- let b = (t) => t ? e.media_sources?.find((e) => e.path === t) : void 0, x = n.some((e) => GNe(e.location)), w = x ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
+ let b = (t) => t ? e.media_sources?.find((e) => e.path === t) : void 0, x = n.some((e) => KNe(e.location)), w = x ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
return /* @__PURE__ */ (0, C.jsxs)(vA, {
title: "媒体文件夹",
onSubmit: y,
@@ -70334,7 +70347,7 @@ function uPe({ data: e, receipt: t }) {
role: "group",
"aria-label": "媒体文件夹",
className: "flex flex-col gap-3",
- children: n.map((t, i) => /* @__PURE__ */ (0, C.jsxs)(qNe, {
+ children: n.map((t, i) => /* @__PURE__ */ (0, C.jsxs)(JNe, {
label: `媒体文件夹 ${i + 1}`,
path: t.path,
onPath: (e) => r(i, { path: e }),
@@ -70343,14 +70356,14 @@ function uPe({ data: e, receipt: t }) {
picking: c === i,
onPick: () => void l(i),
onRemove: n.length > 1 ? () => a(i) : void 0,
- status: b(t.path) ? /* @__PURE__ */ (0, C.jsx)(WW, { online: b(t.path)?.online }) : null,
+ status: b(t.path) ? /* @__PURE__ */ (0, C.jsx)(GW, { online: b(t.path)?.online }) : null,
children: [
- /* @__PURE__ */ (0, C.jsx)(JNe, {
+ /* @__PURE__ */ (0, C.jsx)(YNe, {
index: i,
value: t.location,
onChange: (e) => r(i, { location: e })
}),
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
className: "min-w-40 flex-1",
"aria-label": `媒体库名称 ${i + 1}`,
maxLength: 80,
@@ -70358,13 +70371,13 @@ function uPe({ data: e, receipt: t }) {
value: t.library,
onChange: (e) => r(i, { library: e })
}),
- /* @__PURE__ */ (0, C.jsx)(ZNe, {
+ /* @__PURE__ */ (0, C.jsx)(QNe, {
label: `媒体库图标 ${i + 1}`,
value: t.library_icon,
kind: t.location,
onChange: (e) => r(i, { library_icon: e })
}),
- e.windows === !1 ? /* @__PURE__ */ (0, C.jsx)(YNe, {
+ e.windows === !1 ? /* @__PURE__ */ (0, C.jsx)(XNe, {
value: t.root,
onChange: (e) => r(i, { root: e })
}) : null
@@ -70379,7 +70392,7 @@ function uPe({ data: e, receipt: t }) {
})
]
}),
- x ? /* @__PURE__ */ (0, C.jsx)(UNe, {}) : null,
+ x ? /* @__PURE__ */ (0, C.jsx)(WNe, {}) : null,
w.map((e) => /* @__PURE__ */ (0, C.jsxs)(SA, { children: [
"未检测到 ",
e.name,
@@ -70390,7 +70403,7 @@ function uPe({ data: e, receipt: t }) {
})
] }, e.name)),
e.windows === !1 ? /* @__PURE__ */ (0, C.jsx)(SA, { children: "Windows 对应路径应与馆藏中记录的路径一致。" }) : null,
- /* @__PURE__ */ (0, C.jsx)(kP, {
+ /* @__PURE__ */ (0, C.jsx)(AP, {
isSelected: d,
onChange: f,
children: "保存后扫描并补全资料"
@@ -70410,7 +70423,7 @@ function uPe({ data: e, receipt: t }) {
})]
});
}
-function WW({ online: e }) {
+function GW({ online: e }) {
return e === !0 ? /* @__PURE__ */ (0, C.jsxs)("span", {
"data-mount": "online",
className: "inline-flex items-center gap-1.5 text-body-2-medium text-notification-success-foreground",
@@ -70434,14 +70447,14 @@ function WW({ online: e }) {
}), "未检测"]
});
}
-function dPe({ data: e }) {
+function fPe({ data: e }) {
let t = e.media_sources, n = fA();
return t ? /* @__PURE__ */ (0, C.jsxs)(vA, {
title: "挂载状态",
children: [
/* @__PURE__ */ (0, C.jsx)(EA, { children: t.map((e, t) => /* @__PURE__ */ (0, C.jsxs)(DA, {
- term: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(kA, { mark: zW(e.location) }), aPe(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, C.jsx)(WW, { online: e.online })]
+ term: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(kA, { mark: BW(e.location) }), oPe(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, C.jsx)(GW, { online: e.online })]
}, t)) }),
n.error ? /* @__PURE__ */ (0, C.jsx)(bA, {
divided: !0,
@@ -70449,7 +70462,7 @@ function dPe({ data: e }) {
}) : null,
/* @__PURE__ */ (0, C.jsx)(xA, { children: /* @__PURE__ */ (0, C.jsx)(K, {
variant: "secondary",
- onClick: () => void n.run("refresh", (e) => OW(e), (e) => W.setQueryData(DW, e)),
+ onClick: () => void n.run("refresh", (e) => kW(e), (e) => W.setQueryData(OW, e)),
...J(n.busy === "refresh"),
children: "刷新挂载状态"
}) })
@@ -70458,8 +70471,8 @@ function dPe({ data: e }) {
}
//#endregion
//#region src/react/settings/password-pair.tsx
-function fPe({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {
- return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)($N, {
+function pPe({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {
+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(nP, {
id: "access-password",
type: "password",
label: e,
@@ -70472,7 +70485,7 @@ function fPe({ label: e, password: t, confirmation: n, onPassword: r, onConfirma
validationBehavior: "aria",
isInvalid: !a && !!o,
hint: a ? s : o || s
- }), /* @__PURE__ */ (0, C.jsx)($N, {
+ }), /* @__PURE__ */ (0, C.jsx)(nP, {
id: "access-confirm",
type: "password",
label: "确认访问密码",
@@ -70489,12 +70502,12 @@ function fPe({ label: e, password: t, confirmation: n, onPassword: r, onConfirma
}
//#endregion
//#region src/react/settings/access-settings.tsx
-var pPe = {
+var mPe = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
-function mPe({ initial: e, receipt: t }) {
+function hPe({ initial: e, receipt: t }) {
let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(""), [o, s] = (0, S.useState)(""), [c, l] = (0, S.useState)(""), [u, d] = (0, S.useState)(!1), [f, p] = (0, S.useState)({}), m = (0, S.useRef)(null), h = fA(), g = (e) => {
e.preventDefault();
let f = {};
@@ -70511,7 +70524,7 @@ function mPe({ initial: e, receipt: t }) {
let t = e instanceof un ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? p(n) : h.setError(V(e));
});
- }, _ = pPe[n.mode], v = n.mode !== "locked";
+ }, _ = mPe[n.mode], v = n.mode !== "locked";
return /* @__PURE__ */ (0, C.jsxs)(vA, {
title: "访问密码",
onSubmit: g,
@@ -70524,12 +70537,12 @@ function mPe({ initial: e, receipt: t }) {
title: "未设置访问密码",
children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"
}) : null,
- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, C.jsx)(kP, {
+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, C.jsx)(AP, {
isSelected: u,
onChange: d,
children: "关闭访问密码"
}) : null,
- n.mode === "password" ? /* @__PURE__ */ (0, C.jsx)($N, {
+ n.mode === "password" ? /* @__PURE__ */ (0, C.jsx)(nP, {
id: "access-current",
type: "password",
label: "当前访问密码",
@@ -70542,7 +70555,7 @@ function mPe({ initial: e, receipt: t }) {
isInvalid: !!f.current_password,
hint: f.current_password
}) : null,
- v ? /* @__PURE__ */ (0, C.jsx)(fPe, {
+ v ? /* @__PURE__ */ (0, C.jsx)(pPe, {
label: n.mode === "password" ? "新访问密码" : "设置访问密码",
password: o,
confirmation: c,
@@ -70569,11 +70582,11 @@ function mPe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/port-settings.tsx
-function hPe({ data: e, receipt: t }) {
+function gPe({ data: e, receipt: t }) {
let [n, r] = (0, S.useState)(String(e.port)), [i, a] = (0, S.useState)(""), [o, s] = (0, S.useState)(null), c = fA();
return (0, S.useEffect)(() => {
if (!o) return;
- let e = setTimeout(() => location.assign(o.url), LW);
+ let e = setTimeout(() => location.assign(o.url), RW);
return () => clearTimeout(e);
}, [o]), o ? /* @__PURE__ */ (0, C.jsx)(vA, {
title: "本机访问端口",
@@ -70589,7 +70602,7 @@ function hPe({ data: e, receipt: t }) {
}) : /* @__PURE__ */ (0, C.jsxs)(vA, {
title: "本机访问端口",
onSubmit: (r) => {
- r.preventDefault(), a(""), c.run("save", (t) => U(EW, {
+ r.preventDefault(), a(""), c.run("save", (t) => U(DW, {
revision: e.revision,
media_dirs: e.media_dirs,
...e.media_sources ? { media_sources: e.media_sources } : {},
@@ -70602,7 +70615,7 @@ function hPe({ data: e, receipt: t }) {
t?.port ? a(t.port) : c.setError(V(e));
});
},
- children: [/* @__PURE__ */ (0, C.jsxs)(bA, { children: [/* @__PURE__ */ (0, C.jsx)($N, {
+ children: [/* @__PURE__ */ (0, C.jsxs)(bA, { children: [/* @__PURE__ */ (0, C.jsx)(nP, {
id: "configPort",
label: "端口",
inputMode: "numeric",
@@ -70627,19 +70640,19 @@ function hPe({ data: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/tunnel-settings.tsx
-var gPe = 2e3, _Pe = [["quick", "临时链接"], ["named", "命名隧道"]], vPe = {
+var _Pe = 2e3, vPe = [["quick", "临时链接"], ["named", "命名隧道"]], yPe = {
quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",
named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"
};
-function yPe({ revision: e, initial: t, receipt: n }) {
+function bPe({ revision: e, initial: t, receipt: n }) {
let [r, i] = (0, S.useState)(t), [a, o] = (0, S.useState)(e), [s, c] = (0, S.useState)(t.mode), [l, u] = (0, S.useState)(t.hostname), [d, f] = (0, S.useState)(""), [p, m] = (0, S.useState)({}), h = fA(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
(0, S.useEffect)(() => {
if (r.state !== "starting") return;
let e = new AbortController(), t = window.setInterval(() => {
- OW(e.signal).then((t) => {
- !e.signal.aborted && t.tunnel && (W.setQueryData(DW, t), i(t.tunnel), o(t.revision));
+ kW(e.signal).then((t) => {
+ !e.signal.aborted && t.tunnel && (W.setQueryData(OW, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
- }, gPe);
+ }, _Pe);
return () => {
e.abort(), window.clearInterval(t);
};
@@ -70664,20 +70677,20 @@ function yPe({ revision: e, initial: t, receipt: n }) {
e.preventDefault(), v("save", g, () => n("已保存配置"));
},
children: [/* @__PURE__ */ (0, C.jsxs)(bA, { children: [
- r.named_available ? /* @__PURE__ */ (0, C.jsx)(GP, {
+ r.named_available ? /* @__PURE__ */ (0, C.jsx)(KP, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: g,
onChange: (e) => c(e),
- className: KP,
- children: _Pe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(fN, {
+ className: qP,
+ children: vPe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(hN, {
value: e,
- className: qP,
+ className: JP,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, C.jsx)(SA, { children: vPe[_ ? "named" : "quick"] }),
- _ ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(SA, { children: yPe[_ ? "named" : "quick"] }),
+ _ ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(nP, {
id: "tunnel-hostname",
label: "公开主机名",
autoComplete: "off",
@@ -70688,7 +70701,7 @@ function yPe({ revision: e, initial: t, receipt: n }) {
validationBehavior: "aria",
isInvalid: !!p.hostname,
hint: p.hostname || "Cloudflare Zero Trust 里指向这台电脑的主机名。"
- }), /* @__PURE__ */ (0, C.jsx)($N, {
+ }), /* @__PURE__ */ (0, C.jsx)(nP, {
id: "tunnel-token",
type: "password",
label: "隧道令牌",
@@ -70737,28 +70750,28 @@ function yPe({ revision: e, initial: t, receipt: n }) {
}
//#endregion
//#region src/react/settings/network-settings.tsx
-var bPe = [
+var xPe = [
["environment", "系统代理"],
["direct", "直连"],
["proxy", "自定义"]
];
-function xPe({ data: e, receipt: t, panel: n }) {
+function SPe({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
- ...AW(n),
+ ...jW(n),
children: [
- e.editable && e.port_editable !== !1 ? /* @__PURE__ */ (0, C.jsx)(hPe, {
+ e.editable && e.port_editable !== !1 ? /* @__PURE__ */ (0, C.jsx)(gPe, {
data: e,
receipt: t
}) : null,
- e.peach_proxy ? /* @__PURE__ */ (0, C.jsx)(SPe, {
+ e.peach_proxy ? /* @__PURE__ */ (0, C.jsx)(CPe, {
initial: e.peach_proxy,
receipt: t
}) : null,
- e.access ? /* @__PURE__ */ (0, C.jsx)(mPe, {
+ e.access ? /* @__PURE__ */ (0, C.jsx)(hPe, {
initial: e.access,
receipt: t
}) : null,
- e.tunnel ? /* @__PURE__ */ (0, C.jsx)(yPe, {
+ e.tunnel ? /* @__PURE__ */ (0, C.jsx)(bPe, {
revision: e.revision,
initial: e.tunnel,
receipt: t
@@ -70766,7 +70779,7 @@ function xPe({ data: e, receipt: t, panel: n }) {
]
});
}
-function SPe({ initial: e, receipt: t }) {
+function CPe({ initial: e, receipt: t }) {
let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(e.mode), [o, s] = (0, S.useState)(""), c = fA();
return /* @__PURE__ */ (0, C.jsxs)(vA, {
id: "peachProxy",
@@ -70782,13 +70795,13 @@ function SPe({ initial: e, receipt: t }) {
children: [
/* @__PURE__ */ (0, C.jsx)(yA, { children: /* @__PURE__ */ (0, C.jsx)(hA, {
label: "连接方式",
- children: /* @__PURE__ */ (0, C.jsx)(RP, {
+ children: /* @__PURE__ */ (0, C.jsx)(zP, {
"aria-label": "连接方式",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: bPe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(zP, {
+ children: xPe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(BP, {
id: e,
children: t
}, e))
@@ -70797,7 +70810,7 @@ function SPe({ initial: e, receipt: t }) {
i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, C.jsxs)(bA, {
divided: !0,
children: [
- i === "proxy" ? /* @__PURE__ */ (0, C.jsx)($N, {
+ i === "proxy" ? /* @__PURE__ */ (0, C.jsx)(nP, {
id: "peachProxyAddress",
type: "password",
label: "代理地址",
@@ -70824,11 +70837,11 @@ function SPe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/follow-manage/credentials.tsx
-var CPe = "将清除这个来源在本机和共享副本中的登录凭据。", wPe = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
-function TPe(e, t) {
+var wPe = "将清除这个来源在本机和共享副本中的登录凭据。", TPe = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
+function EPe(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
-function EPe({ row: e }) {
+function DPe({ row: e }) {
if (Vr(e)) return /* @__PURE__ */ (0, C.jsx)(rA, {
variant: "caption",
color: "lime",
@@ -70841,7 +70854,7 @@ function EPe({ row: e }) {
children: Br[e.requirement] || ""
});
}
-function DPe({ row: e, readOnly: t, toast: n }) {
+function OPe({ row: e, readOnly: t, toast: n }) {
let [r, i] = (0, S.useState)({}), [a, o] = (0, S.useState)(""), s = Vr(e), c = mt({
mutationFn: (t) => mee(e.provider, t),
onSuccess: (e, t) => {
@@ -70865,10 +70878,10 @@ function DPe({ row: e, readOnly: t, toast: n }) {
e.howto ? /* @__PURE__ */ (0, C.jsx)(SA, { children: e.howto }) : null,
/* @__PURE__ */ (0, C.jsx)("div", {
className: "flex w-full flex-col gap-3",
- children: (e.needs || []).map((n) => /* @__PURE__ */ (0, C.jsx)($N, {
+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, C.jsx)(nP, {
type: "password",
label: n,
- placeholder: TPe(e, n),
+ placeholder: EPe(e, n),
autoComplete: "off",
spellCheck: "false",
isDisabled: t,
@@ -70896,7 +70909,7 @@ function DPe({ row: e, readOnly: t, toast: n }) {
...J(c.isPending),
onClick: () => void Es({
title: "清除来源凭据",
- body: CPe,
+ body: wPe,
confirmLabel: "清除来源凭据",
danger: !0,
onConfirm: () => c.mutateAsync({})
@@ -70908,7 +70921,7 @@ function DPe({ row: e, readOnly: t, toast: n }) {
(e.shared_fields || []).length ? /* @__PURE__ */ (0, C.jsx)(SA, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
e.path ? /* @__PURE__ */ (0, C.jsx)(OA, {
summary: "凭据文件",
- children: /* @__PURE__ */ (0, C.jsx)(tB, {
+ children: /* @__PURE__ */ (0, C.jsx)(nB, {
path: e.path,
className: "font-mono text-caption-1-regular text-text-tertiary",
onRevealed: n
@@ -70917,19 +70930,19 @@ function DPe({ row: e, readOnly: t, toast: n }) {
]
});
}
-function OPe({ row: e, readOnly: t, toast: n }) {
+function kPe({ row: e, readOnly: t, toast: n }) {
let r = /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-2",
children: [
/* @__PURE__ */ (0, C.jsx)("span", {
className: "inline-flex size-3.5 shrink-0 items-center justify-center",
- children: /* @__PURE__ */ (0, C.jsx)(CH, { provider: e.provider })
+ children: /* @__PURE__ */ (0, C.jsx)(wH, { provider: e.provider })
}),
/* @__PURE__ */ (0, C.jsx)("b", {
className: "min-w-0 text-body-medium wrap-anywhere text-text-primary",
children: e.provider_label
}),
- /* @__PURE__ */ (0, C.jsx)(EPe, { row: e }),
+ /* @__PURE__ */ (0, C.jsx)(DPe, { row: e }),
e.missing.length ? /* @__PURE__ */ (0, C.jsx)(rA, {
variant: "caption",
color: "rose",
@@ -70947,7 +70960,7 @@ function OPe({ row: e, readOnly: t, toast: n }) {
/* @__PURE__ */ (0, C.jsx)(OA, {
summary: Vr(e) ? "修改凭据" : "填写凭据",
defaultOpen: e.requirement === "required" && !Vr(e),
- children: /* @__PURE__ */ (0, C.jsx)(DPe, {
+ children: /* @__PURE__ */ (0, C.jsx)(OPe, {
row: e,
readOnly: t,
toast: n
@@ -70956,12 +70969,12 @@ function OPe({ row: e, readOnly: t, toast: n }) {
e.world_readable ? /* @__PURE__ */ (0, C.jsx)(q, {
tone: "error",
title: "凭据文件权限过宽",
- children: wPe
+ children: TPe
}) : null
]
});
}
-function kPe({ data: e, readOnly: t, toast: n }) {
+function APe({ data: e, readOnly: t, toast: n }) {
let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !Vr(e));
return r.length ? /* @__PURE__ */ (0, C.jsxs)("div", {
className: oA({
@@ -71002,7 +71015,7 @@ function kPe({ data: e, readOnly: t, toast: n }) {
padding: "none",
className: "flex flex-col overflow-hidden"
}),
- children: e.rows.map((e) => /* @__PURE__ */ (0, C.jsx)(OPe, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, C.jsx)(kPe, {
row: e,
readOnly: t,
toast: n
@@ -71018,10 +71031,10 @@ function kPe({ data: e, readOnly: t, toast: n }) {
}
//#endregion
//#region src/configuration-copy.ts
-var APe = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", jPe = "只填域名,留空用默认地址";
+var jPe = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", MPe = "只填域名,留空用默认地址";
//#endregion
//#region src/react/settings/entry-links-settings.tsx
-function MPe({ initial: e, receipt: t }) {
+function NPe({ initial: e, receipt: t }) {
let [n, r] = (0, S.useState)(e.sites), i = fA(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
@@ -71036,8 +71049,8 @@ function MPe({ initial: e, receipt: t }) {
});
},
children: [/* @__PURE__ */ (0, C.jsxs)(bA, { children: [
- /* @__PURE__ */ (0, C.jsx)(SA, { children: APe }),
- n.map((e) => /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(SA, { children: jPe }),
+ n.map((e) => /* @__PURE__ */ (0, C.jsx)(nP, {
id: `entry-link-${e.key}`,
label: `${e.label} 地址`,
autoComplete: "off",
@@ -71046,7 +71059,7 @@ function MPe({ initial: e, receipt: t }) {
placeholder: e.default_host,
onChange: (t) => a(e.key, t),
validationBehavior: "aria",
- hint: jPe
+ hint: MPe
}, e.key)),
i.error ? /* @__PURE__ */ (0, C.jsx)(CA, { children: i.error }) : null
] }), /* @__PURE__ */ (0, C.jsx)(xA, { children: /* @__PURE__ */ (0, C.jsx)(K, {
@@ -71058,19 +71071,19 @@ function MPe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/indexer-settings.tsx
-var GW = "/api/configuration/indexers";
-function NPe({ receipt: e }) {
+var KW = "/api/configuration/indexers";
+function PPe({ receipt: e }) {
let t = pt({
queryKey: ["indexers"],
- queryFn: ({ signal: e }) => H(GW, e),
+ queryFn: ({ signal: e }) => H(KW, e),
refetchOnMount: "always"
});
- return t.error ? /* @__PURE__ */ (0, C.jsx)(CA, { children: V(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, C.jsx)(cA, { label: "正在读取资源搜索设置" }) : t.data ? /* @__PURE__ */ (0, C.jsx)(PPe, {
+ return t.error ? /* @__PURE__ */ (0, C.jsx)(CA, { children: V(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, C.jsx)(cA, { label: "正在读取资源搜索设置" }) : t.data ? /* @__PURE__ */ (0, C.jsx)(FPe, {
initial: t.data,
receipt: e
}) : null;
}
-function PPe({ initial: e, receipt: t }) {
+function FPe({ initial: e, receipt: t }) {
let [n, r] = (0, S.useState)(e.indexers), i = fA(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
...t
@@ -71078,7 +71091,7 @@ function PPe({ initial: e, receipt: t }) {
return /* @__PURE__ */ (0, C.jsxs)(vA, {
title: "资源搜索",
onSubmit: (e) => {
- e.preventDefault(), i.run("save", (e) => U(GW, { indexers: n }, "POST", e), (e) => {
+ e.preventDefault(), i.run("save", (e) => U(KW, { indexers: n }, "POST", e), (e) => {
r(e.indexers), t("已保存索引器");
});
},
@@ -71090,14 +71103,14 @@ function PPe({ initial: e, receipt: t }) {
n.map((e, t) => /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4",
children: [
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
label: `索引器 ${t + 1} 名称`,
value: e.name,
maxLength: 80,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { name: t })
}),
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
label: `索引器 ${t + 1} Torznab 地址`,
value: e.url,
type: "url",
@@ -71106,7 +71119,7 @@ function PPe({ initial: e, receipt: t }) {
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { url: t })
}),
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
label: `索引器 ${t + 1} API key`,
type: "password",
autoComplete: "new-password",
@@ -71115,13 +71128,13 @@ function PPe({ initial: e, receipt: t }) {
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { api_key: t })
}),
- /* @__PURE__ */ (0, C.jsx)(kP, {
+ /* @__PURE__ */ (0, C.jsx)(AP, {
isSelected: e.enabled,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { enabled: t }),
children: "启用"
}),
- e.api_key_set ? /* @__PURE__ */ (0, C.jsx)(kP, {
+ e.api_key_set ? /* @__PURE__ */ (0, C.jsx)(AP, {
isSelected: !!e.clear_api_key,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { clear_api_key: t }),
@@ -71158,7 +71171,7 @@ function PPe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/source-settings.tsx
-function FPe({ data: e, receipt: t, panel: n }) {
+function IPe({ data: e, receipt: t, panel: n }) {
let r = pt({
queryKey: zn,
queryFn: ({ signal: e }) => fr(e),
@@ -71166,14 +71179,14 @@ function FPe({ data: e, receipt: t, panel: n }) {
refetchOnMount: "always"
});
return /* @__PURE__ */ (0, C.jsxs)("div", {
- ...AW(n),
+ ...jW(n),
children: [
/* @__PURE__ */ (0, C.jsx)("div", { children: /* @__PURE__ */ (0, C.jsx)(aA, {
href: "/sources",
variant: "secondary",
children: "采集来源与登录状态"
}) }),
- r.data ? /* @__PURE__ */ (0, C.jsx)(kPe, {
+ r.data ? /* @__PURE__ */ (0, C.jsx)(APe, {
data: r.data,
readOnly: !!e.ledger_read_only,
toast: t
@@ -71182,23 +71195,23 @@ function FPe({ data: e, receipt: t, panel: n }) {
title: "来源凭据未取得",
children: V(r.error)
}) : n?.active === !1 ? null : /* @__PURE__ */ (0, C.jsx)(cA, { label: "正在读取来源凭据" }),
- e.entry_links ? /* @__PURE__ */ (0, C.jsx)(MPe, {
+ e.entry_links ? /* @__PURE__ */ (0, C.jsx)(NPe, {
initial: e.entry_links,
receipt: t
}) : null,
- /* @__PURE__ */ (0, C.jsx)(NPe, { receipt: t }),
- /* @__PURE__ */ (0, C.jsx)(rPe, { receipt: t })
+ /* @__PURE__ */ (0, C.jsx)(PPe, { receipt: t }),
+ /* @__PURE__ */ (0, C.jsx)(iPe, { receipt: t })
]
});
}
//#endregion
//#region src/react/settings/configuration-page.tsx
-function IPe({ receipt: e, reopenTutorial: t, section: n = "" }) {
+function LPe({ receipt: e, reopenTutorial: t, section: n = "" }) {
let r = pt({
- queryKey: DW,
- queryFn: ({ signal: e }) => OW(e)
+ queryKey: OW,
+ queryFn: ({ signal: e }) => kW(e)
}), i = r.data;
- return i ? /* @__PURE__ */ (0, C.jsx)(RPe, {
+ return i ? /* @__PURE__ */ (0, C.jsx)(zPe, {
data: i,
receipt: e,
reopenTutorial: t,
@@ -71212,9 +71225,9 @@ function IPe({ receipt: e, reopenTutorial: t, section: n = "" }) {
})
});
}
-var LPe = 0;
-function RPe({ data: e, receipt: t, reopenTutorial: n, section: r }) {
- let [i] = (0, S.useState)(() => `board-tabs-${++LPe}`), [a, o] = (0, S.useState)(r);
+var RPe = 0;
+function zPe({ data: e, receipt: t, reopenTutorial: n, section: r }) {
+ let [i] = (0, S.useState)(() => `board-tabs-${++RPe}`), [a, o] = (0, S.useState)(r);
(0, S.useEffect)(() => {
o(r);
}, [r]);
@@ -71234,21 +71247,21 @@ function RPe({ data: e, receipt: t, reopenTutorial: n, section: r }) {
}, f = !!(e.peach_proxy || e.access || e.tunnel || e.editable && e.port_editable !== !1), p = e.downloads, m = [
{
title: "媒体库与入库",
- body: (e) => /* @__PURE__ */ (0, C.jsx)(lPe, {
+ body: (e) => /* @__PURE__ */ (0, C.jsx)(uPe, {
...d,
panel: e
})
},
{
title: "来源与订阅",
- body: (e) => /* @__PURE__ */ (0, C.jsx)(FPe, {
+ body: (e) => /* @__PURE__ */ (0, C.jsx)(IPe, {
...d,
panel: e
})
},
...p ? [{
title: "下载渠道",
- body: (e) => /* @__PURE__ */ (0, C.jsx)(ENe, {
+ body: (e) => /* @__PURE__ */ (0, C.jsx)(DNe, {
initial: p,
receipt: t,
panel: e
@@ -71256,7 +71269,7 @@ function RPe({ data: e, receipt: t, reopenTutorial: n, section: r }) {
}] : [],
...f ? [{
title: "网络与访问",
- body: (e) => /* @__PURE__ */ (0, C.jsx)(xPe, {
+ body: (e) => /* @__PURE__ */ (0, C.jsx)(SPe, {
...d,
panel: e
})
@@ -71264,8 +71277,8 @@ function RPe({ data: e, receipt: t, reopenTutorial: n, section: r }) {
{
title: "应用与维护",
body: (e) => /* @__PURE__ */ (0, C.jsxs)("div", {
- ...AW(e),
- children: [/* @__PURE__ */ (0, C.jsx)(zNe, { ...d }), /* @__PURE__ */ (0, C.jsx)(MNe, {
+ ...jW(e),
+ children: [/* @__PURE__ */ (0, C.jsx)(BNe, { ...d }), /* @__PURE__ */ (0, C.jsx)(NNe, {
...d,
reopenTutorial: n
})]
@@ -71316,7 +71329,7 @@ function RPe({ data: e, receipt: t, reopenTutorial: n, section: r }) {
}
//#endregion
//#region src/react/settings-panel/glow-settings.tsx
-var zPe = [
+var BPe = [
[
"strength",
"强度",
@@ -71343,7 +71356,7 @@ var zPe = [
100
]
];
-function BPe({ host: e, spot: t, index: n, glow: r }) {
+function VPe({ host: e, spot: t, index: n, glow: r }) {
let i = ale[n], a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useRef)(null), [c, l] = (0, S.useState)("all");
(0, S.useLayoutEffect)(() => {
let [e, t, n] = [
@@ -71421,7 +71434,7 @@ function BPe({ host: e, spot: t, index: n, glow: r }) {
})]
});
}
-function VPe({ host: e }) {
+function HPe({ host: e }) {
let t = e.store.value.homeGlow, n = aE(t.preset);
return /* @__PURE__ */ (0, C.jsxs)("section", {
"data-glow-setting": "",
@@ -71451,7 +71464,7 @@ function VPe({ host: e }) {
}),
/* @__PURE__ */ (0, C.jsx)("div", {
"data-glow-fields": "",
- children: zPe.map(([r, i, a]) => /* @__PURE__ */ (0, C.jsx)($Me, {
+ children: BPe.map(([r, i, a]) => /* @__PURE__ */ (0, C.jsx)(eNe, {
field: r,
label: i,
max: a,
@@ -71473,7 +71486,7 @@ function VPe({ host: e }) {
hidden: n,
children: [/* @__PURE__ */ (0, C.jsx)("h4", { children: "颜色" }), /* @__PURE__ */ (0, C.jsx)("div", {
"data-glow-stops": "",
- children: rE.map((n, r) => /* @__PURE__ */ (0, C.jsx)(BPe, {
+ children: rE.map((n, r) => /* @__PURE__ */ (0, C.jsx)(VPe, {
host: e,
spot: n,
index: r,
@@ -71498,7 +71511,7 @@ function VPe({ host: e }) {
}
//#endregion
//#region src/react/settings-panel/number-setting.tsx
-var HPe = {
+var UPe = {
batchSizeSetting: {
min: 1,
max: 200,
@@ -71539,22 +71552,22 @@ var HPe = {
optional: !0,
fallback: 60
}
-}, KW = (e) => `peach.number.${e}`;
-function qW(e, t) {
+}, qW = (e) => `peach.number.${e}`;
+function JW(e, t) {
if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";
let n = e / 1440;
return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;
}
-function JW({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
- let a = HPe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, S.useRef)(0);
- d.current ||= XT(Number(localStorage.getItem(KW(e))), o, s, n && n > 0 ? n : l);
+function YW({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
+ let a = UPe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, S.useRef)(0);
+ d.current ||= XT(Number(localStorage.getItem(qW(e))), o, s, n && n > 0 ? n : l);
let [f, p] = (0, S.useState)(n ?? 0), [m, h] = (0, S.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, S.useState)(""), v = (0, S.useRef)(null), y = (0, S.useRef)(i);
y.current = i, (0, S.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(KW(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(qW(e), String(d.current)), y.current(d.current)));
}, x = (0, S.useRef)(b);
x.current = b, (0, S.useEffect)(() => {
let e = v.current;
@@ -71564,7 +71577,7 @@ function JW({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}, []);
let w = f > 0, T = () => {
let t = v.current;
- t?.removeAttribute("aria-invalid"), _(""), w ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(KW(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));
+ t?.removeAttribute("aria-invalid"), _(""), w ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(qW(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));
}, E = r || n === null;
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-number-setting": "",
@@ -71601,7 +71614,7 @@ function JW({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
}), /* @__PURE__ */ (0, C.jsxs)("span", {
"aria-hidden": "true",
- children: [c, qW(Number(m), c) ? ` · ${qW(Number(m), c)}` : ""]
+ children: [c, JW(Number(m), c) ? ` · ${JW(Number(m), c)}` : ""]
})]
}), /* @__PURE__ */ (0, C.jsx)("small", {
id: `${e}-error`,
@@ -71615,13 +71628,13 @@ function JW({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
//#endregion
//#region src/react/sidebar/sidebar-order.ts
-function YW(e) {
- let { mutate: t } = pz();
+function XW(e) {
+ let { mutate: t } = mz();
return (0, S.useCallback)((n) => {
e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });
}, [e, t]);
}
-function XW(e, t, n, r) {
+function ZW(e, t, n, r) {
if (t === n) return null;
let i = [...e], a = i.indexOf(t);
if (a < 0) return null;
@@ -71631,17 +71644,17 @@ function XW(e, t, n, r) {
}
//#endregion
//#region src/react/settings-panel/sidebar-order.tsx
-var UPe = "__home__", ZW = (e) => e === "" ? UPe : e;
-function WPe({ host: e }) {
- let t = YW(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, S.useState)(null), [c, l] = (0, S.useState)(!1), [u, d] = (0, S.useState)(null), [f, p] = (0, S.useState)(null), m = (0, S.useRef)(null), h = (0, S.useRef)(null), g = (e, r, i) => {
- let a = XW(n, e, r, i);
+var WPe = "__home__", QW = (e) => e === "" ? WPe : e;
+function GPe({ host: e }) {
+ let t = XW(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, S.useState)(null), [c, l] = (0, S.useState)(!1), [u, d] = (0, S.useState)(null), [f, p] = (0, S.useState)(null), m = (0, S.useRef)(null), h = (0, S.useRef)(null), g = (e, r, i) => {
+ let a = ZW(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]) => ZW(e) === o) ?? a[0], y = () => {
+ }, v = a.find(([e]) => QW(e) === o) ?? a[0], y = () => {
h.current && Ha(h.current), l(!1);
}, b = () => {
let e = h.current;
@@ -71662,7 +71675,7 @@ function WPe({ host: e }) {
}, T = (e) => ({
draggable: !0,
onDragStart: (t) => {
- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", ZW(e));
+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", QW(e));
},
onDragOver: (t) => {
if (u === null || u === e) return;
@@ -71736,7 +71749,7 @@ function WPe({ host: e }) {
})
]
})]
- }, ZW(e))), /* @__PURE__ */ (0, C.jsxs)("div", {
+ }, QW(e))), /* @__PURE__ */ (0, C.jsxs)("div", {
"data-sidebar-add-row": "",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
"data-sidebar-add-picker": "",
@@ -71769,15 +71782,15 @@ function WPe({ host: e }) {
children: a.map(([e, t, n]) => /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
role: "option",
- "data-sidebar-add-option": ZW(e),
+ "data-sidebar-add-option": QW(e),
"aria-selected": v?.[0] === e,
tabIndex: v?.[0] === e ? 0 : -1,
onKeyDown: x,
onClick: () => {
- s(ZW(e)), y(), m.current?.focus();
+ s(QW(e)), y(), m.current?.focus();
},
children: [/* @__PURE__ */ (0, C.jsx)(rO, { name: n ?? "" }), /* @__PURE__ */ (0, C.jsx)("span", { children: t })]
- }, ZW(e)))
+ }, QW(e)))
}) : null]
}), /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -71794,13 +71807,13 @@ function WPe({ host: e }) {
}
//#endregion
//#region src/react/settings-panel/settings-panel.tsx
-var QW = [
+var $W = [
["外观与导航", "ri-palette-line"],
["浏览与播放", "ri-play-circle-line"],
["JAV 与新作", "jav"],
["搜索与推荐", "ri-search-line"],
["内容显示", "ri-shield-check-line"]
-], GPe = [
+], KPe = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -71809,7 +71822,7 @@ var QW = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], KPe = [["desc", "降序"], ["asc", "升序"]], qPe = [[
+], qPe = [["desc", "降序"], ["asc", "升序"]], JPe = [[
"cover",
"官方封面",
""
@@ -71817,7 +71830,7 @@ var QW = [
"thumbnail",
"预览图",
""
-]], JPe = [
+]], YPe = [
[
"feedHideGroupSetting",
"feedHideGroupCompilations",
@@ -71836,88 +71849,88 @@ var QW = [
"切片",
"隐藏切片"
]
-], YPe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", $W = null, eG = {
+], XPe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", eG = null, tG = {
open: !1,
closing: !1,
epoch: 0,
tab: 0,
configurable: null
-}, tG = 0, nG = null, rG = /* @__PURE__ */ new Set();
-function XPe(e) {
- return rG.add(e), () => {
- rG.delete(e);
+}, nG = 0, rG = null, iG = /* @__PURE__ */ new Set();
+function ZPe(e) {
+ return iG.add(e), () => {
+ iG.delete(e);
};
}
-function ZPe() {
- for (let e of [...rG]) e();
+function QPe() {
+ for (let e of [...iG]) e();
}
-function iG(e) {
- eG = {
- ...eG,
+function aG(e) {
+ tG = {
+ ...tG,
...e
- }, (0, gt.flushSync)(ZPe);
+ }, (0, gt.flushSync)(QPe);
}
-async function QPe(e) {
- let t = eG.epoch, n = await e.configurable();
- eG.open && eG.epoch === t && iG({ configurable: n });
+async function $Pe(e) {
+ let t = tG.epoch, n = await e.configurable();
+ tG.open && tG.epoch === t && aG({ configurable: n });
}
-function $Pe(e = "") {
- let t = $W;
+function eFe(e = "") {
+ let t = eG;
if (!t) return;
- let n = QW.findIndex(([t]) => t === e);
- if (eG.open && !eG.closing) {
- n >= 0 && n !== eG.tab && iG({ tab: n });
+ let n = $W.findIndex(([t]) => t === e);
+ if (tG.open && !tG.closing) {
+ n >= 0 && n !== tG.tab && aG({ tab: n });
return;
}
- za(), tG += 1, nG ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
- let r = qTe();
- iG({
+ za(), nG += 1, rG ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
+ let r = JTe();
+ aG({
open: !0,
closing: !1,
configurable: null,
- epoch: eG.epoch + 1,
- tab: n >= 0 ? n : eG.tab
+ epoch: tG.epoch + 1,
+ tab: n >= 0 ? n : tG.tab
}), r.then((e) => {
e && t.syncRemote(e);
- }), QPe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
+ }), $Pe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
}
-function aG(e = !0) {
- if (!eG.open || eG.closing) return;
- let t = ++tG;
- e && $W?.closed?.(), iG({ closing: !0 });
+function oG(e = !0) {
+ if (!tG.open || tG.closing) return;
+ let t = ++nG;
+ e && eG?.closed?.(), aG({ closing: !0 });
let n = () => {
- t === tG && eG.closing && (iG({
+ t === nG && tG.closing && (aG({
open: !1,
closing: !1
- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), nG instanceof HTMLElement && document.contains(nG) && nG.focus(), nG = null);
+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), rG instanceof HTMLElement && document.contains(rG) && rG.focus(), rG = null);
};
matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));
}
-var eFe = {
- open: $Pe,
- close: aG,
- isOpen: () => eG.open,
+var tFe = {
+ open: eFe,
+ close: oG,
+ isOpen: () => tG.open,
reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))
};
-function tFe(e) {
- return $W = e, eFe;
+function nFe(e) {
+ return eG = e, tFe;
}
-function nFe() {
- let e = (0, S.useSyncExternalStore)(XPe, () => eG);
- return $W ? /* @__PURE__ */ (0, C.jsx)(aFe, {
- host: $W,
+function rFe() {
+ let e = (0, S.useSyncExternalStore)(ZPe, () => tG);
+ return eG ? /* @__PURE__ */ (0, C.jsx)(oFe, {
+ host: eG,
view: e
}) : null;
}
-function rFe(e) {
+function iFe(e) {
if (e.key !== "Tab") return;
- let t = [...e.currentTarget.querySelectorAll(YPe)].filter((e) => e.getClientRects().length > 0);
+ let t = [...e.currentTarget.querySelectorAll(XPe)].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 oG = (e) => `settings-tab-${e}`, sG = (e) => `settings-group-${e}`;
-function iFe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
+var sG = (e) => `settings-tab-${e}`, cG = (e) => `settings-group-${e}`;
+function aFe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
let a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useRef)(null), c = (0, S.useRef)(e), l = (0, S.useRef)([]), u = (e, t) => {
let n = o.current;
if (!n) return;
@@ -71945,7 +71958,7 @@ function iFe({ 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 = QW.length, r = t;
+ let n = $W.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;
@@ -71974,11 +71987,11 @@ function iFe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
role: "presentation",
children: "设置"
}),
- QW.map(([t, n], r) => /* @__PURE__ */ (0, C.jsxs)("button", {
+ $W.map(([t, n], r) => /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
role: "tab",
- id: oG(r),
- "aria-controls": sG(r),
+ id: sG(r),
+ "aria-controls": cG(r),
"aria-selected": r === e,
tabIndex: r === e ? 0 : -1,
ref: (e) => {
@@ -72009,17 +72022,17 @@ function iFe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
]
});
}
-function cG({ index: e, tab: t, children: n }) {
+function lG({ index: e, tab: t, children: n }) {
return /* @__PURE__ */ (0, C.jsxs)("section", {
"data-setting-group": "",
- id: sG(e),
+ id: cG(e),
role: "tabpanel",
- "aria-labelledby": oG(e),
+ "aria-labelledby": sG(e),
hidden: e !== t,
- children: [/* @__PURE__ */ (0, C.jsx)("h3", { children: QW[e][0] }), n]
+ children: [/* @__PURE__ */ (0, C.jsx)("h3", { children: $W[e][0] }), n]
});
}
-function lG({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
+function uG({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
return /* @__PURE__ */ (0, C.jsxs)("label", {
"data-setting-row": "",
children: [/* @__PURE__ */ (0, C.jsxs)("span", { children: [/* @__PURE__ */ (0, C.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, C.jsx)("small", {
@@ -72036,7 +72049,7 @@ function lG({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se
})]
});
}
-function uG({ title: e, description: t, kind: n, children: r }) {
+function dG({ title: e, description: t, kind: n, children: r }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-setting-row": "",
"data-setting-sort": n === "sort" ? "" : void 0,
@@ -72044,7 +72057,7 @@ function uG({ title: e, description: t, kind: n, children: r }) {
children: [/* @__PURE__ */ (0, C.jsxs)("span", { children: [/* @__PURE__ */ (0, C.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, C.jsx)("small", { children: t }) : t] }), r]
});
}
-function aFe({ host: e, view: t }) {
+function oFe({ host: e, view: t }) {
(0, S.useSyncExternalStore)(e.store.subscribe, e.store.version);
let n = e.store.value, r = (0, S.useRef)(null), i = (0, S.useRef)(null), a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useRef)(null), c = (0, S.useRef)(t.tab), l = () => {
let [e, t] = [i.current, o.current];
@@ -72065,7 +72078,7 @@ function aFe({ host: e, view: t }) {
s.current?.();
});
let d = t.epoch, f = (t) => {
- t !== eG.tab && (iG({ tab: t }), e.selectSection?.(QW[t][0]));
+ t !== tG.tab && (aG({ tab: t }), e.selectSection?.($W[t][0]));
}, p = () => e.store.save();
return /* @__PURE__ */ (0, C.jsx)("section", {
"data-settings-panel": "",
@@ -72076,9 +72089,9 @@ function aFe({ host: e, view: t }) {
"aria-labelledby": "settingsTitle",
"data-closing": t.closing ? "" : void 0,
ref: r,
- onKeyDown: rFe,
+ onKeyDown: iFe,
onClick: (e) => {
- e.target === e.currentTarget && aG();
+ e.target === e.currentTarget && oG();
},
children: /* @__PURE__ */ (0, C.jsxs)("div", {
"data-settings-card": "",
@@ -72089,33 +72102,33 @@ function aFe({ host: e, view: t }) {
ref: a,
children: [/* @__PURE__ */ (0, C.jsx)("h2", {
id: "settingsTitle",
- children: QW[t.tab][0]
- }), /* @__PURE__ */ (0, C.jsx)(iP, {
+ children: $W[t.tab][0]
+ }), /* @__PURE__ */ (0, C.jsx)(sP, {
id: "settingsClose",
label: "关闭设置",
- onPress: () => aG()
+ onPress: () => oG()
})]
}),
- /* @__PURE__ */ (0, C.jsx)(iFe, {
+ /* @__PURE__ */ (0, C.jsx)(aFe, {
tab: t.tab,
epoch: d,
configurable: t.configurable,
onSelect: f,
openConfiguration: () => {
- aG(!1), e.openConfiguration();
+ oG(!1), e.openConfiguration();
}
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
"data-settings-scroll": "",
ref: o,
children: [
- /* @__PURE__ */ (0, C.jsxs)(cG, {
+ /* @__PURE__ */ (0, C.jsxs)(lG, {
index: 0,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, C.jsx)(uG, {
+ /* @__PURE__ */ (0, C.jsx)(dG, {
title: "主题",
- children: /* @__PURE__ */ (0, C.jsx)(pW, {
+ children: /* @__PURE__ */ (0, C.jsx)(mW, {
id: "themeSetting",
name: "theme",
legend: "主题",
@@ -72143,7 +72156,7 @@ function aFe({ host: e, view: t }) {
onChange: (t) => e.setHighContrast(t.target.checked)
})]
}),
- /* @__PURE__ */ (0, C.jsx)(lG, {
+ /* @__PURE__ */ (0, C.jsx)(uG, {
id: "uiSoundsSetting",
title: "界面音效",
checked: n.uiSounds,
@@ -72151,7 +72164,7 @@ function aFe({ host: e, view: t }) {
n.uiSounds = t, p(), e.changed("uiSounds");
}
}),
- /* @__PURE__ */ (0, C.jsx)(lG, {
+ /* @__PURE__ */ (0, C.jsx)(uG, {
id: "homeGlowSetting",
title: "侧栏光晕",
checked: n.homeGlow.on,
@@ -72159,40 +72172,40 @@ function aFe({ host: e, view: t }) {
n.homeGlow.on = t, p(), e.changed("glow");
}
}),
- /* @__PURE__ */ (0, C.jsx)(VPe, { host: e }),
+ /* @__PURE__ */ (0, C.jsx)(HPe, { host: e }),
/* @__PURE__ */ (0, C.jsxs)("section", {
"data-sidebar-setting": "",
"aria-labelledby": "sidebarOrderTitle",
children: [/* @__PURE__ */ (0, C.jsx)("span", { children: /* @__PURE__ */ (0, C.jsx)("b", {
id: "sidebarOrderTitle",
children: "导航入口与顺序"
- }) }), /* @__PURE__ */ (0, C.jsx)(WPe, { host: e })]
+ }) }), /* @__PURE__ */ (0, C.jsx)(GPe, { host: e })]
})
]
}),
- /* @__PURE__ */ (0, C.jsx)(sFe, {
+ /* @__PURE__ */ (0, C.jsx)(cFe, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, C.jsx)(cFe, {
+ /* @__PURE__ */ (0, C.jsx)(lFe, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, C.jsxs)(cG, {
+ /* @__PURE__ */ (0, C.jsxs)(lG, {
index: 3,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, C.jsx)(dFe, {
+ /* @__PURE__ */ (0, C.jsx)(fFe, {
host: e,
epoch: d
}),
- /* @__PURE__ */ (0, C.jsx)(uG, {
+ /* @__PURE__ */ (0, C.jsx)(dG, {
title: "相关推荐数量",
children: /* @__PURE__ */ (0, C.jsx)("div", {
id: "relatedLimitSetting",
- children: /* @__PURE__ */ (0, C.jsx)(JW, {
+ children: /* @__PURE__ */ (0, C.jsx)(YW, {
id: "relatedLimitSetting",
label: "相关推荐数量",
value: n.relatedLimit,
@@ -72202,24 +72215,24 @@ function aFe({ host: e, view: t }) {
}, d)
})
}),
- /* @__PURE__ */ (0, C.jsx)(uG, {
+ /* @__PURE__ */ (0, C.jsx)(dG, {
title: "口味与记录",
children: /* @__PURE__ */ (0, C.jsx)("div", {
className: "peach-react",
children: /* @__PURE__ */ (0, C.jsx)(aA, {
variant: "secondary",
href: "/taste",
- onClick: () => aG(!1),
+ onClick: () => oG(!1),
children: "打开口味与记录"
})
})
})
]
}),
- /* @__PURE__ */ (0, C.jsx)(cG, {
+ /* @__PURE__ */ (0, C.jsx)(lG, {
index: 4,
tab: t.tab,
- children: /* @__PURE__ */ (0, C.jsx)(lG, {
+ children: /* @__PURE__ */ (0, C.jsx)(uG, {
id: "censorSetting",
title: "SFW 模式",
describedBy: "sfwDescription",
@@ -72234,7 +72247,7 @@ function aFe({ host: e, view: t }) {
})
});
}
-function oFe(e, t) {
+function sFe(e, t) {
let n = e.querySelector("[data-select-label]");
if (!n) return;
n.querySelector("[data-icon-swap]") || (n.innerHTML = Co("arrow-up", "arrow-down", "a", {
@@ -72244,17 +72257,17 @@ function oFe(e, t) {
let r = n.querySelector("[data-sort-direction-label]");
r && (r.textContent = t ? "升序" : "降序");
}
-function sFe({ host: e, tab: t, epoch: n }) {
+function cFe({ 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, C.jsxs)(cG, {
+ return /* @__PURE__ */ (0, C.jsxs)(lG, {
index: 1,
tab: t,
children: [
- /* @__PURE__ */ (0, C.jsx)(uG, {
+ /* @__PURE__ */ (0, C.jsx)(dG, {
title: "每批加载作品",
children: /* @__PURE__ */ (0, C.jsx)("div", {
id: "batchSizeSetting",
- children: /* @__PURE__ */ (0, C.jsx)(JW, {
+ children: /* @__PURE__ */ (0, C.jsx)(YW, {
id: "batchSizeSetting",
label: "每批作品",
value: r.batchSize,
@@ -72264,24 +72277,24 @@ function sFe({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, C.jsx)(uG, {
+ /* @__PURE__ */ (0, C.jsx)(dG, {
title: "默认排序",
kind: "sort",
children: /* @__PURE__ */ (0, C.jsxs)("div", {
"data-setting-sort-controls": "",
- children: [/* @__PURE__ */ (0, C.jsx)(mW, {
+ children: [/* @__PURE__ */ (0, C.jsx)(hW, {
id: "defaultSortSetting",
label: "默认排序",
- options: GPe,
+ options: KPe,
value: r.defaultSort,
epoch: n,
onPick: (t) => {
r.defaultSort = t, i(), e.changed("defaultSort");
}
- }), /* @__PURE__ */ (0, C.jsx)(mW, {
+ }), /* @__PURE__ */ (0, C.jsx)(hW, {
id: "defaultSortDirectionSetting",
label: "默认排序方向",
- options: KPe,
+ options: qPe,
value: o ? "asc" : "desc",
hidden: a,
disabled: a,
@@ -72289,13 +72302,13 @@ function sFe({ host: e, tab: t, epoch: n }) {
onPick: (t) => {
r.defaultSortDirection = t, i(), e.changed("sortDirection");
},
- decorate: (e) => oFe(e, o)
+ decorate: (e) => sFe(e, o)
})]
})
}),
- /* @__PURE__ */ (0, C.jsx)(uG, {
+ /* @__PURE__ */ (0, C.jsx)(dG, {
title: "视频卡片大小",
- children: /* @__PURE__ */ (0, C.jsx)(pW, {
+ children: /* @__PURE__ */ (0, C.jsx)(mW, {
id: "javSizeSetting",
name: "video-size",
legend: "视频卡片大小",
@@ -72308,16 +72321,16 @@ function sFe({ host: e, tab: t, epoch: n }) {
onChoose: (t) => e.setVideoLayout(t)
})
}),
- /* @__PURE__ */ (0, C.jsx)(uFe, {
+ /* @__PURE__ */ (0, C.jsx)(dFe, {
host: e,
epoch: n
})
]
});
}
-function cFe({ host: e, tab: t, epoch: n }) {
+function lFe({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save();
- return /* @__PURE__ */ (0, C.jsxs)(cG, {
+ return /* @__PURE__ */ (0, C.jsxs)(lG, {
index: 2,
tab: t,
children: [
@@ -72325,13 +72338,13 @@ function cFe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "作品显示"
}),
- /* @__PURE__ */ (0, C.jsx)(uG, {
+ /* @__PURE__ */ (0, C.jsx)(dG, {
title: "默认图片",
- children: /* @__PURE__ */ (0, C.jsx)(pW, {
+ children: /* @__PURE__ */ (0, C.jsx)(mW, {
id: "javImageSetting",
name: "jav-image",
legend: "默认图片",
- options: qPe,
+ options: JPe,
value: r.javImage,
attr: "data-jav-image-choice",
variant: "javimageswitch",
@@ -72359,7 +72372,7 @@ function cFe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "新作显示"
}),
- /* @__PURE__ */ (0, C.jsx)(lG, {
+ /* @__PURE__ */ (0, C.jsx)(uG, {
id: "feedAutoScrollSetting",
title: "新作自动滚动",
checked: r.feedAutoScroll,
@@ -72367,7 +72380,7 @@ function cFe({ host: e, tab: t, epoch: n }) {
r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");
}
}),
- JPe.map(([t, n, r, i]) => /* @__PURE__ */ (0, C.jsx)(lFe, {
+ YPe.map(([t, n, r, i]) => /* @__PURE__ */ (0, C.jsx)(uFe, {
host: e,
id: t,
settingKey: n,
@@ -72377,8 +72390,8 @@ function cFe({ host: e, tab: t, epoch: n }) {
]
});
}
-function lFe({ host: e, id: t, settingKey: n, label: r, title: i }) {
- let a = pz(), [o, s] = (0, S.useState)(null), c = (0, S.useRef)(null), l = e.store.value, u = (t) => {
+function uFe({ host: e, id: t, settingKey: n, label: r, title: i }) {
+ let a = mz(), [o, s] = (0, S.useState)(null), c = (0, S.useRef)(null), l = e.store.value, u = (t) => {
s(t), ps(c.current), a.mutate({ [n]: t }, {
onSuccess: (i) => {
l[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);
@@ -72402,14 +72415,14 @@ function lFe({ host: e, id: t, settingKey: n, label: r, title: i }) {
})]
});
}
-function uFe({ host: e, epoch: t }) {
+function dFe({ host: e, epoch: t }) {
let n = e.store.value, r = () => e.store.save();
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)(uG, {
+ /* @__PURE__ */ (0, C.jsx)(dG, {
title: "悬停预览延迟",
children: /* @__PURE__ */ (0, C.jsx)("div", {
id: "hoverDelaySetting",
- children: /* @__PURE__ */ (0, C.jsx)(JW, {
+ children: /* @__PURE__ */ (0, C.jsx)(YW, {
id: "hoverDelaySetting",
label: "悬停预览延迟",
value: n.hoverDelaySeconds,
@@ -72419,7 +72432,7 @@ function uFe({ host: e, epoch: t }) {
}, t)
})
}),
- /* @__PURE__ */ (0, C.jsx)(lG, {
+ /* @__PURE__ */ (0, C.jsx)(uG, {
id: "detailAutoplaySetting",
title: "打开详情自动播放",
checked: n.detailAutoplay,
@@ -72427,7 +72440,7 @@ function uFe({ host: e, epoch: t }) {
n.detailAutoplay = e, r();
}
}),
- /* @__PURE__ */ (0, C.jsx)(lG, {
+ /* @__PURE__ */ (0, C.jsx)(uG, {
id: "miniplayerSetting",
title: "离开详情后小窗播放",
checked: n.miniplayer,
@@ -72435,11 +72448,11 @@ function uFe({ host: e, epoch: t }) {
n.miniplayer = t, r(), e.changed("miniplayer");
}
}),
- /* @__PURE__ */ (0, C.jsx)(uG, {
+ /* @__PURE__ */ (0, C.jsx)(dG, {
title: "快进 / 快退步长",
children: /* @__PURE__ */ (0, C.jsx)("div", {
id: "seekSecondsSetting",
- children: /* @__PURE__ */ (0, C.jsx)(JW, {
+ children: /* @__PURE__ */ (0, C.jsx)(YW, {
id: "seekSecondsSetting",
label: "快进 / 快退",
value: n.seekSeconds,
@@ -72451,13 +72464,13 @@ function uFe({ host: e, epoch: t }) {
})
] });
}
-function dFe({ host: e, epoch: t }) {
- let n = e.store.value, r = pz();
- return /* @__PURE__ */ (0, C.jsx)(uG, {
+function fFe({ host: e, epoch: t }) {
+ let n = e.store.value, r = mz();
+ return /* @__PURE__ */ (0, C.jsx)(dG, {
title: "搜索记录数量",
children: /* @__PURE__ */ (0, C.jsx)("div", {
id: "searchHistoryLimitSetting",
- children: /* @__PURE__ */ (0, C.jsx)(JW, {
+ children: /* @__PURE__ */ (0, C.jsx)(YW, {
id: "searchHistoryLimitSetting",
label: "搜索记录",
value: n.searchHistoryLimit,
@@ -72470,68 +72483,68 @@ function dFe({ host: e, epoch: t }) {
}
//#endregion
//#region src/react/sidebar/sidebar-island.tsx
-var dG = "__home__", fFe = {
+var fG = "__home__", pFe = {
creator: 26,
tag: 30,
tech: 16
-}, fG = 180, pG = null, mG = {
+}, pG = 180, mG = null, hG = {
props: {
content: null,
filters: {},
latest: null
},
epoch: 0
-}, hG = /* @__PURE__ */ new Set();
-function pFe(e) {
- return hG.add(e), () => {
- hG.delete(e);
+}, gG = /* @__PURE__ */ new Set();
+function mFe(e) {
+ return gG.add(e), () => {
+ gG.delete(e);
};
}
-function gG() {
- for (let e of [...hG]) e();
+function _G() {
+ for (let e of [...gG]) e();
}
-var mFe = {
+var hFe = {
render(e) {
- mG = {
- ...mG,
+ hG = {
+ ...hG,
props: e
- }, (0, gt.flushSync)(gG);
+ }, (0, gt.flushSync)(_G);
},
navChanged() {
- mG = {
- ...mG,
- epoch: mG.epoch + 1
- }, (0, gt.flushSync)(gG);
+ hG = {
+ ...hG,
+ epoch: hG.epoch + 1
+ }, (0, gt.flushSync)(_G);
}
};
-function hFe(e) {
- return pG = e, mG = {
- ...mG,
+function gFe(e) {
+ return mG = e, hG = {
+ ...hG,
props: {
content: null,
filters: {},
latest: null
}
- }, mFe;
+ }, hFe;
}
-function gFe() {
- let e = (0, S.useSyncExternalStore)(pFe, () => mG);
- return pG ? /* @__PURE__ */ (0, C.jsx)(_Fe, {
- host: pG,
+function _Fe() {
+ let e = (0, S.useSyncExternalStore)(mFe, () => hG);
+ return mG ? /* @__PURE__ */ (0, C.jsx)(vFe, {
+ host: mG,
props: e.props,
epoch: e.epoch
}) : null;
}
-function _Fe({ host: e, props: t, epoch: n }) {
+function vFe({ host: e, props: t, epoch: n }) {
let r = (0, S.useSyncExternalStore)(e.store.subscribe, e.store.version);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsx)("div", { "data-sidebar-head": "" }),
- /* @__PURE__ */ (0, C.jsx)(vFe, {
+ /* @__PURE__ */ (0, C.jsx)(yFe, {
host: e,
epoch: n,
version: r
}),
- t.content ? /* @__PURE__ */ (0, C.jsx)(bFe, {
+ t.content ? /* @__PURE__ */ (0, C.jsx)(xFe, {
host: e,
content: t.content,
filters: t.filters,
@@ -72539,8 +72552,8 @@ function _Fe({ host: e, props: t, epoch: n }) {
}) : null
] });
}
-function vFe({ host: e, epoch: t, version: n }) {
- let r = YW(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, S.useRef)(null), l = (0, S.useRef)(null), u = aj(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || dG : "").join(",")}`, { axis: "y" }), { sync: d } = u;
+function yFe({ host: e, epoch: t, version: n }) {
+ let r = XW(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, S.useRef)(null), l = (0, S.useRef)(null), u = cj(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || fG : "").join(",")}`, { axis: "y" }), { sync: d } = u;
(0, S.useEffect)(() => {
let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());
return [
@@ -72558,7 +72571,7 @@ function vFe({ host: e, epoch: t, version: n }) {
}, _ = (e) => ({
draggable: !0,
onDragStart: (t) => {
- p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || dG);
+ p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || fG);
},
onDragOver: (t) => {
if (f === null || f === e) return;
@@ -72573,7 +72586,7 @@ function vFe({ host: e, epoch: t, version: n }) {
t.preventDefault();
let n = f, a = m?.key === e && m.after;
g();
- let o = n === null ? null : XW(i, n, e, a);
+ let o = n === null ? null : ZW(i, n, e, a);
o && r(o);
},
onDragEnd: g
@@ -72597,15 +72610,15 @@ function vFe({ host: e, epoch: t, version: n }) {
src: "/peach-logo.png",
alt: ""
}) : /* @__PURE__ */ (0, C.jsx)(rO, { name: r }), /* @__PURE__ */ (0, C.jsx)("span", { children: n })]
- }, t || dG))
+ }, t || fG))
}), v ? (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)("span", {
"data-sidebar-glide": "",
"aria-hidden": "true",
ref: l
}), v) : null] });
}
-var _G = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
-function yFe(e) {
+var vG = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
+function bFe(e) {
if (!e) return null;
let t = /* @__PURE__ */ new Map(), n = [
["loc", e.locations],
@@ -72618,7 +72631,7 @@ function yFe(e) {
for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);
return t;
}
-function bFe({ host: e, content: t, filters: n, latest: r }) {
+function xFe({ 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, S.useLayoutEffect)(() => {
t.kind === "catalog" && ko(e.scroll, "drawer");
@@ -72627,8 +72640,8 @@ function bFe({ host: e, content: t, filters: n, latest: r }) {
i,
t.kind
]);
- let a = t.kind === "catalog" ? xFe(e, t.facets, n, r, i) : SFe(e, t, n), o = 0;
- return a.map((e) => e && /* @__PURE__ */ (0, C.jsx)(CFe, {
+ let a = t.kind === "catalog" ? SFe(e, t.facets, n, r, i) : CFe(e, t, n), o = 0;
+ return a.map((e) => e && /* @__PURE__ */ (0, C.jsx)(wFe, {
title: e.title,
kind: e.kind,
active: e.active,
@@ -72637,11 +72650,11 @@ function bFe({ host: e, content: t, filters: n, latest: r }) {
children: e.body
}, e.title));
}
-function xFe(e, t, n, r, i) {
- let a = yFe(r), o = (t, r, i) => {
+function SFe(e, t, n, r, i) {
+ let a = bFe(r), o = (t, r, i) => {
if (!t.length) return null;
- let o = _G(n, r);
- return /* @__PURE__ */ (0, C.jsx)(bG, {
+ let o = vG(n, r);
+ return /* @__PURE__ */ (0, C.jsx)(xG, {
rows: t,
filterKey: r,
multi: i,
@@ -72651,7 +72664,7 @@ function xFe(e, t, n, r, i) {
});
}, s = (t, s, c, l, u, d) => {
if (!c.length) return null;
- let f = _G(n, l), p = c.some((e) => f.includes(e.value));
+ let f = vG(n, l), p = c.some((e) => f.includes(e.value));
if (!d) return {
title: t,
kind: s,
@@ -72663,12 +72676,12 @@ function xFe(e, t, n, r, i) {
title: t,
kind: s,
active: p,
- body: /* @__PURE__ */ (0, C.jsx)(TFe, {
+ body: /* @__PURE__ */ (0, C.jsx)(EFe, {
epoch: i,
title: t,
rows: c,
latest: m ?? null,
- limit: fFe[d],
+ limit: pFe[d],
filterKey: l,
selected: f,
counts: a,
@@ -72683,7 +72696,7 @@ function xFe(e, t, n, r, i) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, C.jsx)(CG, {
+ body: /* @__PURE__ */ (0, C.jsx)(wG, {
host: e,
filters: n
})
@@ -72697,7 +72710,7 @@ function xFe(e, t, n, r, i) {
title: "关注标签",
kind: "online",
active: !1,
- body: /* @__PURE__ */ (0, C.jsx)(xG, {
+ body: /* @__PURE__ */ (0, C.jsx)(SG, {
rows: t.followTags,
host: e,
selected: null,
@@ -72706,14 +72719,14 @@ function xFe(e, t, n, r, i) {
} : null
];
}
-function SFe(e, t, n) {
- let r = t.providers || [], i = _G(n, "provider"), a = new Set(t.selected);
+function CFe(e, t, n) {
+ let r = t.providers || [], i = vG(n, "provider"), a = new Set(t.selected);
return [
r.length ? {
title: "来源",
kind: "src",
active: r.some((e) => i.includes(e.value)),
- body: /* @__PURE__ */ (0, C.jsx)(bG, {
+ body: /* @__PURE__ */ (0, C.jsx)(xG, {
rows: r,
filterKey: "provider",
multi: !1,
@@ -72727,7 +72740,7 @@ function SFe(e, t, n) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, C.jsx)(CG, {
+ body: /* @__PURE__ */ (0, C.jsx)(wG, {
host: e,
filters: n,
commit: e.setFollowDuration
@@ -72737,7 +72750,7 @@ function SFe(e, t, n) {
title: "内容标签",
kind: "online",
active: t.tags.some((e) => a.has(e.value)),
- body: /* @__PURE__ */ (0, C.jsx)(xG, {
+ body: /* @__PURE__ */ (0, C.jsx)(SG, {
rows: t.tags,
host: e,
selected: a,
@@ -72746,19 +72759,19 @@ function SFe(e, t, n) {
} : null
];
}
-function vG(e, t) {
+function yG(e, t) {
let n = null;
try {
n = sessionStorage.getItem(`peach.sidebar.group.${e}`);
} catch {}
return n === null ? t : n === "open";
}
-function CFe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
- let o = (0, S.useRef)(null), s = (0, S.useRef)(null), [c, l] = (0, S.useState)(() => vG(e, n)), u = (0, S.useRef)(!1);
+function wFe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
+ let o = (0, S.useRef)(null), s = (0, S.useRef)(null), [c, l] = (0, S.useState)(() => yG(e, n)), u = (0, S.useRef)(!1);
(0, S.useLayoutEffect)(() => {
let t = o.current, r = s.current;
if (!t || !r) return;
- let i = u.current ? vG(e, n) : c;
+ let i = u.current ? yG(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) => {
@@ -72790,7 +72803,7 @@ function CFe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
children: /* @__PURE__ */ (0, C.jsx)("div", {
"data-sidebar-body": "",
id: `sidebar-group-${encodeURIComponent(e)}`,
- children: /* @__PURE__ */ (0, C.jsx)(yG.Provider, {
+ children: /* @__PURE__ */ (0, C.jsx)(bG.Provider, {
value: d,
children: a
})
@@ -72799,15 +72812,15 @@ function CFe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
})]
});
}
-var yG = (0, S.createContext)(() => {});
-function wFe({ dot: e }) {
+var bG = (0, S.createContext)(() => {});
+function TFe({ dot: e }) {
return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, C.jsx)(rO, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, C.jsx)("img", {
"data-sidebar-source-icon": "",
src: e.src,
alt: ""
}) : /* @__PURE__ */ (0, C.jsx)("i", { "data-sidebar-cost": e.cost }) : null;
}
-function bG({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
+function xG({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => {
@@ -72824,7 +72837,7 @@ function bG({ 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, C.jsx)(wFe, { dot: e.dot }),
+ /* @__PURE__ */ (0, C.jsx)(TFe, { dot: e.dot }),
/* @__PURE__ */ (0, C.jsx)("span", {
"data-sidebar-chip-label": "",
children: e.label
@@ -72839,8 +72852,8 @@ function bG({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,
})
});
}
-function TFe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
- let u = (0, S.useContext)(yG), [d, f] = (0, S.useState)(null), [p, m] = (0, S.useState)(e);
+function EFe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
+ let u = (0, S.useContext)(bG), [d, f] = (0, S.useState)(null), [p, m] = (0, S.useState)(e);
p !== e && (m(e), f(null));
let h = (0, S.useRef)(null), g = (0, S.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;
return (0, S.useLayoutEffect)(() => {
@@ -72855,7 +72868,7 @@ function TFe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
e.body.classList.add("ui-fcollapse"), Ca(e.body, e.before, () => !!t?.open && !e.body.inert);
}
t(), requestAnimationFrame(t);
- }, [d, _]), /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(bG, {
+ }, [d, _]), /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(xG, {
rows: _ ? v : v.slice(0, i),
filterKey: a,
multi: !1,
@@ -72883,7 +72896,7 @@ function TFe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
children: /* @__PURE__ */ (0, C.jsx)(rO, { name: "chevron-down" })
}) : null] });
}
-function xG({ rows: e, host: t, selected: n, badges: r }) {
+function SG({ rows: e, host: t, selected: n, badges: r }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => /* @__PURE__ */ (0, C.jsxs)("button", {
@@ -72905,10 +72918,10 @@ function xG({ rows: e, host: t, selected: n, badges: r }) {
}, e.value))
});
}
-var SG = (e, t) => e ? Math.min(fG, Number(e) / 60) : t;
-function CG({ host: e, filters: t, commit: n = e.setDuration }) {
- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, S.useState)(r), [o, s] = (0, S.useState)(() => [SG(t.dur_min, 0), SG(t.dur_max, fG)]), [c, l] = (0, S.useState)("max");
- i !== r && (a(r), s([SG(t.dur_min, 0), SG(t.dur_max, fG)]));
+var CG = (e, t) => e ? Math.min(pG, Number(e) / 60) : t;
+function wG({ host: e, filters: t, commit: n = e.setDuration }) {
+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, S.useState)(r), [o, s] = (0, S.useState)(() => [CG(t.dur_min, 0), CG(t.dur_max, pG)]), [c, l] = (0, S.useState)("max");
+ i !== r && (a(r), s([CG(t.dur_min, 0), CG(t.dur_max, pG)]));
let [u, d] = o, f = (0, S.useRef)(null), p = (0, S.useRef)(null), m = (0, S.useRef)(null), h = (0, S.useRef)(o);
h.current = o;
let g = (e, t) => {
@@ -72921,11 +72934,11 @@ function CG({ host: e, filters: t, commit: n = e.setDuration }) {
}, [n]), (0, S.useLayoutEffect)(() => {
let e = f.current;
if (!e) return;
- e.style.setProperty("--lo", `${u / fG * 100}%`), e.style.setProperty("--hi", `${d / fG * 100}%`);
+ e.style.setProperty("--lo", `${u / pG * 100}%`), e.style.setProperty("--hi", `${d / pG * 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 / fG * 100}%`, e.style.setProperty("--range-tip-shift", "0px");
+ e.style.left = `${n / pG * 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`);
});
@@ -72935,7 +72948,7 @@ function CG({ 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 >= fG ? "不限" : `${t} 分钟`
+ children: e === "max" && t >= pG ? "不限" : `${t} 分钟`
});
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-sidebar-duration": "",
@@ -72950,7 +72963,7 @@ function CG({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMin",
type: "range",
min: "0",
- max: fG,
+ max: pG,
step: "5",
value: u,
"aria-label": "最短时长(分钟)",
@@ -72961,7 +72974,7 @@ function CG({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMax",
type: "range",
min: "0",
- max: fG,
+ max: pG,
step: "5",
value: d,
"aria-label": "最长时长(分钟)",
@@ -72976,23 +72989,23 @@ function CG({ host: e, filters: t, commit: n = e.setDuration }) {
}
//#endregion
//#region src/configuration-skeleton.ts
-var EFe = (e, t) => `<section aria-label="${e}" class="flex w-full flex-col gap-2"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${ao({
+var DFe = (e, t) => `<section aria-label="${e}" class="flex w-full flex-col gap-2"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${ao({
label: "保存配置",
attrs: "disabled data-skeleton-action"
-})}</div></div></section>`, wG = (e, t = "", n = "ui-configuration-skeleton-toggle") => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div><span class="skeleton ${n}"></span></div>`;
-function DFe() {
+})}</div></div></section>`, TG = (e, t = "", n = "ui-configuration-skeleton-toggle") => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div><span class="skeleton ${n}"></span></div>`;
+function OFe() {
return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${[
"媒体库与入库",
"来源与订阅",
"下载渠道",
"网络与访问",
"应用与维护"
- ].map((e, t) => `<button type="button" tabindex="-1" aria-selected="${t === 0}">${e}</button>`).join("")}</div>`}<div class="flex flex-col gap-6">${EFe("媒体文件夹", `<div class="flex flex-col gap-3 py-4 pr-3">${wG("媒体文件夹", "", "ui-configuration-skeleton-select")}${wG("媒体库名称", "", "ui-configuration-skeleton-select")}</div>`)}</div></div></div>`;
+ ].map((e, t) => `<button type="button" tabindex="-1" aria-selected="${t === 0}">${e}</button>`).join("")}</div>`}<div class="flex flex-col gap-6">${DFe("媒体文件夹", `<div class="flex flex-col gap-3 py-4 pr-3">${TG("媒体文件夹", "", "ui-configuration-skeleton-select")}${TG("媒体库名称", "", "ui-configuration-skeleton-select")}</div>`)}</div></div></div>`;
}
//#endregion
//#region src/management-skeletons.ts
-var TG = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", EG = (e = "60%") => `<span class="${TG} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, DG = "disabled data-skeleton-action", OG = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
-function OFe() {
+var EG = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", DG = (e = "60%") => `<span class="${EG} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, OG = "disabled data-skeleton-action", kG = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
+function kFe() {
let e = [
"馆藏视频",
"看过",
@@ -73000,27 +73013,27 @@ function OFe() {
"使用空间"
].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="${TG} 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">${EG("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">${EG("6em")}</small>
- </div>`).join(""), t = (e) => `<section class="${OG}" 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">${EG("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="${EG} 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">${DG("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">${DG("6em")}</small>
+ </div>`).join(""), t = (e) => `<section class="${kG}" 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">${DG("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">${EG()}</span><b class="text-title-2-medium">${EG("3em")}</b><small class="text-caption-1-regular">${EG()}</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">${DG()}</span><b class="text-title-2-medium">${DG("3em")}</b><small class="text-caption-1-regular">${DG()}</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">账本当前快照 · ${EG("12em")}</p>
+ <p class="text-caption-1-regular text-text-secondary">账本当前快照 · ${DG("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="${OG}"><h3 class="text-title-2-medium">${e}</h3><div class="${TG} h-64"></div></section>`).join("")}</div>
+ ].map((e) => `<section class="${kG}"><h3 class="text-title-2-medium">${e}</h3><div class="${EG} h-64"></div></section>`).join("")}</div>
</div>
</div>
<section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">
@@ -73029,11 +73042,11 @@ function OFe() {
"最近看过",
"标签来源"
].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="${TG} 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="${EG} h-7"></div>`).join("")}</div>
</section>
</div></div>`;
}
-function kFe() {
+function AFe() {
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 = [
"浏览记录",
"口味维度",
@@ -73041,20 +73054,20 @@ function kFe() {
"私有导出"
].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="${TG} 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">${EG("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">${EG("6em")}</small>
- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${TG} h-6"></div>`).join(""), r = (e) => `<section class="${OG}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${TG} 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="${EG} 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">${DG("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">${DG("6em")}</small>
+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${EG} h-6"></div>`).join(""), r = (e) => `<section class="${kG}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${EG} 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">${so("全部时间")}<span data-button-group data-split-button data-variant="primary">${ao({
glyph: "compass",
label: "读取浏览器历史",
- attrs: DG
+ attrs: OG
})}${ao({
glyph: "chevron-down",
- attrs: DG
+ attrs: OG
})}</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>
@@ -73072,11 +73085,11 @@ function kFe() {
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">${EG("8em")}</small></div>
+ <small class="text-caption-1-regular">${DG("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="${OG}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${TG} h-72 max-sm:h-48"></div></section>
+ <section class="${kG}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${EG} 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([
"标签",
@@ -73084,20 +73097,20 @@ function kFe() {
"常访问网站",
"浏览候选"
])}</div>
- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${TG} 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="${EG} h-7"></div>`).join("")}</div>
</section>
</div>
</div></div>`;
}
-function AFe() {
+function jFe() {
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="${TG} 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">${EG("70%")}</span>
- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${EG("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">${EG("75%")}</span>
+ <span class="${EG} 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">${DG("70%")}</span>
+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${DG("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">${DG("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">${EG("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${EG("8em")}</span>
+ <b class="text-title-2-medium">${DG("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${DG("8em")}</span>
<span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${[
"留最大",
"留最长",
@@ -73106,27 +73119,27 @@ function AFe() {
variant: "secondary",
size: "small",
label: e,
- attrs: DG
+ attrs: OG
})).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">${EG("4em")}</strong></div><p class="text-body-regular text-text-secondary">${EG("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">${DG("4em")}</strong></div><p class="text-body-regular text-text-secondary">${DG("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 ${DG} class="h-7.5 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>
+ <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${OG} class="h-7.5 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>
${t.repeat(2)}
</div></div>`;
}
-function jFe() {
+function MFe() {
let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card border border-separator-border flex flex-col gap-3 p-3">
- <div class="flex min-w-0 gap-4"><span class="${TG} 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">${EG("80%")}</h3><p class="text-body-2-regular">${EG("60%")}</p></div>
+ <div class="flex min-w-0 gap-4"><span class="${EG} 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">${DG("80%")}</h3><p class="text-body-2-regular">${DG("60%")}</p></div>
</div>
<footer class="flex justify-end">${ao({
variant: "secondary",
size: "small",
label: "查看版本",
- attrs: DG
+ attrs: OG
})}</footer>
</li>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
@@ -73136,24 +73149,24 @@ function jFe() {
}
//#endregion
//#region src/board-skeleton.ts
-var kG = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, AG = () => `${kG("80%")}${kG("48%")}`, jG = (e, t) => e.repeat(t), MG = "disabled data-skeleton-action", NG = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, PG = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, MFe = "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", FG = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
+var AG = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, jG = () => `${AG("80%")}${AG("48%")}`, MG = (e, t) => e.repeat(t), NG = "disabled data-skeleton-action", PG = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, FG = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, NFe = "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", IG = () => `<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="${MFe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${NG("3em")}</b></div>`).join("")}</div>`, IG = [
+].map((e) => `<div class="${NFe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${PG("3em")}</b></div>`).join("")}</div>`, LG = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"]
-], NFe = (e = "") => IG.some(([t]) => t === e) ? e : "list", LG = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${IG.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, RG = (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>`, PFe = ({ table: e, sort: t, dir: n }) => {
+], PFe = (e = "") => LG.some(([t]) => t === e) ? e : "list", RG = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${LG.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, zG = (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>`, FFe = ({ table: e, sort: t, dir: n }) => {
let r = fn.find(([e]) => e === t)[1];
- return `<div class="flex flex-wrap items-center gap-2 ui-follow-skeleton-toolbar"><span class="contents max-sm:flex max-sm:min-w-0 max-sm:flex-1 max-sm:flex-col"><h3 class="mr-auto text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${NG("132px")}</span></span>${ao({
+ return `<div class="flex flex-wrap items-center gap-2 ui-follow-skeleton-toolbar"><span class="contents max-sm:flex max-sm:min-w-0 max-sm:flex-1 max-sm:flex-col"><h3 class="mr-auto text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${PG("132px")}</span></span>${ao({
glyph: "refresh-cw",
label: "检查全部",
compact: !0,
- attrs: MG
+ attrs: NG
})}<span data-follow-toolbar-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span data-button-group role="group">${ao({
variant: "ghost",
glyph: "layout-grid",
@@ -73170,42 +73183,42 @@ var kG = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, AG
glyph: "chevron-up",
label: "全部收起",
compact: !0,
- attrs: MG
+ attrs: NG
})}</span></div>`;
-}, zG = () => `<span class="flex shrink-0 items-center gap-1">${ao({
+}, BG = () => `<span class="flex shrink-0 items-center gap-1">${ao({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: MG
+ attrs: NG
})}${ao({
variant: "secondary",
size: "small",
glyph: "trash",
- attrs: MG
-})}</span>`, FFe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${RG()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${NG("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${PG(14, 14)}</span>${PG(48, 24)}<span data-follow-source-controls class="contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${NG("113px")}</span>${zG()}</span></div>`, BG = (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>${PG(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${NG("92px")}</b>${ao({
+ attrs: NG
+})}</span>`, IFe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${zG()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${PG("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${FG(14, 14)}</span>${FG(48, 24)}<span data-follow-source-controls class="contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${PG("113px")}</span>${BG()}</span></div>`, VG = (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>${FG(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${PG("92px")}</b>${ao({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: MG
-})}<span data-follow-author-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${PG(14, 14)}${PG(14, 14)}</span>${ao({
+ attrs: NG
+})}<span data-follow-author-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${FG(14, 14)}${FG(14, 14)}</span>${ao({
variant: "secondary",
size: "small",
glyph: "check-check",
label: "全选",
- attrs: MG
+ attrs: NG
})}${ao({
variant: "secondary",
size: "small",
glyph: "chevron-up",
label: "收起",
- attrs: MG
-})}</span></div><div data-source-divider>${jG(FFe(), e)}</div></section>`, IFe = () => {
+ attrs: NG
+})}</span></div><div data-source-divider>${MG(IFe(), e)}</div></section>`, LFe = () => {
try {
return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;
} catch {
return 20;
}
-}, LFe = [
+}, RFe = [
["select", ""],
["author", "创作者"],
["source", "来源"],
@@ -73213,64 +73226,64 @@ var kG = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, AG
["status", "状态"],
["checked", "上次检查"],
["actions", ""]
-], RFe = {
+], zFe = {
name: "author",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, zFe = "<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>", BFe = (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>${LFe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${RFe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${zFe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${jG(`<tr>${[
- RG(),
- `<span class="flex min-w-0 items-center gap-2">${PG(32, 32, !0)}${NG("5em")}</span>`,
- NG("10em"),
- `<span class="flex items-center gap-1.5">${PG(14, 14)}${NG("4em")}</span>`,
- PG(48, 24),
- NG("113px"),
- zG()
-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, VFe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${NG("111px")}</span>${so(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${PG(204, 32)}</div>`, HFe = () => `<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">${NG("120px")}</h3>${[
+}, BFe = "<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>", VFe = (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>${RFe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${zFe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${BFe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${MG(`<tr>${[
+ zG(),
+ `<span class="flex min-w-0 items-center gap-2">${FG(32, 32, !0)}${PG("5em")}</span>`,
+ PG("10em"),
+ `<span class="flex items-center gap-1.5">${FG(14, 14)}${PG("4em")}</span>`,
+ FG(48, 24),
+ PG("113px"),
+ BG()
+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, HFe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${PG("111px")}</span>${so(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${FG(204, 32)}</div>`, UFe = () => `<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">${PG("120px")}</h3>${[
"72%",
"56%",
"64%",
"40%"
-].map((e) => `<span class="text-body-medium">${NG(e)}</span>`).join("")}</div>`, UFe = (e) => {
- let t = NFe(e.followTab);
- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${FG()}<div class="flex flex-col gap-6">${LG(t)}<div class="flex flex-col gap-4">${HFe()}</div></div></div></div>`;
- let n = e.followLayout === "table", r = gn(e.followSort, e.followDir), i = e.followPageSize || IFe(), a = n ? BFe(i, r) : `${RG("全选本页")}<div class="flex flex-col gap-3">${BG(3)}${BG(4)}${BG(3)}</div>`;
- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${FG()}<div class="flex flex-col gap-6">${LG(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"}">${PFe({
+].map((e) => `<span class="text-body-medium">${PG(e)}</span>`).join("")}</div>`, WFe = (e) => {
+ let t = PFe(e.followTab);
+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${IG()}<div class="flex flex-col gap-6">${RG(t)}<div class="flex flex-col gap-4">${UFe()}</div></div></div></div>`;
+ let n = e.followLayout === "table", r = gn(e.followSort, e.followDir), i = e.followPageSize || LFe(), a = n ? VFe(i, r) : `${zG("全选本页")}<div class="flex flex-col gap-3">${VG(3)}${VG(4)}${VG(3)}</div>`;
+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${IG()}<div class="flex flex-col gap-6">${RG(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"}">${FFe({
table: n,
...r
- })}${a}${VFe(n, i)}</div></div></div></div></div>`;
+ })}${a}${HFe(n, i)}</div></div></div></div></div>`;
};
-function WFe() {
- 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">${kG("85%")}${kG("65%")}${jG(AG(), 4)}</div></aside></div>`;
+function GFe() {
+ 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">${AG("85%")}${AG("65%")}${MG(jG(), 4)}</div></aside></div>`;
}
-function GFe(e, t = {}) {
+function KFe(e, t = {}) {
let n = "";
- if (e === "/stats") n = OFe();
- else if (e === "/jav") n = Mje(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
- else if (e === "/taste") n = kFe();
- else if (e === "/subscriptions") n = UFe(t);
- else if (e === "/settings/library") n = DFe();
+ if (e === "/stats") n = kFe();
+ else if (e === "/jav") n = Nje(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
+ else if (e === "/taste") n = AFe();
+ else if (e === "/subscriptions") n = WFe(t);
+ else if (e === "/settings/library") n = OFe();
else if (e === "/tasks") n = `<div class="ui-activitypage">${[
"正在进行",
"被挡下的",
"最近完成"
- ].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="ui-activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content ui-skeleton-lines">${kG("35%")}${AG()}</div></article></div></section>`).join("")}</div>`;
- else if (e === "/duplicates") n = AFe();
- else if (e === "/quality-goals") n = jFe();
- else if (e === "/playlists") n = `<section class="ui-playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate ui-skeleton-lines"><span>新播放列表</span>${kG("200px")}</div></header><div class="ui-playlistcards">${jG(`<article class="card playlistcard"><div class="mixstack"><div class="pic skeleton"></div></div><div class="mixmeta"><span class="mav skeleton"></span><div class="mixcopy ui-skeleton-lines">${AG()}</div></div></article>`, 6)}</div></section>`;
+ ].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="ui-activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content ui-skeleton-lines">${AG("35%")}${jG()}</div></article></div></section>`).join("")}</div>`;
+ else if (e === "/duplicates") n = jFe();
+ else if (e === "/quality-goals") n = MFe();
+ else if (e === "/playlists") n = `<section class="ui-playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate ui-skeleton-lines"><span>新播放列表</span>${AG("200px")}</div></header><div class="ui-playlistcards">${MG(`<article class="card playlistcard"><div class="mixstack"><div class="pic skeleton"></div></div><div class="mixmeta"><span class="mav skeleton"></span><div class="mixcopy ui-skeleton-lines">${jG()}</div></div></article>`, 6)}</div></section>`;
else return "";
return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;
}
//#endregion
//#region src/react/follow-detail/follow-detail.ts
-var VG = (e) => ["follow-item", e], KFe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, qFe = "/api/follow/save", JFe = "/api/follow/media/hide", HG = class extends Error {
+var HG = (e) => ["follow-item", e], qFe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, JFe = "/api/follow/save", YFe = "/api/follow/media/hide", UG = class extends Error {
constructor() {
super("这条关注内容已不存在");
}
};
-async function UG(e, t) {
- let n = await H(KFe(e), t);
+async function WG(e, t) {
+ let n = await H(qFe(e), t);
for (let t of n.groups || []) {
let r = ei(t).find((t) => t.id === e);
if (r) return {
@@ -73280,9 +73293,9 @@ async function UG(e, t) {
aliases: n.author_aliases || []
};
}
- throw new HG();
+ throw new UG();
}
-function YFe(e) {
+function XFe(e) {
for (let [, t] of W.getQueriesData({ queryKey: ["follow-item"] })) {
if (!t?.group) continue;
let n = ei(t.group).find((t) => t.id === e);
@@ -73293,20 +73306,20 @@ function YFe(e) {
}
return null;
}
-async function WG(e, t) {
- let n = VG(e.id), r = ti(e.id), i = W.getQueryData(Yr) ? null : W.fetchQuery({
+async function GG(e, t) {
+ let n = HG(e.id), r = ti(e.id), i = W.getQueryData(Yr) ? null : W.fetchQuery({
queryKey: Yr,
queryFn: () => Xr(t)
}), a = r ? {
...r,
item: r.item
- } : W.getQueryData(n) ?? YFe(e.id);
+ } : W.getQueryData(n) ?? XFe(e.id);
a ? W.setQueryData(n, a) : await W.fetchQuery({
queryKey: n,
- queryFn: () => UG(e.id, t)
+ queryFn: () => WG(e.id, t)
}), await i;
}
-function XFe(e, t, n, r) {
+function ZFe(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 && li(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,
@@ -73321,32 +73334,32 @@ function XFe(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var ZFe = (e) => ei(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), QFe = {
+var QFe = (e) => ei(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), $Fe = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, $Fe = {
+}, eIe = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function eIe(e) {
+function tIe(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return QFe[t] || t;
+ return $Fe[t] || t;
} catch {
return "外部文件页";
}
}
-function GG(e, t) {
- return $Fe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+function KG(e, t) {
+ return eIe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function tIe(e, t, n = "") {
+function nIe(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;
@@ -73355,54 +73368,54 @@ function tIe(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var nIe = (e) => String(e.name || "").trim(), KG = (e, t) => e.tag_types?.[t] || "unknown", rIe = /* @__PURE__ */ new Set([
+var rIe = (e) => String(e.name || "").trim(), qG = (e, t) => e.tag_types?.[t] || "unknown", iIe = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
"metadata",
"unknown"
]);
-function iIe(e, t) {
- let n = KG(e, t);
- return `r34-${rIe.has(n) ? n : "general"}`;
+function aIe(e, t) {
+ let n = qG(e, t);
+ return `r34-${iIe.has(n) ? n : "general"}`;
}
-var qG = [
+var JG = [
"copyright",
"character",
"artist",
"general",
"metadata"
];
-function aIe(e, t) {
+function oIe(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
- let n = qG.indexOf(KG(e, t));
- return n < 0 ? qG.length : n;
+ let n = JG.indexOf(qG(e, t));
+ return n < 0 ? JG.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
}
-function JG(e, t) {
+function YG(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 oIe = (e, t) => ({
+var sIe = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
-}), YG = (e) => e?.size ? { size: e.size } : {};
-function sIe(e, t) {
+}), XG = (e) => e?.size ? { size: e.size } : {};
+function cIe(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: GG(t, e),
- ...YG(t)
+ source: KG(t, e),
+ ...XG(t)
})) : r === "image" && i ? [{
src: i,
thumb: e.thumb_url || i,
name: e.title,
- source: GG(a, e),
- ...YG(a)
+ source: KG(a, e),
+ ...XG(a)
}] : e.thumb_url ? [{
src: e.thumb_url,
thumb: e.thumb_url,
@@ -73410,7 +73423,7 @@ function sIe(e, t) {
source: e.provider_label || e.provider || "在线图片"
}] : [];
}
-var cIe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", XG = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => No(e, {
+var lIe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", ZG = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => No(e, {
variant: r || (t ? "cards" : "panel"),
className: n,
gridClass: s,
@@ -73418,7 +73431,7 @@ var cIe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", XG
...i ? { count: i } : {},
...a === void 0 ? {} : { fill: a },
...o ? { cardRatio: o } : {}
-}), lIe = [
+}), uIe = [
"元数据字段",
"创作者标签",
"厂牌 Logo",
@@ -73428,41 +73441,41 @@ var cIe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", XG
"FC2 评论标记",
"FC2 跨号相似",
"片尾/出处证据"
-], uIe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${B(e)}">
+], dIe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${B(e)}">
<div class="reviewcontrols" data-section-nav><h2 class="review-category-title">复核分类</h2>
- <div class="reviewtabs" data-section-items>${lIe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${B(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>
+ <div class="reviewtabs" data-section-items>${uIe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${B(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>`, dIe = {
+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, fIe = {
...Object.fromEntries(Object.keys(MO).map((e) => [`/settings/${e}`, () => Mo()])),
- "/data-cleanup": () => Zz(),
- "/resource-sync": () => Zz(),
- "/review": () => uIe(),
+ "/data-cleanup": () => Qz(),
+ "/resource-sync": () => Qz(),
+ "/review": () => dIe(),
"/diagnostics": () => Mo(),
"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>
- ${XG("正在读取采集来源", {
+ ${ZG("正在读取采集来源", {
cards: !0,
count: 4,
fill: !1,
className: "cleanup-skeleton"
})}</div>`
};
-function ZG(e, { followLayout: t, followSort: n, followDir: r }) {
- return GFe(e, {
+function QG(e, { followLayout: t, followSort: n, followDir: r }) {
+ return KFe(e, {
followLayout: t,
...e === "/subscriptions" ? {
followSort: n,
followDir: r
} : {}
- }) || (dIe[e] ?? (() => XG("正在读取页面")))();
+ }) || (fIe[e] ?? (() => ZG("正在读取页面")))();
}
-var QG = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function $G(e, t) {
- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = QG(t);
+var $G = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function eK(e, t) {
+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = $G(t);
(!r || r !== n) && (e.innerHTML = t, Vo(e));
}
//#endregion
//#region src/react/components/related-section.tsx
-function eK({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, ...o }) {
+function tK({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, ...o }) {
let s = (0, S.useCallback)((e) => {
e && (Vo(e), t(e));
}, [t]);
@@ -73475,7 +73488,7 @@ function eK({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
children: "接着看"
}), i ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-related-state": "",
- children: /* @__PURE__ */ (0, C.jsx)(wF, {
+ children: /* @__PURE__ */ (0, C.jsx)(TF, {
message: i,
onRetry: a || (() => {})
})
@@ -73497,7 +73510,7 @@ function eK({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
}
//#endregion
//#region src/react/components/detail-continuation.tsx
-function tK({ queue: e, children: t, editionCards: n }) {
+function nK({ queue: e, children: t, editionCards: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-detail-continuation": "",
"data-edition-cards": n == null ? void 0 : Math.min(3, n),
@@ -73506,7 +73519,7 @@ function tK({ queue: e, children: t, editionCards: n }) {
}
//#endregion
//#region src/react/components/media-carousel.tsx
-function nK({ items: e, position: t, onSelect: n, below: r = !1 }) {
+function rK({ items: e, position: t, onSelect: n, below: r = !1 }) {
let i = (0, S.useRef)(null), a = e.some((e) => e.video);
if ((0, S.useLayoutEffect)(() => {
let e = i.current, t = e?.querySelector("[data-follow-image-dots]"), n = e?.closest("[data-stage-media]");
@@ -73575,14 +73588,14 @@ function nK({ items: e, position: t, onSelect: n, below: r = !1 }) {
}
//#endregion
//#region src/react/follow-detail/follow-related.ts
-var fIe = (e, t, n) => [
+var pIe = (e, t, n) => [
"follow-feed",
"related",
e,
t,
n
];
-function rK(e, t, n, r) {
+function iK(e, t, n, r) {
let i = new Set((t.group ? ei(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 = ei(e);
@@ -73597,7 +73610,7 @@ function rK(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 pIe(e, t, n, r) {
+async function mIe(e, t, n, r) {
let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {
...ci(i),
status: "new",
@@ -73611,29 +73624,29 @@ async function pIe(e, t, n, r) {
}, t), r);
return o.push(n), n;
}, c = await s(i, 0);
- return rK(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && rK(o, e, t, n).length < n && await s("", 0), {
+ return iK(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && iK(o, e, t, n).length < n && await s("", 0), {
pages: o,
pageParams: o.map((e) => e.offset || 0)
};
}
//#endregion
//#region src/react/follow-detail/follow-detail-page.tsx
-var iK = (e) => Number(e) > 0, mIe = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
+var aK = (e) => Number(e) > 0, hIe = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: z(e) }
-}), aK = z("external-link", "ui-externalmark");
-function hIe(e) {
+}), oK = z("external-link", "ui-externalmark");
+function gIe(e) {
let { id: t, actions: n } = e, r = pt({
- queryKey: VG(t),
- queryFn: ({ signal: e }) => UG(t, e)
+ queryKey: HG(t),
+ queryFn: ({ signal: e }) => WG(t, e)
}), i = pt({
queryKey: Yr,
queryFn: ({ signal: e }) => Xr(e)
}), a = (0, S.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, S.useState)(e.mediaIndex);
- return r.data ? /* @__PURE__ */ (0, C.jsx)(vIe, {
+ return r.data ? /* @__PURE__ */ (0, C.jsx)(yIe, {
...e,
data: r.data,
- context: oIe(r.data, a),
+ context: sIe(r.data, a),
mediaIndex: o,
onMedia: s
}) : /* @__PURE__ */ (0, C.jsx)("div", {
@@ -73642,9 +73655,9 @@ function hIe(e) {
children: /* @__PURE__ */ (0, C.jsxs)("div", {
"data-stage-media": "",
"data-follow-detail-media": "none",
- children: [/* @__PURE__ */ (0, C.jsx)(oK, { onClose: n.close }), /* @__PURE__ */ (0, C.jsx)("div", {
+ children: [/* @__PURE__ */ (0, C.jsx)(sK, { onClose: n.close }), /* @__PURE__ */ (0, C.jsx)("div", {
"data-follow-detail-placeholder": "",
- children: r.isError ? gIe(r.error) ? /* @__PURE__ */ (0, C.jsx)(_Ie, { onBack: n.close }) : /* @__PURE__ */ (0, C.jsx)(wF, {
+ children: r.isError ? _Ie(r.error) ? /* @__PURE__ */ (0, C.jsx)(vIe, { onBack: n.close }) : /* @__PURE__ */ (0, C.jsx)(TF, {
message: Dt(r.error),
onRetry: () => void r.refetch()
}) : null
@@ -73652,8 +73665,8 @@ function hIe(e) {
})
});
}
-var gIe = (e) => e instanceof HG || e instanceof un && e.status === 404;
-function _Ie({ onBack: e }) {
+var _Ie = (e) => e instanceof UG || e instanceof un && e.status === 404;
+function vIe({ onBack: e }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-follow-detail-gone": "",
onClick: (t) => {
@@ -73662,7 +73675,7 @@ function _Ie({ onBack: e }) {
dangerouslySetInnerHTML: { __html: _o("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }
});
}
-var oK = ({ onClose: e }) => /* @__PURE__ */ (0, C.jsx)("button", {
+var sK = ({ onClose: e }) => /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -73671,8 +73684,8 @@ var oK = ({ onClose: e }) => /* @__PURE__ */ (0, C.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: z("x") }
});
-function vIe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
- let { item: c, group: l } = e, u = XFe(c, l, n, i), d = wIe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, S.useState)({
+function yIe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
+ let { item: c, group: l } = e, u = ZFe(c, l, n, i), d = TIe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, S.useState)({
key: "",
kind: ""
}), h = {
@@ -73692,20 +73705,20 @@ function vIe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
c,
u.kind
]);
- let g = !u.embedded.length && u.collection ? ZFe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, C.jsx)(uK, {
+ let g = !u.embedded.length && u.collection ? QFe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, C.jsx)(dK, {
item: c,
current: u.selected.index,
helpers: o,
actions: s,
onMedia: r
- }) : u.collection ? g ? /* @__PURE__ */ (0, C.jsx)(uK, {
+ }) : u.collection ? g ? /* @__PURE__ */ (0, C.jsx)(dK, {
item: g,
current: null,
helpers: o,
actions: s,
onMedia: r,
currentId: c.id
- }) : /* @__PURE__ */ (0, C.jsx)(xIe, {
+ }) : /* @__PURE__ */ (0, C.jsx)(SIe, {
group: u.collection,
itemId: c.id,
helpers: o,
@@ -73715,14 +73728,14 @@ function vIe({ 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, C.jsx)(bIe, {
+ children: [/* @__PURE__ */ (0, C.jsx)(xIe, {
item: c,
media: u,
helpers: o,
actions: s,
onMedia: r,
issues: h
- }, f), /* @__PURE__ */ (0, C.jsx)(SIe, {
+ }, f), /* @__PURE__ */ (0, C.jsx)(CIe, {
item: c,
data: e,
context: t,
@@ -73732,9 +73745,9 @@ function vIe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
helpers: o,
actions: s
})]
- }), /* @__PURE__ */ (0, C.jsx)(tK, {
+ }), /* @__PURE__ */ (0, C.jsx)(nK, {
queue: _,
- children: a > 0 ? /* @__PURE__ */ (0, C.jsx)(yIe, {
+ children: a > 0 ? /* @__PURE__ */ (0, C.jsx)(bIe, {
data: e,
media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,
limit: a,
@@ -73744,23 +73757,23 @@ function vIe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
}) : null
})] });
}
-function yIe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
+function bIe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
let o = pt({
- queryKey: fIe(e.item.id, t, n),
- queryFn: ({ signal: r }) => pIe(e, t, n, r)
- }), [s] = (0, S.useState)(() => XG("正在读取推荐", {
+ queryKey: pIe(e.item.id, t, n),
+ queryFn: ({ signal: r }) => mIe(e, t, n, r)
+ }), [s] = (0, S.useState)(() => ZG("正在读取推荐", {
cards: !0,
className: "related-skeleton"
})), c = (0, S.useMemo)(() => ({
openDetail: a.openItem,
openAuthor: a.openAuthor,
canFlip: () => !1
- }), [a]), l = rK(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {
+ }), [a]), l = iK(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, C.jsx)(eK, {
+ return /* @__PURE__ */ (0, C.jsx)(tK, {
"data-follow-related": "",
wireDrag: i.wireDrag,
busy: o.isPending,
@@ -73769,11 +73782,11 @@ function yIe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
onRetry: () => {
o.refetch();
},
- children: o.data ? l.map((e) => /* @__PURE__ */ (0, C.jsx)(CV, {
+ children: o.data ? l.map((e) => /* @__PURE__ */ (0, C.jsx)(wV, {
variant: "next",
group: e,
media: t,
- authorSources: JG(e.primary, u),
+ authorSources: YG(e.primary, u),
context: d,
selected: !1,
selectMode: !1,
@@ -73786,8 +73799,8 @@ function yIe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
})
});
}
-function bIe({ 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, S.useRef)(null), p = sIe(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, S.useState)(g), b = (0, S.useRef)({
+function xIe({ 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, S.useRef)(null), p = cIe(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, S.useState)(g), b = (0, S.useRef)({
item: e,
selected: o
}), x = (0, S.useRef)(i.failed);
@@ -73801,14 +73814,14 @@ function bIe({ 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, C.jsx)(oK, { onClose: n.close }),
+ /* @__PURE__ */ (0, C.jsx)(sK, { onClose: n.close }),
h ? null : g ? /* @__PURE__ */ (0, C.jsx)("img", {
"data-follow-detail-poster": "",
"data-zoomable": p.length ? "" : void 0,
src: v,
alt: e.title,
referrerPolicy: "no-referrer",
- onClick: p.length ? () => void mV(Math.max(0, l), p) : void 0,
+ onClick: p.length ? () => void hV(Math.max(0, l), p) : void 0,
onError: () => {
_ && v !== _ ? (y(_), i.thumbFallback()) : i.failed();
}
@@ -73816,10 +73829,10 @@ function bIe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"data-follow-detail-placeholder": "",
children: [/* @__PURE__ */ (0, C.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: $P(e.resource_provider || e.provider) }
+ dangerouslySetInnerHTML: { __html: eF(e.resource_provider || e.provider) }
}), /* @__PURE__ */ (0, C.jsx)("span", { children: "没有可用预览" })]
}),
- u ? /* @__PURE__ */ (0, C.jsx)(nK, {
+ u ? /* @__PURE__ */ (0, C.jsx)(rK, {
items: c,
position: l,
onSelect: r
@@ -73827,11 +73840,11 @@ function bIe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
]
});
}
-var sK = ({ kind: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
+var cK = ({ kind: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
"data-follow-nothumb": "",
dangerouslySetInnerHTML: { __html: z(e === "image" ? "image-off" : "play") }
});
-function cK({ src: e }) {
+function lK({ src: e }) {
let [t, n] = (0, S.useState)(!1);
return t ? null : /* @__PURE__ */ (0, C.jsx)("img", {
src: e,
@@ -73841,27 +73854,27 @@ function cK({ src: e }) {
onError: () => n(!0)
});
}
-function lK(e) {
+function uK(e) {
return (0, S.useCallback)((t) => {
t && e.wireDrag(t);
}, [e]);
}
-function xIe({ group: e, itemId: t, helpers: n, actions: r }) {
- let i = li(e), a = lK(n);
- return /* @__PURE__ */ (0, C.jsx)(rI, {
+function SIe({ group: e, itemId: t, helpers: n, actions: r }) {
+ let i = li(e), a = uK(n);
+ return /* @__PURE__ */ (0, C.jsx)(iI, {
kind: "collection",
"data-follow-queue": "",
title: "视频合集",
onClose: r.close,
listRef: a,
- summary: `${tF(e.primary)} · ${i.length} 个视频`,
+ summary: `${nF(e.primary)} · ${i.length} 个视频`,
children: i.map((n) => {
- let i = e.duplicates.includes(n), a = tIe(e, n, i ? n.provider_label : ""), o = i ? $P(n.provider, n.provider_label) : "";
- return /* @__PURE__ */ (0, C.jsxs)(iI, {
+ let i = e.duplicates.includes(n), a = nIe(e, n, i ? n.provider_label : ""), o = i ? eF(n.provider, n.provider_label) : "";
+ return /* @__PURE__ */ (0, C.jsxs)(aI, {
current: n.id === t,
"data-follow-queue-item": n.id,
onClick: () => r.openItem(n.id),
- pic: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, C.jsx)(cK, { src: n.thumb_url }) : /* @__PURE__ */ (0, C.jsx)(sK, { kind: "video" }), iK(n.duration) ? /* @__PURE__ */ (0, C.jsx)("i", {
+ pic: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, C.jsx)(lK, { src: n.thumb_url }) : /* @__PURE__ */ (0, C.jsx)(cK, { kind: "video" }), aK(n.duration) ? /* @__PURE__ */ (0, C.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: Xt(n.duration)
@@ -73879,15 +73892,15 @@ function xIe({ group: e, itemId: t, helpers: n, actions: r }) {
children: a.label
}), /* @__PURE__ */ (0, C.jsx)("time", {
dateTime: n.published_at || "",
- children: uF(n)
+ children: dF(n)
})]
})]
}, n.id);
})
});
}
-function uK({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
- let o = e.media_items || [], s = lK(r), c = [];
+function dK({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
+ let o = e.media_items || [], s = uK(r), c = [];
o.forEach((e) => {
let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);
n || (n = {
@@ -73897,26 +73910,26 @@ function uK({ 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, C.jsx)(rI, {
+ return /* @__PURE__ */ (0, C.jsx)(iI, {
kind: "media",
"data-follow-queue": "",
title: "多媒体",
onClose: i.close,
listRef: s,
- summary: `${tF(e)} · ${o.length} 个媒体`,
- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, C.jsx)(fSe, {
+ summary: `${nF(e)} · ${o.length} 个媒体`,
+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, C.jsx)(pSe, {
label: n.label,
count: n.items.length
- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, C.jsxs)(iI, {
+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, C.jsxs)(aI, {
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, C.jsx)(cK, { src: n.thumb_url }) : /* @__PURE__ */ (0, C.jsx)(sK, { kind: n.media_kind || "" }),
+ pic: n.thumb_url ? /* @__PURE__ */ (0, C.jsx)(lK, { src: n.thumb_url }) : /* @__PURE__ */ (0, C.jsx)(cK, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, C.jsx)("b", {
"data-middle-truncate": "",
- children: nIe(n)
+ children: rIe(n)
}), /* @__PURE__ */ (0, C.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -73924,13 +73937,13 @@ function uK({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, n.index))])
});
}
-function SIe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
+function CIe({ 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 = sF(d, e), p = aF(e, JG(e, t.sources), n), m = p.credited ? "" : e.author && Kt(e.author) !== Kt(p.author) ? e.author : "", h = cF(e, n), g = aIe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
+ }, f = cF(d, e), p = oF(e, YG(e, t.sources), n), m = p.credited ? "" : e.author && Kt(e.author) !== Kt(p.author) ? e.author : "", h = lF(e, n), g = oIe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -73946,7 +73959,7 @@ function SIe({ 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: oF(d, e) + B(tF(e)) }
+ dangerouslySetInnerHTML: { __html: sF(d, e) + B(nF(e)) }
}), e.url ? /* @__PURE__ */ (0, C.jsx)("a", {
"data-follow-origin": "",
href: e.url,
@@ -73954,7 +73967,7 @@ function SIe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
rel: "noreferrer noopener",
title: "打开来源页面",
"aria-label": "打开来源页面",
- dangerouslySetInnerHTML: { __html: aK }
+ dangerouslySetInnerHTML: { __html: oK }
}) : null]
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
@@ -73962,8 +73975,8 @@ function SIe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-stage-meta": "",
"data-reveal-line": "",
children: [
- /* @__PURE__ */ (0, C.jsx)("span", { children: uF(e) }),
- iK(e.duration) ? /* @__PURE__ */ (0, C.jsx)("span", { children: Xt(e.duration) }) : null,
+ /* @__PURE__ */ (0, C.jsx)("span", { children: dF(e) }),
+ aK(e.duration) ? /* @__PURE__ */ (0, C.jsx)("span", { children: Xt(e.duration) }) : null,
f ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: f }
@@ -73980,7 +73993,7 @@ function SIe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
children: "创作者"
}), /* @__PURE__ */ (0, C.jsx)("div", {
"data-id-row": "",
- children: p.entityName ? /* @__PURE__ */ (0, C.jsxs)(xV, {
+ children: p.entityName ? /* @__PURE__ */ (0, C.jsxs)(SV, {
name: p.entityName,
actions: s,
"data-id-cell": "creator",
@@ -74012,7 +74025,7 @@ function SIe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
children: [m ? /* @__PURE__ */ (0, C.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, C.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]
}) : null]
}),
- e.summary ? /* @__PURE__ */ (0, C.jsx)(CIe, { text: e.summary }, e.id) : null,
+ e.summary ? /* @__PURE__ */ (0, C.jsx)(wIe, { text: e.summary }, e.id) : null,
h ? /* @__PURE__ */ (0, C.jsx)("p", {
"data-follow-media-issue": "",
children: h
@@ -74035,9 +74048,9 @@ function SIe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [eIe(e), /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [tIe(e), /* @__PURE__ */ (0, C.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: aK }
+ dangerouslySetInnerHTML: { __html: oK }
})]
}, e))
}) : null,
@@ -74137,7 +74150,7 @@ function SIe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"aria-label": `恢复显示 ${e.name || ""}`,
...y(`restore:${e.index}`),
onClick: () => i.restore(e.index),
- children: [e.thumb_url ? /* @__PURE__ */ (0, C.jsx)(cK, { src: e.thumb_url }) : /* @__PURE__ */ (0, C.jsx)(mIe, { name: "image-off" }), /* @__PURE__ */ (0, C.jsx)("i", { dangerouslySetInnerHTML: { __html: z("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, C.jsx)(lK, { src: e.thumb_url }) : /* @__PURE__ */ (0, C.jsx)(hIe, { name: "image-off" }), /* @__PURE__ */ (0, C.jsx)("i", { dangerouslySetInnerHTML: { __html: z("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -74151,7 +74164,7 @@ function SIe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-follow-detail-tags": "",
children: g.map((t) => /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
- "data-tag-cat": iIe(e, t),
+ "data-tag-cat": aIe(e, t),
"data-follow-tag": t,
onClick: () => s.openTag(t),
children: o.tagLabel(t)
@@ -74161,7 +74174,7 @@ function SIe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
})
});
}
-function CIe({ text: e }) {
+function wIe({ text: e }) {
let t = (0, S.useRef)(null), [n, r] = (0, S.useState)(!1), [i, a] = (0, S.useState)(!1);
return (0, S.useLayoutEffect)(() => {
let e = t.current;
@@ -74184,8 +74197,8 @@ function CIe({ text: e }) {
children: n ? "收起" : "展开"
}) : null] });
}
-function wIe(e, t, n) {
- let r = e.id, i = VG(r), [a, o] = (0, S.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, S.useState)(""), l = (e, t) => o((n) => {
+function TIe(e, t, n) {
+ let r = e.id, i = HG(r), [a, o] = (0, S.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, S.useState)(""), l = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), u = (e) => {
@@ -74204,7 +74217,7 @@ function wIe(e, t, n) {
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), n === "ignored" && bU(), t.toast(cIe(n), { undo: i === "saved" ? void 0 : async () => {
+ u(n), c(""), n === "ignored" && xU(), t.toast(lIe(n), { undo: i === "saved" ? void 0 : async () => {
await U(Pn, {
item: r,
to: i
@@ -74214,7 +74227,7 @@ function wIe(e, t, n) {
onError: d,
onSettled: (e, t, { to: n }) => l(n, !1)
}), p = mt({
- mutationFn: () => U(qFe, { item: r }),
+ mutationFn: () => U(JFe, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到账本");
},
@@ -74222,7 +74235,7 @@ function wIe(e, t, n) {
onSettled: () => l("save", !1)
}), m = mt({
mutationFn: async ({ index: e, hidden: t }) => {
- await U(JFe, {
+ await U(YFe, {
item: r,
media: e,
hidden: t
@@ -74238,12 +74251,12 @@ function wIe(e, t, n) {
onError: d,
onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)
}), h = pt({
- queryKey: Bje(r),
- queryFn: ({ signal: e }) => Uje(r, e)
+ queryKey: Vje(r),
+ queryFn: ({ signal: e }) => Wje(r, e)
}).data?.want ?? null, g = mt({
- mutationFn: async (e) => (e ? await yU([e.id]) : await vU({ follow: r }), !e),
+ mutationFn: async (e) => (e ? await bU([e.id]) : await yU({ follow: r }), !e),
onSuccess: (e) => {
- c(""), t.toast(e ? "已加入想要" : "已取消想要"), bU();
+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), xU();
},
onError: d,
onSettled: () => l("want", !1)
@@ -74283,7 +74296,7 @@ function wIe(e, t, n) {
}
//#endregion
//#region src/react/components/identity-cell.tsx
-function dK({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {
+function fK({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {
let o = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-id-face": "",
dangerouslySetInnerHTML: { __html: `<span>${B(nn(t.name))}</span>` + ra({
@@ -74326,7 +74339,7 @@ function dK({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })
children: s
});
}
-function fK({ people: e, onOpen: t }) {
+function pK({ people: e, onOpen: t }) {
if (!e.length) return null;
let n = (e) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("span", {
className: "contents",
@@ -74360,7 +74373,7 @@ function fK({ people: e, onOpen: t }) {
}
//#endregion
//#region src/react/components/folded-title.ts
-function pK(e) {
+function mK(e) {
let t = (0, S.useRef)(null), [n, r] = (0, S.useState)(!1), [i, a] = (0, S.useState)(!1);
return (0, S.useLayoutEffect)(() => {
let e = t.current;
@@ -74378,7 +74391,7 @@ function pK(e) {
}
//#endregion
//#region src/react/components/source-picture.tsx
-function mK({ item: e, image: t }) {
+function hK({ item: e, image: t }) {
let n = t === "cover" && e.has_cover, r = !n && (t !== "cover" || e.source_image), i = pt({
queryKey: [
"jav-image",
@@ -74418,9 +74431,9 @@ function mK({ item: e, image: t }) {
}
//#endregion
//#region src/react/item-detail/catalog-picture.tsx
-function TIe({ item: e, image: t, source: n = !1 }) {
+function EIe({ item: e, image: t, source: n = !1 }) {
let [r, i] = (0, S.useState)(!1), [a, o] = (0, S.useState)(0);
- if (n && t > 0 && e.code) return /* @__PURE__ */ (0, C.jsx)(mK, {
+ if (n && t > 0 && e.code) return /* @__PURE__ */ (0, C.jsx)(hK, {
item: {
code: e.code,
has_cover: !1,
@@ -74448,47 +74461,47 @@ function TIe({ item: e, image: t, source: n = !1 }) {
}
//#endregion
//#region src/react/jav-detail/jav-detail.ts
-var hK = (e) => ["jav-detail", e], gK = (e, t, n = !1) => H(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), EIe = (e, t, n, r = !1) => H(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), _K = (e, t) => W.ensureQueryData({
- queryKey: hK(e.code),
- queryFn: () => gK(e.code, t),
+var gK = (e) => ["jav-detail", e], _K = (e, t, n = !1) => H(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), DIe = (e, t, n, r = !1) => H(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), vK = (e, t) => W.ensureQueryData({
+ queryKey: gK(e.code),
+ queryFn: () => _K(e.code, t),
staleTime: 216e5,
revalidateIfStale: !0
});
-function DIe(e, t) {
+function OIe(e, t) {
if (!e.ok || !e.more) return;
let n = new Set(t.slice(0, -1).flatMap((e) => e.items.map((e) => e.id)));
return e.items.some((e) => !n.has(e.id)) ? e.page + 1 : void 0;
}
//#endregion
//#region src/react/item-detail/external-playback.tsx
-var vK = "peach.external-player.v1", yK = [
+var yK = "peach.external-player.v1", bK = [
["m3u", "M3U 播放列表"],
["vlc-ios", "VLC(iPhone / iPad)"],
["iina", "IINA(Mac)"]
];
-function OIe(e, t, n) {
+function kIe(e, t, n) {
return e === "vlc-ios" ? `vlc-x-callback://x-callback-url/stream?url=${encodeURIComponent(t)}` : e === "iina" ? `iina://weblink?url=${encodeURIComponent(t)}` : n;
}
-function kIe({ id: e }) {
+function AIe({ id: e }) {
let [t, n] = (0, S.useState)(() => {
try {
- return yK.find(([e]) => e === localStorage.getItem(vK))?.[0] || "m3u";
+ return bK.find(([e]) => e === localStorage.getItem(yK))?.[0] || "m3u";
} catch {
return "m3u";
}
}), [r, i] = (0, S.useState)(null), a = fA();
return /* @__PURE__ */ (0, C.jsxs)("details", { children: [/* @__PURE__ */ (0, C.jsx)("summary", { children: "外部播放器 / VR" }), /* @__PURE__ */ (0, C.jsxs)(bA, { children: [
- /* @__PURE__ */ (0, C.jsx)(mW, {
+ /* @__PURE__ */ (0, C.jsx)(hW, {
id: `external-player-${e}`,
label: "此设备的外部播放器",
- options: yK,
+ options: bK,
value: t,
epoch: 0,
onPick: (e) => {
- let t = yK.find(([t]) => t === e)?.[0] || "m3u";
+ let t = bK.find(([t]) => t === e)?.[0] || "m3u";
n(t);
try {
- localStorage.setItem(vK, t);
+ localStorage.setItem(yK, t);
} catch {}
}
}),
@@ -74504,11 +74517,11 @@ function kIe({ id: e }) {
a.error ? /* @__PURE__ */ (0, C.jsx)(CA, { children: a.error }) : null,
r ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsx)("a", {
- href: OIe(t, r.url, r.playlist),
+ href: kIe(t, r.url, r.playlist),
rel: "noreferrer",
- children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${yK.find(([e]) => e === t)?.[1]}`
+ children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${bK.find(([e]) => e === t)?.[1]}`
}),
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
label: "网络播放地址",
value: r.url,
isReadOnly: !0
@@ -74519,25 +74532,25 @@ function kIe({ id: e }) {
}
//#endregion
//#region src/react/components/overlay-host.ts
-function AIe(e) {
+function jIe(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 jIe(e) {
+function MIe(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return AIe(n ?? t.body);
+ return jIe(n ?? t.body);
}
//#endregion
//#region src/react/cover-crop/cover-crop.ts
-var MIe = "/api/cover-crop", NIe = (e, t) => U(MIe, {
+var NIe = "/api/cover-crop", PIe = (e, t) => U(NIe, {
code: e,
box: t
});
//#endregion
//#region src/react/cover-crop/cover-crop-page.tsx
-function bK({ className: e }) {
+function xK({ className: e }) {
return /* @__PURE__ */ (0, C.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -74550,7 +74563,7 @@ function bK({ className: e }) {
children: /* @__PURE__ */ (0, C.jsx)("use", { href: "#i-crop" })
});
}
-function PIe({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function FIe({ code: e, coverUrl: t, box: n, onSaved: r }) {
let [i, a] = (0, S.useState)(!1), o = (0, S.useRef)(null);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("button", {
ref: o,
@@ -74561,15 +74574,15 @@ function PIe({ 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, C.jsx)(bK, { className: "size-3.75" })
+ children: /* @__PURE__ */ (0, C.jsx)(xK, { className: "size-3.75" })
}), /* @__PURE__ */ (0, C.jsx)(uS, {
- getContainer: () => jIe(o.current),
- children: /* @__PURE__ */ (0, C.jsx)(eP, {
+ getContainer: () => MIe(o.current),
+ children: /* @__PURE__ */ (0, C.jsx)(rP, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, C.jsx)(FIe, {
+ children: /* @__PURE__ */ (0, C.jsx)(IIe, {
code: e,
coverUrl: t,
box: n,
@@ -74579,9 +74592,9 @@ function PIe({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function FIe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
- let [a, o] = (0, S.useState)(null), [s, c] = (0, S.useState)(null), [l, u] = (0, S.useState)(!0), d = AP(), f = mt({
- mutationFn: (t) => NIe(e, t),
+function IIe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+ let [a, o] = (0, S.useState)(null), [s, c] = (0, S.useState)(null), [l, u] = (0, S.useState)(!0), d = jP(), f = mt({
+ mutationFn: (t) => PIe(e, t),
onSuccess: (e) => {
i(), r(e.poster_box);
}
@@ -74593,19 +74606,19 @@ function FIe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : KOe(e, Ki);
- c(NV(t, e, null));
+ } : qOe(e, Ki);
+ c(PV(t, e, null));
}
let m = f.isPending;
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, C.jsx)(tP, { children: /* @__PURE__ */ (0, C.jsx)(bK, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, C.jsx)(iP, { children: /* @__PURE__ */ (0, C.jsx)(xK, { className: "size-6" }) }),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
- /* @__PURE__ */ (0, C.jsx)(Ej, {
+ /* @__PURE__ */ (0, C.jsx)(kj, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: "裁剪封面"
@@ -74620,7 +74633,7 @@ function FIe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, C.jsx)(EP, {
+ /* @__PURE__ */ (0, C.jsx)(ej, {
icon: xk,
size: "small",
"aria-label": "关闭",
@@ -74631,24 +74644,24 @@ function FIe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, C.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, C.jsx)(RV, {
+ children: /* @__PURE__ */ (0, C.jsx)(zV, {
src: t,
aspect: l ? Ki : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- jV(e) && p(e);
+ MV(e) && p(e);
},
onBox: c
})
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",
- children: [/* @__PURE__ */ (0, C.jsx)(MH, {
+ children: [/* @__PURE__ */ (0, C.jsx)(NH, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(NV(s, a, Ki));
+ u(e), e && s && a && c(PV(s, a, Ki));
},
children: /* @__PURE__ */ (0, C.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -74677,14 +74690,14 @@ function FIe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}
//#endregion
//#region src/react/item-detail/item-detail-page.tsx
-var xK = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
+var SK = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: z(e) }
-}), SK = ({ html: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
+}), CK = ({ html: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
-}), CK = (e) => Number(e) > 0 ? Qt(Number(e)) : "大小未知";
-function IIe(e) {
+}), wK = (e) => Number(e) > 0 ? Qt(Number(e)) : "大小未知";
+function LIe(e) {
let { queue: t, actions: n } = e, r = pt({
queryKey: t ? pD(t) : ["item-queue", "none"],
queryFn: ({ signal: n }) => vD(t, e.helpers, n),
@@ -74702,9 +74715,9 @@ function IIe(e) {
children: /* @__PURE__ */ (0, C.jsxs)("div", {
"data-stage-media": "",
"data-item-media": "none",
- children: [/* @__PURE__ */ (0, C.jsx)(wK, { onClose: n.close }), /* @__PURE__ */ (0, C.jsx)("div", {
+ children: [/* @__PURE__ */ (0, C.jsx)(TK, { onClose: n.close }), /* @__PURE__ */ (0, C.jsx)("div", {
"data-item-placeholder": "",
- children: e ? /* @__PURE__ */ (0, C.jsx)(wF, {
+ children: e ? /* @__PURE__ */ (0, C.jsx)(TF, {
message: Dt(e),
onRetry: () => {
r.error && r.refetch(), o.error && o.refetch();
@@ -74714,13 +74727,13 @@ function IIe(e) {
})
});
}
- return /* @__PURE__ */ (0, C.jsx)(LIe, {
+ return /* @__PURE__ */ (0, C.jsx)(RIe, {
...e,
item: Zde(o.data, i),
queue: i
}, o.data.id);
}
-var wK = ({ onClose: e }) => /* @__PURE__ */ (0, C.jsx)("button", {
+var TK = ({ onClose: e }) => /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -74729,8 +74742,8 @@ var wK = ({ onClose: e }) => /* @__PURE__ */ (0, C.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: z("x") }
});
-function LIe(e) {
- let { item: t, queue: n, actions: r, helpers: i } = e, a = $Ie(t, r, i.tagLabel), o = (0, S.useRef)(t);
+function RIe(e) {
+ let { item: t, queue: n, actions: r, helpers: i } = e, a = eLe(t, r, i.tagLabel), o = (0, S.useRef)(t);
(0, S.useLayoutEffect)(() => {
r.present(o.current, n);
}, [r]), (0, S.useEffect)(() => {
@@ -74745,7 +74758,7 @@ function LIe(e) {
"data-stage-grid": "",
"data-with-queue": n ? "" : void 0,
"data-item-detail": "",
- children: [/* @__PURE__ */ (0, C.jsx)(RIe, {
+ children: [/* @__PURE__ */ (0, C.jsx)(zIe, {
item: t,
gate: s,
helpers: i,
@@ -74758,22 +74771,22 @@ function LIe(e) {
autoplay: !0
}, c.id);
}
- }), /* @__PURE__ */ (0, C.jsx)(UIe, {
+ }), /* @__PURE__ */ (0, C.jsx)(WIe, {
item: t,
queue: n,
write: a,
helpers: i,
actions: r
})]
- }), /* @__PURE__ */ (0, C.jsx)(tK, {
+ }), /* @__PURE__ */ (0, C.jsx)(nK, {
editionCards: n?.kind === "editions" ? n.items.length : void 0,
- queue: n ? /* @__PURE__ */ (0, C.jsx)(BIe, {
+ queue: n ? /* @__PURE__ */ (0, C.jsx)(VIe, {
queue: n,
itemId: t.id,
helpers: i,
actions: r
}) : null,
- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, C.jsx)(QIe, {
+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, C.jsx)($Ie, {
...e,
item: n ? {
...t,
@@ -74782,12 +74795,12 @@ function LIe(e) {
}) : null
})] });
}
-function RIe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
+function zIe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
let [o, s] = (0, S.useState)(t ? "" : "auto"), c = (0, S.useRef)(null), [l, u] = (0, S.useState)(-2), d = (0, S.useRef)(!1), f = pt({
- queryKey: hK(e.code || ""),
+ queryKey: gK(e.code || ""),
queryFn: ({ signal: t }) => {
let n = d.current;
- return d.current = !1, gK(e.code, t, n);
+ return d.current = !1, _K(e.code, t, n);
},
staleTime: 216e5,
enabled: !!e.is_jav && !!e.code && !e.sample_images?.length
@@ -74832,21 +74845,21 @@ function RIe({ 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, C.jsx)(wK, { onClose: r.close }),
+ /* @__PURE__ */ (0, C.jsx)(TK, { onClose: r.close }),
h ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"data-jav-preview-toggle": "",
"aria-pressed": l !== -2,
onClick: () => g(l === -2 ? m[0].index : -2),
- children: [/* @__PURE__ */ (0, C.jsx)(xK, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
+ children: [/* @__PURE__ */ (0, C.jsx)(SK, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
}),
- l === -2 ? null : /* @__PURE__ */ (0, C.jsx)(TIe, {
+ l === -2 ? null : /* @__PURE__ */ (0, C.jsx)(EIe, {
item: e,
image: l,
source: p.find((e) => e.index === l)?.source
}, l),
- /* @__PURE__ */ (0, C.jsx)(nK, {
+ /* @__PURE__ */ (0, C.jsx)(rK, {
items: m,
position: Math.max(0, m.findIndex((e) => e.index === l)),
onSelect: g,
@@ -74870,7 +74883,7 @@ function RIe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
children: "重试样图"
})
}) : null,
- t === "offline" ? /* @__PURE__ */ (0, C.jsx)(zIe, {
+ t === "offline" ? /* @__PURE__ */ (0, C.jsx)(BIe, {
item: e,
badge: y,
helpers: n,
@@ -74880,7 +74893,7 @@ function RIe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
role: "status",
"data-item-gate": "online",
children: [
- /* @__PURE__ */ (0, C.jsx)(SK, { html: y }),
+ /* @__PURE__ */ (0, C.jsx)(CK, { html: y }),
/* @__PURE__ */ (0, C.jsx)("b", { children: "在线资产" }),
/* @__PURE__ */ (0, C.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),
/* @__PURE__ */ (0, C.jsx)("button", {
@@ -74895,12 +74908,12 @@ function RIe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
id: "gate",
"data-item-gate": "metered",
onClick: () => s("clicked"),
- children: [/* @__PURE__ */ (0, C.jsx)(SK, { html: y }), /* @__PURE__ */ (0, C.jsxs)("span", { children: ["点此开始拉流 · ", CK(e.size)] })]
+ children: [/* @__PURE__ */ (0, C.jsx)(CK, { html: y }), /* @__PURE__ */ (0, C.jsxs)("span", { children: ["点此开始拉流 · ", wK(e.size)] })]
}) : null
]
});
}
-function zIe({ item: e, badge: t, helpers: n, actions: r }) {
+function BIe({ item: e, badge: t, helpers: n, actions: r }) {
let [i, a] = (0, S.useState)(!1), [o, s] = (0, S.useState)(!1), c = async () => {
a(!0);
let t = await r.checkSource(e.location || "").catch(() => !1);
@@ -74911,7 +74924,7 @@ function zIe({ item: e, badge: t, helpers: n, actions: r }) {
role: "status",
"data-item-gate": "offline",
children: [
- /* @__PURE__ */ (0, C.jsx)(SK, { html: t }),
+ /* @__PURE__ */ (0, C.jsx)(CK, { html: t }),
/* @__PURE__ */ (0, C.jsx)("b", { children: "脱盘模式" }),
/* @__PURE__ */ (0, C.jsx)("span", { children: n.offlineReason(e.location || "") }),
/* @__PURE__ */ (0, C.jsx)("button", {
@@ -74925,8 +74938,8 @@ function zIe({ item: e, badge: t, helpers: n, actions: r }) {
]
});
}
-function BIe({ queue: e, itemId: t, helpers: n, actions: r }) {
- let i = pfe(e), a = (0, S.useRef)(null), o = HIe(e, t, r), s = (0, S.useRef)(o);
+function VIe({ queue: e, itemId: t, helpers: n, actions: r }) {
+ let i = pfe(e), a = (0, S.useRef)(null), o = UIe(e, t, r), s = (0, S.useRef)(o);
s.current = o;
let c = (0, S.useCallback)((t) => {
a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {
@@ -74934,7 +74947,7 @@ function BIe({ 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 = VIe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, C.jsx)("button", {
+ }, [n, e.kind]), l = HIe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-save-mix": "",
title: "保存为播放列表",
@@ -74953,7 +74966,7 @@ function BIe({ queue: e, itemId: t, helpers: n, actions: r }) {
seedId: e.seedId,
playlistId: e.playlistId
};
- return /* @__PURE__ */ (0, C.jsx)(rI, {
+ return /* @__PURE__ */ (0, C.jsx)(iI, {
kind: e.kind,
title: i.title,
summary: i.summary,
@@ -74966,7 +74979,7 @@ function BIe({ queue: e, itemId: t, helpers: n, actions: r }) {
"data-queue-edition": "",
children: i.edition_label
}) : null, s = e.kind === "playlist" && Xde(i);
- return /* @__PURE__ */ (0, C.jsxs)(iI, {
+ return /* @__PURE__ */ (0, C.jsxs)(aI, {
current: i.id === t,
"data-queue-item": i.id,
row: { "data-queue-row": i.id },
@@ -74976,25 +74989,25 @@ function BIe({ queue: e, itemId: t, helpers: n, actions: r }) {
onClick: () => {
s || r.openQueueItem(d, i.id);
},
- pic: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(SK, { html: ma(i, n.javImage()) }), /* @__PURE__ */ (0, C.jsx)("i", {
+ pic: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(CK, { html: ma(i, n.javImage()) }), /* @__PURE__ */ (0, C.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: Xt(i.duration)
})] }),
- lead: /* @__PURE__ */ (0, C.jsx)(SK, { html: _a(i) }),
+ lead: /* @__PURE__ */ (0, C.jsx)(CK, { html: _a(i) }),
after: e.kind === "playlist" ? /* @__PURE__ */ (0, C.jsxs)("span", {
"data-queue-edit": "",
children: [/* @__PURE__ */ (0, C.jsx)("i", {
"data-queue-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, C.jsx)(xK, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, C.jsx)(SK, { name: "grip-vertical" })
}), /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-queue-remove": i.id,
title: "移出播放列表",
"aria-label": "移出播放列表",
onClick: () => o.remove(i.id),
- children: /* @__PURE__ */ (0, C.jsx)(xK, { name: "x" })
+ children: /* @__PURE__ */ (0, C.jsx)(SK, { name: "x" })
})]
}) : null,
children: [/* @__PURE__ */ (0, C.jsxs)("span", {
@@ -75011,7 +75024,7 @@ function BIe({ queue: e, itemId: t, helpers: n, actions: r }) {
})
});
}
-function VIe(e, t) {
+function HIe(e, t) {
let n = mt({ mutationFn: (t) => U(mD, {
action: "create",
name: t,
@@ -75025,7 +75038,7 @@ function VIe(e, t) {
save: (e) => n.mutateAsync(e)
});
}
-function HIe(e, t, n) {
+function UIe(e, t, n) {
let r = pD({
kind: "playlist",
playlistId: e.playlistId
@@ -75088,7 +75101,7 @@ function HIe(e, t, n) {
}
};
}
-function UIe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
+function WIe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, S.useState)(!1);
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-stage-side": "",
@@ -75096,7 +75109,7 @@ function UIe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: /* @__PURE__ */ (0, C.jsxs)("div", {
"data-stage-side-content": "",
children: [
- /* @__PURE__ */ (0, C.jsx)(WIe, {
+ /* @__PURE__ */ (0, C.jsx)(GIe, {
item: e,
queue: t,
helpers: r,
@@ -75108,7 +75121,7 @@ function UIe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-live": "polite",
children: n.sourceState
}),
- /* @__PURE__ */ (0, C.jsx)(KIe, {
+ /* @__PURE__ */ (0, C.jsx)(qIe, {
item: e,
write: n
}),
@@ -75119,7 +75132,7 @@ function UIe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: [
e.width && e.height ? /* @__PURE__ */ (0, C.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, C.jsx)(xK, { name: "monitor" }), /* @__PURE__ */ (0, C.jsxs)("span", { children: [
+ children: [/* @__PURE__ */ (0, C.jsx)(SK, { name: "monitor" }), /* @__PURE__ */ (0, C.jsxs)("span", { children: [
e.width,
"×",
e.height
@@ -75127,11 +75140,11 @@ function UIe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}) : null,
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, C.jsx)(xK, { name: "hard-drive" }), /* @__PURE__ */ (0, C.jsx)("span", { children: CK(e.size) })]
+ children: [/* @__PURE__ */ (0, C.jsx)(SK, { name: "hard-drive" }), /* @__PURE__ */ (0, C.jsx)("span", { children: wK(e.size) })]
}),
e.release_date ? /* @__PURE__ */ (0, C.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, C.jsx)(xK, { name: "calendar" }), /* @__PURE__ */ (0, C.jsx)("span", { children: e.release_date })]
+ children: [/* @__PURE__ */ (0, C.jsx)(SK, { name: "calendar" }), /* @__PURE__ */ (0, C.jsx)("span", { children: e.release_date })]
}) : null,
e.region_label ? /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
@@ -75139,29 +75152,29 @@ function UIe({ 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, C.jsx)(xK, { name: "globe" }), /* @__PURE__ */ (0, C.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
+ children: [/* @__PURE__ */ (0, C.jsx)(SK, { name: "globe" }), /* @__PURE__ */ (0, C.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
}) : null
]
}),
- /* @__PURE__ */ (0, C.jsx)(qIe, {
+ /* @__PURE__ */ (0, C.jsx)(JIe, {
item: e,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, C.jsx)(JIe, {
+ /* @__PURE__ */ (0, C.jsx)(YIe, {
item: e,
write: n,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, C.jsx)(CI, {
- assetIds: SI([e], r.javImage()),
+ /* @__PURE__ */ (0, C.jsx)(wI, {
+ assetIds: CI([e], r.javImage()),
onComplete: () => {
W.invalidateQueries({ queryKey: fD(e.id) });
}
}),
- /* @__PURE__ */ (0, C.jsx)(XIe, { item: e }),
- e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, C.jsx)(kIe, { id: e.id }, e.id) : null,
+ /* @__PURE__ */ (0, C.jsx)(ZIe, { item: e }),
+ e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, C.jsx)(AIe, { id: e.id }, e.id) : null,
/* @__PURE__ */ (0, C.jsxs)("div", {
"data-stage-actions": "",
"data-item-feedback": "",
@@ -75175,7 +75188,7 @@ function UIe({ 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, C.jsx)(xK, { name: "thumbs-up" })
+ children: /* @__PURE__ */ (0, C.jsx)(SK, { name: "thumbs-up" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -75187,7 +75200,7 @@ function UIe({ 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, C.jsx)(xK, { name: "notebook-pen" })
+ children: /* @__PURE__ */ (0, C.jsx)(SK, { name: "notebook-pen" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -75198,7 +75211,7 @@ function UIe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "dislike",
...o("dislike"),
onClick: () => n.feedback("dislike"),
- children: /* @__PURE__ */ (0, C.jsx)(xK, { name: "thumbs-down" })
+ children: /* @__PURE__ */ (0, C.jsx)(SK, { name: "thumbs-down" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -75209,7 +75222,7 @@ function UIe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "seen",
...o("seen"),
onClick: () => n.feedback("seen"),
- children: /* @__PURE__ */ (0, C.jsx)(xK, { name: "eye" })
+ children: /* @__PURE__ */ (0, C.jsx)(SK, { name: "eye" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -75220,7 +75233,7 @@ function UIe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.watch_later,
...o("later"),
onClick: n.later,
- children: /* @__PURE__ */ (0, C.jsx)(xK, { name: e.watch_later ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, C.jsx)(SK, { name: e.watch_later ? "check" : "bookmark-plus" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -75229,7 +75242,7 @@ function UIe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-label": "加入播放列表",
title: "加入播放列表",
onClick: () => i.addToPlaylist(e),
- children: /* @__PURE__ */ (0, C.jsx)(xK, { name: "playlist" })
+ children: /* @__PURE__ */ (0, C.jsx)(SK, { name: "playlist" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -75240,7 +75253,7 @@ function UIe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.better_version,
...o("quality"),
onClick: n.quality,
- children: /* @__PURE__ */ (0, C.jsx)(xK, { name: "sparkles" })
+ children: /* @__PURE__ */ (0, C.jsx)(SK, { name: "sparkles" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -75251,11 +75264,11 @@ function UIe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.disposal === "trash",
...o("dispose"),
onClick: () => n.feedback("dispose"),
- children: /* @__PURE__ */ (0, C.jsx)(xK, { name: "trash" })
+ children: /* @__PURE__ */ (0, C.jsx)(SK, { name: "trash" })
})
]
}),
- /* @__PURE__ */ (0, C.jsx)(ZIe, {
+ /* @__PURE__ */ (0, C.jsx)(QIe, {
item: e,
open: s,
write: n
@@ -75266,7 +75279,7 @@ function UIe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
...o("o"),
onClick: () => n.feedback("o"),
children: [
- /* @__PURE__ */ (0, C.jsx)(xK, { name: "sperm" }),
+ /* @__PURE__ */ (0, C.jsx)(SK, { name: "sperm" }),
/* @__PURE__ */ (0, C.jsx)("span", { children: "记一次高潮" }),
/* @__PURE__ */ (0, C.jsx)("b", {
className: "mono",
@@ -75279,8 +75292,8 @@ function UIe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
});
}
-function WIe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
- let { text: a, expanded: o, foldable: s, toggle: c } = pK(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + mfe(e, t);
+function GIe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
+ let { text: a, expanded: o, foldable: s, toggle: c } = mK(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + mfe(e, t);
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, C.jsxs)("div", {
@@ -75307,11 +75320,11 @@ function WIe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
"aria-label": o ? "收起标题" : "展开标题",
title: o ? "收起标题" : "展开完整标题",
onClick: c,
- children: /* @__PURE__ */ (0, C.jsx)(xK, { name: o ? "chevron-up" : "chevron-down" })
+ children: /* @__PURE__ */ (0, C.jsx)(SK, { name: o ? "chevron-up" : "chevron-down" })
}),
e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-cover-crop-host": "",
- children: /* @__PURE__ */ (0, C.jsx)(PIe, {
+ children: /* @__PURE__ */ (0, C.jsx)(FIe, {
code: e.cover_key || e.code || "",
coverUrl: $i(e),
box: e.poster_box || null,
@@ -75323,7 +75336,7 @@ function WIe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
}
})
}) : null,
- e.location === "online" ? null : /* @__PURE__ */ (0, C.jsx)(GIe, {
+ e.location === "online" ? null : /* @__PURE__ */ (0, C.jsx)(KIe, {
id: e.id,
actions: r,
onStatus: i
@@ -75333,7 +75346,7 @@ function WIe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
});
}
-function GIe({ id: e, actions: t, onStatus: n }) {
+function KIe({ id: e, actions: t, onStatus: n }) {
let [r, i] = (0, S.useState)(""), a = async () => {
r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));
}, o = async () => {
@@ -75363,10 +75376,10 @@ function GIe({ id: e, actions: t, onStatus: n }) {
"aria-disabled": !0
} : {},
onClick: () => void o(),
- children: /* @__PURE__ */ (0, C.jsx)(xK, { name: "folder-sync" })
+ children: /* @__PURE__ */ (0, C.jsx)(SK, { name: "folder-sync" })
})] });
}
-function KIe({ item: e, write: t }) {
+function qIe({ item: e, write: t }) {
let n = bD(e.rating);
return /* @__PURE__ */ (0, C.jsxs)("div", {
id: "detailRating",
@@ -75390,7 +75403,7 @@ function KIe({ item: e, write: t }) {
"aria-label": e === n ? `取消评分(当前 ${e} 星)` : `评为 ${e} 星`,
...t.busyAttrs(`rate:${e}`),
onClick: () => t.rate(e),
- children: /* @__PURE__ */ (0, C.jsx)(xK, { name: "star" })
+ children: /* @__PURE__ */ (0, C.jsx)(SK, { name: "star" })
}, e))
}), /* @__PURE__ */ (0, C.jsx)("span", {
"data-rating-value": "",
@@ -75399,10 +75412,10 @@ function KIe({ item: e, write: t }) {
})]
});
}
-function qIe({ item: e, actions: t }) {
+function JIe({ item: e, actions: t }) {
let n = (0, S.useMemo)(() => efe(e), [e]), [r, i] = (0, S.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
let a = e === "performer" && i >= 8 && !r;
- return /* @__PURE__ */ (0, C.jsx)(dK, {
+ return /* @__PURE__ */ (0, C.jsx)(fK, {
kind: e,
person: n,
onOpen: t.openEntity,
@@ -75434,7 +75447,7 @@ function qIe({ item: e, actions: t }) {
onClick: t.openUnowned,
children: [/* @__PURE__ */ (0, C.jsx)("span", {
"data-id-face": "",
- children: /* @__PURE__ */ (0, C.jsx)(xK, { name: "user-round" })
+ children: /* @__PURE__ */ (0, C.jsx)(SK, { name: "user-round" })
}), /* @__PURE__ */ (0, C.jsx)("span", {
"data-id-name": "",
children: "未归属"
@@ -75465,13 +75478,13 @@ function qIe({ item: e, actions: t }) {
children: [c.length ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-identity-primary": "",
children: c
- }) : null, /* @__PURE__ */ (0, C.jsx)(fK, {
+ }) : null, /* @__PURE__ */ (0, C.jsx)(pK, {
people: n.series,
onOpen: t.openEntity
})]
});
}
-function JIe({ item: e, write: t, helpers: n, actions: r }) {
+function YIe({ item: e, write: t, helpers: n, actions: r }) {
let i = ife(e, n);
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-stage-tags": "",
@@ -75492,16 +75505,16 @@ function JIe({ item: e, write: t, helpers: n, actions: r }) {
"aria-label": `删除标签 ${n.tagLabel(e.k)}`,
...t.busyAttrs(`tag:${e.k}`),
onClick: () => t.removeTag(e),
- children: /* @__PURE__ */ (0, C.jsx)(xK, { name: "x" })
+ children: /* @__PURE__ */ (0, C.jsx)(SK, { name: "x" })
})]
- }, e.k)), /* @__PURE__ */ (0, C.jsx)(YIe, {
+ }, e.k)), /* @__PURE__ */ (0, C.jsx)(XIe, {
item: e,
write: t,
helpers: n
})]
});
}
-function YIe({ item: e, write: t, helpers: n }) {
+function XIe({ item: e, write: t, helpers: n }) {
let r = (0, S.useRef)(null), i = (0, S.useRef)(null), a = (0, S.useRef)(null), o = (0, S.useRef)(!1), [s, c] = (0, S.useState)(!1), [l, u] = (0, S.useState)(""), [d, f] = (0, S.useState)(""), [p, m] = (0, S.useState)(-1), h = (0, S.useCallback)(() => {
i.current && Ha(i.current), c(!1);
}, []);
@@ -75551,7 +75564,7 @@ function YIe({ item: e, write: t, helpers: n }) {
"aria-pressed": i,
onClick: () => v(t, i),
children: [
- /* @__PURE__ */ (0, C.jsx)(xK, { name: i ? "check" : "tags" }),
+ /* @__PURE__ */ (0, C.jsx)(SK, { name: i ? "check" : "tags" }),
/* @__PURE__ */ (0, C.jsx)("span", {
"data-pick-name": "",
children: n.tagLabel(t.k)
@@ -75574,7 +75587,7 @@ function YIe({ item: e, write: t, helpers: n }) {
onClick: () => {
i.current && (Va(i.current), c(!0), u(""), f(""), m(-1), requestAnimationFrame(() => a.current?.focus()));
},
- children: /* @__PURE__ */ (0, C.jsx)(xK, { name: "plus" })
+ children: /* @__PURE__ */ (0, C.jsx)(SK, { name: "plus" })
}), /* @__PURE__ */ (0, C.jsxs)("div", {
ref: i,
id: "tagPicker",
@@ -75584,7 +75597,7 @@ function YIe({ item: e, write: t, helpers: n }) {
hidden: !0,
children: [/* @__PURE__ */ (0, C.jsxs)("label", {
"data-tag-search": "",
- children: [/* @__PURE__ */ (0, C.jsx)(xK, { name: "search" }), /* @__PURE__ */ (0, C.jsx)("input", {
+ children: [/* @__PURE__ */ (0, C.jsx)(SK, { name: "search" }), /* @__PURE__ */ (0, C.jsx)("input", {
ref: a,
id: "tagPickSearch",
maxLength: 80,
@@ -75625,7 +75638,7 @@ function YIe({ item: e, write: t, helpers: n }) {
onClick: () => {
h(), t.addTag(g.create);
},
- children: [/* @__PURE__ */ (0, C.jsx)(xK, { name: "plus" }), /* @__PURE__ */ (0, C.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, C.jsx)(SK, { name: "plus" }), /* @__PURE__ */ (0, C.jsxs)("span", {
"data-pick-name": "",
children: [
"新建“",
@@ -75640,7 +75653,7 @@ function YIe({ item: e, write: t, helpers: n }) {
})]
})] });
}
-function XIe({ item: e }) {
+function ZIe({ item: e }) {
let t = vfe(e);
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-item-trace": "",
@@ -75675,7 +75688,7 @@ function XIe({ item: e }) {
})]
});
}
-function ZIe({ item: e, open: t, write: n }) {
+function QIe({ item: e, open: t, write: n }) {
let [r, i] = (0, S.useState)(e.like_reason || ""), a = (0, S.useRef)(null);
(0, S.useEffect)(() => {
t && a.current?.focus();
@@ -75714,12 +75727,12 @@ function ZIe({ item: e, open: t, write: n }) {
})]
});
}
-function QIe(e) {
+function $Ie(e) {
let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = pt({
queryKey: Hde(t.id, n),
queryFn: async ({ signal: e }) => (await H(Wde(t.id, n), e)).items || []
}), [o] = (0, S.useState)(() => r.relatedSkeletonHtml());
- return /* @__PURE__ */ (0, C.jsx)(eK, {
+ return /* @__PURE__ */ (0, C.jsx)(tK, {
wireDrag: r.wireDrag,
busy: a.isPending,
empty: a.data?.length === 0,
@@ -75727,7 +75740,7 @@ function QIe(e) {
onRetry: () => {
a.refetch();
},
- children: a.data ? /* @__PURE__ */ (0, C.jsx)(_R, {
+ children: a.data ? /* @__PURE__ */ (0, C.jsx)(vR, {
mode: "items",
variant: "next",
items: a.data,
@@ -75740,10 +75753,10 @@ function QIe(e) {
revision: 0,
wireDrag: r.wireDrag,
skeletonHtml: () => ""
- }) : /* @__PURE__ */ (0, C.jsx)(SK, { html: o })
+ }) : /* @__PURE__ */ (0, C.jsx)(CK, { html: o })
});
}
-function $Ie(e, t, n) {
+function eLe(e, t, n) {
let r = e.id, i = fD(r), [a, o] = (0, S.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, S.useState)(""), [l, u] = (0, S.useState)(""), d = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
@@ -75885,10 +75898,10 @@ function $Ie(e, t, n) {
}
//#endregion
//#region src/react/jav-detail/review-cache.ts
-var TK = "peach.jav-reviews.v1";
-function EK() {
+var EK = "peach.jav-reviews.v1";
+function DK() {
try {
- let e = localStorage.getItem(TK) || "[]";
+ let e = localStorage.getItem(EK) || "[]";
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")) : [];
@@ -75896,21 +75909,21 @@ function EK() {
return [];
}
}
-function eLe(e, t) {
+function tLe(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
- }, ...EK().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
- i.length <= 2e6 && localStorage.setItem(TK, i);
+ }, ...DK().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
+ i.length <= 2e6 && localStorage.setItem(EK, i);
} catch {}
}
-function tLe(e, t) {
- let n = EK(), r = [], i = Infinity;
+function nLe(e, t) {
+ let n = DK(), r = [], i = Infinity;
for (let a = 1; a <= 8; a++) {
let o = n.find((t) => t.code === e && t.result.page === a);
- if (!o || !TU(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
+ if (!o || !EU(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
}
return r.length ? {
pages: r,
@@ -75918,17 +75931,17 @@ function tLe(e, t) {
saved: i
} : void 0;
}
-function nLe(e, t, n) {
- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && TU(Date.parse(e.checked_at || "") || t, n));
+function rLe(e, t, n) {
+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && EU(Date.parse(e.checked_at || "") || t, n));
}
//#endregion
//#region src/react/jav-detail/jav-detail-page.tsx
-function rLe(e) {
+function iLe(e) {
let t = (0, S.useRef)(!1), n = pt({
- queryKey: hK(e.code),
+ queryKey: gK(e.code),
queryFn: ({ signal: n }) => {
let r = t.current;
- return t.current = !1, gK(e.code, n, r);
+ return t.current = !1, _K(e.code, n, r);
},
staleTime: 216e5
}), r = () => {
@@ -75938,21 +75951,21 @@ function rLe(e) {
"data-jav-detail": "",
"data-item-detail": "",
"data-stage-grid": "",
- children: n.data ? /* @__PURE__ */ (0, C.jsx)(iLe, {
+ children: n.data ? /* @__PURE__ */ (0, C.jsx)(aLe, {
...e,
item: n.data,
retry: r,
retrying: n.isFetching
}, e.code) : /* @__PURE__ */ (0, C.jsxs)("div", {
"data-jav-failure": "",
- children: [/* @__PURE__ */ (0, C.jsx)(DK, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, C.jsx)(wF, {
+ children: [/* @__PURE__ */ (0, C.jsx)(OK, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, C.jsx)(TF, {
message: V(n.error),
onRetry: r
}) : null]
})
});
}
-var DK = ({ close: e }) => /* @__PURE__ */ (0, C.jsx)("button", {
+var OK = ({ close: e }) => /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -75961,7 +75974,7 @@ var DK = ({ close: e }) => /* @__PURE__ */ (0, C.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: z("x") }
});
-function iLe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
+function aLe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
(0, S.useEffect)(() => {
n.canonicalCode?.(t.code);
}, [n, t.code]), (0, S.useEffect)(() => {
@@ -75982,12 +75995,12 @@ function iLe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
video: !0
}] : []
], [l, u] = (0, S.useState)(null), [d, f] = (0, S.useState)(t.want_id), p = fA(), m = () => {
- p.run("want", async (e) => d ? (await yU([d], e), null) : (await vU({ code: t.code }, e)).want.id, (t) => {
- f(t), W.setQueryData(hK(e), (e) => e && {
+ p.run("want", async (e) => d ? (await bU([d], e), null) : (await yU({ code: t.code }, e)).want.id, (t) => {
+ f(t), W.setQueryData(gK(e), (e) => e && {
...e,
wanted: !!t,
want_id: t
- }), n.receipt(t ? "已加入想要" : "已取消想要"), bU(), W.invalidateQueries({ queryKey: ["feed-new"] }), W.invalidateQueries({ queryKey: ["jav-discoveries"] });
+ }), n.receipt(t ? "已加入想要" : "已取消想要"), xU(), W.invalidateQueries({ queryKey: ["feed-new"] }), W.invalidateQueries({ queryKey: ["jav-discoveries"] });
});
};
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
@@ -75996,19 +76009,19 @@ function iLe({ 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, C.jsx)(DK, { close: n.close }),
+ /* @__PURE__ */ (0, C.jsx)(OK, { close: n.close }),
t.preview_video_url ? /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"data-jav-preview-toggle": "",
"aria-pressed": o === -2,
onClick: () => s(o === -2 ? -1 : -2),
- children: [/* @__PURE__ */ (0, C.jsx)(OK, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
+ children: [/* @__PURE__ */ (0, C.jsx)(kK, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
}) : null,
- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, C.jsx)(sLe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, C.jsx)(mK, {
+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, C.jsx)(cLe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, C.jsx)(hK, {
item: t,
image: o === -1 ? "cover" : String(o)
}, o),
- /* @__PURE__ */ (0, C.jsx)(nK, {
+ /* @__PURE__ */ (0, C.jsx)(rK, {
items: c,
position: Math.max(0, c.findIndex((e) => e.index === o)),
onSelect: s,
@@ -76022,32 +76035,32 @@ function iLe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
"data-stage-side-content": "",
"data-jav-info": "",
children: [
- /* @__PURE__ */ (0, C.jsx)(aLe, { item: t }),
- Number(t.score) > 0 ? /* @__PURE__ */ (0, C.jsx)(AK, { score: Number(t.score) }) : null,
+ /* @__PURE__ */ (0, C.jsx)(oLe, { item: t }),
+ Number(t.score) > 0 ? /* @__PURE__ */ (0, C.jsx)(jK, { score: Number(t.score) }) : null,
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "mono",
"data-stage-meta": "",
- children: [/* @__PURE__ */ (0, C.jsx)(kK, {
+ children: [/* @__PURE__ */ (0, C.jsx)(AK, {
glyph: "calendar",
label: "发行日期",
value: t.release_date
- }), /* @__PURE__ */ (0, C.jsx)(kK, {
+ }), /* @__PURE__ */ (0, C.jsx)(AK, {
glyph: "clock",
label: "时长",
value: t.duration ? `${t.duration} 分钟` : void 0
})]
}),
- /* @__PURE__ */ (0, C.jsx)(oLe, {
+ /* @__PURE__ */ (0, C.jsx)(sLe, {
item: t,
navigate: n.navigate
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
"data-jav-facts": "",
- children: [/* @__PURE__ */ (0, C.jsx)(kK, {
+ children: [/* @__PURE__ */ (0, C.jsx)(AK, {
glyph: "briefcase",
label: "发行商",
value: t.publisher
- }), /* @__PURE__ */ (0, C.jsx)(kK, {
+ }), /* @__PURE__ */ (0, C.jsx)(AK, {
glyph: "clapperboard",
label: "导演",
value: t.director
@@ -76121,12 +76134,12 @@ function iLe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
tone: "error",
children: p.error
}) : null,
- /* @__PURE__ */ (0, C.jsx)(cLe, {
+ /* @__PURE__ */ (0, C.jsx)(lLe, {
code: t.code,
count: t.comments_count,
released: t.release_date
}),
- /* @__PURE__ */ (0, C.jsx)(lLe, {
+ /* @__PURE__ */ (0, C.jsx)(uLe, {
item: t,
actions: n,
readOnly: r
@@ -76134,24 +76147,24 @@ function iLe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
]
})
}),
- /* @__PURE__ */ (0, C.jsx)(mU, {
+ /* @__PURE__ */ (0, C.jsx)(hU, {
prefill: l,
close: () => u(null),
receipt: n.receipt
})
] });
}
-var OK = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
+var kK = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
className: "contents",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: z(e) }
-}), kK = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, C.jsxs)("span", {
+}), AK = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, C.jsxs)("span", {
"data-spec-item": "",
title: t,
- children: [/* @__PURE__ */ (0, C.jsx)(OK, { name: e }), /* @__PURE__ */ (0, C.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, C.jsx)(kK, { name: e }), /* @__PURE__ */ (0, C.jsx)("span", { children: n })]
}) : null;
-function aLe({ item: e }) {
- let { text: t, expanded: n, foldable: r, toggle: i } = pK(e.title), a = e.title === e.code ? "" : e.title;
+function oLe({ item: e }) {
+ let { text: t, expanded: n, foldable: r, toggle: i } = mK(e.title), a = e.title === e.code ? "" : e.title;
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-item-title": "",
children: [/* @__PURE__ */ (0, C.jsx)("h1", {
@@ -76177,12 +76190,12 @@ function aLe({ item: e }) {
"aria-label": n ? "收起标题" : "展开标题",
title: n ? "收起标题" : "展开完整标题",
onClick: i,
- children: /* @__PURE__ */ (0, C.jsx)(OK, { name: n ? "chevron-up" : "chevron-down" })
+ children: /* @__PURE__ */ (0, C.jsx)(kK, { name: n ? "chevron-up" : "chevron-down" })
})
})]
});
}
-function AK({ score: e, review: t = !1 }) {
+function jK({ score: e, review: t = !1 }) {
let n = Math.max(0, Math.min(5, e));
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-item-rating": "",
@@ -76206,10 +76219,10 @@ function AK({ score: e, review: t = !1 }) {
"data-on": String(t === 1),
children: /* @__PURE__ */ (0, C.jsxs)("span", {
"data-rating-icon": "",
- children: [/* @__PURE__ */ (0, C.jsx)(OK, { name: "star" }), /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [/* @__PURE__ */ (0, C.jsx)(kK, { name: "star" }), /* @__PURE__ */ (0, C.jsx)("span", {
"data-rating-fill": "",
style: { width: `${t * 100}%` },
- children: /* @__PURE__ */ (0, C.jsx)(OK, { name: "star" })
+ children: /* @__PURE__ */ (0, C.jsx)(kK, { name: "star" })
})]
})
}, e);
@@ -76220,7 +76233,7 @@ function AK({ score: e, review: t = !1 }) {
})]
});
}
-function oLe({ item: e, navigate: t }) {
+function sLe({ item: e, navigate: t }) {
let n = (e, n) => t(Lt(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, C.jsxs)("section", {
"data-id-group": t,
"data-id-gender": a,
@@ -76229,14 +76242,14 @@ function oLe({ item: e, navigate: t }) {
children: r
}), /* @__PURE__ */ (0, C.jsx)("div", {
"data-id-row": "",
- children: i.map((r) => /* @__PURE__ */ (0, C.jsx)(dK, {
+ children: i.map((r) => /* @__PURE__ */ (0, C.jsx)(fK, {
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, C.jsx)(YV, {
+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, C.jsx)(XV, {
code: e.code,
person: r,
detail: !0
@@ -76253,7 +76266,7 @@ function oLe({ item: e, navigate: t }) {
r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),
r("studio", "厂牌", e.studio_refs)
]
- }), /* @__PURE__ */ (0, C.jsx)(fK, {
+ }), /* @__PURE__ */ (0, C.jsx)(pK, {
people: e.series_refs.map((e) => ({
...e,
id: e.id ?? null
@@ -76262,7 +76275,7 @@ function oLe({ item: e, navigate: t }) {
})]
});
}
-function sLe({ src: e }) {
+function cLe({ src: e }) {
let t = (0, S.useRef)(null), [n, r] = (0, S.useState)(!1), [i, a] = (0, S.useState)(0);
return (0, S.useLayoutEffect)(() => {
let n = t.current, i = document.createElement("video");
@@ -76286,8 +76299,8 @@ function sLe({ src: e }) {
}) : null
});
}
-function cLe({ code: e, count: t, released: n }) {
- let r = T(), [i, a] = (0, S.useState)(!1), o = (0, S.useMemo)(() => tLe(e, n), [e, n]), s = (0, S.useRef)(!1), c = ht({
+function lLe({ code: e, count: t, released: n }) {
+ let r = T(), [i, a] = (0, S.useState)(!1), o = (0, S.useMemo)(() => nLe(e, n), [e, n]), s = (0, S.useRef)(!1), c = ht({
queryKey: ["jav-reviews", e],
enabled: i,
initialPageParam: 1,
@@ -76296,12 +76309,12 @@ function cLe({ code: e, count: t, released: n }) {
pageParams: o.pageParams
} : void 0,
initialDataUpdatedAt: o?.saved,
- staleTime: (e) => nLe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
+ staleTime: (e) => rLe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
gcTime: 864e5,
refetchOnWindowFocus: !1,
queryFn: async ({ signal: t, pageParam: n }) => {
- let i = await EIe(e, n, t, s.current);
- if (eLe(e, i), !i.ok || i.cache_stale) {
+ let i = await DIe(e, n, t, s.current);
+ if (tLe(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,
@@ -76311,7 +76324,7 @@ function cLe({ code: e, count: t, released: n }) {
}
return i;
},
- getNextPageParam: DIe
+ getNextPageParam: OIe
});
(0, S.useEffect)(() => {
c.isFetching || (s.current = !1);
@@ -76359,7 +76372,7 @@ function cLe({ code: e, count: t, released: n }) {
"data-jav-review-meta": "",
children: [
/* @__PURE__ */ (0, C.jsx)("b", { children: e.username }),
- Number(e.score) > 0 ? /* @__PURE__ */ (0, C.jsx)(AK, {
+ Number(e.score) > 0 ? /* @__PURE__ */ (0, C.jsx)(jK, {
score: Number(e.score),
review: !0
}) : null,
@@ -76414,7 +76427,7 @@ function cLe({ code: e, count: t, released: n }) {
})
});
}
-function lLe({ item: e, actions: t, readOnly: n }) {
+function uLe({ item: e, actions: t, readOnly: n }) {
let [r, i] = (0, S.useState)(!1), a = pt({
queryKey: WA,
enabled: r,
@@ -76424,11 +76437,11 @@ function lLe({ item: e, actions: t, readOnly: n }) {
"data-jav-resources": "",
children: /* @__PURE__ */ (0, C.jsx)(OA, {
trailing: !0,
- summary: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(OK, { name: "link" }), "资源"] }),
+ summary: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(kK, { name: "link" }), "资源"] }),
onOpenChange: (e) => {
i(e), e && c(!0);
},
- children: s ? /* @__PURE__ */ (0, C.jsx)(jU, {
+ children: s ? /* @__PURE__ */ (0, C.jsx)(MU, {
want: {
id: 0,
code: e.code,
@@ -76446,31 +76459,31 @@ function lLe({ item: e, actions: t, readOnly: n }) {
}
//#endregion
//#region src/react/stage/stage-player.ts
-var jK = null, MK = null, NK = null, PK = null, FK = null, IK = !1, LK = 0, RK = null, zK = () => !1, BK = (e, t, n) => `${e}:${t}:${n ?? ""}`;
-function uLe(e, t) {
- jK = e, zK = () => t.isOpen(), RK = () => t.requestClose(), gue({
+var MK = null, NK = null, PK = null, FK = null, IK = null, LK = !1, RK = 0, zK = null, BK = () => !1, VK = (e, t, n) => `${e}:${t}:${n ?? ""}`;
+function dLe(e, t) {
+ MK = e, BK = () => t.isOpen(), zK = () => t.requestClose(), gue({
...e.player,
stage: () => document.getElementById("stage")
}), _ue({
- inMiniplayer: (e) => MK?.player === e,
- kind: (e) => MK?.player === e ? MK.kind : NK?.kind ?? PK?.kind ?? "item",
- expand: () => oq(),
- toMiniplayer: () => sq()
- }), VK || (VK = !0, addEventListener("pagehide", () => XE()));
-}
-var VK = !1;
-function HK() {
- if (!jK) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
- return jK;
-}
-function UK(e) {
- PK = e;
-}
-var dLe = () => PK;
-function WK(e, t) {
- let { kind: n, item: r, media: i = null } = t, a = BK(n, r.id, i?.index ?? null);
- if (MK && MK.key === a) return pLe(e, MK);
- MK && aq();
+ inMiniplayer: (e) => NK?.player === e,
+ kind: (e) => NK?.player === e ? NK.kind : PK?.kind ?? FK?.kind ?? "item",
+ expand: () => sq(),
+ toMiniplayer: () => cq()
+ }), HK || (HK = !0, addEventListener("pagehide", () => XE()));
+}
+var HK = !1;
+function UK() {
+ if (!MK) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
+ return MK;
+}
+function WK(e) {
+ FK = e;
+}
+var fLe = () => FK;
+function GK(e, t) {
+ let { kind: n, item: r, media: i = null } = t, a = VK(n, r.id, i?.index ?? null);
+ if (NK && NK.key === a) return mLe(e, NK);
+ NK && oq();
let o = {
player: null,
kind: n,
@@ -76478,7 +76491,7 @@ function WK(e, t) {
mediaIndex: i?.index ?? null,
key: a
};
- NK = o;
+ PK = o;
let s = document.createElement("video");
t.id && (s.id = t.id), s.className = "video-js vjs-big-play-centered", s.controls = !0, s.setAttribute("playsinline", ""), s.preload = "metadata", t.poster && (s.poster = t.poster), t.onError && s.addEventListener("error", t.onError), e.append(s);
let c = rD(s, {
@@ -76488,42 +76501,42 @@ function WK(e, t) {
autoplay: t.autoplay,
resume: t.resume ?? null,
onPlayer: (e) => {
- NK === o && (o.player = e);
+ PK === o && (o.player = e);
},
- handedOff: (e) => MK?.player === e
+ handedOff: (e) => NK?.player === e
});
return () => {
- let e = !!o.player && MK?.player === o.player;
- NK === o && (NK = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), XE());
+ let e = !!o.player && NK?.player === o.player;
+ PK === o && (PK = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), XE());
};
}
-async function fLe(e, t, n) {
+async function pLe(e, t, n) {
let r = await Ot(`/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 HK().player.loadSourceStatus();
- if (n.throwIfAborted(), i[String(r.location || "")] === !1) throw Error(HK().player.offlineReason(String(r.location || "")));
+ let i = await UK().player.loadSourceStatus();
+ if (n.throwIfAborted(), i[String(r.location || "")] === !1) throw Error(UK().player.offlineReason(String(r.location || "")));
let a = {
kind: "item",
item: r,
title: String(r.title || r.name || ""),
sub: String(r.performers?.[0] || r.creator || "未归属")
};
- UK(a);
- let o = WK(t, {
+ WK(a);
+ let o = GK(t, {
kind: "item",
item: r,
autoplay: !0
}), s = !1;
return (e = !1) => {
- s || (s = !0, e && PK === a && KK(!0), o(), PK === a && UK(null));
+ s || (s = !0, e && FK === a && qK(!0), o(), FK === a && WK(null));
};
}
-function pLe(e, t) {
+function mLe(e, t) {
let { player: n } = t;
- rq(t), MK = null, iq(), n.el().classList.remove("vjs-peach-mini"), yde(e), e.append(n.el()), PE(n);
+ iq(t), NK = null, aq(), n.el().classList.remove("vjs-peach-mini"), yde(e), e.append(n.el()), PE(n);
let r = {
player: n,
kind: t.kind,
@@ -76531,23 +76544,23 @@ function pLe(e, t) {
mediaIndex: t.mediaIndex,
key: t.key
};
- NK = r;
+ PK = r;
let i = bde(n, e);
return FE(n), () => {
- NK === r && (NK = null), i(), MK?.player !== n && (NE() === n && PE(null), KE(n), XE());
+ PK === r && (PK = null), i(), NK?.player !== n && (NE() === n && PE(null), KE(n), XE());
};
}
-var GK = () => {
- let e = NK?.player;
+var KK = () => {
+ let e = PK?.player;
return e && !e.isDisposed() ? e : null;
};
-function KK(e) {
- let t = IK;
- IK = !1, MK?.pending && aq();
- let n = NK, r = n?.player, i = PK;
- if (!n || !r || r.isDisposed() || !i || !FK) return;
- let a = HK().player.settings();
- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && _Le({
+function qK(e) {
+ let t = LK;
+ LK = !1, NK?.pending && oq();
+ let n = PK, r = n?.player, i = FK;
+ if (!n || !r || r.isDisposed() || !i || !IK) return;
+ let a = UK().player.settings();
+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && vLe({
player: r,
kind: n.kind,
item: n.item,
@@ -76555,46 +76568,46 @@ function KK(e) {
key: n.key
}, i);
}
-function qK(e, t) {
- IK = !1, MK && (MK.kind === e && MK.item.id === t ? (MK.pending = !0, iq()) : aq());
+function JK(e, t) {
+ LK = !1, NK && (NK.kind === e && NK.item.id === t ? (NK.pending = !0, aq()) : oq());
}
-function JK(e) {
- FK = e, FK && tq();
-}
-var YK = () => !!MK && !MK.pending && !MK.player.isDisposed();
-function mLe() {
- return YK() ? FK?.frame.querySelector("video") ?? null : null;
+function YK(e) {
+ IK = e, IK && nq();
}
+var XK = () => !!NK && !NK.pending && !NK.player.isDisposed();
function hLe() {
- return zK() ? document.getElementById("stage")?.querySelector("video") ?? null : GK()?.el().querySelector("video") ?? mLe();
+ return XK() ? IK?.frame.querySelector("video") ?? null : null;
+}
+function gLe() {
+ return BK() ? document.getElementById("stage")?.querySelector("video") ?? null : KK()?.el().querySelector("video") ?? hLe();
}
-function XK(e) {
- FK && (FK.title.textContent = e.title || "", FK.sub.textContent = e.sub || "", FK.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
+function ZK(e) {
+ IK && (IK.title.textContent = e.title || "", IK.sub.textContent = e.sub || "", IK.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
}
-function ZK(e = MK?.item) {
- if (!FK) return;
- let t = FK.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
- FK.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
+function QK(e = NK?.item) {
+ if (!IK) return;
+ let t = IK.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
+ IK.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
}
-function QK() {
- let e = MK?.player;
- if (!e || e.isDisposed() || !FK) return;
+function $K() {
+ let e = NK?.player;
+ if (!e || e.isDisposed() || !IK) return;
let t = e.paused();
- FK.play.setAttribute("aria-label", t ? "播放" : "暂停"), FK.play.querySelector("[data-icon-swap]") || (FK.play.innerHTML = Co("player-pause", "player-play", t ? "b" : "a")), wo(FK.play, t ? "b" : "a");
+ IK.play.setAttribute("aria-label", t ? "播放" : "暂停"), IK.play.querySelector("[data-icon-swap]") || (IK.play.innerHTML = Co("player-pause", "player-play", t ? "b" : "a")), wo(IK.play, t ? "b" : "a");
}
-function $K() {
- let e = MK?.player;
- if (!e || e.isDisposed() || !FK) return;
- let t = Yt(MK?.item.duration) || Yt(e.duration());
- FK.time.textContent = `${Zt(e.currentTime())} / ${t ? Zt(t) : "0:00"}`;
-}
-var eq = () => Math.max(1, Number(HK().player.settings().seekSeconds) || 10);
-function tq() {
- if (!FK || !jK) return;
- let e = eq();
- for (let [t, n] of [[FK.back, `后退 ${e} 秒`], [FK.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
-}
-function nq(e) {
+function eq() {
+ let e = NK?.player;
+ if (!e || e.isDisposed() || !IK) return;
+ let t = Yt(NK?.item.duration) || Yt(e.duration());
+ IK.time.textContent = `${Zt(e.currentTime())} / ${t ? Zt(t) : "0:00"}`;
+}
+var tq = () => Math.max(1, Number(UK().player.settings().seekSeconds) || 10);
+function nq() {
+ if (!IK || !MK) return;
+ let e = tq();
+ for (let [t, n] of [[IK.back, `后退 ${e} 秒`], [IK.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
+}
+function rq(e) {
let t = (t, n) => {
e.player.on(t, n), e.off.push(() => {
try {
@@ -76606,17 +76619,17 @@ function nq(e) {
"play",
"pause",
"ended"
- ], QK), t([
+ ], $K), t([
"timeupdate",
"durationchange",
"loadedmetadata"
- ], $K), t("loadedmetadata", () => ZK()), QK(), $K(), ZK(), tq();
+ ], eq), t("loadedmetadata", () => QK()), $K(), eq(), QK(), nq();
}
-function rq(e) {
+function iq(e) {
e.off.forEach((e) => e()), e.off = [];
}
-function gLe() {
- let e = FK?.root;
+function _Le() {
+ let e = IK?.root;
if (!e) return;
let t = e.hidden;
if (e.hidden = !1, !t) return;
@@ -76624,8 +76637,8 @@ function gLe() {
let n = () => e.removeAttribute("data-miniplayer-enter");
e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);
}
-function iq() {
- let e = FK?.root;
+function aq() {
+ let e = IK?.root;
if (e) {
e.hidden = !0;
for (let t of [
@@ -76636,73 +76649,73 @@ function iq() {
e.style.transform = "";
}
}
-function _Le(e, t) {
- if (!FK) return;
+function vLe(e, t) {
+ if (!IK) return;
let n = {
...e,
meta: t,
off: [],
pending: !1
};
- MK = n, LK++, e.player.el().classList.add("vjs-peach-mini"), FK.frame.prepend(e.player.el()), XK(t), nq(n), gLe(), FE(e.player);
-}
-function aq() {
- let e = MK;
- e && rq(e), MK = null, LK++;
- let t = e?.player ?? null;
- t && NE() === t && PE(null), KE(t), t && XE(), FK?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), ME(), iq();
+ NK = n, RK++, e.player.el().classList.add("vjs-peach-mini"), IK.frame.prepend(e.player.el()), ZK(t), rq(n), _Le(), FE(e.player);
}
function oq() {
- if (!YK() || !MK) return;
- let { kind: e, item: t, mediaIndex: n } = MK;
- HK().expand(e, t.id, n);
+ let e = NK;
+ e && iq(e), NK = null, RK++;
+ let t = e?.player ?? null;
+ t && NE() === t && PE(null), KE(t), t && XE(), IK?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), ME(), aq();
}
function sq() {
- YK() && !zK() ? oq() : zK() && GK() && RK && (IK = !0, RK());
+ if (!XK() || !NK) return;
+ let { kind: e, item: t, mediaIndex: n } = NK;
+ UK().expand(e, t.id, n);
}
-function vLe() {
- let e = MK?.player;
+function cq() {
+ XK() && !BK() ? sq() : BK() && KK() && zK && (LK = !0, zK());
+}
+function yLe() {
+ let e = NK?.player;
e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());
}
-function cq(e) {
- let t = MK?.player;
+function lq(e) {
+ let t = NK?.player;
if (!t || t.isDisposed()) return;
- let n = Yt(t.duration()) || Yt(MK?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + eq() * e);
+ let n = Yt(t.duration()) || Yt(NK?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + tq() * e);
t.currentTime(n ? Math.min(n, r) : r);
}
-function lq(e) {
- return !(!YK() || !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 || HK().sourceOffline(String(e.location ?? "")));
-}
-async function yLe(e) {
- if (!YK() || !MK || !FK) return;
- let t = ++LK, n = await Ot(`/api/item?id=${e}`).catch(() => null);
- if (t !== LK || !YK() || !MK || !FK || !n || n.error) return;
- if (!lq(n)) {
- HK().openItem(e);
+function uq(e) {
+ return !(!XK() || !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 || UK().sourceOffline(String(e.location ?? "")));
+}
+async function bLe(e) {
+ if (!XK() || !NK || !IK) return;
+ let t = ++RK, n = await Ot(`/api/item?id=${e}`).catch(() => null);
+ if (t !== RK || !XK() || !NK || !IK || !n || n.error) return;
+ if (!uq(n)) {
+ UK().openItem(e);
return;
}
- let r = MK;
- rq(r), NE() === r.player && PE(null), KE(r.player), XE(), FK.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
+ let r = NK;
+ iq(r), NE() === r.player && PE(null), KE(r.player), XE(), IK.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
let i = document.createElement("video");
- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", FK.frame.prepend(i);
+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", IK.frame.prepend(i);
let a = {
kind: "item",
item: n,
title: String(n.title || n.name || ""),
sub: String(n.performers?.[0] || n.creator || "未归属")
};
- XK(a), rD(i, {
+ ZK(a), rD(i, {
kind: "item",
item: n,
autoplay: !0,
chrome: !1,
onPlayer: (r) => {
- if (t !== LK) {
+ if (t !== RK) {
r && NE() === r && PE(null), KE(r);
return;
}
if (!r) {
- aq(), HK().openItem(e);
+ oq(), UK().openItem(e);
return;
}
r.el().classList.add("vjs-peach-mini");
@@ -76711,26 +76724,26 @@ async function yLe(e) {
kind: "item",
item: n,
mediaIndex: null,
- key: BK("item", n.id, null),
+ key: VK("item", n.id, null),
meta: a,
off: [],
pending: !1
};
- MK = i, nq(i);
+ NK = i, rq(i);
}
- }), ZK(n);
+ }), QK(n);
}
//#endregion
//#region src/react/stage/miniplayer.tsx
-var uq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
+var dq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, C.jsx)("use", { href: `#i-${e}` })
-}), bLe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, dq = (e) => (t) => {
+}), xLe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, fq = (e) => (t) => {
t.stopPropagation(), e();
-}, xLe = (0, S.memo)(function() {
+}, SLe = (0, S.memo)(function() {
let e = (0, S.useRef)(null), t = (0, S.useRef)(null), n = (0, S.useRef)(null), r = (0, S.useRef)(null), i = (0, S.useRef)(null), a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useRef)(null), c = (0, S.useRef)(null), l = (0, S.useRef)(null);
- return (0, S.useLayoutEffect)(() => (JK({
+ return (0, S.useLayoutEffect)(() => (YK({
root: e.current,
frame: n.current,
play: r.current,
@@ -76740,7 +76753,7 @@ var uq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
title: s.current,
sub: c.current,
info: l.current
- }), () => JK(null)), []), (0, S.useEffect)(() => CLe(e.current, t.current), []), /* @__PURE__ */ (0, C.jsx)("aside", {
+ }), () => YK(null)), []), (0, S.useEffect)(() => wLe(e.current, t.current), []), /* @__PURE__ */ (0, C.jsx)("aside", {
ref: e,
"data-miniplayer": "",
id: "miniplayer",
@@ -76764,24 +76777,24 @@ var uq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
id: "miniplayerExpand",
"aria-label": "展开到详情",
"aria-keyshortcuts": "i",
- onClick: dq(oq),
- children: /* @__PURE__ */ (0, C.jsx)(uq, { name: "maximize-2" })
+ onClick: fq(sq),
+ children: /* @__PURE__ */ (0, C.jsx)(dq, { name: "maximize-2" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-miniplayer-button": "close",
id: "miniplayerClose",
"aria-label": "关闭小窗",
- onClick: dq(aq),
- children: /* @__PURE__ */ (0, C.jsx)(uq, { name: "x" })
+ onClick: fq(oq),
+ children: /* @__PURE__ */ (0, C.jsx)(dq, { name: "x" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
ref: a,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerBack",
- onClick: dq(() => cq(-1)),
- children: /* @__PURE__ */ (0, C.jsx)(uq, { name: "rotate-ccw" })
+ onClick: fq(() => lq(-1)),
+ children: /* @__PURE__ */ (0, C.jsx)(dq, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
ref: r,
@@ -76790,16 +76803,16 @@ var uq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
id: "miniplayerPlay",
"aria-label": "暂停",
"aria-keyshortcuts": "k",
- onClick: dq(vLe),
- dangerouslySetInnerHTML: bLe
+ onClick: fq(yLe),
+ dangerouslySetInnerHTML: xLe
}),
/* @__PURE__ */ (0, C.jsx)("button", {
ref: o,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerAhead",
- onClick: dq(() => cq(1)),
- children: /* @__PURE__ */ (0, C.jsx)(uq, { name: "rotate-cw" })
+ onClick: fq(() => lq(1)),
+ children: /* @__PURE__ */ (0, C.jsx)(dq, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, C.jsx)("span", {
ref: i,
@@ -76816,7 +76829,7 @@ var uq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
"data-miniplayer-info": "",
id: "miniplayerInfo",
"aria-label": "展开到详情",
- onClick: () => oq(),
+ onClick: () => sq(),
children: [/* @__PURE__ */ (0, C.jsx)("span", {
ref: s,
"data-miniplayer-title": "",
@@ -76830,7 +76843,7 @@ var uq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
})
});
});
-function SLe(e, t, n) {
+function CLe(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
@@ -76852,7 +76865,7 @@ function SLe(e, t, n) {
};
e.addEventListener("transitionend", u), setTimeout(u, 600);
}
-function CLe(e, t) {
+function wLe(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 = {
@@ -76878,7 +76891,7 @@ function CLe(e, t) {
} catch {}
i.moved && (e.dataset.dragged = "1", setTimeout(() => {
delete e.dataset.dragged;
- }, 0), SLe(e, i.dx, i.dy));
+ }, 0), CLe(e, i.dx, i.dy));
}, o = (t) => {
e.dataset.dragged && (t.stopPropagation(), t.preventDefault());
}, s = (e) => {
@@ -76890,49 +76903,49 @@ function CLe(e, t) {
}
//#endregion
//#region src/react/stage/stage.tsx
-var fq = null, pq = null, mq = /* @__PURE__ */ new Set(), hq = 0, gq = null, _q = !1, vq = !1, yq = () => {
+var pq = null, mq = null, hq = /* @__PURE__ */ new Set(), gq = 0, _q = null, vq = !1, yq = !1, bq = () => {
let e = document.getElementById("stage");
return e instanceof HTMLDialogElement ? e : null;
};
-function bq() {
- if (!fq) throw Error("舞台还没有接上宿主(configureStage)");
- return fq;
+function xq() {
+ if (!pq) throw Error("舞台还没有接上宿主(configureStage)");
+ return pq;
}
-function wLe(e) {
- return mq.add(e), () => {
- mq.delete(e);
+function TLe(e) {
+ return hq.add(e), () => {
+ hq.delete(e);
};
}
-function TLe() {
- for (let e of [...mq]) e();
+function ELe() {
+ for (let e of [...hq]) e();
}
-function xq() {
- (0, gt.flushSync)(TLe);
+function Sq() {
+ (0, gt.flushSync)(ELe);
}
-function ELe({ view: e }) {
- return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [e ? /* @__PURE__ */ (0, C.jsx)(DLe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, C.jsx)(xLe, {})] });
+function DLe({ view: e }) {
+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [e ? /* @__PURE__ */ (0, C.jsx)(OLe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, C.jsx)(SLe, {})] });
}
-var Sq = () => /* @__PURE__ */ (0, C.jsx)("div", {
+var Cq = () => /* @__PURE__ */ (0, C.jsx)("div", {
"data-skeleton": "detail",
role: "status",
"aria-label": "正在读取作品详情",
- dangerouslySetInnerHTML: { __html: WFe() }
+ dangerouslySetInnerHTML: { __html: GFe() }
});
-function Cq(e) {
+function wq(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 DLe({ view: e }) {
+function OLe({ view: e }) {
let t = (0, S.useRef)(null);
(0, S.useLayoutEffect)(() => {
let e = t.current, n = (e) => {
- e.preventDefault(), wq();
+ e.preventDefault(), Tq();
};
return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);
}, []);
- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, C.jsx)(IIe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, C.jsx)(rLe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, C.jsx)(hIe, { ...r.props }, r.props.id);
+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, C.jsx)(LIe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, C.jsx)(iLe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, C.jsx)(gIe, { ...r.props }, r.props.id);
return /* @__PURE__ */ (0, C.jsxs)("dialog", {
ref: t,
id: "stage",
@@ -76940,20 +76953,20 @@ function DLe({ view: e }) {
"data-stage-kind": r.kind,
"aria-label": "作品详情",
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), wq());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), Tq());
},
onPointerDown: (e) => {
- vq = Cq(e);
+ yq = wq(e);
},
onClick: (e) => {
- vq && Cq(e) && wq();
+ yq && wq(e) && Tq();
},
children: [
- n === "skeleton" ? /* @__PURE__ */ (0, C.jsx)(Sq, {}, "skeleton") : null,
+ n === "skeleton" ? /* @__PURE__ */ (0, C.jsx)(Cq, {}, "skeleton") : null,
n === "reveal" ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-stage-fade": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, C.jsx)(Sq, {})
+ children: /* @__PURE__ */ (0, C.jsx)(Cq, {})
}, "fade") : null,
n === "skeleton" ? null : /* @__PURE__ */ (0, C.jsx)("div", {
"data-stage-scroll": "",
@@ -76965,14 +76978,14 @@ function DLe({ view: e }) {
]
});
}
-function wq() {
- pq && !_q && (_q = !0, pq.request.actions.close());
+function Tq() {
+ mq && !vq && (vq = !0, mq.request.actions.close());
}
-function Tq(e, t) {
- let n = yq();
+function Eq(e, t) {
+ let n = bq();
n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);
}
-function Eq(e) {
+function Dq(e) {
if (e.kind === "jav") return {
kind: "jav",
props: {
@@ -76980,30 +76993,30 @@ function Eq(e) {
readOnly: e.readOnly,
actions: {
...e.actions,
- close: wq
+ close: Tq
}
}
};
let t = e.resume ?? null, n = (n) => {
let r = t && (e.id == null || e.id === n) ? t : null;
return t = null, r;
- }, r = () => bq().player.settings(), i = () => pq?.request === e;
+ }, r = () => xq().player.settings(), i = () => mq?.request === e;
if (e.kind === "item") {
let { kind: t, resume: a, actions: o, ...s } = e, c = {
...o,
- close: wq,
+ close: Tq,
present: (e, t) => {
let n = e.performers;
- UK({
+ WK({
kind: "item",
item: e,
title: String(e.title || e.name || ""),
sub: String(n?.[0] || e.creator || "未归属")
- }), Tq(r().ambientMode, r().theaterMode), queueMicrotask(() => {
+ }), Eq(r().ambientMode, r().theaterMode), queueMicrotask(() => {
i() && o.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => WK(e, {
+ mountPlayer: (e, t, r, i) => GK(e, {
kind: "item",
item: t,
autoplay: i?.autoplay,
@@ -77021,18 +77034,18 @@ function Eq(e) {
}
let { kind: a, resume: o, actions: s, ...c } = e, l = {
...s,
- close: wq,
+ close: Tq,
present: (e, t) => {
- UK({
+ WK({
kind: "follow",
item: e,
title: e.title || "",
sub: e.author || e.source_label || ""
- }), Tq(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
+ }), Eq(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
i() && s.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => WK(e, {
+ mountPlayer: (e, t, r, i) => GK(e, {
kind: "follow",
item: t,
media: r,
@@ -77049,50 +77062,50 @@ function Eq(e) {
}
};
}
-function OLe(e, t) {
+function kLe(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"), pq?.generation === t && pq.phase === "reveal" && (pq = {
- ...pq,
+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), mq?.generation === t && mq.phase === "reveal" && (mq = {
+ ...mq,
phase: "content"
- }, xq());
+ }, Sq());
}, a = (e) => {
e.target === n && i();
};
n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);
}
-function Dq(e) {
- let t = yq();
- return !pq || pq.content.kind !== e || _q || !t?.open || t.hasAttribute("data-closing") ? null : t;
+function Oq(e) {
+ let t = bq();
+ return !mq || mq.content.kind !== e || vq || !t?.open || t.hasAttribute("data-closing") ? null : t;
}
-async function kLe(e) {
- let t = Dq(e.kind);
+async function ALe(e) {
+ let t = Oq(e.kind);
if (t) {
- await jLe(e, t);
+ await MLe(e, t);
return;
}
- pq && Oq({ miniplayer: !1 });
- let n = ++hq, r = new AbortController();
- gq = r, _q = !1, vq = !1, e.kind === "jav" ? aq() : qK(e.kind, e.id ?? NaN);
- let i = Eq(e);
- pq = {
+ mq && kq({ miniplayer: !1 });
+ let n = ++gq, r = new AbortController();
+ _q = r, vq = !1, yq = !1, e.kind === "jav" ? oq() : JK(e.kind, e.id ?? NaN);
+ let i = Dq(e);
+ mq = {
generation: n,
request: e,
content: i,
phase: "skeleton"
};
- let a = i.kind === "item" ? $de(i.props, r.signal) : i.kind === "jav" ? _K(i.props, r.signal) : WG(i.props, r.signal);
- if (n !== hq || pq?.request !== e) {
+ let a = i.kind === "item" ? $de(i.props, r.signal) : i.kind === "jav" ? vK(i.props, r.signal) : GG(i.props, r.signal);
+ if (n !== gq || mq?.request !== e) {
await a.catch(() => {});
return;
}
- let o = ALe(i);
- pq = {
- ...pq,
+ let o = jLe(i);
+ mq = {
+ ...mq,
phase: o ? "content" : "skeleton"
- }, xq();
- let s = yq();
+ }, Sq();
+ let s = bq();
if (!s) {
await a.catch(() => {});
return;
@@ -77103,46 +77116,46 @@ async function kLe(e) {
} catch {
if (r.signal.aborted) return;
}
- if (n !== hq || !pq || o) return;
+ if (n !== gq || !mq || o) return;
let c = !!s.querySelector(".skeleton-awaiting");
- pq = {
- ...pq,
+ mq = {
+ ...mq,
phase: c ? "content" : "reveal"
- }, xq(), c || OLe(s, n), Ao(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, Sq(), c || kLe(s, n), Ao(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let l = document.activeElement;
(l === s || !s.contains(l)) && s.querySelector("#closeStage")?.focus();
}
-function ALe(e) {
- if (e.kind === "jav") return !!W.getQueryData(hK(e.props.code));
- if (e.kind === "follow") return !!W.getQueryData(VG(e.props.id));
+function jLe(e) {
+ if (e.kind === "jav") return !!W.getQueryData(gK(e.props.code));
+ if (e.kind === "follow") return !!W.getQueryData(HG(e.props.id));
let { queue: t, id: n } = e.props, r = t ? W.getQueryData(pD(t)) : null;
if (t && !r) return !1;
let i = r ? yD(r, n) : n;
return i != null && !!W.getQueryData(fD(i));
}
-async function jLe(e, t) {
- let n = ++hq;
- gq?.abort();
+async function MLe(e, t) {
+ let n = ++gq;
+ _q?.abort();
let r = new AbortController();
- gq = r, vq = !1;
- let i = Eq(e);
+ _q = r, yq = !1;
+ let i = Dq(e);
try {
- i.kind === "item" ? await $de(i.props, r.signal) : i.kind === "jav" ? await _K(i.props, r.signal) : await WG(i.props, r.signal);
+ i.kind === "item" ? await $de(i.props, r.signal) : i.kind === "jav" ? await vK(i.props, r.signal) : await GG(i.props, r.signal);
} catch {
if (r.signal.aborted) return;
}
- if (n !== hq || !pq || Dq(e.kind) !== t) return;
- e.kind === "jav" ? aq() : qK(e.kind, e.id ?? NaN), dc(t), ME(), pq = {
- ...pq,
+ if (n !== gq || !mq || Oq(e.kind) !== t) return;
+ e.kind === "jav" ? oq() : JK(e.kind, e.id ?? NaN), dc(t), ME(), mq = {
+ ...mq,
request: e,
content: i,
phase: "content"
- }, xq(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Ao(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, Sq(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Ao(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 MLe() {
- let e = yq();
+function NLe() {
+ let e = bq();
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();
@@ -77152,85 +77165,85 @@ function MLe() {
e.addEventListener("animationend", i), n = window.setTimeout(r, 380);
}));
}
-function Oq({ miniplayer: e = !0 } = {}) {
- if (hq++, gq?.abort(), gq = null, KK(e), !pq) return;
- let t = yq();
- t && dc(t), ME(), t?.open && t.close(), pq = null, _q = !1, vq = !1, xq(), UK(null), document.body.removeAttribute("data-detail-open");
+function kq({ miniplayer: e = !0 } = {}) {
+ if (gq++, _q?.abort(), _q = null, qK(e), !mq) return;
+ let t = bq();
+ t && dc(t), ME(), t?.open && t.close(), mq = null, vq = !1, yq = !1, Sq(), WK(null), document.body.removeAttribute("data-detail-open");
}
-function NLe(e) {
- pq && (pq = {
- ...pq,
- content: pq.content.kind === "item" ? {
+function PLe(e) {
+ mq && (mq = {
+ ...mq,
+ content: mq.content.kind === "item" ? {
kind: "item",
props: {
- ...pq.content.props,
+ ...mq.content.props,
...e
}
- } : pq.content.kind === "jav" ? pq.content : {
+ } : mq.content.kind === "jav" ? mq.content : {
kind: "follow",
props: {
- ...pq.content.props,
+ ...mq.content.props,
...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }
}
}
- }, xq());
+ }, Sq());
}
-function PLe() {
- let e = dLe(), t = e?.kind === "item" ? e.item : null, n = t ? ha(t, bq().player.settings().javImage) : "";
+function FLe() {
+ let e = fLe(), t = e?.kind === "item" ? e.item : null, n = t ? ha(t, xq().player.settings().javImage) : "";
if (!n) return;
- let r = GK();
+ let r = KK();
r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);
}
-var FLe = {
- open: kLe,
- update: NLe,
- exit: MLe,
- dispose: Oq,
- requestClose: wq,
- repaintPoster: PLe,
- isOpen: () => !!pq,
- showing: () => pq && Dq(pq.content.kind) ? pq.content.kind : null,
- activeVideo: () => hLe(),
- mountWallPlayer: fLe,
+var ILe = {
+ open: ALe,
+ update: PLe,
+ exit: NLe,
+ dispose: kq,
+ requestClose: Tq,
+ repaintPoster: FLe,
+ isOpen: () => !!mq,
+ showing: () => mq && Oq(mq.content.kind) ? mq.content.kind : null,
+ activeVideo: () => gLe(),
+ mountWallPlayer: pLe,
toggleTheater: () => {
- pq && zue(!bq().player.settings().theaterMode);
+ mq && zue(!xq().player.settings().theaterMode);
},
- toggleMiniplayer: () => sq(),
- closeMiniplayer: () => aq(),
- miniplayerActive: () => YK(),
- miniplayerTakesCard: (e) => lq(e),
+ toggleMiniplayer: () => cq(),
+ closeMiniplayer: () => oq(),
+ miniplayerActive: () => XK(),
+ miniplayerTakesCard: (e) => uq(e),
miniplayerPlay: (e) => {
- yLe(e);
+ bLe(e);
}
};
-function ILe(e) {
- return fq = e, uLe(e, {
- isOpen: () => !!pq,
- requestClose: wq
- }), FLe;
+function LLe(e) {
+ return pq = e, dLe(e, {
+ isOpen: () => !!mq,
+ requestClose: Tq
+ }), ILe;
}
-function LLe() {
- let e = (0, S.useSyncExternalStore)(wLe, () => pq);
- return fq ? /* @__PURE__ */ (0, C.jsx)(ELe, { view: e }) : null;
+function RLe() {
+ let e = (0, S.useSyncExternalStore)(TLe, () => mq);
+ return pq ? /* @__PURE__ */ (0, C.jsx)(DLe, { view: e }) : null;
}
//#endregion
//#region src/react/stats/stats.ts
-var RLe = "/api/stats", kq = ["stats"], Aq = (e) => H(RLe, e);
-async function zLe(e) {
+var zLe = "/api/stats", Aq = ["stats"], jq = (e) => H(zLe, e);
+async function BLe(e) {
await W.fetchQuery({
- queryKey: kq,
- queryFn: () => Aq(e)
+ queryKey: Aq,
+ queryFn: () => jq(e)
});
}
-var jq = (e) => e != null && Number.isFinite(e), Mq = (e) => jq(e) ? e.toLocaleString() : "未取得", BLe = (e, t) => jq(e) && jq(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, Nq = (e, t) => {
- let n = BLe(e, t);
- return !n && jq(e) && e > 0 && jq(t) && t > 0 ? "<1%" : `${n}%`;
-}, Pq = (e) => {
- if (!jq(e)) return "未取得";
+var Mq = (e) => e != null && Number.isFinite(e), Nq = (e) => Mq(e) ? e.toLocaleString() : "未取得", VLe = (e, t) => Mq(e) && Mq(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, Pq = (e, t) => {
+ let n = VLe(e, t);
+ return !n && Mq(e) && e > 0 && Mq(t) && t > 0 ? "<1%" : `${n}%`;
+}, Fq = (e) => {
+ if (!Mq(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)} 分钟`;
-}, Fq = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, Iq = (e) => (e.max_reached || 0) * 100, VLe = (e) => e.kind === "online" ? "在线直接观看" : Fq(e) < Iq(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", HLe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
-function ULe(e, t = 6) {
+}, Iq = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, Lq = (e) => (e.max_reached || 0) * 100, HLe = (e) => e.kind === "online" ? "在线直接观看" : Iq(e) < Lq(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", ULe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
+function WLe(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);
@@ -77240,7 +77253,7 @@ function ULe(e, t = 6) {
bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)
}];
}
-var WLe = (e) => Math.max(1, ...e) * 1.1, GLe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, KLe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), qLe = {
+var GLe = (e) => Math.max(1, ...e) * 1.1, KLe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, qLe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), JLe = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -77248,18 +77261,18 @@ var WLe = (e) => Math.max(1, ...e) * 1.1, GLe = (e, t) => e > 0 ? Math.max(e, t
audio: "音频",
account: "账号",
other: "其它文件"
-}, JLe = (e) => e.map((e) => ({
- name: qLe[e.k] ?? e.k,
+}, YLe = (e) => e.map((e) => ({
+ name: JLe[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), YLe = {
+})).sort((e, t) => t.value - e.value), XLe = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, Lq = (e, t = {}) => e.map((e) => ({
+}, Rq = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), XLe = (e) => Lq(e, YLe), ZLe = [
+})), ZLe = (e) => Rq(e, XLe), QLe = [
[
1,
1,
@@ -77295,49 +77308,49 @@ var WLe = (e) => Math.max(1, ...e) * 1.1, GLe = (e, t) => e > 0 ? Math.max(e, t
Infinity,
"≥10"
]
-], QLe = (e) => ZLe.map(([t, n, r]) => ({
+], $Le = (e) => QLe.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
-})), $Le = /* @__PURE__ */ "dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture".split(".");
-function Rq(e) {
- return typeof e == "string" && $Le.includes(e);
+})), eRe = /* @__PURE__ */ "dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture".split(".");
+function zq(e) {
+ return typeof e == "string" && eRe.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js
-var eRe = /* @__PURE__ */ new Set(/* @__PURE__ */ "aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle".split("."));
-function zq(e) {
- return typeof e == "string" && eRe.has(e);
-}
+var tRe = /* @__PURE__ */ new Set(/* @__PURE__ */ "aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle".split("."));
function Bq(e) {
- return typeof e == "string" && e.startsWith("data-");
+ return typeof e == "string" && tRe.has(e);
}
function Vq(e) {
+ return typeof e == "string" && e.startsWith("data-");
+}
+function Hq(e) {
if (typeof e != "object" || !e) return {};
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (zq(n) || Bq(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (Bq(n) || Vq(n)) && (t[n] = e[n]);
return t;
}
-function Hq(e) {
+function Uq(e) {
if (e == null) return null;
if (/*#__PURE__*/ (0, S.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {
var t = e.props;
- return Vq(t);
+ return Hq(t);
}
- return typeof e == "object" && !Array.isArray(e) ? Vq(e) : null;
+ return typeof e == "object" && !Array.isArray(e) ? Hq(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js
-function Uq(e) {
+function Wq(e) {
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (zq(n) || Bq(n) || Rq(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (Bq(n) || Vq(n) || zq(n)) && (t[n] = e[n]);
return t;
}
-function tRe(e) {
- return e == null ? null : /*#__PURE__*/ (0, S.isValidElement)(e) ? Uq(e.props) : typeof e == "object" && !Array.isArray(e) ? Uq(e) : null;
+function nRe(e) {
+ return e == null ? null : /*#__PURE__*/ (0, S.isValidElement)(e) ? Wq(e.props) : typeof e == "object" && !Array.isArray(e) ? Wq(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/container/Surface.js
-var nRe = [
+var rRe = [
"children",
"width",
"height",
@@ -77347,25 +77360,25 @@ var nRe = [
"title",
"desc"
];
-function Wq() {
- return Wq = Object.assign ? Object.assign.bind() : function(e) {
+function Gq() {
+ return Gq = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, Wq.apply(null, arguments);
+ }, Gq.apply(null, arguments);
}
-function rRe(e, t) {
+function iRe(e, t) {
if (e == null) return {};
- var n, r, i = iRe(e, t);
+ var n, r, i = aRe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function iRe(e, t) {
+function aRe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -77374,14 +77387,14 @@ function iRe(e, t) {
}
return n;
}
-var Gq = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
- var n = e.children, r = e.width, i = e.height, a = e.viewBox, o = e.className, s = e.style, c = e.title, l = e.desc, u = rRe(e, nRe), d = a || {
+var Kq = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+ var n = e.children, r = e.width, i = e.height, a = e.viewBox, o = e.className, s = e.style, c = e.title, l = e.desc, u = iRe(e, rRe), d = a || {
width: r,
height: i,
x: 0,
y: 0
}, f = Lv("recharts-surface", o);
- return /*#__PURE__*/ S.createElement("svg", Wq({}, Uq(u), {
+ return /*#__PURE__*/ S.createElement("svg", Gq({}, Wq(u), {
className: f,
width: r,
height: i,
@@ -77389,26 +77402,26 @@ var Gq = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
viewBox: `${d.x} ${d.y} ${d.width} ${d.height}`,
ref: t
}), /*#__PURE__*/ S.createElement("title", null, c), /*#__PURE__*/ S.createElement("desc", null, l), n);
-}), aRe = ["children", "className"];
-function Kq() {
- return Kq = Object.assign ? Object.assign.bind() : function(e) {
+}), oRe = ["children", "className"];
+function qq() {
+ return qq = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, Kq.apply(null, arguments);
+ }, qq.apply(null, arguments);
}
-function oRe(e, t) {
+function sRe(e, t) {
if (e == null) return {};
- var n, r, i = sRe(e, t);
+ var n, r, i = cRe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function sRe(e, t) {
+function cRe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -77417,54 +77430,54 @@ function sRe(e, t) {
}
return n;
}
-var qq = /*#__PURE__*/ S.forwardRef((e, t) => {
- var n = e.children, r = e.className, i = oRe(e, aRe), a = Lv("recharts-layer", r);
- return /*#__PURE__*/ S.createElement("g", Kq({ className: a }, Uq(i), { ref: t }), n);
+var Jq = /*#__PURE__*/ S.forwardRef((e, t) => {
+ var n = e.children, r = e.className, i = sRe(e, oRe), a = Lv("recharts-layer", r);
+ return /*#__PURE__*/ S.createElement("g", qq({ className: a }, Wq(i), { ref: t }), n);
});
//#endregion
//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
-function Jq(e) {
+function Yq(e) {
return e === "__proto__";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs
-var cRe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
-function Yq(e) {
+var lRe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
+function Xq(e) {
switch (typeof e) {
case "number":
case "symbol": return !1;
- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : cRe.test(e);
+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : lRe.test(e);
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs
-function Xq(e) {
+function Zq(e) {
return typeof e == "string" || typeof e == "symbol" ? e : Object.is(e?.valueOf?.(), -0) ? "-0" : String(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isSymbol.mjs
-function Zq(e) {
+function Qq(e) {
return typeof e == "symbol" || e instanceof Symbol;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toString.mjs
-function lRe(e) {
- return e == null ? "" : Qq(e);
+function uRe(e) {
+ return e == null ? "" : $q(e);
}
-function Qq(e) {
+function $q(e) {
if (typeof e == "string") return e;
- if (Array.isArray(e)) return e.map(Qq).join(",");
- if (Zq(e)) return e.toString();
+ if (Array.isArray(e)) return e.map($q).join(",");
+ if (Qq(e)) return e.toString();
let t = e + "";
return t === "0" && Object.is(Number(e), -0) ? "-0" : t;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toPath.mjs
-function $q(e) {
- if (Array.isArray(e)) return e.map(Xq);
+function eJ(e) {
+ if (Array.isArray(e)) return e.map(Zq);
if (typeof e == "symbol") return [e];
- e = lRe(e);
+ e = uRe(e);
let t = [], n = e.length;
if (n === 0) return t;
let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;
@@ -77492,86 +77505,86 @@ function $q(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/get.mjs
-function eJ(e, t, n) {
+function tJ(e, t, n) {
if (e == null) return n;
switch (typeof t) {
case "string": {
- if (Jq(t)) return n;
+ if (Yq(t)) return n;
let r = e[t];
- return r === void 0 ? Yq(t) && !Object.hasOwn(e, t) ? eJ(e, $q(t), n) : n : r;
+ return r === void 0 ? Xq(t) && !Object.hasOwn(e, t) ? tJ(e, eJ(t), n) : n : r;
}
case "number":
case "symbol": {
- typeof t == "number" && (t = Xq(t));
+ typeof t == "number" && (t = Zq(t));
let r = e[t];
return r === void 0 ? n : r;
}
default: {
- if (Array.isArray(t)) return uRe(e, t, n);
- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), Jq(t)) return n;
+ if (Array.isArray(t)) return dRe(e, t, n);
+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), Yq(t)) return n;
let r = e[t];
return r === void 0 ? n : r;
}
}
}
-function uRe(e, t, n) {
+function dRe(e, t, n) {
if (t.length === 0) return n;
let r = e;
for (let e = 0; e < t.length; e++) {
- if (r == null || Jq(t[e])) return n;
+ if (r == null || Yq(t[e])) return n;
r = r[t[e]];
}
return r === void 0 ? n : r;
}
//#endregion
//#region node_modules/recharts/es6/util/round.js
-var dRe = 4;
-function tJ(e) {
- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : dRe), n = Math.round(e * t) / t;
+var fRe = 4;
+function nJ(e) {
+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : fRe), n = Math.round(e * t) / t;
return Object.is(n, -0) ? 0 : n;
}
-function nJ(e) {
+function rJ(e) {
var t = [...arguments].slice(1);
return e.reduce((e, n, r) => {
var i = t[r - 1];
- return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + tJ(i) + n;
+ return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + nJ(i) + n;
}, "");
}
//#endregion
//#region node_modules/recharts/es6/util/DataUtils.js
-var rJ = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, iJ = (e) => typeof e == "number" && e != +e, aJ = (e) => typeof e == "string" && e.length > 1 && e.indexOf("%") === e.length - 1, oJ = (e) => (typeof e == "number" || e instanceof Number) && !iJ(e), sJ = (e) => oJ(e) || typeof e == "string", fRe = 0, cJ = (e) => {
- var t = ++fRe;
+var iJ = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, aJ = (e) => typeof e == "number" && e != +e, oJ = (e) => typeof e == "string" && e.length > 1 && e.indexOf("%") === e.length - 1, sJ = (e) => (typeof e == "number" || e instanceof Number) && !aJ(e), cJ = (e) => sJ(e) || typeof e == "string", pRe = 0, lJ = (e) => {
+ var t = ++pRe;
return `${e || ""}${t}`;
-}, lJ = function(e, t) {
+}, uJ = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, r = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];
- if (!oJ(e) && typeof e != "string") return n;
+ if (!sJ(e) && typeof e != "string") return n;
var i;
- if (aJ(e)) {
+ if (oJ(e)) {
if (t == null) return n;
var a = e.indexOf("%");
i = t * parseFloat(e.slice(0, a)) / 100;
} else i = +e;
- return iJ(i) && (i = n), r && t != null && i > t && (i = t), i;
-}, uJ = (e) => {
+ return aJ(i) && (i = n), r && t != null && i > t && (i = t), i;
+}, dJ = (e) => {
if (!Array.isArray(e)) return !1;
for (var t = e.length, n = {}, r = 0; r < t; r++) if (!n[String(e[r])]) n[String(e[r])] = !0;
else return !0;
return !1;
};
-function dJ(e, t, n) {
- return oJ(e) && oJ(t) ? tJ(e + n * (t - e)) : t;
-}
function fJ(e, t, n) {
- if (e && e.length) return e.find((e) => e && (typeof t == "function" ? t(e) : eJ(e, t)) === n);
+ return sJ(e) && sJ(t) ? nJ(e + n * (t - e)) : t;
}
-var pJ = (e) => e == null, mJ = (e) => pJ(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
-function hJ(e) {
+function pJ(e, t, n) {
+ if (e && e.length) return e.find((e) => e && (typeof t == "function" ? t(e) : tJ(e, t)) === n);
+}
+var mJ = (e) => e == null, hJ = (e) => mJ(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
+function gJ(e) {
return e != null;
}
-function gJ() {}
+function _J() {}
//#endregion
//#region node_modules/recharts/es6/cartesian/cartesianViewBoxToTrapezoid.js
-function _J(e) {
+function vJ(e) {
if (e) return {
x: e.x,
y: e.y,
@@ -77583,7 +77596,7 @@ function _J(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getCartesianPosition.js
-function vJ(e, t) {
+function yJ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -77593,30 +77606,30 @@ function vJ(e, t) {
}
return n;
}
-function yJ(e) {
+function bJ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? vJ(Object(n), !0).forEach(function(t) {
- pRe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : vJ(Object(n)).forEach(function(t) {
+ t % 2 ? yJ(Object(n), !0).forEach(function(t) {
+ mRe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function pRe(e, t, n) {
- return (t = mRe(t)) in e ? Object.defineProperty(e, t, {
+function mRe(e, t, n) {
+ return (t = hRe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mRe(e) {
- var t = hRe(e, "string");
+function hRe(e) {
+ var t = gRe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hRe(e, t) {
+function gRe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -77626,8 +77639,8 @@ function hRe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var bJ = (e) => {
- var t = e.viewBox, n = e.position, r = e.offset, i = r === void 0 ? 0 : r, a = e.parentViewBox, o = e.clamp, s = _J(t), c = s.x, l = s.y, u = s.height, d = s.upperWidth, f = s.lowerWidth, p = c, m = c + (d - f) / 2, h = (p + m) / 2, g = (d + f) / 2, _ = p + d / 2, v = u >= 0 ? 1 : -1, y = v * i, b = v > 0 ? "end" : "start", x = v > 0 ? "start" : "end", S = d >= 0 ? 1 : -1, C = S * i, w = S > 0 ? "end" : "start", T = S > 0 ? "start" : "end", E = a;
+var xJ = (e) => {
+ var t = e.viewBox, n = e.position, r = e.offset, i = r === void 0 ? 0 : r, a = e.parentViewBox, o = e.clamp, s = vJ(t), c = s.x, l = s.y, u = s.height, d = s.upperWidth, f = s.lowerWidth, p = c, m = c + (d - f) / 2, h = (p + m) / 2, g = (d + f) / 2, _ = p + d / 2, v = u >= 0 ? 1 : -1, y = v * i, b = v > 0 ? "end" : "start", x = v > 0 ? "start" : "end", S = d >= 0 ? 1 : -1, C = S * i, w = S > 0 ? "end" : "start", T = S > 0 ? "start" : "end", E = a;
if (n === "top") {
var D = {
x: p + d / 2,
@@ -77668,98 +77681,98 @@ var bJ = (e) => {
width: g,
height: u
} : {};
- return n === "insideLeft" ? yJ({
+ return n === "insideLeft" ? bJ({
x: h + C,
y: l + u / 2,
horizontalAnchor: T,
verticalAnchor: "middle"
- }, j) : n === "insideRight" ? yJ({
+ }, j) : n === "insideRight" ? bJ({
x: h + g - C,
y: l + u / 2,
horizontalAnchor: w,
verticalAnchor: "middle"
- }, j) : n === "insideTop" ? yJ({
+ }, j) : n === "insideTop" ? bJ({
x: p + d / 2,
y: l + y,
horizontalAnchor: "middle",
verticalAnchor: x
- }, j) : n === "insideBottom" ? yJ({
+ }, j) : n === "insideBottom" ? bJ({
x: m + f / 2,
y: l + u - y,
horizontalAnchor: "middle",
verticalAnchor: b
- }, j) : n === "insideTopLeft" ? yJ({
+ }, j) : n === "insideTopLeft" ? bJ({
x: p + C,
y: l + y,
horizontalAnchor: T,
verticalAnchor: x
- }, j) : n === "insideTopRight" ? yJ({
+ }, j) : n === "insideTopRight" ? bJ({
x: p + d - C,
y: l + y,
horizontalAnchor: w,
verticalAnchor: x
- }, j) : n === "insideBottomLeft" ? yJ({
+ }, j) : n === "insideBottomLeft" ? bJ({
x: m + C,
y: l + u - y,
horizontalAnchor: T,
verticalAnchor: b
- }, j) : n === "insideBottomRight" ? yJ({
+ }, j) : n === "insideBottomRight" ? bJ({
x: m + f - C,
y: l + u - y,
horizontalAnchor: w,
verticalAnchor: b
- }, j) : n && typeof n == "object" && (oJ(n.x) || aJ(n.x)) && (oJ(n.y) || aJ(n.y)) ? yJ({
- x: c + lJ(n.x, g),
- y: l + lJ(n.y, u),
+ }, j) : n && typeof n == "object" && (sJ(n.x) || oJ(n.x)) && (sJ(n.y) || oJ(n.y)) ? bJ({
+ x: c + uJ(n.x, g),
+ y: l + uJ(n.y, u),
horizontalAnchor: "end",
verticalAnchor: "end"
- }, j) : yJ({
+ }, j) : bJ({
x: _,
y: l + u / 2,
horizontalAnchor: "middle",
verticalAnchor: "middle"
}, j);
-}, gRe = [
+}, _Re = [
"top",
"left",
"right",
"bottom"
];
-function xJ(e) {
- return e == null ? !1 : typeof e == "object" || gRe.includes(e);
+function SJ(e) {
+ return e == null ? !1 : typeof e == "object" || _Re.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/context/legendPortalContext.js
-var SJ = /*#__PURE__*/ (0, S.createContext)(null), _Re = () => (0, S.useContext)(SJ);
+var CJ = /*#__PURE__*/ (0, S.createContext)(null), vRe = () => (0, S.useContext)(CJ);
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js
-function CJ(e) {
+function wJ(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js
-var wJ = Math.cos, TJ = Math.sin, EJ = Math.sqrt, DJ = Math.PI;
-DJ / 2;
-var OJ = 2 * DJ, kJ = Math.PI, AJ = 2 * kJ, jJ = 1e-6, vRe = AJ - jJ;
-function MJ(e) {
+var TJ = Math.cos, EJ = Math.sin, DJ = Math.sqrt, OJ = Math.PI;
+OJ / 2;
+var kJ = 2 * OJ, AJ = Math.PI, jJ = 2 * AJ, MJ = 1e-6, yRe = jJ - MJ;
+function NJ(e) {
this._ += e[0];
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
}
-function yRe(e) {
+function bRe(e) {
let t = Math.floor(e);
if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
- if (t > 15) return MJ;
+ if (t > 15) return NJ;
let n = 10 ** t;
return function(e) {
this._ += e[0];
for (let t = 1, r = e.length; t < r; ++t) this._ += Math.round(arguments[t] * n) / n + e[t];
};
}
-var NJ = class {
+var PJ = class {
constructor(e) {
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? MJ : yRe(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? NJ : bRe(e);
}
moveTo(e, t) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
@@ -77780,18 +77793,18 @@ var NJ = class {
if (e = +e, t = +t, n = +n, r = +r, i = +i, i < 0) throw Error(`negative radius: ${i}`);
let a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;
if (this._x1 === null) this._append`M${this._x1 = e},${this._y1 = t}`;
- else if (d > jJ) {
- if (!(Math.abs(u * s - c * l) > jJ) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
+ else if (d > MJ) {
+ if (!(Math.abs(u * s - c * l) > MJ) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
else {
- let f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((kJ - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > jJ && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
+ let f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((AJ - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > MJ && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
}
}
}
arc(e, t, n, r, i, a) {
if (e = +e, t = +t, n = +n, a = !!a, n < 0) throw Error(`negative radius: ${n}`);
let o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
- this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > jJ || Math.abs(this._y1 - l) > jJ) && this._append`L${c},${l}`, n && (d < 0 && (d = d % AJ + AJ), d > vRe ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > jJ && this._append`A${n},${n},0,${+(d >= kJ)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);
+ this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > MJ || Math.abs(this._y1 - l) > MJ) && this._append`L${c},${l}`, n && (d < 0 && (d = d % jJ + jJ), d > yRe ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > MJ && this._append`A${n},${n},0,${+(d >= AJ)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);
}
rect(e, t, n, r) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}h${n = +n}v${+r}h${-n}Z`;
@@ -77800,10 +77813,10 @@ var NJ = class {
return this._;
}
};
-NJ.prototype;
+PJ.prototype;
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js
-function PJ(e) {
+function FJ(e) {
let t = 3;
return e.digits = function(n) {
if (!arguments.length) return t;
@@ -77814,18 +77827,18 @@ function PJ(e) {
t = e;
}
return e;
- }, () => new NJ(t);
+ }, () => new PJ(t);
}
Array.prototype.slice;
-function FJ(e) {
+function IJ(e) {
return typeof e == "object" && "length" in e ? e : Array.from(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linear.js
-function IJ(e) {
+function LJ(e) {
this._context = e;
}
-IJ.prototype = {
+LJ.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -77848,33 +77861,33 @@ IJ.prototype = {
}
}
};
-function LJ(e) {
- return new IJ(e);
+function RJ(e) {
+ return new LJ(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js
-function RJ(e) {
+function zJ(e) {
return e[0];
}
-function zJ(e) {
+function BJ(e) {
return e[1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js
-function BJ(e, t) {
- var n = CJ(!0), r = null, i = LJ, a = null, o = PJ(s);
- e = typeof e == "function" ? e : e === void 0 ? RJ : CJ(e), t = typeof t == "function" ? t : t === void 0 ? zJ : CJ(t);
+function VJ(e, t) {
+ var n = wJ(!0), r = null, i = RJ, a = null, o = FJ(s);
+ e = typeof e == "function" ? e : e === void 0 ? zJ : wJ(e), t = typeof t == "function" ? t : t === void 0 ? BJ : wJ(t);
function s(s) {
- var c, l = (s = FJ(s)).length, u, d = !1, f;
+ var c, l = (s = IJ(s)).length, u, d = !1, f;
for (r ?? (a = i(f = o())), c = 0; c <= l; ++c) !(c < l && n(u = s[c], c, s)) === d && ((d = !d) ? a.lineStart() : a.lineEnd()), d && a.point(+e(u, c, s), +t(u, c, s));
if (f) return a = null, f + "" || null;
}
return s.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : CJ(+t), s) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : wJ(+t), s) : e;
}, s.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : CJ(+e), s) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : wJ(+e), s) : t;
}, s.defined = function(e) {
- return arguments.length ? (n = typeof e == "function" ? e : CJ(!!e), s) : n;
+ return arguments.length ? (n = typeof e == "function" ? e : wJ(!!e), s) : n;
}, s.curve = function(e) {
return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;
}, s.context = function(e) {
@@ -77883,11 +77896,11 @@ function BJ(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js
-function VJ(e, t, n) {
- var r = null, i = CJ(!0), a = null, o = LJ, s = null, c = PJ(l);
- e = typeof e == "function" ? e : e === void 0 ? RJ : CJ(+e), t = typeof t == "function" ? t : CJ(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? zJ : CJ(+n);
+function HJ(e, t, n) {
+ var r = null, i = wJ(!0), a = null, o = RJ, s = null, c = FJ(l);
+ e = typeof e == "function" ? e : e === void 0 ? zJ : wJ(+e), t = typeof t == "function" ? t : wJ(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? BJ : wJ(+n);
function l(l) {
- var u, d, f, p = (l = FJ(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
+ var u, d, f, p = (l = IJ(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
for (a ?? (s = o(g = c())), u = 0; u <= p; ++u) {
if (!(u < p && i(m = l[u], u, l)) === h) {
if (h = !h) d = u, s.areaStart(), s.lineStart();
@@ -77901,20 +77914,20 @@ function VJ(e, t, n) {
if (g) return s = null, g + "" || null;
}
function u() {
- return BJ().defined(i).curve(o).context(a);
+ return VJ().defined(i).curve(o).context(a);
}
return l.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : CJ(+t), r = null, l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : wJ(+t), r = null, l) : e;
}, l.x0 = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : CJ(+t), l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : wJ(+t), l) : e;
}, l.x1 = function(e) {
- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : CJ(+e), l) : r;
+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : wJ(+e), l) : r;
}, l.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : CJ(+e), n = null, l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : wJ(+e), n = null, l) : t;
}, l.y0 = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : CJ(+e), l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : wJ(+e), l) : t;
}, l.y1 = function(e) {
- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : CJ(+e), l) : n;
+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : wJ(+e), l) : n;
}, l.lineX0 = l.lineY0 = function() {
return u().x(e).y(t);
}, l.lineY1 = function() {
@@ -77922,7 +77935,7 @@ function VJ(e, t, n) {
}, l.lineX1 = function() {
return u().x(r).y(t);
}, l.defined = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : CJ(!!e), l) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : wJ(!!e), l) : i;
}, l.curve = function(e) {
return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;
}, l.context = function(e) {
@@ -77931,7 +77944,7 @@ function VJ(e, t, n) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js
-var HJ = class {
+var UJ = class {
constructor(e, t) {
this._context = e, this._x = t;
}
@@ -77958,70 +77971,70 @@ var HJ = class {
this._x0 = e, this._y0 = t;
}
};
-function bRe(e) {
- return new HJ(e, !0);
-}
function xRe(e) {
- return new HJ(e, !1);
+ return new UJ(e, !0);
+}
+function SRe(e) {
+ return new UJ(e, !1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js
-var UJ = { draw(e, t) {
- let n = EJ(t / DJ);
- e.moveTo(n, 0), e.arc(0, 0, n, 0, OJ);
-} }, SRe = { draw(e, t) {
- let n = EJ(t / 5) / 2;
+var WJ = { draw(e, t) {
+ let n = DJ(t / OJ);
+ e.moveTo(n, 0), e.arc(0, 0, n, 0, kJ);
+} }, CRe = { draw(e, t) {
+ let n = DJ(t / 5) / 2;
e.moveTo(-3 * n, -n), e.lineTo(-n, -n), e.lineTo(-n, -3 * n), e.lineTo(n, -3 * n), e.lineTo(n, -n), e.lineTo(3 * n, -n), e.lineTo(3 * n, n), e.lineTo(n, n), e.lineTo(n, 3 * n), e.lineTo(-n, 3 * n), e.lineTo(-n, n), e.lineTo(-3 * n, n), e.closePath();
-} }, WJ = EJ(1 / 3), CRe = WJ * 2, wRe = { draw(e, t) {
- let n = EJ(t / CRe), r = n * WJ;
+} }, GJ = DJ(1 / 3), wRe = GJ * 2, TRe = { draw(e, t) {
+ let n = DJ(t / wRe), r = n * GJ;
e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();
-} }, TRe = { draw(e, t) {
- let n = EJ(t), r = -n / 2;
+} }, ERe = { draw(e, t) {
+ let n = DJ(t), r = -n / 2;
e.rect(r, r, n, n);
-} }, ERe = .8908130915292852, GJ = TJ(DJ / 10) / TJ(7 * DJ / 10), DRe = TJ(OJ / 10) * GJ, ORe = -wJ(OJ / 10) * GJ, kRe = { draw(e, t) {
- let n = EJ(t * ERe), r = DRe * n, i = ORe * n;
+} }, DRe = .8908130915292852, KJ = EJ(OJ / 10) / EJ(7 * OJ / 10), ORe = EJ(kJ / 10) * KJ, kRe = -TJ(kJ / 10) * KJ, ARe = { draw(e, t) {
+ let n = DJ(t * DRe), r = ORe * n, i = kRe * n;
e.moveTo(0, -n), e.lineTo(r, i);
for (let t = 1; t < 5; ++t) {
- let a = OJ * t / 5, o = wJ(a), s = TJ(a);
+ let a = kJ * t / 5, o = TJ(a), s = EJ(a);
e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);
}
e.closePath();
-} }, KJ = EJ(3), ARe = { draw(e, t) {
- let n = -EJ(t / (KJ * 3));
- e.moveTo(0, n * 2), e.lineTo(-KJ * n, -n), e.lineTo(KJ * n, -n), e.closePath();
-} }, qJ = -.5, JJ = EJ(3) / 2, YJ = 1 / EJ(12), jRe = (YJ / 2 + 1) * 3, MRe = { draw(e, t) {
- let n = EJ(t / jRe), r = n / 2, i = n * YJ, a = r, o = n * YJ + n, s = -a, c = o;
- e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(qJ * r - JJ * i, JJ * r + qJ * i), e.lineTo(qJ * a - JJ * o, JJ * a + qJ * o), e.lineTo(qJ * s - JJ * c, JJ * s + qJ * c), e.lineTo(qJ * r + JJ * i, qJ * i - JJ * r), e.lineTo(qJ * a + JJ * o, qJ * o - JJ * a), e.lineTo(qJ * s + JJ * c, qJ * c - JJ * s), e.closePath();
+} }, qJ = DJ(3), jRe = { draw(e, t) {
+ let n = -DJ(t / (qJ * 3));
+ e.moveTo(0, n * 2), e.lineTo(-qJ * n, -n), e.lineTo(qJ * n, -n), e.closePath();
+} }, JJ = -.5, YJ = DJ(3) / 2, XJ = 1 / DJ(12), MRe = (XJ / 2 + 1) * 3, NRe = { draw(e, t) {
+ let n = DJ(t / MRe), r = n / 2, i = n * XJ, a = r, o = n * XJ + n, s = -a, c = o;
+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(JJ * r - YJ * i, YJ * r + JJ * i), e.lineTo(JJ * a - YJ * o, YJ * a + JJ * o), e.lineTo(JJ * s - YJ * c, YJ * s + JJ * c), e.lineTo(JJ * r + YJ * i, JJ * i - YJ * r), e.lineTo(JJ * a + YJ * o, JJ * o - YJ * a), e.lineTo(JJ * s + YJ * c, JJ * c - YJ * s), e.closePath();
} };
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js
-function NRe(e, t) {
- let n = null, r = PJ(i);
- e = typeof e == "function" ? e : CJ(e || UJ), t = typeof t == "function" ? t : CJ(t === void 0 ? 64 : +t);
+function PRe(e, t) {
+ let n = null, r = FJ(i);
+ e = typeof e == "function" ? e : wJ(e || WJ), t = typeof t == "function" ? t : wJ(t === void 0 ? 64 : +t);
function i() {
let i;
if (n ||= i = r(), e.apply(this, arguments).draw(n, +t.apply(this, arguments)), i) return n = null, i + "" || null;
}
return i.type = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : CJ(t), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : wJ(t), i) : e;
}, i.size = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : CJ(+e), i) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : wJ(+e), i) : t;
}, i.context = function(e) {
return arguments.length ? (n = e ?? null, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/noop.js
-function XJ() {}
+function ZJ() {}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js
-function ZJ(e, t, n) {
+function QJ(e, t, n) {
e._context.bezierCurveTo((2 * e._x0 + e._x1) / 3, (2 * e._y0 + e._y1) / 3, (e._x0 + 2 * e._x1) / 3, (e._y0 + 2 * e._y1) / 3, (e._x0 + 4 * e._x1 + t) / 6, (e._y0 + 4 * e._y1 + n) / 6);
}
-function QJ(e) {
+function $J(e) {
this._context = e;
}
-QJ.prototype = {
+$J.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -78033,7 +78046,7 @@ QJ.prototype = {
},
lineEnd: function() {
switch (this._point) {
- case 3: ZJ(this, this._x1, this._y1);
+ case 3: QJ(this, this._x1, this._y1);
case 2: this._context.lineTo(this._x1, this._y1);
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
@@ -78047,22 +78060,22 @@ QJ.prototype = {
this._point = 2;
break;
case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
- default: ZJ(this, e, t);
+ default: QJ(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function PRe(e) {
- return new QJ(e);
+function FRe(e) {
+ return new $J(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js
-function $J(e) {
+function eY(e) {
this._context = e;
}
-$J.prototype = {
- areaStart: XJ,
- areaEnd: XJ,
+eY.prototype = {
+ areaStart: ZJ,
+ areaEnd: ZJ,
lineStart: function() {
this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0;
},
@@ -78088,20 +78101,20 @@ $J.prototype = {
case 2:
this._point = 3, this._x4 = e, this._y4 = t, this._context.moveTo((this._x0 + 4 * this._x1 + e) / 6, (this._y0 + 4 * this._y1 + t) / 6);
break;
- default: ZJ(this, e, t);
+ default: QJ(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function FRe(e) {
- return new $J(e);
+function IRe(e) {
+ return new eY(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js
-function eY(e) {
+function tY(e) {
this._context = e;
}
-eY.prototype = {
+tY.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -78128,22 +78141,22 @@ eY.prototype = {
this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
break;
case 3: this._point = 4;
- default: ZJ(this, e, t);
+ default: QJ(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function IRe(e) {
- return new eY(e);
+function LRe(e) {
+ return new tY(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js
-function tY(e) {
+function nY(e) {
this._context = e;
}
-tY.prototype = {
- areaStart: XJ,
- areaEnd: XJ,
+nY.prototype = {
+ areaStart: ZJ,
+ areaEnd: ZJ,
lineStart: function() {
this._point = 0;
},
@@ -78154,30 +78167,30 @@ tY.prototype = {
e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
}
};
-function LRe(e) {
- return new tY(e);
+function RRe(e) {
+ return new nY(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js
-function nY(e) {
+function rY(e) {
return e < 0 ? -1 : 1;
}
-function rY(e, t, n) {
+function iY(e, t, n) {
var r = e._x1 - e._x0, i = t - e._x1, a = (e._y1 - e._y0) / (r || i < 0 && -0), o = (n - e._y1) / (i || r < 0 && -0), s = (a * i + o * r) / (r + i);
- return (nY(a) + nY(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
+ return (rY(a) + rY(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
}
-function iY(e, t) {
+function aY(e, t) {
var n = e._x1 - e._x0;
return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
}
-function aY(e, t, n) {
+function oY(e, t, n) {
var r = e._x0, i = e._y0, a = e._x1, o = e._y1, s = (a - r) / 3;
e._context.bezierCurveTo(r + s, i + s * t, a - s, o - s * n, a, o);
}
-function oY(e) {
+function sY(e) {
this._context = e;
}
-oY.prototype = {
+sY.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -78192,7 +78205,7 @@ oY.prototype = {
case 2:
this._context.lineTo(this._x1, this._y1);
break;
- case 3: aY(this, this._t0, iY(this, this._t0));
+ case 3: oY(this, this._t0, aY(this, this._t0));
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
},
@@ -78207,24 +78220,24 @@ oY.prototype = {
this._point = 2;
break;
case 2:
- this._point = 3, aY(this, iY(this, n = rY(this, e, t)), n);
+ this._point = 3, oY(this, aY(this, n = iY(this, e, t)), n);
break;
- default: aY(this, this._t0, n = rY(this, e, t));
+ default: oY(this, this._t0, n = iY(this, e, t));
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
}
}
};
-function sY(e) {
- this._context = new cY(e);
+function cY(e) {
+ this._context = new lY(e);
}
-(sY.prototype = Object.create(oY.prototype)).point = function(e, t) {
- oY.prototype.point.call(this, t, e);
+(cY.prototype = Object.create(sY.prototype)).point = function(e, t) {
+ sY.prototype.point.call(this, t, e);
};
-function cY(e) {
+function lY(e) {
this._context = e;
}
-cY.prototype = {
+lY.prototype = {
moveTo: function(e, t) {
this._context.moveTo(t, e);
},
@@ -78238,18 +78251,18 @@ cY.prototype = {
this._context.bezierCurveTo(t, e, r, n, a, i);
}
};
-function RRe(e) {
- return new oY(e);
-}
function zRe(e) {
return new sY(e);
}
+function BRe(e) {
+ return new cY(e);
+}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js
-function lY(e) {
+function uY(e) {
this._context = e;
}
-lY.prototype = {
+uY.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -78263,7 +78276,7 @@ lY.prototype = {
var e = this._x, t = this._y, n = e.length;
if (n) {
if (this._line ? this._context.lineTo(e[0], t[0]) : this._context.moveTo(e[0], t[0]), n === 2) this._context.lineTo(e[1], t[1]);
- else for (var r = uY(e), i = uY(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
+ else for (var r = dY(e), i = dY(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
}
(this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;
},
@@ -78271,7 +78284,7 @@ lY.prototype = {
this._x.push(+e), this._y.push(+t);
}
};
-function uY(e) {
+function dY(e) {
var t, n = e.length - 1, r, i = Array(n), a = Array(n), o = Array(n);
for (i[0] = 0, a[0] = 2, o[0] = e[0] + 2 * e[1], t = 1; t < n - 1; ++t) i[t] = 1, a[t] = 4, o[t] = 4 * e[t] + 2 * e[t + 1];
for (i[n - 1] = 2, a[n - 1] = 7, o[n - 1] = 8 * e[n - 1] + e[n], t = 1; t < n; ++t) r = i[t] / a[t - 1], a[t] -= r, o[t] -= r * o[t - 1];
@@ -78279,15 +78292,15 @@ function uY(e) {
for (a[n - 1] = (e[n] + i[n - 1]) / 2, t = 0; t < n - 1; ++t) a[t] = 2 * e[t + 1] - i[t + 1];
return [i, a];
}
-function BRe(e) {
- return new lY(e);
+function VRe(e) {
+ return new uY(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js
-function dY(e, t) {
+function fY(e, t) {
this._context = e, this._t = t;
}
-dY.prototype = {
+fY.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -78315,78 +78328,78 @@ dY.prototype = {
this._x = e, this._y = t;
}
};
-function VRe(e) {
- return new dY(e, .5);
-}
function HRe(e) {
- return new dY(e, 0);
+ return new fY(e, .5);
}
function URe(e) {
- return new dY(e, 1);
+ return new fY(e, 0);
+}
+function WRe(e) {
+ return new fY(e, 1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js
-function fY(e, t) {
+function pY(e, t) {
if ((o = e.length) > 1) for (var n = 1, r, i, a = e[t[0]], o, s = a.length; n < o; ++n) for (i = a, a = e[t[n]], r = 0; r < s; ++r) a[r][1] += a[r][0] = isNaN(i[r][1]) ? i[r][0] : i[r][1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/order/none.js
-function pY(e) {
+function mY(e) {
for (var t = e.length, n = Array(t); --t >= 0;) n[t] = t;
return n;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/stack.js
-function WRe(e, t) {
+function GRe(e, t) {
return e[t];
}
-function GRe(e) {
+function KRe(e) {
let t = [];
return t.key = e, t;
}
-function KRe() {
- var e = CJ([]), t = pY, n = fY, r = WRe;
+function qRe() {
+ var e = wJ([]), t = mY, n = pY, r = GRe;
function i(i) {
- var a = Array.from(e.apply(this, arguments), GRe), o, s = a.length, c = -1, l;
+ var a = Array.from(e.apply(this, arguments), KRe), o, s = a.length, c = -1, l;
for (let e of i) for (o = 0, ++c; o < s; ++o) (a[o][c] = [0, +r(e, a[o].key, c, i)]).data = e;
- for (o = 0, l = FJ(t(a)); o < s; ++o) a[l[o]].index = o;
+ for (o = 0, l = IJ(t(a)); o < s; ++o) a[l[o]].index = o;
return n(a, l), a;
}
return i.keys = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : CJ(Array.from(t)), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : wJ(Array.from(t)), i) : e;
}, i.value = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : CJ(+e), i) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : wJ(+e), i) : r;
}, i.order = function(e) {
- return arguments.length ? (t = e == null ? pY : typeof e == "function" ? e : CJ(Array.from(e)), i) : t;
+ return arguments.length ? (t = e == null ? mY : typeof e == "function" ? e : wJ(Array.from(e)), i) : t;
}, i.offset = function(e) {
- return arguments.length ? (n = e ?? fY, i) : n;
+ return arguments.length ? (n = e ?? pY, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js
-function qRe(e, t) {
+function JRe(e, t) {
if ((r = e.length) > 0) {
for (var n, r, i = 0, a = e[0].length, o; i < a; ++i) {
for (o = n = 0; n < r; ++n) o += e[n][i][1] || 0;
if (o) for (n = 0; n < r; ++n) e[n][i][1] /= o;
}
- fY(e, t);
+ pY(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js
-function JRe(e, t) {
+function YRe(e, t) {
if ((i = e.length) > 0) {
for (var n = 0, r = e[t[0]], i, a = r.length; n < a; ++n) {
for (var o = 0, s = 0; o < i; ++o) s += e[o][n][1] || 0;
r[n][1] += r[n][0] = -s / 2;
}
- fY(e, t);
+ pY(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js
-function YRe(e, t) {
+function XRe(e, t) {
if ((o = e.length) > 0 && (a = (i = e[t[0]]).length) > 0) {
for (var n = 0, r = 1, i, a, o; r < a; ++r) {
for (var s = 0, c = 0, l = 0; s < o; ++s) {
@@ -78398,26 +78411,26 @@ function YRe(e, t) {
}
i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);
}
- i[r - 1][1] += i[r - 1][0] = n, fY(e, t);
+ i[r - 1][1] += i[r - 1][0] = n, pY(e, t);
}
}
//#endregion
//#region node_modules/recharts/es6/shape/Symbols.js
-var XRe = [
+var ZRe = [
"type",
"size",
"sizeType"
];
-function mY() {
- return mY = Object.assign ? Object.assign.bind() : function(e) {
+function hY() {
+ return hY = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, mY.apply(null, arguments);
+ }, hY.apply(null, arguments);
}
-function hY(e, t) {
+function gY(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -78427,30 +78440,30 @@ function hY(e, t) {
}
return n;
}
-function gY(e) {
+function _Y(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? hY(Object(n), !0).forEach(function(t) {
- ZRe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : hY(Object(n)).forEach(function(t) {
+ t % 2 ? gY(Object(n), !0).forEach(function(t) {
+ QRe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : gY(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ZRe(e, t, n) {
- return (t = QRe(t)) in e ? Object.defineProperty(e, t, {
+function QRe(e, t, n) {
+ return (t = $Re(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function QRe(e) {
- var t = $Re(e, "string");
+function $Re(e) {
+ var t = eze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function $Re(e, t) {
+function eze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78460,16 +78473,16 @@ function $Re(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function eze(e, t) {
+function tze(e, t) {
if (e == null) return {};
- var n, r, i = tze(e, t);
+ var n, r, i = nze(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function tze(e, t) {
+function nze(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -78478,68 +78491,68 @@ function tze(e, t) {
}
return n;
}
-var _Y = {
- symbolCircle: UJ,
- symbolCross: SRe,
- symbolDiamond: wRe,
- symbolSquare: TRe,
- symbolStar: kRe,
- symbolTriangle: ARe,
- symbolWye: MRe
-}, nze = Math.PI / 180, rze = (e) => _Y[`symbol${mJ(e)}`] || UJ, ize = (e, t, n) => {
+var vY = {
+ symbolCircle: WJ,
+ symbolCross: CRe,
+ symbolDiamond: TRe,
+ symbolSquare: ERe,
+ symbolStar: ARe,
+ symbolTriangle: jRe,
+ symbolWye: NRe
+}, rze = Math.PI / 180, ize = (e) => vY[`symbol${hJ(e)}`] || WJ, aze = (e, t, n) => {
if (t === "area") return e;
switch (n) {
case "cross": return 5 * e * e / 9;
case "diamond": return .5 * e * e / Math.sqrt(3);
case "square": return e * e;
case "star":
- var r = 18 * nze;
+ var r = 18 * rze;
return 1.25 * e * e * (Math.tan(r) - Math.tan(r * 2) * Math.tan(r) ** 2);
case "triangle": return Math.sqrt(3) * e * e / 4;
case "wye": return (21 - 10 * Math.sqrt(3)) * e * e / 8;
default: return Math.PI * e * e / 4;
}
-}, aze = (e, t) => {
- _Y[`symbol${mJ(e)}`] = t;
-}, vY = (e) => {
- var t = e.type, n = t === void 0 ? "circle" : t, r = e.size, i = r === void 0 ? 64 : r, a = e.sizeType, o = a === void 0 ? "area" : a, s = gY(gY({}, eze(e, XRe)), {}, {
+}, oze = (e, t) => {
+ vY[`symbol${hJ(e)}`] = t;
+}, yY = (e) => {
+ var t = e.type, n = t === void 0 ? "circle" : t, r = e.size, i = r === void 0 ? 64 : r, a = e.sizeType, o = a === void 0 ? "area" : a, s = _Y(_Y({}, tze(e, ZRe)), {}, {
type: n,
size: i,
sizeType: o
}), c = "circle";
typeof n == "string" && (c = n);
var l = () => {
- var e = rze(c), t = NRe().type(e).size(ize(i, o, c))();
+ var e = ize(c), t = PRe().type(e).size(aze(i, o, c))();
if (t !== null) return t;
- }, u = s.className, d = s.cx, f = s.cy, p = Uq(s);
- return oJ(d) && oJ(f) && oJ(i) ? /*#__PURE__*/ S.createElement("path", mY({}, p, {
+ }, u = s.className, d = s.cx, f = s.cy, p = Wq(s);
+ return sJ(d) && sJ(f) && sJ(i) ? /*#__PURE__*/ S.createElement("path", hY({}, p, {
className: Lv("recharts-symbols", u),
transform: `translate(${d}, ${f})`,
d: l()
})) : null;
};
-vY.registerSymbol = aze;
+yY.registerSymbol = oze;
//#endregion
//#region node_modules/recharts/es6/util/types.js
-var yY = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, bY = (e, t) => {
+var bY = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, xY = (e, t) => {
if (!e || typeof e == "function" || typeof e == "boolean") return null;
var n = e;
if (/*#__PURE__*/ (0, S.isValidElement)(e) && (n = e.props), typeof n != "object" && typeof n != "function") return null;
var r = {};
return Object.keys(n).forEach((e) => {
- Rq(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
+ zq(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
}), r;
-}, oze = (e, t, n) => (r) => (e(t, n, r), null), xY = (e, t, n) => {
+}, sze = (e, t, n) => (r) => (e(t, n, r), null), SY = (e, t, n) => {
if (e === null || typeof e != "object" && typeof e != "function") return null;
var r = null;
return Object.keys(e).forEach((i) => {
var a = e[i];
- Rq(i) && typeof a == "function" && (r ||= {}, r[i] = oze(a, t, n));
+ zq(i) && typeof a == "function" && (r ||= {}, r[i] = sze(a, t, n));
}), r;
};
//#endregion
//#region node_modules/recharts/es6/util/resolveDefaultProps.js
-function SY(e, t) {
+function CY(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -78549,30 +78562,30 @@ function SY(e, t) {
}
return n;
}
-function sze(e) {
+function cze(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? SY(Object(n), !0).forEach(function(t) {
- cze(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : SY(Object(n)).forEach(function(t) {
+ t % 2 ? CY(Object(n), !0).forEach(function(t) {
+ lze(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : CY(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function cze(e, t, n) {
- return (t = lze(t)) in e ? Object.defineProperty(e, t, {
+function lze(e, t, n) {
+ return (t = uze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function lze(e) {
- var t = uze(e, "string");
+function uze(e) {
+ var t = dze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function uze(e, t) {
+function dze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78582,22 +78595,22 @@ function uze(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function CY(e, t) {
- var n = sze({}, e), r = t;
+function wY(e, t) {
+ var n = cze({}, e), r = t;
return Object.keys(t).reduce((e, t) => (e[t] === void 0 && r[t] !== void 0 && (e[t] = r[t]), e), n);
}
//#endregion
//#region node_modules/recharts/es6/component/DefaultLegendContent.js
-function wY() {
- return wY = Object.assign ? Object.assign.bind() : function(e) {
+function TY() {
+ return TY = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, wY.apply(null, arguments);
+ }, TY.apply(null, arguments);
}
-function TY(e, t) {
+function EY(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -78607,30 +78620,30 @@ function TY(e, t) {
}
return n;
}
-function EY(e) {
+function DY(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? TY(Object(n), !0).forEach(function(t) {
- dze(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : TY(Object(n)).forEach(function(t) {
+ t % 2 ? EY(Object(n), !0).forEach(function(t) {
+ fze(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : EY(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function dze(e, t, n) {
- return (t = fze(t)) in e ? Object.defineProperty(e, t, {
+function fze(e, t, n) {
+ return (t = pze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function fze(e) {
- var t = pze(e, "string");
+function pze(e) {
+ var t = mze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function pze(e, t) {
+function mze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78640,7 +78653,7 @@ function pze(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var DY = 32, mze = {
+var OY = 32, hze = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -78648,20 +78661,20 @@ var DY = 32, mze = {
verticalAlign: "middle",
labelStyle: {}
};
-function hze(e) {
+function gze(e) {
if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);
}
-function gze(e) {
- var t = e.data, n = e.iconType, r = e.inactiveColor, i = DY / 2, a = DY / 6, o = DY / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
+function _ze(e) {
+ var t = e.data, n = e.iconType, r = e.inactiveColor, i = OY / 2, a = OY / 6, o = OY / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
if (c === "none") return null;
if (c === "plainline") return /*#__PURE__*/ S.createElement("line", {
strokeWidth: 4,
fill: "none",
stroke: s,
- strokeDasharray: hze(t.payload),
+ strokeDasharray: gze(t.payload),
x1: 0,
y1: i,
- x2: DY,
+ x2: OY,
y2: i,
className: "recharts-legend-icon"
});
@@ -78671,35 +78684,35 @@ function gze(e) {
stroke: s,
d: `M0,${i}h${o}
A${a},${a},0,1,1,${2 * o},${i}
- H${DY}M${2 * o},${i}
+ H${OY}M${2 * o},${i}
A${a},${a},0,1,1,${o},${i}`,
className: "recharts-legend-icon"
});
if (c === "rect") return /*#__PURE__*/ S.createElement("path", {
stroke: "none",
fill: s,
- d: `M0,${DY / 8}h${DY}v${DY * 3 / 4}h${-DY}z`,
+ d: `M0,${OY / 8}h${OY}v${OY * 3 / 4}h${-OY}z`,
className: "recharts-legend-icon"
});
if (/*#__PURE__*/ S.isValidElement(t.legendIcon)) {
- var l = EY({}, t);
+ var l = DY({}, t);
return delete l.legendIcon, /*#__PURE__*/ S.cloneElement(t.legendIcon, l);
}
- return /*#__PURE__*/ S.createElement(vY, {
+ return /*#__PURE__*/ S.createElement(yY, {
fill: s,
cx: i,
cy: i,
- size: DY,
+ size: OY,
sizeType: "diameter",
type: c
});
}
-function _ze(e) {
+function vze(e) {
var t = e.payload, n = e.iconSize, r = e.layout, i = e.formatter, a = e.inactiveColor, o = e.iconType, s = e.labelStyle, c = {
x: 0,
y: 0,
- width: DY,
- height: DY
+ width: OY,
+ height: OY
}, l = {
display: r === "horizontal" ? "inline-block" : "block",
marginRight: 10,
@@ -78716,20 +78729,20 @@ function _ze(e) {
inactive: t.inactive
});
if (t.type === "none") return null;
- var p = typeof s == "object" ? EY({}, s) : {};
+ var p = typeof s == "object" ? DY({}, s) : {};
p.color = t.inactive ? a : p.color || t.color, p.whiteSpace ??= "normal", p.overflowWrap ??= "break-word";
var m = d ? d(t.value, t, r) : t.value;
- return /*#__PURE__*/ S.createElement("li", wY({
+ return /*#__PURE__*/ S.createElement("li", TY({
className: f,
style: l,
key: `legend-item-${r}`
- }, xY(e, t, r)), /*#__PURE__*/ S.createElement(Gq, {
+ }, SY(e, t, r)), /*#__PURE__*/ S.createElement(Kq, {
width: n,
height: n,
viewBox: c,
style: u,
"aria-label": t.value == null ? "legend icon" : `${t.value} legend icon`
- }, /*#__PURE__*/ S.createElement(gze, {
+ }, /*#__PURE__*/ S.createElement(_ze, {
data: t,
iconType: o,
inactiveColor: a
@@ -78739,8 +78752,8 @@ function _ze(e) {
}, m));
});
}
-var vze = (e) => {
- var t = CY(e, mze), n = t.payload, r = t.layout, i = t.align;
+var yze = (e) => {
+ var t = wY(e, hze), n = t.payload, r = t.layout, i = t.align;
if (!n || !n.length) return null;
var a = {
padding: 0,
@@ -78750,11 +78763,11 @@ var vze = (e) => {
return /*#__PURE__*/ S.createElement("ul", {
className: "recharts-default-legend",
style: a
- }, /*#__PURE__*/ S.createElement(_ze, wY({}, t, { payload: n })));
+ }, /*#__PURE__*/ S.createElement(vze, TY({}, t, { payload: n })));
};
//#endregion
//#region node_modules/es-toolkit/dist/array/uniqBy.mjs
-function yze(e, t) {
+function bze(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r = 0; r < e.length; r++) {
let i = e[r], a = t(i, r, e);
@@ -78764,77 +78777,77 @@ function yze(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/function/ary.mjs
-function bze(e, t) {
+function xze(e, t) {
return function(...n) {
return e.apply(this, n.slice(0, t));
};
}
//#endregion
//#region node_modules/es-toolkit/dist/function/identity.mjs
-function OY(e) {
+function kY(e) {
return e;
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isLength.mjs
-function xze(e) {
+function Sze(e) {
return Number.isSafeInteger(e) && e >= 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
-function kY(e) {
- return e != null && typeof e != "function" && xze(e.length);
+function AY(e) {
+ return e != null && typeof e != "function" && Sze(e.length);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/property.mjs
-function Sze(e) {
+function Cze(e) {
return function(t) {
- return eJ(t, e);
+ return tJ(t, e);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
-function AY(e) {
+function jY(e) {
return e == null || typeof e != "object" && typeof e != "function";
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
-function Cze(e) {
+function wze(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
-function jY(e) {
+function MY(e) {
return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getTag.mjs
-function MY(e) {
+function NY(e) {
return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/tags.mjs
-var NY = "[object RegExp]", PY = "[object String]", FY = "[object Number]", IY = "[object Boolean]", LY = "[object Arguments]", RY = "[object Symbol]", zY = "[object Date]", BY = "[object Map]", VY = "[object Set]", HY = "[object Array]", wze = "[object Function]", UY = "[object ArrayBuffer]", WY = "[object Object]", Tze = "[object Error]", GY = "[object DataView]", KY = "[object Uint8Array]", qY = "[object Uint8ClampedArray]", JY = "[object Uint16Array]", YY = "[object Uint32Array]", Eze = "[object BigUint64Array]", XY = "[object Int8Array]", ZY = "[object Int16Array]", QY = "[object Int32Array]", Dze = "[object BigInt64Array]", $Y = "[object Float32Array]", eX = "[object Float64Array]", tX = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
+var PY = "[object RegExp]", FY = "[object String]", IY = "[object Number]", LY = "[object Boolean]", RY = "[object Arguments]", zY = "[object Symbol]", BY = "[object Date]", VY = "[object Map]", HY = "[object Set]", UY = "[object Array]", Tze = "[object Function]", WY = "[object ArrayBuffer]", GY = "[object Object]", Eze = "[object Error]", KY = "[object DataView]", qY = "[object Uint8Array]", JY = "[object Uint8ClampedArray]", YY = "[object Uint16Array]", XY = "[object Uint32Array]", Dze = "[object BigUint64Array]", ZY = "[object Int8Array]", QY = "[object Int16Array]", $Y = "[object Int32Array]", Oze = "[object BigInt64Array]", eX = "[object Float32Array]", tX = "[object Float64Array]", nX = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
return this;
})();
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isBuffer.mjs
-function nX(e) {
- return tX.Buffer !== void 0 && tX.Buffer.isBuffer(e);
+function rX(e) {
+ return nX.Buffer !== void 0 && nX.Buffer.isBuffer(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
-function Oze(e, t) {
- return rX(e, void 0, e, /* @__PURE__ */ new Map(), t);
+function kze(e, t) {
+ return iX(e, void 0, e, /* @__PURE__ */ new Map(), t);
}
-function rX(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
+function iX(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
let a = i?.(e, t, n, r);
if (a !== void 0) return a;
- if (AY(e)) return e;
+ if (jY(e)) return e;
if (r.has(e)) return r.get(e);
if (Array.isArray(e)) {
let t = Array(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = rX(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = iX(e[a], a, n, r, i);
return Object.hasOwn(e, "index") && (t.index = e.index), Object.hasOwn(e, "input") && (t.input = e.input), t;
}
if (e instanceof Date) return new Date(e.getTime());
@@ -78845,132 +78858,132 @@ function rX(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
if (e instanceof Map) {
let t = /* @__PURE__ */ new Map();
r.set(e, t);
- for (let [a, o] of e) t.set(a, rX(o, a, n, r, i));
+ for (let [a, o] of e) t.set(a, iX(o, a, n, r, i));
return t;
}
if (e instanceof Set) {
let t = /* @__PURE__ */ new Set();
r.set(e, t);
- for (let a of e) t.add(rX(a, void 0, n, r, i));
+ for (let a of e) t.add(iX(a, void 0, n, r, i));
return t;
}
- if (nX(e)) return e.subarray();
- if (Cze(e)) {
+ if (rX(e)) return e.subarray();
+ if (wze(e)) {
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = rX(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = iX(e[a], a, n, r, i);
return t;
}
if (e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer) return e.slice(0);
if (e instanceof DataView) {
let t = new DataView(e.buffer.slice(0), e.byteOffset, e.byteLength);
- return r.set(e, t), iX(t, e, n, r, i), t;
+ return r.set(e, t), aX(t, e, n, r, i), t;
}
if (typeof File < "u" && e instanceof File) {
let t = new File([e], e.name, { type: e.type });
- return r.set(e, t), iX(t, e, n, r, i), t;
+ return r.set(e, t), aX(t, e, n, r, i), t;
}
if (typeof Blob < "u" && e instanceof Blob) {
let t = new Blob([e], { type: e.type });
- return r.set(e, t), iX(t, e, n, r, i), t;
+ return r.set(e, t), aX(t, e, n, r, i), t;
}
if (e instanceof Error) {
let t = structuredClone(e);
- return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, iX(t, e, n, r, i), t;
+ return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, aX(t, e, n, r, i), t;
}
if (e instanceof Boolean) {
let t = new Boolean(e.valueOf());
- return r.set(e, t), iX(t, e, n, r, i), t;
+ return r.set(e, t), aX(t, e, n, r, i), t;
}
if (e instanceof Number) {
let t = new Number(e.valueOf());
- return r.set(e, t), iX(t, e, n, r, i), t;
+ return r.set(e, t), aX(t, e, n, r, i), t;
}
if (e instanceof String) {
let t = new String(e.valueOf());
- return r.set(e, t), iX(t, e, n, r, i), t;
+ return r.set(e, t), aX(t, e, n, r, i), t;
}
- if (typeof e == "object" && kze(e)) {
+ if (typeof e == "object" && Aze(e)) {
let t = Object.create(Object.getPrototypeOf(e));
- return r.set(e, t), iX(t, e, n, r, i), t;
+ return r.set(e, t), aX(t, e, n, r, i), t;
}
return e;
}
-function iX(e, t, n = e, r, i) {
- let a = [...Object.keys(t), ...jY(t)];
+function aX(e, t, n = e, r, i) {
+ let a = [...Object.keys(t), ...MY(t)];
for (let o = 0; o < a.length; o++) {
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
- (c == null || c.writable) && (e[s] = rX(t[s], s, n, r, i));
+ (c == null || c.writable) && (e[s] = iX(t[s], s, n, r, i));
}
}
-function kze(e) {
- switch (MY(e)) {
- case LY:
- case HY:
+function Aze(e) {
+ switch (NY(e)) {
+ case RY:
case UY:
- case GY:
- case IY:
- case zY:
- case $Y:
+ case WY:
+ case KY:
+ case LY:
+ case BY:
case eX:
- case XY:
+ case tX:
case ZY:
case QY:
- case BY:
- case FY:
- case WY:
- case NY:
+ case $Y:
case VY:
+ case IY:
+ case GY:
case PY:
- case RY:
- case KY:
+ case HY:
+ case FY:
+ case zY:
case qY:
case JY:
- case YY: return !0;
+ case YY:
+ case XY: return !0;
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs
-function Aze(e) {
- return rX(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
+function jze(e) {
+ return iX(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/eq.mjs
-function aX(e, t) {
+function oX(e, t) {
return e === t || Number.isNaN(e) && Number.isNaN(t);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs
-function oX(e) {
+function sX(e) {
return e !== null && (typeof e == "object" || typeof e == "function");
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs
-function sX(e, t, n) {
- return typeof n == "function" ? cX(e, t, function e(t, r, i, a, o, s) {
+function cX(e, t, n) {
+ return typeof n == "function" ? lX(e, t, function e(t, r, i, a, o, s) {
let c = n(t, r, i, a, o, s);
- return c === void 0 ? cX(t, r, e, s, !1) : !!c;
- }, /* @__PURE__ */ new Map(), !0) : sX(e, t, () => void 0);
+ return c === void 0 ? lX(t, r, e, s, !1) : !!c;
+ }, /* @__PURE__ */ new Map(), !0) : cX(e, t, () => void 0);
}
-function cX(e, t, n, r, i = !1) {
+function lX(e, t, n, r, i = !1) {
if (t === e) return !0;
switch (typeof t) {
- case "object": return jze(e, t, n, r, i);
- case "function": return Object.keys(t).length > 0 ? cX(e, { ...t }, n, r, i) : aX(e, t);
- default: return oX(e) && i ? typeof t != "string" || t === "" : aX(e, t);
+ case "object": return Mze(e, t, n, r, i);
+ case "function": return Object.keys(t).length > 0 ? lX(e, { ...t }, n, r, i) : oX(e, t);
+ default: return sX(e) && i ? typeof t != "string" || t === "" : oX(e, t);
}
}
-function jze(e, t, n, r, i = !1) {
+function Mze(e, t, n, r, i = !1) {
if (t == null) return !0;
- if (Array.isArray(t)) return lX(e, t, n, r);
- if (t instanceof Map) return Mze(e, t, n, r);
- if (t instanceof Set) return Nze(e, t, n, r);
+ if (Array.isArray(t)) return uX(e, t, n, r);
+ if (t instanceof Map) return Nze(e, t, n, r);
+ if (t instanceof Set) return Pze(e, t, n, r);
let a = Object.keys(t);
if (e == null) return i && a.length === 0;
- if (i) AY(e) && (e = Object(e));
+ if (i) jY(e) && (e = Object(e));
else {
- let t = MY(e);
+ let t = NY(e);
if (t !== "[object Object]" && t !== "[object Arguments]") return !1;
}
if (a.length === 0) return !0;
@@ -78986,13 +78999,13 @@ function jze(e, t, n, r, i = !1) {
r?.delete(t);
}
}
-function Mze(e, t, n, r) {
+function Nze(e, t, n, r) {
if (t.size === 0) return !0;
if (!(e instanceof Map)) return !1;
for (let [i, a] of t.entries()) if (n(e.get(i), a, i, e, t, r) === !1) return !1;
return !0;
}
-function lX(e, t, n, r) {
+function uX(e, t, n, r) {
if (t.length === 0) return !0;
if (!Array.isArray(e)) return !1;
let i = /* @__PURE__ */ new Set();
@@ -79010,40 +79023,40 @@ function lX(e, t, n, r) {
}
return !0;
}
-function Nze(e, t, n, r) {
- return t.size === 0 || e instanceof Set && lX([...e], [...t], n, r);
+function Pze(e, t, n, r) {
+ return t.size === 0 || e instanceof Set && uX([...e], [...t], n, r);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs
-function uX(e, t) {
- return sX(e, t, () => void 0);
+function dX(e, t) {
+ return cX(e, t, () => void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs
-function Pze(e) {
- return e = Aze(e), (t) => uX(t, e);
+function Fze(e) {
+ return e = jze(e), (t) => dX(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
-function Fze(e, t) {
- return Oze(e, (n, r, i, a) => {
+function Ize(e, t) {
+ return kze(e, (n, r, i, a) => {
let o = t?.(n, r, i, a);
if (o !== void 0) return o;
if (typeof e == "object") {
- if (MY(e) === "[object Object]" && typeof e.constructor != "function") {
+ if (NY(e) === "[object Object]" && typeof e.constructor != "function") {
let t = {};
- return a.set(e, t), iX(t, e, i, a), t;
+ return a.set(e, t), aX(t, e, i, a), t;
}
switch (Object.prototype.toString.call(e)) {
+ case IY:
case FY:
- case PY:
- case IY: {
+ case LY: {
let t = new e.constructor(e?.valueOf());
- return iX(t, e), t;
+ return aX(t, e), t;
}
- case LY: {
+ case RY: {
let t = {};
- return iX(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
+ return aX(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
}
default: return;
}
@@ -79052,130 +79065,130 @@ function Fze(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs
-function Ize(e) {
- return Fze(e);
+function Lze(e) {
+ return Ize(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
-var Lze = /^(?:0|[1-9]\d*)$/;
-function dX(e, t = 2 ** 53 - 1) {
+var Rze = /^(?:0|[1-9]\d*)$/;
+function fX(e, t = 2 ** 53 - 1) {
switch (typeof e) {
case "number": return Number.isInteger(e) && e >= 0 && e < t;
case "symbol": return !1;
- case "string": return Lze.test(e);
+ case "string": return Rze.test(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
-function Rze(e) {
- return typeof e == "object" && !!e && MY(e) === "[object Arguments]";
+function zze(e) {
+ return typeof e == "object" && !!e && NY(e) === "[object Arguments]";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/has.mjs
-function zze(e, t) {
+function Bze(e, t) {
let n;
- if (n = Array.isArray(t) ? t : typeof t == "string" && Yq(t) && !(t in Object(e)) ? $q(t) : [t], n.length === 0) return !1;
+ if (n = Array.isArray(t) ? t : typeof t == "string" && Xq(t) && !(t in Object(e)) ? eJ(t) : [t], n.length === 0) return !1;
let r = e;
for (let e = 0; e < n.length; e++) {
- let t = Xq(n[e]);
- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || Rze(r)) && dX(t) && Number(t) < r.length)) return !1;
+ let t = Zq(n[e]);
+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || zze(r)) && fX(t) && Number(t) < r.length)) return !1;
r = r[t];
}
return !0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs
-function Bze(e, t) {
+function Vze(e, t) {
switch (typeof e) {
case "object":
Object.is(e?.valueOf(), -0) && (e = "-0");
break;
- case "number": e = Xq(e);
+ case "number": e = Zq(e);
}
- return t = Ize(t), function(n) {
- let r = eJ(n, e);
- return r === void 0 ? zze(n, e) : t === void 0 ? r === void 0 : uX(r, t);
+ return t = Lze(t), function(n) {
+ let r = tJ(n, e);
+ return r === void 0 ? Bze(n, e) : t === void 0 ? r === void 0 : dX(r, t);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs
-function fX(e) {
- if (e == null) return OY;
+function pX(e) {
+ if (e == null) return kY;
switch (typeof e) {
case "function": return e;
- case "object": return Array.isArray(e) && e.length === 2 ? Bze(e[0], e[1]) : Pze(e);
- default: return Sze(e);
+ case "object": return Array.isArray(e) && e.length === 2 ? Vze(e[0], e[1]) : Fze(e);
+ default: return Cze(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs
-function Vze(e) {
+function Hze(e) {
return e === 0 ? 0 : e;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs
-function pX(e, t = OY) {
- return kY(e) ? yze(Array.from(e), bze(fX(t), 1)).map(Vze) : [];
+function mX(e, t = kY) {
+ return AY(e) ? bze(Array.from(e), xze(pX(t), 1)).map(Hze) : [];
}
//#endregion
//#region node_modules/recharts/es6/util/payload/getUniqPayload.js
-function mX(e, t, n) {
- return t === !0 ? pX(e, n) : typeof t == "function" ? pX(e, t) : e;
+function hX(e, t, n) {
+ return t === !0 ? mX(e, n) : typeof t == "function" ? mX(e, t) : e;
}
//#endregion
//#region node_modules/recharts/es6/state/RechartsReduxContext.js
-var hX = /*#__PURE__*/ (0, S.createContext)(null), Hze = (e) => e, gX = () => {
- var e = (0, S.useContext)(hX);
- return e ? e.store.dispatch : Hze;
-}, _X = () => {}, Uze = () => _X, Wze = (e, t) => e === t;
-function vX(e) {
- var t = (0, S.useContext)(hX), n = (0, S.useMemo)(() => t ? (t) => {
+var gX = /*#__PURE__*/ (0, S.createContext)(null), Uze = (e) => e, _X = () => {
+ var e = (0, S.useContext)(gX);
+ return e ? e.store.dispatch : Uze;
+}, vX = () => {}, Wze = () => vX, Gze = (e, t) => e === t;
+function yX(e) {
+ var t = (0, S.useContext)(gX), n = (0, S.useMemo)(() => t ? (t) => {
if (t != null) return e(t);
- } : _X, [t, e]);
- return (0, RI.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : Uze, t ? t.store.getState : _X, t ? t.store.getState : _X, n, Wze);
+ } : vX, [t, e]);
+ return (0, zI.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : Wze, t ? t.store.getState : vX, t ? t.store.getState : vX, n, Gze);
}
//#endregion
//#region node_modules/reselect/dist/reselect.mjs
-function Gze(e, t = `expected a function, instead received ${typeof e}`) {
+function Kze(e, t = `expected a function, instead received ${typeof e}`) {
if (typeof e != "function") throw TypeError(t);
}
-function Kze(e, t = "expected all items to be functions, instead received the following types: ") {
+function qze(e, t = "expected all items to be functions, instead received the following types: ") {
if (!e.every((e) => typeof e == "function")) {
let n = e.map((e) => typeof e == "function" ? `function ${e.name || "unnamed"}()` : typeof e).join(", ");
throw TypeError(`${t}[${n}]`);
}
}
-var yX = (e) => Array.isArray(e) ? e : [e];
-function qze(e) {
+var bX = (e) => Array.isArray(e) ? e : [e];
+function Jze(e) {
let t = Array.isArray(e[0]) ? e[0] : e;
- return Kze(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
+ return qze(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
}
-function Jze(e, t) {
+function Yze(e, t) {
let n = [], { length: r } = e;
for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));
return n;
}
-var Yze = class {
+var Xze = class {
constructor(e) {
this.value = e;
}
deref() {
return this.value;
}
-}, bX = typeof WeakRef > "u" ? Yze : WeakRef, Xze = 0, xX = 1;
-function SX() {
+}, xX = typeof WeakRef > "u" ? Xze : WeakRef, Zze = 0, SX = 1;
+function CX() {
return {
- s: Xze,
+ s: Zze,
v: void 0,
o: null,
p: null
};
}
-function Zze(e) {
- return e instanceof bX ? e.deref() : e;
+function Qze(e) {
+ return e instanceof xX ? e.deref() : e;
}
-function CX(e, t = {}) {
- let n = SX(), { resultEqualityCheck: r } = t, i, a = 0;
+function wX(e, t = {}) {
+ let n = CX(), { resultEqualityCheck: r } = t, i, a = 0;
function o() {
let t = n, { length: o } = arguments;
for (let e = 0, n = o; e < n; e++) {
@@ -79184,43 +79197,43 @@ function CX(e, t = {}) {
let e = t.o;
e === null && (t.o = e = /* @__PURE__ */ new WeakMap());
let r = e.get(n);
- r === void 0 ? (t = SX(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = CX(), e.set(n, t)) : t = r;
} else {
let e = t.p;
e === null && (t.p = e = /* @__PURE__ */ new Map());
let r = e.get(n);
- r === void 0 ? (t = SX(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = CX(), e.set(n, t)) : t = r;
}
}
let s = t, c;
- if (t.s === xX) c = t.v;
+ if (t.s === SX) c = t.v;
else if (c = e.apply(null, arguments), a++, r) {
- let e = Zze(i);
- e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? /* @__PURE__ */ new bX(c) : c;
+ let e = Qze(i);
+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? /* @__PURE__ */ new xX(c) : c;
}
- return s.s = xX, s.v = c, c;
+ return s.s = SX, s.v = c, c;
}
return o.clearCache = () => {
- n = SX(), o.resetResultsCount();
+ n = CX(), o.resetResultsCount();
}, o.resultsCount = () => a, o.resetResultsCount = () => {
a = 0;
}, o;
}
-function Qze(e, ...t) {
+function $ze(e, ...t) {
let n = typeof e == "function" ? {
memoize: e,
memoizeOptions: t
} : e, r = (...e) => {
let t = 0, r = 0, i, a = {}, o = e.pop();
- typeof o == "object" && (a = o, o = e.pop()), Gze(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
- let { memoize: s, memoizeOptions: c = [], argsMemoize: l = CX, argsMemoizeOptions: u = [] } = {
+ typeof o == "object" && (a = o, o = e.pop()), Kze(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = wX, argsMemoizeOptions: u = [] } = {
...n,
...a
- }, d = yX(c), f = yX(u), p = qze(e), m = s(function() {
+ }, d = bX(c), f = bX(u), p = Jze(e), m = s(function() {
return t++, o.apply(null, arguments);
}, ...d), h = l(function() {
r++;
- let e = Jze(p, arguments);
+ let e = Yze(p, arguments);
return i = m.apply(null, e), i;
}, ...f);
return Object.assign(h, {
@@ -79242,10 +79255,10 @@ function Qze(e, ...t) {
};
return Object.assign(r, { withTypes: () => r }), r;
}
-var Y = /* @__PURE__ */ Qze(CX);
+var Y = /* @__PURE__ */ $ze(wX);
//#endregion
//#region node_modules/es-toolkit/dist/array/flatten.mjs
-function $ze(e, t = 1) {
+function eBe(e, t = 1) {
let n = [], r = Math.floor(t), i = (e, t) => {
for (let a = 0; a < e.length; a++) {
let o = e[a];
@@ -79256,17 +79269,17 @@ function $ze(e, t = 1) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs
-function wX(e, t, n) {
- return oX(n) && (typeof t == "number" && kY(n) && dX(t) && t < n.length || typeof t == "string" && t in n) ? aX(n[t], e) : !1;
+function TX(e, t, n) {
+ return sX(n) && (typeof t == "number" && AY(n) && fX(t) && t < n.length || typeof t == "string" && t in n) ? oX(n[t], e) : !1;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs
-function TX(e) {
+function EX(e) {
return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;
}
-var eBe = (e, t, n) => {
+var tBe = (e, t, n) => {
if (e !== t) {
- let r = TX(e), i = TX(t);
+ let r = EX(e), i = EX(t);
if (r === i && r === 0) {
if (e < t) return n === "desc" ? 1 : -1;
if (e > t) return n === "desc" ? -1 : 1;
@@ -79274,15 +79287,15 @@ var eBe = (e, t, n) => {
return n === "desc" ? i - r : r - i;
}
return 0;
-}, tBe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, nBe = /^\w*$/;
-function rBe(e, t) {
- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || Zq(e) ? !0 : typeof e == "string" && (nBe.test(e) || !tBe.test(e)) || t != null && Object.hasOwn(t, e);
+}, nBe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, rBe = /^\w*$/;
+function iBe(e, t) {
+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || Qq(e) ? !0 : typeof e == "string" && (rBe.test(e) || !nBe.test(e)) || t != null && Object.hasOwn(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs
-function iBe(e, t, n, r) {
+function aBe(e, t, n, r) {
if (e == null) return [];
- n = r ? void 0 : n, Array.isArray(e) || (e = kY(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));
+ n = r ? void 0 : n, Array.isArray(e) || (e = AY(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));
let i = (e, t) => {
let n = e, r = 0;
for (; r < t.length && n != null; ++r) n = n[t[r]];
@@ -79290,16 +79303,16 @@ function iBe(e, t, n, r) {
}, a = (e, t) => {
if (e == null) return t;
if (t != null) return typeof e == "object" && "key" in e ? Object.hasOwn(t, e.key) ? t[e.key] : i(t, e.path) : typeof e == "function" ? e(t) : Array.isArray(e) ? i(t, e) : t[e];
- }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || rBe(e) ? e : {
+ }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || iBe(e) ? e : {
key: e,
- path: $q(e)
+ path: eJ(e)
}));
return e.map((e) => ({
original: e,
criteria: o.map((t) => a(t, e))
})).slice().sort((e, t) => {
for (let r = 0; r < o.length; r++) {
- let i = eBe(e.criteria[r], t.criteria[r], n[r]);
+ let i = tBe(e.criteria[r], t.criteria[r], n[r]);
if (i !== 0) return i;
}
return 0;
@@ -79307,42 +79320,42 @@ function iBe(e, t, n, r) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs
-function EX(e, ...t) {
+function DX(e, ...t) {
let n = t.length;
- return n > 1 && wX(e, t[0], t[1]) ? t = [] : n > 2 && wX(t[0], t[1], t[2]) && (t = [t[0]]), iBe(e, $ze(t), ["asc"]);
+ return n > 1 && TX(e, t[0], t[1]) ? t = [] : n > 2 && TX(t[0], t[1], t[2]) && (t = [t[0]]), aBe(e, eBe(t), ["asc"]);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/legendSelectors.js
-var DX = (e) => e.legend.settings, aBe = (e) => e.legend.size, oBe = Y([(e) => e.legend.payload, DX], (e, t) => {
+var OX = (e) => e.legend.settings, oBe = (e) => e.legend.size, sBe = Y([(e) => e.legend.payload, OX], (e, t) => {
var n = t.itemSorter, r = e.flat(1);
- return n ? EX(r, n) : r;
+ return n ? DX(r, n) : r;
});
//#endregion
//#region node_modules/recharts/es6/context/legendPayloadContext.js
-function sBe() {
- return vX(oBe);
+function cBe() {
+ return yX(sBe);
}
//#endregion
//#region node_modules/recharts/es6/util/useElementOffset.js
-function cBe(e, t) {
- return fBe(e) || dBe(e, t) || uBe(e, t) || lBe();
+function lBe(e, t) {
+ return pBe(e) || fBe(e, t) || dBe(e, t) || uBe();
}
-function lBe() {
+function uBe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function uBe(e, t) {
+function dBe(e, t) {
if (e) {
- if (typeof e == "string") return OX(e, t);
+ if (typeof e == "string") return kX(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? OX(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? kX(e, t) : void 0;
}
}
-function OX(e, t) {
+function kX(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function dBe(e, t) {
+function fBe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -79363,14 +79376,14 @@ function dBe(e, t) {
return s;
}
}
-function fBe(e) {
+function pBe(e) {
if (Array.isArray(e)) return e;
}
-var kX = 1;
-function AX(e, t) {
- return Math.abs(e.height - t.height) > kX || Math.abs(e.left - t.left) > kX || Math.abs(e.top - t.top) > kX || Math.abs(e.width - t.width) > kX;
+var AX = 1;
+function jX(e, t) {
+ return Math.abs(e.height - t.height) > AX || Math.abs(e.left - t.left) > AX || Math.abs(e.top - t.top) > AX || Math.abs(e.width - t.width) > AX;
}
-function jX(e) {
+function MX(e) {
var t = e.getBoundingClientRect();
return {
height: t.height,
@@ -79379,8 +79392,8 @@ function jX(e) {
width: t.width
};
}
-function MX() {
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = cBe((0, S.useState)({
+function NX() {
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = lBe((0, S.useState)({
height: 0,
left: 0,
top: 0,
@@ -79389,11 +79402,11 @@ function MX() {
a.current = n;
var o = (0, S.useCallback)((e) => {
if (i.current != null && (i.current.disconnect(), i.current = null), e != null) {
- var t = jX(e);
- if (AX(t, a.current) && r(t), typeof ResizeObserver < "u") {
+ var t = MX(e);
+ if (jX(t, a.current) && r(t), typeof ResizeObserver < "u") {
var n = new ResizeObserver(() => {
- var t = jX(e);
- AX(t, a.current) && r(t);
+ var t = MX(e);
+ jX(t, a.current) && r(t);
});
n.observe(e), i.current = n;
}
@@ -79406,26 +79419,26 @@ function MX() {
}
//#endregion
//#region node_modules/redux/dist/redux.mjs
-function NX(e) {
+function PX(e) {
return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
}
-var PX = typeof Symbol == "function" && Symbol.observable || "@@observable", FX = () => Math.random().toString(36).substring(7).split("").join("."), IX = {
- INIT: `@@redux/INIT${/* @__PURE__ */ FX()}`,
- REPLACE: `@@redux/REPLACE${/* @__PURE__ */ FX()}`,
- PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${FX()}`
+var FX = typeof Symbol == "function" && Symbol.observable || "@@observable", IX = () => Math.random().toString(36).substring(7).split("").join("."), LX = {
+ INIT: `@@redux/INIT${/* @__PURE__ */ IX()}`,
+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ IX()}`,
+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${IX()}`
};
-function LX(e) {
+function RX(e) {
if (typeof e != "object" || !e) return !1;
let t = e;
for (; Object.getPrototypeOf(t) !== null;) t = Object.getPrototypeOf(t);
return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null;
}
-function RX(e, t, n) {
- if (typeof e != "function") throw Error(NX(2));
- if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(NX(0));
+function zX(e, t, n) {
+ if (typeof e != "function") throw Error(PX(2));
+ if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(PX(0));
if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {
- if (typeof n != "function") throw Error(NX(1));
- return n(RX)(e, t);
+ if (typeof n != "function") throw Error(PX(1));
+ return n(zX)(e, t);
}
let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;
function l() {
@@ -79434,27 +79447,27 @@ function RX(e, t, n) {
}));
}
function u() {
- if (c) throw Error(NX(3));
+ if (c) throw Error(PX(3));
return i;
}
function d(e) {
- if (typeof e != "function") throw Error(NX(4));
- if (c) throw Error(NX(5));
+ if (typeof e != "function") throw Error(PX(4));
+ if (c) throw Error(PX(5));
let t = !0;
l();
let n = s++;
return o.set(n, e), function() {
if (t) {
- if (c) throw Error(NX(6));
+ if (c) throw Error(PX(6));
t = !1, l(), o.delete(n), a = null;
}
};
}
function f(e) {
- if (!LX(e)) throw Error(NX(7));
- if (e.type === void 0) throw Error(NX(8));
- if (typeof e.type != "string") throw Error(NX(17));
- if (c) throw Error(NX(9));
+ if (!RX(e)) throw Error(PX(7));
+ if (e.type === void 0) throw Error(PX(8));
+ if (typeof e.type != "string") throw Error(PX(17));
+ if (c) throw Error(PX(9));
try {
c = !0, i = r(i, e);
} finally {
@@ -79465,41 +79478,41 @@ function RX(e, t, n) {
}), e;
}
function p(e) {
- if (typeof e != "function") throw Error(NX(10));
- r = e, f({ type: IX.REPLACE });
+ if (typeof e != "function") throw Error(PX(10));
+ r = e, f({ type: LX.REPLACE });
}
function m() {
let e = d;
return {
subscribe(t) {
- if (typeof t != "object" || !t) throw Error(NX(11));
+ if (typeof t != "object" || !t) throw Error(PX(11));
function n() {
let e = t;
e.next && e.next(u());
}
return n(), { unsubscribe: e(n) };
},
- [PX]() {
+ [FX]() {
return this;
}
};
}
- return f({ type: IX.INIT }), {
+ return f({ type: LX.INIT }), {
dispatch: f,
subscribe: d,
getState: u,
replaceReducer: p,
- [PX]: m
+ [FX]: m
};
}
-function pBe(e) {
+function mBe(e) {
Object.keys(e).forEach((t) => {
let n = e[t];
- if (n(void 0, { type: IX.INIT }) === void 0) throw Error(NX(12));
- if (n(void 0, { type: IX.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(NX(13));
+ if (n(void 0, { type: LX.INIT }) === void 0) throw Error(PX(12));
+ if (n(void 0, { type: LX.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(PX(13));
});
}
-function zX(e) {
+function BX(e) {
let t = Object.keys(e), n = {};
for (let r = 0; r < t.length; r++) {
let i = t[r];
@@ -79507,7 +79520,7 @@ function zX(e) {
}
let r = Object.keys(n), i;
try {
- pBe(n);
+ mBe(n);
} catch (e) {
i = e;
}
@@ -79516,52 +79529,52 @@ function zX(e) {
let a = !1, o = {};
for (let i = 0; i < r.length; i++) {
let s = r[i], c = n[s], l = e[s], u = c(l, t);
- if (u === void 0) throw t && t.type, Error(NX(14));
+ if (u === void 0) throw t && t.type, Error(PX(14));
o[s] = u, a ||= u !== l;
}
return a ||= r.length !== Object.keys(e).length, a ? o : e;
};
}
-function BX(...e) {
+function VX(...e) {
return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));
}
-function mBe(...e) {
+function hBe(...e) {
return (t) => (n, r) => {
let i = t(n, r), a = () => {
- throw Error(NX(15));
+ throw Error(PX(15));
}, o = {
getState: i.getState,
dispatch: (e, ...t) => a(e, ...t)
};
- return a = BX(...e.map((e) => e(o)))(i.dispatch), {
+ return a = VX(...e.map((e) => e(o)))(i.dispatch), {
...i,
dispatch: a
};
};
}
-function VX(e) {
- return LX(e) && "type" in e && typeof e.type == "string";
+function HX(e) {
+ return RX(e) && "type" in e && typeof e.type == "string";
}
//#endregion
//#region node_modules/immer/dist/immer.mjs
-var HX = Symbol.for("immer-nothing"), hBe = Symbol.for("immer-draftable"), UX = Symbol.for("immer-state");
+var gBe = Symbol.for("immer-nothing"), _Be = Symbol.for("immer-draftable"), UX = Symbol.for("immer-state");
function WX(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
var GX = Object, KX = GX.getPrototypeOf, qX = "constructor", JX = "prototype", YX = "configurable", XX = "enumerable", ZX = "writable", QX = "value", $X = (e) => !!e && !!e[UX];
function eZ(e) {
- return e ? vBe(e) || oZ(e) || !!e[hBe] || !!e[qX]?.[hBe] || sZ(e) || cZ(e) : !1;
+ return e ? bBe(e) || oZ(e) || !!e[_Be] || !!e[qX]?.[_Be] || sZ(e) || cZ(e) : !1;
}
-var gBe = GX[JX][qX].toString(), _Be = /* @__PURE__ */ new WeakMap();
-function vBe(e) {
+var vBe = GX[JX][qX].toString(), yBe = /* @__PURE__ */ new WeakMap();
+function bBe(e) {
if (!e || !lZ(e)) return !1;
let t = KX(e);
if (t === null || t === GX[JX]) return !0;
let n = GX.hasOwnProperty.call(t, qX) && t[qX];
if (n === Object) return !0;
if (!uZ(n)) return !1;
- let r = _Be.get(n);
- return r === void 0 && (r = Function.toString.call(n), _Be.set(n, r)), r === gBe;
+ let r = yBe.get(n);
+ return r === void 0 && (r = Function.toString.call(n), yBe.set(n, r)), r === vBe;
}
function tZ(e, t, n = !0) {
nZ(e) === 0 ? (n ? Reflect.ownKeys(e) : GX.keys(e)).forEach((n) => {
@@ -79575,11 +79588,11 @@ function nZ(e) {
var rZ = (e, t, n = nZ(e)) => n === 2 ? e.has(t) : GX[JX].hasOwnProperty.call(e, t), iZ = (e, t, n = nZ(e)) => n === 2 ? e.get(t) : e[t], aZ = (e, t, n, r = nZ(e)) => {
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
};
-function yBe(e, t) {
+function xBe(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
var oZ = Array.isArray, sZ = (e) => e instanceof Map, cZ = (e) => e instanceof Set, lZ = (e) => typeof e == "object", uZ = (e) => typeof e == "function", dZ = (e) => typeof e == "boolean";
-function bBe(e) {
+function SBe(e) {
let t = +e;
return Number.isInteger(t) && String(t) === e;
}
@@ -79588,7 +79601,7 @@ function mZ(e, t) {
if (sZ(e)) return new Map(e);
if (cZ(e)) return new Set(e);
if (oZ(e)) return Array[JX].slice.call(e);
- let n = vBe(e);
+ let n = bBe(e);
if (t === !0 || t === "class_only" && !n) {
let t = GX.getOwnPropertyDescriptors(e);
delete t[UX];
@@ -79621,19 +79634,19 @@ function hZ(e, t = !1) {
hZ(t, !0);
}, !1)), e;
}
-function xBe() {
+function CBe() {
WX(2);
}
-var gZ = { [QX]: xBe };
+var gZ = { [QX]: CBe };
function _Z(e) {
return e === null || !lZ(e) || GX.isFrozen(e);
}
-var vZ = "MapSet", yZ = "Patches", SBe = "ArrayMethods", CBe = {};
+var vZ = "MapSet", yZ = "Patches", wBe = "ArrayMethods", TBe = {};
function bZ(e) {
- let t = CBe[e];
+ let t = TBe[e];
return t || WX(0, e), t;
}
-var wBe = (e) => !!CBe[e], xZ, TBe = () => xZ, EBe = (e, t) => ({
+var EBe = (e) => !!TBe[e], xZ, DBe = () => xZ, OBe = (e, t) => ({
drafts_: [],
parent_: e,
immer_: t,
@@ -79641,34 +79654,34 @@ var wBe = (e) => !!CBe[e], xZ, TBe = () => xZ, EBe = (e, t) => ({
unfinalizedDrafts_: 0,
handledSet_: /* @__PURE__ */ new Set(),
processedForPatches_: /* @__PURE__ */ new Set(),
- mapSetPlugin_: wBe(vZ) ? bZ(vZ) : void 0,
- arrayMethodsPlugin_: wBe(SBe) ? bZ(SBe) : void 0
+ mapSetPlugin_: EBe(vZ) ? bZ(vZ) : void 0,
+ arrayMethodsPlugin_: EBe(wBe) ? bZ(wBe) : void 0
});
-function DBe(e, t) {
+function kBe(e, t) {
t && (e.patchPlugin_ = bZ(yZ), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
function SZ(e) {
- CZ(e), e.drafts_.forEach(kBe), e.drafts_ = null;
+ CZ(e), e.drafts_.forEach(jBe), e.drafts_ = null;
}
function CZ(e) {
e === xZ && (xZ = e.parent_);
}
-var OBe = (e) => xZ = EBe(xZ, e);
-function kBe(e) {
+var ABe = (e) => xZ = OBe(xZ, e);
+function jBe(e) {
let t = e[UX];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function ABe(e, t) {
+function MBe(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
if (e !== void 0 && e !== n) {
- n[UX].modified_ && (SZ(t), WX(4)), eZ(e) && (e = jBe(t, e));
+ n[UX].modified_ && (SZ(t), WX(4)), eZ(e) && (e = NBe(t, e));
let { patchPlugin_: r } = t;
r && r.generateReplacementPatches_(n[UX].base_, e, t);
- } else e = jBe(t, n);
- return MBe(t, e, !0), SZ(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === HX ? void 0 : e;
+ } else e = NBe(t, n);
+ return PBe(t, e, !0), SZ(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === gBe ? void 0 : e;
}
-function jBe(e, t) {
+function NBe(e, t) {
if (_Z(t)) return t;
let n = t[UX];
if (!n) return TZ(t, e.handledSet_, e);
@@ -79677,18 +79690,18 @@ function jBe(e, t) {
if (!n.finalized_) {
let { callbacks_: t } = n;
if (t) for (; t.length > 0;) t.pop()(e);
- LBe(n, e);
+ zBe(n, e);
}
return n.copy_;
}
-function MBe(e, t, n = !1) {
+function PBe(e, t, n = !1) {
!e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && hZ(t, n);
}
-function NBe(e) {
+function FBe(e) {
e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
}
-var wZ = (e, t) => e.scope_ === t, PBe = [];
-function FBe(e, t, n, r) {
+var wZ = (e, t) => e.scope_ === t, IBe = [];
+function LBe(e, t, n, r) {
let i = fZ(e), a = e.type_;
if (r !== void 0 && iZ(i, r, a) === t) {
aZ(i, r, n, a);
@@ -79703,34 +79716,34 @@ function FBe(e, t, n, r) {
}
});
}
- let o = e.draftLocations_.get(t) ?? PBe;
+ let o = e.draftLocations_.get(t) ?? IBe;
for (let e of o) aZ(i, e, n, a);
}
-function IBe(e, t, n) {
+function RBe(e, t, n) {
e.callbacks_.push(function(r) {
let i = t;
if (!i || !wZ(i, r)) return;
r.mapSetPlugin_?.fixSetContents(i);
let a = pZ(i);
- FBe(e, i.draft_ ?? i, a, n), LBe(i, r);
+ LBe(e, i.draft_ ?? i, a, n), zBe(i, r);
});
}
-function LBe(e, t) {
+function zBe(e, t) {
if (e.modified_ && !e.finalized_ && (e.type_ === 3 || e.type_ === 1 && e.allIndicesReassigned_ || (e.assigned_?.size ?? 0) > 0)) {
let { patchPlugin_: n } = t;
if (n) {
let r = n.getPath(e);
r && n.generatePatches_(e, r, t);
}
- NBe(e);
+ FBe(e);
}
}
-function RBe(e, t, n) {
+function BBe(e, t, n) {
let { scope_: r } = e;
if ($X(n)) {
let i = n[UX];
wZ(i, r) && i.callbacks_.push(function() {
- AZ(e), FBe(e, n, pZ(i), t);
+ AZ(e), LBe(e, n, pZ(i), t);
});
} else eZ(n) && e.callbacks_.push(function() {
let i = fZ(e);
@@ -79741,14 +79754,14 @@ function TZ(e, t, n) {
return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || $X(e) || t.has(e) || !eZ(e) || _Z(e) || (t.add(e), tZ(e, (r, i) => {
if ($X(i)) {
let t = i[UX];
- wZ(t, n) && (aZ(e, r, pZ(t), e.type_), NBe(t));
+ wZ(t, n) && (aZ(e, r, pZ(t), e.type_), FBe(t));
} else eZ(i) && TZ(i, t, n);
})), e;
}
-function zBe(e, t) {
+function VBe(e, t) {
let n = oZ(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : TBe(),
+ scope_: t ? t.scope_ : DBe(),
modified_: !1,
finalized_: !1,
assigned_: void 0,
@@ -79770,10 +79783,10 @@ var EZ = {
let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";
if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);
let i = fZ(e);
- if (!rZ(i, t, e.type_)) return VBe(e, i, t);
+ if (!rZ(i, t, e.type_)) return UBe(e, i, t);
let a = i[t];
- if (e.finalized_ || !eZ(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && bBe(t)) return a;
- if (a === OZ(e.base_, t) || BBe(e, t, a)) {
+ if (e.finalized_ || !eZ(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && SBe(t)) return a;
+ if (a === OZ(e.base_, t) || HBe(e, t, a)) {
AZ(e);
let n = e.type_ === 1 ? +t : t, r = jZ(e.scope_, a, e, n);
return e.copy_[n] = r;
@@ -79787,15 +79800,15 @@ var EZ = {
return Reflect.ownKeys(fZ(e));
},
set(e, t, n) {
- let r = HBe(fZ(e), t);
+ let r = WBe(fZ(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
let r = OZ(fZ(e), t), i = r?.[UX];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.delete(t), !0;
- if (yBe(n, r) && (n !== void 0 || rZ(e.base_, t, e.type_))) return !0;
+ if (xBe(n, r) && (n !== void 0 || rZ(e.base_, t, e.type_))) return !0;
AZ(e), kZ(e);
}
- return e.copy_[t] === n && (n !== void 0 || rZ(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_.set(t, !0), RBe(e, t, n)), !0;
+ return e.copy_[t] === n && (n !== void 0 || rZ(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_.set(t, !0), BBe(e, t, n)), !0;
},
deleteProperty(e, t) {
return AZ(e), OZ(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), kZ(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
@@ -79835,14 +79848,14 @@ function OZ(e, t) {
let n = e[UX];
return (n ? fZ(n) : e)[t];
}
-function BBe(e, t, n) {
+function HBe(e, t, n) {
return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !eZ(n) || n[UX] ? !1 : e.baseRefs_.has(n);
}
-function VBe(e, t, n) {
- let r = HBe(t, n);
+function UBe(e, t, n) {
+ let r = WBe(t, n);
return r ? QX in r ? r[QX] : r.get?.call(e.draft_) : void 0;
}
-function HBe(e, t) {
+function WBe(e, t) {
if (!(t in e)) return;
let n = KX(e);
for (; n;) {
@@ -79857,7 +79870,7 @@ function kZ(e) {
function AZ(e) {
e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), mZ(e.base_, e.scope_.immer_.useStrictShallowCopy_));
}
-var UBe = class {
+var GBe = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
if (uZ(e) && !uZ(t)) {
@@ -79871,16 +79884,16 @@ var UBe = class {
uZ(t) || WX(6), n !== void 0 && !uZ(n) && WX(7);
let r;
if (eZ(e)) {
- let i = OBe(this), a = jZ(i, e, void 0), o = !0;
+ let i = ABe(this), a = jZ(i, e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
o ? SZ(i) : CZ(i);
}
- return DBe(i, n), ABe(r, i);
+ return kBe(i, n), MBe(r, i);
}
if (!e || !lZ(e)) {
- if (r = t(e), r === void 0 && (r = e), r === HX && (r = void 0), this.autoFreeze_ && hZ(r, !0), n) {
+ if (r = t(e), r === void 0 && (r = e), r === gBe && (r = void 0), this.autoFreeze_ && hZ(r, !0), n) {
let t = [], i = [];
bZ(yZ).generateReplacementPatches_(e, r, {
patches_: t,
@@ -79904,14 +79917,14 @@ var UBe = class {
}
createDraft(e) {
eZ(e) || WX(8), $X(e) && (e = MZ(e));
- let t = OBe(this), n = jZ(t, e, void 0);
+ let t = ABe(this), n = jZ(t, e, void 0);
return n[UX].isManual_ = !0, CZ(t), n;
}
finishDraft(e, t) {
let n = e && e[UX];
(!n || !n.isManual_) && WX(9);
let { scope_: r } = n;
- return DBe(r, t), ABe(void 0, r);
+ return kBe(r, t), MBe(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -79940,17 +79953,17 @@ var UBe = class {
}
};
function jZ(e, t, n, r) {
- let [i, a] = sZ(t) ? bZ(vZ).proxyMap_(t, n) : cZ(t) ? bZ(vZ).proxySet_(t, n) : zBe(t, n);
- return (n?.scope_ ?? TBe()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? IBe(n, a, r) : a.callbacks_.push(function(e) {
+ let [i, a] = sZ(t) ? bZ(vZ).proxyMap_(t, n) : cZ(t) ? bZ(vZ).proxySet_(t, n) : VBe(t, n);
+ return (n?.scope_ ?? DBe()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? RBe(n, a, r) : a.callbacks_.push(function(e) {
e.mapSetPlugin_?.fixSetContents(a);
let { patchPlugin_: t } = e;
a.modified_ && t && t.generatePatches_(a, [], e);
}), i;
}
function MZ(e) {
- return $X(e) || WX(10, e), WBe(e);
+ return $X(e) || WX(10, e), KBe(e);
}
-function WBe(e) {
+function KBe(e) {
if (!eZ(e) || _Z(e)) return e;
let t = e[UX], n, r = !0;
if (t) {
@@ -79958,18 +79971,18 @@ function WBe(e) {
t.finalized_ = !0, n = mZ(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
} else n = mZ(e, !0);
return tZ(n, (e, t) => {
- aZ(n, e, WBe(t));
+ aZ(n, e, KBe(t));
}, r), t && (t.finalized_ = !1), n;
}
globalThis.Iterator?.from;
-var GBe = new UBe().produce, NZ = (e) => e;
+var qBe = new GBe().produce, NZ = (e) => e;
//#endregion
//#region node_modules/redux-thunk/dist/redux-thunk.mjs
-function KBe(e) {
+function JBe(e) {
return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);
}
-var qBe = KBe(), JBe = KBe, YBe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
- if (arguments.length !== 0) return typeof arguments[0] == "object" ? BX : BX.apply(null, arguments);
+var YBe = JBe(), XBe = JBe, ZBe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
+ if (arguments.length !== 0) return typeof arguments[0] == "object" ? VX : VX.apply(null, arguments);
};
typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;
function PZ(e, t) {
@@ -79989,9 +80002,9 @@ function PZ(e, t) {
payload: n[0]
};
}
- return n.toString = () => `${e}`, n.type = e, n.match = (t) => VX(t) && t.type === e, n;
+ return n.toString = () => `${e}`, n.type = e, n.match = (t) => HX(t) && t.type === e, n;
}
-var XBe = class e extends Array {
+var QBe = class e extends Array {
constructor(...t) {
super(...t), Object.setPrototypeOf(this, e.prototype);
}
@@ -80005,29 +80018,29 @@ var XBe = class e extends Array {
return t.length === 1 && Array.isArray(t[0]) ? new e(...t[0].concat(this)) : new e(...t.concat(this));
}
};
-function ZBe(e) {
- return eZ(e) ? GBe(e, () => {}) : e;
+function $Be(e) {
+ return eZ(e) ? qBe(e, () => {}) : e;
}
function FZ(e, t, n) {
return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);
}
-function QBe(e) {
+function eVe(e) {
return typeof e == "boolean";
}
-var $Be = () => function(e) {
- let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new XBe();
- return t && (QBe(t) ? a.push(qBe) : a.push(JBe(t.extraArgument))), a;
-}, eVe = "RTK_autoBatch", IZ = () => (e) => ({
+var tVe = () => function(e) {
+ let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new QBe();
+ return t && (eVe(t) ? a.push(YBe) : a.push(XBe(t.extraArgument))), a;
+}, nVe = "RTK_autoBatch", IZ = () => (e) => ({
payload: e,
- meta: { [eVe]: !0 }
-}), tVe = (e) => (t) => {
+ meta: { [nVe]: !0 }
+}), rVe = (e) => (t) => {
setTimeout(t, e);
-}, nVe = (e, t) => (n) => {
+}, iVe = (e, t) => (n) => {
let r = !1, i = () => {
r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());
}, a = e(i), o = setTimeout(i, t);
-}, rVe = (e = { type: "raf" }) => (t) => (...n) => {
- let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? nVe(window.requestAnimationFrame, 100) : tVe(10) : e.type === "callback" ? e.queueNotification : tVe(e.timeout), l = () => {
+}, aVe = (e = { type: "raf" }) => (t) => (...n) => {
+ let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? iVe(window.requestAnimationFrame, 100) : rVe(10) : e.type === "callback" ? e.queueNotification : rVe(e.timeout), l = () => {
o = !1, a && (a = !1, s.forEach((e) => e()));
};
return Object.assign({}, r, {
@@ -80039,32 +80052,32 @@ var $Be = () => function(e) {
},
dispatch(e) {
try {
- return i = !e?.meta?.[eVe], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
+ return i = !e?.meta?.[nVe], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
} finally {
i = !0;
}
}
});
-}, iVe = (e) => function(t) {
- let { autoBatch: n = !0 } = t ?? {}, r = new XBe(e);
- return n && r.push(rVe(typeof n == "object" ? n : void 0)), r;
+}, oVe = (e) => function(t) {
+ let { autoBatch: n = !0 } = t ?? {}, r = new QBe(e);
+ return n && r.push(aVe(typeof n == "object" ? n : void 0)), r;
};
-function aVe(e) {
- let t = $Be(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
+function sVe(e) {
+ let t = tVe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
if (typeof n == "function") c = n;
- else if (LX(n)) c = zX(n);
+ else if (RX(n)) c = BX(n);
else throw Error(XZ(1));
let l;
l = typeof r == "function" ? r(t) : t();
- let u = BX;
- i && (u = YBe({
+ let u = VX;
+ i && (u = ZBe({
trace: !1,
...typeof i == "object" && i
}));
- let d = iVe(mBe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
- return RX(c, o, p);
+ let d = oVe(hBe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
+ return zX(c, o, p);
}
-function oVe(e) {
+function cVe(e) {
let t = {}, n = [], r, i = {
addCase(e, n) {
let r = typeof e == "string" ? e : e.type;
@@ -80094,14 +80107,14 @@ function oVe(e) {
r
];
}
-function sVe(e) {
+function lVe(e) {
return typeof e == "function";
}
-function cVe(e, t) {
- let [n, r, i] = oVe(t), a;
- if (sVe(e)) a = () => ZBe(e());
+function uVe(e, t) {
+ let [n, r, i] = cVe(t), a;
+ if (lVe(e)) a = () => $Be(e());
else {
- let t = ZBe(e);
+ let t = $Be(e);
a = () => t;
}
function o(e = a(), t) {
@@ -80112,7 +80125,7 @@ function cVe(e, t) {
let r = n(e, t);
return r === void 0 ? e : r;
}
- if (eZ(e)) return GBe(e, (e) => n(e, t));
+ if (eZ(e)) return qBe(e, (e) => n(e, t));
{
let r = n(e, t);
if (r === void 0) {
@@ -80127,20 +80140,20 @@ function cVe(e, t) {
}
return o.getInitialState = a, o;
}
-var lVe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", uVe = (e = 21) => {
+var dVe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", fVe = (e = 21) => {
let t = "", n = e;
- for (; n--;) t += lVe[Math.random() * 64 | 0];
+ for (; n--;) t += dVe[Math.random() * 64 | 0];
return t;
-}, dVe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
-function fVe(e, t) {
+}, pVe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
+function mVe(e, t) {
return `${e}/${t}`;
}
-function pVe({ creators: e } = {}) {
- let t = e?.asyncThunk?.[dVe];
+function hVe({ creators: e } = {}) {
+ let t = e?.asyncThunk?.[pVe];
return function(e) {
let { name: n, reducerPath: r = n } = e;
if (!n) throw Error(XZ(11));
- let i = (typeof e.reducers == "function" ? e.reducers(hVe()) : e.reducers) || {}, a = Object.keys(i), o = {
+ let i = (typeof e.reducers == "function" ? e.reducers(_Ve()) : e.reducers) || {}, a = Object.keys(i), o = {
sliceCaseReducersByName: {},
sliceCaseReducersByType: {},
actionCreators: {},
@@ -80168,17 +80181,17 @@ function pVe({ creators: e } = {}) {
a.forEach((r) => {
let a = i[r], o = {
reducerName: r,
- type: fVe(n, r),
+ type: mVe(n, r),
createNotation: typeof e.reducers == "function"
};
- _Ve(a) ? yVe(o, a, s, t) : gVe(o, a, s);
+ yVe(a) ? xVe(o, a, s, t) : vVe(o, a, s);
});
function c() {
- let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? oVe(e.extraReducers) : [e.extraReducers], i = {
+ let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? cVe(e.extraReducers) : [e.extraReducers], i = {
...t,
...o.sliceCaseReducersByType
};
- return cVe(e.initialState, (e) => {
+ return uVe(e.initialState, (e) => {
for (let t in i) e.addCase(t, i[t]);
for (let t of o.sliceMatchers) e.addMatcher(t.matcher, t.reducer);
for (let t of n) e.addMatcher(t.matcher, t.reducer);
@@ -80200,7 +80213,7 @@ function pVe({ creators: e } = {}) {
function i(t = l) {
return FZ(FZ(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
let r = {};
- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = mVe(a, t, () => FZ(d, t, m), n);
+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = gVe(a, t, () => FZ(d, t, m), n);
return r;
});
}
@@ -80234,15 +80247,15 @@ function pVe({ creators: e } = {}) {
return g;
};
}
-function mVe(e, t, n, r) {
+function gVe(e, t, n, r) {
function i(i, ...a) {
let o = t(i);
return o === void 0 && r && (o = n()), e(o, ...a);
}
return i.unwrapped = e, i;
}
-var LZ = /* @__PURE__ */ pVe();
-function hVe() {
+var LZ = /* @__PURE__ */ hVe();
+function _Ve() {
function e(e, t) {
return {
_reducerDefinitionType: "asyncThunk",
@@ -80266,21 +80279,21 @@ function hVe() {
asyncThunk: e
};
}
-function gVe({ type: e, reducerName: t, createNotation: n }, r, i) {
+function vVe({ type: e, reducerName: t, createNotation: n }, r, i) {
let a, o;
if ("reducer" in r) {
- if (n && !vVe(r)) throw Error(XZ(17));
+ if (n && !bVe(r)) throw Error(XZ(17));
a = r.reducer, o = r.prepare;
} else a = r;
i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? PZ(e, o) : PZ(e));
}
-function _Ve(e) {
+function yVe(e) {
return e._reducerDefinitionType === "asyncThunk";
}
-function vVe(e) {
+function bVe(e) {
return e._reducerDefinitionType === "reducerWithPrepare";
}
-function yVe({ type: e, reducerName: t }, n, r, i) {
+function xVe({ type: e, reducerName: t }, n, r, i) {
if (!i) throw Error(XZ(18));
let { payloadCreator: a, fulfilled: o, pending: s, rejected: c, settled: l, options: u } = n, d = i(e, a, u);
r.exposeAction(t, d), o && r.addCase(d.fulfilled, o), s && r.addCase(d.pending, s), c && r.addCase(d.rejected, c), l && r.addMatcher(d.settled, l), r.exposeCaseReducer(t, {
@@ -80291,28 +80304,28 @@ function yVe({ type: e, reducerName: t }, n, r, i) {
});
}
function RZ() {}
-var bVe = "task", xVe = "listener", SVe = "completed", zZ = "cancelled", CVe = `task-${zZ}`, wVe = `task-${SVe}`, BZ = `${xVe}-${zZ}`, TVe = `${xVe}-${SVe}`, VZ = class {
+var SVe = "task", CVe = "listener", wVe = "completed", zZ = "cancelled", TVe = `task-${zZ}`, EVe = `task-${wVe}`, BZ = `${CVe}-${zZ}`, DVe = `${CVe}-${wVe}`, VZ = class {
constructor(e) {
- this.code = e, this.message = `${bVe} ${zZ} (reason: ${e})`;
+ this.code = e, this.message = `${SVe} ${zZ} (reason: ${e})`;
}
code;
name = "TaskAbortError";
message;
}, HZ = (e, t) => {
if (typeof e != "function") throw TypeError(XZ(32));
-}, UZ = () => {}, EVe = (e, t = UZ) => (e.catch(t), e), DVe = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), WZ = (e) => {
+}, UZ = () => {}, OVe = (e, t = UZ) => (e.catch(t), e), kVe = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), WZ = (e) => {
if (e.aborted) throw new VZ(e.reason);
};
-function OVe(e, t) {
+function AVe(e, t) {
let n = UZ;
return new Promise((r, i) => {
let a = () => i(new VZ(e.reason));
- e.aborted ? a() : (n = DVe(e, a), t.finally(() => n()).then(r, i));
+ e.aborted ? a() : (n = kVe(e, a), t.finally(() => n()).then(r, i));
}).finally(() => {
n = UZ;
});
}
-var kVe = async (e, t) => {
+var jVe = async (e, t) => {
try {
return await Promise.resolve(), {
status: "ok",
@@ -80326,32 +80339,32 @@ var kVe = async (e, t) => {
} finally {
t?.();
}
-}, GZ = (e) => (t) => EVe(OVe(e, t).then((t) => (WZ(e), t))), AVe = (e) => {
+}, GZ = (e) => (t) => OVe(AVe(e, t).then((t) => (WZ(e), t))), MVe = (e) => {
let t = GZ(e);
return (e) => t(new Promise((t) => setTimeout(t, e)));
-}, { assign: KZ } = Object, jVe = {}, qZ = "listenerMiddleware", MVe = (e, t) => {
- let n = (t) => DVe(e, () => t.abort(e.reason));
+}, { assign: KZ } = Object, NVe = {}, qZ = "listenerMiddleware", PVe = (e, t) => {
+ let n = (t) => kVe(e, () => t.abort(e.reason));
return (r, i) => {
HZ(r, "taskExecutor");
let a = new AbortController();
n(a);
- let o = kVe(async () => {
+ let o = jVe(async () => {
WZ(e), WZ(a.signal);
let t = await r({
pause: GZ(a.signal),
- delay: AVe(a.signal),
+ delay: MVe(a.signal),
signal: a.signal
});
return WZ(a.signal), t;
- }, () => a.abort(wVe));
+ }, () => a.abort(EVe));
return i?.autoJoin && t.push(o.catch(UZ)), {
result: GZ(e)(o),
cancel() {
- a.abort(CVe);
+ a.abort(TVe);
}
};
};
-}, NVe = (e, t) => {
+}, FVe = (e, t) => {
let n = async (n, r) => {
WZ(t);
let i = () => {}, a = [new Promise((t, r) => {
@@ -80371,14 +80384,14 @@ var kVe = async (e, t) => {
})];
r != null && a.push(new Promise((e) => setTimeout(e, r, null)));
try {
- let e = await OVe(t, Promise.race(a));
+ let e = await AVe(t, Promise.race(a));
return WZ(t), e;
} finally {
i();
}
};
- return ((e, t) => EVe(n(e, t)));
-}, PVe = (e) => {
+ return ((e, t) => OVe(n(e, t)));
+}, IVe = (e) => {
let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;
if (t) i = PZ(t).match;
else if (n) t = n.type, i = n.match;
@@ -80389,10 +80402,10 @@ var kVe = async (e, t) => {
type: t,
effect: a
};
-}, FVe = /* @__PURE__ */ KZ((e) => {
- let { type: t, predicate: n, effect: r } = PVe(e);
+}, LVe = /* @__PURE__ */ KZ((e) => {
+ let { type: t, predicate: n, effect: r } = IVe(e);
return {
- id: uVe(),
+ id: fVe(),
effect: r,
type: t,
predicate: n,
@@ -80401,17 +80414,17 @@ var kVe = async (e, t) => {
throw Error(XZ(22));
}
};
-}, { withTypes: () => FVe }), IVe = (e, t) => {
- let { type: n, effect: r, predicate: i } = PVe(t);
+}, { withTypes: () => LVe }), RVe = (e, t) => {
+ let { type: n, effect: r, predicate: i } = IVe(t);
return Array.from(e.values()).find((e) => (typeof n == "string" ? e.type === n : e.predicate === i) && e.effect === r);
}, JZ = (e) => {
e.pending.forEach((e) => {
e.abort(BZ);
});
-}, LVe = (e, t) => () => {
+}, zVe = (e, t) => () => {
for (let e of t.keys()) JZ(e);
e.clear();
-}, RVe = (e, t, n) => {
+}, BVe = (e, t, n) => {
try {
e(t, n);
} catch (e) {
@@ -80419,7 +80432,7 @@ var kVe = async (e, t) => {
throw e;
}, 0);
}
-}, zVe = /* @__PURE__ */ KZ(/* @__PURE__ */ PZ(`${qZ}/add`), { withTypes: () => zVe }), BVe = /* @__PURE__ */ PZ(`${qZ}/removeAll`), VVe = /* @__PURE__ */ KZ(/* @__PURE__ */ PZ(`${qZ}/remove`), { withTypes: () => VVe }), HVe = (...e) => {
+}, VVe = /* @__PURE__ */ KZ(/* @__PURE__ */ PZ(`${qZ}/add`), { withTypes: () => VVe }), HVe = /* @__PURE__ */ PZ(`${qZ}/removeAll`), UVe = /* @__PURE__ */ KZ(/* @__PURE__ */ PZ(`${qZ}/remove`), { withTypes: () => UVe }), WVe = (...e) => {
console.error(`${qZ}/error`, ...e);
}, YZ = (e = {}) => {
let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = (e) => {
@@ -80428,32 +80441,32 @@ var kVe = async (e, t) => {
}, i = (e) => {
let t = n.get(e) ?? 1;
t === 1 ? n.delete(e) : n.set(e, t - 1);
- }, { extra: a, onError: o = HVe } = e;
+ }, { extra: a, onError: o = WVe } = e;
HZ(o, "onError");
let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {
e.unsubscribe(), t?.cancelActive && JZ(e);
}), c = ((e) => {
- let n = IVe(t, e) ?? FVe(e);
+ let n = RVe(t, e) ?? LVe(e);
return s(n);
});
KZ(c, { withTypes: () => c });
let l = (e) => {
- let n = IVe(t, e);
+ let n = RVe(t, e);
return n && (n.unsubscribe(), e.cancelActive && JZ(n)), !!n;
};
KZ(l, { withTypes: () => l });
let u = async (e, n, s, l) => {
- let u = new AbortController(), d = NVe(c, u.signal), f = [];
+ let u = new AbortController(), d = FVe(c, u.signal), f = [];
try {
e.pending.add(u), r(e), await Promise.resolve(e.effect(n, KZ({}, s, {
getOriginalState: l,
condition: (e, t) => d(e, t).then(Boolean),
take: d,
- delay: AVe(u.signal),
+ delay: MVe(u.signal),
pause: GZ(u.signal),
extra: a,
signal: u.signal,
- fork: MVe(u.signal, f),
+ fork: PVe(u.signal, f),
unsubscribe: e.unsubscribe,
subscribe: () => {
t.set(e.id, e);
@@ -80471,22 +80484,22 @@ var kVe = async (e, t) => {
}
})));
} catch (e) {
- e instanceof VZ || RVe(o, e, { raisedBy: "effect" });
+ e instanceof VZ || BVe(o, e, { raisedBy: "effect" });
} finally {
- await Promise.all(f), u.abort(TVe), i(e), e.pending.delete(u);
+ await Promise.all(f), u.abort(DVe), i(e), e.pending.delete(u);
}
- }, d = LVe(t, n);
+ }, d = zVe(t, n);
return {
middleware: (e) => (n) => (r) => {
- if (!VX(r)) return n(r);
- if (zVe.match(r)) return c(r.payload);
- if (BVe.match(r)) {
+ if (!HX(r)) return n(r);
+ if (VVe.match(r)) return c(r.payload);
+ if (HVe.match(r)) {
d();
return;
}
- if (VVe.match(r)) return l(r.payload);
+ if (UVe.match(r)) return l(r.payload);
let i = e.getState(), a = () => {
- if (i === jVe) throw Error(XZ(23));
+ if (i === NVe) throw Error(XZ(23));
return i;
}, s;
try {
@@ -80497,13 +80510,13 @@ var kVe = async (e, t) => {
try {
s = t.predicate(r, n, i);
} catch (e) {
- s = !1, RVe(o, e, { raisedBy: "predicate" });
+ s = !1, BVe(o, e, { raisedBy: "predicate" });
}
s && u(t, r, e, a);
}
}
} finally {
- i = jVe;
+ i = NVe;
}
return s;
},
@@ -80517,7 +80530,7 @@ function XZ(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/layoutSlice.js
-var UVe = LZ({
+var GVe = LZ({
name: "chartLayout",
initialState: {
layoutType: "horizontal",
@@ -80545,10 +80558,10 @@ var UVe = LZ({
e.scale = t.payload;
}
}
-}), ZZ = UVe.actions, WVe = ZZ.setMargin, GVe = ZZ.setLayout, KVe = ZZ.setChartSize, qVe = ZZ.setScale, JVe = UVe.reducer;
+}), ZZ = GVe.actions, KVe = ZZ.setMargin, qVe = ZZ.setLayout, JVe = ZZ.setChartSize, YVe = ZZ.setScale, XVe = GVe.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getSliced.js
-function YVe(e, t, n) {
+function ZVe(e, t, n) {
return Array.isArray(e) && e && t + n !== 0 ? e.slice(t, n + 1) : e;
}
//#endregion
@@ -80561,7 +80574,7 @@ function $Z(e) {
}
//#endregion
//#region node_modules/recharts/es6/util/ChartUtils.js
-function XVe(e, t) {
+function QVe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -80574,27 +80587,27 @@ function XVe(e, t) {
function eQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? XVe(Object(n), !0).forEach(function(t) {
- ZVe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : XVe(Object(n)).forEach(function(t) {
+ t % 2 ? QVe(Object(n), !0).forEach(function(t) {
+ $Ve(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : QVe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ZVe(e, t, n) {
- return (t = QVe(t)) in e ? Object.defineProperty(e, t, {
+function $Ve(e, t, n) {
+ return (t = eHe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function QVe(e) {
- var t = $Ve(e, "string");
+function eHe(e) {
+ var t = tHe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function $Ve(e, t) {
+function tHe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -80605,34 +80618,34 @@ function $Ve(e, t) {
return (t === "string" ? String : Number)(e);
}
function tQ(e, t, n) {
- return pJ(e) || pJ(t) ? n : sJ(t) ? eJ(e, t, n) : typeof t == "function" ? t(e) : n;
+ return mJ(e) || mJ(t) ? n : cJ(t) ? tJ(e, t, n) : typeof t == "function" ? t(e) : n;
}
-var eHe = (e, t, n) => {
+var nHe = (e, t, n) => {
if (t && n) {
var r = n.width, i = n.height, a = t.align, o = t.verticalAlign, s = t.layout, c = t.position, l = t.offset, u = l === void 0 ? 0 : l;
if (c != null) {
- if (xJ(c)) {
- if (c === "top" && oJ(e.top)) return eQ(eQ({}, e), {}, { top: e.top + (i || 0) + u });
- if (c === "bottom" && oJ(e.bottom)) return eQ(eQ({}, e), {}, { bottom: e.bottom + (i || 0) + u });
- if (c === "left" && oJ(e.left)) return eQ(eQ({}, e), {}, { left: e.left + (r || 0) + u });
- if (c === "right" && oJ(e.right)) return eQ(eQ({}, e), {}, { right: e.right + (r || 0) + u });
+ if (SJ(c)) {
+ if (c === "top" && sJ(e.top)) return eQ(eQ({}, e), {}, { top: e.top + (i || 0) + u });
+ if (c === "bottom" && sJ(e.bottom)) return eQ(eQ({}, e), {}, { bottom: e.bottom + (i || 0) + u });
+ if (c === "left" && sJ(e.left)) return eQ(eQ({}, e), {}, { left: e.left + (r || 0) + u });
+ if (c === "right" && sJ(e.right)) return eQ(eQ({}, e), {}, { right: e.right + (r || 0) + u });
}
return e;
}
- if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && oJ(e[a])) return eQ(eQ({}, e), {}, { [a]: e[a] + (r || 0) });
- if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && oJ(e[o])) return eQ(eQ({}, e), {}, { [o]: e[o] + (i || 0) });
+ if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && sJ(e[a])) return eQ(eQ({}, e), {}, { [a]: e[a] + (r || 0) });
+ if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && sJ(e[o])) return eQ(eQ({}, e), {}, { [o]: e[o] + (i || 0) });
}
return e;
-}, nQ = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", tHe = (e, t, n, r) => {
+}, nQ = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", rHe = (e, t, n, r) => {
if (r) return e.map((e) => e.coordinate);
var i, a, o = e.map((e) => (e.coordinate === t && (i = !0), e.coordinate === n && (a = !0), e.coordinate));
return i || o.push(t), a || o.push(n), o;
-}, nHe = (e, t, n) => {
+}, iHe = (e, t, n) => {
if (!e) return null;
var r = e.duplicateDomain, i = e.type, a = e.range, o = e.scale, s = e.realScaleType, c = e.isCategorical, l = e.categoricalDomain, u = e.tickCount, d = e.ticks, f = e.niceTicks, p = e.axisType;
if (!o) return null;
var m = s === "scaleBand" && o.bandwidth ? o.bandwidth() / 2 : 2, h = (t || n) && i === "category" && o.bandwidth ? o.bandwidth() / m : 0;
- return h = p === "angleAxis" && a && a.length >= 2 ? rJ(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
+ return h = p === "angleAxis" && a && a.length >= 2 ? iJ(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
var n = r ? r.indexOf(e) : e, i = o.map(n);
return QZ(i) ? {
coordinate: i + h,
@@ -80640,7 +80653,7 @@ var eHe = (e, t, n) => {
offset: h,
index: t
} : null;
- }).filter(hJ) : c && l ? l.map((e, t) => {
+ }).filter(gJ) : c && l ? l.map((e, t) => {
var n = o.map(e);
return QZ(n) ? {
coordinate: n + h,
@@ -80648,7 +80661,7 @@ var eHe = (e, t, n) => {
index: t,
offset: h
} : null;
- }).filter(hJ) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
+ }).filter(gJ) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
var n = o.map(e);
return QZ(n) ? {
coordinate: n + h,
@@ -80656,7 +80669,7 @@ var eHe = (e, t, n) => {
index: t,
offset: h
} : null;
- }).filter(hJ) : o.domain().map((e, t) => {
+ }).filter(gJ) : o.domain().map((e, t) => {
var n = o.map(e);
return QZ(n) ? {
coordinate: n + h,
@@ -80664,12 +80677,12 @@ var eHe = (e, t, n) => {
index: t,
offset: h
} : null;
- }).filter(hJ);
-}, rHe = (e, t) => {
- if (!t || t.length !== 2 || !oJ(t[0]) || !oJ(t[1])) return e;
+ }).filter(gJ);
+}, aHe = (e, t) => {
+ if (!t || t.length !== 2 || !sJ(t[0]) || !sJ(t[1])) return e;
var n = Math.min(t[0], t[1]), r = Math.max(t[0], t[1]), i = [e[0], e[1]];
- return (!oJ(e[0]) || e[0] < n) && (i[0] = n), (!oJ(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;
-}, iHe = {
+ return (!sJ(e[0]) || e[0] < n) && (i[0] = n), (!sJ(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;
+}, oHe = {
sign: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -80677,16 +80690,16 @@ var eHe = (e, t, n) => {
if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0, o = 0; o < t; ++o) {
var s = e[o]?.[r];
if (s != null) {
- var c = s[1], l = s[0], u = iJ(c) ? l : c;
+ var c = s[1], l = s[0], u = aJ(c) ? l : c;
u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);
}
}
}
},
- expand: qRe,
- none: fY,
- silhouette: JRe,
- wiggle: YRe,
+ expand: JRe,
+ none: pY,
+ silhouette: YRe,
+ wiggle: XRe,
positive: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -80694,18 +80707,18 @@ var eHe = (e, t, n) => {
if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0; a < t; ++a) {
var o = e[a]?.[r];
if (o != null) {
- var s = iJ(o[1]) ? o[0] : o[1];
+ var s = aJ(o[1]) ? o[0] : o[1];
s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);
}
}
}
}
-}, aHe = (e, t, n) => {
- var r = iHe[n] ?? fY, i = KRe().keys(t).value((e, t) => Number(tQ(e, t, 0))).order(pY).offset(r)(e);
+}, sHe = (e, t, n) => {
+ var r = oHe[n] ?? pY, i = qRe().keys(t).value((e, t) => Number(tQ(e, t, 0))).order(mY).offset(r)(e);
return i.forEach((n, r) => {
n.forEach((n, i) => {
var a = tQ(e[i], t[r], 0);
- Array.isArray(a) && a.length === 2 && oJ(a[0]) && oJ(a[1]) && (n[0] = a[0], n[1] = a[1]);
+ Array.isArray(a) && a.length === 2 && sJ(a[0]) && sJ(a[1]) && (n[0] = a[0], n[1] = a[1]);
});
}), i;
};
@@ -80715,49 +80728,49 @@ function rQ(e) {
function iQ(e) {
var t = e.axis, n = e.ticks, r = e.bandSize, i = e.entry, a = e.index, o = e.dataKey;
if (t.type === "category") {
- if (!t.allowDuplicatedCategory && t.dataKey && !pJ(i[t.dataKey])) {
- var s = fJ(n, "value", i[t.dataKey]);
+ if (!t.allowDuplicatedCategory && t.dataKey && !mJ(i[t.dataKey])) {
+ var s = pJ(n, "value", i[t.dataKey]);
if (s) return s.coordinate + r / 2;
}
return n != null && n[a] ? n[a].coordinate + r / 2 : null;
}
- var c = tQ(i, pJ(o) ? t.dataKey : o), l = t.scale.map(c);
- return oJ(l) ? l : null;
+ var c = tQ(i, mJ(o) ? t.dataKey : o), l = t.scale.map(c);
+ return sJ(l) ? l : null;
}
var aQ = (e) => {
var t = e.axis, n = e.ticks, r = e.offset, i = e.bandSize, a = e.entry, o = e.index;
if (t.type === "category") return n[o] ? n[o].coordinate + r : null;
var s = tQ(a, t.dataKey, t.scale.domain()[o]);
- if (pJ(s)) return null;
+ if (mJ(s)) return null;
var c = t.scale.map(s);
- return oJ(c) ? c - i / 2 + r : null;
-}, oHe = (e) => {
+ return sJ(c) ? c - i / 2 + r : null;
+}, cHe = (e) => {
var t = e.numericAxis, n = t.scale.domain();
if (t.type === "number") {
var r = Math.min(n[0], n[1]), i = Math.max(n[0], n[1]);
return r <= 0 && i >= 0 ? 0 : i < 0 ? i : r;
}
return n[0];
-}, sHe = (e) => {
- var t = e.flat(2).filter(oJ);
+}, lHe = (e) => {
+ var t = e.flat(2).filter(sJ);
return [Math.min(...t), Math.max(...t)];
-}, cHe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], lHe = (e, t, n) => {
- if (e != null && Object.keys(e).length !== 0) return cHe(Object.keys(e).reduce((r, i) => {
+}, uHe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], dHe = (e, t, n) => {
+ if (e != null && Object.keys(e).length !== 0) return uHe(Object.keys(e).reduce((r, i) => {
var a = e[i];
if (!a) return r;
var o = a.stackedData.reduce((e, r) => {
- var i = sHe(YVe(r, t, n));
+ var i = lHe(ZVe(r, t, n));
return !QZ(i[0]) || !QZ(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
}, [Infinity, -Infinity]);
return [Math.min(o[0], r[0]), Math.max(o[1], r[1])];
}, [Infinity, -Infinity]));
-}, uHe = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, dHe = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, oQ = (e, t, n) => {
+}, fHe = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, pHe = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, oQ = (e, t, n) => {
if (e && e.scale && e.scale.bandwidth) {
var r = e.scale.bandwidth();
if (!n || r > 0) return r;
}
if (e && t && t.length >= 2) {
- for (var i = EX(t, (e) => e.coordinate), a = [], o = 0, s = 1, c = i.length; s < c; s++) {
+ for (var i = DX(t, (e) => e.coordinate), a = [], o = 0, s = 1, c = i.length; s < c; s++) {
var l = (i[s]?.coordinate || 0) - (i[s - 1]?.coordinate || 0);
a.push(l), o = Math.max(l, o);
}
@@ -80767,7 +80780,7 @@ var aQ = (e) => {
}
return n ? void 0 : 0;
};
-function fHe(e) {
+function mHe(e) {
var t = e.tooltipEntrySettings, n = e.dataKey, r = e.payload, i = e.value, a = e.name;
return eQ(eQ({}, t), {}, {
dataKey: n,
@@ -80780,13 +80793,13 @@ function sQ(e, t) {
if (e != null) return String(e);
if (typeof t == "string") return t;
}
-var pHe = (e, t) => {
+var hHe = (e, t) => {
if (t === "horizontal") return e.relativeX;
if (t === "vertical") return e.relativeY;
-}, mHe = (e, t) => t === "centric" ? e.angle : e.radius, cQ = (e) => e.layout.width, lQ = (e) => e.layout.height, hHe = (e) => e.layout.scale, uQ = (e) => e.layout.margin, dQ = Y((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), fQ = Y((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), gHe = "data-recharts-item-index";
+}, gHe = (e, t) => t === "centric" ? e.angle : e.radius, cQ = (e) => e.layout.width, lQ = (e) => e.layout.height, _He = (e) => e.layout.scale, uQ = (e) => e.layout.margin, dQ = Y((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), fQ = Y((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), vHe = "data-recharts-item-index";
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js
-function _He(e, t) {
+function yHe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -80799,27 +80812,27 @@ function _He(e, t) {
function pQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? _He(Object(n), !0).forEach(function(t) {
- vHe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _He(Object(n)).forEach(function(t) {
+ t % 2 ? yHe(Object(n), !0).forEach(function(t) {
+ bHe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yHe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function vHe(e, t, n) {
- return (t = yHe(t)) in e ? Object.defineProperty(e, t, {
+function bHe(e, t, n) {
+ return (t = xHe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function yHe(e) {
- var t = bHe(e, "string");
+function xHe(e) {
+ var t = SHe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function bHe(e, t) {
+function SHe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -80829,30 +80842,30 @@ function bHe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var xHe = (e) => e.brush.height;
-function SHe(e) {
+var CHe = (e) => e.brush.height;
+function wHe(e) {
return fQ(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
-function CHe(e) {
+function THe(e) {
return fQ(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
-function wHe(e) {
+function EHe(e) {
return dQ(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);
}
-function THe(e) {
+function DHe(e) {
return dQ(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);
}
var mQ = Y([
cQ,
lQ,
uQ,
- xHe,
- SHe,
CHe,
wHe,
THe,
- DX,
- aBe
+ EHe,
+ DHe,
+ OX,
+ oBe
], (e, t, n, r, i, a, o, s, c, l) => {
var u = {
left: (n.left || 0) + i,
@@ -80861,13 +80874,13 @@ var mQ = Y([
top: (n.top || 0) + o,
bottom: (n.bottom || 0) + s
}), u), f = d.bottom;
- d.bottom += r, d = eHe(d, c, l);
+ d.bottom += r, d = nHe(d, c, l);
var p = e - d.left - d.right, m = t - d.top - d.bottom;
return pQ(pQ({ brushBottom: f }, d), {}, {
width: Math.max(p, 0),
height: Math.max(m, 0)
});
-}), EHe = Y(mQ, (e) => ({
+}), OHe = Y(mQ, (e) => ({
x: e.left,
y: e.top,
width: e.width,
@@ -80877,19 +80890,19 @@ var mQ = Y([
y: 0,
width: e,
height: t
-})), DHe = /*#__PURE__*/ (0, S.createContext)(null), gQ = () => (0, S.useContext)(DHe) != null, _Q = (e) => e.brush, vQ = Y([
+})), kHe = /*#__PURE__*/ (0, S.createContext)(null), gQ = () => (0, S.useContext)(kHe) != null, _Q = (e) => e.brush, vQ = Y([
_Q,
mQ,
uQ
], (e, t, n) => ({
height: e.height,
- x: oJ(e.x) ? e.x : t.left,
- y: oJ(e.y) ? e.y : t.top + t.height + t.brushBottom - (n?.bottom || 0),
- width: oJ(e.width) ? e.width : t.width
+ x: sJ(e.x) ? e.x : t.left,
+ y: sJ(e.y) ? e.y : t.top + t.height + t.brushBottom - (n?.bottom || 0),
+ width: sJ(e.width) ? e.width : t.width
}));
//#endregion
//#region node_modules/es-toolkit/dist/function/debounce.mjs
-function OHe(e, t, { signal: n, edges: r } = {}) {
+function AHe(e, t, { signal: n, edges: r } = {}) {
let i, a = null, o = r != null && r.includes("leading"), s = r == null || r.includes("trailing"), c = () => {
a !== null && (e.apply(i, a), i = void 0, a = null);
}, l = () => {
@@ -80914,11 +80927,11 @@ function OHe(e, t, { signal: n, edges: r } = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/debounce.mjs
-function kHe(e, t = 0, n = {}) {
+function jHe(e, t = 0, n = {}) {
typeof n != "object" && (n = {});
let { leading: r = !1, trailing: i = !0, maxWait: a } = n, o = [, ,];
r && (o[0] = "leading"), i && (o[1] = "trailing");
- let s, c = null, l = OHe(function(...t) {
+ let s, c = null, l = AHe(function(...t) {
s = e.apply(this, t), c = null;
}, t, { edges: o }), u = function(...t) {
return a != null && (c === null && (c = Date.now()), Date.now() - c >= a) ? ((r || i) && (s = e.apply(this, t)), c = Date.now(), l.cancel(), l.schedule(), s) : (l.apply(this, t), s);
@@ -80927,9 +80940,9 @@ function kHe(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/throttle.mjs
-function AHe(e, t = 0, n = {}) {
+function MHe(e, t = 0, n = {}) {
let { leading: r = !0, trailing: i = !0 } = n;
- return kHe(e, t, {
+ return jHe(e, t, {
leading: r,
maxWait: t,
trailing: i
@@ -80955,27 +80968,27 @@ var yQ = function(e, t) {
width: -1,
height: -1
}
-}, jHe = (e, t, n) => {
- var r = n.width, i = r === void 0 ? bQ.width : r, a = n.height, o = a === void 0 ? bQ.height : a, s = n.aspect, c = n.maxHeight, l = aJ(i) ? e : Number(i), u = aJ(o) ? t : Number(o);
+}, NHe = (e, t, n) => {
+ var r = n.width, i = r === void 0 ? bQ.width : r, a = n.height, o = a === void 0 ? bQ.height : a, s = n.aspect, c = n.maxHeight, l = oJ(i) ? e : Number(i), u = oJ(o) ? t : Number(o);
return s && s > 0 && (l ? u = l / s : u && (l = u * s), c && u != null && u > c && (u = c)), {
calculatedWidth: l,
calculatedHeight: u
};
-}, MHe = {
+}, PHe = {
width: 0,
height: 0,
overflow: "visible"
-}, NHe = {
+}, FHe = {
width: 0,
overflowX: "visible"
-}, PHe = {
+}, IHe = {
height: 0,
overflowY: "visible"
-}, FHe = {}, IHe = (e) => {
- var t = e.width, n = e.height, r = aJ(t), i = aJ(n);
- return r && i ? MHe : r ? NHe : i ? PHe : FHe;
+}, LHe = {}, RHe = (e) => {
+ var t = e.width, n = e.height, r = oJ(t), i = oJ(n);
+ return r && i ? PHe : r ? FHe : i ? IHe : LHe;
};
-function LHe(e) {
+function zHe(e) {
var t = e.width, n = e.height, r = e.aspect, i = t, a = n;
return i === void 0 && a === void 0 ? (i = bQ.width, a = bQ.height) : i === void 0 ? i = r && r > 0 ? void 0 : bQ.width : a === void 0 && (a = r && r > 0 ? void 0 : bQ.height), {
width: i,
@@ -80984,7 +80997,7 @@ function LHe(e) {
}
//#endregion
//#region node_modules/recharts/es6/component/ResponsiveContainer.js
-var RHe = [
+var BHe = [
"aspect",
"initialDimension",
"width",
@@ -81008,7 +81021,7 @@ function xQ() {
return e;
}, xQ.apply(null, arguments);
}
-function zHe(e, t) {
+function VHe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -81018,30 +81031,30 @@ function zHe(e, t) {
}
return n;
}
-function BHe(e) {
+function HHe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? zHe(Object(n), !0).forEach(function(t) {
- VHe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : zHe(Object(n)).forEach(function(t) {
+ t % 2 ? VHe(Object(n), !0).forEach(function(t) {
+ UHe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : VHe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function VHe(e, t, n) {
- return (t = HHe(t)) in e ? Object.defineProperty(e, t, {
+function UHe(e, t, n) {
+ return (t = WHe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function HHe(e) {
- var t = UHe(e, "string");
+function WHe(e) {
+ var t = GHe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function UHe(e, t) {
+function GHe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -81051,25 +81064,25 @@ function UHe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function WHe(e, t) {
- return YHe(e) || JHe(e, t) || KHe(e, t) || GHe();
+function KHe(e, t) {
+ return ZHe(e) || XHe(e, t) || JHe(e, t) || qHe();
}
-function GHe() {
+function qHe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function KHe(e, t) {
+function JHe(e, t) {
if (e) {
- if (typeof e == "string") return qHe(e, t);
+ if (typeof e == "string") return YHe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? qHe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? YHe(e, t) : void 0;
}
}
-function qHe(e, t) {
+function YHe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function JHe(e, t) {
+function XHe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -81090,19 +81103,19 @@ function JHe(e, t) {
return s;
}
}
-function YHe(e) {
+function ZHe(e) {
if (Array.isArray(e)) return e;
}
-function XHe(e, t) {
+function QHe(e, t) {
if (e == null) return {};
- var n, r, i = ZHe(e, t);
+ var n, r, i = $He(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function ZHe(e, t) {
+function $He(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -81111,21 +81124,21 @@ function ZHe(e, t) {
}
return n;
}
-var QHe = /*#__PURE__*/ (0, S.createContext)(bQ.initialDimension);
-function $He(e) {
+var eUe = /*#__PURE__*/ (0, S.createContext)(bQ.initialDimension);
+function tUe(e) {
return $Z(e.width) && $Z(e.height);
}
-function eUe(e) {
+function nUe(e) {
var t = e.children, n = e.width, r = e.height, i = (0, S.useMemo)(() => ({
width: n,
height: r
}), [n, r]);
- return $He(i) ? /*#__PURE__*/ S.createElement(QHe.Provider, { value: i }, t) : null;
+ return tUe(i) ? /*#__PURE__*/ S.createElement(eUe.Provider, { value: i }, t) : null;
}
-var SQ = () => (0, S.useContext)(QHe), tUe = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
- var n = e.aspect, r = e.initialDimension, i = r === void 0 ? bQ.initialDimension : r, a = e.width, o = e.height, s = e.minWidth, c = s === void 0 ? bQ.minWidth : s, l = e.minHeight, u = e.maxHeight, d = e.children, f = e.debounce, p = f === void 0 ? bQ.debounce : f, m = e.id, h = e.className, g = e.onResize, _ = e.style, v = _ === void 0 ? {} : _, y = XHe(e, RHe), b = (0, S.useRef)(null), x = (0, S.useRef)();
+var SQ = () => (0, S.useContext)(eUe), rUe = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+ var n = e.aspect, r = e.initialDimension, i = r === void 0 ? bQ.initialDimension : r, a = e.width, o = e.height, s = e.minWidth, c = s === void 0 ? bQ.minWidth : s, l = e.minHeight, u = e.maxHeight, d = e.children, f = e.debounce, p = f === void 0 ? bQ.debounce : f, m = e.id, h = e.className, g = e.onResize, _ = e.style, v = _ === void 0 ? {} : _, y = QHe(e, BHe), b = (0, S.useRef)(null), x = (0, S.useRef)();
x.current = g, (0, S.useImperativeHandle)(t, () => b.current);
- var C = WHe((0, S.useState)({
+ var C = KHe((0, S.useState)({
containerWidth: i.width,
containerHeight: i.height
}), 2), w = C[0], T = C[1], E = (0, S.useCallback)((e, t) => {
@@ -81138,7 +81151,7 @@ var SQ = () => (0, S.useContext)(QHe), tUe = /*#__PURE__*/ (0, S.forwardRef)((e,
});
}, []);
(0, S.useEffect)(() => {
- if (b.current == null || typeof ResizeObserver > "u") return gJ;
+ if (b.current == null || typeof ResizeObserver > "u") return _J;
var e = (e) => {
var t, n = e[0];
if (n != null) {
@@ -81146,7 +81159,7 @@ var SQ = () => (0, S.useContext)(QHe), tUe = /*#__PURE__*/ (0, S.forwardRef)((e,
E(i, a), (t = x.current) == null || t.call(x, i, a);
}
};
- p > 0 && (e = AHe(e, p, {
+ p > 0 && (e = MHe(e, p, {
trailing: !0,
leading: !1
}));
@@ -81157,7 +81170,7 @@ var SQ = () => (0, S.useContext)(QHe), tUe = /*#__PURE__*/ (0, S.forwardRef)((e,
}, [E, p]);
var D = w.containerWidth, O = w.containerHeight;
yQ(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
- var k = jHe(D, O, {
+ var k = NHe(D, O, {
width: a,
height: o,
aspect: n,
@@ -81166,7 +81179,7 @@ var SQ = () => (0, S.useContext)(QHe), tUe = /*#__PURE__*/ (0, S.forwardRef)((e,
return yQ(D < 0 || O < 0 || A != null && A > 0 || j != null && j > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", A, j, a, o, c, l, n), /*#__PURE__*/ S.createElement("div", xQ({
id: m ? `${m}` : void 0,
className: Lv("recharts-responsive-container", h),
- style: BHe(BHe({}, v), {}, {
+ style: HHe(HHe({}, v), {}, {
width: a,
height: o,
minWidth: c,
@@ -81174,43 +81187,43 @@ var SQ = () => (0, S.useContext)(QHe), tUe = /*#__PURE__*/ (0, S.forwardRef)((e,
maxHeight: u
}),
ref: b
- }, y), /*#__PURE__*/ S.createElement("div", { style: IHe({
+ }, y), /*#__PURE__*/ S.createElement("div", { style: RHe({
width: a,
height: o
- }) }, /*#__PURE__*/ S.createElement(eUe, {
+ }) }, /*#__PURE__*/ S.createElement(nUe, {
width: A,
height: j
}, d)));
}), CQ = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
var n = SQ();
if ($Z(n.width) && $Z(n.height)) return e.children;
- var r = LHe({
+ var r = zHe({
width: e.width,
height: e.height,
aspect: e.aspect
- }), i = r.width, a = r.height, o = jHe(void 0, void 0, {
+ }), i = r.width, a = r.height, o = NHe(void 0, void 0, {
width: i,
height: a,
aspect: e.aspect,
maxHeight: e.maxHeight
}), s = o.calculatedWidth, c = o.calculatedHeight;
- return oJ(s) && oJ(c) ? /*#__PURE__*/ S.createElement(eUe, {
+ return sJ(s) && sJ(c) ? /*#__PURE__*/ S.createElement(nUe, {
width: s,
height: c
- }, e.children) : /*#__PURE__*/ S.createElement(tUe, xQ({}, e, {
+ }, e.children) : /*#__PURE__*/ S.createElement(rUe, xQ({}, e, {
width: i,
height: a,
ref: t
}));
}), wQ = () => {
- var e = gQ(), t = vX(EHe), n = vX(vQ), r = vX(_Q)?.padding;
+ var e = gQ(), t = yX(OHe), n = yX(vQ), r = yX(_Q)?.padding;
return !e || !n || !r ? t : {
width: n.width - r.left - r.right,
height: n.height - r.top - r.bottom,
x: r.left,
y: r.top
};
-}, nUe = {
+}, iUe = {
top: 0,
bottom: 0,
left: 0,
@@ -81218,16 +81231,16 @@ var SQ = () => (0, S.useContext)(QHe), tUe = /*#__PURE__*/ (0, S.forwardRef)((e,
width: 0,
height: 0,
brushBottom: 0
-}, rUe = () => vX(mQ) ?? nUe, TQ = () => vX(cQ), EQ = () => vX(lQ), iUe = () => vX((e) => e.layout.margin), DQ = (e) => e.layout.layoutType, OQ = () => vX(DQ), kQ = () => {
+}, aUe = () => yX(mQ) ?? iUe, TQ = () => yX(cQ), EQ = () => yX(lQ), oUe = () => yX((e) => e.layout.margin), DQ = (e) => e.layout.layoutType, OQ = () => yX(DQ), kQ = () => {
var e = OQ();
if (e === "horizontal" || e === "vertical") return e;
}, AQ = (e) => {
var t = e.layout.layoutType;
if (t === "centric" || t === "radial") return t;
-}, jQ = () => vX(AQ), aUe = () => OQ() !== void 0, MQ = (e) => {
- var t = gX(), n = gQ(), r = e.width, i = e.height, a = SQ(), o = r, s = i;
+}, jQ = () => yX(AQ), sUe = () => OQ() !== void 0, MQ = (e) => {
+ var t = _X(), n = gQ(), r = e.width, i = e.height, a = SQ(), o = r, s = i;
return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, S.useEffect)(() => {
- !n && $Z(o) && $Z(s) && t(KVe({
+ !n && $Z(o) && $Z(s) && t(JVe({
width: o,
height: s
}));
@@ -81237,7 +81250,7 @@ var SQ = () => (0, S.useContext)(QHe), tUe = /*#__PURE__*/ (0, S.forwardRef)((e,
o,
s
]), null;
-}, oUe = LZ({
+}, cUe = LZ({
name: "legend",
initialState: {
settings: {
@@ -81282,24 +81295,24 @@ var SQ = () => (0, S.useContext)(QHe), tUe = /*#__PURE__*/ (0, S.forwardRef)((e,
prepare: IZ()
}
}
-}), NQ = oUe.actions, sUe = NQ.setLegendSize, cUe = NQ.setLegendSettings, lUe = NQ.addLegendPayload, uUe = NQ.replaceLegendPayload, dUe = NQ.removeLegendPayload, fUe = oUe.reducer, pUe = /* @__PURE__ */ o(((e) => {
+}), NQ = cUe.actions, lUe = NQ.setLegendSize, uUe = NQ.setLegendSettings, dUe = NQ.addLegendPayload, fUe = NQ.replaceLegendPayload, pUe = NQ.removeLegendPayload, mUe = cUe.reducer, hUe = /* @__PURE__ */ o(((e) => {
var t = p();
t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;
}));
(/* @__PURE__ */ o(((e, t) => {
- t.exports = pUe();
+ t.exports = hUe();
})))();
-function mUe(e) {
+function gUe(e) {
e();
}
-function hUe() {
+function _Ue() {
let e = null, t = null;
return {
clear() {
e = null, t = null;
},
notify() {
- mUe(() => {
+ gUe(() => {
let t = e;
for (; t;) t.callback(), t = t.next;
});
@@ -81321,12 +81334,12 @@ function hUe() {
}
};
}
-var gUe = {
+var vUe = {
notify() {},
get: () => []
};
-function _Ue(e, t) {
- let n, r = gUe, i = 0, a = !1;
+function yUe(e, t) {
+ let n, r = vUe, i = 0, a = !1;
function o(e) {
u();
let t = r.subscribe(e), n = !1;
@@ -81344,10 +81357,10 @@ function _Ue(e, t) {
return a;
}
function u() {
- i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = hUe());
+ i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = _Ue());
}
function d() {
- i--, n && i === 0 && (n(), n = void 0, r.clear(), r = gUe);
+ i--, n && i === 0 && (n(), n = void 0, r.clear(), r = vUe);
}
function f() {
a || (a = !0, u());
@@ -81366,44 +81379,44 @@ function _Ue(e, t) {
};
return m;
}
-var vUe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, yUe = typeof navigator < "u" && navigator.product === "ReactNative", bUe = vUe || yUe ? S.useLayoutEffect : S.useEffect;
-function xUe(e, t) {
+var bUe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, xUe = typeof navigator < "u" && navigator.product === "ReactNative", SUe = bUe || xUe ? S.useLayoutEffect : S.useEffect;
+function CUe(e, t) {
return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function SUe(e, t) {
- if (xUe(e, t)) return !0;
+function wUe(e, t) {
+ if (CUe(e, t)) return !0;
if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
let n = Object.keys(e), r = Object.keys(t);
if (n.length !== r.length) return !1;
- for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !xUe(e[n[r]], t[n[r]])) return !1;
+ for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !CUe(e[n[r]], t[n[r]])) return !1;
return !0;
}
-var CUe = /* @__PURE__ */ Symbol.for("react-redux-context"), wUe = typeof globalThis < "u" ? globalThis : {};
-function TUe() {
+var TUe = /* @__PURE__ */ Symbol.for("react-redux-context"), EUe = typeof globalThis < "u" ? globalThis : {};
+function DUe() {
if (!S.createContext) return {};
- let e = wUe[CUe] ??= /* @__PURE__ */ new Map(), t = e.get(S.createContext);
+ let e = EUe[TUe] ??= /* @__PURE__ */ new Map(), t = e.get(S.createContext);
return t || (t = S.createContext(null), e.set(S.createContext, t)), t;
}
-var EUe = /* @__PURE__ */ TUe();
-function DUe(e) {
+var OUe = /* @__PURE__ */ DUe();
+function kUe(e) {
let { children: t, context: n, serverState: r, store: i } = e, a = S.useMemo(() => {
- let e = _Ue(i);
+ let e = yUe(i);
return {
store: i,
subscription: e,
getServerState: r ? () => r : void 0
};
}, [i, r]), o = S.useMemo(() => i.getState(), [i]);
- bUe(() => {
+ SUe(() => {
let { subscription: e } = a;
return e.onStateChange = e.notifyNestedSubs, e.trySubscribe(), o !== i.getState() && e.notifyNestedSubs(), () => {
e.tryUnsubscribe(), e.onStateChange = void 0;
};
}, [a, o]);
- let s = n || EUe;
+ let s = n || OUe;
return /* @__PURE__ */ S.createElement(s.Provider, { value: a }, t);
}
-var OUe = DUe, kUe = /* @__PURE__ */ new Set([
+var AUe = kUe, jUe = /* @__PURE__ */ new Set([
"axisLine",
"tickLine",
"activeBar",
@@ -81426,19 +81439,19 @@ var OUe = DUe, kUe = /* @__PURE__ */ new Set([
"radius",
"throttledEvents"
]);
-function AUe(e, t) {
+function MUe(e, t) {
return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;
}
function PQ(e, t) {
- for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (kUe.has(n)) {
+ for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (jUe.has(n)) {
if (e[n] == null && t[n] == null) continue;
- if (!SUe(e[n], t[n])) return !1;
- } else if (!AUe(e[n], t[n])) return !1;
+ if (!wUe(e[n], t[n])) return !1;
+ } else if (!MUe(e[n], t[n])) return !1;
return !0;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectLegendArea.js
-var jUe = Y([
+var NUe = Y([
cQ,
lQ,
uQ
@@ -81450,7 +81463,7 @@ var jUe = Y([
}));
//#endregion
//#region node_modules/recharts/es6/cartesian/cartesianPositionToCSSTranslate.js
-function MUe(e, t) {
+function PUe(e, t) {
return e === "start" && t === "start" ? "" : `translate(${e === "inherit" ? "0" : {
start: "0",
middle: "-50%",
@@ -81463,7 +81476,7 @@ function MUe(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/component/Legend.js
-var NUe = ["contextPayload"];
+var FUe = ["contextPayload"];
function FQ() {
return FQ = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -81473,25 +81486,25 @@ function FQ() {
return e;
}, FQ.apply(null, arguments);
}
-function PUe(e, t) {
- return zUe(e) || RUe(e, t) || IUe(e, t) || FUe();
+function IUe(e, t) {
+ return VUe(e) || BUe(e, t) || RUe(e, t) || LUe();
}
-function FUe() {
+function LUe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function IUe(e, t) {
+function RUe(e, t) {
if (e) {
- if (typeof e == "string") return LUe(e, t);
+ if (typeof e == "string") return zUe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? LUe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? zUe(e, t) : void 0;
}
}
-function LUe(e, t) {
+function zUe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function RUe(e, t) {
+function BUe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -81512,10 +81525,10 @@ function RUe(e, t) {
return s;
}
}
-function zUe(e) {
+function VUe(e) {
if (Array.isArray(e)) return e;
}
-function BUe(e, t) {
+function HUe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -81528,27 +81541,27 @@ function BUe(e, t) {
function IQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? BUe(Object(n), !0).forEach(function(t) {
- VUe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : BUe(Object(n)).forEach(function(t) {
+ t % 2 ? HUe(Object(n), !0).forEach(function(t) {
+ UUe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : HUe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function VUe(e, t, n) {
- return (t = HUe(t)) in e ? Object.defineProperty(e, t, {
+function UUe(e, t, n) {
+ return (t = WUe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function HUe(e) {
- var t = UUe(e, "string");
+function WUe(e) {
+ var t = GUe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function UUe(e, t) {
+function GUe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -81558,16 +81571,16 @@ function UUe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function WUe(e, t) {
+function KUe(e, t) {
if (e == null) return {};
- var n, r, i = GUe(e, t);
+ var n, r, i = qUe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function GUe(e, t) {
+function qUe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -81576,30 +81589,30 @@ function GUe(e, t) {
}
return n;
}
-function KUe(e) {
+function JUe(e) {
return e.value;
}
-function qUe(e) {
- var t = e.contextPayload, n = WUe(e, NUe), r = mX(t, e.payloadUniqBy, KUe), i = IQ(IQ({}, n), {}, { payload: r });
- return /*#__PURE__*/ S.isValidElement(e.content) ? /*#__PURE__*/ S.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ S.createElement(e.content, i) : /*#__PURE__*/ S.createElement(vze, i);
+function YUe(e) {
+ var t = e.contextPayload, n = KUe(e, FUe), r = hX(t, e.payloadUniqBy, JUe), i = IQ(IQ({}, n), {}, { payload: r });
+ return /*#__PURE__*/ S.isValidElement(e.content) ? /*#__PURE__*/ S.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ S.createElement(e.content, i) : /*#__PURE__*/ S.createElement(yze, i);
}
-function JUe(e) {
+function XUe(e) {
return e === "left" || e === "right" || e === "insideLeft" || e === "insideRight" ? "vertical" : "horizontal";
}
-function YUe(e, t) {
- return t == null ? null : xJ(t) ? jUe(e) : EHe(e);
+function ZUe(e, t) {
+ return t == null ? null : SJ(t) ? NUe(e) : OHe(e);
}
-function XUe(e, t, n) {
+function QUe(e, t, n) {
return e === "top" ? { top: n.height + t } : e === "bottom" ? { top: -n.height - t } : e === "left" ? { left: n.width + t } : e === "right" ? { left: -n.width - t } : {};
}
-function ZUe(e, t, n, r, i, a) {
+function $Ue(e, t, n, r, i, a) {
var o = t.layout, s = t.align, c = t.verticalAlign, l, u;
return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), IQ(IQ({}, l), u);
}
-function QUe(e) {
- var t = e.align, n = e.layout, r = e.verticalAlign, i = e.itemSorter, a = e.position, o = e.offset, s = gX();
+function eWe(e) {
+ var t = e.align, n = e.layout, r = e.verticalAlign, i = e.itemSorter, a = e.position, o = e.offset, s = _X();
return (0, S.useLayoutEffect)(() => {
- s(cUe({
+ s(uUe({
align: t,
layout: n,
verticalAlign: r,
@@ -81617,10 +81630,10 @@ function QUe(e) {
o
]), null;
}
-function $Ue(e) {
- var t = e.width, n = e.height, r = gX();
+function tWe(e) {
+ var t = e.width, n = e.height, r = _X();
return (0, S.useLayoutEffect)(() => {
- r(sUe({
+ r(lUe({
width: t,
height: n
}));
@@ -81629,16 +81642,16 @@ function $Ue(e) {
t,
n
]), (0, S.useLayoutEffect)(() => () => {
- r(sUe({
+ r(lUe({
width: 0,
height: 0
}));
}, [r]), null;
}
-function eWe(e, t, n, r) {
+function nWe(e, t, n, r) {
return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;
}
-var tWe = {
+var rWe = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -81648,10 +81661,10 @@ var tWe = {
verticalAlign: "bottom",
offset: 0
};
-function nWe(e) {
- var t = CY(e, tWe), n = e.layout && e.layout !== "auto" ? e.layout : JUe(t.position), r = sBe(), i = _Re(), a = iUe(), o = vX((e) => YUe(e, t.position)), s = t.width, c = t.height, l = t.wrapperStyle, u = t.portal, d = u == null && (t.position == null || xJ(t.position)), f = PUe(MX([r]), 2), p = f[0], m = f[1], h = TQ(), g = EQ();
+function iWe(e) {
+ var t = wY(e, rWe), n = e.layout && e.layout !== "auto" ? e.layout : XUe(t.position), r = cBe(), i = vRe(), a = oUe(), o = yX((e) => ZUe(e, t.position)), s = t.width, c = t.height, l = t.wrapperStyle, u = t.portal, d = u == null && (t.position == null || SJ(t.position)), f = IUe(NX([r]), 2), p = f[0], m = f[1], h = TQ(), g = EQ();
if (h == null || g == null || t.position != null && o == null) return null;
- var _ = eWe(n, c, s, h - (a?.left || 0) - (a?.right || 0)), v = t.position == null ? null : bJ({
+ var _ = nWe(n, c, s, h - (a?.left || 0) - (a?.right || 0)), v = t.position == null ? null : xJ({
viewBox: o ?? {
x: 0,
y: 0,
@@ -81660,7 +81673,7 @@ function nWe(e) {
},
position: t.position,
offset: t.offset ?? 0
- }), y = XUe(t.position, t.offset ?? 0, p), b = n === "vertical" ? (o?.width ?? 0) / 2 : o?.width ?? 0, x = n === "horizontal" ? (o?.height ?? 0) / 2 : o?.height ?? 0, C = v ? {
+ }), y = QUe(t.position, t.offset ?? 0, p), b = n === "vertical" ? (o?.width ?? 0) / 2 : o?.width ?? 0, x = n === "horizontal" ? (o?.height ?? 0) / 2 : o?.height ?? 0, C = v ? {
width: "max-content",
height: "max-content",
maxWidth: b,
@@ -81668,8 +81681,8 @@ function nWe(e) {
overflowY: "auto",
top: v.y + (y.top ?? 0),
left: v.x + (y.left ?? 0),
- transform: MUe(v.horizontalAnchor, v.verticalAnchor)
- } : ZUe(l, t, a, h, g, p), w = u ? l : IQ(IQ({
+ transform: PUe(v.horizontalAnchor, v.verticalAnchor)
+ } : $Ue(l, t, a, h, g, p), w = u ? l : IQ(IQ({
position: "absolute",
width: _?.width || s || "auto",
height: _?.height || c || "auto"
@@ -81679,14 +81692,14 @@ function nWe(e) {
className: "recharts-legend-wrapper",
style: w,
ref: m
- }, /*#__PURE__*/ S.createElement(QUe, {
+ }, /*#__PURE__*/ S.createElement(eWe, {
layout: n,
align: t.align,
verticalAlign: t.verticalAlign,
itemSorter: t.itemSorter,
position: t.position,
offset: t.offset
- }), d && /*#__PURE__*/ S.createElement($Ue, p), /*#__PURE__*/ S.createElement(qUe, FQ({}, t, { layout: n }, _, {
+ }), d && /*#__PURE__*/ S.createElement(tWe, p), /*#__PURE__*/ S.createElement(YUe, FQ({}, t, { layout: n }, _, {
margin: a,
chartWidth: h,
chartHeight: g,
@@ -81694,8 +81707,8 @@ function nWe(e) {
})));
return /*#__PURE__*/ (0, gt.createPortal)(E, T);
}
-var rWe = /*#__PURE__*/ S.memo(nWe, PQ);
-rWe.displayName = "Legend";
+var aWe = /*#__PURE__*/ S.memo(iWe, PQ);
+aWe.displayName = "Legend";
//#endregion
//#region node_modules/recharts/es6/component/DefaultTooltipContent.js
function LQ() {
@@ -81707,7 +81720,7 @@ function LQ() {
return e;
}, LQ.apply(null, arguments);
}
-function iWe(e, t) {
+function oWe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -81720,27 +81733,27 @@ function iWe(e, t) {
function RQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? iWe(Object(n), !0).forEach(function(t) {
- aWe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : iWe(Object(n)).forEach(function(t) {
+ t % 2 ? oWe(Object(n), !0).forEach(function(t) {
+ sWe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : oWe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function aWe(e, t, n) {
- return (t = oWe(t)) in e ? Object.defineProperty(e, t, {
+function sWe(e, t, n) {
+ return (t = cWe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function oWe(e) {
- var t = sWe(e, "string");
+function cWe(e) {
+ var t = lWe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sWe(e, t) {
+function lWe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -81750,25 +81763,25 @@ function sWe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function cWe(e, t) {
- return pWe(e) || fWe(e, t) || uWe(e, t) || lWe();
+function uWe(e, t) {
+ return hWe(e) || mWe(e, t) || fWe(e, t) || dWe();
}
-function lWe() {
+function dWe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function uWe(e, t) {
+function fWe(e, t) {
if (e) {
- if (typeof e == "string") return dWe(e, t);
+ if (typeof e == "string") return pWe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? dWe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? pWe(e, t) : void 0;
}
}
-function dWe(e, t) {
+function pWe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function fWe(e, t) {
+function mWe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -81789,11 +81802,11 @@ function fWe(e, t) {
return s;
}
}
-function pWe(e) {
+function hWe(e) {
if (Array.isArray(e)) return e;
}
-function mWe(e) {
- return Array.isArray(e) && sJ(e[0]) && sJ(e[1]) ? e.join(" ~ ") : e;
+function gWe(e) {
+ return Array.isArray(e) && cJ(e[0]) && cJ(e[1]) ? e.join(" ~ ") : e;
}
var zQ = {
separator: " : ",
@@ -81813,22 +81826,22 @@ var zQ = {
labelStyle: {},
accessibilityLayer: !1
};
-function hWe(e, t) {
- return t == null ? e : EX(e, t);
+function _We(e, t) {
+ return t == null ? e : DX(e, t);
}
-var gWe = (e) => {
+var vWe = (e) => {
var t = e.separator, n = t === void 0 ? zQ.separator : t, r = e.contentStyle, i = e.itemStyle, a = e.labelStyle, o = a === void 0 ? zQ.labelStyle : a, s = e.payload, c = e.formatter, l = e.itemSorter, u = e.wrapperClassName, d = e.labelClassName, f = e.label, p = e.labelFormatter, m = e.accessibilityLayer, h = m === void 0 ? zQ.accessibilityLayer : m, g = () => {
if (s && s.length) {
var e = {
padding: 0,
margin: 0
- }, t = hWe(s, l).map((e, t) => {
+ }, t = _We(s, l).map((e, t) => {
if (!e || e.type === "none") return null;
- var r = e.formatter || c || mWe, a = e.value, o = e.name, l = a, u = o;
+ var r = e.formatter || c || gWe, a = e.value, o = e.name, l = a, u = o;
if (r) {
var d = r(a, o, e, t, s);
if (Array.isArray(d)) {
- var f = cWe(d, 2);
+ var f = uWe(d, 2);
l = f[0], u = f[1];
} else if (d != null) l = d;
else return null;
@@ -81838,7 +81851,7 @@ var gWe = (e) => {
className: "recharts-tooltip-item",
key: `tooltip-item-${t}`,
style: p
- }, sJ(u) ? /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, sJ(u) ? /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-separator" }, n) : null, /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
+ }, cJ(u) ? /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, cJ(u) ? /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-separator" }, n) : null, /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
});
return /*#__PURE__*/ S.createElement("ul", {
className: "recharts-tooltip-item-list",
@@ -81846,7 +81859,7 @@ var gWe = (e) => {
}, t);
}
return null;
- }, _ = RQ(RQ({}, zQ.contentStyle), r), v = RQ({ margin: 0 }, o), y = !pJ(f), b = y ? f : "", x = Lv("recharts-default-tooltip", u), C = Lv("recharts-tooltip-label", d);
+ }, _ = RQ(RQ({}, zQ.contentStyle), r), v = RQ({ margin: 0 }, o), y = !mJ(f), b = y ? f : "", x = Lv("recharts-default-tooltip", u), C = Lv("recharts-tooltip-label", d);
y && p && s != null && (b = p(f, s));
var w = h ? {
role: "status",
@@ -81859,31 +81872,31 @@ var gWe = (e) => {
className: C,
style: v
}, /*#__PURE__*/ S.isValidElement(b) ? b : `${b}`), g());
-}, BQ = "recharts-tooltip-wrapper", _We = { visibility: "hidden" };
-function vWe(e) {
+}, BQ = "recharts-tooltip-wrapper", yWe = { visibility: "hidden" };
+function bWe(e) {
var t = e.coordinate, n = e.translateX, r = e.translateY;
return Lv(BQ, {
- [`${BQ}-right`]: oJ(n) && t && oJ(t.x) && n >= t.x,
- [`${BQ}-left`]: oJ(n) && t && oJ(t.x) && n < t.x,
- [`${BQ}-bottom`]: oJ(r) && t && oJ(t.y) && r >= t.y,
- [`${BQ}-top`]: oJ(r) && t && oJ(t.y) && r < t.y
+ [`${BQ}-right`]: sJ(n) && t && sJ(t.x) && n >= t.x,
+ [`${BQ}-left`]: sJ(n) && t && sJ(t.x) && n < t.x,
+ [`${BQ}-bottom`]: sJ(r) && t && sJ(t.y) && r >= t.y,
+ [`${BQ}-top`]: sJ(r) && t && sJ(t.y) && r < t.y
});
}
-function yWe(e) {
+function xWe(e) {
var t = e.allowEscapeViewBox, n = e.coordinate, r = e.key, i = e.offset, a = e.position, o = e.reverseDirection, s = e.tooltipDimension, c = e.viewBox, l = e.viewBoxDimension;
- if (a && oJ(a[r])) return a[r];
+ if (a && sJ(a[r])) return a[r];
var u = n[r] - s - (i > 0 ? i : 0), d = n[r] + i;
if (t[r]) return o[r] ? u : d;
var f = c[r];
return f == null ? 0 : o[r] ? Math.max(u < f ? d : u, f) : l == null ? 0 : d + s > f + l ? Math.max(u, f) : Math.max(d, f);
}
-function bWe(e) {
+function SWe(e) {
var t = e.translateX, n = e.translateY;
return { transform: e.useTranslate3d ? `translate3d(${t}px, ${n}px, 0)` : `translate(${t}px, ${n}px)` };
}
-function xWe(e) {
+function CWe(e) {
var t = e.allowEscapeViewBox, n = e.coordinate, r = e.offsetTop, i = e.offsetLeft, a = e.position, o = e.reverseDirection, s = e.tooltipBox, c = e.useTranslate3d, l = e.viewBox, u, d, f;
- return s && s.height > 0 && s.width > 0 && n ? (d = yWe({
+ return s && s.height > 0 && s.width > 0 && n ? (d = xWe({
allowEscapeViewBox: t,
coordinate: n,
key: "x",
@@ -81893,7 +81906,7 @@ function xWe(e) {
tooltipDimension: s.width,
viewBox: l,
viewBoxDimension: l.width
- }), f = yWe({
+ }), f = xWe({
allowEscapeViewBox: t,
coordinate: n,
key: "y",
@@ -81903,13 +81916,13 @@ function xWe(e) {
tooltipDimension: s.height,
viewBox: l,
viewBoxDimension: l.height
- }), u = bWe({
+ }), u = SWe({
translateX: d,
translateY: f,
useTranslate3d: c
- })) : u = _We, {
+ })) : u = yWe, {
cssProperties: u,
- cssClasses: vWe({
+ cssClasses: bWe({
translateX: d,
translateY: f,
coordinate: n
@@ -81922,25 +81935,25 @@ var VQ = {
};
//#endregion
//#region node_modules/recharts/es6/util/usePrefersReducedMotion.js
-function SWe(e, t) {
- return DWe(e) || EWe(e, t) || wWe(e, t) || CWe();
+function wWe(e, t) {
+ return kWe(e) || OWe(e, t) || EWe(e, t) || TWe();
}
-function CWe() {
+function TWe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function wWe(e, t) {
+function EWe(e, t) {
if (e) {
- if (typeof e == "string") return TWe(e, t);
+ if (typeof e == "string") return DWe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? TWe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? DWe(e, t) : void 0;
}
}
-function TWe(e, t) {
+function DWe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function EWe(e, t) {
+function OWe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -81961,11 +81974,11 @@ function EWe(e, t) {
return s;
}
}
-function DWe(e) {
+function kWe(e) {
if (Array.isArray(e)) return e;
}
-function OWe() {
- var e = SWe((0, S.useState)(() => VQ.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches), 2), t = e[0], n = e[1];
+function AWe() {
+ var e = wWe((0, S.useState)(() => VQ.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches), 2), t = e[0], n = e[1];
return (0, S.useEffect)(() => {
if (window.matchMedia) {
var e = window.matchMedia("(prefers-reduced-motion: reduce)"), t = () => {
@@ -81979,7 +81992,7 @@ function OWe() {
}
//#endregion
//#region node_modules/recharts/es6/component/TooltipBoundingBox.js
-function kWe(e, t) {
+function jWe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -81992,27 +82005,27 @@ function kWe(e, t) {
function HQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? kWe(Object(n), !0).forEach(function(t) {
- AWe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : kWe(Object(n)).forEach(function(t) {
+ t % 2 ? jWe(Object(n), !0).forEach(function(t) {
+ MWe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : jWe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function AWe(e, t, n) {
- return (t = jWe(t)) in e ? Object.defineProperty(e, t, {
+function MWe(e, t, n) {
+ return (t = NWe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function jWe(e) {
- var t = MWe(e, "string");
+function NWe(e) {
+ var t = PWe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function MWe(e, t) {
+function PWe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -82022,25 +82035,25 @@ function MWe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function NWe(e, t) {
- return RWe(e) || LWe(e, t) || FWe(e, t) || PWe();
+function FWe(e, t) {
+ return BWe(e) || zWe(e, t) || LWe(e, t) || IWe();
}
-function PWe() {
+function IWe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function FWe(e, t) {
+function LWe(e, t) {
if (e) {
- if (typeof e == "string") return IWe(e, t);
+ if (typeof e == "string") return RWe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? IWe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? RWe(e, t) : void 0;
}
}
-function IWe(e, t) {
+function RWe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function LWe(e, t) {
+function zWe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -82061,17 +82074,17 @@ function LWe(e, t) {
return s;
}
}
-function RWe(e) {
+function BWe(e) {
if (Array.isArray(e)) return e;
}
-function zWe(e) {
+function VWe(e) {
if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) {
var t = typeof e.animationEasing == "string" ? e.animationEasing : "ease";
return `transform ${e.animationDuration}ms ${t}`;
}
}
-function BWe(e) {
- var t = OWe(), n = NWe(S.useState(() => ({
+function HWe(e) {
+ var t = AWe(), n = FWe(S.useState(() => ({
dismissed: !1,
dismissedAtCoordinate: {
x: 0,
@@ -82092,7 +82105,7 @@ function BWe(e) {
document.removeEventListener("keydown", t);
};
}, [e.coordinate?.x, e.coordinate?.y]), r.dismissed && ((e.coordinate?.x ?? 0) !== r.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== r.dismissedAtCoordinate.y) && i(HQ(HQ({}, r), {}, { dismissed: !1 }));
- var a = xWe({
+ var a = CWe({
allowEscapeViewBox: e.allowEscapeViewBox,
coordinate: e.coordinate,
offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,
@@ -82102,7 +82115,7 @@ function BWe(e) {
tooltipBox: e.lastBoundingBox,
useTranslate3d: e.useTranslate3d,
viewBox: e.viewBox
- }), o = a.cssClasses, s = a.cssProperties, c = HQ(HQ({}, e.hasPortalFromProps ? {} : HQ(HQ({ transition: zWe({
+ }), o = a.cssClasses, s = a.cssProperties, c = HQ(HQ({}, e.hasPortalFromProps ? {} : HQ(HQ({ transition: VWe({
prefersReducedMotion: t,
isAnimationActive: e.isAnimationActive,
active: e.active,
@@ -82122,7 +82135,7 @@ function BWe(e) {
ref: e.innerRef
}, e.children);
}
-var VWe = /*#__PURE__*/ S.memo(BWe), HWe = () => vX((e) => e.rootProps.accessibilityLayer) ?? !0;
+var UWe = /*#__PURE__*/ S.memo(HWe), WWe = () => yX((e) => e.rootProps.accessibilityLayer) ?? !0;
//#endregion
//#region node_modules/recharts/es6/shape/Curve.js
function UQ() {
@@ -82134,7 +82147,7 @@ function UQ() {
return e;
}, UQ.apply(null, arguments);
}
-function UWe(e, t) {
+function GWe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -82144,30 +82157,30 @@ function UWe(e, t) {
}
return n;
}
-function WWe(e) {
+function KWe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? UWe(Object(n), !0).forEach(function(t) {
- GWe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UWe(Object(n)).forEach(function(t) {
+ t % 2 ? GWe(Object(n), !0).forEach(function(t) {
+ qWe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : GWe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function GWe(e, t, n) {
- return (t = KWe(t)) in e ? Object.defineProperty(e, t, {
+function qWe(e, t, n) {
+ return (t = JWe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function KWe(e) {
- var t = qWe(e, "string");
+function JWe(e) {
+ var t = YWe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function qWe(e, t) {
+function YWe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -82177,38 +82190,38 @@ function qWe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var JWe = {
- curveBasisClosed: FRe,
- curveBasisOpen: IRe,
- curveBasis: PRe,
- curveBumpX: bRe,
- curveBumpY: xRe,
- curveLinearClosed: LRe,
- curveLinear: LJ,
- curveMonotoneX: RRe,
- curveMonotoneY: zRe,
- curveNatural: BRe,
- curveStep: VRe,
- curveStepAfter: URe,
- curveStepBefore: HRe
-}, WQ = (e) => QZ(e.x) && QZ(e.y), YWe = (e) => e.base != null && WQ(e.base) && WQ(e), GQ = (e) => e.x, KQ = (e) => e.y, XWe = (e, t) => {
+var XWe = {
+ curveBasisClosed: IRe,
+ curveBasisOpen: LRe,
+ curveBasis: FRe,
+ curveBumpX: xRe,
+ curveBumpY: SRe,
+ curveLinearClosed: RRe,
+ curveLinear: RJ,
+ curveMonotoneX: zRe,
+ curveMonotoneY: BRe,
+ curveNatural: VRe,
+ curveStep: HRe,
+ curveStepAfter: WRe,
+ curveStepBefore: URe
+}, WQ = (e) => QZ(e.x) && QZ(e.y), ZWe = (e) => e.base != null && WQ(e.base) && WQ(e), GQ = (e) => e.x, KQ = (e) => e.y, QWe = (e, t) => {
if (typeof e == "function") return e;
- var n = `curve${mJ(e)}`;
+ var n = `curve${hJ(e)}`;
if ((n === "curveMonotone" || n === "curveBump") && t) {
- var r = JWe[`${n}${t === "vertical" ? "Y" : "X"}`];
+ var r = XWe[`${n}${t === "vertical" ? "Y" : "X"}`];
if (r) return r;
}
- return JWe[n] || LJ;
-}, ZWe = {
+ return XWe[n] || RJ;
+}, $We = {
connectNulls: !1,
type: "linear"
-}, QWe = (e) => {
- var t = e.type, n = t === void 0 ? ZWe.type : t, r = e.points, i = r === void 0 ? [] : r, a = e.baseLine, o = e.layout, s = e.connectNulls, c = s === void 0 ? ZWe.connectNulls : s, l = XWe(n, o), u = c ? i.filter(WQ) : i;
+}, eGe = (e) => {
+ var t = e.type, n = t === void 0 ? $We.type : t, r = e.points, i = r === void 0 ? [] : r, a = e.baseLine, o = e.layout, s = e.connectNulls, c = s === void 0 ? $We.connectNulls : s, l = QWe(n, o), u = c ? i.filter(WQ) : i;
if (Array.isArray(a)) {
- var d, f = i.map((e, t) => WWe(WWe({}, e), {}, { base: a[t] }));
- return d = o === "vertical" ? VJ().y(KQ).x1(GQ).x0((e) => e.base.x) : VJ().x(GQ).y1(KQ).y0((e) => e.base.y), d.defined(YWe).curve(l)(c ? f.filter(YWe) : f);
+ var d, f = i.map((e, t) => KWe(KWe({}, e), {}, { base: a[t] }));
+ return d = o === "vertical" ? HJ().y(KQ).x1(GQ).x0((e) => e.base.x) : HJ().x(GQ).y1(KQ).y0((e) => e.base.y), d.defined(ZWe).curve(l)(c ? f.filter(ZWe) : f);
}
- return (o === "vertical" && oJ(a) ? VJ().y(KQ).x1(GQ).x0(a) : oJ(a) ? VJ().x(GQ).y1(KQ).y0(a) : BJ().x(GQ).y(KQ)).defined(WQ).curve(l)(u);
+ return (o === "vertical" && sJ(a) ? HJ().y(KQ).x1(GQ).x0(a) : sJ(a) ? HJ().x(GQ).y1(KQ).y0(a) : VJ().x(GQ).y(KQ)).defined(WQ).curve(l)(u);
}, qQ = (e) => {
var t = e.className, n = e.points, r = e.path, i = e.pathRef, a = OQ();
if ((!n || !n.length) && !r) return null;
@@ -82218,13 +82231,13 @@ var JWe = {
baseLine: e.baseLine,
layout: e.layout || a,
connectNulls: e.connectNulls
- }, s = n && n.length ? QWe(o) : r;
- return /*#__PURE__*/ S.createElement("path", UQ({}, Vq(e), bY(e), {
+ }, s = n && n.length ? eGe(o) : r;
+ return /*#__PURE__*/ S.createElement("path", UQ({}, Hq(e), xY(e), {
className: Lv("recharts-curve", t),
d: s === null ? void 0 : s,
ref: i
}));
-}, $We = [
+}, tGe = [
"x",
"y",
"top",
@@ -82242,7 +82255,7 @@ function JQ() {
return e;
}, JQ.apply(null, arguments);
}
-function eGe(e, t) {
+function nGe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -82252,30 +82265,30 @@ function eGe(e, t) {
}
return n;
}
-function tGe(e) {
+function rGe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? eGe(Object(n), !0).forEach(function(t) {
- nGe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : eGe(Object(n)).forEach(function(t) {
+ t % 2 ? nGe(Object(n), !0).forEach(function(t) {
+ iGe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : nGe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function nGe(e, t, n) {
- return (t = rGe(t)) in e ? Object.defineProperty(e, t, {
+function iGe(e, t, n) {
+ return (t = aGe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function rGe(e) {
- var t = iGe(e, "string");
+function aGe(e) {
+ var t = oGe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function iGe(e, t) {
+function oGe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -82285,16 +82298,16 @@ function iGe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function aGe(e, t) {
+function sGe(e, t) {
if (e == null) return {};
- var n, r, i = oGe(e, t);
+ var n, r, i = cGe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function oGe(e, t) {
+function cGe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -82303,8 +82316,8 @@ function oGe(e, t) {
}
return n;
}
-var sGe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, cGe = (e) => {
- var t = e.x, n = t === void 0 ? 0 : t, r = e.y, i = r === void 0 ? 0 : r, a = e.top, o = a === void 0 ? 0 : a, s = e.left, c = s === void 0 ? 0 : s, l = e.width, u = l === void 0 ? 0 : l, d = e.height, f = d === void 0 ? 0 : d, p = e.className, m = aGe(e, $We), h = tGe({
+var lGe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, uGe = (e) => {
+ var t = e.x, n = t === void 0 ? 0 : t, r = e.y, i = r === void 0 ? 0 : r, a = e.top, o = a === void 0 ? 0 : a, s = e.left, c = s === void 0 ? 0 : s, l = e.width, u = l === void 0 ? 0 : l, d = e.height, f = d === void 0 ? 0 : d, p = e.className, m = sGe(e, tGe), h = rGe({
x: n,
y: i,
top: o,
@@ -82312,14 +82325,14 @@ var sGe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, cGe = (e) => {
width: u,
height: f
}, m);
- return !oJ(n) || !oJ(i) || !oJ(u) || !oJ(f) || !oJ(o) || !oJ(c) ? null : /*#__PURE__*/ S.createElement("path", JQ({}, Uq(h), {
+ return !sJ(n) || !sJ(i) || !sJ(u) || !sJ(f) || !sJ(o) || !sJ(c) ? null : /*#__PURE__*/ S.createElement("path", JQ({}, Wq(h), {
className: Lv("recharts-cross", p),
- d: sGe(n, i, u, f, o, c)
+ d: lGe(n, i, u, f, o, c)
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorRectangle.js
-function lGe(e, t, n, r) {
+function dGe(e, t, n, r) {
var i = r / 2;
return {
stroke: "none",
@@ -82330,12 +82343,12 @@ function lGe(e, t, n, r) {
height: e === "horizontal" ? n.height - 1 : r
};
}
-var uGe = (e, t) => [
+var fGe = (e, t) => [
0,
3 * e,
3 * t - 6 * e,
3 * e - 3 * t + 1
-], dGe = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), fGe = (e, t) => (n) => dGe(uGe(e, t), n), pGe = (e, t) => (n) => dGe([...uGe(e, t).map((e, t) => e * t).slice(1), 0], n), mGe = (e) => {
+], pGe = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), mGe = (e, t) => (n) => pGe(fGe(e, t), n), hGe = (e, t) => (n) => pGe([...fGe(e, t).map((e, t) => e * t).slice(1), 0], n), gGe = (e) => {
var t, n = e.split("(");
if (n.length !== 2 || n[0] !== "cubic-bezier") return null;
var r = (t = n[1]) == null || (t = t.split(")")[0]) == null ? void 0 : t.split(",");
@@ -82347,7 +82360,7 @@ var uGe = (e, t) => [
i[2],
i[3]
];
-}, hGe = function() {
+}, _Ge = function() {
var e = [...arguments];
if (e.length === 1) switch (e[0]) {
case "linear": return [
@@ -82381,7 +82394,7 @@ var uGe = (e, t) => [
1
];
default:
- var t = mGe(e[0]);
+ var t = gGe(e[0]);
if (t) return t;
}
return e.length === 4 ? e : [
@@ -82390,8 +82403,8 @@ var uGe = (e, t) => [
1,
1
];
-}, gGe = (e, t, n, r) => {
- var i = fGe(e, n), a = fGe(t, r), o = pGe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
+}, vGe = (e, t, n, r) => {
+ var i = mGe(e, n), a = mGe(t, r), o = hGe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
for (var t = e > 1 ? 1 : e, n = t, r = 0; r < 8; ++r) {
var c = i(n) - t, l = o(n);
if (Math.abs(c - t) < 1e-4 || l < 1e-4) return a(n);
@@ -82400,9 +82413,9 @@ var uGe = (e, t) => [
return a(n);
};
return c.isStepper = !1, c;
-}, _Ge = function() {
- return gGe(...hGe(...arguments));
-}, vGe = function() {
+}, yGe = function() {
+ return vGe(..._Ge(...arguments));
+}, bGe = function() {
for (var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.stiff, n = t === void 0 ? 100 : t, r = e.damping, i = r === void 0 ? 8 : r, a = e.dt, o = a === void 0 ? 16.67 : a, s = 1, c = [0], l = 0, u = 0, d = 1e4, f = 0; f < d;) {
var p = -(l - s) * n, m = u * i;
if (u += (p - m) * o / 1e3, l += u * o / 1e3, c.push(l), Math.abs(l - s) < 1e-4 && Math.abs(u) < 1e-4) break;
@@ -82416,18 +82429,18 @@ var uGe = (e, t) => [
var t = e * h, n = Math.floor(t), r = t - n;
return (c[n] ?? 0) + ((c[n + 1] ?? 0) - (c[n] ?? 0)) * r;
};
-}, yGe = (e) => {
+}, xGe = (e) => {
if (typeof e == "string") switch (e) {
case "ease":
case "ease-in-out":
case "ease-out":
case "ease-in":
- case "linear": return _Ge(e);
- case "spring": return vGe();
- default: if (e.split("(")[0] === "cubic-bezier") return _Ge(e);
+ case "linear": return yGe(e);
+ case "spring": return bGe();
+ default: if (e.split("(")[0] === "cubic-bezier") return yGe(e);
}
return typeof e == "function" ? e : null;
-}, bGe = /*#__PURE__*/ (0, S.createContext)((e, t, n) => {
+}, SGe = /*#__PURE__*/ (0, S.createContext)((e, t, n) => {
var r, i = (a) => {
var o = t.tick(a);
if (t.getState() === "active") {
@@ -82440,26 +82453,26 @@ var uGe = (e, t) => [
};
return r = e.setTimeout(i, 0), () => r?.();
});
-bGe.Provider;
-function xGe(e) {
- var t = (0, S.useContext)(bGe);
+SGe.Provider;
+function CGe(e) {
+ var t = (0, S.useContext)(SGe);
return (0, S.useMemo)(() => e ?? t, [e, t]);
}
//#endregion
//#region node_modules/recharts/es6/animation/AnimationHandle.js
-function SGe(e, t, n) {
- return (t = CGe(t)) in e ? Object.defineProperty(e, t, {
+function wGe(e, t, n) {
+ return (t = TGe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function CGe(e) {
- var t = wGe(e, "string");
+function TGe(e) {
+ var t = EGe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function wGe(e, t) {
+function EGe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -82469,11 +82482,11 @@ function wGe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var TGe = "init", EGe = "pending", DGe = "active", OGe = "completed";
+var DGe = "init", OGe = "pending", kGe = "active", AGe = "completed";
function YQ(e) {
return Math.max(0, e);
}
-var kGe = class {
+var jGe = class {
getAnimationStartedTime() {
return this.animationStartedTime;
}
@@ -82482,7 +82495,7 @@ var kGe = class {
}
constructor(e) {
var t;
- SGe(this, "state", TGe), this.animationId = e.animationId, this.onAnimationEnd = e.onAnimationEnd, this.animationDuration = YQ(e.animationDuration), this.animationBegin = YQ(e.animationBegin), this.progress = 0, this.from = e.from, this.to = e.to, this.easing = e.easing, (t = e.onAnimationStart) == null || t.call(e);
+ wGe(this, "state", DGe), this.animationId = e.animationId, this.onAnimationEnd = e.onAnimationEnd, this.animationDuration = YQ(e.animationDuration), this.animationBegin = YQ(e.animationBegin), this.progress = 0, this.from = e.from, this.to = e.to, this.easing = e.easing, (t = e.onAnimationStart) == null || t.call(e);
}
getState() {
return this.state;
@@ -82494,13 +82507,13 @@ var kGe = class {
return this.animationDuration;
}
tick(e) {
- if (this.getState() === TGe) return this.state = EGe, this.beginStartedTime = e, this.animationBegin;
- if (this.getState() === EGe) {
+ if (this.getState() === DGe) return this.state = OGe, this.beginStartedTime = e, this.animationBegin;
+ if (this.getState() === OGe) {
if (this.beginStartedTime == null) throw Error();
var t = e - this.beginStartedTime;
- return t >= this.animationBegin ? (this.state = DGe, this.animationStartedTime = e, this.nextAnimationUpdate(0)) : YQ(this.animationBegin - t);
+ return t >= this.animationBegin ? (this.state = kGe, this.animationStartedTime = e, this.nextAnimationUpdate(0)) : YQ(this.animationBegin - t);
}
- if (this.getState() === DGe) {
+ if (this.getState() === kGe) {
if (this.animationStartedTime == null) throw Error();
var n = e - this.animationStartedTime;
return this.setProgress(n / this.animationDuration), this.nextAnimationUpdate(n);
@@ -82518,7 +82531,7 @@ var kGe = class {
var e;
(e = this.onAnimationEnd) == null || e.call(this);
}
- this.state = OGe;
+ this.state = AGe;
}
getFrom() {
return this.from;
@@ -82532,14 +82545,14 @@ var kGe = class {
getAnimationBegin() {
return this.animationBegin;
}
-}, AGe = class extends kGe {
+}, MGe = class extends jGe {
nextAnimationUpdate() {
return 0;
}
getInterpolated() {
- return this.easing(dJ(this.getFrom(), this.getTo(), this.getProgress()));
+ return this.easing(fJ(this.getFrom(), this.getTo(), this.getProgress()));
}
-}, jGe = class {
+}, NGe = class {
setTimeout(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = performance.now(), r = null, i = (a) => {
a - n >= t ? e(a) : r = requestAnimationFrame(i);
@@ -82551,25 +82564,25 @@ var kGe = class {
};
//#endregion
//#region node_modules/recharts/es6/animation/JavascriptAnimate.js
-function MGe(e, t) {
- return LGe(e) || IGe(e, t) || PGe(e, t) || NGe();
+function PGe(e, t) {
+ return zGe(e) || RGe(e, t) || IGe(e, t) || FGe();
}
-function NGe() {
+function FGe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function PGe(e, t) {
+function IGe(e, t) {
if (e) {
- if (typeof e == "string") return FGe(e, t);
+ if (typeof e == "string") return LGe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? FGe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? LGe(e, t) : void 0;
}
}
-function FGe(e, t) {
+function LGe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function IGe(e, t) {
+function RGe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -82590,10 +82603,10 @@ function IGe(e, t) {
return s;
}
}
-function LGe(e) {
+function zGe(e) {
if (Array.isArray(e)) return e;
}
-var RGe = {
+var BGe = {
begin: 0,
duration: 1e3,
easing: "ease",
@@ -82601,21 +82614,21 @@ var RGe = {
canBegin: !0,
onAnimationEnd: () => {},
onAnimationStart: () => {}
-}, zGe = 0, XQ = 1;
-function BGe(e) {
- var t = CY(e, RGe), n = t.animationId, r = t.isActive, i = t.canBegin, a = t.duration, o = t.easing, s = t.begin, c = t.onAnimationEnd, l = t.onAnimationStart, u = t.children, d = OWe(), f = r === "auto" ? !VQ.isSsr && !d : r, p = xGe(t.animationController), m = MGe((0, S.useState)(f ? zGe : XQ), 2), h = m[0], g = m[1];
+}, VGe = 0, XQ = 1;
+function HGe(e) {
+ var t = wY(e, BGe), n = t.animationId, r = t.isActive, i = t.canBegin, a = t.duration, o = t.easing, s = t.begin, c = t.onAnimationEnd, l = t.onAnimationStart, u = t.children, d = AWe(), f = r === "auto" ? !VQ.isSsr && !d : r, p = CGe(t.animationController), m = PGe((0, S.useState)(f ? VGe : XQ), 2), h = m[0], g = m[1];
return (0, S.useEffect)(() => {
f || g(XQ);
}, [f]), (0, S.useEffect)(() => {
- var e = yGe(o);
- return !f || !i || e == null ? gJ : p(new jGe(), new AGe({
+ var e = xGe(o);
+ return !f || !i || e == null ? _J : p(new NGe(), new MGe({
animationId: n,
easing: e,
animationDuration: a,
animationBegin: s,
onAnimationStart: l,
onAnimationEnd: c,
- from: zGe,
+ from: VGe,
to: XQ
}), g);
}, [
@@ -82632,14 +82645,14 @@ function BGe(e) {
}
//#endregion
//#region node_modules/recharts/es6/util/useAnimationId.js
-function VGe(e) {
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, S.useRef)(cJ(t)), r = (0, S.useRef)(e);
- return r.current !== e && (n.current = cJ(t), r.current = e), n.current;
+function UGe(e) {
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, S.useRef)(lJ(t)), r = (0, S.useRef)(e);
+ return r.current !== e && (n.current = lJ(t), r.current = e), n.current;
}
//#endregion
//#region node_modules/recharts/es6/animation/util.js
-var HGe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), UGe = (e, t, n) => e.map((e) => `${HGe(e)} ${t}ms ${n}`).join(","), WGe = ["radius"], GGe = ["radius"], KGe, qGe, JGe, YGe, XGe, ZGe, QGe, $Ge, eKe, tKe;
-function nKe(e, t) {
+var WGe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), GGe = (e, t, n) => e.map((e) => `${WGe(e)} ${t}ms ${n}`).join(","), KGe = ["radius"], qGe = ["radius"], JGe, YGe, XGe, ZGe, QGe, $Ge, eKe, tKe, nKe, rKe;
+function iKe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -82649,30 +82662,30 @@ function nKe(e, t) {
}
return n;
}
-function rKe(e) {
+function aKe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? nKe(Object(n), !0).forEach(function(t) {
- iKe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : nKe(Object(n)).forEach(function(t) {
+ t % 2 ? iKe(Object(n), !0).forEach(function(t) {
+ oKe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : iKe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function iKe(e, t, n) {
- return (t = aKe(t)) in e ? Object.defineProperty(e, t, {
+function oKe(e, t, n) {
+ return (t = sKe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function aKe(e) {
- var t = oKe(e, "string");
+function sKe(e) {
+ var t = cKe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function oKe(e, t) {
+function cKe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -82691,16 +82704,16 @@ function ZQ() {
return e;
}, ZQ.apply(null, arguments);
}
-function sKe(e, t) {
+function lKe(e, t) {
if (e == null) return {};
- var n, r, i = cKe(e, t);
+ var n, r, i = uKe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function cKe(e, t) {
+function uKe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -82709,25 +82722,25 @@ function cKe(e, t) {
}
return n;
}
-function lKe(e, t) {
- return mKe(e) || pKe(e, t) || dKe(e, t) || uKe();
+function dKe(e, t) {
+ return gKe(e) || hKe(e, t) || pKe(e, t) || fKe();
}
-function uKe() {
+function fKe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function dKe(e, t) {
+function pKe(e, t) {
if (e) {
- if (typeof e == "string") return fKe(e, t);
+ if (typeof e == "string") return mKe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? fKe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? mKe(e, t) : void 0;
}
}
-function fKe(e, t) {
+function mKe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function pKe(e, t) {
+function hKe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -82748,14 +82761,14 @@ function pKe(e, t) {
return s;
}
}
-function mKe(e) {
+function gKe(e) {
if (Array.isArray(e)) return e;
}
function QQ(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var hKe = (e, t, n, r, i) => {
- var a = tJ(n), o = tJ(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;
+var _Ke = (e, t, n, r, i) => {
+ var a = nJ(n), o = nJ(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;
if (s > 0 && Array.isArray(i)) {
for (var f = [
0,
@@ -82766,44 +82779,44 @@ var hKe = (e, t, n, r, i) => {
var h = i[p] ?? 0;
f[p] = h > s ? s : h;
}
- d = nJ(KGe ||= QQ([
+ d = rJ(JGe ||= QQ([
"M",
",",
""
- ]), e, t + c * f[0]), f[0] > 0 && (d += nJ(qGe ||= QQ([
+ ]), e, t + c * f[0]), f[0] > 0 && (d += rJ(YGe ||= QQ([
"A ",
",",
",0,0,",
",",
",",
""
- ]), f[0], f[0], u, e + l * f[0], t)), d += nJ(JGe ||= QQ([
+ ]), f[0], f[0], u, e + l * f[0], t)), d += rJ(XGe ||= QQ([
"L ",
",",
""
- ]), e + n - l * f[1], t), f[1] > 0 && (d += nJ(YGe ||= QQ([
+ ]), e + n - l * f[1], t), f[1] > 0 && (d += rJ(ZGe ||= QQ([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[1], f[1], u, e + n, t + c * f[1])), d += nJ(XGe ||= QQ([
+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += rJ(QGe ||= QQ([
"L ",
",",
""
- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += nJ(ZGe ||= QQ([
+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += rJ($Ge ||= QQ([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += nJ(QGe ||= QQ([
+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += rJ(eKe ||= QQ([
"L ",
",",
""
- ]), e + l * f[3], t + r), f[3] > 0 && (d += nJ($Ge ||= QQ([
+ ]), e + l * f[3], t + r), f[3] > 0 && (d += rJ(tKe ||= QQ([
"A ",
",",
",0,0,",
@@ -82813,8 +82826,8 @@ var hKe = (e, t, n, r, i) => {
]), f[3], f[3], u, e, t + r - c * f[3])), d += "Z";
} else if (s > 0 && i === +i && i > 0) {
var g = Math.min(s, i);
- d = nJ(eKe ||= QQ(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);
- } else d = nJ(tKe ||= QQ([
+ d = rJ(nKe ||= QQ(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);
+ } else d = rJ(rKe ||= QQ([
"M ",
",",
" h ",
@@ -82823,7 +82836,7 @@ var hKe = (e, t, n, r, i) => {
" Z"
]), e, t, n, r, -n);
return d;
-}, gKe = {
+}, vKe = {
x: 0,
y: 0,
width: 0,
@@ -82835,14 +82848,14 @@ var hKe = (e, t, n, r, i) => {
animationDuration: 1500,
animationEasing: "ease"
}, $Q = (e) => {
- var t = CY(e, gKe), n = (0, S.useRef)(null), r = lKe((0, S.useState)(-1), 2), i = r[0], a = r[1];
+ var t = wY(e, vKe), n = (0, S.useRef)(null), r = dKe((0, S.useState)(-1), 2), i = r[0], a = r[1];
(0, S.useEffect)(() => {
if (n.current && n.current.getTotalLength) try {
var e = n.current.getTotalLength();
e && a(e);
} catch {}
}, []);
- var o = t.x, s = t.y, c = t.width, l = t.height, u = t.radius, d = t.className, f = t.animationEasing, p = t.animationDuration, m = t.animationBegin, h = t.isAnimationActive, g = t.isUpdateAnimationActive, _ = (0, S.useRef)(c), v = (0, S.useRef)(l), y = (0, S.useRef)(o), b = (0, S.useRef)(s), x = VGe((0, S.useMemo)(() => ({
+ var o = t.x, s = t.y, c = t.width, l = t.height, u = t.radius, d = t.className, f = t.animationEasing, p = t.animationDuration, m = t.animationBegin, h = t.isAnimationActive, g = t.isUpdateAnimationActive, _ = (0, S.useRef)(c), v = (0, S.useRef)(l), y = (0, S.useRef)(o), b = (0, S.useRef)(s), x = UGe((0, S.useMemo)(() => ({
x: o,
y: s,
width: c,
@@ -82858,21 +82871,21 @@ var hKe = (e, t, n, r, i) => {
if (o !== +o || s !== +s || c !== +c || l !== +l || c === 0 || l === 0) return null;
var C = Lv("recharts-rectangle", d);
if (!g) {
- var w = Uq(t);
+ var w = Wq(t);
w.radius;
- var T = sKe(w, WGe);
+ var T = lKe(w, KGe);
return /*#__PURE__*/ S.createElement("path", ZQ({}, T, {
- x: tJ(o),
- y: tJ(s),
- width: tJ(c),
- height: tJ(l),
+ x: nJ(o),
+ y: nJ(s),
+ width: nJ(c),
+ height: nJ(l),
radius: typeof u == "number" ? u : void 0,
className: C,
- d: hKe(o, s, c, l, u)
+ d: _Ke(o, s, c, l, u)
}));
}
- var E = _.current, D = v.current, O = y.current, k = b.current, A = `0px ${i === -1 ? 1 : i}px`, j = `${i}px ${i}px`, M = UGe(["strokeDasharray"], p, typeof f == "string" ? f : gKe.animationEasing);
- return /*#__PURE__*/ S.createElement(BGe, {
+ var E = _.current, D = v.current, O = y.current, k = b.current, A = `0px ${i === -1 ? 1 : i}px`, j = `${i}px ${i}px`, M = GGe(["strokeDasharray"], p, typeof f == "string" ? f : vKe.animationEasing);
+ return /*#__PURE__*/ S.createElement(HGe, {
animationId: x,
key: x,
canBegin: i > 0,
@@ -82881,26 +82894,26 @@ var hKe = (e, t, n, r, i) => {
isActive: g,
begin: m
}, (e) => {
- var r = dJ(E, c, e), i = dJ(D, l, e), a = dJ(O, o, e), d = dJ(k, s, e);
+ var r = fJ(E, c, e), i = fJ(D, l, e), a = fJ(O, o, e), d = fJ(k, s, e);
n.current && (_.current = r, v.current = i, y.current = a, b.current = d);
var f = h ? e > 0 ? {
transition: M,
strokeDasharray: j
- } : { strokeDasharray: A } : { strokeDasharray: j }, p = Uq(t);
+ } : { strokeDasharray: A } : { strokeDasharray: j }, p = Wq(t);
p.radius;
- var m = sKe(p, GGe);
+ var m = lKe(p, qGe);
return /*#__PURE__*/ S.createElement("path", ZQ({}, m, {
radius: typeof u == "number" ? u : void 0,
className: C,
- d: hKe(a, d, r, i, u),
+ d: _Ke(a, d, r, i, u),
ref: n,
- style: rKe(rKe({}, f), t.style)
+ style: aKe(aKe({}, f), t.style)
}));
});
};
//#endregion
//#region node_modules/recharts/es6/util/PolarUtils.js
-function _Ke(e, t) {
+function yKe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -82910,30 +82923,30 @@ function _Ke(e, t) {
}
return n;
}
-function vKe(e) {
+function bKe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? _Ke(Object(n), !0).forEach(function(t) {
- yKe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _Ke(Object(n)).forEach(function(t) {
+ t % 2 ? yKe(Object(n), !0).forEach(function(t) {
+ xKe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yKe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function yKe(e, t, n) {
- return (t = bKe(t)) in e ? Object.defineProperty(e, t, {
+function xKe(e, t, n) {
+ return (t = SKe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function bKe(e) {
- var t = xKe(e, "string");
+function SKe(e) {
+ var t = CKe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function xKe(e, t) {
+function CKe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -82943,10 +82956,10 @@ function xKe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var e$ = Math.PI / 180, t$ = (e) => e * Math.PI / 180, SKe = (e) => e * 180 / Math.PI, n$ = (e, t, n, r) => ({
+var e$ = Math.PI / 180, t$ = (e) => e * Math.PI / 180, wKe = (e) => e * 180 / Math.PI, n$ = (e, t, n, r) => ({
x: e + Math.cos(-e$ * r) * n,
y: t + Math.sin(-e$ * r) * n
-}), CKe = function(e, t) {
+}), TKe = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
top: 0,
right: 0,
@@ -82957,11 +82970,11 @@ var e$ = Math.PI / 180, t$ = (e) => e * Math.PI / 180, SKe = (e) => e * 180 / Ma
brushBottom: 0
};
return Math.min(Math.abs(e - (n.left || 0) - (n.right || 0)), Math.abs(t - (n.top || 0) - (n.bottom || 0))) / 2;
-}, wKe = (e, t) => {
+}, EKe = (e, t) => {
var n = e.x, r = e.y, i = t.x, a = t.y;
return Math.sqrt((n - i) ** 2 + (r - a) ** 2);
-}, TKe = (e, t) => {
- var n = e.x, r = e.y, i = t.cx, a = t.cy, o = wKe({
+}, DKe = (e, t) => {
+ var n = e.x, r = e.y, i = t.cx, a = t.cy, o = EKe({
x: n,
y: r
}, {
@@ -82975,25 +82988,25 @@ var e$ = Math.PI / 180, t$ = (e) => e * Math.PI / 180, SKe = (e) => e * 180 / Ma
var s = (n - i) / o, c = Math.acos(s);
return r > a && (c = 2 * Math.PI - c), {
radius: o,
- angle: SKe(c),
+ angle: wKe(c),
angleInRadian: c
};
-}, EKe = (e) => {
+}, OKe = (e) => {
var t = e.startAngle, n = e.endAngle, r = Math.floor(t / 360), i = Math.floor(n / 360), a = Math.min(r, i);
return {
startAngle: t - a * 360,
endAngle: n - a * 360
};
-}, DKe = (e, t) => {
+}, kKe = (e, t) => {
var n = t.startAngle, r = t.endAngle, i = Math.floor(n / 360), a = Math.floor(r / 360);
return e + Math.min(i, a) * 360;
-}, OKe = (e, t) => {
- var n = e.relativeX, r = e.relativeY, i = TKe({
+}, AKe = (e, t) => {
+ var n = e.relativeX, r = e.relativeY, i = DKe({
x: n,
y: r
}, t), a = i.radius, o = i.angle, s = t.innerRadius, c = t.outerRadius;
if (a < s || a > c || a === 0) return null;
- var l = EKe(t), u = l.startAngle, d = l.endAngle, f = o, p;
+ var l = OKe(t), u = l.startAngle, d = l.endAngle, f = o, p;
if (u <= d) {
for (; f > d;) f -= 360;
for (; f < u;) f += 360;
@@ -83003,14 +83016,14 @@ var e$ = Math.PI / 180, t$ = (e) => e * Math.PI / 180, SKe = (e) => e * 180 / Ma
for (; f < d;) f += 360;
p = f >= d && f <= u;
}
- return p ? vKe(vKe({}, t), {}, {
+ return p ? bKe(bKe({}, t), {}, {
radius: a,
- angle: DKe(f, t)
+ angle: kKe(f, t)
}) : null;
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js
-function kKe(e) {
+function jKe(e) {
var t = e.cx, n = e.cy, r = e.radius, i = e.startAngle, a = e.endAngle;
return {
points: [n$(t, n, r, i), n$(t, n, r, a)],
@@ -83023,7 +83036,7 @@ function kKe(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Sector.js
-var AKe, jKe, MKe, NKe, PKe, FKe, IKe;
+var MKe, NKe, PKe, FKe, IKe, LKe, RKe;
function r$() {
return r$ = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -83036,7 +83049,7 @@ function r$() {
function i$(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var LKe = (e, t) => rJ(t - e) * Math.min(Math.abs(t - e), 359.999), a$ = (e) => {
+var zKe = (e, t) => iJ(t - e) * Math.min(Math.abs(t - e), 359.999), a$ = (e) => {
var t = e.cx, n = e.cy, r = e.radius, i = e.angle, a = e.sign, o = e.isExternal, s = e.cornerRadius, c = e.cornerIsExternal, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / e$, d = c ? i : i + a * u, f = n$(t, n, l, d), p = n$(t, n, r, d), m = c ? i - a * u : i;
return {
center: f,
@@ -83044,8 +83057,8 @@ var LKe = (e, t) => rJ(t - e) * Math.min(Math.abs(t - e), 359.999), a$ = (e) =>
lineTangency: n$(t, n, l * Math.cos(u * e$), m),
theta: u
};
-}, RKe = (e) => {
- var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = LKe(a, o), c = a + s, l = n$(t, n, i, a), u = n$(t, n, i, c), d = nJ(AKe ||= i$([
+}, BKe = (e) => {
+ var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = zKe(a, o), c = a + s, l = n$(t, n, i, a), u = n$(t, n, i, c), d = rJ(MKe ||= i$([
"M ",
",",
"\n A ",
@@ -83058,7 +83071,7 @@ var LKe = (e, t) => rJ(t - e) * Math.min(Math.abs(t - e), 359.999), a$ = (e) =>
]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);
if (r > 0) {
var f = n$(t, n, r, a), p = n$(t, n, r, c);
- d += nJ(jKe ||= i$([
+ d += rJ(NKe ||= i$([
"L ",
",",
"\n A ",
@@ -83069,14 +83082,14 @@ var LKe = (e, t) => rJ(t - e) * Math.min(Math.abs(t - e), 359.999), a$ = (e) =>
",",
" Z"
]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);
- } else d += nJ(MKe ||= i$([
+ } else d += rJ(PKe ||= i$([
"L ",
",",
" Z"
]), t, n);
return d;
-}, zKe = (e) => {
- var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.cornerRadius, o = e.forceCornerRadius, s = e.cornerIsExternal, c = e.startAngle, l = e.endAngle, u = rJ(l - c), d = a$({
+}, VKe = (e) => {
+ var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.cornerRadius, o = e.forceCornerRadius, s = e.cornerIsExternal, c = e.startAngle, l = e.endAngle, u = iJ(l - c), d = a$({
cx: t,
cy: n,
radius: i,
@@ -83093,7 +83106,7 @@ var LKe = (e, t) => rJ(t - e) * Math.min(Math.abs(t - e), 359.999), a$ = (e) =>
cornerRadius: a,
cornerIsExternal: s
}), g = h.circleTangency, _ = h.lineTangency, v = h.theta, y = s ? Math.abs(c - l) : Math.abs(c - l) - m - v;
- if (y < 0) return o ? nJ(NKe ||= i$([
+ if (y < 0) return o ? rJ(FKe ||= i$([
"M ",
",",
"\n a",
@@ -83103,7 +83116,7 @@ var LKe = (e, t) => rJ(t - e) * Math.min(Math.abs(t - e), 359.999), a$ = (e) =>
",",
",0,0,1,",
",0\n "
- ]), p.x, p.y, a, a, a * 2, a, a, -a * 2) : RKe({
+ ]), p.x, p.y, a, a, a * 2, a, a, -a * 2) : BKe({
cx: t,
cy: n,
innerRadius: r,
@@ -83111,7 +83124,7 @@ var LKe = (e, t) => rJ(t - e) * Math.min(Math.abs(t - e), 359.999), a$ = (e) =>
startAngle: c,
endAngle: l
});
- var b = nJ(PKe ||= i$([
+ var b = rJ(IKe ||= i$([
"M ",
",",
"\n A",
@@ -83153,7 +83166,7 @@ var LKe = (e, t) => rJ(t - e) * Math.min(Math.abs(t - e), 359.999), a$ = (e) =>
cornerIsExternal: s
}), E = T.circleTangency, D = T.lineTangency, O = T.theta, k = s ? Math.abs(c - l) : Math.abs(c - l) - w - O;
if (k < 0 && a === 0) return `${b}L${t},${n}Z`;
- b += nJ(FKe ||= i$([
+ b += rJ(LKe ||= i$([
"L",
",",
"\n A",
@@ -83174,13 +83187,13 @@ var LKe = (e, t) => rJ(t - e) * Math.min(Math.abs(t - e), 359.999), a$ = (e) =>
",",
"Z"
]), D.x, D.y, a, a, +(u < 0), E.x, E.y, r, r, +(k > 180), +(u > 0), S.x, S.y, a, a, +(u < 0), C.x, C.y);
- } else b += nJ(IKe ||= i$([
+ } else b += rJ(RKe ||= i$([
"L",
",",
"Z"
]), t, n);
return b;
-}, BKe = {
+}, HKe = {
cx: 0,
cy: 0,
innerRadius: 0,
@@ -83191,9 +83204,9 @@ var LKe = (e, t) => rJ(t - e) * Math.min(Math.abs(t - e), 359.999), a$ = (e) =>
forceCornerRadius: !1,
cornerIsExternal: !1
}, o$ = (e) => {
- var t = CY(e, BKe), n = t.cx, r = t.cy, i = t.innerRadius, a = t.outerRadius, o = t.cornerRadius, s = t.forceCornerRadius, c = t.cornerIsExternal, l = t.startAngle, u = t.endAngle, d = t.className;
+ var t = wY(e, HKe), n = t.cx, r = t.cy, i = t.innerRadius, a = t.outerRadius, o = t.cornerRadius, s = t.forceCornerRadius, c = t.cornerIsExternal, l = t.startAngle, u = t.endAngle, d = t.className;
if (a < i || l === u) return null;
- var f = Lv("recharts-sector", d), p = a - i, m = lJ(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? zKe({
+ var f = Lv("recharts-sector", d), p = a - i, m = uJ(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? VKe({
cx: n,
cy: r,
innerRadius: i,
@@ -83203,7 +83216,7 @@ var LKe = (e, t) => rJ(t - e) * Math.min(Math.abs(t - e), 359.999), a$ = (e) =>
cornerIsExternal: c,
startAngle: l,
endAngle: u
- }) : RKe({
+ }) : BKe({
cx: n,
cy: r,
innerRadius: i,
@@ -83211,14 +83224,14 @@ var LKe = (e, t) => rJ(t - e) * Math.min(Math.abs(t - e), 359.999), a$ = (e) =>
startAngle: l,
endAngle: u
});
- return /*#__PURE__*/ S.createElement("path", r$({}, Uq(t), {
+ return /*#__PURE__*/ S.createElement("path", r$({}, Wq(t), {
className: f,
d: h
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorPoints.js
-function VKe(e, t, n) {
+function UKe(e, t, n) {
if (e === "horizontal") return [{
x: t.x,
y: n.top
@@ -83233,7 +83246,7 @@ function VKe(e, t, n) {
x: n.left + n.width,
y: t.y
}];
- if (yY(t)) {
+ if (bY(t)) {
if (e === "centric") {
var r = t.cx, i = t.cy, a = t.innerRadius, o = t.outerRadius, s = t.angle, c = n$(r, i, a, s), l = n$(r, i, o, s);
return [{
@@ -83244,23 +83257,23 @@ function VKe(e, t, n) {
y: l.y
}];
}
- return kKe(t);
+ return jKe(t);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs
-function HKe(e) {
- return Zq(e) ? NaN : Number(e);
+function WKe(e) {
+ return Qq(e) ? NaN : Number(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs
function s$(e) {
- return e ? (e = HKe(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
+ return e ? (e = WKe(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/range.mjs
-function UKe(e, t, n) {
- n && typeof n != "number" && wX(e, t, n) && (t = n = void 0), e = s$(e), t === void 0 ? (t = e, e = 0) : t = s$(t), n = n === void 0 ? e < t ? 1 : -1 : s$(n);
+function GKe(e, t, n) {
+ n && typeof n != "number" && TX(e, t, n) && (t = n = void 0), e = s$(e), t === void 0 ? (t = e, e = 0) : t = s$(t), n = n === void 0 ? e < t ? 1 : -1 : s$(n);
let r = Math.max(Math.ceil((t - e) / (n || 1)), 0), i = Array(r);
for (let t = 0; t < r; t++) i[t] = e, e += n;
return i;
@@ -83275,37 +83288,37 @@ var c$ = (e) => e.chartData, l$ = Y([c$], (e) => {
dataEndIndex: t,
dataStartIndex: 0
};
-}), u$ = (e, t, n, r) => r ? l$(e) : c$(e), WKe = (e, t, n) => n ? l$(e) : c$(e), GKe = Y([u$], (e) => {
+}), u$ = (e, t, n, r) => r ? l$(e) : c$(e), KKe = (e, t, n) => n ? l$(e) : c$(e), qKe = Y([u$], (e) => {
var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;
return t == null ? [] : t.slice(n, r + 1);
-}), KKe = Y([l$], (e) => {
+}), JKe = Y([l$], (e) => {
var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;
return t == null ? [] : t.slice(n, r + 1);
-}), qKe = Y([c$], (e) => {
+}), YKe = Y([c$], (e) => {
var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;
return t == null ? [] : t.slice(n, r + 1);
});
//#endregion
//#region node_modules/recharts/es6/util/isDomainSpecifiedByUser.js
function d$(e, t) {
- return QKe(e) || ZKe(e, t) || YKe(e, t) || JKe();
+ return eqe(e) || $Ke(e, t) || ZKe(e, t) || XKe();
}
-function JKe() {
+function XKe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function YKe(e, t) {
+function ZKe(e, t) {
if (e) {
- if (typeof e == "string") return XKe(e, t);
+ if (typeof e == "string") return QKe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? XKe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? QKe(e, t) : void 0;
}
}
-function XKe(e, t) {
+function QKe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function ZKe(e, t) {
+function $Ke(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -83326,7 +83339,7 @@ function ZKe(e, t) {
return s;
}
}
-function QKe(e) {
+function eqe(e) {
if (Array.isArray(e)) return e;
}
function f$(e) {
@@ -83336,10 +83349,10 @@ function f$(e) {
}
return !1;
}
-function $Ke(e, t, n) {
+function tqe(e, t, n) {
return n ? e : [Math.min(e[0], t[0]), Math.max(e[1], t[1])];
}
-function eqe(e, t) {
+function nqe(e, t) {
if (t && typeof e != "function" && Array.isArray(e) && e.length === 2) {
var n = d$(e, 2), r = n[0], i = n[1], a, o;
if (QZ(r)) a = r;
@@ -83350,21 +83363,21 @@ function eqe(e, t) {
if (f$(s)) return s;
}
}
-function tqe(e, t, n) {
+function rqe(e, t, n) {
if (n || t != null) {
if (typeof e == "function" && t != null) try {
var r = e(t, n);
- if (f$(r)) return $Ke(r, t, n);
+ if (f$(r)) return tqe(r, t, n);
} catch {}
if (Array.isArray(e) && e.length === 2) {
var i = d$(e, 2), a = i[0], o = i[1], s, c;
if (a === "auto") t != null && (s = Math.min(...t));
- else if (oJ(a)) s = a;
+ else if (sJ(a)) s = a;
else if (typeof a == "function") try {
t != null && (s = a(t?.[0]));
} catch {}
- else if (typeof a == "string" && uHe.test(a)) {
- var l = uHe.exec(a);
+ else if (typeof a == "string" && fHe.test(a)) {
+ var l = fHe.exec(a);
if (l == null || l[1] == null || t == null) s = void 0;
else {
var u = +l[1];
@@ -83372,12 +83385,12 @@ function tqe(e, t, n) {
}
} else s = t?.[0];
if (o === "auto") t != null && (c = Math.max(...t));
- else if (oJ(o)) c = o;
+ else if (sJ(o)) c = o;
else if (typeof o == "function") try {
t != null && (c = o(t?.[1]));
} catch {}
- else if (typeof o == "string" && dHe.test(o)) {
- var d = dHe.exec(o);
+ else if (typeof o == "string" && pHe.test(o)) {
+ var d = pHe.exec(o);
if (d == null || d[1] == null || t == null) c = void 0;
else {
var f = +d[1];
@@ -83385,7 +83398,7 @@ function tqe(e, t, n) {
}
} else c = t?.[1];
var p = [s, c];
- if (f$(p)) return t == null ? p : $Ke(p, t, n);
+ if (f$(p)) return t == null ? p : tqe(p, t, n);
}
}
}
@@ -83766,34 +83779,34 @@ var p$ = /* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {
}) : t !== void 0 && t.exports ? t.exports = r : (e ||= typeof self < "u" && self && self.self == self ? self : Function("return this")(), e.Decimal = r);
})(e);
})))());
-function nqe(e) {
+function iqe(e) {
return e === 0 ? 1 : Math.floor(new p$.default(e).abs().log(10).toNumber()) + 1;
}
-function rqe(e, t, n) {
+function aqe(e, t, n) {
for (var r = new p$.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;
return a;
}
//#endregion
//#region node_modules/recharts/es6/util/scale/getNiceTickValues.js
function m$(e, t) {
- return cqe(e) || sqe(e, t) || aqe(e, t) || iqe();
+ return uqe(e) || lqe(e, t) || sqe(e, t) || oqe();
}
-function iqe() {
+function oqe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function aqe(e, t) {
+function sqe(e, t) {
if (e) {
- if (typeof e == "string") return oqe(e, t);
+ if (typeof e == "string") return cqe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? oqe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? cqe(e, t) : void 0;
}
}
-function oqe(e, t) {
+function cqe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function sqe(e, t) {
+function lqe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -83814,17 +83827,17 @@ function sqe(e, t) {
return s;
}
}
-function cqe(e) {
+function uqe(e) {
if (Array.isArray(e)) return e;
}
-var lqe = (e) => {
+var dqe = (e) => {
var t = m$(e, 2), n = t[0], r = t[1], i = n, a = r;
return n > r && (i = r, a = n), [i, a];
}, h$ = (e, t, n) => {
if (e.lte(0)) return new p$.default(0);
- var r = nqe(e.toNumber()), i = new p$.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new p$.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);
+ var r = iqe(e.toNumber()), i = new p$.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new p$.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);
return t ? new p$.default(s.toNumber()) : new p$.default(Math.ceil(s.toNumber()));
-}, uqe = (e, t, n) => {
+}, fqe = (e, t, n) => {
if (e.lte(0)) return new p$.default(0);
var r = [
1,
@@ -83838,15 +83851,15 @@ var lqe = (e) => {
}
var u = r[c] ?? 1, d = new p$.default(u).mul(o);
return t ? d : new p$.default(Math.ceil(d.toNumber()));
-}, dqe = (e, t, n) => {
+}, pqe = (e, t, n) => {
var r = new p$.default(1), i = new p$.default(e);
if (!i.isint() && n) {
var a = Math.abs(e);
- a < 1 ? (r = new p$.default(10).pow(nqe(e) - 1), i = new p$.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new p$.default(Math.floor(e)));
+ a < 1 ? (r = new p$.default(10).pow(iqe(e) - 1), i = new p$.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new p$.default(Math.floor(e)));
} else e === 0 ? i = new p$.default(Math.floor((t - 1) / 2)) : n || (i = new p$.default(Math.floor(e)));
for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new p$.default(c - o).mul(r)).toNumber());
return s;
-}, fqe = function(e, t, n, r) {
+}, mqe = function(e, t, n, r) {
var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : h$;
if (!Number.isFinite((t - e) / (n - 1))) return {
step: new p$.default(0),
@@ -83856,32 +83869,32 @@ var lqe = (e) => {
var o = a(new p$.default(t).sub(e).div(n - 1), r, i), s;
e <= 0 && t >= 0 ? s = new p$.default(0) : (s = new p$.default(e).add(t).div(2), s = s.sub(new p$.default(s).mod(o)));
var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new p$.default(t).sub(s).div(o).toNumber()), u = c + l + 1;
- return u > n ? fqe(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {
+ return u > n ? mqe(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {
step: o,
tickMin: s.sub(new p$.default(c).mul(o)),
tickMax: s.add(new p$.default(l).mul(o))
});
-}, pqe = function(e) {
- var t = m$(e, 2), n = t[0], r = t[1], i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = Math.max(i, 2), c = m$(lqe([n, r]), 2), l = c[0], u = c[1];
+}, hqe = function(e) {
+ var t = m$(e, 2), n = t[0], r = t[1], i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = Math.max(i, 2), c = m$(dqe([n, r]), 2), l = c[0], u = c[1];
if (l === -Infinity || u === Infinity) {
var d = u === Infinity ? [l, ...Array(i - 1).fill(Infinity)] : [...Array(i - 1).fill(-Infinity), u];
return n > r ? d.reverse() : d;
}
- if (l === u) return dqe(l, i, a);
- var f = fqe(l, u, s, a, 0, o === "snap125" ? uqe : h$), p = f.step, m = f.tickMin, h = f.tickMax, g = rqe(m, h.add(new p$.default(.1).mul(p)), p);
+ if (l === u) return pqe(l, i, a);
+ var f = mqe(l, u, s, a, 0, o === "snap125" ? fqe : h$), p = f.step, m = f.tickMin, h = f.tickMax, g = aqe(m, h.add(new p$.default(.1).mul(p)), p);
return n > r ? g.reverse() : g;
-}, mqe = function(e, t) {
- var n = m$(e, 2), r = n[0], i = n[1], a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = m$(lqe([r, i]), 2), c = s[0], l = s[1];
+}, gqe = function(e, t) {
+ var n = m$(e, 2), r = n[0], i = n[1], a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = m$(dqe([r, i]), 2), c = s[0], l = s[1];
if (c === -Infinity || l === Infinity) return [r, i];
if (c === l) return [c];
- var u = o === "snap125" ? uqe : h$, d = Math.max(t, 2), f = u(new p$.default(l).sub(c).div(d - 1), a, 0), p = [...rqe(new p$.default(c), new p$.default(l), f), l];
+ var u = o === "snap125" ? fqe : h$, d = Math.max(t, 2), f = u(new p$.default(l).sub(c).div(d - 1), a, 0), p = [...aqe(new p$.default(c), new p$.default(l), f), l];
if (a === !1) {
p = p.map((e) => Math.round(e));
var m = p.length - 1;
m > 0 && p[m] === p[m - 1] && (p = p.slice(0, m));
}
return r > i ? p.reverse() : p;
-}, g$ = (e) => e.rootProps.maxBarSize, hqe = (e) => e.rootProps.barGap, _$ = (e) => e.rootProps.barCategoryGap, gqe = (e) => e.rootProps.barSize, v$ = (e) => e.rootProps.stackOffset, y$ = (e) => e.rootProps.reverseStackOrder, b$ = (e) => e.options.chartName, x$ = (e) => e.rootProps.syncId, _qe = (e) => e.rootProps.syncMethod, S$ = (e) => e.options.eventEmitter, vqe = (e) => e.rootProps.baseValue, C$ = {
+}, g$ = (e) => e.rootProps.maxBarSize, _qe = (e) => e.rootProps.barGap, _$ = (e) => e.rootProps.barCategoryGap, vqe = (e) => e.rootProps.barSize, v$ = (e) => e.rootProps.stackOffset, y$ = (e) => e.rootProps.reverseStackOrder, b$ = (e) => e.options.chartName, x$ = (e) => e.rootProps.syncId, yqe = (e) => e.rootProps.syncMethod, S$ = (e) => e.options.eventEmitter, bqe = (e) => e.rootProps.baseValue, C$ = {
grid: -100,
barBackground: -50,
area: 100,
@@ -83947,7 +83960,7 @@ function D$(e, t, n) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/polarAxisSelectors.js
-function yqe(e, t) {
+function xqe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -83960,27 +83973,27 @@ function yqe(e, t) {
function O$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? yqe(Object(n), !0).forEach(function(t) {
- bqe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yqe(Object(n)).forEach(function(t) {
+ t % 2 ? xqe(Object(n), !0).forEach(function(t) {
+ Sqe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xqe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function bqe(e, t, n) {
- return (t = xqe(t)) in e ? Object.defineProperty(e, t, {
+function Sqe(e, t, n) {
+ return (t = Cqe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function xqe(e) {
- var t = Sqe(e, "string");
+function Cqe(e) {
+ var t = wqe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Sqe(e, t) {
+function wqe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -83990,7 +84003,7 @@ function Sqe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Cqe = {
+var Tqe = {
allowDataOverflow: w$.allowDataOverflow,
allowDecimals: w$.allowDecimals,
allowDuplicatedCategory: !1,
@@ -84007,7 +84020,7 @@ var Cqe = {
type: w$.type,
unit: void 0,
niceTicks: "auto"
-}, wqe = {
+}, Eqe = {
allowDataOverflow: T$.allowDataOverflow,
allowDecimals: T$.allowDecimals,
allowDuplicatedCategory: T$.allowDuplicatedCategory,
@@ -84028,39 +84041,39 @@ var Cqe = {
if (t != null) return e.polarAxis.angleAxis[t];
}, AQ], (e, t) => {
if (e != null) return e;
- var n = D$(t, "angleAxis", Cqe.type) ?? "category";
- return O$(O$({}, Cqe), {}, { type: n });
+ var n = D$(t, "angleAxis", Tqe.type) ?? "category";
+ return O$(O$({}, Tqe), {}, { type: n });
}), A$ = Y([(e, t) => e.polarAxis.radiusAxis[t], AQ], (e, t) => {
if (e != null) return e;
- var n = D$(t, "radiusAxis", wqe.type) ?? "category";
- return O$(O$({}, wqe), {}, { type: n });
+ var n = D$(t, "radiusAxis", Eqe.type) ?? "category";
+ return O$(O$({}, Eqe), {}, { type: n });
}), j$ = (e) => e.polarOptions, M$ = Y([
cQ,
lQ,
mQ
-], CKe), Tqe = Y([j$, M$], (e, t) => {
- if (e != null) return lJ(e.innerRadius, t, 0);
-}), Eqe = Y([j$, M$], (e, t) => {
- if (e != null) return lJ(e.outerRadius, t, t * .8);
-}), Dqe = Y([j$], (e) => e == null ? [0, 0] : [e.startAngle, e.endAngle]), Oqe = Y([k$, Dqe], E$), kqe = Y([
+], TKe), Dqe = Y([j$, M$], (e, t) => {
+ if (e != null) return uJ(e.innerRadius, t, 0);
+}), Oqe = Y([j$, M$], (e, t) => {
+ if (e != null) return uJ(e.outerRadius, t, t * .8);
+}), kqe = Y([j$], (e) => e == null ? [0, 0] : [e.startAngle, e.endAngle]), Aqe = Y([k$, kqe], E$), jqe = Y([
M$,
- Tqe,
- Eqe
+ Dqe,
+ Oqe
], (e, t, n) => {
if (e != null && t != null && n != null) return [t, n];
-}), Aqe = Y([A$, kqe], E$), N$ = Y([
+}), Mqe = Y([A$, jqe], E$), N$ = Y([
DQ,
j$,
- Tqe,
- Eqe,
+ Dqe,
+ Oqe,
cQ,
lQ
], (e, t, n, r, i, a) => {
if (!(e !== "centric" && e !== "radial" || t == null || n == null || r == null)) {
var o = t.cx, s = t.cy, c = t.startAngle, l = t.endAngle;
return {
- cx: lJ(o, i, i / 2),
- cy: lJ(s, a, a / 2),
+ cx: uJ(o, i, i / 2),
+ cy: uJ(s, a, a / 2),
innerRadius: n,
outerRadius: r,
startAngle: c,
@@ -84102,7 +84115,7 @@ var z$ = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] &&
function B$(e, t) {
return Array.isArray(e) && Array.isArray(t) && e.length === 0 && t.length === 0 ? !0 : e === t;
}
-function jqe(e, t) {
+function Nqe(e, t) {
if (e.length === t.length) {
for (var n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1;
return !0;
@@ -84158,7 +84171,7 @@ function U$(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineCheckedDomain.js
-var Mqe = (e, t) => {
+var Pqe = (e, t) => {
if (t != null) switch (e) {
case "linear":
if (!f$(t)) {
@@ -84181,7 +84194,7 @@ function W$(e, t) {
//#region node_modules/d3-array/src/bisector.js
function G$(e) {
let t = e, n = e;
- e.length === 1 && (t = (t, n) => e(t) - n, n = Nqe(e));
+ e.length === 1 && (t = (t, n) => e(t) - n, n = Fqe(e));
function r(e, t, r, i) {
for (r ??= 0, i ??= e.length; r < i;) {
let a = r + i >>> 1;
@@ -84207,15 +84220,15 @@ function G$(e) {
right: i
};
}
-function Nqe(e) {
+function Fqe(e) {
return (t, n) => W$(e(t), n);
}
//#endregion
//#region node_modules/d3-array/src/number.js
-function Pqe(e) {
+function Iqe(e) {
return e === null ? NaN : +e;
}
-function* Fqe(e, t) {
+function* Lqe(e, t) {
if (t === void 0) for (let t of e) t != null && (t = +t) >= t && (yield t);
else {
let n = -1;
@@ -84224,43 +84237,43 @@ function* Fqe(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/bisect.js
-var Iqe = G$(W$), K$ = Iqe.right;
-Iqe.left, G$(Pqe).center;
+var Rqe = G$(W$), K$ = Rqe.right;
+Rqe.left, G$(Iqe).center;
//#endregion
//#region node_modules/internmap/src/index.js
-var Lqe = class extends Map {
- constructor(e, t = Vqe) {
+var zqe = class extends Map {
+ constructor(e, t = Uqe) {
if (super(), Object.defineProperties(this, {
_intern: { value: /* @__PURE__ */ new Map() },
_key: { value: t }
}), e != null) for (let [t, n] of e) this.set(t, n);
}
get(e) {
- return super.get(Rqe(this, e));
+ return super.get(Bqe(this, e));
}
has(e) {
- return super.has(Rqe(this, e));
+ return super.has(Bqe(this, e));
}
set(e, t) {
- return super.set(zqe(this, e), t);
+ return super.set(Vqe(this, e), t);
}
delete(e) {
- return super.delete(Bqe(this, e));
+ return super.delete(Hqe(this, e));
}
};
-function Rqe({ _intern: e, _key: t }, n) {
+function Bqe({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : n;
}
-function zqe({ _intern: e, _key: t }, n) {
+function Vqe({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : (e.set(r, n), n);
}
-function Bqe({ _intern: e, _key: t }, n) {
+function Hqe({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) && (n = e.get(n), e.delete(r)), n;
}
-function Vqe(e) {
+function Uqe(e) {
return typeof e == "object" && e ? e.valueOf() : e;
}
//#endregion
@@ -84269,7 +84282,7 @@ var q$ = Math.sqrt(50), J$ = Math.sqrt(10), Y$ = Math.sqrt(2);
function X$(e, t, n) {
var r, i = -1, a, o, s;
if (t = +t, e = +e, n = +n, e === t && n > 0) return [e];
- if ((r = t < e) && (a = e, e = t, t = a), (s = Hqe(e, t, n)) === 0 || !isFinite(s)) return [];
+ if ((r = t < e) && (a = e, e = t, t = a), (s = Wqe(e, t, n)) === 0 || !isFinite(s)) return [];
if (s > 0) {
let n = Math.round(e / s), r = Math.round(t / s);
for (n * s < e && ++n, r * s > t && --r, o = Array(a = r - n + 1); ++i < a;) o[i] = (n + i) * s;
@@ -84280,7 +84293,7 @@ function X$(e, t, n) {
}
return r && o.reverse(), o;
}
-function Hqe(e, t, n) {
+function Wqe(e, t, n) {
var r = (t - e) / Math.max(0, n), i = Math.floor(Math.log(r) / Math.LN10), a = r / 10 ** i;
return i >= 0 ? (a >= q$ ? 10 : a >= J$ ? 5 : a >= Y$ ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= q$ ? 10 : a >= J$ ? 5 : a >= Y$ ? 2 : 1);
}
@@ -84312,11 +84325,11 @@ function $$(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/quickselect.js
-function Uqe(e, t, n = 0, r = e.length - 1, i = W$) {
+function Gqe(e, t, n = 0, r = e.length - 1, i = W$) {
for (; r > n;) {
if (r - n > 600) {
let a = r - n + 1, o = t - n + 1, s = Math.log(a), c = .5 * Math.exp(2 * s / 3), l = .5 * Math.sqrt(s * c * (a - c) / a) * (o - a / 2 < 0 ? -1 : 1);
- Uqe(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
+ Gqe(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
}
let a = e[t], o = n, s = r;
for (e1(e, n, t), i(e[r], a) > 0 && e1(e, n, r); o < s;) {
@@ -84333,15 +84346,15 @@ function e1(e, t, n) {
}
//#endregion
//#region node_modules/d3-array/src/quantile.js
-function Wqe(e, t, n) {
- if (e = Float64Array.from(Fqe(e, n)), r = e.length) {
+function Kqe(e, t, n) {
+ if (e = Float64Array.from(Lqe(e, n)), r = e.length) {
if ((t = +t) <= 0 || r < 2) return $$(e);
if (t >= 1) return Q$(e);
- var r, i = (r - 1) * t, a = Math.floor(i), o = Q$(Uqe(e, a).subarray(0, a + 1));
+ var r, i = (r - 1) * t, a = Math.floor(i), o = Q$(Gqe(e, a).subarray(0, a + 1));
return o + ($$(e.subarray(a + 1)) - o) * (i - a);
}
}
-function Gqe(e, t, n = Pqe) {
+function qqe(e, t, n = Iqe) {
if (r = e.length) {
if ((t = +t) <= 0 || r < 2) return +n(e[0], 0, e);
if (t >= 1) return +n(e[r - 1], r - 1, e);
@@ -84351,7 +84364,7 @@ function Gqe(e, t, n = Pqe) {
}
//#endregion
//#region node_modules/d3-array/src/range.js
-function Kqe(e, t, n) {
+function Jqe(e, t, n) {
e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;
for (var r = -1, i = Math.max(0, Math.ceil((t - e) / n)) | 0, a = Array(i); ++r < i;) a[r] = e + r * n;
return a;
@@ -84393,7 +84406,7 @@ function r1(e, t) {
//#region node_modules/d3-scale/src/ordinal.js
var i1 = Symbol("implicit");
function a1() {
- var e = new Lqe(), t = [], n = [], r = i1;
+ var e = new zqe(), t = [], n = [], r = i1;
function i(i) {
let a = e.get(i);
if (a === void 0) {
@@ -84404,7 +84417,7 @@ function a1() {
}
return i.domain = function(n) {
if (!arguments.length) return t.slice();
- t = [], e = new Lqe();
+ t = [], e = new zqe();
for (let r of n) e.has(r) || e.set(r, t.push(r) - 1);
return i;
}, i.range = function(e) {
@@ -84423,7 +84436,7 @@ function o1() {
function d() {
var e = t().length, d = i < r, f = d ? i : r, p = d ? r : i;
a = (p - f) / Math.max(1, e - c + l * 2), s && (a = Math.floor(a)), f += (p - f - a * (e - c)) * u, o = a * (1 - c), s && (f = Math.round(f), o = Math.round(o));
- var m = Kqe(e).map(function(e) {
+ var m = Jqe(e).map(function(e) {
return f + a * e;
});
return n(d ? m.reverse() : m);
@@ -84452,21 +84465,21 @@ function o1() {
return o1(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);
}, n1.apply(d(), arguments);
}
-function qqe(e) {
+function Yqe(e) {
var t = e.copy;
return e.padding = e.paddingOuter, delete e.paddingInner, delete e.paddingOuter, e.copy = function() {
- return qqe(t());
+ return Yqe(t());
}, e;
}
-function Jqe() {
- return qqe(o1.apply(null, arguments).paddingInner(1));
+function Xqe() {
+ return Yqe(o1.apply(null, arguments).paddingInner(1));
}
//#endregion
//#region node_modules/d3-color/src/define.js
function s1(e, t, n) {
e.prototype = t.prototype = n, n.constructor = e;
}
-function Yqe(e, t) {
+function Zqe(e, t) {
var n = Object.create(e.prototype);
for (var r in t) n[r] = t[r];
return n;
@@ -84474,7 +84487,7 @@ function Yqe(e, t) {
//#endregion
//#region node_modules/d3-color/src/color.js
function c1() {}
-var l1 = .7, u1 = 1 / l1, d1 = "\\s*([+-]?\\d+)\\s*", f1 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", p1 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Xqe = /^#([0-9a-f]{3,8})$/, Zqe = RegExp(`^rgb\\(${d1},${d1},${d1}\\)$`), Qqe = RegExp(`^rgb\\(${p1},${p1},${p1}\\)$`), $qe = RegExp(`^rgba\\(${d1},${d1},${d1},${f1}\\)$`), eJe = RegExp(`^rgba\\(${p1},${p1},${p1},${f1}\\)$`), tJe = RegExp(`^hsl\\(${f1},${p1},${p1}\\)$`), nJe = RegExp(`^hsla\\(${f1},${p1},${p1},${f1}\\)$`), rJe = {
+var l1 = .7, u1 = 1 / l1, d1 = "\\s*([+-]?\\d+)\\s*", f1 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", p1 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Qqe = /^#([0-9a-f]{3,8})$/, $qe = RegExp(`^rgb\\(${d1},${d1},${d1}\\)$`), eJe = RegExp(`^rgb\\(${p1},${p1},${p1}\\)$`), tJe = RegExp(`^rgba\\(${d1},${d1},${d1},${f1}\\)$`), nJe = RegExp(`^rgba\\(${p1},${p1},${p1},${f1}\\)$`), rJe = RegExp(`^hsl\\(${f1},${p1},${p1}\\)$`), iJe = RegExp(`^hsla\\(${f1},${p1},${p1},${f1}\\)$`), aJe = {
aliceblue: 15792383,
antiquewhite: 16444375,
aqua: 65535,
@@ -84631,45 +84644,45 @@ s1(c1, m1, {
displayable() {
return this.rgb().displayable();
},
- hex: iJe,
- formatHex: iJe,
- formatHex8: aJe,
- formatHsl: oJe,
- formatRgb: sJe,
- toString: sJe
+ hex: oJe,
+ formatHex: oJe,
+ formatHex8: sJe,
+ formatHsl: cJe,
+ formatRgb: lJe,
+ toString: lJe
});
-function iJe() {
+function oJe() {
return this.rgb().formatHex();
}
-function aJe() {
+function sJe() {
return this.rgb().formatHex8();
}
-function oJe() {
- return mJe(this).formatHsl();
+function cJe() {
+ return gJe(this).formatHsl();
}
-function sJe() {
+function lJe() {
return this.rgb().formatRgb();
}
function m1(e) {
var t, n;
- return e = (e + "").trim().toLowerCase(), (t = Xqe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? cJe(t) : n === 3 ? new _1(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? h1(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? h1(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = Zqe.exec(e)) ? new _1(t[1], t[2], t[3], 1) : (t = Qqe.exec(e)) ? new _1(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = $qe.exec(e)) ? h1(t[1], t[2], t[3], t[4]) : (t = eJe.exec(e)) ? h1(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = tJe.exec(e)) ? pJe(t[1], t[2] / 100, t[3] / 100, 1) : (t = nJe.exec(e)) ? pJe(t[1], t[2] / 100, t[3] / 100, t[4]) : rJe.hasOwnProperty(e) ? cJe(rJe[e]) : e === "transparent" ? new _1(NaN, NaN, NaN, 0) : null;
+ return e = (e + "").trim().toLowerCase(), (t = Qqe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? uJe(t) : n === 3 ? new _1(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? h1(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? h1(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = $qe.exec(e)) ? new _1(t[1], t[2], t[3], 1) : (t = eJe.exec(e)) ? new _1(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = tJe.exec(e)) ? h1(t[1], t[2], t[3], t[4]) : (t = nJe.exec(e)) ? h1(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = rJe.exec(e)) ? hJe(t[1], t[2] / 100, t[3] / 100, 1) : (t = iJe.exec(e)) ? hJe(t[1], t[2] / 100, t[3] / 100, t[4]) : aJe.hasOwnProperty(e) ? uJe(aJe[e]) : e === "transparent" ? new _1(NaN, NaN, NaN, 0) : null;
}
-function cJe(e) {
+function uJe(e) {
return new _1(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
}
function h1(e, t, n, r) {
return r <= 0 && (e = t = n = NaN), new _1(e, t, n, r);
}
-function lJe(e) {
+function dJe(e) {
return e instanceof c1 || (e = m1(e)), e ? (e = e.rgb(), new _1(e.r, e.g, e.b, e.opacity)) : new _1();
}
function g1(e, t, n, r) {
- return arguments.length === 1 ? lJe(e) : new _1(e, t, n, r ?? 1);
+ return arguments.length === 1 ? dJe(e) : new _1(e, t, n, r ?? 1);
}
function _1(e, t, n, r) {
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
}
-s1(_1, g1, Yqe(c1, {
+s1(_1, g1, Zqe(c1, {
brighter(e) {
return e = e == null ? u1 : u1 ** +e, new _1(this.r * e, this.g * e, this.b * e, this.opacity);
},
@@ -84685,19 +84698,19 @@ s1(_1, g1, Yqe(c1, {
displayable() {
return -.5 <= this.r && this.r < 255.5 && -.5 <= this.g && this.g < 255.5 && -.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
},
- hex: uJe,
- formatHex: uJe,
- formatHex8: dJe,
- formatRgb: fJe,
- toString: fJe
+ hex: fJe,
+ formatHex: fJe,
+ formatHex8: pJe,
+ formatRgb: mJe,
+ toString: mJe
}));
-function uJe() {
+function fJe() {
return `#${b1(this.r)}${b1(this.g)}${b1(this.b)}`;
}
-function dJe() {
+function pJe() {
return `#${b1(this.r)}${b1(this.g)}${b1(this.b)}${b1((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
}
-function fJe() {
+function mJe() {
let e = v1(this.opacity);
return `${e === 1 ? "rgb(" : "rgba("}${y1(this.r)}, ${y1(this.g)}, ${y1(this.b)}${e === 1 ? ")" : `, ${e})`}`;
}
@@ -84710,10 +84723,10 @@ function y1(e) {
function b1(e) {
return e = y1(e), (e < 16 ? "0" : "") + e.toString(16);
}
-function pJe(e, t, n, r) {
+function hJe(e, t, n, r) {
return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new x1(e, t, n, r);
}
-function mJe(e) {
+function gJe(e) {
if (e instanceof x1) return new x1(e.h, e.s, e.l, e.opacity);
if (e instanceof c1 || (e = m1(e)), !e) return new x1();
if (e instanceof x1) return e;
@@ -84721,13 +84734,13 @@ function mJe(e) {
var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;
return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new x1(o, s, c, e.opacity);
}
-function hJe(e, t, n, r) {
- return arguments.length === 1 ? mJe(e) : new x1(e, t, n, r ?? 1);
+function _Je(e, t, n, r) {
+ return arguments.length === 1 ? gJe(e) : new x1(e, t, n, r ?? 1);
}
function x1(e, t, n, r) {
this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
}
-s1(x1, hJe, Yqe(c1, {
+s1(x1, _Je, Zqe(c1, {
brighter(e) {
return e = e == null ? u1 : u1 ** +e, new x1(this.h, this.s, this.l * e, this.opacity);
},
@@ -84739,17 +84752,17 @@ s1(x1, hJe, Yqe(c1, {
return new _1(C1(e >= 240 ? e - 240 : e + 120, i, r), C1(e, i, r), C1(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
},
clamp() {
- return new x1(gJe(this.h), S1(this.s), S1(this.l), v1(this.opacity));
+ return new x1(vJe(this.h), S1(this.s), S1(this.l), v1(this.opacity));
},
displayable() {
return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
},
formatHsl() {
let e = v1(this.opacity);
- return `${e === 1 ? "hsl(" : "hsla("}${gJe(this.h)}, ${S1(this.s) * 100}%, ${S1(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
+ return `${e === 1 ? "hsl(" : "hsla("}${vJe(this.h)}, ${S1(this.s) * 100}%, ${S1(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
}
}));
-function gJe(e) {
+function vJe(e) {
return e = (e || 0) % 360, e < 0 ? e + 360 : e;
}
function S1(e) {
@@ -84763,31 +84776,31 @@ function C1(e, t, n) {
var w1 = (e) => () => e;
//#endregion
//#region node_modules/d3-interpolate/src/color.js
-function _Je(e, t) {
+function yJe(e, t) {
return function(n) {
return e + n * t;
};
}
-function vJe(e, t, n) {
+function bJe(e, t, n) {
return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {
return (e + r * t) ** +n;
};
}
-function yJe(e) {
- return (e = +e) == 1 ? bJe : function(t, n) {
- return n - t ? vJe(t, n, e) : w1(isNaN(t) ? n : t);
+function xJe(e) {
+ return (e = +e) == 1 ? SJe : function(t, n) {
+ return n - t ? bJe(t, n, e) : w1(isNaN(t) ? n : t);
};
}
-function bJe(e, t) {
+function SJe(e, t) {
var n = t - e;
- return n ? _Je(e, n) : w1(isNaN(e) ? t : e);
+ return n ? yJe(e, n) : w1(isNaN(e) ? t : e);
}
//#endregion
//#region node_modules/d3-interpolate/src/rgb.js
-var xJe = (function e(t) {
- var n = yJe(t);
+var CJe = (function e(t) {
+ var n = xJe(t);
function r(e, t) {
- var r = n((e = g1(e)).r, (t = g1(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = bJe(e.opacity, t.opacity);
+ var r = n((e = g1(e)).r, (t = g1(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = SJe(e.opacity, t.opacity);
return function(t) {
return e.r = r(t), e.g = i(t), e.b = a(t), e.opacity = o(t), e + "";
};
@@ -84796,7 +84809,7 @@ var xJe = (function e(t) {
})(1);
//#endregion
//#region node_modules/d3-interpolate/src/numberArray.js
-function SJe(e, t) {
+function wJe(e, t) {
t ||= [];
var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;
return function(a) {
@@ -84804,12 +84817,12 @@ function SJe(e, t) {
return r;
};
}
-function CJe(e) {
+function TJe(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/d3-interpolate/src/array.js
-function wJe(e, t) {
+function EJe(e, t) {
for (var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o = 0; o < r; ++o) i[o] = O1(e[o], t[o]);
for (; o < n; ++o) a[o] = t[o];
return function(e) {
@@ -84819,7 +84832,7 @@ function wJe(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/date.js
-function TJe(e, t) {
+function DJe(e, t) {
var n = /* @__PURE__ */ new Date();
return e = +e, t = +t, function(r) {
return n.setTime(e * (1 - r) + t * r), n;
@@ -84834,7 +84847,7 @@ function T1(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/object.js
-function EJe(e, t) {
+function OJe(e, t) {
var n = {}, r = {}, i;
for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = O1(e[i], t[i]) : r[i] = t[i];
return function(e) {
@@ -84845,23 +84858,23 @@ function EJe(e, t) {
//#endregion
//#region node_modules/d3-interpolate/src/string.js
var E1 = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, D1 = new RegExp(E1.source, "g");
-function DJe(e) {
+function kJe(e) {
return function() {
return e;
};
}
-function OJe(e) {
+function AJe(e) {
return function(t) {
return e(t) + "";
};
}
-function kJe(e, t) {
+function jJe(e, t) {
var n = E1.lastIndex = D1.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
for (e += "", t += ""; (r = E1.exec(e)) && (i = D1.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({
i: o,
x: T1(r, i)
})), n = D1.lastIndex;
- return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? OJe(c[0].x) : DJe(t) : (t = c.length, function(e) {
+ return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? AJe(c[0].x) : kJe(t) : (t = c.length, function(e) {
for (var n = 0, r; n < t; ++n) s[(r = c[n]).i] = r.x(e);
return s.join("");
});
@@ -84870,7 +84883,7 @@ function kJe(e, t) {
//#region node_modules/d3-interpolate/src/value.js
function O1(e, t) {
var n = typeof t, r;
- return t == null || n === "boolean" ? w1(t) : (n === "number" ? T1 : n === "string" ? (r = m1(t)) ? (t = r, xJe) : kJe : t instanceof m1 ? xJe : t instanceof Date ? TJe : CJe(t) ? SJe : Array.isArray(t) ? wJe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? EJe : T1)(e, t);
+ return t == null || n === "boolean" ? w1(t) : (n === "number" ? T1 : n === "string" ? (r = m1(t)) ? (t = r, CJe) : jJe : t instanceof m1 ? CJe : t instanceof Date ? DJe : TJe(t) ? wJe : Array.isArray(t) ? EJe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? OJe : T1)(e, t);
}
//#endregion
//#region node_modules/d3-interpolate/src/round.js
@@ -84881,7 +84894,7 @@ function k1(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/piecewise.js
-function AJe(e, t) {
+function MJe(e, t) {
t === void 0 && (t = e, e = O1);
for (var n = 0, r = t.length - 1, i = t[0], a = Array(r < 0 ? 0 : r); n < r;) a[n] = e(i, i = t[++n]);
return function(e) {
@@ -84891,7 +84904,7 @@ function AJe(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/constant.js
-function jJe(e) {
+function NJe(e) {
return function() {
return e;
};
@@ -84903,28 +84916,28 @@ function A1(e) {
}
//#endregion
//#region node_modules/d3-scale/src/continuous.js
-var MJe = [0, 1];
+var PJe = [0, 1];
function j1(e) {
return e;
}
function M1(e, t) {
return (t -= e = +e) ? function(n) {
return (n - e) / t;
- } : jJe(isNaN(t) ? NaN : .5);
+ } : NJe(isNaN(t) ? NaN : .5);
}
-function NJe(e, t) {
+function FJe(e, t) {
var n;
return e > t && (n = e, e = t, t = n), function(n) {
return Math.max(e, Math.min(t, n));
};
}
-function PJe(e, t, n) {
+function IJe(e, t, n) {
var r = e[0], i = e[1], a = t[0], o = t[1];
return i < r ? (r = M1(i, r), a = n(o, a)) : (r = M1(r, i), a = n(a, o)), function(e) {
return a(r(e));
};
}
-function FJe(e, t, n) {
+function LJe(e, t, n) {
var r = Math.min(e.length, t.length) - 1, i = Array(r), a = Array(r), o = -1;
for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = M1(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
return function(t) {
@@ -84936,10 +84949,10 @@ function N1(e, t) {
return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());
}
function P1() {
- var e = MJe, t = MJe, n = O1, r, i, a, o = j1, s, c, l;
+ var e = PJe, t = PJe, n = O1, r, i, a, o = j1, s, c, l;
function u() {
var n = Math.min(e.length, t.length);
- return o !== j1 && (o = NJe(e[0], e[n - 1])), s = n > 2 ? FJe : PJe, c = l = null, d;
+ return o !== j1 && (o = FJe(e[0], e[n - 1])), s = n > 2 ? LJe : IJe, c = l = null, d;
}
function d(i) {
return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));
@@ -84967,7 +84980,7 @@ function F1() {
}
//#endregion
//#region node_modules/d3-format/src/formatDecimal.js
-function IJe(e) {
+function RJe(e) {
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
}
function I1(e, t) {
@@ -84982,7 +84995,7 @@ function L1(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatGroup.js
-function LJe(e, t) {
+function zJe(e, t) {
return function(n, r) {
for (var i = n.length, a = [], o = 0, s = e[0], c = 0; i > 0 && s > 0 && (c + s + 1 > r && (s = Math.max(1, r - c)), a.push(n.substring(i -= s, i + s)), !((c += s + 1) > r));) s = e[o = (o + 1) % e.length];
return a.reverse().join(t);
@@ -84990,7 +85003,7 @@ function LJe(e, t) {
}
//#endregion
//#region node_modules/d3-format/src/formatNumerals.js
-function RJe(e) {
+function BJe(e) {
return function(t) {
return t.replace(/[0-9]/g, function(t) {
return e[+t];
@@ -84999,9 +85012,9 @@ function RJe(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatSpecifier.js
-var zJe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
+var VJe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
function R1(e) {
- if (!(t = zJe.exec(e))) throw Error("invalid format: " + e);
+ if (!(t = VJe.exec(e))) throw Error("invalid format: " + e);
var t;
return new z1({
fill: t[1],
@@ -85025,7 +85038,7 @@ z1.prototype.toString = function() {
};
//#endregion
//#region node_modules/d3-format/src/formatTrim.js
-function BJe(e) {
+function HJe(e) {
out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
case ".":
r = i = n;
@@ -85042,7 +85055,7 @@ function BJe(e) {
//#endregion
//#region node_modules/d3-format/src/formatPrefixAuto.js
var B1;
-function VJe(e, t) {
+function UJe(e, t) {
var n = I1(e, t);
if (!n) return B1 = void 0, e.toPrecision(t);
var r = n[0], i = n[1], a = i - (B1 = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
@@ -85050,7 +85063,7 @@ function VJe(e, t) {
}
//#endregion
//#region node_modules/d3-format/src/formatRounded.js
-function HJe(e, t) {
+function WJe(e, t) {
var n = I1(e, t);
if (!n) return e + "";
var r = n[0], i = n[1];
@@ -85058,29 +85071,29 @@ function HJe(e, t) {
}
//#endregion
//#region node_modules/d3-format/src/formatTypes.js
-var UJe = {
+var GJe = {
"%": (e, t) => (e * 100).toFixed(t),
b: (e) => Math.round(e).toString(2),
c: (e) => e + "",
- d: IJe,
+ d: RJe,
e: (e, t) => e.toExponential(t),
f: (e, t) => e.toFixed(t),
g: (e, t) => e.toPrecision(t),
o: (e) => Math.round(e).toString(8),
- p: (e, t) => HJe(e * 100, t),
- r: HJe,
- s: VJe,
+ p: (e, t) => WJe(e * 100, t),
+ r: WJe,
+ s: UJe,
X: (e) => Math.round(e).toString(16).toUpperCase(),
x: (e) => Math.round(e).toString(16)
};
//#endregion
//#region node_modules/d3-format/src/identity.js
-function WJe(e) {
+function KJe(e) {
return e;
}
//#endregion
//#region node_modules/d3-format/src/locale.js
-var GJe = Array.prototype.map, KJe = [
+var qJe = Array.prototype.map, JJe = [
"y",
"z",
"a",
@@ -85099,13 +85112,13 @@ var GJe = Array.prototype.map, KJe = [
"Z",
"Y"
];
-function qJe(e) {
- var t = e.grouping === void 0 || e.thousands === void 0 ? WJe : LJe(GJe.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? WJe : RJe(GJe.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
+function YJe(e) {
+ var t = e.grouping === void 0 || e.thousands === void 0 ? KJe : zJe(qJe.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? KJe : BJe(qJe.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
function l(e, l) {
e = R1(e);
var u = e.fill, d = e.align, f = e.sign, p = e.symbol, m = e.zero, h = e.width, g = e.comma, _ = e.precision, v = e.trim, y = e.type;
- y === "n" ? (g = !0, y = "g") : UJe[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");
- var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = UJe[y], C = /[defgprs%]/.test(y);
+ y === "n" ? (g = !0, y = "g") : GJe[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");
+ var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = GJe[y], C = /[defgprs%]/.test(y);
_ = _ === void 0 ? 6 : /[gprs]/.test(y) ? Math.max(1, Math.min(21, _)) : Math.max(0, Math.min(20, _));
function w(e) {
var n = b, r = x, o, l, p;
@@ -85113,7 +85126,7 @@ function qJe(e) {
else {
e = +e;
var w = e < 0 || 1 / e < 0;
- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = BJe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && B1 !== void 0 ? KJe[8 + B1 / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
+ if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = HJe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && B1 !== void 0 ? JJe[8 + B1 / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
for (o = -1, l = e.length; ++o < l;) if (p = e.charCodeAt(o), 48 > p || p > 57) {
r = (p === 46 ? i + e.slice(o + 1) : e.slice(o)) + r, e = e.slice(0, o);
break;
@@ -85141,7 +85154,7 @@ function qJe(e) {
}, w;
}
function u(e, t) {
- var n = Math.max(-8, Math.min(8, Math.floor(L1(t) / 3))) * 3, r = 10 ** -n, i = l((e = R1(e), e.type = "f", e), { suffix: KJe[8 + n / 3] });
+ var n = Math.max(-8, Math.min(8, Math.floor(L1(t) / 3))) * 3, r = 10 ** -n, i = l((e = R1(e), e.type = "f", e), { suffix: JJe[8 + n / 3] });
return function(e) {
return i(r * e);
};
@@ -85153,47 +85166,47 @@ function qJe(e) {
}
//#endregion
//#region node_modules/d3-format/src/defaultLocale.js
-var V1, H1, JJe;
-YJe({
+var V1, H1, XJe;
+ZJe({
thousands: ",",
grouping: [3],
currency: ["$", ""]
});
-function YJe(e) {
- return V1 = qJe(e), H1 = V1.format, JJe = V1.formatPrefix, V1;
+function ZJe(e) {
+ return V1 = YJe(e), H1 = V1.format, XJe = V1.formatPrefix, V1;
}
//#endregion
//#region node_modules/d3-format/src/precisionFixed.js
-function XJe(e) {
+function QJe(e) {
return Math.max(0, -L1(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionPrefix.js
-function ZJe(e, t) {
+function $Je(e, t) {
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(L1(t) / 3))) * 3 - L1(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionRound.js
-function QJe(e, t) {
+function eYe(e, t) {
return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, L1(t) - L1(e)) + 1;
}
//#endregion
//#region node_modules/d3-scale/src/tickFormat.js
-function $Je(e, t, n, r) {
+function tYe(e, t, n, r) {
var i = Z$(e, t, n), a;
switch (r = R1(r ?? ",f"), r.type) {
case "s":
var o = Math.max(Math.abs(e), Math.abs(t));
- return r.precision == null && !isNaN(a = ZJe(i, o)) && (r.precision = a), JJe(r, o);
+ return r.precision == null && !isNaN(a = $Je(i, o)) && (r.precision = a), XJe(r, o);
case "":
case "e":
case "g":
case "p":
case "r":
- r.precision == null && !isNaN(a = QJe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
+ r.precision == null && !isNaN(a = eYe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
break;
case "f":
- case "%": r.precision == null && !isNaN(a = XJe(i)) && (r.precision = a - (r.type === "%") * 2);
+ case "%": r.precision == null && !isNaN(a = QJe(i)) && (r.precision = a - (r.type === "%") * 2);
}
return H1(r);
}
@@ -85206,12 +85219,12 @@ function U1(e) {
return X$(n[0], n[n.length - 1], e ?? 10);
}, e.tickFormat = function(e, n) {
var r = t();
- return $Je(r[0], r[r.length - 1], e ?? 10, n);
+ return tYe(r[0], r[r.length - 1], e ?? 10, n);
}, e.nice = function(n) {
n ??= 10;
var r = t(), i = 0, a = r.length - 1, o = r[i], s = r[a], c, l, u = 10;
for (s < o && (l = o, o = s, s = l, l = i, i = a, a = l); u-- > 0;) {
- if (l = Hqe(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
+ if (l = Wqe(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
if (l > 0) o = Math.floor(o / l) * l, s = Math.ceil(s / l) * l;
else if (l < 0) o = Math.ceil(o * l) / l, s = Math.floor(s * l) / l;
else break;
@@ -85220,15 +85233,15 @@ function U1(e) {
return e;
}, e;
}
-function eYe() {
+function nYe() {
var e = F1();
return e.copy = function() {
- return N1(e, eYe());
+ return N1(e, nYe());
}, n1.apply(e, arguments), U1(e);
}
//#endregion
//#region node_modules/d3-scale/src/identity.js
-function tYe(e) {
+function rYe(e) {
var t;
function n(e) {
return e == null || isNaN(e = +e) ? t : e;
@@ -85238,46 +85251,46 @@ function tYe(e) {
}, n.unknown = function(e) {
return arguments.length ? (t = e, n) : t;
}, n.copy = function() {
- return tYe(e).unknown(t);
+ return rYe(e).unknown(t);
}, e = arguments.length ? Array.from(e, A1) : [0, 1], U1(n);
}
//#endregion
//#region node_modules/d3-scale/src/nice.js
-function nYe(e, t) {
+function iYe(e, t) {
e = e.slice();
var n = 0, r = e.length - 1, i = e[n], a = e[r], o;
return a < i && (o = n, n = r, r = o, o = i, i = a, a = o), e[n] = t.floor(i), e[r] = t.ceil(a), e;
}
//#endregion
//#region node_modules/d3-scale/src/log.js
-function rYe(e) {
+function aYe(e) {
return Math.log(e);
}
-function iYe(e) {
+function oYe(e) {
return Math.exp(e);
}
-function aYe(e) {
+function sYe(e) {
return -Math.log(-e);
}
-function oYe(e) {
+function cYe(e) {
return -Math.exp(-e);
}
-function sYe(e) {
+function lYe(e) {
return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
}
-function cYe(e) {
- return e === 10 ? sYe : e === Math.E ? Math.exp : (t) => e ** +t;
+function uYe(e) {
+ return e === 10 ? lYe : e === Math.E ? Math.exp : (t) => e ** +t;
}
-function lYe(e) {
+function dYe(e) {
return e === Math.E ? Math.log : e === 10 && Math.log10 || e === 2 && Math.log2 || (e = Math.log(e), (t) => Math.log(t) / e);
}
-function uYe(e) {
+function fYe(e) {
return (t, n) => -e(-t, n);
}
function W1(e) {
- let t = e(rYe, iYe), n = t.domain, r = 10, i, a;
+ let t = e(aYe, oYe), n = t.domain, r = 10, i, a;
function o() {
- return i = lYe(r), a = cYe(r), n()[0] < 0 ? (i = uYe(i), a = uYe(a), e(aYe, oYe)) : e(rYe, iYe), t;
+ return i = dYe(r), a = uYe(r), n()[0] < 0 ? (i = fYe(i), a = fYe(a), e(sYe, cYe)) : e(aYe, oYe), t;
}
return t.base = function(e) {
return arguments.length ? (r = +e, o()) : r;
@@ -85307,56 +85320,56 @@ function W1(e) {
let t = e / a(Math.round(i(e)));
return t * r < r - .5 && (t *= r), t <= o ? n(e) : "";
};
- }, t.nice = () => n(nYe(n(), {
+ }, t.nice = () => n(iYe(n(), {
floor: (e) => a(Math.floor(i(e))),
ceil: (e) => a(Math.ceil(i(e)))
})), t;
}
-function dYe() {
+function pYe() {
let e = W1(P1()).domain([1, 10]);
- return e.copy = () => N1(e, dYe()).base(e.base()), n1.apply(e, arguments), e;
+ return e.copy = () => N1(e, pYe()).base(e.base()), n1.apply(e, arguments), e;
}
//#endregion
//#region node_modules/d3-scale/src/symlog.js
-function fYe(e) {
+function mYe(e) {
return function(t) {
return Math.sign(t) * Math.log1p(Math.abs(t / e));
};
}
-function pYe(e) {
+function hYe(e) {
return function(t) {
return Math.sign(t) * Math.expm1(Math.abs(t)) * e;
};
}
function G1(e) {
- var t = 1, n = e(fYe(t), pYe(t));
+ var t = 1, n = e(mYe(t), hYe(t));
return n.constant = function(n) {
- return arguments.length ? e(fYe(t = +n), pYe(t)) : t;
+ return arguments.length ? e(mYe(t = +n), hYe(t)) : t;
}, U1(n);
}
-function mYe() {
+function gYe() {
var e = G1(P1());
return e.copy = function() {
- return N1(e, mYe()).constant(e.constant());
+ return N1(e, gYe()).constant(e.constant());
}, n1.apply(e, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/pow.js
-function hYe(e) {
+function _Ye(e) {
return function(t) {
return t < 0 ? -((-t) ** +e) : t ** +e;
};
}
-function gYe(e) {
+function vYe(e) {
return e < 0 ? -Math.sqrt(-e) : Math.sqrt(e);
}
-function _Ye(e) {
+function yYe(e) {
return e < 0 ? -e * e : e * e;
}
function K1(e) {
var t = e(j1, j1), n = 1;
function r() {
- return n === 1 ? e(j1, j1) : n === .5 ? e(gYe, _Ye) : e(hYe(n), hYe(1 / n));
+ return n === 1 ? e(j1, j1) : n === .5 ? e(vYe, yYe) : e(_Ye(n), _Ye(1 / n));
}
return t.exponent = function(e) {
return arguments.length ? (n = +e, r()) : n;
@@ -85368,29 +85381,29 @@ function q1() {
return N1(e, q1()).exponent(e.exponent());
}, n1.apply(e, arguments), e;
}
-function vYe() {
+function bYe() {
return q1.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/d3-scale/src/radial.js
-function yYe(e) {
+function xYe(e) {
return Math.sign(e) * e * e;
}
-function bYe(e) {
+function SYe(e) {
return Math.sign(e) * Math.sqrt(Math.abs(e));
}
-function xYe() {
+function CYe() {
var e = F1(), t = [0, 1], n = !1, r;
function i(t) {
- var i = bYe(e(t));
+ var i = SYe(e(t));
return isNaN(i) ? r : n ? Math.round(i) : i;
}
return i.invert = function(t) {
- return e.invert(yYe(t));
+ return e.invert(xYe(t));
}, i.domain = function(t) {
return arguments.length ? (e.domain(t), i) : e.domain();
}, i.range = function(n) {
- return arguments.length ? (e.range((t = Array.from(n, A1)).map(yYe)), i) : t.slice();
+ return arguments.length ? (e.range((t = Array.from(n, A1)).map(xYe)), i) : t.slice();
}, i.rangeRound = function(e) {
return i.range(e).round(!0);
}, i.round = function(e) {
@@ -85400,16 +85413,16 @@ function xYe() {
}, i.unknown = function(e) {
return arguments.length ? (r = e, i) : r;
}, i.copy = function() {
- return xYe(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);
+ return CYe(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);
}, n1.apply(i, arguments), U1(i);
}
//#endregion
//#region node_modules/d3-scale/src/quantile.js
-function SYe() {
+function wYe() {
var e = [], t = [], n = [], r;
function i() {
var r = 0, i = Math.max(1, t.length);
- for (n = Array(i - 1); ++r < i;) n[r - 1] = Gqe(e, r / i);
+ for (n = Array(i - 1); ++r < i;) n[r - 1] = qqe(e, r / i);
return a;
}
function a(e) {
@@ -85430,12 +85443,12 @@ function SYe() {
}, a.quantiles = function() {
return n.slice();
}, a.copy = function() {
- return SYe().domain(e).range(t).unknown(r);
+ return wYe().domain(e).range(t).unknown(r);
}, n1.apply(a, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/quantize.js
-function CYe() {
+function TYe() {
var e = 0, t = 1, n = 1, r = [.5], i = [0, 1], a;
function o(e) {
return e != null && e <= e ? i[K$(r, e, 0, n)] : a;
@@ -85457,12 +85470,12 @@ function CYe() {
}, o.thresholds = function() {
return r.slice();
}, o.copy = function() {
- return CYe().domain([e, t]).range(i).unknown(a);
+ return TYe().domain([e, t]).range(i).unknown(a);
}, n1.apply(U1(o), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/threshold.js
-function wYe() {
+function EYe() {
var e = [.5], t = [0, 1], n, r = 1;
function i(i) {
return i != null && i <= i ? t[K$(e, i, 0, r)] : n;
@@ -85477,7 +85490,7 @@ function wYe() {
}, i.unknown = function(e) {
return arguments.length ? (n = e, i) : n;
}, i.copy = function() {
- return wYe().domain(e).range(t).unknown(n);
+ return EYe().domain(e).range(t).unknown(n);
}, n1.apply(i, arguments);
}
//#endregion
@@ -85519,7 +85532,7 @@ Z1.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ?
}, (t, n) => (n - t) / e) : Z1), Z1.range;
//#endregion
//#region node_modules/d3-time/src/duration.js
-var Q1 = 1e3, $1 = Q1 * 60, e0 = $1 * 60, t0 = e0 * 24, n0 = t0 * 7, TYe = t0 * 30, r0 = t0 * 365, i0 = X1((e) => {
+var Q1 = 1e3, $1 = Q1 * 60, e0 = $1 * 60, t0 = e0 * 24, n0 = t0 * 7, DYe = t0 * 30, r0 = t0 * 365, i0 = X1((e) => {
e.setTime(e - e.getMilliseconds());
}, (e, t) => {
e.setTime(+e + t * Q1);
@@ -85563,12 +85576,12 @@ var u0 = X1((e) => {
e.setUTCDate(e.getUTCDate() + t);
}, (e, t) => (t - e) / t0, (e) => e.getUTCDate() - 1);
u0.range;
-var EYe = X1((e) => {
+var OYe = X1((e) => {
e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCDate(e.getUTCDate() + t);
}, (e, t) => (t - e) / t0, (e) => Math.floor(e / t0));
-EYe.range;
+OYe.range;
//#endregion
//#region node_modules/d3-time/src/week.js
function d0(e) {
@@ -85578,8 +85591,8 @@ function d0(e) {
e.setDate(e.getDate() + t * 7);
}, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * $1) / n0);
}
-var f0 = d0(0), p0 = d0(1), DYe = d0(2), OYe = d0(3), m0 = d0(4), kYe = d0(5), AYe = d0(6);
-f0.range, p0.range, DYe.range, OYe.range, m0.range, kYe.range, AYe.range;
+var f0 = d0(0), p0 = d0(1), kYe = d0(2), AYe = d0(3), m0 = d0(4), jYe = d0(5), MYe = d0(6);
+f0.range, p0.range, kYe.range, AYe.range, m0.range, jYe.range, MYe.range;
function h0(e) {
return X1((t) => {
t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
@@ -85587,8 +85600,8 @@ function h0(e) {
e.setUTCDate(e.getUTCDate() + t * 7);
}, (e, t) => (t - e) / n0);
}
-var g0 = h0(0), _0 = h0(1), jYe = h0(2), MYe = h0(3), v0 = h0(4), NYe = h0(5), PYe = h0(6);
-g0.range, _0.range, jYe.range, MYe.range, v0.range, NYe.range, PYe.range;
+var g0 = h0(0), _0 = h0(1), NYe = h0(2), PYe = h0(3), v0 = h0(4), FYe = h0(5), IYe = h0(6);
+g0.range, _0.range, NYe.range, PYe.range, v0.range, FYe.range, IYe.range;
//#endregion
//#region node_modules/d3-time/src/month.js
var y0 = X1((e) => {
@@ -85627,7 +85640,7 @@ S0.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : X1((t) => {
}), S0.range;
//#endregion
//#region node_modules/d3-time/src/ticks.js
-function FYe(e, t, n, r, i, a) {
+function LYe(e, t, n, r, i, a) {
let o = [
[
i0,
@@ -85707,12 +85720,12 @@ function FYe(e, t, n, r, i, a) {
[
t,
1,
- TYe
+ DYe
],
[
t,
3,
- 3 * TYe
+ 3 * DYe
],
[
e,
@@ -85735,7 +85748,7 @@ function FYe(e, t, n, r, i, a) {
}
return [s, c];
}
-var [IYe, LYe] = FYe(S0, b0, g0, EYe, c0, o0), [RYe, zYe] = FYe(x0, y0, f0, l0, s0, a0);
+var [RYe, zYe] = LYe(S0, b0, g0, OYe, c0, o0), [BYe, VYe] = LYe(x0, y0, f0, l0, s0, a0);
//#endregion
//#region node_modules/d3-time-format/src/locale.js
function C0(e) {
@@ -85763,112 +85776,112 @@ function T0(e, t, n) {
L: 0
};
}
-function BYe(e) {
+function HYe(e) {
var t = e.dateTime, n = e.date, r = e.time, i = e.periods, a = e.days, o = e.shortDays, s = e.months, c = e.shortMonths, l = O0(i), u = k0(i), d = O0(a), f = k0(a), p = O0(o), m = k0(o), h = O0(s), g = k0(s), _ = O0(c), v = k0(c), y = {
a: N,
A: P,
b: F,
B: I,
c: null,
- d: dXe,
- e: dXe,
- f: gXe,
- g: DXe,
- G: kXe,
- H: fXe,
- I: pXe,
- j: mXe,
- L: hXe,
- m: _Xe,
- M: vXe,
+ d: pXe,
+ e: pXe,
+ f: vXe,
+ g: kXe,
+ G: jXe,
+ H: mXe,
+ I: hXe,
+ j: gXe,
+ L: _Xe,
+ m: yXe,
+ M: bXe,
p: ee,
q: L,
- Q: QXe,
- s: $Xe,
- S: yXe,
- u: bXe,
- U: xXe,
- V: CXe,
- w: wXe,
- W: TXe,
+ Q: eZe,
+ s: tZe,
+ S: xXe,
+ u: SXe,
+ U: CXe,
+ V: TXe,
+ w: EXe,
+ W: DXe,
x: null,
X: null,
- y: EXe,
- Y: OXe,
- Z: AXe,
- "%": ZXe
+ y: OXe,
+ Y: AXe,
+ Z: MXe,
+ "%": $Xe
}, b = {
a: te,
A: ne,
b: re,
B: ie,
c: null,
- d: jXe,
- e: jXe,
- f: IXe,
- g: qXe,
- G: YXe,
- H: MXe,
- I: NXe,
- j: PXe,
- L: FXe,
- m: LXe,
- M: RXe,
+ d: NXe,
+ e: NXe,
+ f: RXe,
+ g: YXe,
+ G: ZXe,
+ H: PXe,
+ I: FXe,
+ j: IXe,
+ L: LXe,
+ m: zXe,
+ M: BXe,
p: ae,
q: oe,
- Q: QXe,
- s: $Xe,
- S: zXe,
- u: BXe,
- U: VXe,
- V: UXe,
- w: WXe,
- W: GXe,
+ Q: eZe,
+ s: tZe,
+ S: VXe,
+ u: HXe,
+ U: UXe,
+ V: GXe,
+ w: KXe,
+ W: qXe,
x: null,
X: null,
- y: KXe,
- Y: JXe,
- Z: XXe,
- "%": ZXe
+ y: JXe,
+ Y: XXe,
+ Z: QXe,
+ "%": $Xe
}, x = {
a: E,
A: D,
b: O,
B: k,
c: A,
- d: tXe,
- e: tXe,
- f: sXe,
- g: ZYe,
- G: XYe,
- H: rXe,
- I: rXe,
- j: nXe,
- L: oXe,
- m: eXe,
- M: iXe,
+ d: rXe,
+ e: rXe,
+ f: lXe,
+ g: $Ye,
+ G: QYe,
+ H: aXe,
+ I: aXe,
+ j: iXe,
+ L: cXe,
+ m: nXe,
+ M: oXe,
p: T,
- q: $Ye,
- Q: lXe,
- s: uXe,
- S: aXe,
- u: KYe,
- U: qYe,
- V: JYe,
- w: GYe,
- W: YYe,
+ q: tXe,
+ Q: dXe,
+ s: fXe,
+ S: sXe,
+ u: JYe,
+ U: YYe,
+ V: XYe,
+ w: qYe,
+ W: ZYe,
x: j,
X: M,
- y: ZYe,
- Y: XYe,
- Z: QYe,
- "%": cXe
+ y: $Ye,
+ Y: QYe,
+ Z: eXe,
+ "%": uXe
};
y.x = S(n, y), y.X = S(r, y), y.c = S(t, y), b.x = S(n, b), b.X = S(r, b), b.c = S(t, b);
function S(e, t) {
return function(n) {
var r = [], i = -1, a = 0, o = e.length, s, c, l;
- for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = VYe[s = e.charAt(++i)]) == null ? c = s === "e" ? " " : "0" : s = e.charAt(++i), (l = t[s]) && (s = l(n, c)), r.push(s), a = i + 1);
+ for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = UYe[s = e.charAt(++i)]) == null ? c = s === "e" ? " " : "0" : s = e.charAt(++i), (l = t[s]) && (s = l(n, c)), r.push(s), a = i + 1);
return r.push(e.slice(a, i)), r.join("");
};
}
@@ -85889,7 +85902,7 @@ function BYe(e) {
for (var i = 0, a = t.length, o = n.length, s, c; i < a;) {
if (r >= o) return -1;
if (s = t.charCodeAt(i++), s === 37) {
- if (s = t.charAt(i++), c = x[s in VYe ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;
+ if (s = t.charAt(i++), c = x[s in UYe ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;
} else if (s != n.charCodeAt(r++)) return -1;
}
return r;
@@ -85986,244 +85999,244 @@ function BYe(e) {
}
};
}
-var VYe = {
+var UYe = {
"-": "",
_: " ",
0: "0"
-}, E0 = /^\s*\d+/, HYe = /^%/, UYe = /[\\^$*+?|[\]().{}]/g;
+}, E0 = /^\s*\d+/, WYe = /^%/, GYe = /[\\^$*+?|[\]().{}]/g;
function D0(e, t, n) {
var r = e < 0 ? "-" : "", i = (r ? -e : e) + "", a = i.length;
return r + (a < n ? Array(n - a + 1).join(t) + i : i);
}
-function WYe(e) {
- return e.replace(UYe, "\\$&");
+function KYe(e) {
+ return e.replace(GYe, "\\$&");
}
function O0(e) {
- return RegExp("^(?:" + e.map(WYe).join("|") + ")", "i");
+ return RegExp("^(?:" + e.map(KYe).join("|") + ")", "i");
}
function k0(e) {
return new Map(e.map((e, t) => [e.toLowerCase(), t]));
}
-function GYe(e, t, n) {
+function qYe(e, t, n) {
var r = E0.exec(t.slice(n, n + 1));
return r ? (e.w = +r[0], n + r[0].length) : -1;
}
-function KYe(e, t, n) {
+function JYe(e, t, n) {
var r = E0.exec(t.slice(n, n + 1));
return r ? (e.u = +r[0], n + r[0].length) : -1;
}
-function qYe(e, t, n) {
+function YYe(e, t, n) {
var r = E0.exec(t.slice(n, n + 2));
return r ? (e.U = +r[0], n + r[0].length) : -1;
}
-function JYe(e, t, n) {
+function XYe(e, t, n) {
var r = E0.exec(t.slice(n, n + 2));
return r ? (e.V = +r[0], n + r[0].length) : -1;
}
-function YYe(e, t, n) {
+function ZYe(e, t, n) {
var r = E0.exec(t.slice(n, n + 2));
return r ? (e.W = +r[0], n + r[0].length) : -1;
}
-function XYe(e, t, n) {
+function QYe(e, t, n) {
var r = E0.exec(t.slice(n, n + 4));
return r ? (e.y = +r[0], n + r[0].length) : -1;
}
-function ZYe(e, t, n) {
+function $Ye(e, t, n) {
var r = E0.exec(t.slice(n, n + 2));
return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;
}
-function QYe(e, t, n) {
+function eXe(e, t, n) {
var r = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n, n + 6));
return r ? (e.Z = r[1] ? 0 : -(r[2] + (r[3] || "00")), n + r[0].length) : -1;
}
-function $Ye(e, t, n) {
+function tXe(e, t, n) {
var r = E0.exec(t.slice(n, n + 1));
return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;
}
-function eXe(e, t, n) {
+function nXe(e, t, n) {
var r = E0.exec(t.slice(n, n + 2));
return r ? (e.m = r[0] - 1, n + r[0].length) : -1;
}
-function tXe(e, t, n) {
+function rXe(e, t, n) {
var r = E0.exec(t.slice(n, n + 2));
return r ? (e.d = +r[0], n + r[0].length) : -1;
}
-function nXe(e, t, n) {
+function iXe(e, t, n) {
var r = E0.exec(t.slice(n, n + 3));
return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;
}
-function rXe(e, t, n) {
+function aXe(e, t, n) {
var r = E0.exec(t.slice(n, n + 2));
return r ? (e.H = +r[0], n + r[0].length) : -1;
}
-function iXe(e, t, n) {
+function oXe(e, t, n) {
var r = E0.exec(t.slice(n, n + 2));
return r ? (e.M = +r[0], n + r[0].length) : -1;
}
-function aXe(e, t, n) {
+function sXe(e, t, n) {
var r = E0.exec(t.slice(n, n + 2));
return r ? (e.S = +r[0], n + r[0].length) : -1;
}
-function oXe(e, t, n) {
+function cXe(e, t, n) {
var r = E0.exec(t.slice(n, n + 3));
return r ? (e.L = +r[0], n + r[0].length) : -1;
}
-function sXe(e, t, n) {
+function lXe(e, t, n) {
var r = E0.exec(t.slice(n, n + 6));
return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
}
-function cXe(e, t, n) {
- var r = HYe.exec(t.slice(n, n + 1));
+function uXe(e, t, n) {
+ var r = WYe.exec(t.slice(n, n + 1));
return r ? n + r[0].length : -1;
}
-function lXe(e, t, n) {
+function dXe(e, t, n) {
var r = E0.exec(t.slice(n));
return r ? (e.Q = +r[0], n + r[0].length) : -1;
}
-function uXe(e, t, n) {
+function fXe(e, t, n) {
var r = E0.exec(t.slice(n));
return r ? (e.s = +r[0], n + r[0].length) : -1;
}
-function dXe(e, t) {
+function pXe(e, t) {
return D0(e.getDate(), t, 2);
}
-function fXe(e, t) {
+function mXe(e, t) {
return D0(e.getHours(), t, 2);
}
-function pXe(e, t) {
+function hXe(e, t) {
return D0(e.getHours() % 12 || 12, t, 2);
}
-function mXe(e, t) {
+function gXe(e, t) {
return D0(1 + l0.count(x0(e), e), t, 3);
}
-function hXe(e, t) {
+function _Xe(e, t) {
return D0(e.getMilliseconds(), t, 3);
}
-function gXe(e, t) {
- return hXe(e, t) + "000";
+function vXe(e, t) {
+ return _Xe(e, t) + "000";
}
-function _Xe(e, t) {
+function yXe(e, t) {
return D0(e.getMonth() + 1, t, 2);
}
-function vXe(e, t) {
+function bXe(e, t) {
return D0(e.getMinutes(), t, 2);
}
-function yXe(e, t) {
+function xXe(e, t) {
return D0(e.getSeconds(), t, 2);
}
-function bXe(e) {
+function SXe(e) {
var t = e.getDay();
return t === 0 ? 7 : t;
}
-function xXe(e, t) {
+function CXe(e, t) {
return D0(f0.count(x0(e) - 1, e), t, 2);
}
-function SXe(e) {
+function wXe(e) {
var t = e.getDay();
return t >= 4 || t === 0 ? m0(e) : m0.ceil(e);
}
-function CXe(e, t) {
- return e = SXe(e), D0(m0.count(x0(e), e) + (x0(e).getDay() === 4), t, 2);
+function TXe(e, t) {
+ return e = wXe(e), D0(m0.count(x0(e), e) + (x0(e).getDay() === 4), t, 2);
}
-function wXe(e) {
+function EXe(e) {
return e.getDay();
}
-function TXe(e, t) {
+function DXe(e, t) {
return D0(p0.count(x0(e) - 1, e), t, 2);
}
-function EXe(e, t) {
+function OXe(e, t) {
return D0(e.getFullYear() % 100, t, 2);
}
-function DXe(e, t) {
- return e = SXe(e), D0(e.getFullYear() % 100, t, 2);
+function kXe(e, t) {
+ return e = wXe(e), D0(e.getFullYear() % 100, t, 2);
}
-function OXe(e, t) {
+function AXe(e, t) {
return D0(e.getFullYear() % 1e4, t, 4);
}
-function kXe(e, t) {
+function jXe(e, t) {
var n = e.getDay();
return e = n >= 4 || n === 0 ? m0(e) : m0.ceil(e), D0(e.getFullYear() % 1e4, t, 4);
}
-function AXe(e) {
+function MXe(e) {
var t = e.getTimezoneOffset();
return (t > 0 ? "-" : (t *= -1, "+")) + D0(t / 60 | 0, "0", 2) + D0(t % 60, "0", 2);
}
-function jXe(e, t) {
+function NXe(e, t) {
return D0(e.getUTCDate(), t, 2);
}
-function MXe(e, t) {
+function PXe(e, t) {
return D0(e.getUTCHours(), t, 2);
}
-function NXe(e, t) {
+function FXe(e, t) {
return D0(e.getUTCHours() % 12 || 12, t, 2);
}
-function PXe(e, t) {
+function IXe(e, t) {
return D0(1 + u0.count(S0(e), e), t, 3);
}
-function FXe(e, t) {
+function LXe(e, t) {
return D0(e.getUTCMilliseconds(), t, 3);
}
-function IXe(e, t) {
- return FXe(e, t) + "000";
+function RXe(e, t) {
+ return LXe(e, t) + "000";
}
-function LXe(e, t) {
+function zXe(e, t) {
return D0(e.getUTCMonth() + 1, t, 2);
}
-function RXe(e, t) {
+function BXe(e, t) {
return D0(e.getUTCMinutes(), t, 2);
}
-function zXe(e, t) {
+function VXe(e, t) {
return D0(e.getUTCSeconds(), t, 2);
}
-function BXe(e) {
+function HXe(e) {
var t = e.getUTCDay();
return t === 0 ? 7 : t;
}
-function VXe(e, t) {
+function UXe(e, t) {
return D0(g0.count(S0(e) - 1, e), t, 2);
}
-function HXe(e) {
+function WXe(e) {
var t = e.getUTCDay();
return t >= 4 || t === 0 ? v0(e) : v0.ceil(e);
}
-function UXe(e, t) {
- return e = HXe(e), D0(v0.count(S0(e), e) + (S0(e).getUTCDay() === 4), t, 2);
+function GXe(e, t) {
+ return e = WXe(e), D0(v0.count(S0(e), e) + (S0(e).getUTCDay() === 4), t, 2);
}
-function WXe(e) {
+function KXe(e) {
return e.getUTCDay();
}
-function GXe(e, t) {
+function qXe(e, t) {
return D0(_0.count(S0(e) - 1, e), t, 2);
}
-function KXe(e, t) {
+function JXe(e, t) {
return D0(e.getUTCFullYear() % 100, t, 2);
}
-function qXe(e, t) {
- return e = HXe(e), D0(e.getUTCFullYear() % 100, t, 2);
+function YXe(e, t) {
+ return e = WXe(e), D0(e.getUTCFullYear() % 100, t, 2);
}
-function JXe(e, t) {
+function XXe(e, t) {
return D0(e.getUTCFullYear() % 1e4, t, 4);
}
-function YXe(e, t) {
+function ZXe(e, t) {
var n = e.getUTCDay();
return e = n >= 4 || n === 0 ? v0(e) : v0.ceil(e), D0(e.getUTCFullYear() % 1e4, t, 4);
}
-function XXe() {
+function QXe() {
return "+0000";
}
-function ZXe() {
+function $Xe() {
return "%";
}
-function QXe(e) {
+function eZe(e) {
return +e;
}
-function $Xe(e) {
+function tZe(e) {
return Math.floor(e / 1e3);
}
//#endregion
//#region node_modules/d3-time-format/src/defaultLocale.js
-var A0, eZe, tZe;
-nZe({
+var A0, nZe, rZe;
+iZe({
dateTime: "%x, %X",
date: "%-m/%-d/%Y",
time: "%-I:%M:%S %p",
@@ -86275,15 +86288,15 @@ nZe({
"Dec"
]
});
-function nZe(e) {
- return A0 = BYe(e), eZe = A0.format, A0.parse, tZe = A0.utcFormat, A0.utcParse, A0;
+function iZe(e) {
+ return A0 = HYe(e), nZe = A0.format, A0.parse, rZe = A0.utcFormat, A0.utcParse, A0;
}
//#endregion
//#region node_modules/d3-scale/src/time.js
-function rZe(e) {
+function aZe(e) {
return new Date(e);
}
-function iZe(e) {
+function oZe(e) {
return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
}
function j0(e, t, n, r, i, a, o, s, c, l) {
@@ -86294,7 +86307,7 @@ function j0(e, t, n, r, i, a, o, s, c, l) {
return u.invert = function(e) {
return new Date(d(e));
}, u.domain = function(e) {
- return arguments.length ? f(Array.from(e, iZe)) : f().map(rZe);
+ return arguments.length ? f(Array.from(e, oZe)) : f().map(aZe);
}, u.ticks = function(t) {
var n = f();
return e(n[0], n[n.length - 1], t ?? 10);
@@ -86302,18 +86315,18 @@ function j0(e, t, n, r, i, a, o, s, c, l) {
return t == null ? x : l(t);
}, u.nice = function(e) {
var n = f();
- return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(nYe(n, e)) : u;
+ return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(iYe(n, e)) : u;
}, u.copy = function() {
return N1(u, j0(e, t, n, r, i, a, o, s, c, l));
}, u;
}
-function aZe() {
- return n1.apply(j0(RYe, zYe, x0, y0, f0, l0, s0, a0, i0, eZe).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
+function sZe() {
+ return n1.apply(j0(BYe, VYe, x0, y0, f0, l0, s0, a0, i0, nZe).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/utcTime.js
-function oZe() {
- return n1.apply(j0(IYe, LYe, S0, b0, g0, u0, c0, o0, i0, tZe).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
+function cZe() {
+ return n1.apply(j0(RYe, zYe, S0, b0, g0, u0, c0, o0, i0, rZe).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/sequential.js
@@ -86344,22 +86357,22 @@ function M0() {
function N0(e, t) {
return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown());
}
-function sZe() {
+function lZe() {
var e = U1(M0()(j1));
return e.copy = function() {
- return N0(e, sZe());
+ return N0(e, lZe());
}, r1.apply(e, arguments);
}
-function cZe() {
+function uZe() {
var e = W1(M0()).domain([1, 10]);
return e.copy = function() {
- return N0(e, cZe()).base(e.base());
+ return N0(e, uZe()).base(e.base());
}, r1.apply(e, arguments);
}
-function lZe() {
+function dZe() {
var e = G1(M0());
return e.copy = function() {
- return N0(e, lZe()).constant(e.constant());
+ return N0(e, dZe()).constant(e.constant());
}, r1.apply(e, arguments);
}
function P0() {
@@ -86368,12 +86381,12 @@ function P0() {
return N0(e, P0()).exponent(e.exponent());
}, r1.apply(e, arguments);
}
-function uZe() {
+function fZe() {
return P0.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/d3-scale/src/sequentialQuantile.js
-function dZe() {
+function pZe() {
var e = [], t = j1;
function n(n) {
if (n != null && !isNaN(n = +n)) return t((K$(e, n, 1) - 1) / (e.length - 1));
@@ -86388,9 +86401,9 @@ function dZe() {
}, n.range = function() {
return e.map((n, r) => t(r / (e.length - 1)));
}, n.quantiles = function(t) {
- return Array.from({ length: t + 1 }, (n, r) => Wqe(e, r / t));
+ return Array.from({ length: t + 1 }, (n, r) => Kqe(e, r / t));
}, n.copy = function() {
- return dZe(t).domain(e);
+ return pZe(t).domain(e);
}, r1.apply(n, arguments);
}
//#endregion
@@ -86414,7 +86427,7 @@ function F0() {
function m(e) {
return function(t) {
var n, r, i;
- return arguments.length ? ([n, r, i] = t, l = AJe(e, [
+ return arguments.length ? ([n, r, i] = t, l = MJe(e, [
n,
r,
i
@@ -86431,26 +86444,26 @@ function F0() {
return u = l, i = l(e), a = l(t), o = l(n), s = i === a ? 0 : .5 / (a - i), c = a === o ? 0 : .5 / (o - a), r = a < i ? -1 : 1, p;
};
}
-function fZe() {
+function mZe() {
var e = U1(F0()(j1));
return e.copy = function() {
- return N0(e, fZe());
+ return N0(e, mZe());
}, r1.apply(e, arguments);
}
-function pZe() {
+function hZe() {
var e = W1(F0()).domain([
.1,
1,
10
]);
return e.copy = function() {
- return N0(e, pZe()).base(e.base());
+ return N0(e, hZe()).base(e.base());
}, r1.apply(e, arguments);
}
-function mZe() {
+function gZe() {
var e = G1(F0());
return e.copy = function() {
- return N0(e, mZe()).constant(e.constant());
+ return N0(e, gZe()).constant(e.constant());
}, r1.apply(e, arguments);
}
function I0() {
@@ -86459,88 +86472,88 @@ function I0() {
return N0(e, I0()).exponent(e.exponent());
}, r1.apply(e, arguments);
}
-function hZe() {
+function _Ze() {
return I0.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/victory-vendor/es/d3-scale.js
-var gZe = /* @__PURE__ */ s({
+var vZe = /* @__PURE__ */ s({
scaleBand: () => o1,
- scaleDiverging: () => fZe,
- scaleDivergingLog: () => pZe,
+ scaleDiverging: () => mZe,
+ scaleDivergingLog: () => hZe,
scaleDivergingPow: () => I0,
- scaleDivergingSqrt: () => hZe,
- scaleDivergingSymlog: () => mZe,
- scaleIdentity: () => tYe,
+ scaleDivergingSqrt: () => _Ze,
+ scaleDivergingSymlog: () => gZe,
+ scaleIdentity: () => rYe,
scaleImplicit: () => i1,
- scaleLinear: () => eYe,
- scaleLog: () => dYe,
+ scaleLinear: () => nYe,
+ scaleLog: () => pYe,
scaleOrdinal: () => a1,
- scalePoint: () => Jqe,
+ scalePoint: () => Xqe,
scalePow: () => q1,
- scaleQuantile: () => SYe,
- scaleQuantize: () => CYe,
- scaleRadial: () => xYe,
- scaleSequential: () => sZe,
- scaleSequentialLog: () => cZe,
+ scaleQuantile: () => wYe,
+ scaleQuantize: () => TYe,
+ scaleRadial: () => CYe,
+ scaleSequential: () => lZe,
+ scaleSequentialLog: () => uZe,
scaleSequentialPow: () => P0,
- scaleSequentialQuantile: () => dZe,
- scaleSequentialSqrt: () => uZe,
- scaleSequentialSymlog: () => lZe,
- scaleSqrt: () => vYe,
- scaleSymlog: () => mYe,
- scaleThreshold: () => wYe,
- scaleTime: () => aZe,
- scaleUtc: () => oZe,
- tickFormat: () => $Je
+ scaleSequentialQuantile: () => pZe,
+ scaleSequentialSqrt: () => fZe,
+ scaleSequentialSymlog: () => dZe,
+ scaleSqrt: () => bYe,
+ scaleSymlog: () => gYe,
+ scaleThreshold: () => EYe,
+ scaleTime: () => sZe,
+ scaleUtc: () => cZe,
+ tickFormat: () => tYe
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js
-function _Ze(e) {
- var t = gZe;
+function yZe(e) {
+ var t = vZe;
if (e in t && typeof t[e] == "function") return t[e]();
- var n = `scale${mJ(e)}`;
+ var n = `scale${hJ(e)}`;
if (n in t && typeof t[n] == "function") return t[n]();
}
-function vZe(e, t, n) {
+function bZe(e, t, n) {
if (typeof e == "function") return e.copy().domain(t).range(n);
if (e != null) {
- var r = _Ze(e);
+ var r = yZe(e);
if (r != null) return r.domain(t).range(n), r;
}
}
function L0(e, t, n, r) {
- if (n != null && r != null) return typeof e.scale == "function" ? vZe(e.scale, n, r) : vZe(t, n, r);
+ if (n != null && r != null) return typeof e.scale == "function" ? bZe(e.scale, n, r) : bZe(t, n, r);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js
-function yZe(e) {
- return `scale${mJ(e)}`;
+function xZe(e) {
+ return `scale${hJ(e)}`;
}
-function bZe(e) {
- return yZe(e) in gZe;
+function SZe(e) {
+ return xZe(e) in vZe;
}
-var xZe = (e, t, n) => {
+var CZe = (e, t, n) => {
if (e != null) {
var r = e.scale, i = e.type;
if (r === "auto") return i === "category" && n && (n.indexOf("LineChart") >= 0 || n.indexOf("AreaChart") >= 0 || n.indexOf("ComposedChart") >= 0 && !t) ? "point" : i === "category" ? "band" : "linear";
- if (typeof r == "string") return bZe(r) ? r : "point";
+ if (typeof r == "string") return SZe(r) ? r : "point";
}
};
//#endregion
//#region node_modules/recharts/es6/util/scale/createCategoricalInverse.js
-function SZe(e, t) {
+function wZe(e, t) {
for (var n = 0, r = e.length, i = e[0] < e[e.length - 1]; n < r;) {
var a = Math.floor((n + r) / 2);
(i ? e[a] < t : e[a] > t) ? n = a + 1 : r = a;
}
return n;
}
-function CZe(e, t) {
+function TZe(e, t) {
if (e) {
var n = t ?? e.domain(), r = n.map((t) => e(t) ?? 0), i = e.range();
if (!(n.length === 0 || i.length < 2)) return (e) => {
- var t = SZe(r, e);
+ var t = wZe(r, e);
if (t <= 0) return n[0];
if (t >= n.length) return n[n.length - 1];
var i = r[t - 1] ?? 0, a = r[t] ?? 0;
@@ -86550,12 +86563,12 @@ function CZe(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js
-function wZe(e) {
- if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : CZe(e, void 0);
+function EZe(e) {
+ if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : TZe(e, void 0);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/axisSelectors.js
-function TZe(e, t) {
+function DZe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -86568,27 +86581,27 @@ function TZe(e, t) {
function R0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? TZe(Object(n), !0).forEach(function(t) {
- EZe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : TZe(Object(n)).forEach(function(t) {
+ t % 2 ? DZe(Object(n), !0).forEach(function(t) {
+ OZe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : DZe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function EZe(e, t, n) {
- return (t = DZe(t)) in e ? Object.defineProperty(e, t, {
+function OZe(e, t, n) {
+ return (t = kZe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function DZe(e) {
- var t = OZe(e, "string");
+function kZe(e) {
+ var t = AZe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function OZe(e, t) {
+function AZe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -86598,25 +86611,25 @@ function OZe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function kZe(e, t) {
- return PZe(e) || NZe(e, t) || jZe(e, t) || AZe();
+function jZe(e, t) {
+ return IZe(e) || FZe(e, t) || NZe(e, t) || MZe();
}
-function AZe() {
+function MZe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function jZe(e, t) {
+function NZe(e, t) {
if (e) {
- if (typeof e == "string") return MZe(e, t);
+ if (typeof e == "string") return PZe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? MZe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? PZe(e, t) : void 0;
}
}
-function MZe(e, t) {
+function PZe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function NZe(e, t) {
+function FZe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -86637,7 +86650,7 @@ function NZe(e, t) {
return s;
}
}
-function PZe(e) {
+function IZe(e) {
if (Array.isArray(e)) return e;
}
var z0 = [0, "auto"], B0 = {
@@ -86669,7 +86682,7 @@ var z0 = [0, "auto"], B0 = {
type: "category",
unit: void 0,
niceTicks: "auto"
-}, FZe = (e, t) => e.cartesianAxis.xAxis[t], V0 = (e, t) => FZe(e, t) ?? B0, H0 = {
+}, LZe = (e, t) => e.cartesianAxis.xAxis[t], V0 = (e, t) => LZe(e, t) ?? B0, H0 = {
allowDataOverflow: !1,
allowDecimals: !0,
allowDuplicatedCategory: !0,
@@ -86698,7 +86711,7 @@ var z0 = [0, "auto"], B0 = {
unit: void 0,
niceTicks: "auto",
width: 60
-}, IZe = (e, t) => e.cartesianAxis.yAxis[t], U0 = (e, t) => IZe(e, t) ?? H0, LZe = {
+}, RZe = (e, t) => e.cartesianAxis.yAxis[t], U0 = (e, t) => RZe(e, t) ?? H0, zZe = {
domain: [0, "auto"],
includeHidden: !1,
reversed: !1,
@@ -86711,7 +86724,7 @@ var z0 = [0, "auto"], B0 = {
scale: "auto",
type: "number",
unit: ""
-}, W0 = (e, t) => e.cartesianAxis.zAxis[t] ?? LZe, G0 = (e, t, n) => {
+}, W0 = (e, t) => e.cartesianAxis.zAxis[t] ?? zZe, G0 = (e, t, n) => {
switch (t) {
case "xAxis": return V0(e, n);
case "yAxis": return U0(e, n);
@@ -86720,7 +86733,7 @@ var z0 = [0, "auto"], B0 = {
case "radiusAxis": return A$(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, RZe = (e, t, n) => {
+}, BZe = (e, t, n) => {
switch (t) {
case "xAxis": return V0(e, n);
case "yAxis": return U0(e, n);
@@ -86734,7 +86747,7 @@ var z0 = [0, "auto"], B0 = {
case "radiusAxis": return A$(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, zZe = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");
+}, VZe = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");
function q0(e, t) {
return (n) => {
switch (e) {
@@ -86747,31 +86760,31 @@ function q0(e, t) {
}
};
}
-var J0 = (e) => e.graphicalItems.cartesianItems, BZe = Y([P$, F$], q0), Y0 = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), X0 = Y([
+var J0 = (e) => e.graphicalItems.cartesianItems, HZe = Y([P$, F$], q0), Y0 = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), X0 = Y([
J0,
G0,
- BZe
-], Y0, { memoizeOptions: { resultEqualityCheck: B$ } }), VZe = Y([X0], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(R$)), HZe = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), UZe = Y([X0], HZe), Z0 = (e) => e.map((e) => e.data).filter(Boolean).flat(1), WZe = Y([X0], (e) => e.some((e) => !e.data)), GZe = Y([X0], Z0, { memoizeOptions: { resultEqualityCheck: B$ } }), Q0 = (e, t) => {
+ HZe
+], Y0, { memoizeOptions: { resultEqualityCheck: B$ } }), UZe = Y([X0], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(R$)), WZe = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), GZe = Y([X0], WZe), Z0 = (e) => e.map((e) => e.data).filter(Boolean).flat(1), KZe = Y([X0], (e) => e.some((e) => !e.data)), qZe = Y([X0], Z0, { memoizeOptions: { resultEqualityCheck: B$ } }), Q0 = (e, t) => {
var n = t.chartData, r = n === void 0 ? [] : n, i = t.dataStartIndex, a = t.dataEndIndex;
return e.length > 0 ? e : r.slice(i, a + 1);
-}, $0 = Y([GZe, u$], Q0), KZe = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: tQ(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: tQ(e, t.dataKey) })), qZe = (e, t, n, r, i, a) => {
- var o = r.chartData, s = o === void 0 ? [] : o, c = r.dataStartIndex, l = r.dataEndIndex, u = KZe(e, t, n);
+}, $0 = Y([qZe, u$], Q0), JZe = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: tQ(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: tQ(e, t.dataKey) })), YZe = (e, t, n, r, i, a) => {
+ var o = r.chartData, s = o === void 0 ? [] : o, c = r.dataStartIndex, l = r.dataEndIndex, u = JZe(e, t, n);
return i && t?.dataKey != null && a.length > 0 ? [...s.slice(c, l + 1).map((e) => ({ value: tQ(e, t.dataKey) })).filter((e) => e.value != null), ...u] : u;
}, e2 = Y([
$0,
G0,
X0,
u$,
- WZe,
- GZe
-], qZe);
+ KZe,
+ qZe
+], YZe);
function t2(e) {
- if (sJ(e) || e instanceof Date) {
+ if (cJ(e) || e instanceof Date) {
var t = Number(e);
if (QZ(t)) return t;
}
}
-function JZe(e) {
+function XZe(e) {
if (Array.isArray(e)) {
var t = [t2(e[0]), t2(e[1])];
return f$(t) ? t : void 0;
@@ -86780,24 +86793,24 @@ function JZe(e) {
if (n != null) return [n, n];
}
function n2(e) {
- return e.map(t2).filter(hJ);
+ return e.map(t2).filter(gJ);
}
-function YZe(e, t) {
+function ZZe(e, t) {
var n = t2(e), r = t2(t);
return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;
}
-var XZe = Y([e2], (e) => e?.map((e) => e.value).sort(YZe));
-function ZZe(e, t) {
+var QZe = Y([e2], (e) => e?.map((e) => e.value).sort(ZZe));
+function $Ze(e, t) {
switch (e) {
case "xAxis": return t.direction === "x";
case "yAxis": return t.direction === "y";
default: return !1;
}
}
-function QZe(e, t, n) {
+function eQe(e, t, n) {
if (!n || !n.length) return [];
var r;
- if (typeof t == "number" && !iJ(t)) r = t;
+ if (typeof t == "number" && !aJ(t)) r = t;
else if (Array.isArray(t)) {
var i = n2(t);
i.length > 0 && (r = Math.max(...i));
@@ -86805,14 +86818,14 @@ function QZe(e, t, n) {
return r == null ? [] : n2(n.flatMap((t) => {
var n = tQ(e, t.dataKey), i, a;
if (Array.isArray(n)) {
- var o = kZe(n, 2);
+ var o = jZe(n, 2);
i = o[0], a = o[1];
} else i = a = n;
if (QZ(i) && QZ(a)) return [r - i, r + a];
}));
}
-var r2 = (e) => K0(e, V$(e), H$(e)), i2 = Y([r2], (e) => e?.dataKey), $Ze = Y([
- VZe,
+var r2 = (e) => K0(e, V$(e), H$(e)), i2 = Y([r2], (e) => e?.dataKey), tQe = Y([
+ UZe,
u$,
r2
], L$), a2 = (e, t, n, r) => {
@@ -86822,21 +86835,21 @@ var r2 = (e) => K0(e, V$(e), H$(e)), i2 = Y([r2], (e) => e?.dataKey), $Ze = Y([
return n ??= [], n.push(t), e[t.stackId] = n, e;
}, {});
return Object.fromEntries(Object.entries(i).map((t) => {
- var i = kZe(t, 2), a = i[0], o = i[1], s = r ? [...o].reverse() : o;
+ var i = jZe(t, 2), a = i[0], o = i[1], s = r ? [...o].reverse() : o;
return [a, {
- stackedData: aHe(e, s.map(I$), n),
+ stackedData: sHe(e, s.map(I$), n),
graphicalItems: s
}];
}));
}, o2 = Y([
- $Ze,
- VZe,
+ tQe,
+ UZe,
v$,
y$
-], a2), eQe = (e, t, n, r) => {
+], a2), nQe = (e, t, n, r) => {
var i = t.dataStartIndex, a = t.dataEndIndex;
- if (r == null && n !== "zAxis") return lHe(e, i, a);
-}, tQe = Y([G0], (e) => e.allowDataOverflow), s2 = (e) => {
+ if (r == null && n !== "zAxis") return dHe(e, i, a);
+}, rQe = Y([G0], (e) => e.allowDataOverflow), s2 = (e) => {
if (e == null || !("domain" in e)) return z0;
if (e.domain != null) return e.domain;
if ("ticks" in e && e.ticks != null) {
@@ -86847,12 +86860,12 @@ var r2 = (e) => K0(e, V$(e), H$(e)), i2 = Y([r2], (e) => e?.dataKey), $Ze = Y([
if (e.type === "category") return e.ticks.map(String);
}
return e?.domain ?? z0;
-}, c2 = Y([G0], s2), l2 = Y([c2, tQe], eqe), nQe = Y([
+}, c2 = Y([G0], s2), l2 = Y([c2, rQe], nqe), iQe = Y([
o2,
c$,
P$,
l2
-], eQe, { memoizeOptions: { resultEqualityCheck: z$ } }), u2 = (e) => e.errorBars, rQe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => ZZe(n, e)), d2 = function() {
+], nQe, { memoizeOptions: { resultEqualityCheck: z$ } }), u2 = (e) => e.errorBars, aQe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => $Ze(n, e)), d2 = function() {
var e = [...arguments].filter(Boolean);
if (e.length !== 0) {
var t = e.flat();
@@ -86861,84 +86874,84 @@ var r2 = (e) => K0(e, V$(e), H$(e)), i2 = Y([r2], (e) => e?.dataKey), $Ze = Y([
}, f2 = function(e, t, n, r, i) {
var a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : [], o, s;
if (n.length > 0 && n.forEach((e) => {
- var n = e.data == null ? a : [...e.data], c = r[e.id]?.filter((e) => ZZe(i, e));
+ var n = e.data == null ? a : [...e.data], c = r[e.id]?.filter((e) => $Ze(i, e));
n.forEach((n) => {
- var r = tQ(n, t.dataKey ?? e.dataKey), i = QZe(n, r, c);
+ var r = tQ(n, t.dataKey ?? e.dataKey), i = eQe(n, r, c);
if (i.length >= 2) {
var a = Math.min(...i), l = Math.max(...i);
(o == null || a < o) && (o = a), (s == null || l > s) && (s = l);
}
- var u = JZe(r);
+ var u = XZe(r);
u != null && (o = o == null ? u[0] : Math.min(o, u[0]), s = s == null ? u[1] : Math.max(s, u[1]));
});
}), t?.dataKey != null && n.length === 0 && e.forEach((e) => {
- var n = JZe(tQ(e, t.dataKey));
+ var n = XZe(tQ(e, t.dataKey));
n != null && (o = o == null ? n[0] : Math.min(o, n[0]), s = s == null ? n[1] : Math.max(s, n[1]));
}), QZ(o) && QZ(s)) return [o, s];
-}, iQe = Y([
+}, oQe = Y([
$0,
G0,
- UZe,
+ GZe,
u2,
P$,
- GKe
+ qKe
], f2, { memoizeOptions: { resultEqualityCheck: z$ } });
-function aQe(e) {
+function sQe(e) {
var t = e.value;
- if (sJ(t) || t instanceof Date) return t;
+ if (cJ(t) || t instanceof Date) return t;
}
-var oQe = (e, t, n) => {
- var r = e.map(aQe).filter((e) => e != null);
- return n && (t.dataKey == null || t.allowDuplicatedCategory && uJ(r)) ? UKe(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
-}, sQe = (e) => e.referenceElements.dots, p2 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), cQe = Y([
- sQe,
- P$,
- F$
-], p2), lQe = (e) => e.referenceElements.areas, uQe = Y([
+var cQe = (e, t, n) => {
+ var r = e.map(sQe).filter((e) => e != null);
+ return n && (t.dataKey == null || t.allowDuplicatedCategory && dJ(r)) ? GKe(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
+}, lQe = (e) => e.referenceElements.dots, p2 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), uQe = Y([
lQe,
P$,
F$
-], p2), dQe = (e) => e.referenceElements.lines, fQe = Y([
+], p2), dQe = (e) => e.referenceElements.areas, fQe = Y([
dQe,
P$,
F$
-], p2), pQe = (e, t) => {
+], p2), pQe = (e) => e.referenceElements.lines, mQe = Y([
+ pQe,
+ P$,
+ F$
+], p2), hQe = (e, t) => {
if (e != null) {
var n = n2(e.map((e) => t === "xAxis" ? e.x : e.y));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, mQe = Y(cQe, P$, pQe), hQe = (e, t) => {
+}, gQe = Y(uQe, P$, hQe), _Qe = (e, t) => {
if (e != null) {
var n = n2(e.flatMap((e) => [t === "xAxis" ? e.x1 : e.y1, t === "xAxis" ? e.x2 : e.y2]));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, gQe = Y([uQe, P$], hQe);
-function _Qe(e) {
+}, vQe = Y([fQe, P$], _Qe);
+function yQe(e) {
if (e.x != null) return n2([e.x]);
var t = e.segment?.map((e) => e.x);
return t == null || t.length === 0 ? [] : n2(t);
}
-function vQe(e) {
+function bQe(e) {
if (e.y != null) return n2([e.y]);
var t = e.segment?.map((e) => e.y);
return t == null || t.length === 0 ? [] : n2(t);
}
-var yQe = (e, t) => {
+var xQe = (e, t) => {
if (e != null) {
- var n = e.flatMap((e) => t === "xAxis" ? _Qe(e) : vQe(e));
+ var n = e.flatMap((e) => t === "xAxis" ? yQe(e) : bQe(e));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, bQe = Y(mQe, Y([fQe, P$], yQe), gQe, (e, t, n) => d2(e, n, t)), m2 = (e, t, n, r, i, a, o, s, c) => {
+}, SQe = Y(gQe, Y([mQe, P$], xQe), vQe, (e, t, n) => d2(e, n, t)), m2 = (e, t, n, r, i, a, o, s, c) => {
if (n != null) return n;
- var l = o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? d2(r, a, i) : d2(a, i), u = tqe(t, l, e.allowDataOverflow);
+ var l = o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? d2(r, a, i) : d2(a, i), u = rqe(t, l, e.allowDataOverflow);
return u == null && e.allowDataOverflow && l == null && c != null ? c : u;
-}, xQe = Y([
+}, CQe = Y([
G0,
c2,
l2,
- nQe,
iQe,
- bQe,
+ oQe,
+ SQe,
DQ,
P$,
Y([G0], (e) => {
@@ -86947,10 +86960,10 @@ var yQe = (e, t) => {
if (t.length !== 0) return [Math.min(...t), Math.max(...t)];
}
}, { memoizeOptions: { resultEqualityCheck: z$ } })
-], m2, { memoizeOptions: { resultEqualityCheck: z$ } }), SQe = [0, 1], h2 = (e, t, n, r, i, a, o) => {
+], m2, { memoizeOptions: { resultEqualityCheck: z$ } }), wQe = [0, 1], h2 = (e, t, n, r, i, a, o) => {
if (e != null && n != null && n.length !== 0 || o !== void 0) {
var s = e.dataKey, c = e.type, l = nQ(t, a);
- return l && s == null ? UKe(0, n?.length ?? 0) : c === "category" ? oQe(r, e, l) : i === "expand" && !l ? SQe : o;
+ return l && s == null ? GKe(0, n?.length ?? 0) : c === "category" ? cQe(r, e, l) : i === "expand" && !l ? wQe : o;
}
}, g2 = Y([
G0,
@@ -86959,22 +86972,22 @@ var yQe = (e, t) => {
e2,
v$,
P$,
- xQe
+ CQe
], h2), _2 = Y([
G0,
- zZe,
+ VZe,
b$
-], xZe), v2 = (e, t, n) => {
+], CZe), v2 = (e, t, n) => {
var r = t.niceTicks;
if (r !== "none") {
var i = s2(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");
if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && f$(e)) {
- if (a) return pqe(e, t.tickCount, t.allowDecimals, r);
- if (t.type === "number") return mqe(e, t.tickCount, t.allowDecimals, r);
+ if (a) return hqe(e, t.tickCount, t.allowDecimals, r);
+ if (t.type === "number") return gqe(e, t.tickCount, t.allowDecimals, r);
}
if (r === "auto" && n === "linear" && t != null && t.tickCount) {
- if (a && f$(e)) return pqe(e, t.tickCount, t.allowDecimals, "adaptive");
- if (t.type === "number" && f$(e)) return mqe(e, t.tickCount, t.allowDecimals, "adaptive");
+ if (a && f$(e)) return hqe(e, t.tickCount, t.allowDecimals, "adaptive");
+ if (t.type === "number" && f$(e)) return gqe(e, t.tickCount, t.allowDecimals, "adaptive");
}
}
}, y2 = Y([
@@ -86987,12 +87000,12 @@ var yQe = (e, t) => {
return [Math.min(i, a), Math.max(o, s)];
}
return t;
-}, CQe = Y([
+}, TQe = Y([
G0,
g2,
y2,
P$
-], b2), wQe = Y(Y(e2, G0, (e, t) => {
+], b2), EQe = Y(Y(e2, G0, (e, t) => {
if (t && t.type === "number") {
var n = Infinity, r = Array.from(n2(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];
if (i == null || a == null) return Infinity;
@@ -87012,17 +87025,17 @@ var yQe = (e, t) => {
var a = t === "vertical" ? r.height : r.width;
if (i === "gap") return e * a / 2;
if (i === "no-gap") {
- var o = lJ(n, e * a), s = e * a / 2;
+ var o = uJ(n, e * a), s = e * a / 2;
return s - o - (s - o) / a * o;
}
return 0;
-}), TQe = (e, t, n) => {
+}), DQe = (e, t, n) => {
var r = V0(e, t);
- return r == null || typeof r.padding != "string" ? 0 : wQe(e, "xAxis", t, n, r.padding);
-}, EQe = (e, t, n) => {
+ return r == null || typeof r.padding != "string" ? 0 : EQe(e, "xAxis", t, n, r.padding);
+}, OQe = (e, t, n) => {
var r = U0(e, t);
- return r == null || typeof r.padding != "string" ? 0 : wQe(e, "yAxis", t, n, r.padding);
-}, DQe = Y(V0, TQe, (e, t) => {
+ return r == null || typeof r.padding != "string" ? 0 : EQe(e, "yAxis", t, n, r.padding);
+}, kQe = Y(V0, DQe, (e, t) => {
if (e == null) return {
left: 0,
right: 0
@@ -87035,7 +87048,7 @@ var yQe = (e, t) => {
left: (n.left ?? 0) + t,
right: (n.right ?? 0) + t
};
-}), OQe = Y(U0, EQe, (e, t) => {
+}), AQe = Y(U0, OQe, (e, t) => {
if (e == null) return {
top: 0,
bottom: 0
@@ -87048,19 +87061,19 @@ var yQe = (e, t) => {
top: (n.top ?? 0) + t,
bottom: (n.bottom ?? 0) + t
};
-}), kQe = Y([
+}), jQe = Y([
mQ,
- DQe,
+ kQe,
vQ,
_Q,
(e, t, n) => n
], (e, t, n, r, i) => {
var a = r.padding;
return i ? [a.left, n.width - a.right] : [e.left + t.left, e.left + e.width - t.right];
-}), AQe = Y([
+}), MQe = Y([
mQ,
DQ,
- OQe,
+ AQe,
vQ,
_Q,
(e, t, n) => n
@@ -87069,18 +87082,18 @@ var yQe = (e, t) => {
return a ? [r.height - o.bottom, o.top] : t === "horizontal" ? [e.top + e.height - n.bottom, e.top + n.top] : [e.top + n.top, e.top + e.height - n.bottom];
}), x2 = (e, t, n, r) => {
switch (t) {
- case "xAxis": return kQe(e, n, r);
- case "yAxis": return AQe(e, n, r);
+ case "xAxis": return jQe(e, n, r);
+ case "yAxis": return MQe(e, n, r);
case "zAxis": return W0(e, n)?.range;
- case "angleAxis": return Dqe(e);
- case "radiusAxis": return kqe(e, n);
+ case "angleAxis": return kqe(e);
+ case "radiusAxis": return jqe(e, n);
default: return;
}
-}, jQe = Y([G0, x2], E$), S2 = Y([
+}, NQe = Y([G0, x2], E$), S2 = Y([
G0,
_2,
- Y([_2, CQe], Mqe),
- jQe
+ Y([_2, TQe], Pqe),
+ NQe
], L0), C2 = (e, t, n, r) => {
if (n != null && n.dataKey != null) {
var i = n.type, a = n.scale;
@@ -87092,57 +87105,57 @@ var yQe = (e, t) => {
K0,
P$
], C2), T2 = Y([S2], U$);
-Y([S2], wZe), Y([S2, XZe], CZe), Y([
+Y([S2], EZe), Y([S2, QZe], TZe), Y([
X0,
u2,
P$
-], rQe);
-function MQe(e, t) {
+], aQe);
+function PQe(e, t) {
return e.id < t.id ? -1 : +(e.id > t.id);
}
-var E2 = (e, t) => t, D2 = (e, t, n) => n, NQe = Y(dQ, E2, D2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(MQe)), PQe = Y(fQ, E2, D2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(MQe)), FQe = (e, t) => {
+var E2 = (e, t) => t, D2 = (e, t, n) => n, FQe = Y(dQ, E2, D2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(PQe)), IQe = Y(fQ, E2, D2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(PQe)), LQe = (e, t) => {
var n = typeof t.height == "number" ? t.height : 30;
return {
width: e.width,
height: n
};
-}, IQe = (e, t) => ({
+}, RQe = (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-}), LQe = Y(mQ, V0, FQe), RQe = (e, t, n) => {
+}), zQe = Y(mQ, V0, LQe), BQe = (e, t, n) => {
switch (t) {
case "top": return e.top;
case "bottom": return n - e.bottom;
default: return 0;
}
-}, zQe = (e, t, n) => {
+}, VQe = (e, t, n) => {
switch (t) {
case "left": return e.left;
case "right": return n - e.right;
default: return 0;
}
-}, BQe = Y(lQ, mQ, NQe, E2, D2, (e, t, n, r, i) => {
+}, HQe = Y(lQ, mQ, FQe, E2, D2, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = FQe(t, n);
- o ??= RQe(t, r, e);
+ var s = LQe(t, n);
+ o ??= BQe(t, r, e);
var c = r === "top" && !i || r === "bottom" && i;
a[n.id] = o - Number(c) * s.height, o += (c ? -1 : 1) * s.height;
}), a;
-}), VQe = Y(cQ, mQ, PQe, E2, D2, (e, t, n, r, i) => {
+}), UQe = Y(cQ, mQ, IQe, E2, D2, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = IQe(t, n);
- o ??= zQe(t, r, e);
+ var s = RQe(t, n);
+ o ??= VQe(t, r, e);
var c = r === "left" && !i || r === "right" && i;
a[n.id] = o - Number(c) * s.width, o += (c ? -1 : 1) * s.width;
}), a;
-}), HQe = Y([
+}), WQe = Y([
mQ,
V0,
(e, t) => {
var n = V0(e, t);
- if (n != null) return BQe(e, n.orientation, n.mirror);
+ if (n != null) return HQe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -87156,12 +87169,12 @@ var E2 = (e, t) => t, D2 = (e, t, n) => n, NQe = Y(dQ, E2, D2, (e, t, n) => e.fi
y: i
};
}
-}), UQe = Y([
+}), GQe = Y([
mQ,
U0,
(e, t) => {
var n = U0(e, t);
- if (n != null) return VQe(e, n.orientation, n.mirror);
+ if (n != null) return UQe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -87175,28 +87188,28 @@ var E2 = (e, t) => t, D2 = (e, t, n) => n, NQe = Y(dQ, E2, D2, (e, t, n) => e.fi
y: e.top
};
}
-}), WQe = Y(mQ, U0, (e, t) => ({
+}), KQe = Y(mQ, U0, (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-})), GQe = (e, t, n) => {
+})), qQe = (e, t, n) => {
switch (t) {
- case "xAxis": return LQe(e, n).width;
- case "yAxis": return WQe(e, n).height;
+ case "xAxis": return zQe(e, n).width;
+ case "yAxis": return KQe(e, n).height;
default: return;
}
-}, KQe = (e, t, n, r) => {
+}, JQe = (e, t, n, r) => {
if (n != null) {
var i = n.allowDuplicatedCategory, a = n.type, o = n.dataKey, s = nQ(e, r), c = t.map((e) => e.value), l = c.filter((e) => e != null);
- if (o && s && a === "category" && i && uJ(l)) return c;
+ if (o && s && a === "category" && i && dJ(l)) return c;
}
}, O2 = Y([
DQ,
e2,
G0,
P$
-], KQe), qQe = Y([
+], JQe), YQe = Y([
DQ,
- RZe,
+ BZe,
_2,
T2,
O2,
@@ -87228,10 +87241,10 @@ var E2 = (e, t) => t, D2 = (e, t, n) => n, NQe = Y(dQ, E2, D2, (e, t, n) => e.fi
scale: r
};
}
-}), JQe = (e, t, n, r, i, a, o, s, c) => {
+}), XQe = (e, t, n, r, i, a, o, s, c) => {
if (t != null && r != null) {
var l = nQ(e, c), u = t.type, d = t.ticks, f = t.tickCount, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;
- m = c === "angleAxis" && a != null && a.length >= 2 ? rJ(a[0] - a[1]) * 2 * m : m;
+ m = c === "angleAxis" && a != null && a.length >= 2 ? iJ(a[0] - a[1]) * 2 * m : m;
var h = d || i;
return h ? h.map((e, t) => {
var n = o ? o.indexOf(e) : e, i = r.map(n);
@@ -87241,7 +87254,7 @@ var E2 = (e, t) => t, D2 = (e, t, n) => n, NQe = Y(dQ, E2, D2, (e, t, n) => e.fi
value: e,
offset: m
} : null;
- }).filter(hJ) : l && s ? s.map((e, t) => {
+ }).filter(gJ) : l && s ? s.map((e, t) => {
var n = r.map(e);
return QZ(n) ? {
coordinate: n + m,
@@ -87249,7 +87262,7 @@ var E2 = (e, t) => t, D2 = (e, t, n) => n, NQe = Y(dQ, E2, D2, (e, t, n) => e.fi
index: t,
offset: m
} : null;
- }).filter(hJ) : r.ticks ? r.ticks(f).map((e, t) => {
+ }).filter(gJ) : r.ticks ? r.ticks(f).map((e, t) => {
var n = r.map(e);
return QZ(n) ? {
coordinate: n + m,
@@ -87257,7 +87270,7 @@ var E2 = (e, t) => t, D2 = (e, t, n) => n, NQe = Y(dQ, E2, D2, (e, t, n) => e.fi
index: t,
offset: m
} : null;
- }).filter(hJ) : r.domain().map((e, t) => {
+ }).filter(gJ) : r.domain().map((e, t) => {
var n = r.map(e);
return QZ(n) ? {
coordinate: n + m,
@@ -87265,9 +87278,9 @@ var E2 = (e, t) => t, D2 = (e, t, n) => n, NQe = Y(dQ, E2, D2, (e, t, n) => e.fi
index: t,
offset: m
} : null;
- }).filter(hJ);
+ }).filter(gJ);
}
-}, YQe = Y([
+}, ZQe = Y([
DQ,
K0,
_2,
@@ -87277,10 +87290,10 @@ var E2 = (e, t) => t, D2 = (e, t, n) => n, NQe = Y(dQ, E2, D2, (e, t, n) => e.fi
O2,
w2,
P$
-], JQe), XQe = (e, t, n, r, i, a, o) => {
+], XQe), QQe = (e, t, n, r, i, a, o) => {
if (t != null && n != null && r != null && r[0] !== r[1]) {
var s = nQ(e, o), c = t.tickCount, l = 0;
- return l = o === "angleAxis" && r?.length >= 2 ? rJ(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
+ return l = o === "angleAxis" && r?.length >= 2 ? iJ(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
var r = n.map(e);
return QZ(r) ? {
coordinate: r + l,
@@ -87288,7 +87301,7 @@ var E2 = (e, t) => t, D2 = (e, t, n) => n, NQe = Y(dQ, E2, D2, (e, t, n) => e.fi
index: t,
offset: l
} : null;
- }).filter(hJ) : n.ticks ? n.ticks(c).map((e, t) => {
+ }).filter(gJ) : n.ticks ? n.ticks(c).map((e, t) => {
var r = n.map(e);
return QZ(r) ? {
coordinate: r + l,
@@ -87296,7 +87309,7 @@ var E2 = (e, t) => t, D2 = (e, t, n) => n, NQe = Y(dQ, E2, D2, (e, t, n) => e.fi
index: t,
offset: l
} : null;
- }).filter(hJ) : n.domain().map((e, t) => {
+ }).filter(gJ) : n.domain().map((e, t) => {
var r = n.map(e);
return QZ(r) ? {
coordinate: r + l,
@@ -87304,7 +87317,7 @@ var E2 = (e, t) => t, D2 = (e, t, n) => n, NQe = Y(dQ, E2, D2, (e, t, n) => e.fi
index: t,
offset: l
} : null;
- }).filter(hJ);
+ }).filter(gJ);
}
}, k2 = Y([
DQ,
@@ -87314,18 +87327,18 @@ var E2 = (e, t) => t, D2 = (e, t, n) => n, NQe = Y(dQ, E2, D2, (e, t, n) => e.fi
O2,
w2,
P$
-], XQe), A2 = Y(G0, T2, (e, t) => {
+], QQe), A2 = Y(G0, T2, (e, t) => {
if (e != null && t != null) return R0(R0({}, e), {}, { scale: t });
});
Y((e, t, n) => W0(e, n), Y([Y([
G0,
_2,
g2,
- jQe
+ NQe
], L0)], U$), (e, t) => {
if (e != null && t != null) return R0(R0({}, e), {}, { scale: t });
});
-var ZQe = Y([
+var $Qe = Y([
DQ,
dQ,
fQ
@@ -87350,30 +87363,30 @@ Y([(e, t, n) => e.renderedTicks[t]?.[n]], (e) => {
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectTooltipEventType.js
-var QQe = (e) => e.options.defaultTooltipEventType, $Qe = (e) => e.options.validateTooltipEventTypes;
-function e$e(e, t, n) {
+var e$e = (e) => e.options.defaultTooltipEventType, t$e = (e) => e.options.validateTooltipEventTypes;
+function n$e(e, t, n) {
if (e == null) return t;
var r = e ? "axis" : "item";
return n == null ? t : n.includes(r) ? r : t;
}
function j2(e, t) {
- return e$e(t, QQe(e), $Qe(e));
+ return n$e(t, e$e(e), t$e(e));
}
-function t$e(e) {
- return vX((t) => j2(t, e));
+function r$e(e) {
+ return yX((t) => j2(t, e));
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js
-var n$e = (e, t) => {
+var i$e = (e, t) => {
var n, r = Number(t);
- if (!(iJ(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
-}, r$e = (e) => e.tooltip.settings, M2 = {
+ if (!(aJ(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
+}, a$e = (e) => e.tooltip.settings, M2 = {
active: !1,
index: null,
dataKey: void 0,
graphicalItemId: void 0,
coordinate: void 0
-}, i$e = LZ({
+}, o$e = LZ({
name: "tooltip",
initialState: {
itemInteraction: {
@@ -87452,10 +87465,10 @@ var n$e = (e, t) => {
e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;
}
}
-}), N2 = i$e.actions, a$e = N2.addTooltipEntrySettings, o$e = N2.replaceTooltipEntrySettings, s$e = N2.removeTooltipEntrySettings, c$e = N2.setTooltipSettingsState, l$e = N2.setActiveMouseOverItemIndex, u$e = N2.mouseLeaveItem, d$e = N2.mouseLeaveChart, f$e = N2.setActiveClickItemIndex, p$e = N2.setMouseOverAxisIndex, m$e = N2.setMouseClickAxisIndex, P2 = N2.setSyncInteraction, F2 = N2.setKeyboardInteraction, h$e = i$e.reducer;
+}), N2 = o$e.actions, s$e = N2.addTooltipEntrySettings, c$e = N2.replaceTooltipEntrySettings, l$e = N2.removeTooltipEntrySettings, u$e = N2.setTooltipSettingsState, d$e = N2.setActiveMouseOverItemIndex, f$e = N2.mouseLeaveItem, p$e = N2.mouseLeaveChart, m$e = N2.setActiveClickItemIndex, h$e = N2.setMouseOverAxisIndex, g$e = N2.setMouseClickAxisIndex, P2 = N2.setSyncInteraction, F2 = N2.setKeyboardInteraction, _$e = o$e.reducer;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js
-function g$e(e, t) {
+function v$e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -87468,27 +87481,27 @@ function g$e(e, t) {
function I2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? g$e(Object(n), !0).forEach(function(t) {
- _$e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g$e(Object(n)).forEach(function(t) {
+ t % 2 ? v$e(Object(n), !0).forEach(function(t) {
+ y$e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : v$e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function _$e(e, t, n) {
- return (t = v$e(t)) in e ? Object.defineProperty(e, t, {
+function y$e(e, t, n) {
+ return (t = b$e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function v$e(e) {
- var t = y$e(e, "string");
+function b$e(e) {
+ var t = x$e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function y$e(e, t) {
+function x$e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -87498,21 +87511,21 @@ function y$e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function b$e(e, t, n) {
+function S$e(e, t, n) {
return t === "axis" ? n === "click" ? e.axisInteraction.click : e.axisInteraction.hover : n === "click" ? e.itemInteraction.click : e.itemInteraction.hover;
}
-function x$e(e) {
+function C$e(e) {
return e.index != null;
}
-var S$e = (e, t, n, r) => {
+var w$e = (e, t, n, r) => {
if (t == null) return M2;
- var i = b$e(e, t, n);
+ var i = S$e(e, t, n);
if (i == null) return M2;
if (i.active) return i;
if (e.keyboardInteraction.active) return e.keyboardInteraction;
if (e.syncInteraction.active && e.syncInteraction.index != null) return e.syncInteraction;
var a = e.settings.active === !0;
- if (x$e(i)) {
+ if (C$e(i)) {
if (a) return I2(I2({}, i), {}, { active: !0 });
} else if (r != null) return {
active: !0,
@@ -87525,7 +87538,7 @@ var S$e = (e, t, n, r) => {
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js
-function C$e(e) {
+function T$e(e) {
if (typeof e == "number") return Number.isFinite(e) ? e : void 0;
if (e instanceof Date) {
var t = e.valueOf();
@@ -87534,14 +87547,14 @@ function C$e(e) {
var n = Number(e);
return Number.isFinite(n) ? n : void 0;
}
-function w$e(e, t) {
- var n = C$e(e), r = t[0], i = t[1];
+function E$e(e, t) {
+ var n = T$e(e), r = t[0], i = t[1];
return n !== void 0 && n >= Math.min(r, i) && n <= Math.max(r, i);
}
-function T$e(e, t, n) {
+function D$e(e, t, n) {
if (n == null || t == null) return !0;
var r = tQ(e, t);
- return r == null || !f$(n) || w$e(r, n);
+ return r == null || !f$(n) || E$e(r, n);
}
var L2 = (e, t, n, r) => {
var i = e?.index;
@@ -87551,8 +87564,8 @@ var L2 = (e, t, n, r) => {
var o = 0, s = Infinity;
t.length > 0 && (s = t.length - 1);
var c = Math.max(o, Math.min(a, s)), l = t[c];
- return l == null || T$e(l, n, r) ? String(c) : null;
-}, E$e = (e, t, n, r, i, a, o) => {
+ return l == null || D$e(l, n, r) ? String(c) : null;
+}, O$e = (e, t, n, r, i, a, o) => {
if (a != null) {
var s = o[0]?.getPosition(a);
if (s != null) return s;
@@ -87568,7 +87581,7 @@ var L2 = (e, t, n, r) => {
};
}
}
-}, D$e = (e, t, n, r) => {
+}, k$e = (e, t, n, r) => {
if (t === "axis") return e.tooltipItemPayloads;
if (e.tooltipItemPayloads.length === 0) return [];
var i = n === "hover" ? e.itemInteraction.hover.graphicalItemId : e.itemInteraction.click.graphicalItemId;
@@ -87578,10 +87591,10 @@ var L2 = (e, t, n, r) => {
return a == null ? [] : [a];
}
return e.tooltipItemPayloads.filter((e) => e.settings?.graphicalItemId === i);
-}, O$e = (e) => e.options.tooltipPayloadSearcher, R2 = (e) => e.tooltip;
+}, A$e = (e) => e.options.tooltipPayloadSearcher, R2 = (e) => e.tooltip;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js
-function k$e(e, t) {
+function j$e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -87591,30 +87604,30 @@ function k$e(e, t) {
}
return n;
}
-function A$e(e) {
+function M$e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? k$e(Object(n), !0).forEach(function(t) {
- j$e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : k$e(Object(n)).forEach(function(t) {
+ t % 2 ? j$e(Object(n), !0).forEach(function(t) {
+ N$e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j$e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function j$e(e, t, n) {
- return (t = M$e(t)) in e ? Object.defineProperty(e, t, {
+function N$e(e, t, n) {
+ return (t = P$e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function M$e(e) {
- var t = N$e(e, "string");
+function P$e(e) {
+ var t = F$e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function N$e(e, t) {
+function F$e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -87624,52 +87637,52 @@ function N$e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function P$e(e) {
+function I$e(e) {
if (typeof e == "string" || typeof e == "number") return e;
}
-function F$e(e) {
+function L$e(e) {
if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return e;
}
-function I$e(e) {
+function R$e(e) {
if (typeof e == "string" || typeof e == "number") return e;
if (typeof e == "function") return (t) => e(t);
}
-function L$e(e) {
+function z$e(e) {
if (typeof e == "string") return e;
}
-function R$e(e) {
+function B$e(e) {
if (typeof e == "object" && e) return {
- name: "name" in e ? P$e(e.name) : void 0,
- unit: "unit" in e ? F$e(e.unit) : void 0,
- dataKey: "dataKey" in e ? I$e(e.dataKey) : void 0,
+ name: "name" in e ? I$e(e.name) : void 0,
+ unit: "unit" in e ? L$e(e.unit) : void 0,
+ dataKey: "dataKey" in e ? R$e(e.dataKey) : void 0,
payload: "payload" in e ? e.payload : void 0,
- color: "color" in e ? L$e(e.color) : void 0,
- fill: "fill" in e ? L$e(e.fill) : void 0
+ color: "color" in e ? z$e(e.color) : void 0,
+ fill: "fill" in e ? z$e(e.fill) : void 0
};
}
-function z$e(e, t) {
+function V$e(e, t) {
return e ?? t;
}
-var B$e = (e, t, n, r, i, a, o) => {
+var H$e = (e, t, n, r, i, a, o) => {
if (t != null && a != null) {
var s = n.chartData, c = n.computedData, l = n.dataStartIndex, u = n.dataEndIndex;
return e.reduce((e, n) => {
- var d = n.dataDefinedOnItem, f = n.settings, p = z$e(d, s), m = Array.isArray(p) ? YVe(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _;
- return r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? (_ = fJ(m, r, i), _ ??= a(m, t, c, g)) : _ = a(m, t, c, g), Array.isArray(_) ? _.forEach((t) => {
- var n = R$e(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = A$e(A$e({}, f), {}, {
+ var d = n.dataDefinedOnItem, f = n.settings, p = V$e(d, s), m = Array.isArray(p) ? ZVe(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _;
+ return r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? (_ = pJ(m, r, i), _ ??= a(m, t, c, g)) : _ = a(m, t, c, g), Array.isArray(_) ? _.forEach((t) => {
+ var n = B$e(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = M$e(M$e({}, f), {}, {
name: r,
unit: n?.unit,
color: n?.color ?? f?.color,
fill: n?.fill ?? f?.fill
});
- e.push(fHe({
+ e.push(mHe({
tooltipEntrySettings: o,
dataKey: i,
payload: a,
value: tQ(a, i),
name: r == null ? void 0 : String(r)
}));
- }) : e.push(fHe({
+ }) : e.push(mHe({
tooltipEntrySettings: f,
dataKey: h,
payload: _,
@@ -87680,14 +87693,14 @@ var B$e = (e, t, n, r, i, a, o) => {
}
}, z2 = Y([
r2,
- zZe,
+ VZe,
b$
-], xZe), B2 = Y([
+], CZe), B2 = Y([
Y([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),
r2,
Y([V$, H$], q0)
-], Y0, { memoizeOptions: { resultEqualityCheck: B$ } }), V$e = Y([B2], (e) => e.filter(R$)), H$e = Y([B2], Z0, { memoizeOptions: { resultEqualityCheck: B$ } }), U$e = Y([B2], (e) => e.some((e) => !e.data)), V2 = Y([H$e, c$], Q0), W$e = Y([
- V$e,
+], Y0, { memoizeOptions: { resultEqualityCheck: B$ } }), U$e = Y([B2], (e) => e.filter(R$)), W$e = Y([B2], Z0, { memoizeOptions: { resultEqualityCheck: B$ } }), G$e = Y([B2], (e) => e.some((e) => !e.data)), V2 = Y([W$e, c$], Q0), K$e = Y([
+ U$e,
c$,
r2
], L$), H2 = Y([
@@ -87695,34 +87708,34 @@ var B$e = (e, t, n, r, i, a, o) => {
r2,
B2,
c$,
- U$e,
- H$e
-], qZe), G$e = Y([r2], s2), K$e = Y([G$e, Y([r2], (e) => e.allowDataOverflow)], eqe), q$e = Y([
+ G$e,
+ W$e
+], YZe), q$e = Y([r2], s2), J$e = Y([q$e, Y([r2], (e) => e.allowDataOverflow)], nqe), Y$e = Y([
Y([
- W$e,
+ K$e,
Y([B2], (e) => e.filter(R$)),
v$,
y$
], a2),
c$,
V$,
- K$e
-], eQe), J$e = Y([
+ J$e
+], nQe), X$e = Y([
V2,
r2,
- Y([B2], HZe),
+ Y([B2], WZe),
u2,
V$,
- qKe
-], f2, { memoizeOptions: { resultEqualityCheck: z$ } }), Y$e = Y([Y([
- sQe,
+ YKe
+], f2, { memoizeOptions: { resultEqualityCheck: z$ } }), Z$e = Y([Y([
+ lQe,
V$,
H$
-], p2), V$], pQe), X$e = Y([Y([
- lQe,
+], p2), V$], hQe), Q$e = Y([Y([
+ dQe,
V$,
H$
-], p2), V$], hQe), U2 = Y([
+], p2), V$], _Qe), U2 = Y([
r2,
DQ,
V2,
@@ -87731,23 +87744,23 @@ var B$e = (e, t, n, r, i, a, o) => {
V$,
Y([
r2,
- G$e,
- K$e,
q$e,
J$e,
+ Y$e,
+ X$e,
Y([
- Y$e,
+ Z$e,
Y([Y([
- dQe,
+ pQe,
V$,
H$
- ], p2), V$], yQe),
- X$e
+ ], p2), V$], xQe),
+ Q$e
], d2),
DQ,
V$
], m2)
-], h2), Z$e = Y([
+], h2), $$e = Y([
r2,
U2,
Y([
@@ -87756,23 +87769,23 @@ var B$e = (e, t, n, r, i, a, o) => {
z2
], v2),
V$
-], b2), Q$e = (e) => x2(e, V$(e), H$(e), !1), $$e = Y([r2, Q$e], E$), e1e = Y([Y([
+], b2), e1e = (e) => x2(e, V$(e), H$(e), !1), t1e = Y([r2, e1e], E$), n1e = Y([Y([
r2,
z2,
- Z$e,
- $$e
+ $$e,
+ t1e
], L0)], U$), W2 = Y([
DQ,
r2,
z2,
+ n1e,
e1e,
- Q$e,
Y([
DQ,
H2,
r2,
V$
- ], KQe),
+ ], JQe),
Y([
DQ,
H2,
@@ -87785,7 +87798,7 @@ var B$e = (e, t, n, r, i, a, o) => {
var c = t.type, l = nQ(e, s);
if (r) {
var u = n === "scaleBand" && r.bandwidth ? r.bandwidth() / 2 : 2, d = c === "category" && r.bandwidth ? r.bandwidth() / u : 0;
- return d = s === "angleAxis" && i != null && i?.length >= 2 ? rJ(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? iJ(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
var n = r.map(e);
return QZ(n) ? {
coordinate: n + d,
@@ -87793,7 +87806,7 @@ var B$e = (e, t, n, r, i, a, o) => {
index: t,
offset: d
} : null;
- }).filter(hJ) : r.domain().map((e, t) => {
+ }).filter(gJ) : r.domain().map((e, t) => {
var n = r.map(e);
return QZ(n) ? {
coordinate: n + d,
@@ -87801,49 +87814,49 @@ var B$e = (e, t, n, r, i, a, o) => {
index: t,
offset: d
} : null;
- }).filter(hJ);
+ }).filter(gJ);
}
}
}), G2 = Y([
- QQe,
- $Qe,
- r$e
-], (e, t, n) => e$e(n.shared, e, t)), t1e = (e) => e.tooltip.settings.trigger, K2 = (e) => e.tooltip.settings.defaultIndex, q2 = Y([
+ e$e,
+ t$e,
+ a$e
+], (e, t, n) => n$e(n.shared, e, t)), r1e = (e) => e.tooltip.settings.trigger, K2 = (e) => e.tooltip.settings.defaultIndex, q2 = Y([
R2,
G2,
- t1e,
+ r1e,
K2
-], S$e), J2 = Y([
+], w$e), J2 = Y([
q2,
V2,
i2,
U2
-], L2), n1e = Y([W2, J2], n$e), r1e = Y([q2], (e) => {
+], L2), i1e = Y([W2, J2], i$e), a1e = Y([q2], (e) => {
if (e) return e.dataKey;
-}), i1e = Y([q2], (e) => {
+}), o1e = Y([q2], (e) => {
if (e) return e.graphicalItemId;
-}), a1e = Y([
+}), s1e = Y([
R2,
G2,
- t1e,
+ r1e,
K2
-], D$e), o1e = Y([q2, Y([
+], k$e), c1e = Y([q2, Y([
cQ,
lQ,
DQ,
mQ,
W2,
K2,
- a1e
-], E$e)], (e, t) => e != null && e.coordinate ? e.coordinate : t), s1e = Y([q2], (e) => e?.active ?? !1), c1e = Y([Y([
- a1e,
+ s1e
+], O$e)], (e, t) => e != null && e.coordinate ? e.coordinate : t), l1e = Y([q2], (e) => e?.active ?? !1), u1e = Y([Y([
+ s1e,
J2,
c$,
i2,
- n1e,
- O$e,
+ i1e,
+ A$e,
G2
-], B$e)], (e) => {
+], H$e)], (e) => {
if (e != null) {
var t = e.map((e) => e.payload).filter((e) => e != null);
return Array.from(new Set(t));
@@ -87851,7 +87864,7 @@ var B$e = (e, t, n, r, i, a, o) => {
});
//#endregion
//#region node_modules/recharts/es6/context/useTooltipAxis.js
-function l1e(e, t) {
+function d1e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -87861,30 +87874,30 @@ function l1e(e, t) {
}
return n;
}
-function u1e(e) {
+function f1e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? l1e(Object(n), !0).forEach(function(t) {
- d1e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : l1e(Object(n)).forEach(function(t) {
+ t % 2 ? d1e(Object(n), !0).forEach(function(t) {
+ p1e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : d1e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function d1e(e, t, n) {
- return (t = f1e(t)) in e ? Object.defineProperty(e, t, {
+function p1e(e, t, n) {
+ return (t = m1e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function f1e(e) {
- var t = p1e(e, "string");
+function m1e(e) {
+ var t = h1e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function p1e(e, t) {
+function h1e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -87894,13 +87907,13 @@ function p1e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var m1e = () => vX(r2), h1e = () => {
- var e = m1e(), t = vX(W2), n = vX(e1e);
- return oQ(!e || !n ? void 0 : u1e(u1e({}, e), {}, { scale: n }), t);
+var g1e = () => yX(r2), _1e = () => {
+ var e = g1e(), t = yX(W2), n = yX(n1e);
+ return oQ(!e || !n ? void 0 : f1e(f1e({}, e), {}, { scale: n }), t);
};
//#endregion
//#region node_modules/recharts/es6/util/getActiveCoordinate.js
-function g1e(e, t) {
+function v1e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -87913,27 +87926,27 @@ function g1e(e, t) {
function Y2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? g1e(Object(n), !0).forEach(function(t) {
- _1e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g1e(Object(n)).forEach(function(t) {
+ t % 2 ? v1e(Object(n), !0).forEach(function(t) {
+ y1e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : v1e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function _1e(e, t, n) {
- return (t = v1e(t)) in e ? Object.defineProperty(e, t, {
+function y1e(e, t, n) {
+ return (t = b1e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function v1e(e) {
- var t = y1e(e, "string");
+function b1e(e) {
+ var t = x1e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function y1e(e, t) {
+function x1e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -87943,7 +87956,7 @@ function y1e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var b1e = (e, t, n, r) => {
+var S1e = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "horizontal") return {
@@ -87959,7 +87972,7 @@ var b1e = (e, t, n, r) => {
x: 0,
y: 0
};
-}, x1e = (e, t, n, r) => {
+}, C1e = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "centric") {
@@ -87989,11 +88002,11 @@ var b1e = (e, t, n, r) => {
y: 0
};
};
-function S1e(e, t) {
+function w1e(e, t) {
var n = e.relativeX, r = e.relativeY;
return n >= t.left && n <= t.left + t.width && r >= t.top && r <= t.top + t.height;
}
-var C1e = (e, t, n, r, i) => {
+var T1e = (e, t, n, r, i) => {
var a = t?.length ?? 0;
if (a <= 1 || e == null) return 0;
if (r === "angleAxis" && i != null && Math.abs(Math.abs(i[1] - i[0]) - 360) <= 1e-6) for (var o = i[1] - i[0], s = (t, n, r) => [
@@ -88003,9 +88016,9 @@ var C1e = (e, t, n, r, i) => {
].some((e) => (r ? e >= t : e > t) && e <= n), c = 0; c < a; c++) {
var l = c > 0 ? n[c - 1]?.coordinate : n[a - 1]?.coordinate, u = n[c]?.coordinate, d = c >= a - 1 ? n[0]?.coordinate : n[c + 1]?.coordinate, f = void 0;
if (l != null && u != null && d != null) {
- if (rJ(u - l) !== rJ(d - u)) {
+ if (iJ(u - l) !== iJ(d - u)) {
var p = [];
- if (rJ(d - u) === rJ(i[1] - i[0])) {
+ if (iJ(d - u) === iJ(i[1] - i[0])) {
f = d;
var m = u + i[1] - i[0];
p[0] = Math.min(m, (m + l) / 2), p[1] = Math.max(m, (m + l) / 2);
@@ -88030,78 +88043,78 @@ var C1e = (e, t, n, r, i) => {
}
}
return -1;
-}, w1e = () => vX(b$), X2 = (e, t) => t, T1e = (e, t, n) => n, Z2 = (e, t, n, r) => r, E1e = Y(W2, (e) => EX(e, (e) => e.coordinate)), Q2 = Y([
+}, E1e = () => yX(b$), X2 = (e, t) => t, D1e = (e, t, n) => n, Z2 = (e, t, n, r) => r, O1e = Y(W2, (e) => DX(e, (e) => e.coordinate)), Q2 = Y([
R2,
X2,
- T1e,
+ D1e,
Z2
-], S$e), $2 = Y([
+], w$e), $2 = Y([
Q2,
V2,
i2,
U2
-], L2), D1e = (e, t, n) => {
+], L2), k1e = (e, t, n) => {
if (t != null) {
var r = R2(e);
return t === "axis" ? n === "hover" ? r.axisInteraction.hover.dataKey : r.axisInteraction.click.dataKey : n === "hover" ? r.itemInteraction.hover.dataKey : r.itemInteraction.click.dataKey;
}
-}, O1e = Y([
+}, A1e = Y([
R2,
X2,
- T1e,
+ D1e,
Z2
-], D$e), e4 = Y([
+], k$e), e4 = Y([
cQ,
lQ,
DQ,
mQ,
W2,
Z2,
- O1e
-], E$e), k1e = Y([Q2, e4], (e, t) => e.coordinate ?? t), A1e = Y([W2, $2], n$e), j1e = Y([
- O1e,
+ A1e
+], O$e), j1e = Y([Q2, e4], (e, t) => e.coordinate ?? t), M1e = Y([W2, $2], i$e), N1e = Y([
+ A1e,
$2,
c$,
i2,
- A1e,
- O$e,
+ M1e,
+ A$e,
X2
-], B$e), M1e = Y([Q2, $2], (e, t) => ({
+], H$e), P1e = Y([Q2, $2], (e, t) => ({
isActive: e.active && t != null,
activeIndex: t
-})), N1e = (e, t, n, r, i, a, o) => {
- if (e && n && r && i && S1e(e, o)) {
- var s = C1e(pHe(e, t), a, i, n, r), c = b1e(t, i, s, e);
+})), F1e = (e, t, n, r, i, a, o) => {
+ if (e && n && r && i && w1e(e, o)) {
+ var s = T1e(hHe(e, t), a, i, n, r), c = S1e(t, i, s, e);
return {
activeIndex: String(s),
activeCoordinate: c
};
}
-}, P1e = (e, t, n, r, i, a, o) => {
+}, I1e = (e, t, n, r, i, a, o) => {
if (e && r && i && a && n) {
- var s = OKe(e, n);
+ var s = AKe(e, n);
if (s) {
- var c = C1e(mHe(s, t), o, a, r, i), l = x1e(t, a, c, s);
+ var c = T1e(gHe(s, t), o, a, r, i), l = C1e(t, a, c, s);
return {
activeIndex: String(c),
activeCoordinate: l
};
}
}
-}, F1e = (e, t, n, r, i, a, o, s) => {
- if (e && t && r && i && a) return t === "horizontal" || t === "vertical" ? N1e(e, t, r, i, a, o, s) : P1e(e, t, n, r, i, a, o);
-}, I1e = Y((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
+}, L1e = (e, t, n, r, i, a, o, s) => {
+ if (e && t && r && i && a) return t === "horizontal" || t === "vertical" ? F1e(e, t, r, i, a, o, s) : I1e(e, t, n, r, i, a, o);
+}, R1e = Y((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
if (t != null) {
var r = e[t];
if (r != null) return n ? r.panoramaElement : r.element;
}
-}), L1e = Y((e) => e.zIndex.zIndexMap, (e) => {
+}), z1e = Y((e) => e.zIndex.zIndexMap, (e) => {
var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(C$));
return Array.from(new Set(t)).sort((e, t) => e - t);
-}, { memoizeOptions: { resultEqualityCheck: jqe } });
+}, { memoizeOptions: { resultEqualityCheck: Nqe } });
//#endregion
//#region node_modules/recharts/es6/state/zIndexSlice.js
-function R1e(e, t) {
+function B1e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -88111,30 +88124,30 @@ function R1e(e, t) {
}
return n;
}
-function z1e(e) {
+function V1e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? R1e(Object(n), !0).forEach(function(t) {
- B1e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R1e(Object(n)).forEach(function(t) {
+ t % 2 ? B1e(Object(n), !0).forEach(function(t) {
+ H1e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B1e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function B1e(e, t, n) {
- return (t = V1e(t)) in e ? Object.defineProperty(e, t, {
+function H1e(e, t, n) {
+ return (t = U1e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function V1e(e) {
- var t = H1e(e, "string");
+function U1e(e) {
+ var t = W1e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function H1e(e, t) {
+function W1e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -88144,17 +88157,17 @@ function H1e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var U1e = { zIndexMap: Object.values(C$).reduce((e, t) => z1e(z1e({}, e), {}, { [t]: {
+var G1e = { zIndexMap: Object.values(C$).reduce((e, t) => V1e(V1e({}, e), {}, { [t]: {
element: void 0,
panoramaElement: void 0,
consumers: 0
-} }), {}) }, W1e = new Set(Object.values(C$));
-function G1e(e) {
- return W1e.has(e);
+} }), {}) }, K1e = new Set(Object.values(C$));
+function q1e(e) {
+ return K1e.has(e);
}
-var K1e = LZ({
+var J1e = LZ({
name: "zIndex",
- initialState: U1e,
+ initialState: G1e,
reducers: {
registerZIndexPortal: {
reducer: (e, t) => {
@@ -88170,7 +88183,7 @@ var K1e = LZ({
unregisterZIndexPortal: {
reducer: (e, t) => {
var n = t.payload.zIndex;
- e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !G1e(n) && delete e.zIndexMap[n]);
+ e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !q1e(n) && delete e.zIndexMap[n]);
},
prepare: IZ()
},
@@ -88193,18 +88206,18 @@ var K1e = LZ({
prepare: IZ()
}
}
-}), t4 = K1e.actions, q1e = t4.registerZIndexPortal, n4 = t4.unregisterZIndexPortal, J1e = t4.registerZIndexPortalElement, Y1e = t4.unregisterZIndexPortalElement, X1e = K1e.reducer;
+}), t4 = J1e.actions, Y1e = t4.registerZIndexPortal, n4 = t4.unregisterZIndexPortal, X1e = t4.registerZIndexPortalElement, Z1e = t4.unregisterZIndexPortalElement, Q1e = J1e.reducer;
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js
function r4(e) {
- var t = e.zIndex, n = e.children, r = aUe() && t !== void 0 && t !== 0, i = gQ(), a = (0, S.useRef)(void 0), o = (0, S.useRef)(/* @__PURE__ */ new Set()), s = gX(), c = vX((e) => I1e(e, t, i));
+ var t = e.zIndex, n = e.children, r = sUe() && t !== void 0 && t !== 0, i = gQ(), a = (0, S.useRef)(void 0), o = (0, S.useRef)(/* @__PURE__ */ new Set()), s = _X(), c = yX((e) => R1e(e, t, i));
if ((0, S.useLayoutEffect)(() => {
if (!r) {
var e = o.current;
e.forEach((e) => {
s(n4({ zIndex: e }));
}), e.clear(), a.current = void 0;
- } else if (o.current.has(t) || (s(q1e({ zIndex: t })), o.current.add(t)), c) {
+ } else if (o.current.has(t) || (s(Y1e({ zIndex: t })), o.current.add(t)), c) {
a.current = c;
var n = o.current;
n.forEach((e) => {
@@ -88238,7 +88251,7 @@ function i4() {
return e;
}, i4.apply(null, arguments);
}
-function Z1e(e, t) {
+function $1e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -88251,27 +88264,27 @@ function Z1e(e, t) {
function a4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Z1e(Object(n), !0).forEach(function(t) {
- Q1e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Z1e(Object(n)).forEach(function(t) {
+ t % 2 ? $1e(Object(n), !0).forEach(function(t) {
+ e0e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $1e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Q1e(e, t, n) {
- return (t = $1e(t)) in e ? Object.defineProperty(e, t, {
+function e0e(e, t, n) {
+ return (t = t0e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $1e(e) {
- var t = e0e(e, "string");
+function t0e(e) {
+ var t = n0e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function e0e(e, t) {
+function n0e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -88281,18 +88294,18 @@ function e0e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function t0e(e) {
+function r0e(e) {
var t = e.cursor, n = e.cursorComp, r = e.cursorProps;
return /*#__PURE__*/ (0, S.isValidElement)(t) ? /*#__PURE__*/ (0, S.cloneElement)(t, r) : /*#__PURE__*/ (0, S.createElement)(n, r);
}
-function n0e(e) {
+function i0e(e) {
var t = e.coordinate, n = e.payload, r = e.index, i = e.offset, a = e.tooltipAxisBandSize, o = e.layout, s = e.cursor, c = e.tooltipEventType, l = e.chartName, u = t, d = n, f = r;
if (!s || !u || l !== "ScatterChart" && c !== "axis") return null;
var p, m, h;
- if (l === "ScatterChart") p = u, m = cGe, h = C$.cursorLine;
- else if (l === "BarChart") p = lGe(o, u, i, a), m = $Q, h = C$.cursorRectangle;
- else if (o === "radial" && yY(u)) {
- var g = kKe(u), _ = g.cx, v = g.cy, y = g.radius;
+ if (l === "ScatterChart") p = u, m = uGe, h = C$.cursorLine;
+ else if (l === "BarChart") p = dGe(o, u, i, a), m = $Q, h = C$.cursorRectangle;
+ else if (o === "radial" && bY(u)) {
+ var g = jKe(u), _ = g.cx, v = g.cy, y = g.radius;
p = {
cx: _,
cy: v,
@@ -88301,24 +88314,24 @@ function n0e(e) {
innerRadius: y,
outerRadius: y
}, m = o$, h = C$.cursorLine;
- } else p = { points: VKe(o, u, i) }, m = qQ, h = C$.cursorLine;
+ } else p = { points: UKe(o, u, i) }, m = qQ, h = C$.cursorLine;
var b = typeof s == "object" && "className" in s ? s.className : void 0, x = a4(a4(a4(a4({
stroke: "#ccc",
pointerEvents: "none"
- }, i), p), Hq(s)), {}, {
+ }, i), p), Uq(s)), {}, {
payload: d,
payloadIndex: f,
className: Lv("recharts-tooltip-cursor", b)
});
- return /*#__PURE__*/ S.createElement(r4, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ S.createElement(t0e, {
+ return /*#__PURE__*/ S.createElement(r4, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ S.createElement(r0e, {
cursor: s,
cursorComp: m,
cursorProps: x
}));
}
-function r0e(e) {
- var t = h1e(), n = rUe(), r = OQ(), i = w1e();
- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ S.createElement(n0e, i4({}, e, {
+function a0e(e) {
+ var t = _1e(), n = aUe(), r = OQ(), i = E1e();
+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ S.createElement(i0e, i4({}, e, {
offset: n,
layout: r,
tooltipAxisBandSize: t,
@@ -88327,7 +88340,7 @@ function r0e(e) {
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipPortalContext.js
-var i0e = /*#__PURE__*/ (0, S.createContext)(null), a0e = () => (0, S.useContext)(i0e), o0e = (/* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {
+var o0e = /*#__PURE__*/ (0, S.createContext)(null), s0e = () => (0, S.useContext)(o0e), c0e = (/* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {
var n = Object.prototype.hasOwnProperty, r = "~";
function i() {}
Object.create && (i.prototype = Object.create(null), new i().__proto__ || (r = !1));
@@ -88414,12 +88427,12 @@ var i0e = /*#__PURE__*/ (0, S.createContext)(null), a0e = () => (0, S.useContext
var t;
return e ? (t = r ? r + e : e, this._events[t] && s(this, t)) : (this._events = new i(), this._eventsCount = 0), this;
}, c.prototype.off = c.prototype.removeListener, c.prototype.addListener = c.prototype.on, c.prefixed = r, c.EventEmitter = c, t !== void 0 && (t.exports = c);
-})))(), 1)).default, o4 = new o0e(), s4 = "recharts.syncEvent.tooltip", s0e = "recharts.syncEvent.brush", c4 = (e, t) => {
+})))(), 1)).default, o4 = new c0e(), s4 = "recharts.syncEvent.tooltip", l0e = "recharts.syncEvent.brush", c4 = (e, t) => {
if (t && Array.isArray(e)) {
var n = Number.parseInt(t, 10);
- if (!iJ(n)) return e[n];
+ if (!aJ(n)) return e[n];
}
-}, c0e = LZ({
+}, u0e = LZ({
name: "options",
initialState: {
chartName: "",
@@ -88430,13 +88443,13 @@ var i0e = /*#__PURE__*/ (0, S.createContext)(null), a0e = () => (0, S.useContext
reducers: { createEventEmitter: (e) => {
e.eventEmitter ??= Symbol("rechartsEventEmitter");
} }
-}), l0e = c0e.reducer, u0e = c0e.actions.createEventEmitter;
+}), d0e = u0e.reducer, f0e = u0e.actions.createEventEmitter;
//#endregion
//#region node_modules/recharts/es6/synchronisation/syncSelectors.js
-function d0e(e) {
+function p0e(e) {
return e.tooltip.syncInteraction;
}
-var f0e = LZ({
+var m0e = LZ({
name: "chartData",
initialState: {
chartData: void 0,
@@ -88456,10 +88469,10 @@ var f0e = LZ({
r != null && (e.dataStartIndex = r), i != null && (e.dataEndIndex = i);
}
}
-}), l4 = f0e.actions, p0e = l4.setChartData, m0e = l4.setDataStartEndIndexes;
+}), l4 = m0e.actions, h0e = l4.setChartData, g0e = l4.setDataStartEndIndexes;
l4.setComputedData;
-var h0e = f0e.reducer, g0e = ["x", "y"];
-function _0e(e, t) {
+var _0e = m0e.reducer, v0e = ["x", "y"];
+function y0e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -88472,27 +88485,27 @@ function _0e(e, t) {
function u4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? _0e(Object(n), !0).forEach(function(t) {
- v0e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _0e(Object(n)).forEach(function(t) {
+ t % 2 ? y0e(Object(n), !0).forEach(function(t) {
+ b0e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y0e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function v0e(e, t, n) {
- return (t = y0e(t)) in e ? Object.defineProperty(e, t, {
+function b0e(e, t, n) {
+ return (t = x0e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function y0e(e) {
- var t = b0e(e, "string");
+function x0e(e) {
+ var t = S0e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function b0e(e, t) {
+function S0e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -88502,16 +88515,16 @@ function b0e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function x0e(e, t) {
+function C0e(e, t) {
if (e == null) return {};
- var n, r, i = S0e(e, t);
+ var n, r, i = w0e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function S0e(e, t) {
+function w0e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -88520,10 +88533,10 @@ function S0e(e, t) {
}
return n;
}
-function C0e() {
- var e = vX(x$), t = vX(S$), n = gX(), r = vX(_qe), i = vX(W2), a = OQ(), o = wQ(), s = vX((e) => e.rootProps.className);
+function T0e() {
+ var e = yX(x$), t = yX(S$), n = _X(), r = yX(yqe), i = yX(W2), a = OQ(), o = wQ(), s = yX((e) => e.rootProps.className);
(0, S.useEffect)(() => {
- if (e == null) return gJ;
+ if (e == null) return _J;
var s = (s, c, l) => {
if (t !== l && e === s) {
if (c.payload.active === !1) n(P2({
@@ -88538,7 +88551,7 @@ function C0e() {
else if (r === "index") {
var u;
if (o && c != null && (u = c.payload) != null && u.coordinate && c.payload.sourceViewBox) {
- var d = c.payload.coordinate, f = d.x, p = d.y, m = x0e(d, g0e), h = c.payload.sourceViewBox, g = h.x, _ = h.y, v = h.width, y = h.height, b = u4(u4({}, m), {}, {
+ var d = c.payload.coordinate, f = d.x, p = d.y, m = C0e(d, v0e), h = c.payload.sourceViewBox, g = h.x, _ = h.y, v = h.width, y = h.height, b = u4(u4({}, m), {}, {
x: o.x + (v ? (f - g) / v : 0) * o.width,
y: o.y + (y ? (p - _) / y : 0) * o.height
});
@@ -88605,15 +88618,15 @@ function C0e() {
o
]);
}
-function w0e() {
- var e = vX(x$), t = vX(S$), n = gX();
+function E0e() {
+ var e = yX(x$), t = yX(S$), n = _X();
(0, S.useEffect)(() => {
- if (e == null) return gJ;
+ if (e == null) return _J;
var r = (r, i, a) => {
- t !== a && e === r && n(m0e(i));
+ t !== a && e === r && n(g0e(i));
};
- return o4.on(s0e, r), () => {
- o4.off(s0e, r);
+ return o4.on(l0e, r), () => {
+ o4.off(l0e, r);
};
}, [
n,
@@ -88621,14 +88634,14 @@ function w0e() {
e
]);
}
-function T0e() {
- var e = gX();
+function D0e() {
+ var e = _X();
(0, S.useEffect)(() => {
- e(u0e());
- }, [e]), C0e(), w0e();
+ e(f0e());
+ }, [e]), T0e(), E0e();
}
-function E0e(e, t, n, r, i, a) {
- var o = vX((n) => D1e(n, e, t)), s = vX(i1e), c = vX(S$), l = vX(x$), u = vX(_qe), d = vX(d0e)?.sourceViewBox != null, f = wQ();
+function O0e(e, t, n, r, i, a) {
+ var o = yX((n) => k1e(n, e, t)), s = yX(o1e), c = yX(S$), l = yX(x$), u = yX(yqe), d = yX(p0e)?.sourceViewBox != null, f = wQ();
(0, S.useEffect)(() => {
if (!d && l != null && c != null) {
var e = P2({
@@ -88658,7 +88671,7 @@ function E0e(e, t, n, r, i, a) {
}
//#endregion
//#region node_modules/recharts/es6/component/Tooltip.js
-function D0e(e, t) {
+function k0e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -88668,30 +88681,30 @@ function D0e(e, t) {
}
return n;
}
-function O0e(e) {
+function A0e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? D0e(Object(n), !0).forEach(function(t) {
- k0e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : D0e(Object(n)).forEach(function(t) {
+ t % 2 ? k0e(Object(n), !0).forEach(function(t) {
+ j0e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : k0e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function k0e(e, t, n) {
- return (t = A0e(t)) in e ? Object.defineProperty(e, t, {
+function j0e(e, t, n) {
+ return (t = M0e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function A0e(e) {
- var t = j0e(e, "string");
+function M0e(e) {
+ var t = N0e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function j0e(e, t) {
+function N0e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -88701,25 +88714,25 @@ function j0e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function M0e(e, t) {
- return L0e(e) || I0e(e, t) || P0e(e, t) || N0e();
+function P0e(e, t) {
+ return z0e(e) || R0e(e, t) || I0e(e, t) || F0e();
}
-function N0e() {
+function F0e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function P0e(e, t) {
+function I0e(e, t) {
if (e) {
- if (typeof e == "string") return F0e(e, t);
+ if (typeof e == "string") return L0e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? F0e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? L0e(e, t) : void 0;
}
}
-function F0e(e, t) {
+function L0e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function I0e(e, t) {
+function R0e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -88740,16 +88753,16 @@ function I0e(e, t) {
return s;
}
}
-function L0e(e) {
+function z0e(e) {
if (Array.isArray(e)) return e;
}
-function R0e(e) {
+function B0e(e) {
return e.dataKey;
}
-function z0e(e, t) {
- return /*#__PURE__*/ S.isValidElement(e) ? /*#__PURE__*/ S.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ S.createElement(e, t) : /*#__PURE__*/ S.createElement(gWe, t);
+function V0e(e, t) {
+ return /*#__PURE__*/ S.isValidElement(e) ? /*#__PURE__*/ S.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ S.createElement(e, t) : /*#__PURE__*/ S.createElement(vWe, t);
}
-var B0e = [], V0e = {
+var H0e = [], U0e = {
allowEscapeViewBox: {
x: !1,
y: !1
@@ -88775,10 +88788,10 @@ var B0e = [], V0e = {
useTranslate3d: !1,
wrapperStyle: {}
};
-function H0e(e) {
- var t = CY(e, V0e), n = t.active, r = t.allowEscapeViewBox, i = t.animationDuration, a = t.animationEasing, o = t.content, s = t.filterNull, c = t.isAnimationActive, l = t.offset, u = t.payloadUniqBy, d = t.position, f = t.reverseDirection, p = t.useTranslate3d, m = t.wrapperStyle, h = t.cursor, g = t.shared, _ = t.trigger, v = t.defaultIndex, y = t.portal, b = t.axisId, x = gX(), C = typeof v == "number" ? String(v) : v;
+function W0e(e) {
+ var t = wY(e, U0e), n = t.active, r = t.allowEscapeViewBox, i = t.animationDuration, a = t.animationEasing, o = t.content, s = t.filterNull, c = t.isAnimationActive, l = t.offset, u = t.payloadUniqBy, d = t.position, f = t.reverseDirection, p = t.useTranslate3d, m = t.wrapperStyle, h = t.cursor, g = t.shared, _ = t.trigger, v = t.defaultIndex, y = t.portal, b = t.axisId, x = _X(), C = typeof v == "number" ? String(v) : v;
(0, S.useEffect)(() => {
- x(c$e({
+ x(u$e({
shared: g,
trigger: _,
axisId: b,
@@ -88793,20 +88806,20 @@ function H0e(e) {
n,
C
]);
- var w = wQ(), T = HWe(), E = t$e(g), D = vX((e) => M1e(e, E, _, C)) ?? {}, O = D.activeIndex, k = D.isActive, A = vX((e) => j1e(e, E, _, C)), j = vX((e) => A1e(e, E, _, C)), M = vX((e) => k1e(e, E, _, C)), N = A, P = a0e(), F = n ?? k ?? !1, I = M0e(MX([N, F]), 2), ee = I[0], L = I[1], te = E === "axis" ? j : void 0;
- E0e(E, _, M, te, O, F);
+ var w = wQ(), T = WWe(), E = r$e(g), D = yX((e) => P1e(e, E, _, C)) ?? {}, O = D.activeIndex, k = D.isActive, A = yX((e) => N1e(e, E, _, C)), j = yX((e) => M1e(e, E, _, C)), M = yX((e) => j1e(e, E, _, C)), N = A, P = s0e(), F = n ?? k ?? !1, I = P0e(NX([N, F]), 2), ee = I[0], L = I[1], te = E === "axis" ? j : void 0;
+ O0e(E, _, M, te, O, F);
var ne = y ?? P;
if (ne == null || w == null || E == null) return null;
- var re = N ?? B0e;
- F || (re = B0e), s && re.length && (re = mX(re.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, R0e));
- var ie = re.length > 0, ae = O0e(O0e({}, t), {}, {
+ var re = N ?? H0e;
+ F || (re = H0e), s && re.length && (re = hX(re.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, B0e));
+ var ie = re.length > 0, ae = A0e(A0e({}, t), {}, {
payload: re,
label: te,
active: F,
activeIndex: O,
coordinate: M,
accessibilityLayer: T
- }), oe = /*#__PURE__*/ S.createElement(VWe, {
+ }), oe = /*#__PURE__*/ S.createElement(UWe, {
allowEscapeViewBox: r,
animationDuration: i,
animationEasing: a,
@@ -88823,8 +88836,8 @@ function H0e(e) {
lastBoundingBox: ee,
innerRef: L,
hasPortalFromProps: !!y
- }, z0e(o, ae));
- return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ (0, gt.createPortal)(oe, ne), F && /*#__PURE__*/ S.createElement(r0e, {
+ }, V0e(o, ae));
+ return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ (0, gt.createPortal)(oe, ne), F && /*#__PURE__*/ S.createElement(a0e, {
cursor: h,
tooltipEventType: E,
coordinate: M,
@@ -88838,19 +88851,19 @@ var d4 = (e) => null;
d4.displayName = "Cell";
//#endregion
//#region node_modules/recharts/es6/util/LRUCache.js
-function U0e(e, t, n) {
- return (t = W0e(t)) in e ? Object.defineProperty(e, t, {
+function G0e(e, t, n) {
+ return (t = K0e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function W0e(e) {
- var t = G0e(e, "string");
+function K0e(e) {
+ var t = q0e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function G0e(e, t) {
+function q0e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -88860,9 +88873,9 @@ function G0e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var K0e = class {
+var J0e = class {
constructor(e) {
- U0e(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
+ G0e(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
}
get(e) {
var t = this.cache.get(e);
@@ -88885,7 +88898,7 @@ var K0e = class {
};
//#endregion
//#region node_modules/recharts/es6/util/DOMUtils.js
-function q0e(e, t) {
+function Y0e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -88895,30 +88908,30 @@ function q0e(e, t) {
}
return n;
}
-function J0e(e) {
+function X0e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? q0e(Object(n), !0).forEach(function(t) {
- Y0e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q0e(Object(n)).forEach(function(t) {
+ t % 2 ? Y0e(Object(n), !0).forEach(function(t) {
+ Z0e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y0e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Y0e(e, t, n) {
- return (t = X0e(t)) in e ? Object.defineProperty(e, t, {
+function Z0e(e, t, n) {
+ return (t = Q0e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function X0e(e) {
- var t = Z0e(e, "string");
+function Q0e(e) {
+ var t = $0e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Z0e(e, t) {
+function $0e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -88928,10 +88941,10 @@ function Z0e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Q0e = J0e({}, {
+var e2e = X0e({}, {
cacheSize: 2e3,
enableCache: !0
-}), $0e = new K0e(Q0e.cacheSize), e2e = {
+}), t2e = new J0e(e2e.cacheSize), n2e = {
position: "absolute",
top: "-20000px",
left: 0,
@@ -88939,14 +88952,14 @@ var Q0e = J0e({}, {
margin: 0,
border: "none",
whiteSpace: "pre"
-}, t2e = "recharts_measurement_span";
-function n2e(e, t) {
+}, r2e = "recharts_measurement_span";
+function i2e(e, t) {
return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;
}
-var r2e = (e, t) => {
+var a2e = (e, t) => {
try {
- var n = document.getElementById(t2e);
- n || (n = document.createElement("span"), n.setAttribute("id", t2e), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, e2e, t), n.textContent = `${e}`;
+ var n = document.getElementById(r2e);
+ n || (n = document.createElement("span"), n.setAttribute("id", r2e), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, n2e, t), n.textContent = `${e}`;
var r = n.getBoundingClientRect();
return {
width: r.width,
@@ -88964,31 +88977,31 @@ var r2e = (e, t) => {
width: 0,
height: 0
};
- if (!Q0e.enableCache) return r2e(e, t);
- var n = n2e(e, t), r = $0e.get(n);
+ if (!e2e.enableCache) return a2e(e, t);
+ var n = i2e(e, t), r = t2e.get(n);
if (r) return r;
- var i = r2e(e, t);
- return $0e.set(n, i), i;
-}, i2e;
+ var i = a2e(e, t);
+ return t2e.set(n, i), i;
+}, o2e;
function p4(e, t) {
- return l2e(e) || c2e(e, t) || o2e(e, t) || a2e();
+ return d2e(e) || u2e(e, t) || c2e(e, t) || s2e();
}
-function a2e() {
+function s2e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function o2e(e, t) {
+function c2e(e, t) {
if (e) {
- if (typeof e == "string") return s2e(e, t);
+ if (typeof e == "string") return l2e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? s2e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? l2e(e, t) : void 0;
}
}
-function s2e(e, t) {
+function l2e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function c2e(e, t) {
+function u2e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -89009,22 +89022,22 @@ function c2e(e, t) {
return s;
}
}
-function l2e(e) {
+function d2e(e) {
if (Array.isArray(e)) return e;
}
-function u2e(e, t, n) {
- return (t = d2e(t)) in e ? Object.defineProperty(e, t, {
+function f2e(e, t, n) {
+ return (t = p2e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function d2e(e) {
- var t = f2e(e, "string");
+function p2e(e) {
+ var t = m2e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function f2e(e, t) {
+function m2e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -89034,7 +89047,7 @@ function f2e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var p2e = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, m2e = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, h2e = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, g2e = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, _2e = {
+var h2e = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, g2e = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, _2e = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, v2e = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, y2e = {
cm: 96 / 2.54,
mm: 96 / 25.4,
pt: 96 / 72,
@@ -89042,7 +89055,7 @@ var p2e = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, m2e =
in: 96,
Q: 96 / 101.6,
px: 1
-}, v2e = [
+}, b2e = [
"cm",
"mm",
"pt",
@@ -89051,20 +89064,20 @@ var p2e = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, m2e =
"Q",
"px"
];
-function y2e(e) {
- return v2e.includes(e);
+function x2e(e) {
+ return b2e.includes(e);
}
var m4 = "NaN";
-function b2e(e, t) {
- return e * _2e[t];
+function S2e(e, t) {
+ return e * y2e[t];
}
var h4 = class e {
static parse(t) {
- var n = p4(g2e.exec(t) ?? [], 3), r = n[1], i = n[2];
+ var n = p4(v2e.exec(t) ?? [], 3), r = n[1], i = n[2];
return r == null ? e.NaN : new e(parseFloat(r), i ?? "");
}
constructor(e, t) {
- this.num = e, this.unit = t, this.num = e, this.unit = t, iJ(e) && (this.unit = ""), t !== "" && !h2e.test(t) && (this.num = NaN, this.unit = ""), y2e(t) && (this.num = b2e(e, t), this.unit = "px");
+ this.num = e, this.unit = t, this.num = e, this.unit = t, aJ(e) && (this.unit = ""), t !== "" && !_2e.test(t) && (this.num = NaN, this.unit = ""), x2e(t) && (this.num = S2e(e, t), this.unit = "px");
}
add(t) {
return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");
@@ -89082,50 +89095,50 @@ var h4 = class e {
return `${this.num}${this.unit}`;
}
isNaN() {
- return iJ(this.num);
+ return aJ(this.num);
}
};
-i2e = h4, u2e(h4, "NaN", new i2e(NaN, ""));
-function x2e(e) {
+o2e = h4, f2e(h4, "NaN", new o2e(NaN, ""));
+function C2e(e) {
if (e == null || e.includes(m4)) return m4;
for (var t = e; t.includes("*") || t.includes("/");) {
- var n = p4(p2e.exec(t) ?? [], 4), r = n[1], i = n[2], a = n[3], o = h4.parse(r ?? ""), s = h4.parse(a ?? ""), c = i === "*" ? o.multiply(s) : o.divide(s);
+ var n = p4(h2e.exec(t) ?? [], 4), r = n[1], i = n[2], a = n[3], o = h4.parse(r ?? ""), s = h4.parse(a ?? ""), c = i === "*" ? o.multiply(s) : o.divide(s);
if (c.isNaN()) return m4;
- t = t.replace(p2e, c.toString());
+ t = t.replace(h2e, c.toString());
}
for (; t.includes("+") || /.-\d+(?:\.\d+)?/.test(t);) {
- var l = p4(m2e.exec(t) ?? [], 4), u = l[1], d = l[2], f = l[3], p = h4.parse(u ?? ""), m = h4.parse(f ?? ""), h = d === "+" ? p.add(m) : p.subtract(m);
+ var l = p4(g2e.exec(t) ?? [], 4), u = l[1], d = l[2], f = l[3], p = h4.parse(u ?? ""), m = h4.parse(f ?? ""), h = d === "+" ? p.add(m) : p.subtract(m);
if (h.isNaN()) return m4;
- t = t.replace(m2e, h.toString());
+ t = t.replace(g2e, h.toString());
}
return t;
}
-var S2e = /\(([^()]*)\)/;
-function C2e(e) {
- for (var t = e, n; (n = S2e.exec(t)) != null;) {
+var w2e = /\(([^()]*)\)/;
+function T2e(e) {
+ for (var t = e, n; (n = w2e.exec(t)) != null;) {
var r = p4(n, 2)[1];
- t = t.replace(S2e, x2e(r));
+ t = t.replace(w2e, C2e(r));
}
return t;
}
-function w2e(e) {
+function E2e(e) {
var t = e.replace(/\s+/g, "");
- return t = C2e(t), t = x2e(t), t;
+ return t = T2e(t), t = C2e(t), t;
}
-function T2e(e) {
+function D2e(e) {
try {
- return w2e(e);
+ return E2e(e);
} catch {
return m4;
}
}
function g4(e) {
- var t = T2e(e.slice(5, -1));
+ var t = D2e(e.slice(5, -1));
return t === m4 ? "" : t;
}
//#endregion
//#region node_modules/recharts/es6/component/Text.js
-var E2e = [
+var O2e = [
"x",
"y",
"lineHeight",
@@ -89134,7 +89147,7 @@ var E2e = [
"scaleToFit",
"textAnchor",
"verticalAnchor"
-], D2e = [
+], k2e = [
"dx",
"dy",
"angle",
@@ -89150,16 +89163,16 @@ function _4() {
return e;
}, _4.apply(null, arguments);
}
-function O2e(e, t) {
+function A2e(e, t) {
if (e == null) return {};
- var n, r, i = k2e(e, t);
+ var n, r, i = j2e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function k2e(e, t) {
+function j2e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -89168,25 +89181,25 @@ function k2e(e, t) {
}
return n;
}
-function A2e(e, t) {
- return F2e(e) || P2e(e, t) || M2e(e, t) || j2e();
+function M2e(e, t) {
+ return L2e(e) || I2e(e, t) || P2e(e, t) || N2e();
}
-function j2e() {
+function N2e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function M2e(e, t) {
+function P2e(e, t) {
if (e) {
- if (typeof e == "string") return N2e(e, t);
+ if (typeof e == "string") return F2e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? N2e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? F2e(e, t) : void 0;
}
}
-function N2e(e, t) {
+function F2e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function P2e(e, t) {
+function I2e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -89207,14 +89220,14 @@ function P2e(e, t) {
return s;
}
}
-function F2e(e) {
+function L2e(e) {
if (Array.isArray(e)) return e;
}
-var I2e = /[ \f\n\r\t\v\u2028\u2029]+/, L2e = (e) => {
+var R2e = /[ \f\n\r\t\v\u2028\u2029]+/, z2e = (e) => {
var t = e.children, n = e.breakAll, r = e.style;
try {
var i = [];
- return pJ(t) || (i = n ? t.toString().split("") : t.toString().split(I2e)), {
+ return mJ(t) || (i = n ? t.toString().split("") : t.toString().split(R2e)), {
wordsWithComputedWidth: i.map((e) => ({
word: e,
width: f4(e, r).width
@@ -89225,13 +89238,13 @@ var I2e = /[ \f\n\r\t\v\u2028\u2029]+/, L2e = (e) => {
return null;
}
};
-function R2e(e) {
+function B2e(e) {
return e === "start" || e === "middle" || e === "end" || e === "inherit";
}
-function z2e(e) {
- return pJ(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
+function V2e(e) {
+ return mJ(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
}
-var B2e = (e, t, n, r) => e.reduce((e, i) => {
+var H2e = (e, t, n, r) => e.reduce((e, i) => {
var a = i.word, o = i.width, s = e[e.length - 1];
if (s && o != null && (t == null || r || s.width + o + n < Number(t))) s.words.push(a), s.width += o + n;
else {
@@ -89242,20 +89255,20 @@ var B2e = (e, t, n, r) => e.reduce((e, i) => {
e.push(c);
}
return e;
-}, []), V2e = (e) => e.reduce((e, t) => e.width > t.width ? e : t), H2e = "…", U2e = (e, t, n, r, i, a, o, s) => {
- var c = L2e({
+}, []), U2e = (e) => e.reduce((e, t) => e.width > t.width ? e : t), W2e = "…", G2e = (e, t, n, r, i, a, o, s) => {
+ var c = z2e({
breakAll: n,
style: r,
- children: e.slice(0, t) + H2e
+ children: e.slice(0, t) + W2e
});
if (!c) return [!1, []];
- var l = B2e(c.wordsWithComputedWidth, a, o, s);
- return [l.length > i || V2e(l).width > Number(a), l];
-}, W2e = (e, t, n, r, i) => {
- var a = e.maxLines, o = e.children, s = e.style, c = e.breakAll, l = oJ(a), u = String(o), d = B2e(t, r, n, i);
- if (!l || i || !(d.length > a || V2e(d).width > Number(r))) return d;
+ var l = H2e(c.wordsWithComputedWidth, a, o, s);
+ return [l.length > i || U2e(l).width > Number(a), l];
+}, K2e = (e, t, n, r, i) => {
+ var a = e.maxLines, o = e.children, s = e.style, c = e.breakAll, l = sJ(a), u = String(o), d = H2e(t, r, n, i);
+ if (!l || i || !(d.length > a || U2e(d).width > Number(r))) return d;
for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {
- var g = Math.floor((f + p) / 2), _ = A2e(U2e(u, g - 1, c, s, a, r, n, i), 2), v = _[0], y = _[1], b = A2e(U2e(u, g, c, s, a, r, n, i), 1)[0];
+ var g = Math.floor((f + p) / 2), _ = M2e(G2e(u, g - 1, c, s, a, r, n, i), 2), v = _[0], y = _[1], b = M2e(G2e(u, g, c, s, a, r, n, i), 1)[0];
if (!v && !b && (f = g + 1), v && b && (p = g - 1), !v && b) {
h = y;
break;
@@ -89263,13 +89276,13 @@ var B2e = (e, t, n, r) => e.reduce((e, i) => {
m++;
}
return h || d;
-}, G2e = (e) => [{
- words: pJ(e) ? [] : e.toString().split(I2e),
+}, q2e = (e) => [{
+ words: mJ(e) ? [] : e.toString().split(R2e),
width: void 0
-}], K2e = (e) => {
+}], J2e = (e) => {
var t = e.width, n = e.scaleToFit, r = e.children, i = e.style, a = e.breakAll, o = e.maxLines;
if ((t || n) && !VQ.isSsr) {
- var s, c, l = L2e({
+ var s, c, l = z2e({
breakAll: a,
children: r,
style: i
@@ -89277,20 +89290,20 @@ var B2e = (e, t, n, r) => e.reduce((e, i) => {
if (l) {
var u = l.wordsWithComputedWidth, d = l.spaceWidth;
s = u, c = d;
- } else return G2e(r);
- return W2e({
+ } else return q2e(r);
+ return K2e({
breakAll: a,
children: r,
maxLines: o,
style: i
}, s, c, t, !!n);
}
- return G2e(r);
-}, q2e = "#808080", J2e = {
+ return q2e(r);
+}, Y2e = "#808080", X2e = {
angle: 0,
breakAll: !1,
capHeight: "0.71em",
- fill: q2e,
+ fill: Y2e,
lineHeight: "1em",
scaleToFit: !1,
textAnchor: "start",
@@ -89298,7 +89311,7 @@ var B2e = (e, t, n, r) => e.reduce((e, i) => {
x: 0,
y: 0
}, v4 = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
- var n = CY(e, J2e), r = n.x, i = n.y, a = n.lineHeight, o = n.capHeight, s = n.fill, c = n.scaleToFit, l = n.textAnchor, u = n.verticalAnchor, d = O2e(n, E2e), f = (0, S.useMemo)(() => K2e({
+ var n = wY(e, X2e), r = n.x, i = n.y, a = n.lineHeight, o = n.capHeight, s = n.fill, c = n.scaleToFit, l = n.textAnchor, u = n.verticalAnchor, d = A2e(n, O2e), f = (0, S.useMemo)(() => J2e({
breakAll: d.breakAll,
children: d.children,
maxLines: d.maxLines,
@@ -89312,9 +89325,9 @@ var B2e = (e, t, n, r) => e.reduce((e, i) => {
c,
d.style,
d.width
- ]), p = d.dx, m = d.dy, h = d.angle, g = d.className, _ = d.breakAll, v = O2e(d, D2e);
- if (!sJ(r) || !sJ(i) || f.length === 0) return null;
- var y = Number(r) + (oJ(p) ? p : 0), b = Number(i) + (oJ(m) ? m : 0);
+ ]), p = d.dx, m = d.dy, h = d.angle, g = d.className, _ = d.breakAll, v = A2e(d, k2e);
+ if (!cJ(r) || !cJ(i) || f.length === 0) return null;
+ var y = Number(r) + (sJ(p) ? p : 0), b = Number(i) + (sJ(m) ? m : 0);
if (!QZ(y) || !QZ(b)) return null;
var x;
switch (u) {
@@ -89329,15 +89342,15 @@ var B2e = (e, t, n, r) => e.reduce((e, i) => {
var C = [], w = f[0];
if (c && w != null) {
var T = w.width, E = d.width;
- C.push(`scale(${oJ(E) && oJ(T) ? E / T : 1})`);
+ C.push(`scale(${sJ(E) && sJ(T) ? E / T : 1})`);
}
- return h && C.push(`rotate(${h}, ${y}, ${b})`), C.length && (v.transform = C.join(" ")), /*#__PURE__*/ S.createElement("text", _4({}, Uq(v), {
+ return h && C.push(`rotate(${h}, ${y}, ${b})`), C.length && (v.transform = C.join(" ")), /*#__PURE__*/ S.createElement("text", _4({}, Wq(v), {
ref: t,
x: y,
y: b,
className: Lv("recharts-text", g),
textAnchor: l,
- fill: s.includes("url") ? q2e : s
+ fill: s.includes("url") ? Y2e : s
}), f.map((e, t) => {
var n = e.words.join(_ ? "" : " ");
return /*#__PURE__*/ S.createElement("tspan", {
@@ -89350,17 +89363,17 @@ var B2e = (e, t, n, r) => e.reduce((e, i) => {
v4.displayName = "Text";
//#endregion
//#region node_modules/recharts/es6/component/Label.js
-var Y2e = ["labelRef"], X2e = ["content"];
-function Z2e(e, t) {
+var Z2e = ["labelRef"], Q2e = ["content"];
+function $2e(e, t) {
if (e == null) return {};
- var n, r, i = Q2e(e, t);
+ var n, r, i = e4e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Q2e(e, t) {
+function e4e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -89369,7 +89382,7 @@ function Q2e(e, t) {
}
return n;
}
-function $2e(e, t) {
+function t4e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -89382,27 +89395,27 @@ function $2e(e, t) {
function y4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? $2e(Object(n), !0).forEach(function(t) {
- e4e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $2e(Object(n)).forEach(function(t) {
+ t % 2 ? t4e(Object(n), !0).forEach(function(t) {
+ n4e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : t4e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function e4e(e, t, n) {
- return (t = t4e(t)) in e ? Object.defineProperty(e, t, {
+function n4e(e, t, n) {
+ return (t = r4e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function t4e(e) {
- var t = n4e(e, "string");
+function r4e(e) {
+ var t = i4e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function n4e(e, t) {
+function i4e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -89421,7 +89434,7 @@ function b4() {
return e;
}, b4.apply(null, arguments);
}
-var r4e = /*#__PURE__*/ (0, S.createContext)(null), i4e = (e) => {
+var a4e = /*#__PURE__*/ (0, S.createContext)(null), o4e = (e) => {
var t = e.x, n = e.y, r = e.upperWidth, i = e.lowerWidth, a = e.width, o = e.height, s = e.children, c = (0, S.useMemo)(() => ({
x: t,
y: n,
@@ -89437,11 +89450,11 @@ var r4e = /*#__PURE__*/ (0, S.createContext)(null), i4e = (e) => {
a,
o
]);
- return /*#__PURE__*/ S.createElement(r4e.Provider, { value: c }, s);
-}, a4e = () => {
- var e = (0, S.useContext)(r4e), t = wQ();
- return e || (t ? _J(t) : void 0);
-}, o4e = /*#__PURE__*/ (0, S.createContext)(null), s4e = (e) => {
+ return /*#__PURE__*/ S.createElement(a4e.Provider, { value: c }, s);
+}, s4e = () => {
+ var e = (0, S.useContext)(a4e), t = wQ();
+ return e || (t ? vJ(t) : void 0);
+}, c4e = /*#__PURE__*/ (0, S.createContext)(null), l4e = (e) => {
var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = e.clockWise, c = e.children, l = (0, S.useMemo)(() => ({
cx: t,
cy: n,
@@ -89459,15 +89472,15 @@ var r4e = /*#__PURE__*/ (0, S.createContext)(null), i4e = (e) => {
o,
s
]);
- return /*#__PURE__*/ S.createElement(o4e.Provider, { value: l }, c);
-}, c4e = () => {
- var e = (0, S.useContext)(o4e), t = vX(N$);
+ return /*#__PURE__*/ S.createElement(c4e.Provider, { value: l }, c);
+}, u4e = () => {
+ var e = (0, S.useContext)(c4e), t = yX(N$);
return e || t;
-}, l4e = (e) => {
- var t = e.value, n = e.formatter, r = pJ(e.children) ? t : e.children;
+}, d4e = (e) => {
+ var t = e.value, n = e.formatter, r = mJ(e.children) ? t : e.children;
return typeof n == "function" ? n(r) : r;
-}, x4 = (e) => e != null && typeof e == "function", u4e = (e, t) => rJ(t - e) * Math.min(Math.abs(t - e), 360), d4e = (e, t, n, r, i) => {
- var a = e.offset, o = e.className, s = i.cx, c = i.cy, l = i.innerRadius, u = i.outerRadius, d = i.startAngle, f = i.endAngle, p = i.clockWise, m = (l + u) / 2, h = u4e(d, f), g = h >= 0 ? 1 : -1, _, v;
+}, x4 = (e) => e != null && typeof e == "function", f4e = (e, t) => iJ(t - e) * Math.min(Math.abs(t - e), 360), p4e = (e, t, n, r, i) => {
+ var a = e.offset, o = e.className, s = i.cx, c = i.cy, l = i.innerRadius, u = i.outerRadius, d = i.startAngle, f = i.endAngle, p = i.clockWise, m = (l + u) / 2, h = f4e(d, f), g = h >= 0 ? 1 : -1, _, v;
switch (t) {
case "insideStart":
_ = d + g * a, v = p;
@@ -89483,7 +89496,7 @@ var r4e = /*#__PURE__*/ (0, S.createContext)(null), i4e = (e) => {
v = h <= 0 ? v : !v;
var y = n$(s, c, m, _), b = n$(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}
A${m},${m},0,1,${+!v},
- ${b.x},${b.y}`, C = pJ(e.id) ? cJ("recharts-radial-line-") : e.id;
+ ${b.x},${b.y}`, C = mJ(e.id) ? lJ("recharts-radial-line-") : e.id;
return /*#__PURE__*/ S.createElement("text", b4({}, r, {
dominantBaseline: "central",
className: Lv("recharts-radial-bar-label", o)
@@ -89491,7 +89504,7 @@ var r4e = /*#__PURE__*/ (0, S.createContext)(null), i4e = (e) => {
id: C,
d: x
})), /*#__PURE__*/ S.createElement("textPath", { xlinkHref: `#${C}` }, n));
-}, f4e = (e, t, n) => {
+}, m4e = (e, t, n) => {
var r = e.cx, i = e.cy, a = e.innerRadius, o = e.outerRadius, s = (e.startAngle + e.endAngle) / 2;
if (n === "outside") {
var c = n$(r, i, o + t, s), l = c.x;
@@ -89527,14 +89540,14 @@ var r4e = /*#__PURE__*/ (0, S.createContext)(null), i4e = (e) => {
textAnchor: "middle",
verticalAnchor: "middle"
};
-}, S4 = (e) => e != null && "cx" in e && oJ(e.cx), p4e = {
+}, S4 = (e) => e != null && "cx" in e && sJ(e.cx), h4e = {
angle: 0,
offset: 5,
zIndex: C$.label,
position: "middle",
textBreakAll: !1
};
-function m4e(e) {
+function g4e(e) {
if (!S4(e)) return e;
var t = e.cx, n = e.cy, r = e.outerRadius, i = r * 2;
return {
@@ -89547,12 +89560,12 @@ function m4e(e) {
};
}
function C4(e) {
- var t = CY(e, p4e), n = t.viewBox, r = t.parentViewBox, i = t.position, a = t.value, o = t.children, s = t.content, c = t.className, l = c === void 0 ? "" : c, u = t.textBreakAll, d = t.labelRef, f = c4e(), p = a4e(), m = n == null ? i === "center" ? p : f ?? p : S4(n) ? n : _J(n), h, g, _ = m4e(m);
- if (!m || pJ(a) && pJ(o) && !/*#__PURE__*/ (0, S.isValidElement)(s) && typeof s != "function") return null;
+ var t = wY(e, h4e), n = t.viewBox, r = t.parentViewBox, i = t.position, a = t.value, o = t.children, s = t.content, c = t.className, l = c === void 0 ? "" : c, u = t.textBreakAll, d = t.labelRef, f = u4e(), p = s4e(), m = n == null ? i === "center" ? p : f ?? p : S4(n) ? n : vJ(n), h, g, _ = g4e(m);
+ if (!m || mJ(a) && mJ(o) && !/*#__PURE__*/ (0, S.isValidElement)(s) && typeof s != "function") return null;
var v = S4(m) && (i === "insideStart" || i === "insideEnd" || i === "end");
- if (S4(m)) v || (g = f4e(m, t.offset, t.position));
+ if (S4(m)) v || (g = m4e(m, t.offset, t.position));
else if (_) {
- var y = bJ({
+ var y = xJ({
viewBox: _,
position: i,
offset: t.offset,
@@ -89569,31 +89582,31 @@ function C4(e) {
var b = y4(y4(y4(y4({}, g?.x === void 0 ? {} : { x: g.x }), g?.y === void 0 ? {} : { y: g.y }), t), {}, { viewBox: m });
if (/*#__PURE__*/ (0, S.isValidElement)(s)) {
b.labelRef;
- var x = Z2e(b, Y2e);
+ var x = $2e(b, Z2e);
return /*#__PURE__*/ (0, S.cloneElement)(s, x);
}
if (typeof s == "function") {
b.content;
- var C = Z2e(b, X2e);
+ var C = $2e(b, Q2e);
if (h = /*#__PURE__*/ (0, S.createElement)(s, C), /*#__PURE__*/ (0, S.isValidElement)(h)) return h;
- } else h = l4e(t);
- var w = Uq(t);
- return v && S4(m) ? d4e(t, i, h, w, m) : g == null ? null : /*#__PURE__*/ S.createElement(r4, { zIndex: t.zIndex }, /*#__PURE__*/ S.createElement(v4, b4({
+ } else h = d4e(t);
+ var w = Wq(t);
+ return v && S4(m) ? p4e(t, i, h, w, m) : g == null ? null : /*#__PURE__*/ S.createElement(r4, { zIndex: t.zIndex }, /*#__PURE__*/ S.createElement(v4, b4({
ref: d,
className: Lv("recharts-label", l)
}, w, g, {
- textAnchor: R2e(w.textAnchor) ? w.textAnchor : g.textAnchor,
+ textAnchor: B2e(w.textAnchor) ? w.textAnchor : g.textAnchor,
breakAll: u
}), h));
}
C4.displayName = "Label";
-var h4e = (e, t, n) => {
+var _4e = (e, t, n) => {
if (!e) return null;
var r = {
viewBox: t,
labelRef: n
};
- return e === !0 ? /*#__PURE__*/ S.createElement(C4, b4({ key: "label-implicit" }, r)) : sJ(e) ? /*#__PURE__*/ S.createElement(C4, b4({
+ return e === !0 ? /*#__PURE__*/ S.createElement(C4, b4({ key: "label-implicit" }, r)) : cJ(e) ? /*#__PURE__*/ S.createElement(C4, b4({
key: "label-implicit",
value: e
}, r)) : /*#__PURE__*/ (0, S.isValidElement)(e) ? e.type === C4 ? /*#__PURE__*/ (0, S.cloneElement)(e, y4({ key: "label-implicit" }, r)) : /*#__PURE__*/ S.createElement(C4, b4({
@@ -89604,17 +89617,17 @@ var h4e = (e, t, n) => {
content: e
}, r)) : e && typeof e == "object" ? /*#__PURE__*/ S.createElement(C4, b4({}, e, { key: "label-implicit" }, r)) : null;
};
-function g4e(e) {
+function v4e(e) {
var t = e.label, n = e.labelRef;
- return h4e(t, a4e(), n) || null;
+ return _4e(t, s4e(), n) || null;
}
-function _4e(e) {
+function y4e(e) {
var t = e.label;
- return h4e(t, c4e()) || null;
+ return _4e(t, u4e()) || null;
}
//#endregion
//#region node_modules/recharts/es6/component/LabelList.js
-var v4e = ["valueAccessor"], y4e = [
+var b4e = ["valueAccessor"], x4e = [
"dataKey",
"clockWise",
"id",
@@ -89630,16 +89643,16 @@ function w4() {
return e;
}, w4.apply(null, arguments);
}
-function b4e(e, t) {
+function S4e(e, t) {
if (e == null) return {};
- var n, r, i = x4e(e, t);
+ var n, r, i = C4e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function x4e(e, t) {
+function C4e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -89648,23 +89661,23 @@ function x4e(e, t) {
}
return n;
}
-var S4e = (e) => {
+var w4e = (e) => {
var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;
- if (z2e(t)) return t;
-}, C4e = /*#__PURE__*/ (0, S.createContext)(void 0), T4 = C4e.Provider, w4e = /*#__PURE__*/ (0, S.createContext)(void 0), T4e = w4e.Provider;
-function E4e() {
- return (0, S.useContext)(C4e);
+ if (V2e(t)) return t;
+}, T4e = /*#__PURE__*/ (0, S.createContext)(void 0), T4 = T4e.Provider, E4e = /*#__PURE__*/ (0, S.createContext)(void 0), D4e = E4e.Provider;
+function O4e() {
+ return (0, S.useContext)(T4e);
}
-function D4e() {
- return (0, S.useContext)(w4e);
+function k4e() {
+ return (0, S.useContext)(E4e);
}
function E4(e) {
- var t = e.valueAccessor, n = t === void 0 ? S4e : t, r = b4e(e, v4e), i = r.dataKey;
+ var t = e.valueAccessor, n = t === void 0 ? w4e : t, r = S4e(e, b4e), i = r.dataKey;
r.clockWise;
- var a = r.id, o = r.textBreakAll, s = r.zIndex, c = b4e(r, y4e), l = E4e(), u = D4e(), d = l || u;
- return !d || !d.length ? null : /*#__PURE__*/ S.createElement(r4, { zIndex: s ?? C$.label }, /*#__PURE__*/ S.createElement(qq, { className: "recharts-label-list" }, d.map((e, t) => {
- var s = pJ(i) ? n(e, t) : tQ(e.payload, i), l = pJ(a) ? {} : { id: `${a}-${t}` };
- return /*#__PURE__*/ S.createElement(C4, w4({ key: `label-${t}` }, Uq(e), c, l, {
+ var a = r.id, o = r.textBreakAll, s = r.zIndex, c = S4e(r, x4e), l = O4e(), u = k4e(), d = l || u;
+ return !d || !d.length ? null : /*#__PURE__*/ S.createElement(r4, { zIndex: s ?? C$.label }, /*#__PURE__*/ S.createElement(Jq, { className: "recharts-label-list" }, d.map((e, t) => {
+ var s = mJ(i) ? n(e, t) : tQ(e.payload, i), l = mJ(a) ? {} : { id: `${a}-${t}` };
+ return /*#__PURE__*/ S.createElement(C4, w4({ key: `label-${t}` }, Wq(e), c, l, {
fill: r.fill ?? e.fill,
parentViewBox: e.parentViewBox,
value: s,
@@ -89685,12 +89698,12 @@ function D4(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Polygon.js
-var O4e = [
+var A4e = [
"points",
"className",
"baseLinePoints",
"connectNulls"
-], k4e;
+], j4e;
function O4() {
return O4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -89700,16 +89713,16 @@ function O4() {
return e;
}, O4.apply(null, arguments);
}
-function A4e(e, t) {
+function M4e(e, t) {
if (e == null) return {};
- var n, r, i = j4e(e, t);
+ var n, r, i = N4e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function j4e(e, t) {
+function N4e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -89718,23 +89731,23 @@ function j4e(e, t) {
}
return n;
}
-function M4e(e, t) {
+function P4e(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var N4e = (e) => e != null && e.x === +e.x && e.y === +e.y, P4e = function() {
+var F4e = (e) => e != null && e.x === +e.x && e.y === +e.y, I4e = function() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];
e.forEach((e) => {
var n = t[t.length - 1];
- N4e(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);
+ F4e(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);
});
var n = e[0], r = t[t.length - 1];
- N4e(n) && r && r.push(n);
+ F4e(n) && r && r.push(n);
var i = t[t.length - 1];
return i && i.length <= 0 && (t = t.slice(0, -1)), t;
}, k4 = (e, t) => {
- var n = P4e(e);
+ var n = I4e(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
- var r = n.map((e) => e.reduce((e, t, n) => nJ(k4e ||= M4e([
+ var r = n.map((e) => e.reduce((e, t, n) => rJ(j4e ||= P4e([
"",
"",
"",
@@ -89742,29 +89755,29 @@ var N4e = (e) => e != null && e.x === +e.x && e.y === +e.y, P4e = function() {
""
]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");
return n.length === 1 ? `${r}Z` : r;
-}, F4e = (e, t, n) => {
+}, L4e = (e, t, n) => {
var r = k4(e, n);
return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${k4(Array.from(t).reverse(), n).slice(1)}`;
-}, I4e = (e) => {
- var t = e.points, n = e.className, r = e.baseLinePoints, i = e.connectNulls, a = A4e(e, O4e);
+}, R4e = (e) => {
+ var t = e.points, n = e.className, r = e.baseLinePoints, i = e.connectNulls, a = M4e(e, A4e);
if (!t || !t.length) return null;
var o = Lv("recharts-polygon", n);
if (r && r.length) {
- var s = a.stroke && a.stroke !== "none", c = F4e(t, r, i);
- return /*#__PURE__*/ S.createElement("g", { className: o }, /*#__PURE__*/ S.createElement("path", O4({}, Uq(a), {
+ var s = a.stroke && a.stroke !== "none", c = L4e(t, r, i);
+ return /*#__PURE__*/ S.createElement("g", { className: o }, /*#__PURE__*/ S.createElement("path", O4({}, Wq(a), {
fill: c.slice(-1) === "Z" ? a.fill : "none",
stroke: "none",
d: c
- })), s ? /*#__PURE__*/ S.createElement("path", O4({}, Uq(a), {
+ })), s ? /*#__PURE__*/ S.createElement("path", O4({}, Wq(a), {
fill: "none",
d: k4(t, i)
- })) : null, s ? /*#__PURE__*/ S.createElement("path", O4({}, Uq(a), {
+ })) : null, s ? /*#__PURE__*/ S.createElement("path", O4({}, Wq(a), {
fill: "none",
d: k4(r, i)
})) : null);
}
var l = k4(t, i);
- return /*#__PURE__*/ S.createElement("path", O4({}, Uq(a), {
+ return /*#__PURE__*/ S.createElement("path", O4({}, Wq(a), {
fill: l.slice(-1) === "Z" ? a.fill : "none",
className: o,
d: l
@@ -89783,7 +89796,7 @@ function A4() {
}
var j4 = (e) => {
var t = e.cx, n = e.cy, r = e.r, i = e.className, a = Lv("recharts-dot", i);
- return oJ(t) && oJ(n) && oJ(r) ? /*#__PURE__*/ S.createElement("circle", A4({}, Vq(e), bY(e), {
+ return sJ(t) && sJ(n) && sJ(r) ? /*#__PURE__*/ S.createElement("circle", A4({}, Hq(e), xY(e), {
className: a,
cx: t,
cy: n,
@@ -89793,11 +89806,11 @@ var j4 = (e) => {
M4,
G0,
Y([P$, F$], q0)
-], Y0), P4 = Y([Y([N4], Z0), l$], Q0), L4e = Y([
+], Y0), P4 = Y([Y([N4], Z0), l$], Q0), z4e = Y([
P4,
G0,
N4
-], KZe);
+], JZe);
Y([
P4,
G0,
@@ -89812,40 +89825,40 @@ Y([
value: tQ(e, t.dataKey),
errorDomain: []
})));
-var R4e = () => void 0, z4e = Y([
+var B4e = () => void 0, V4e = Y([
G0,
DQ,
P4,
- L4e,
+ z4e,
v$,
P$,
Y([
G0,
c2,
l2,
- R4e,
+ B4e,
Y([
P4,
G0,
N4,
u2,
P$,
- KKe
+ JKe
], f2),
- R4e,
+ B4e,
DQ,
P$
], m2)
-], h2), B4e = Y([
- z4e,
+], h2), H4e = Y([
+ V4e,
K0,
_2
-], v2), V4e = Y([_2, Y([
+], v2), U4e = Y([_2, Y([
G0,
- z4e,
- B4e,
+ V4e,
+ H4e,
P$
-], b2)], Mqe), F4 = (e, t, n) => {
+], b2)], Pqe), F4 = (e, t, n) => {
switch (t) {
case "angleAxis": return k$(e, n);
case "radiusAxis": return A$(e, n);
@@ -89853,18 +89866,18 @@ var R4e = () => void 0, z4e = Y([
}
}, I4 = (e, t, n) => {
switch (t) {
- case "angleAxis": return Oqe(e, n);
- case "radiusAxis": return Aqe(e, n);
+ case "angleAxis": return Aqe(e, n);
+ case "radiusAxis": return Mqe(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
}, L4 = Y([Y([
F4,
_2,
- V4e,
+ U4e,
I4
-], L0)], U$), H4e = Y([
+], L0)], U$), W4e = Y([
DQ,
- L4e,
+ z4e,
K0,
P$
], C2), R4 = Y([
@@ -89872,12 +89885,12 @@ var R4e = () => void 0, z4e = Y([
F4,
_2,
L4,
- B4e,
+ H4e,
I4,
O2,
- H4e,
+ W4e,
P$
-], JQe), U4e = Y([R4], (e) => {
+], XQe), G4e = Y([R4], (e) => {
if (e) {
var t = /* @__PURE__ */ new Map();
return e.forEach((e) => {
@@ -89885,19 +89898,19 @@ var R4e = () => void 0, z4e = Y([
t.has(n) || t.set(n, e);
}), Array.from(t.values());
}
-}), W4e = Y([
+}), K4e = Y([
DQ,
F4,
L4,
I4,
O2,
- H4e,
+ W4e,
P$
-], XQe), G4e = Y([(e, t) => R4(e, "angleAxis", t, !1)], (e) => {
+], QQe), q4e = Y([(e, t) => R4(e, "angleAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), K4e = Y([(e, t) => R4(e, "radiusAxis", t, !1)], (e) => {
+}), J4e = Y([(e, t) => R4(e, "radiusAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), q4e = [
+}), Y4e = [
"gridType",
"radialLines",
"angleAxisId",
@@ -89910,16 +89923,16 @@ var R4e = () => void 0, z4e = Y([
"polarRadius",
"zIndex"
];
-function J4e(e, t) {
+function X4e(e, t) {
if (e == null) return {};
- var n, r, i = Y4e(e, t);
+ var n, r, i = Z4e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Y4e(e, t) {
+function Z4e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -89937,7 +89950,7 @@ function z4() {
return e;
}, z4.apply(null, arguments);
}
-function X4e(e, t) {
+function Q4e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -89950,27 +89963,27 @@ function X4e(e, t) {
function B4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? X4e(Object(n), !0).forEach(function(t) {
- Z4e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X4e(Object(n)).forEach(function(t) {
+ t % 2 ? Q4e(Object(n), !0).forEach(function(t) {
+ $4e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q4e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Z4e(e, t, n) {
- return (t = Q4e(t)) in e ? Object.defineProperty(e, t, {
+function $4e(e, t, n) {
+ return (t = e3e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Q4e(e) {
- var t = $4e(e, "string");
+function e3e(e) {
+ var t = t3e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function $4e(e, t) {
+function t3e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -89980,16 +89993,16 @@ function $4e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var e3e = (e, t, n, r) => {
+var n3e = (e, t, n, r) => {
var i = "";
return r.forEach((r, a) => {
var o = n$(t, n, e, r);
i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;
}), i += "Z", i;
-}, t3e = (e) => {
+}, r3e = (e) => {
var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.polarAngles, o = e.radialLines;
if (!a || !a.length || !o) return null;
- var s = B4({}, Vq(e));
+ var s = B4({}, Hq(e));
return /*#__PURE__*/ S.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {
var a = n$(t, n, r, e), o = n$(t, n, i, e);
return /*#__PURE__*/ S.createElement("line", z4({ key: `line-${e}` }, s, {
@@ -89999,35 +90012,35 @@ var e3e = (e, t, n, r) => {
y2: o.y
}));
}));
-}, n3e = (e) => {
- var t = e.cx, n = e.cy, r = e.radius, i = B4({}, Vq(e));
+}, i3e = (e) => {
+ var t = e.cx, n = e.cy, r = e.radius, i = B4({}, Hq(e));
return /*#__PURE__*/ S.createElement("circle", z4({}, i, {
className: Lv("recharts-polar-grid-concentric-circle", e.className),
cx: t,
cy: n,
r
}));
-}, r3e = (e) => {
- var t = e.radius, n = B4({}, Vq(e));
+}, a3e = (e) => {
+ var t = e.radius, n = B4({}, Hq(e));
return /*#__PURE__*/ S.createElement("path", z4({}, n, {
className: Lv("recharts-polar-grid-concentric-polygon", e.className),
- d: e3e(t, e.cx, e.cy, e.polarAngles)
+ d: n3e(t, e.cx, e.cy, e.polarAngles)
}));
-}, i3e = (e) => {
+}, o3e = (e) => {
var t = e.polarRadius, n = e.gridType;
if (!t || !t.length) return null;
var r = Math.max(...t), i = e.fill && e.fill !== "none";
- return /*#__PURE__*/ S.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ S.createElement(n3e, z4({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ S.createElement(r3e, z4({}, e, { radius: r })), t.map((t, r) => {
+ return /*#__PURE__*/ S.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ S.createElement(i3e, z4({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ S.createElement(a3e, z4({}, e, { radius: r })), t.map((t, r) => {
var i = r;
- return n === "circle" ? /*#__PURE__*/ S.createElement(n3e, z4({ key: i }, e, {
+ return n === "circle" ? /*#__PURE__*/ S.createElement(i3e, z4({ key: i }, e, {
fill: "none",
radius: t
- })) : /*#__PURE__*/ S.createElement(r3e, z4({ key: i }, e, {
+ })) : /*#__PURE__*/ S.createElement(a3e, z4({ key: i }, e, {
fill: "none",
radius: t
}));
}));
-}, a3e = {
+}, s3e = {
angleAxisId: 0,
radiusAxisId: 0,
gridType: "polygon",
@@ -90036,8 +90049,8 @@ var e3e = (e, t, n, r) => {
stroke: "#ccc",
strokeWidth: 1,
fill: "none"
-}, o3e = (e) => {
- var t = CY(e, a3e), n = t.gridType, r = t.radialLines, i = t.angleAxisId, a = t.radiusAxisId, o = t.cx, s = t.cy, c = t.innerRadius, l = t.outerRadius, u = t.polarAngles, d = t.polarRadius, f = t.zIndex, p = J4e(t, q4e), m = vX(N$), h = vX((e) => G4e(e, i)), g = vX((e) => K4e(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
+}, c3e = (e) => {
+ var t = wY(e, s3e), n = t.gridType, r = t.radialLines, i = t.angleAxisId, a = t.radiusAxisId, o = t.cx, s = t.cy, c = t.innerRadius, l = t.outerRadius, u = t.polarAngles, d = t.polarRadius, f = t.zIndex, p = X4e(t, Y4e), m = yX(N$), h = yX((e) => q4e(e, i)), g = yX((e) => J4e(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
if (_ == null || v == null) return null;
var y = B4({
cx: m?.cx ?? o ?? 0,
@@ -90048,13 +90061,13 @@ var e3e = (e, t, n, r) => {
polarRadius: v,
zIndex: f
}, p);
- return y.outerRadius <= 0 ? null : /*#__PURE__*/ S.createElement(r4, { zIndex: y.zIndex }, /*#__PURE__*/ S.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ S.createElement(i3e, z4({
+ return y.outerRadius <= 0 ? null : /*#__PURE__*/ S.createElement(r4, { zIndex: y.zIndex }, /*#__PURE__*/ S.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ S.createElement(o3e, z4({
gridType: n,
radialLines: r
}, y, {
polarAngles: _,
polarRadius: v
- })), /*#__PURE__*/ S.createElement(t3e, z4({
+ })), /*#__PURE__*/ S.createElement(r3e, z4({
gridType: n,
radialLines: r
}, y, {
@@ -90062,7 +90075,7 @@ var e3e = (e, t, n, r) => {
polarRadius: v
}))));
};
-o3e.displayName = "PolarGrid";
+c3e.displayName = "PolarGrid";
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toArray.mjs
function V4(e) {
@@ -90070,11 +90083,11 @@ function V4(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs
-function s3e(e, t = OY) {
+function l3e(e, t = kY) {
if (e == null) return;
let n = V4(e);
if (n.length === 0) return;
- let r = fX(t), i, a;
+ let r = pX(t), i, a;
for (let e = 0; e < n.length; e++) {
let t = n[e], o = r(t, e, n);
o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o > a) && (a = o, i = t);
@@ -90083,11 +90096,11 @@ function s3e(e, t = OY) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs
-function c3e(e, t = OY) {
+function u3e(e, t = kY) {
if (e == null) return;
let n = V4(e);
if (n.length === 0) return;
- let r = fX(t), i, a;
+ let r = pX(t), i, a;
for (let e = 0; e < n.length; e++) {
let t = n[e], o = r(t, e, n);
o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o < a) && (a = o, i = t);
@@ -90096,7 +90109,7 @@ function c3e(e, t = OY) {
}
//#endregion
//#region node_modules/recharts/es6/state/polarAxisSlice.js
-var l3e = LZ({
+var d3e = LZ({
name: "polarAxis",
initialState: {
radiusAxis: {},
@@ -90116,7 +90129,7 @@ var l3e = LZ({
delete e.angleAxis[t.payload.id];
}
}
-}), H4 = l3e.actions, u3e = H4.addRadiusAxis, d3e = H4.removeRadiusAxis, f3e = H4.addAngleAxis, p3e = H4.removeAngleAxis, m3e = l3e.reducer;
+}), H4 = d3e.actions, f3e = H4.addRadiusAxis, p3e = H4.removeRadiusAxis, m3e = H4.addAngleAxis, h3e = H4.removeAngleAxis, g3e = d3e.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js
function U4(e) {
@@ -90124,12 +90137,12 @@ function U4(e) {
}
//#endregion
//#region node_modules/recharts/es6/polar/PolarRadiusAxis.js
-var h3e = ["type"], g3e = [
+var _3e = ["type"], v3e = [
"cx",
"cy",
"angle",
"axisLine"
-], _3e = [
+], y3e = [
"angle",
"tickFormatter",
"stroke",
@@ -90144,7 +90157,7 @@ function W4() {
return e;
}, W4.apply(null, arguments);
}
-function v3e(e, t) {
+function b3e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -90157,27 +90170,27 @@ function v3e(e, t) {
function G4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? v3e(Object(n), !0).forEach(function(t) {
- y3e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : v3e(Object(n)).forEach(function(t) {
+ t % 2 ? b3e(Object(n), !0).forEach(function(t) {
+ x3e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : b3e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function y3e(e, t, n) {
- return (t = b3e(t)) in e ? Object.defineProperty(e, t, {
+function x3e(e, t, n) {
+ return (t = S3e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function b3e(e) {
- var t = x3e(e, "string");
+function S3e(e) {
+ var t = C3e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function x3e(e, t) {
+function C3e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -90189,14 +90202,14 @@ function x3e(e, t) {
}
function K4(e, t) {
if (e == null) return {};
- var n, r, i = S3e(e, t);
+ var n, r, i = w3e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function S3e(e, t) {
+function w3e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -90205,20 +90218,20 @@ function S3e(e, t) {
}
return n;
}
-var C3e = "radiusAxis";
-function w3e(e) {
- var t = gX(), n = jQ(), r = (0, S.useMemo)(() => {
- var t = e.type, r = K4(e, h3e), i = D$(n, "radiusAxis", t);
+var T3e = "radiusAxis";
+function E3e(e) {
+ var t = _X(), n = jQ(), r = (0, S.useMemo)(() => {
+ var t = e.type, r = K4(e, _3e), i = D$(n, "radiusAxis", t);
if (i != null) return G4(G4({}, r), {}, { type: i });
}, [e, n]);
- return (0, S.useEffect)(() => r == null ? gJ : (t(u3e(r)), () => {
- t(d3e(r));
+ return (0, S.useEffect)(() => r == null ? _J : (t(f3e(r)), () => {
+ t(p3e(r));
}), [t, r]), null;
}
-var T3e = (e, t, n, r) => {
+var D3e = (e, t, n, r) => {
var i = e.coordinate;
return n$(n, r, i, t);
-}, E3e = (e) => {
+}, O3e = (e) => {
var t;
switch (e) {
case "left":
@@ -90230,49 +90243,49 @@ var T3e = (e, t, n, r) => {
default: t = "middle";
}
return t;
-}, D3e = (e, t, n, r) => {
- var i = s3e(r, (e) => e.coordinate || 0);
+}, k3e = (e, t, n, r) => {
+ var i = l3e(r, (e) => e.coordinate || 0);
return {
cx: t,
cy: n,
startAngle: e,
endAngle: e,
- innerRadius: c3e(r, (e) => e.coordinate || 0)?.coordinate || 0,
+ innerRadius: u3e(r, (e) => e.coordinate || 0)?.coordinate || 0,
outerRadius: i?.coordinate || 0,
clockWise: !1
};
-}, O3e = (e, t) => {
- var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = K4(e, g3e), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = n$(n, r, s[0], i), l = n$(n, r, s[1], i), u = G4(G4(G4({}, Vq(o)), {}, { fill: "none" }, Vq(a)), {}, {
+}, A3e = (e, t) => {
+ var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = K4(e, v3e), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = n$(n, r, s[0], i), l = n$(n, r, s[1], i), u = G4(G4(G4({}, Hq(o)), {}, { fill: "none" }, Hq(a)), {}, {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
});
return /*#__PURE__*/ S.createElement("line", W4({ className: "recharts-polar-radius-axis-line" }, u));
-}, k3e = (e, t, n) => /*#__PURE__*/ S.isValidElement(e) ? /*#__PURE__*/ S.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ S.createElement(v4, W4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), A3e = (e, t) => {
- var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = K4(e, _3e), s = E3e(e.orientation), c = Vq(o), l = Hq(a), u = t.map((t, o) => {
- var u = T3e(t, e.angle, e.cx, e.cy), d = G4(G4(G4(G4({
+}, j3e = (e, t, n) => /*#__PURE__*/ S.isValidElement(e) ? /*#__PURE__*/ S.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ S.createElement(v4, W4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), M3e = (e, t) => {
+ var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = K4(e, y3e), s = O3e(e.orientation), c = Hq(o), l = Uq(a), u = t.map((t, o) => {
+ var u = D3e(t, e.angle, e.cx, e.cy), d = G4(G4(G4(G4({
textAnchor: s,
transform: `rotate(${90 - n}, ${u.x}, ${u.y})`
}, c), {}, {
stroke: "none",
fill: i
}, l), {}, { index: o }, u), {}, { payload: t });
- return /*#__PURE__*/ S.createElement(qq, W4({
+ return /*#__PURE__*/ S.createElement(Jq, W4({
className: Lv("recharts-polar-radius-axis-tick", U4(a)),
key: `tick-${t.coordinate}`
- }, xY(e, t, o)), k3e(a, d, r ? r(t.value, o) : t.value));
+ }, SY(e, t, o)), j3e(a, d, r ? r(t.value, o) : t.value));
});
- return /*#__PURE__*/ S.createElement(qq, { className: "recharts-polar-radius-axis-ticks" }, u);
-}, j3e = (e) => {
- var t = e.radiusAxisId, n = vX(N$), r = vX((e) => L4(e, "radiusAxis", t)), i = vX((e) => R4(e, "radiusAxis", t, !1));
+ return /*#__PURE__*/ S.createElement(Jq, { className: "recharts-polar-radius-axis-ticks" }, u);
+}, N3e = (e) => {
+ var t = e.radiusAxisId, n = yX(N$), r = yX((e) => L4(e, "radiusAxis", t)), i = yX((e) => R4(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
var a = G4(G4({}, e), {}, { scale: r }, n), o = a.tick, s = a.axisLine;
- return /*#__PURE__*/ S.createElement(r4, { zIndex: a.zIndex }, /*#__PURE__*/ S.createElement(qq, { className: Lv("recharts-polar-radius-axis", C3e, a.className) }, s && O3e(a, i), o && A3e(a, i), /*#__PURE__*/ S.createElement(s4e, D3e(a.angle, a.cx, a.cy, i), /*#__PURE__*/ S.createElement(_4e, { label: a.label }), a.children)));
+ return /*#__PURE__*/ S.createElement(r4, { zIndex: a.zIndex }, /*#__PURE__*/ S.createElement(Jq, { className: Lv("recharts-polar-radius-axis", T3e, a.className) }, s && A3e(a, i), o && M3e(a, i), /*#__PURE__*/ S.createElement(l4e, k3e(a.angle, a.cx, a.cy, i), /*#__PURE__*/ S.createElement(y4e, { label: a.label }), a.children)));
};
-function M3e(e) {
- var t = CY(e, T$);
- return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(w3e, {
+function P3e(e) {
+ var t = wY(e, T$);
+ return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(E3e, {
domain: t.domain,
id: t.radiusAxisId,
scale: t.scale,
@@ -90289,12 +90302,12 @@ function M3e(e) {
ticks: t.ticks,
tickCount: t.tickCount,
tick: t.tick
- }), /*#__PURE__*/ S.createElement(j3e, t));
+ }), /*#__PURE__*/ S.createElement(N3e, t));
}
-M3e.displayName = "PolarRadiusAxis";
+P3e.displayName = "PolarRadiusAxis";
//#endregion
//#region node_modules/recharts/es6/polar/PolarAngleAxis.js
-var N3e = ["children", "type"], P3e = ["ref"];
+var F3e = ["children", "type"], I3e = ["ref"];
function q4() {
return q4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -90304,7 +90317,7 @@ function q4() {
return e;
}, q4.apply(null, arguments);
}
-function F3e(e, t) {
+function L3e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -90317,27 +90330,27 @@ function F3e(e, t) {
function J4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? F3e(Object(n), !0).forEach(function(t) {
- I3e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : F3e(Object(n)).forEach(function(t) {
+ t % 2 ? L3e(Object(n), !0).forEach(function(t) {
+ R3e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L3e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function I3e(e, t, n) {
- return (t = L3e(t)) in e ? Object.defineProperty(e, t, {
+function R3e(e, t, n) {
+ return (t = z3e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function L3e(e) {
- var t = R3e(e, "string");
+function z3e(e) {
+ var t = B3e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function R3e(e, t) {
+function B3e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -90347,16 +90360,16 @@ function R3e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function z3e(e, t) {
+function V3e(e, t) {
if (e == null) return {};
- var n, r, i = B3e(e, t);
+ var n, r, i = H3e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function B3e(e, t) {
+function H3e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -90365,18 +90378,18 @@ function B3e(e, t) {
}
return n;
}
-var V3e = 1e-5, H3e = Math.cos(t$(45)), U3e = "angleAxis";
-function W3e(e) {
- var t = gX(), n = jQ(), r = (0, S.useMemo)(() => {
+var U3e = 1e-5, W3e = Math.cos(t$(45)), G3e = "angleAxis";
+function K3e(e) {
+ var t = _X(), n = jQ(), r = (0, S.useMemo)(() => {
e.children;
- var t = e.type, r = z3e(e, N3e), i = D$(n, "angleAxis", t);
+ var t = e.type, r = V3e(e, F3e), i = D$(n, "angleAxis", t);
if (i != null) return J4(J4({}, r), {}, { type: i });
- }, [e, n]), i = r === vX((e) => k$(e, r?.id));
- return (0, S.useEffect)(() => r == null ? gJ : (t(f3e(r)), () => {
- t(p3e(r));
+ }, [e, n]), i = r === yX((e) => k$(e, r?.id));
+ return (0, S.useEffect)(() => r == null ? _J : (t(m3e(r)), () => {
+ t(h3e(r));
}), [t, r]), i ? e.children : null;
}
-var G3e = (e, t) => {
+var q3e = (e, t) => {
var n = t.cx, r = t.cy, i = t.radius, a = t.orientation, o = t.tickSize || 8, s = n$(n, r, i, e.coordinate), c = n$(n, r, i + (a === "inner" ? -1 : 1) * o, e.coordinate);
return {
x1: s.x,
@@ -90384,31 +90397,31 @@ var G3e = (e, t) => {
x2: c.x,
y2: c.y
};
-}, K3e = (e, t) => {
+}, J3e = (e, t) => {
var n = Math.cos(t$(-e.coordinate));
- return n > V3e ? t === "outer" ? "start" : "end" : n < -V3e ? t === "outer" ? "end" : "start" : "middle";
-}, q3e = (e) => {
+ return n > U3e ? t === "outer" ? "start" : "end" : n < -U3e ? t === "outer" ? "end" : "start" : "middle";
+}, Y3e = (e) => {
var t = Math.cos(t$(-e.coordinate)), n = Math.sin(t$(-e.coordinate));
- return Math.abs(t) <= H3e ? n > 0 ? "start" : "end" : "middle";
-}, J3e = (e) => {
+ return Math.abs(t) <= W3e ? n > 0 ? "start" : "end" : "middle";
+}, X3e = (e) => {
var t = e.cx, n = e.cy, r = e.radius, i = e.axisLineType, a = e.axisLine, o = e.ticks;
if (!a) return null;
- var s = J4(J4({}, Vq(e)), {}, { fill: "none" }, Vq(a));
+ var s = J4(J4({}, Hq(e)), {}, { fill: "none" }, Hq(a));
if (i === "circle") return /*#__PURE__*/ S.createElement(j4, q4({ className: "recharts-polar-angle-axis-line" }, s, {
cx: t,
cy: n,
r
}));
var c = o.map((e) => n$(t, n, r, e.coordinate));
- return /*#__PURE__*/ S.createElement(I4e, q4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
-}, Y3e = (e) => {
+ return /*#__PURE__*/ S.createElement(R4e, q4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
+}, Z3e = (e) => {
var t = e.tick, n = e.tickProps, r = e.value;
return t ? /*#__PURE__*/ S.isValidElement(t) ? /*#__PURE__*/ S.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ S.createElement(v4, q4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
-}, X3e = (e) => {
- var t = e.tick, n = e.tickLine, r = e.tickFormatter, i = e.stroke, a = e.ticks, o = Vq(e);
+}, Q3e = (e) => {
+ var t = e.tick, n = e.tickLine, r = e.tickFormatter, i = e.stroke, a = e.ticks, o = Hq(e);
o.ref;
- var s = z3e(o, P3e), c = Hq(t), l = J4(J4({}, s), {}, { fill: "none" }, Vq(n)), u = a.map((a, o) => {
- var u = G3e(a, e), d = K3e(a, e.orientation), f = q3e(a), p = J4(J4(J4({}, s), {}, {
+ var s = V3e(o, I3e), c = Uq(t), l = J4(J4({}, s), {}, { fill: "none" }, Hq(n)), u = a.map((a, o) => {
+ var u = q3e(a, e), d = J3e(a, e.orientation), f = Y3e(a), p = J4(J4(J4({}, s), {}, {
textAnchor: d,
verticalAnchor: f,
stroke: "none",
@@ -90419,28 +90432,28 @@ var G3e = (e, t) => {
x: u.x2,
y: u.y2
});
- return /*#__PURE__*/ S.createElement(qq, q4({
+ return /*#__PURE__*/ S.createElement(Jq, q4({
className: Lv("recharts-polar-angle-axis-tick", U4(t)),
key: `tick-${a.coordinate}`
- }, xY(e, a, o)), n && /*#__PURE__*/ S.createElement("line", q4({ className: "recharts-polar-angle-axis-tick-line" }, l, u)), /*#__PURE__*/ S.createElement(Y3e, {
+ }, SY(e, a, o)), n && /*#__PURE__*/ S.createElement("line", q4({ className: "recharts-polar-angle-axis-tick-line" }, l, u)), /*#__PURE__*/ S.createElement(Z3e, {
tick: t,
tickProps: p,
value: r ? r(a.value, o) : a.value
}));
});
- return /*#__PURE__*/ S.createElement(qq, { className: "recharts-polar-angle-axis-ticks" }, u);
-}, Z3e = (e) => {
- var t = e.angleAxisId, n = vX(N$), r = vX((e) => L4(e, "angleAxis", t)), i = gQ(), a = vX((e) => U4e(e, "angleAxis", t, i));
+ return /*#__PURE__*/ S.createElement(Jq, { className: "recharts-polar-angle-axis-ticks" }, u);
+}, $3e = (e) => {
+ var t = e.angleAxisId, n = yX(N$), r = yX((e) => L4(e, "angleAxis", t)), i = gQ(), a = yX((e) => G4e(e, "angleAxis", t, i));
if (n == null || !a || !a.length || r == null) return null;
var o = J4(J4(J4({}, e), {}, { scale: r }, n), {}, {
radius: n.outerRadius,
ticks: a
});
- return /*#__PURE__*/ S.createElement(r4, { zIndex: o.zIndex }, /*#__PURE__*/ S.createElement(qq, { className: Lv("recharts-polar-angle-axis", U3e, o.className) }, /*#__PURE__*/ S.createElement(J3e, o), /*#__PURE__*/ S.createElement(X3e, o)));
+ return /*#__PURE__*/ S.createElement(r4, { zIndex: o.zIndex }, /*#__PURE__*/ S.createElement(Jq, { className: Lv("recharts-polar-angle-axis", G3e, o.className) }, /*#__PURE__*/ S.createElement(X3e, o), /*#__PURE__*/ S.createElement(Q3e, o)));
};
function Y4(e) {
- var t = CY(e, w$);
- return /*#__PURE__*/ S.createElement(W3e, {
+ var t = wY(e, w$);
+ return /*#__PURE__*/ S.createElement(K3e, {
id: t.angleAxisId,
scale: t.scale,
type: t.type,
@@ -90457,12 +90470,12 @@ function Y4(e) {
ticks: t.ticks,
tick: t.tick,
domain: t.domain
- }, /*#__PURE__*/ S.createElement(Z3e, t));
+ }, /*#__PURE__*/ S.createElement($3e, t));
}
Y4.displayName = "PolarAngleAxis";
//#endregion
//#region node_modules/react-is/cjs/react-is.production.js
-var Q3e = /* @__PURE__ */ o(((e) => {
+var e6e = /* @__PURE__ */ o(((e) => {
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), p = Symbol.for("react.view_transition");
function m(e) {
if (typeof e == "object" && e) {
@@ -90491,26 +90504,26 @@ var Q3e = /* @__PURE__ */ o(((e) => {
e.isFragment = function(e) {
return m(e) === r;
};
-})), $3e = (/* @__PURE__ */ o(((e, t) => {
- t.exports = Q3e();
-})))(), e6e = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", t6e = null, X4 = null, n6e = (e) => {
- if (e === t6e && Array.isArray(X4)) return X4;
+})), t6e = (/* @__PURE__ */ o(((e, t) => {
+ t.exports = e6e();
+})))(), n6e = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", r6e = null, X4 = null, i6e = (e) => {
+ if (e === r6e && Array.isArray(X4)) return X4;
var t = [];
return S.Children.forEach(e, (e) => {
- pJ(e) || ((0, $3e.isFragment)(e) ? t = t.concat(n6e(e.props.children)) : t.push(e));
- }), X4 = t, t6e = e, t;
+ mJ(e) || ((0, t6e.isFragment)(e) ? t = t.concat(i6e(e.props.children)) : t.push(e));
+ }), X4 = t, r6e = e, t;
};
-function r6e(e, t) {
+function a6e(e, t) {
var n = [], r = [];
- return r = Array.isArray(t) ? t.map((e) => e6e(e)) : [e6e(t)], n6e(e).forEach((e) => {
- var t = eJ(e, "type.displayName") || eJ(e, "type.name");
+ return r = Array.isArray(t) ? t.map((e) => n6e(e)) : [n6e(t)], i6e(e).forEach((e) => {
+ var t = tJ(e, "type.displayName") || tJ(e, "type.name");
t && r.indexOf(t) !== -1 && n.push(e);
}), n;
}
var Z4 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
//#endregion
//#region node_modules/recharts/es6/util/ActiveShapeUtils.js
-function i6e(e, t) {
+function o6e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -90520,30 +90533,30 @@ function i6e(e, t) {
}
return n;
}
-function a6e(e) {
+function s6e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? i6e(Object(n), !0).forEach(function(t) {
- o6e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i6e(Object(n)).forEach(function(t) {
+ t % 2 ? o6e(Object(n), !0).forEach(function(t) {
+ c6e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : o6e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function o6e(e, t, n) {
- return (t = s6e(t)) in e ? Object.defineProperty(e, t, {
+function c6e(e, t, n) {
+ return (t = l6e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function s6e(e) {
- var t = c6e(e, "string");
+function l6e(e) {
+ var t = u6e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function c6e(e, t) {
+function u6e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -90553,34 +90566,34 @@ function c6e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function l6e(e, t) {
- return a6e(a6e({}, t), e);
+function d6e(e, t) {
+ return s6e(s6e({}, t), e);
}
-function u6e(e) {
+function f6e(e) {
return /*#__PURE__*/ (0, S.isValidElement)(e) ? e.props : e;
}
-function d6e(e, t) {
- return /*#__PURE__*/ (0, S.cloneElement)(e, l6e(u6e(e), t));
+function p6e(e, t) {
+ return /*#__PURE__*/ (0, S.cloneElement)(e, d6e(f6e(e), t));
}
-function f6e(e) {
+function m6e(e) {
if ("index" in e) {
var t = e.index;
return typeof t == "number" || typeof t == "string" ? t : void 0;
}
}
-function p6e(e) {
+function h6e(e) {
return "isActive" in e && e.isActive === !0;
}
function Q4(e) {
- var t = e.option, n = e.DefaultShape, r = e.shapeProps, i = e.activeClassName, a = i === void 0 ? "recharts-active-shape" : i, o = e.inActiveClassName, s = o === void 0 ? "recharts-shape" : o, c = f6e(r), l = /*#__PURE__*/ (0, S.isValidElement)(t) ? d6e(t, r) : t === n ? /*#__PURE__*/ S.createElement(n, r) : typeof t == "function" ? t(r, c) : typeof t == "object" ? /*#__PURE__*/ S.createElement(n, l6e(t, r)) : /*#__PURE__*/ S.createElement(n, r);
- return p6e(r) ? /*#__PURE__*/ S.createElement(qq, { className: a }, l) : /*#__PURE__*/ S.createElement(qq, { className: s }, l);
+ var t = e.option, n = e.DefaultShape, r = e.shapeProps, i = e.activeClassName, a = i === void 0 ? "recharts-active-shape" : i, o = e.inActiveClassName, s = o === void 0 ? "recharts-shape" : o, c = m6e(r), l = /*#__PURE__*/ (0, S.isValidElement)(t) ? p6e(t, r) : t === n ? /*#__PURE__*/ S.createElement(n, r) : typeof t == "function" ? t(r, c) : typeof t == "object" ? /*#__PURE__*/ S.createElement(n, d6e(t, r)) : /*#__PURE__*/ S.createElement(n, r);
+ return h6e(r) ? /*#__PURE__*/ S.createElement(Jq, { className: a }, l) : /*#__PURE__*/ S.createElement(Jq, { className: s }, l);
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipContext.js
var $4 = (e, t, n) => {
- var r = gX();
+ var r = _X();
return (i, a) => (o) => {
- e?.(i, a, o), r(l$e({
+ e?.(i, a, o), r(d$e({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
@@ -90588,14 +90601,14 @@ var $4 = (e, t, n) => {
}));
};
}, e3 = (e) => {
- var t = gX();
+ var t = _X();
return (n, r) => (i) => {
- e?.(n, r, i), t(u$e());
+ e?.(n, r, i), t(f$e());
};
}, t3 = (e, t, n) => {
- var r = gX();
+ var r = _X();
return (i, a) => (o) => {
- e?.(i, a, o), r(f$e({
+ e?.(i, a, o), r(m$e({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
@@ -90606,9 +90619,9 @@ var $4 = (e, t, n) => {
//#endregion
//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js
function n3(e) {
- var t = e.tooltipEntrySettings, n = gX(), r = gQ(), i = (0, S.useRef)(null);
+ var t = e.tooltipEntrySettings, n = _X(), r = gQ(), i = (0, S.useRef)(null);
return (0, S.useLayoutEffect)(() => {
- r || (i.current === null ? n(a$e(t)) : i.current !== t && n(o$e({
+ r || (i.current === null ? n(s$e(t)) : i.current !== t && n(c$e({
prev: i.current,
next: t
})), i.current = t);
@@ -90617,15 +90630,15 @@ function n3(e) {
n,
r
]), (0, S.useLayoutEffect)(() => () => {
- i.current &&= (n(s$e(i.current)), null);
+ i.current &&= (n(l$e(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/state/SetLegendPayload.js
function r3(e) {
- var t = e.legendPayload, n = gX(), r = gQ(), i = (0, S.useRef)(null);
+ var t = e.legendPayload, n = _X(), r = gQ(), i = (0, S.useRef)(null);
return (0, S.useLayoutEffect)(() => {
- r || (i.current === null ? n(lUe(t)) : i.current !== t && n(uUe({
+ r || (i.current === null ? n(dUe(t)) : i.current !== t && n(fUe({
prev: i.current,
next: t
})), i.current = t);
@@ -90634,13 +90647,13 @@ function r3(e) {
r,
t
]), (0, S.useLayoutEffect)(() => () => {
- i.current &&= (n(dUe(i.current)), null);
+ i.current &&= (n(pUe(i.current)), null);
}, [n]), null;
}
-function m6e(e) {
- var t = e.legendPayload, n = gX(), r = vX(DQ), i = (0, S.useRef)(null);
+function g6e(e) {
+ var t = e.legendPayload, n = _X(), r = yX(DQ), i = (0, S.useRef)(null);
return (0, S.useLayoutEffect)(() => {
- (r === "centric" || r === "radial") && (i.current === null ? n(lUe(t)) : i.current !== t && n(uUe({
+ (r === "centric" || r === "radial") && (i.current === null ? n(dUe(t)) : i.current !== t && n(fUe({
prev: i.current,
next: t
})), i.current = t);
@@ -90649,30 +90662,30 @@ function m6e(e) {
r,
t
]), (0, S.useLayoutEffect)(() => () => {
- i.current &&= (n(dUe(i.current)), null);
+ i.current &&= (n(pUe(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/animation/matchBy.js
-function h6e(e, t) {
- return b6e(e) || y6e(e, t) || _6e(e, t) || g6e();
+function _6e(e, t) {
+ return S6e(e) || x6e(e, t) || y6e(e, t) || v6e();
}
-function g6e() {
+function v6e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function _6e(e, t) {
+function y6e(e, t) {
if (e) {
- if (typeof e == "string") return v6e(e, t);
+ if (typeof e == "string") return b6e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? v6e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? b6e(e, t) : void 0;
}
}
-function v6e(e, t) {
+function b6e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function y6e(e, t) {
+function x6e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -90693,10 +90706,10 @@ function y6e(e, t) {
return s;
}
}
-function b6e(e) {
+function S6e(e) {
if (Array.isArray(e)) return e;
}
-var i3 = "index", x6e = "append";
+var i3 = "index", C6e = "append";
function a3(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [], r = [];
for (var i of n) r.push({
@@ -90716,14 +90729,14 @@ function a3(e, t) {
}
return r;
}
-function S6e(e, t) {
+function w6e(e, t) {
var n = e.length / t.length;
return a3(t.map((t, r) => e[Math.floor(r * n)]), t);
}
-function C6e(e, t) {
+function T6e(e, t) {
return a3(t.map((t, n) => e[n]), t);
}
-function w6e(e, t) {
+function E6e(e, t) {
for (var n = /* @__PURE__ */ new Map(), r = 0; r < e.length; r++) {
var i = e[r];
if (i != null) {
@@ -90733,8 +90746,8 @@ function w6e(e, t) {
}
return n;
}
-function T6e(e, t, n) {
- var r = w6e(e, n), i = /* @__PURE__ */ new Set(), a = t.map((e, t) => {
+function D6e(e, t, n) {
+ var r = E6e(e, n), i = /* @__PURE__ */ new Set(), a = t.map((e, t) => {
var a = n(e, t);
if (a != null) {
var o = r.get(a);
@@ -90742,7 +90755,7 @@ function T6e(e, t, n) {
}
}), o = [];
for (var s of r) {
- var c = h6e(s, 2), l = c[0], u = c[1];
+ var c = _6e(s, 2), l = c[0], u = c[1];
i.has(l) || o.push(u);
}
return a3(a, t, o);
@@ -90751,7 +90764,7 @@ function o3(e, t, n) {
return t == null ? null : e == null ? t.map((e) => ({
status: "added",
next: e
- })) : n === "index" ? S6e(e, t) : n === "append" ? C6e(e, t) : T6e(e, t, n);
+ })) : n === "index" ? w6e(e, t) : n === "append" ? T6e(e, t) : D6e(e, t, n);
}
//#endregion
//#region node_modules/recharts/es6/animation/useAnimationStartSnapshot.js
@@ -90769,25 +90782,25 @@ function s3(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/animation/AnimatedItems.js
-function E6e(e, t) {
- return j6e(e) || A6e(e, t) || O6e(e, t) || D6e();
+function O6e(e, t) {
+ return N6e(e) || M6e(e, t) || A6e(e, t) || k6e();
}
-function D6e() {
+function k6e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function O6e(e, t) {
+function A6e(e, t) {
if (e) {
- if (typeof e == "string") return k6e(e, t);
+ if (typeof e == "string") return j6e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? k6e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? j6e(e, t) : void 0;
}
}
-function k6e(e, t) {
+function j6e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function A6e(e, t) {
+function M6e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -90808,11 +90821,11 @@ function A6e(e, t) {
return s;
}
}
-function j6e(e) {
+function N6e(e) {
if (Array.isArray(e)) return e;
}
function c3(e, t) {
- var n = E6e((0, S.useState)(!1), 2), r = n[0], i = n[1];
+ var n = O6e((0, S.useState)(!1), 2), r = n[0], i = n[1];
return {
isAnimating: r,
handleAnimationStart: (0, S.useCallback)(() => {
@@ -90824,8 +90837,8 @@ function c3(e, t) {
};
}
function l3(e) {
- var t = e.animationInput, n = e.animationIdPrefix, r = e.items, i = e.previousItemsRef, a = e.isAnimationActive, o = e.animationBegin, s = e.animationDuration, c = e.animationEasing, l = e.onAnimationStart, u = e.onAnimationEnd, d = e.animationInterpolateFn, f = e.animationMatchBy, p = e.shouldUpdatePreviousRef, m = e.children, h = e.layout, g = VGe(t, n), _ = s3(g, i), v = _.startValue ?? null, y = o3(v, r, f ?? i3);
- return /*#__PURE__*/ S.createElement(BGe, {
+ var t = e.animationInput, n = e.animationIdPrefix, r = e.items, i = e.previousItemsRef, a = e.isAnimationActive, o = e.animationBegin, s = e.animationDuration, c = e.animationEasing, l = e.onAnimationStart, u = e.onAnimationEnd, d = e.animationInterpolateFn, f = e.animationMatchBy, p = e.shouldUpdatePreviousRef, m = e.children, h = e.layout, g = UGe(t, n), _ = s3(g, i), v = _.startValue ?? null, y = o3(v, r, f ?? i3);
+ return /*#__PURE__*/ S.createElement(HGe, {
animationId: g,
begin: o,
duration: s,
@@ -90839,25 +90852,25 @@ function l3(e) {
return _.syncStepValue(n, e, i), n == null ? null : m(n, e, t);
});
}
-function M6e(e, t) {
- return L6e(e) || I6e(e, t) || P6e(e, t) || N6e();
+function P6e(e, t) {
+ return z6e(e) || R6e(e, t) || I6e(e, t) || F6e();
}
-function N6e() {
+function F6e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function P6e(e, t) {
+function I6e(e, t) {
if (e) {
- if (typeof e == "string") return F6e(e, t);
+ if (typeof e == "string") return L6e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? F6e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? L6e(e, t) : void 0;
}
}
-function F6e(e, t) {
+function L6e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function I6e(e, t) {
+function R6e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -90878,22 +90891,22 @@ function I6e(e, t) {
return s;
}
}
-function L6e(e) {
+function z6e(e) {
if (Array.isArray(e)) return e;
}
-var R6e = S.useId ?? (() => M6e(S.useState(() => cJ("uid-")), 1)[0]);
+var B6e = S.useId ?? (() => P6e(S.useState(() => lJ("uid-")), 1)[0]);
//#endregion
//#region node_modules/recharts/es6/util/useUniqueId.js
-function z6e(e, t) {
- var n = R6e();
+function V6e(e, t) {
+ var n = B6e();
return t || (e ? `${e}-${n}` : n);
}
//#endregion
//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js
-var B6e = /*#__PURE__*/ (0, S.createContext)(void 0), u3 = (e) => {
- var t = e.id, n = e.type, r = e.children, i = z6e(`recharts-${n}`, t);
- return /*#__PURE__*/ S.createElement(B6e.Provider, { value: i }, r(i));
-}, V6e = LZ({
+var H6e = /*#__PURE__*/ (0, S.createContext)(void 0), u3 = (e) => {
+ var t = e.id, n = e.type, r = e.children, i = V6e(`recharts-${n}`, t);
+ return /*#__PURE__*/ S.createElement(H6e.Provider, { value: i }, r(i));
+}, U6e = LZ({
name: "graphicalItems",
initialState: {
cartesianItems: [],
@@ -90941,41 +90954,41 @@ var B6e = /*#__PURE__*/ (0, S.createContext)(void 0), u3 = (e) => {
prepare: IZ()
}
}
-}), d3 = V6e.actions, H6e = d3.addCartesianGraphicalItem, U6e = d3.replaceCartesianGraphicalItem, W6e = d3.removeCartesianGraphicalItem, G6e = d3.addPolarGraphicalItem, K6e = d3.removePolarGraphicalItem, q6e = d3.replacePolarGraphicalItem, J6e = V6e.reducer, f3 = /*#__PURE__*/ (0, S.memo)((e) => {
- var t = gX(), n = (0, S.useRef)(null);
+}), d3 = U6e.actions, W6e = d3.addCartesianGraphicalItem, G6e = d3.replaceCartesianGraphicalItem, K6e = d3.removeCartesianGraphicalItem, q6e = d3.addPolarGraphicalItem, J6e = d3.removePolarGraphicalItem, Y6e = d3.replacePolarGraphicalItem, X6e = U6e.reducer, f3 = /*#__PURE__*/ (0, S.memo)((e) => {
+ var t = _X(), n = (0, S.useRef)(null);
return (0, S.useLayoutEffect)(() => {
- n.current === null ? t(H6e(e)) : n.current !== e && t(U6e({
+ n.current === null ? t(W6e(e)) : n.current !== e && t(G6e({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, S.useLayoutEffect)(() => () => {
- n.current &&= (t(W6e(n.current)), null);
+ n.current &&= (t(K6e(n.current)), null);
}, [t]), null;
-}), Y6e = /*#__PURE__*/ (0, S.memo)((e) => {
- var t = gX(), n = (0, S.useRef)(null);
+}), Z6e = /*#__PURE__*/ (0, S.memo)((e) => {
+ var t = _X(), n = (0, S.useRef)(null);
return (0, S.useLayoutEffect)(() => {
- n.current === null ? t(G6e(e)) : n.current !== e && t(q6e({
+ n.current === null ? t(q6e(e)) : n.current !== e && t(Y6e({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, S.useLayoutEffect)(() => () => {
- n.current &&= (t(K6e(n.current)), null);
+ n.current &&= (t(J6e(n.current)), null);
}, [t]), null;
});
//#endregion
//#region node_modules/es-toolkit/dist/array/last.mjs
-function X6e(e) {
+function Q6e(e) {
return e[e.length - 1];
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/last.mjs
-function Z6e(e) {
- if (kY(e) && e.length !== 0) return X6e(V4(e));
+function $6e(e) {
+ if (AY(e) && e.length !== 0) return Q6e(V4(e));
}
//#endregion
//#region node_modules/recharts/es6/component/Dots.js
-var Q6e = ["points"];
-function $6e(e, t) {
+var e8e = ["points"];
+function t8e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -90988,27 +91001,27 @@ function $6e(e, t) {
function p3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? $6e(Object(n), !0).forEach(function(t) {
- e8e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $6e(Object(n)).forEach(function(t) {
+ t % 2 ? t8e(Object(n), !0).forEach(function(t) {
+ n8e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : t8e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function e8e(e, t, n) {
- return (t = t8e(t)) in e ? Object.defineProperty(e, t, {
+function n8e(e, t, n) {
+ return (t = r8e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function t8e(e) {
- var t = n8e(e, "string");
+function r8e(e) {
+ var t = i8e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function n8e(e, t) {
+function i8e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -91027,16 +91040,16 @@ function m3() {
return e;
}, m3.apply(null, arguments);
}
-function r8e(e, t) {
+function a8e(e, t) {
if (e == null) return {};
- var n, r, i = i8e(e, t);
+ var n, r, i = o8e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function i8e(e, t) {
+function o8e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -91045,22 +91058,22 @@ function i8e(e, t) {
}
return n;
}
-function a8e(e) {
+function s8e(e) {
var t = e.option, n = e.dotProps, r = e.className;
if (/*#__PURE__*/ (0, S.isValidElement)(t)) return /*#__PURE__*/ (0, S.cloneElement)(t, n);
if (typeof t == "function") return t(n);
var i = Lv(r, typeof t == "boolean" ? "" : t.className), a = n ?? {};
a.points;
- var o = r8e(a, Q6e);
+ var o = a8e(a, e8e);
return /*#__PURE__*/ S.createElement(j4, m3({}, o, { className: i }));
}
-function o8e(e, t) {
+function c8e(e, t) {
return e == null ? !1 : t ? !0 : e.length === 1;
}
function h3(e) {
var t = e.points, n = e.dot, r = e.className, i = e.dotClassName, a = e.dataKey, o = e.baseProps, s = e.needClip, c = e.clipPathId, l = e.zIndex, u = l === void 0 ? C$.scatter : l;
- if (!o8e(t, n)) return null;
- var d = Z4(n), f = tRe(n), p = t.map((e, r) => {
+ if (!c8e(t, n)) return null;
+ var d = Z4(n), f = nRe(n), p = t.map((e, r) => {
var s = p3(p3(p3({ r: 3 }, o), f), {}, {
index: r,
cx: e.x ?? void 0,
@@ -91070,18 +91083,18 @@ function h3(e) {
payload: e.payload,
points: t
});
- return /*#__PURE__*/ S.createElement(a8e, {
+ return /*#__PURE__*/ S.createElement(s8e, {
key: `dot-${r}`,
option: n,
dotProps: s,
className: i
});
}), m = {};
- return s && c != null && (m.clipPath = `url(#clipPath-${d ? "" : "dots-"}${c})`), /*#__PURE__*/ S.createElement(r4, { zIndex: u }, /*#__PURE__*/ S.createElement(qq, m3({ className: r }, m), p));
+ return s && c != null && (m.clipPath = `url(#clipPath-${d ? "" : "dots-"}${c})`), /*#__PURE__*/ S.createElement(r4, { zIndex: u }, /*#__PURE__*/ S.createElement(Jq, m3({ className: r }, m), p));
}
//#endregion
//#region node_modules/recharts/es6/state/cartesianAxisSlice.js
-function s8e(e, t) {
+function l8e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -91094,27 +91107,27 @@ function s8e(e, t) {
function g3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? s8e(Object(n), !0).forEach(function(t) {
- c8e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s8e(Object(n)).forEach(function(t) {
+ t % 2 ? l8e(Object(n), !0).forEach(function(t) {
+ u8e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : l8e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function c8e(e, t, n) {
- return (t = l8e(t)) in e ? Object.defineProperty(e, t, {
+function u8e(e, t, n) {
+ return (t = d8e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function l8e(e) {
- var t = u8e(e, "string");
+function d8e(e) {
+ var t = f8e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function u8e(e, t) {
+function f8e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -91124,7 +91137,7 @@ function u8e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var d8e = LZ({
+var p8e = LZ({
name: "cartesianAxis",
initialState: {
xAxis: {},
@@ -91214,9 +91227,9 @@ var d8e = LZ({
}
}
}
-}), _3 = d8e.actions, f8e = _3.addXAxis, p8e = _3.replaceXAxis, m8e = _3.removeXAxis, h8e = _3.addYAxis, g8e = _3.replaceYAxis, _8e = _3.removeYAxis;
+}), _3 = p8e.actions, m8e = _3.addXAxis, h8e = _3.replaceXAxis, g8e = _3.removeXAxis, _8e = _3.addYAxis, v8e = _3.replaceYAxis, y8e = _3.removeYAxis;
_3.addZAxis, _3.replaceZAxis, _3.removeZAxis;
-var v8e = _3.updateYAxisWidth, y8e = _3.updateXAxisHeight, b8e = d8e.reducer, x8e = Y([
+var b8e = _3.updateYAxisWidth, x8e = _3.updateXAxisHeight, S8e = p8e.reducer, C8e = Y([
Y([mQ], (e) => ({
top: e.top,
bottom: e.bottom,
@@ -91232,10 +91245,10 @@ var v8e = _3.updateYAxisWidth, y8e = _3.updateXAxisHeight, b8e = d8e.reducer, x8
width: Math.max(0, t - e.left - e.right),
height: Math.max(0, n - e.top - e.bottom)
};
-}), v3 = () => vX(x8e), S8e = () => vX(c1e);
+}), v3 = () => yX(C8e), w8e = () => yX(u1e);
//#endregion
//#region node_modules/recharts/es6/component/ActivePoints.js
-function C8e(e, t) {
+function T8e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -91248,27 +91261,27 @@ function C8e(e, t) {
function y3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? C8e(Object(n), !0).forEach(function(t) {
- w8e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : C8e(Object(n)).forEach(function(t) {
+ t % 2 ? T8e(Object(n), !0).forEach(function(t) {
+ E8e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : T8e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function w8e(e, t, n) {
- return (t = T8e(t)) in e ? Object.defineProperty(e, t, {
+function E8e(e, t, n) {
+ return (t = D8e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function T8e(e) {
- var t = E8e(e, "string");
+function D8e(e) {
+ var t = O8e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function E8e(e, t) {
+function O8e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -91278,7 +91291,7 @@ function E8e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var D8e = (e) => {
+var k8e = (e) => {
var t = e.point, n = e.childIndex, r = e.mainColor, i = e.activeDot, a = e.dataKey, o = e.clipPath;
if (i === !1 || t.x == null || t.y == null) return null;
var s = y3(y3(y3({}, {
@@ -91292,17 +91305,17 @@ var D8e = (e) => {
stroke: "#fff",
payload: t.payload,
value: t.value
- }), Hq(i)), bY(i)), c = /*#__PURE__*/ (0, S.isValidElement)(i) ? /*#__PURE__*/ (0, S.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ S.createElement(j4, s);
- return /*#__PURE__*/ S.createElement(qq, {
+ }), Uq(i)), xY(i)), c = /*#__PURE__*/ (0, S.isValidElement)(i) ? /*#__PURE__*/ (0, S.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ S.createElement(j4, s);
+ return /*#__PURE__*/ S.createElement(Jq, {
className: "recharts-active-dot",
clipPath: o
}, c);
};
function b3(e) {
- var t = e.points, n = e.mainColor, r = e.activeDot, i = e.itemDataKey, a = e.clipPath, o = e.zIndex, s = o === void 0 ? C$.activeDot : o, c = vX(J2), l = S8e();
+ var t = e.points, n = e.mainColor, r = e.activeDot, i = e.itemDataKey, a = e.clipPath, o = e.zIndex, s = o === void 0 ? C$.activeDot : o, c = yX(J2), l = w8e();
if (t == null || l == null) return null;
var u = t.find((e) => l.includes(e.payload));
- return pJ(u) ? null : /*#__PURE__*/ S.createElement(r4, { zIndex: s }, /*#__PURE__*/ S.createElement(D8e, {
+ return mJ(u) ? null : /*#__PURE__*/ S.createElement(r4, { zIndex: s }, /*#__PURE__*/ S.createElement(k8e, {
point: u,
childIndex: Number(c),
mainColor: n,
@@ -91313,7 +91326,7 @@ function b3(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/radarSelectors.js
-function O8e(e, t) {
+function A8e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -91326,27 +91339,27 @@ function O8e(e, t) {
function x3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? O8e(Object(n), !0).forEach(function(t) {
- k8e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : O8e(Object(n)).forEach(function(t) {
+ t % 2 ? A8e(Object(n), !0).forEach(function(t) {
+ j8e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A8e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function k8e(e, t, n) {
- return (t = A8e(t)) in e ? Object.defineProperty(e, t, {
+function j8e(e, t, n) {
+ return (t = M8e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function A8e(e) {
- var t = j8e(e, "string");
+function M8e(e) {
+ var t = N8e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function j8e(e, t) {
+function N8e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -91356,15 +91369,15 @@ function j8e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var M8e = (e, t) => L4(e, "radiusAxis", t), N8e = Y([M8e], (e) => {
+var P8e = (e, t) => L4(e, "radiusAxis", t), F8e = Y([P8e], (e) => {
if (e != null) return { scale: e };
-}), P8e = Y([A$, M8e], (e, t) => {
+}), I8e = Y([A$, P8e], (e, t) => {
if (e != null && t != null) return x3(x3({}, e), {}, { scale: t });
-}), F8e = (e, t, n, r) => R4(e, "radiusAxis", t, r), I8e = (e, t, n) => k$(e, n), L8e = (e, t, n) => L4(e, "angleAxis", n), R8e = Y([I8e, L8e], (e, t) => {
+}), L8e = (e, t, n, r) => R4(e, "radiusAxis", t, r), R8e = (e, t, n) => k$(e, n), z8e = (e, t, n) => L4(e, "angleAxis", n), B8e = Y([R8e, z8e], (e, t) => {
if (e != null && t != null) return x3(x3({}, e), {}, { scale: t });
-}), z8e = (e, t, n, r) => R4(e, "angleAxis", n, r), B8e = Y([
- I8e,
- L8e,
+}), V8e = (e, t, n, r) => R4(e, "angleAxis", n, r), H8e = Y([
+ R8e,
+ z8e,
N$
], (e, t, n) => {
if (n != null && t != null) return {
@@ -91374,30 +91387,30 @@ var M8e = (e, t) => L4(e, "radiusAxis", t), N8e = Y([M8e], (e) => {
cx: n.cx,
cy: n.cy
};
-}), V8e = (e, t, n, r, i) => i, H8e = Y([
+}), U8e = (e, t, n, r, i) => i, W8e = Y([
DQ,
- P8e,
- F8e,
- R8e,
- z8e
-], (e, t, n, r, i) => nQ(e, "radiusAxis") ? oQ(t, n, !1) : oQ(r, i, !1)), U8e = Y([
- N8e,
+ I8e,
+ L8e,
B8e,
+ V8e
+], (e, t, n, r, i) => nQ(e, "radiusAxis") ? oQ(t, n, !1) : oQ(r, i, !1)), G8e = Y([
+ F8e,
+ H8e,
l$,
- Y([M4, V8e], (e, t) => {
+ Y([M4, U8e], (e, t) => {
if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;
}),
- H8e
+ W8e
], (e, t, n, r, i) => {
var a = n.chartData, o = n.dataStartIndex, s = n.dataEndIndex;
- if (e != null && t != null && a != null && i != null && r != null) return e5e({
+ if (e != null && t != null && a != null && i != null && r != null) return n5e({
radiusAxis: e,
angleAxis: t,
displayedData: a.slice(o, s + 1),
dataKey: r,
bandSize: i
});
-}), W8e = ["id"];
+}), K8e = ["id"];
function S3() {
return S3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -91407,7 +91420,7 @@ function S3() {
return e;
}, S3.apply(null, arguments);
}
-function G8e(e, t) {
+function q8e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -91420,27 +91433,27 @@ function G8e(e, t) {
function C3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? G8e(Object(n), !0).forEach(function(t) {
- K8e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G8e(Object(n)).forEach(function(t) {
+ t % 2 ? q8e(Object(n), !0).forEach(function(t) {
+ J8e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q8e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function K8e(e, t, n) {
- return (t = q8e(t)) in e ? Object.defineProperty(e, t, {
+function J8e(e, t, n) {
+ return (t = Y8e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function q8e(e) {
- var t = J8e(e, "string");
+function Y8e(e) {
+ var t = X8e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function J8e(e, t) {
+function X8e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -91450,16 +91463,16 @@ function J8e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Y8e(e, t) {
+function Z8e(e, t) {
if (e == null) return {};
- var n, r, i = X8e(e, t);
+ var n, r, i = Q8e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function X8e(e, t) {
+function Q8e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -91471,7 +91484,7 @@ function X8e(e, t) {
function w3(e, t) {
return e && e !== "none" ? e : t;
}
-var Z8e = (e) => {
+var $8e = (e) => {
var t = e.dataKey, n = e.name, r = e.stroke, i = e.fill, a = e.legendType;
return [{
inactive: e.hide,
@@ -91481,10 +91494,10 @@ var Z8e = (e) => {
value: sQ(n, t),
payload: e
}];
-}, Q8e = /*#__PURE__*/ S.memo((e) => {
+}, e5e = /*#__PURE__*/ S.memo((e) => {
var t = e.dataKey, n = e.stroke, r = e.strokeWidth, i = e.fill, a = e.name, o = e.hide, s = e.tooltipType, c = e.id, l = {
dataDefinedOnItem: void 0,
- getPosition: gJ,
+ getPosition: _J,
settings: {
stroke: n,
strokeWidth: r,
@@ -91501,10 +91514,10 @@ var Z8e = (e) => {
};
return /*#__PURE__*/ S.createElement(n3, { tooltipEntrySettings: l });
});
-function $8e(e) {
+function t5e(e) {
var t = e.points, n = e.props, r = n.dot, i = n.dataKey;
n.id;
- var a = Vq(Y8e(n, W8e));
+ var a = Hq(Z8e(n, K8e));
return /*#__PURE__*/ S.createElement(h3, {
points: t,
dot: r,
@@ -91514,10 +91527,10 @@ function $8e(e) {
baseProps: a
});
}
-function e5e(e) {
+function n5e(e) {
var t = e.radiusAxis, n = e.angleAxis, r = e.displayedData, i = e.dataKey, a = e.bandSize, o = n.cx, s = n.cy, c = !1, l = [], u = n.type === "number" ? 0 : a ?? 0;
r.forEach((e, r) => {
- var a = tQ(e, n.dataKey, r), d = tQ(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? Z6e(d) : d, m = pJ(p) ? 0 : t.scale.map(p) ?? 0;
+ var a = tQ(e, n.dataKey, r), d = tQ(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? $6e(d) : d, m = mJ(p) ? 0 : t.scale.map(p) ?? 0;
Array.isArray(d) && d.length >= 2 && (c = !0), l.push(C3(C3({}, n$(o, s, m, f)), {}, {
name: a,
value: d,
@@ -91531,7 +91544,7 @@ function e5e(e) {
var d = [];
return c && l.forEach((e) => {
if (Array.isArray(e.value)) {
- var n = e.value[0], r = pJ(n) ? 0 : t.scale.map(n) ?? 0;
+ var n = e.value[0], r = mJ(n) ? 0 : t.scale.map(n) ?? 0;
d.push(C3(C3({}, e), {}, { radius: r }, n$(o, s, r, e.angle)));
} else d.push(e);
}), {
@@ -91540,7 +91553,7 @@ function e5e(e) {
baseLinePoints: d
};
}
-function t5e(e) {
+function r5e(e) {
var t = e.showLabels, n = e.points, r = e.children, i = n.map((e) => {
var t = {
x: e.x,
@@ -91560,10 +91573,10 @@ function t5e(e) {
});
return /*#__PURE__*/ S.createElement(T4, { value: t ? i : void 0 }, r);
}
-function n5e(e) {
+function i5e(e) {
var t = e.points, n = e.baseLinePoints, r = e.props;
if (t == null) return null;
- var i = r.shape, a = r.isRange, o = r.connectNulls, s = /*#__PURE__*/ S.isValidElement(i) ? /*#__PURE__*/ S.cloneElement(i, C3(C3({}, r), {}, { points: t })) : typeof i == "function" ? i(C3(C3({}, r), {}, { points: t })) : /*#__PURE__*/ S.createElement(I4e, S3({}, Uq(r), {
+ var i = r.shape, a = r.isRange, o = r.connectNulls, s = /*#__PURE__*/ S.isValidElement(i) ? /*#__PURE__*/ S.cloneElement(i, C3(C3({}, r), {}, { points: t })) : typeof i == "function" ? i(C3(C3({}, r), {}, { points: t })) : /*#__PURE__*/ S.createElement(R4e, S3({}, Wq(r), {
onMouseEnter: (e) => {
var t = r.onMouseEnter;
t && t(r, e);
@@ -91576,21 +91589,21 @@ function n5e(e) {
baseLinePoints: a ? n : void 0,
connectNulls: o
}));
- return /*#__PURE__*/ S.createElement(qq, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ S.createElement($8e, {
+ return /*#__PURE__*/ S.createElement(Jq, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ S.createElement(t5e, {
props: r,
points: t
}));
}
-var r5e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [C3(C3({}, e.next), {}, {
- x: dJ(e.prev.x, e.next.x, t),
- y: dJ(e.prev.y, e.next.y, t)
+var a5e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [C3(C3({}, e.next), {}, {
+ x: fJ(e.prev.x, e.next.x, t),
+ y: fJ(e.prev.y, e.next.y, t)
})] : [C3(C3({}, e.next), {}, {
- x: dJ(e.next.cx, e.next.x, t),
- y: dJ(e.next.cy, e.next.y, t)
+ x: fJ(e.next.cx, e.next.x, t),
+ y: fJ(e.next.cy, e.next.y, t)
})]);
-function i5e(e) {
+function o5e(e) {
var t = e.props, n = e.previousPointsRef, r = e.previousBaseLinePointsRef, i = t.points, a = t.baseLinePoints, o = t.isAnimationActive, s = t.animationBegin, c = t.animationDuration, l = t.animationEasing, u = t.animationMatchBy, d = t.animationInterpolateFn, f = t.onAnimationStart, p = t.onAnimationEnd, m = s3(t, r), h = m.startValue, g = o3(h ?? null, a, u), _ = c3(f, p), v = _.isAnimating, y = _.handleAnimationStart, b = _.handleAnimationEnd, x = jQ();
- return x == null ? null : /*#__PURE__*/ S.createElement(t5e, {
+ return x == null ? null : /*#__PURE__*/ S.createElement(r5e, {
showLabels: !v,
points: i
}, /*#__PURE__*/ S.createElement(l3, {
@@ -91609,29 +91622,29 @@ function i5e(e) {
layout: x
}, (e, n) => {
var r = n === 1 ? a : d(g, n, x);
- return m.syncStepValue(r, n), /*#__PURE__*/ S.createElement(n5e, {
+ return m.syncStepValue(r, n), /*#__PURE__*/ S.createElement(i5e, {
points: e,
baseLinePoints: r,
props: t
});
}), /*#__PURE__*/ S.createElement(D4, { label: t.label }), t.children);
}
-function a5e(e) {
+function s5e(e) {
var t = (0, S.useRef)(void 0), n = (0, S.useRef)(void 0);
- return /*#__PURE__*/ S.createElement(i5e, {
+ return /*#__PURE__*/ S.createElement(o5e, {
props: e,
previousPointsRef: t,
previousBaseLinePointsRef: n
});
}
-var o5e = {
+var c5e = {
activeDot: !0,
angleAxisId: 0,
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease",
animationMatchBy: i3,
- animationInterpolateFn: r5e,
+ animationInterpolateFn: a5e,
dot: !1,
hide: !1,
isAnimationActive: "auto",
@@ -91640,31 +91653,31 @@ var o5e = {
radiusAxisId: 0,
zIndex: C$.area
};
-function s5e(e) {
+function l5e(e) {
var t = e.hide, n = e.className, r = e.points;
if (t) return null;
var i = Lv("recharts-radar", n);
- return /*#__PURE__*/ S.createElement(r4, { zIndex: e.zIndex }, /*#__PURE__*/ S.createElement(qq, { className: i }, /*#__PURE__*/ S.createElement(a5e, e)), /*#__PURE__*/ S.createElement(b3, {
+ return /*#__PURE__*/ S.createElement(r4, { zIndex: e.zIndex }, /*#__PURE__*/ S.createElement(Jq, { className: i }, /*#__PURE__*/ S.createElement(s5e, e)), /*#__PURE__*/ S.createElement(b3, {
points: r,
mainColor: w3(e.stroke, e.fill),
itemDataKey: e.dataKey,
activeDot: e.activeDot
}));
}
-function c5e(e) {
- var t = gQ(), n = vX((n) => U8e(n, e.radiusAxisId, e.angleAxisId, t, e.id));
- return n?.points == null ? null : /*#__PURE__*/ S.createElement(s5e, S3({}, e, {
+function u5e(e) {
+ var t = gQ(), n = yX((n) => G8e(n, e.radiusAxisId, e.angleAxisId, t, e.id));
+ return n?.points == null ? null : /*#__PURE__*/ S.createElement(l5e, S3({}, e, {
points: n?.points,
baseLinePoints: n?.baseLinePoints,
isRange: n?.isRange
}));
}
function T3(e) {
- var t = CY(e, o5e);
+ var t = wY(e, c5e);
return /*#__PURE__*/ S.createElement(u3, {
id: t.id,
type: "radar"
- }, (e) => /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(Y6e, {
+ }, (e) => /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(Z6e, {
type: "radar",
id: e,
data: void 0,
@@ -91672,7 +91685,7 @@ function T3(e) {
hide: t.hide,
angleAxisId: t.angleAxisId,
radiusAxisId: t.radiusAxisId
- }), /*#__PURE__*/ S.createElement(m6e, { legendPayload: Z8e(t) }), /*#__PURE__*/ S.createElement(Q8e, {
+ }), /*#__PURE__*/ S.createElement(g6e, { legendPayload: $8e(t) }), /*#__PURE__*/ S.createElement(e5e, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -91681,22 +91694,22 @@ function T3(e) {
hide: t.hide,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ S.createElement(c5e, S3({}, t, { id: e }))));
+ }), /*#__PURE__*/ S.createElement(u5e, S3({}, t, { id: e }))));
}
T3.displayName = "Radar";
//#endregion
//#region node_modules/recharts/es6/util/RadialBarUtils.js
-var l5e = ["option"];
-function u5e(e, t) {
+var d5e = ["option"];
+function f5e(e, t) {
if (e == null) return {};
- var n, r, i = d5e(e, t);
+ var n, r, i = p5e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function d5e(e, t) {
+function p5e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -91705,39 +91718,39 @@ function d5e(e, t) {
}
return n;
}
-var f5e = o$;
-function p5e(e) {
+var m5e = o$;
+function h5e(e) {
return typeof e == "string" ? parseInt(e, 10) : e;
}
function E3(e) {
- var t = e.option, n = u5e(e, l5e);
+ var t = e.option, n = f5e(e, d5e);
return /*#__PURE__*/ S.createElement(Q4, {
option: t,
- DefaultShape: f5e,
+ DefaultShape: m5e,
shapeProps: n
});
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js
-function m5e(e, t) {
- return y5e(e) || v5e(e, t) || g5e(e, t) || h5e();
+function g5e(e, t) {
+ return x5e(e) || b5e(e, t) || v5e(e, t) || _5e();
}
-function h5e() {
+function _5e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function g5e(e, t) {
+function v5e(e, t) {
if (e) {
- if (typeof e == "string") return _5e(e, t);
+ if (typeof e == "string") return y5e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? _5e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? y5e(e, t) : void 0;
}
}
-function _5e(e, t) {
+function y5e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function v5e(e, t) {
+function b5e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -91758,33 +91771,33 @@ function v5e(e, t) {
return s;
}
}
-function y5e(e) {
+function x5e(e) {
if (Array.isArray(e)) return e;
}
-var b5e = (e, t, n) => {
+var S5e = (e, t, n) => {
var r = n ?? e;
- if (!pJ(r)) return lJ(r, t, 0);
-}, x5e = (e, t, n) => {
+ if (!mJ(r)) return uJ(r, t, 0);
+}, C5e = (e, t, n) => {
var r = {}, i = e.filter(R$), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
var n = e[t.stackId];
return n ??= [], n.push(t), e[t.stackId] = n, e;
}, r), s = Object.entries(o).map((e) => {
- var r = m5e(e, 2), i = r[0], a = r[1];
+ var r = g5e(e, 2), i = r[0], a = r[1];
return {
stackId: i,
dataKeys: a.map((e) => e.dataKey),
- barSize: b5e(t, n, a[0]?.barSize)
+ barSize: S5e(t, n, a[0]?.barSize)
};
}), c = a.map((e) => ({
stackId: void 0,
dataKeys: [e.dataKey].filter((e) => e != null),
- barSize: b5e(t, n, e.barSize)
+ barSize: S5e(t, n, e.barSize)
}));
return [...s, ...c];
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineAllBarPositions.js
-function S5e(e, t) {
+function w5e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -91797,27 +91810,27 @@ function S5e(e, t) {
function D3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? S5e(Object(n), !0).forEach(function(t) {
- C5e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S5e(Object(n)).forEach(function(t) {
+ t % 2 ? w5e(Object(n), !0).forEach(function(t) {
+ T5e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w5e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function C5e(e, t, n) {
- return (t = w5e(t)) in e ? Object.defineProperty(e, t, {
+function T5e(e, t, n) {
+ return (t = E5e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function w5e(e) {
- var t = T5e(e, "string");
+function E5e(e) {
+ var t = D5e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function T5e(e, t) {
+function D5e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -91827,10 +91840,10 @@ function T5e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function E5e(e, t, n, r, i) {
+function O5e(e, t, n, r, i) {
var a = r.length;
if (!(a < 1)) {
- var o = lJ(e, n, 0, !0), s, c = [];
+ var o = uJ(e, n, 0, !0), s, c = [];
if (QZ(r[0]?.barSize)) {
var l = !1, u = n / a, d = r.reduce((e, t) => e + (t.barSize || 0), 0);
d += (a - 1) * o, d >= n && (d -= (a - 1) * o, o = 0), d >= n && u > 0 && (l = !0, u *= .9, d = a * u);
@@ -91850,7 +91863,7 @@ function E5e(e, t, n, r, i) {
return f = n.position, r;
}, c);
} else {
- var p = lJ(t, n, 0, !0);
+ var p = uJ(t, n, 0, !0);
n - 2 * p - (a - 1) * o <= 0 && (o = 0);
var m = (n - 2 * p - (a - 1) * o) / a;
m > 1 && (m = Math.round(m));
@@ -91867,10 +91880,10 @@ function E5e(e, t, n, r, i) {
return s;
}
}
-var D5e = (e, t, n, r, i, a, o) => {
- var s = pJ(o) ? t : o, c = E5e(n, r, i === a ? a : i, e, s);
+var k5e = (e, t, n, r, i, a, o) => {
+ var s = mJ(o) ? t : o, c = O5e(n, r, i === a ? a : i, e, s);
return i !== a && c != null && (c = c.map((e) => D3(D3({}, e), {}, { position: D3(D3({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
-}, O5e = (e, t) => {
+}, A5e = (e, t) => {
var n = I$(t);
if (e && n != null && t != null) {
var r = t.stackId;
@@ -91882,7 +91895,7 @@ var D5e = (e, t, n, r, i, a, o) => {
}
}
}
-}, k5e = (e, t) => {
+}, j5e = (e, t) => {
if (e != null && t != null) {
var n = e.find((e) => e.stackId === t.stackId && t.dataKey != null && e.dataKeys.includes(t.dataKey));
if (n != null) return n.position;
@@ -91890,7 +91903,7 @@ var D5e = (e, t, n, r, i, a, o) => {
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/radialBarSelectors.js
-function A5e(e, t) {
+function M5e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -91903,27 +91916,27 @@ function A5e(e, t) {
function O3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? A5e(Object(n), !0).forEach(function(t) {
- j5e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A5e(Object(n)).forEach(function(t) {
+ t % 2 ? M5e(Object(n), !0).forEach(function(t) {
+ N5e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M5e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function j5e(e, t, n) {
- return (t = M5e(t)) in e ? Object.defineProperty(e, t, {
+function N5e(e, t, n) {
+ return (t = P5e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function M5e(e) {
- var t = N5e(e, "string");
+function P5e(e) {
+ var t = F5e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function N5e(e, t) {
+function F5e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -91935,36 +91948,36 @@ function N5e(e, t) {
}
var k3 = Y([(e, t) => A$(e, t), (e, t) => L4(e, "radiusAxis", t)], (e, t) => {
if (e != null && t != null) return O3(O3({}, e), {}, { scale: t });
-}), A3 = (e, t) => W4e(e, "radiusAxis", t, !1), j3 = Y([(e, t, n) => k$(e, n), (e, t, n) => L4(e, "angleAxis", n)], (e, t) => {
+}), A3 = (e, t) => K4e(e, "radiusAxis", t, !1), j3 = Y([(e, t, n) => k$(e, n), (e, t, n) => L4(e, "angleAxis", n)], (e, t) => {
if (e != null && t != null) return O3(O3({}, e), {}, { scale: t });
}), M3 = (e, t, n) => R4(e, "angleAxis", n, !1), N3 = Y([M4, (e, t, n, r) => r], (e, t) => {
if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;
-}), P5e = Y([
+}), I5e = Y([
DQ,
k3,
A3,
j3,
M3
-], (e, t, n, r, i) => nQ(e, "radiusAxis") ? oQ(t, n, !1) : oQ(r, i, !1)), F5e = Y([
+], (e, t, n, r, i) => nQ(e, "radiusAxis") ? oQ(t, n, !1) : oQ(r, i, !1)), L5e = Y([
j3,
k3,
DQ
], (e, t, n) => {
var r = n === "radial" ? e : t;
- if (r != null && r.scale != null) return oHe({ numericAxis: r });
-}), I5e = (e, t, n, r, i) => i, L5e = (e, t, n, r, i) => n, R5e = (e, t, n, r, i) => t, z5e = (e, t, n, r, i) => r.maxBarSize, B5e = (e) => e.type === "radialBar", V5e = Y([Y([
+ if (r != null && r.scale != null) return cHe({ numericAxis: r });
+}), R5e = (e, t, n, r, i) => i, z5e = (e, t, n, r, i) => n, B5e = (e, t, n, r, i) => t, V5e = (e, t, n, r, i) => r.maxBarSize, H5e = (e) => e.type === "radialBar", U5e = Y([Y([
Y([
Y([
DQ,
M4,
- L5e,
- R5e
- ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(B5e)),
- gqe,
+ z5e,
+ B5e
+ ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(H5e)),
+ vqe,
() => void 0
- ], x5e),
+ ], C5e),
g$,
- hqe,
+ _qe,
_$,
Y([
DQ,
@@ -91973,41 +91986,41 @@ var k3 = Y([(e, t) => A$(e, t), (e, t) => L4(e, "radiusAxis", t)], (e, t) => {
M3,
k3,
A3,
- z5e
+ V5e
], (e, t, n, r, i, a, o) => {
- var s = pJ(o) ? t : o;
+ var s = mJ(o) ? t : o;
return e === "centric" ? oQ(n, r, !0) ?? s ?? 0 : oQ(i, a, !0) ?? s ?? 0;
}),
- P5e,
- z5e
-], D5e), N3], k5e), H5e = Y([N4], (e) => e.filter(B5e).filter(R$)), U5e = Y([
+ I5e,
+ V5e
+], k5e), N3], j5e), W5e = Y([N4], (e) => e.filter(H5e).filter(R$)), G5e = Y([
Y([
- H5e,
+ W5e,
l$,
r2
], L$),
- H5e,
+ W5e,
v$,
y$
-], a2), W5e = Y([
+], a2), K5e = Y([
j3,
M3,
k3,
A3,
c$,
N3,
- P5e,
+ I5e,
DQ,
- F5e,
+ L5e,
N$,
- I5e,
- V5e,
- Y([(e, t, n) => DQ(e) === "centric" ? U5e(e, "radiusAxis", t) : U5e(e, "angleAxis", n), N3], O5e)
+ R5e,
+ U5e,
+ Y([(e, t, n) => DQ(e) === "centric" ? G5e(e, "radiusAxis", t) : G5e(e, "angleAxis", n), N3], A5e)
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var p = i.chartData, m = i.dataStartIndex, h = i.dataEndIndex;
if (a == null || n == null || e == null || p == null || o == null || d == null || s !== "centric" && s !== "radial" || r == null || l == null) return [];
var g = a.dataKey, _ = a.minPointSize, v = l.cx, y = l.cy, b = l.startAngle, x = l.endAngle;
- return d7e({
+ return p7e({
angleAxis: e,
angleAxisTicks: t,
bandSize: o,
@@ -92028,7 +92041,7 @@ var k3 = Y([(e, t) => A$(e, t), (e, t) => L4(e, "radiusAxis", t)], (e, t) => {
stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,
startAngle: b
});
-}), G5e = Y([l$, (e, t) => t], (e, t) => {
+}), q5e = Y([l$, (e, t) => t], (e, t) => {
var n = e.chartData, r = e.dataStartIndex, i = e.dataEndIndex;
if (n == null) return [];
var a = n.slice(r, i + 1);
@@ -92041,21 +92054,21 @@ var k3 = Y([(e, t) => A$(e, t), (e, t) => L4(e, "radiusAxis", t)], (e, t) => {
});
//#endregion
//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js
-function K5e(e, t) {
+function J5e(e, t) {
return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && QZ(e.zIndex) ? e.zIndex : t;
}
//#endregion
//#region node_modules/recharts/es6/polar/RadialBar.js
-var q5e = [
+var Y5e = [
"shape",
"activeShape",
"cornerRadius",
"id"
-], J5e = [
+], X5e = [
"onMouseEnter",
"onClick",
"onMouseLeave"
-], Y5e = ["value", "background"];
+], Z5e = ["value", "background"];
function P3() {
return P3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -92065,7 +92078,7 @@ function P3() {
return e;
}, P3.apply(null, arguments);
}
-function X5e(e, t) {
+function Q5e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -92078,27 +92091,27 @@ function X5e(e, t) {
function F3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? X5e(Object(n), !0).forEach(function(t) {
- Z5e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X5e(Object(n)).forEach(function(t) {
+ t % 2 ? Q5e(Object(n), !0).forEach(function(t) {
+ $5e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q5e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Z5e(e, t, n) {
- return (t = Q5e(t)) in e ? Object.defineProperty(e, t, {
+function $5e(e, t, n) {
+ return (t = e7e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Q5e(e) {
- var t = $5e(e, "string");
+function e7e(e) {
+ var t = t7e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function $5e(e, t) {
+function t7e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -92110,14 +92123,14 @@ function $5e(e, t) {
}
function I3(e, t) {
if (e == null) return {};
- var n, r, i = e7e(e, t);
+ var n, r, i = n7e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function e7e(e, t) {
+function n7e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -92126,8 +92139,8 @@ function e7e(e, t) {
}
return n;
}
-var t7e = [];
-function n7e(e) {
+var r7e = [];
+function i7e(e) {
var t = e.showLabels, n = e.sectors, r = e.children, i = n.map((e) => ({
value: e.value,
payload: e.payload,
@@ -92144,15 +92157,15 @@ function n7e(e) {
},
fill: e.fill
}));
- return /*#__PURE__*/ S.createElement(T4e, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ S.createElement(D4e, { value: t ? i : void 0 }, r);
}
-function r7e(e) {
- var t = e.sectors, n = e.allOtherRadialBarProps, r = e.showLabels, i = e.animationElapsedTime, a = e.isAnimating, o = e.isEntrance, s = n.shape, c = n.activeShape, l = n.cornerRadius, u = n.id, d = I3(n, q5e), f = Vq(d), p = vX(J2), m = n.onMouseEnter, h = n.onClick, g = n.onMouseLeave, _ = I3(n, J5e), v = $4(m, n.dataKey, u), y = e3(g), b = t3(h, n.dataKey, u);
- return t == null ? null : /*#__PURE__*/ S.createElement(n7e, {
+function a7e(e) {
+ var t = e.sectors, n = e.allOtherRadialBarProps, r = e.showLabels, i = e.animationElapsedTime, a = e.isAnimating, o = e.isEntrance, s = n.shape, c = n.activeShape, l = n.cornerRadius, u = n.id, d = I3(n, Y5e), f = Hq(d), p = yX(J2), m = n.onMouseEnter, h = n.onClick, g = n.onMouseLeave, _ = I3(n, X5e), v = $4(m, n.dataKey, u), y = e3(g), b = t3(h, n.dataKey, u);
+ return t == null ? null : /*#__PURE__*/ S.createElement(i7e, {
showLabels: r,
sectors: t
}, t.map((e, t) => {
- var n = !!(c && p === String(t)), r = v(e, t), u = y(e, t), m = b(e, t), h = F3(F3(F3(F3({}, f), {}, { cornerRadius: p5e(l) }, e), xY(_, e, t)), {}, {
+ var n = !!(c && p === String(t)), r = v(e, t), u = y(e, t), m = b(e, t), h = F3(F3(F3(F3({}, f), {}, { cornerRadius: h5e(l) }, e), SY(_, e, t)), {}, {
onMouseEnter: r,
onMouseLeave: u,
onClick: m,
@@ -92172,11 +92185,11 @@ function r7e(e) {
}, /*#__PURE__*/ S.createElement(E3, h)) : /*#__PURE__*/ S.createElement(E3, P3({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, h));
}), /*#__PURE__*/ S.createElement(D4, { label: n.label }), n.children);
}
-var i7e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [F3(F3({}, e.next), {}, {
- startAngle: dJ(e.prev.startAngle, e.next.startAngle, t),
- endAngle: dJ(e.prev.endAngle, e.next.endAngle, t)
-})] : [F3(F3({}, e.next), {}, { endAngle: dJ(e.next.startAngle, e.next.endAngle, t) })]);
-function a7e(e) {
+var o7e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [F3(F3({}, e.next), {}, {
+ startAngle: fJ(e.prev.startAngle, e.next.startAngle, t),
+ endAngle: fJ(e.prev.endAngle, e.next.endAngle, t)
+})] : [F3(F3({}, e.next), {}, { endAngle: fJ(e.next.startAngle, e.next.endAngle, t) })]);
+function s7e(e) {
var t = e.props, n = e.previousSectorsRef, r = t.sectors, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.onAnimationStart, l = t.onAnimationEnd, u = c3(c, l), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd, m = jQ();
return m == null ? null : /*#__PURE__*/ S.createElement(l3, {
animationInput: t,
@@ -92192,7 +92205,7 @@ function a7e(e) {
animationInterpolateFn: t.animationInterpolateFn,
animationMatchBy: t.animationMatchBy,
layout: m
- }, (e, n, r) => /*#__PURE__*/ S.createElement(r7e, {
+ }, (e, n, r) => /*#__PURE__*/ S.createElement(a7e, {
sectors: e,
allOtherRadialBarProps: t,
showLabels: !d,
@@ -92201,21 +92214,21 @@ function a7e(e) {
isEntrance: r
}));
}
-function o7e(e) {
+function c7e(e) {
var t = (0, S.useRef)(null);
- return /*#__PURE__*/ S.createElement(a7e, {
+ return /*#__PURE__*/ S.createElement(s7e, {
props: e,
previousSectorsRef: t
});
}
-function s7e(e) {
- var t = vX((t) => G5e(t, e.legendType));
- return /*#__PURE__*/ S.createElement(m6e, { legendPayload: t ?? [] });
+function l7e(e) {
+ var t = yX((t) => q5e(t, e.legendType));
+ return /*#__PURE__*/ S.createElement(g6e, { legendPayload: t ?? [] });
}
-var c7e = /*#__PURE__*/ S.memo((e) => {
+var u7e = /*#__PURE__*/ S.memo((e) => {
var t = e.dataKey, n = e.sectors, r = e.stroke, i = e.strokeWidth, a = e.name, o = e.hide, s = e.fill, c = e.tooltipType, l = e.formatter, u = {
dataDefinedOnItem: n,
- getPosition: gJ,
+ getPosition: _J,
settings: {
graphicalItemId: e.id,
stroke: r,
@@ -92232,15 +92245,15 @@ var c7e = /*#__PURE__*/ S.memo((e) => {
}
};
return /*#__PURE__*/ S.createElement(n3, { tooltipEntrySettings: u });
-}), l7e = class extends S.PureComponent {
+}), d7e = class extends S.PureComponent {
renderBackground(e) {
if (e == null) return null;
- var t = this.props.cornerRadius, n = Hq(this.props.background);
- return /*#__PURE__*/ S.createElement(r4, { zIndex: K5e(this.props.background, C$.barBackground) }, e.map((e, r) => {
+ var t = this.props.cornerRadius, n = Uq(this.props.background);
+ return /*#__PURE__*/ S.createElement(r4, { zIndex: J5e(this.props.background, C$.barBackground) }, e.map((e, r) => {
e.value;
- var i = e.background, a = I3(e, Y5e);
+ var i = e.background, a = I3(e, Z5e);
if (!i) return null;
- var o = F3(F3(F3(F3(F3({ cornerRadius: p5e(t) }, a), {}, { fill: "#eee" }, i), n), xY(this.props, e, r)), {}, {
+ var o = F3(F3(F3(F3(F3({ cornerRadius: h5e(t) }, a), {}, { fill: "#eee" }, i), n), SY(this.props, e, r)), {}, {
index: r,
className: Lv("recharts-radial-bar-background-sector", String(n?.className)),
option: i,
@@ -92253,11 +92266,11 @@ var c7e = /*#__PURE__*/ S.memo((e) => {
var e = this.props, t = e.hide, n = e.sectors, r = e.className, i = e.background;
if (t) return null;
var a = Lv("recharts-area", r);
- return /*#__PURE__*/ S.createElement(r4, { zIndex: this.props.zIndex }, /*#__PURE__*/ S.createElement(qq, { className: a }, i && /*#__PURE__*/ S.createElement(qq, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ S.createElement(qq, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ S.createElement(o7e, this.props))));
+ return /*#__PURE__*/ S.createElement(r4, { zIndex: this.props.zIndex }, /*#__PURE__*/ S.createElement(Jq, { className: a }, i && /*#__PURE__*/ S.createElement(Jq, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ S.createElement(Jq, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ S.createElement(c7e, this.props))));
}
};
-function u7e(e) {
- var t = S.useMemo(() => r6e(e.children, d4), [e.children]), n = S.useMemo(() => ({
+function f7e(e) {
+ var t = S.useMemo(() => a6e(e.children, d4), [e.children]), n = S.useMemo(() => ({
data: void 0,
hide: !1,
id: e.id,
@@ -92278,8 +92291,8 @@ function u7e(e) {
e.barSize,
e.angleAxisId,
e.radiusAxisId
- ]), r = vX((r) => W5e(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? t7e;
- return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(c7e, {
+ ]), r = yX((r) => K5e(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? r7e;
+ return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(u7e, {
dataKey: e.dataKey,
sectors: r,
stroke: e.stroke,
@@ -92290,15 +92303,15 @@ function u7e(e) {
tooltipType: e.tooltipType,
formatter: e.formatter,
id: e.id
- }), /*#__PURE__*/ S.createElement(l7e, P3({}, e, { sectors: r })));
+ }), /*#__PURE__*/ S.createElement(d7e, P3({}, e, { sectors: r })));
}
var L3 = {
angleAxisId: 0,
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease",
- animationMatchBy: x6e,
- animationInterpolateFn: i7e,
+ animationMatchBy: C6e,
+ animationInterpolateFn: o7e,
background: !1,
cornerIsExternal: !1,
cornerRadius: 0,
@@ -92309,14 +92322,14 @@ var L3 = {
legendType: "rect",
minPointSize: 0,
radiusAxisId: 0,
- shape: f5e,
+ shape: m5e,
zIndex: C$.bar
};
-function d7e(e) {
+function p7e(e) {
var t = e.displayedData, n = e.stackedData, r = e.dataStartIndex, i = e.stackedDomain, a = e.dataKey, o = e.baseValue, s = e.layout, c = e.radiusAxis, l = e.radiusAxisTicks, u = e.bandSize, d = e.pos, f = e.angleAxis, p = e.minPointSize, m = e.cx, h = e.cy, g = e.angleAxisTicks, _ = e.cells, v = e.startAngle, y = e.endAngle;
- return g == null || l == null ? t7e : (t ?? []).map((e, t) => {
+ return g == null || l == null ? r7e : (t ?? []).map((e, t) => {
var b, x, S, C, w, T;
- if (n ? b = rHe(n[r + t], i) : (b = tQ(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {
+ if (n ? b = aHe(n[r + t], i) : (b = tQ(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {
if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = aQ({
axis: c,
ticks: l,
@@ -92328,7 +92341,7 @@ function d7e(e) {
S = x + d.size;
var E = w - C;
if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {
- var D = rJ(E || p) * (Math.abs(p) - Math.abs(E));
+ var D = iJ(E || p) * (Math.abs(p) - Math.abs(E));
w += D;
}
T = { background: {
@@ -92351,7 +92364,7 @@ function d7e(e) {
w = C + d.size;
var O = S - x;
if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {
- var k = rJ(O || p) * (Math.abs(p) - Math.abs(O));
+ var k = iJ(O || p) * (Math.abs(p) - Math.abs(O));
S += k;
}
}
@@ -92368,11 +92381,11 @@ function d7e(e) {
});
}
function R3(e) {
- var t = CY(e, L3);
+ var t = wY(e, L3);
return /*#__PURE__*/ S.createElement(u3, {
id: t.id,
type: "radialBar"
- }, (e) => /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(Y6e, {
+ }, (e) => /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(Z6e, {
type: "radialBar",
id: e,
data: void 0,
@@ -92384,21 +92397,21 @@ function R3(e) {
barSize: t.barSize,
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize
- }), /*#__PURE__*/ S.createElement(s7e, t), /*#__PURE__*/ S.createElement(u7e, P3({}, t, { id: e }))));
+ }), /*#__PURE__*/ S.createElement(l7e, t), /*#__PURE__*/ S.createElement(f7e, P3({}, t, { id: e }))));
}
R3.displayName = "RadialBar";
//#endregion
//#region node_modules/recharts/es6/context/chartDataContext.js
-var f7e = (e) => {
- var t = e.chartData, n = gX(), r = gQ();
- return (0, S.useEffect)(() => r ? () => {} : (n(p0e(t)), () => {
- n(p0e(void 0));
+var m7e = (e) => {
+ var t = e.chartData, n = _X(), r = gQ();
+ return (0, S.useEffect)(() => r ? () => {} : (n(h0e(t)), () => {
+ n(h0e(void 0));
}), [
t,
n,
r
]), null;
-}, p7e = {
+}, h7e = {
x: 0,
y: 0,
width: 0,
@@ -92409,15 +92422,15 @@ var f7e = (e) => {
bottom: 0,
left: 0
}
-}, m7e = LZ({
+}, g7e = LZ({
name: "brush",
- initialState: p7e,
+ initialState: h7e,
reducers: { setBrushSettings(e, t) {
- return t.payload == null ? p7e : t.payload;
+ return t.payload == null ? h7e : t.payload;
} }
});
-m7e.actions.setBrushSettings;
-var h7e = m7e.reducer, g7e = (e, t) => {
+g7e.actions.setBrushSettings;
+var _7e = g7e.reducer, v7e = (e, t) => {
var n = e.x, r = e.y, i = t.x, a = t.y;
return {
x: Math.min(n, i),
@@ -92425,9 +92438,9 @@ var h7e = m7e.reducer, g7e = (e, t) => {
width: Math.abs(i - n),
height: Math.abs(a - r)
};
-}, _7e = (e) => {
+}, y7e = (e) => {
var t = e.x1, n = e.y1, r = e.x2, i = e.y2;
- return g7e({
+ return v7e({
x: t,
y: n
}, {
@@ -92435,13 +92448,13 @@ var h7e = m7e.reducer, g7e = (e, t) => {
y: i
});
};
-function v7e(e) {
+function b7e(e) {
return (e % 180 + 180) % 180;
}
-var y7e = function(e) {
- var t = e.width, n = e.height, r = v7e(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);
+var x7e = function(e) {
+ var t = e.width, n = e.height, r = b7e(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);
return Math.abs(a);
-}, b7e = LZ({
+}, S7e = LZ({
name: "referenceElements",
initialState: {
dots: [],
@@ -92471,30 +92484,30 @@ var y7e = function(e) {
n !== -1 && e.lines.splice(n, 1);
}
}
-}), z3 = b7e.actions;
+}), z3 = S7e.actions;
z3.addDot, z3.removeDot, z3.addArea, z3.removeArea;
-var x7e = z3.addLine, S7e = z3.removeLine, C7e = b7e.reducer;
+var C7e = z3.addLine, w7e = z3.removeLine, T7e = S7e.reducer;
//#endregion
//#region node_modules/recharts/es6/container/ClipPathProvider.js
-function w7e(e, t) {
- return k7e(e) || O7e(e, t) || E7e(e, t) || T7e();
+function E7e(e, t) {
+ return j7e(e) || A7e(e, t) || O7e(e, t) || D7e();
}
-function T7e() {
+function D7e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function E7e(e, t) {
+function O7e(e, t) {
if (e) {
- if (typeof e == "string") return D7e(e, t);
+ if (typeof e == "string") return k7e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? D7e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? k7e(e, t) : void 0;
}
}
-function D7e(e, t) {
+function k7e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function O7e(e, t) {
+function A7e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -92515,20 +92528,20 @@ function O7e(e, t) {
return s;
}
}
-function k7e(e) {
+function j7e(e) {
if (Array.isArray(e)) return e;
}
-var A7e = /*#__PURE__*/ (0, S.createContext)(void 0), j7e = (e) => {
- var t = e.children, n = w7e((0, S.useState)(`${cJ("recharts")}-clip`), 1)[0], r = v3();
+var M7e = /*#__PURE__*/ (0, S.createContext)(void 0), N7e = (e) => {
+ var t = e.children, n = E7e((0, S.useState)(`${lJ("recharts")}-clip`), 1)[0], r = v3();
if (r == null) return null;
var i = r.x, a = r.y, o = r.width, s = r.height;
- return /*#__PURE__*/ S.createElement(A7e.Provider, { value: n }, /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement("clipPath", { id: n }, /*#__PURE__*/ S.createElement("rect", {
+ return /*#__PURE__*/ S.createElement(M7e.Provider, { value: n }, /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement("clipPath", { id: n }, /*#__PURE__*/ S.createElement("rect", {
x: i,
y: a,
height: s,
width: o
}))), t);
-}, M7e = () => (0, S.useContext)(A7e), N7e = class {
+}, P7e = () => (0, S.useContext)(M7e), F7e = class {
constructor(e) {
var t = e.x, n = e.y;
this.xAxisScale = t, this.yAxisScale = n;
@@ -92554,7 +92567,7 @@ var A7e = /*#__PURE__*/ (0, S.createContext)(void 0), j7e = (e) => {
};
//#endregion
//#region node_modules/recharts/es6/cartesian/ReferenceLine.js
-function P7e(e, t) {
+function I7e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -92564,30 +92577,30 @@ function P7e(e, t) {
}
return n;
}
-function F7e(e) {
+function L7e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? P7e(Object(n), !0).forEach(function(t) {
- I7e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : P7e(Object(n)).forEach(function(t) {
+ t % 2 ? I7e(Object(n), !0).forEach(function(t) {
+ R7e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : I7e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function I7e(e, t, n) {
- return (t = L7e(t)) in e ? Object.defineProperty(e, t, {
+function R7e(e, t, n) {
+ return (t = z7e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function L7e(e) {
- var t = R7e(e, "string");
+function z7e(e) {
+ var t = B7e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function R7e(e, t) {
+function B7e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -92606,7 +92619,7 @@ function B3() {
return e;
}, B3.apply(null, arguments);
}
-var z7e = (e, t) => {
+var V7e = (e, t) => {
var n;
if (/*#__PURE__*/ S.isValidElement(e)) n = /*#__PURE__*/ S.cloneElement(e, t);
else if (typeof e == "function") n = e(t);
@@ -92615,7 +92628,7 @@ var z7e = (e, t) => {
n = /*#__PURE__*/ S.createElement("line", B3({}, t, { className: "recharts-reference-line-line" }));
}
return n;
-}, B7e = (e, t, n, r, i, a) => {
+}, H7e = (e, t, n, r, i, a) => {
var o = a.x, s = a.width, c = i.map(e, { position: n });
if (!QZ(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
@@ -92626,7 +92639,7 @@ var z7e = (e, t) => {
y: c
}];
return r === "left" ? l.reverse() : l;
-}, V7e = (e, t, n, r, i, a) => {
+}, U7e = (e, t, n, r, i, a) => {
var o = a.y, s = a.height, c = i.map(e, { position: n });
if (!QZ(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
@@ -92637,7 +92650,7 @@ var z7e = (e, t) => {
y: o
}];
return r === "top" ? l.reverse() : l;
-}, H7e = (e, t, n, r) => {
+}, W7e = (e, t, n, r) => {
var i = [r.mapWithFallback(e[0], {
position: n,
fallback: "rangeMin"
@@ -92646,43 +92659,43 @@ var z7e = (e, t) => {
fallback: "rangeMax"
})];
return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;
-}, U7e = (e, t, n, r, i, a, o) => {
- var s = o.x, c = o.y, l = o.segment, u = o.ifOverflow, d = sJ(s);
- return sJ(c) ? B7e(c, u, r, a, t, n) : d ? V7e(s, u, r, i, e, n) : l != null && l.length === 2 ? H7e(l, u, r, new N7e({
+}, G7e = (e, t, n, r, i, a, o) => {
+ var s = o.x, c = o.y, l = o.segment, u = o.ifOverflow, d = cJ(s);
+ return cJ(c) ? H7e(c, u, r, a, t, n) : d ? U7e(s, u, r, i, e, n) : l != null && l.length === 2 ? W7e(l, u, r, new F7e({
x: e,
y: t
})) : null;
};
-function W7e(e) {
- var t = gX();
- return (0, S.useEffect)(() => (t(x7e(e)), () => {
- t(S7e(e));
+function K7e(e) {
+ var t = _X();
+ return (0, S.useEffect)(() => (t(C7e(e)), () => {
+ t(w7e(e));
})), null;
}
-function G7e(e) {
- var t = e.xAxisId, n = e.yAxisId, r = e.shape, i = e.className, a = e.ifOverflow, o = gQ(), s = M7e(), c = vX((e) => V0(e, t)), l = vX((e) => U0(e, n)), u = vX((e) => T2(e, "xAxis", t, o)), d = vX((e) => T2(e, "yAxis", n, o)), f = wQ();
+function q7e(e) {
+ var t = e.xAxisId, n = e.yAxisId, r = e.shape, i = e.className, a = e.ifOverflow, o = gQ(), s = P7e(), c = yX((e) => V0(e, t)), l = yX((e) => U0(e, n)), u = yX((e) => T2(e, "xAxis", t, o)), d = yX((e) => T2(e, "yAxis", n, o)), f = wQ();
if (!s || !f || c == null || l == null || u == null || d == null) return null;
- var p = U7e(u, d, f, e.position, c.orientation, l.orientation, e);
+ var p = G7e(u, d, f, e.position, c.orientation, l.orientation, e);
if (!p) return null;
var m = p[0], h = p[1];
if (m == null || h == null) return null;
- var g = m.x, _ = m.y, v = h.x, y = h.y, b = F7e(F7e({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, Uq(e)), {}, {
+ var g = m.x, _ = m.y, v = h.x, y = h.y, b = L7e(L7e({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, Wq(e)), {}, {
x1: g,
y1: _,
x2: v,
y2: y
- }), x = _7e({
+ }), x = y7e({
x1: g,
y1: _,
x2: v,
y2: y
});
- return /*#__PURE__*/ S.createElement(r4, { zIndex: e.zIndex }, /*#__PURE__*/ S.createElement(qq, { className: Lv("recharts-reference-line", i) }, z7e(r, b), /*#__PURE__*/ S.createElement(i4e, B3({}, x, {
+ return /*#__PURE__*/ S.createElement(r4, { zIndex: e.zIndex }, /*#__PURE__*/ S.createElement(Jq, { className: Lv("recharts-reference-line", i) }, V7e(r, b), /*#__PURE__*/ S.createElement(o4e, B3({}, x, {
lowerWidth: x.width,
upperWidth: x.width
- }), /*#__PURE__*/ S.createElement(g4e, { label: e.label }), e.children)));
+ }), /*#__PURE__*/ S.createElement(v4e, { label: e.label }), e.children)));
}
-var K7e = {
+var J7e = {
ifOverflow: "discard",
xAxisId: 0,
yAxisId: 0,
@@ -92694,31 +92707,31 @@ var K7e = {
position: "middle",
zIndex: C$.line
};
-function q7e(e) {
- var t = CY(e, K7e);
- return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(W7e, {
+function Y7e(e) {
+ var t = wY(e, J7e);
+ return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(K7e, {
yAxisId: t.yAxisId,
xAxisId: t.xAxisId,
ifOverflow: t.ifOverflow,
x: t.x,
y: t.y,
segment: t.segment
- }), /*#__PURE__*/ S.createElement(G7e, t));
+ }), /*#__PURE__*/ S.createElement(q7e, t));
}
-q7e.displayName = "ReferenceLine";
+Y7e.displayName = "ReferenceLine";
//#endregion
//#region node_modules/es-toolkit/dist/function/noop.mjs
-function J7e() {}
+function X7e() {}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isPlainObject.mjs
-function Y7e(e) {
+function Z7e(e) {
if (!e || typeof e != "object") return !1;
let t = Object.getPrototypeOf(e);
return t !== null && t !== Object.prototype && Object.getPrototypeOf(t) !== null ? !1 : Object.prototype.toString.call(e) === "[object Object]";
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isEqualWith.mjs
-function X7e(e, t, n) {
+function Q7e(e, t, n) {
return V3(e, t, void 0, void 0, void 0, void 0, n);
}
function V3(e, t, n, r, i, a, o) {
@@ -92738,16 +92751,16 @@ function V3(e, t, n, r, i, a, o) {
}
function H3(e, t, n, r) {
if (Object.is(e, t)) return !0;
- let i = MY(e), a = MY(t);
- if (i === "[object Arguments]" && (i = WY), a === "[object Arguments]" && (a = WY), i !== a) return !1;
+ let i = NY(e), a = NY(t);
+ if (i === "[object Arguments]" && (i = GY), a === "[object Arguments]" && (a = GY), i !== a) return !1;
switch (i) {
- case PY: return e.toString() === t.toString();
- case FY: return aX(e.valueOf(), t.valueOf());
- case IY:
- case zY:
- case RY: return Object.is(e.valueOf(), t.valueOf());
- case NY: return e.source === t.source && e.flags === t.flags;
- case wze: return e === t;
+ case FY: return e.toString() === t.toString();
+ case IY: return oX(e.valueOf(), t.valueOf());
+ case LY:
+ case BY:
+ case zY: return Object.is(e.valueOf(), t.valueOf());
+ case PY: return e.source === t.source && e.flags === t.flags;
+ case Tze: return e === t;
}
n ??= /* @__PURE__ */ new Map();
let o = n.get(e), s = n.get(t);
@@ -92755,11 +92768,11 @@ function H3(e, t, n, r) {
n.set(e, t), n.set(t, e);
try {
switch (i) {
- case BY:
+ case VY:
if (e.size !== t.size) return !1;
for (let [i, a] of e.entries()) if (!t.has(i) || !V3(a, t.get(i), i, e, t, n, r)) return !1;
return !0;
- case VY: {
+ case HY: {
if (e.size !== t.size) return !1;
let i = Array.from(e.values()), a = Array.from(t.values());
for (let o = 0; o < i.length; o++) {
@@ -92769,27 +92782,27 @@ function H3(e, t, n, r) {
}
return !0;
}
- case HY:
- case KY:
+ case UY:
case qY:
case JY:
case YY:
- case Eze:
case XY:
+ case Dze:
case ZY:
case QY:
- case Dze:
case $Y:
+ case Oze:
case eX:
- if (nX(e) !== nX(t) || e.length !== t.length) return !1;
+ case tX:
+ if (rX(e) !== rX(t) || e.length !== t.length) return !1;
for (let i = 0; i < e.length; i++) if (!V3(e[i], t[i], i, e, t, n, r)) return !1;
return !0;
- case UY: return e.byteLength === t.byteLength && H3(new Uint8Array(e), new Uint8Array(t), n, r);
- case GY: return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : H3(new Uint8Array(e), new Uint8Array(t), n, r);
- case Tze: return e.name === t.name && e.message === t.message;
- case WY: {
- if (!(H3(e.constructor, t.constructor, n, r) || Y7e(e) && Y7e(t))) return !1;
- let i = [...Object.keys(e), ...jY(e)], a = [...Object.keys(t), ...jY(t)];
+ case WY: return e.byteLength === t.byteLength && H3(new Uint8Array(e), new Uint8Array(t), n, r);
+ case KY: return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : H3(new Uint8Array(e), new Uint8Array(t), n, r);
+ case Eze: return e.name === t.name && e.message === t.message;
+ case GY: {
+ if (!(H3(e.constructor, t.constructor, n, r) || Z7e(e) && Z7e(t))) return !1;
+ let i = [...Object.keys(e), ...MY(e)], a = [...Object.keys(t), ...MY(t)];
if (i.length !== a.length) return !1;
for (let a = 0; a < i.length; a++) {
let o = i[a], s = e[o];
@@ -92807,12 +92820,12 @@ function H3(e, t, n, r) {
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isEqual.mjs
-function Z7e(e, t) {
- return X7e(e, t, J7e);
+function $7e(e, t) {
+ return Q7e(e, t, X7e);
}
//#endregion
//#region node_modules/recharts/es6/util/getEveryNth.js
-function Q7e(e, t) {
+function e9e(e, t) {
if (t < 1) return [];
if (t === 1) return e;
for (var n = [], r = 0; r < e.length; r += t) {
@@ -92823,13 +92836,13 @@ function Q7e(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/util/TickUtils.js
-function $7e(e, t, n) {
- return y7e({
+function t9e(e, t, n) {
+ return x7e({
width: e.width + t.width,
height: e.height + t.height
}, n);
}
-function e9e(e, t, n) {
+function n9e(e, t, n) {
var r = n === "width", i = e.x, a = e.y, o = e.width, s = e.height;
return t === 1 ? {
start: r ? i : a,
@@ -92844,21 +92857,21 @@ function U3(e, t, n, r, i) {
var a = n();
return e * (t - e * a / 2 - r) >= 0 && e * (t + e * a / 2 - i) <= 0;
}
-function t9e(e, t) {
- return Q7e(e, t + 1);
+function r9e(e, t) {
+ return e9e(e, t + 1);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js
-function n9e(e, t, n, r, i) {
+function i9e(e, t, n, r, i) {
for (var a = (r || []).slice(), o = t.start, s = t.end, c = 0, l = 1, u = o, d = function() {
var t = r?.[c];
- if (t === void 0) return { v: Q7e(r, l) };
+ if (t === void 0) return { v: e9e(r, l) };
var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || U3(e, p, f, u, s);
m || (c = 0, u = o, l += 1), m && (u = p + e * (f() / 2 + i), c += l);
}, f; l <= a.length;) if (f = d(), f) return f.v;
return [];
}
-function r9e(e, t, n, r, i) {
+function a9e(e, t, n, r, i) {
var a = (r || []).slice().length;
if (a === 0) return [];
for (var o = t.start, s = t.end, c = 1; c <= a; c++) {
@@ -92881,7 +92894,7 @@ function r9e(e, t, n, r, i) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getTicks.js
-function i9e(e, t) {
+function o9e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -92894,27 +92907,27 @@ function i9e(e, t) {
function W3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? i9e(Object(n), !0).forEach(function(t) {
- a9e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i9e(Object(n)).forEach(function(t) {
+ t % 2 ? o9e(Object(n), !0).forEach(function(t) {
+ s9e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : o9e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function a9e(e, t, n) {
- return (t = o9e(t)) in e ? Object.defineProperty(e, t, {
+function s9e(e, t, n) {
+ return (t = c9e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function o9e(e) {
- var t = s9e(e, "string");
+function c9e(e) {
+ var t = l9e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function s9e(e, t) {
+function l9e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -92924,7 +92937,7 @@ function s9e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function c9e(e, t, n, r, i) {
+function u9e(e, t, n, r, i) {
for (var a = (r || []).slice(), o = a.length, s = t.start, c = t.end, l = function(t) {
var r = a[t];
if (r == null) return 1;
@@ -92937,7 +92950,7 @@ function c9e(e, t, n, r, i) {
}, u = o - 1; u >= 0; u--) if (l(u)) continue;
return a;
}
-function l9e(e, t, n, r, i, a) {
+function d9e(e, t, n, r, i, a) {
var o = (r || []).slice(), s = o.length, c = t.start, l = t.end;
if (a) {
var u = r[s - 1];
@@ -92961,7 +92974,7 @@ function l9e(e, t, n, r, i, a) {
function G3(e, t, n) {
var r = e.tick, i = e.ticks, a = e.viewBox, o = e.minTickGap, s = e.orientation, c = e.interval, l = e.tickFormatter, u = e.unit, d = e.angle;
if (!i || !i.length || !r) return [];
- if (oJ(c) || VQ.isSsr) return t9e(i, oJ(c) ? c : 0) ?? [];
+ if (sJ(c) || VQ.isSsr) return r9e(i, sJ(c) ? c : 0) ?? [];
var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? f4(u, {
fontSize: t,
letterSpacing: n
@@ -92970,19 +92983,19 @@ function G3(e, t, n) {
height: 0
}, h = (e, r) => {
var i = typeof l == "function" ? l(e.value, r) : e.value;
- return p === "width" ? $7e(f4(i, {
+ return p === "width" ? t9e(f4(i, {
fontSize: t,
letterSpacing: n
}), m, d) : f4(i, {
fontSize: t,
letterSpacing: n
})[p];
- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? rJ(_.coordinate - g.coordinate) : 1, y = e9e(a, v, p);
- return c === "equidistantPreserveStart" ? n9e(v, y, h, i, o) : c === "equidistantPreserveEnd" ? r9e(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? l9e(v, y, h, i, o, c === "preserveStartEnd") : c9e(v, y, h, i, o), f.filter((e) => e.isShow));
+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? iJ(_.coordinate - g.coordinate) : 1, y = n9e(a, v, p);
+ return c === "equidistantPreserveStart" ? i9e(v, y, h, i, o) : c === "equidistantPreserveEnd" ? a9e(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? d9e(v, y, h, i, o, c === "preserveStartEnd") : u9e(v, y, h, i, o), f.filter((e) => e.isShow));
}
//#endregion
//#region node_modules/recharts/es6/util/YAxisUtils.js
-var u9e = (e) => {
+var f9e = (e) => {
var t = e.ticks, n = e.label, r = e.labelGapWithTick, i = r === void 0 ? 5 : r, a = e.tickSize, o = a === void 0 ? 0 : a, s = e.tickMargin, c = s === void 0 ? 0 : s, l = 0;
if (t) {
Array.from(t).forEach((e) => {
@@ -92995,7 +93008,7 @@ var u9e = (e) => {
return Math.round(f);
}
return 0;
-}, d9e = (e) => {
+}, p9e = (e) => {
var t = e.ticks, n = e.label, r = e.labelGapWithTick, i = r === void 0 ? 5 : r, a = e.tickSize, o = a === void 0 ? 0 : a, s = e.tickMargin, c = s === void 0 ? 0 : s, l = 0;
if (t) {
Array.from(t).forEach((e) => {
@@ -93008,7 +93021,7 @@ var u9e = (e) => {
return Math.round(f);
}
return 0;
-}, f9e = LZ({
+}, m9e = LZ({
name: "renderedTicks",
initialState: {
xAxis: {},
@@ -93024,7 +93037,7 @@ var u9e = (e) => {
delete e[r][i];
}
}
-}), p9e = f9e.actions, m9e = p9e.setRenderedTicks, h9e = p9e.removeRenderedTicks, g9e = f9e.reducer, _9e = [
+}), h9e = m9e.actions, g9e = h9e.setRenderedTicks, _9e = h9e.removeRenderedTicks, v9e = m9e.reducer, y9e = [
"axisLine",
"width",
"height",
@@ -93034,25 +93047,25 @@ var u9e = (e) => {
"axisType",
"axisId"
];
-function v9e(e, t) {
- return C9e(e) || S9e(e, t) || b9e(e, t) || y9e();
+function b9e(e, t) {
+ return T9e(e) || w9e(e, t) || S9e(e, t) || x9e();
}
-function y9e() {
+function x9e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function b9e(e, t) {
+function S9e(e, t) {
if (e) {
- if (typeof e == "string") return x9e(e, t);
+ if (typeof e == "string") return C9e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? x9e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? C9e(e, t) : void 0;
}
}
-function x9e(e, t) {
+function C9e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function S9e(e, t) {
+function w9e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -93073,19 +93086,19 @@ function S9e(e, t) {
return s;
}
}
-function C9e(e) {
+function T9e(e) {
if (Array.isArray(e)) return e;
}
-function w9e(e, t) {
+function E9e(e, t) {
if (e == null) return {};
- var n, r, i = T9e(e, t);
+ var n, r, i = D9e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function T9e(e, t) {
+function D9e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -93103,7 +93116,7 @@ function K3() {
return e;
}, K3.apply(null, arguments);
}
-function E9e(e, t) {
+function O9e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -93116,27 +93129,27 @@ function E9e(e, t) {
function q3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? E9e(Object(n), !0).forEach(function(t) {
- D9e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : E9e(Object(n)).forEach(function(t) {
+ t % 2 ? O9e(Object(n), !0).forEach(function(t) {
+ k9e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : O9e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function D9e(e, t, n) {
- return (t = O9e(t)) in e ? Object.defineProperty(e, t, {
+function k9e(e, t, n) {
+ return (t = A9e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function O9e(e) {
- var t = k9e(e, "string");
+function A9e(e) {
+ var t = j9e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function k9e(e, t) {
+function j9e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -93170,10 +93183,10 @@ var J3 = {
interval: "preserveEnd",
zIndex: C$.axis
};
-function A9e(e) {
+function M9e(e) {
var t = e.x, n = e.y, r = e.width, i = e.height, a = e.orientation, o = e.mirror, s = e.axisLine, c = e.otherSvgProps;
if (!s) return null;
- var l = q3(q3(q3({}, c), Vq(s)), {}, { fill: "none" });
+ var l = q3(q3(q3({}, c), Hq(s)), {}, { fill: "none" });
if (a === "top" || a === "bottom") {
var u = +(a === "top" && !o || a === "bottom" && o);
l = q3(q3({}, l), {}, {
@@ -93191,10 +93204,10 @@ function A9e(e) {
y2: n + i
});
}
- return /*#__PURE__*/ S.createElement("line", K3({}, l, { className: Lv("recharts-cartesian-axis-line", eJ(s, "className")) }));
+ return /*#__PURE__*/ S.createElement("line", K3({}, l, { className: Lv("recharts-cartesian-axis-line", tJ(s, "className")) }));
}
-function j9e(e, t, n, r, i, a, o, s, c) {
- var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = oJ(e.tickCoord) ? e.tickCoord : e.coordinate;
+function N9e(e, t, n, r, i, a, o, s, c) {
+ var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = sJ(e.tickCoord) ? e.tickCoord : e.coordinate;
switch (a) {
case "top":
l = u = e.coordinate, f = n + +!s * i, d = f - h * g, m = d - h * c, p = _;
@@ -93220,14 +93233,14 @@ function j9e(e, t, n, r, i, a, o, s, c) {
}
};
}
-function M9e(e, t) {
+function P9e(e, t) {
switch (e) {
case "left": return t ? "start" : "end";
case "right": return t ? "end" : "start";
default: return "middle";
}
}
-function N9e(e, t) {
+function F9e(e, t) {
switch (e) {
case "left":
case "right": return "middle";
@@ -93235,7 +93248,7 @@ function N9e(e, t) {
default: return t ? "end" : "start";
}
}
-function P9e(e) {
+function I9e(e) {
var t = e.option, n = e.tickProps, r = e.value, i, a = Lv(n.className, "recharts-cartesian-axis-tick-value");
if (/*#__PURE__*/ S.isValidElement(t)) i = /*#__PURE__*/ S.cloneElement(t, q3(q3({}, n), {}, { className: a }));
else if (typeof t == "function") i = t(q3(q3({}, n), {}, { className: a }));
@@ -93245,8 +93258,8 @@ function P9e(e) {
}
return i;
}
-function F9e(e) {
- var t = e.ticks, n = e.axisType, r = e.axisId, i = gX(), a = (0, S.useRef)(null);
+function L9e(e) {
+ var t = e.ticks, n = e.axisType, r = e.axisId, i = _X(), a = (0, S.useRef)(null);
return (0, S.useEffect)(() => {
if (r != null && n != null) {
var e = t.map((e) => ({
@@ -93255,11 +93268,11 @@ function F9e(e) {
offset: e.offset,
index: e.index
})), o = a.current;
- o != null && o.axisId === r && o.axisType === n && Z7e(o.ticks, e) || (a.current = {
+ o != null && o.axisId === r && o.axisType === n && $7e(o.ticks, e) || (a.current = {
ticks: e,
axisId: r,
axisType: n
- }, i(m9e({
+ }, i(g9e({
ticks: e,
axisId: r,
axisType: n
@@ -93270,8 +93283,8 @@ function F9e(e) {
t,
r,
n
- ]), (0, S.useEffect)(() => r == null || n == null ? gJ : () => {
- i(h9e({
+ ]), (0, S.useEffect)(() => r == null || n == null ? _J : () => {
+ i(_9e({
axisId: r,
axisType: n
}));
@@ -93281,15 +93294,15 @@ function F9e(e) {
n
]), null;
}
-var I9e = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
- var n = e.ticks, r = n === void 0 ? [] : n, i = e.tick, a = e.tickLine, o = e.stroke, s = e.tickFormatter, c = e.unit, l = e.padding, u = e.tickTextProps, d = e.orientation, f = e.mirror, p = e.x, m = e.y, h = e.width, g = e.height, _ = e.tickSize, v = e.tickMargin, y = e.fontSize, b = e.letterSpacing, x = e.getTicksConfig, C = e.events, w = e.axisType, T = e.axisId, E = G3(q3(q3({}, x), {}, { ticks: r }), y, b), D = Vq(x), O = Hq(i), k = R2e(D.textAnchor) ? D.textAnchor : M9e(d, f), A = N9e(d, f), j = {};
+var R9e = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+ var n = e.ticks, r = n === void 0 ? [] : n, i = e.tick, a = e.tickLine, o = e.stroke, s = e.tickFormatter, c = e.unit, l = e.padding, u = e.tickTextProps, d = e.orientation, f = e.mirror, p = e.x, m = e.y, h = e.width, g = e.height, _ = e.tickSize, v = e.tickMargin, y = e.fontSize, b = e.letterSpacing, x = e.getTicksConfig, C = e.events, w = e.axisType, T = e.axisId, E = G3(q3(q3({}, x), {}, { ticks: r }), y, b), D = Hq(x), O = Uq(i), k = B2e(D.textAnchor) ? D.textAnchor : P9e(d, f), A = F9e(d, f), j = {};
typeof a == "object" && (j = a);
- var M = q3(q3({}, D), {}, { fill: "none" }, j), N = E.map((e) => q3({ entry: e }, j9e(e, p, m, h, g, d, _, f, v))), P = N.map((e) => {
+ var M = q3(q3({}, D), {}, { fill: "none" }, j), N = E.map((e) => q3({ entry: e }, N9e(e, p, m, h, g, d, _, f, v))), P = N.map((e) => {
var t = e.entry, n = e.line;
- return /*#__PURE__*/ S.createElement(qq, {
+ return /*#__PURE__*/ S.createElement(Jq, {
className: "recharts-cartesian-axis-tick",
key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`
- }, a && /*#__PURE__*/ S.createElement("line", K3({}, M, n, { className: Lv("recharts-cartesian-axis-tick-line", eJ(a, "className")) })));
+ }, a && /*#__PURE__*/ S.createElement("line", K3({}, M, n, { className: Lv("recharts-cartesian-axis-tick-line", tJ(a, "className")) })));
}), F = N.map((e, t) => {
var n = e.entry, r = e.tick, a = q3(q3({}, q3(q3(q3(q3({ verticalAnchor: A }, D), {}, {
textAnchor: k,
@@ -93302,16 +93315,16 @@ var I9e = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
tickFormatter: s,
padding: l
}, u), {}, { angle: u?.angle ?? D.angle ?? 0 })), O);
- return /*#__PURE__*/ S.createElement(qq, K3({
+ return /*#__PURE__*/ S.createElement(Jq, K3({
className: "recharts-cartesian-axis-tick-label",
key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`
- }, xY(C, n, t)), i && /*#__PURE__*/ S.createElement(P9e, {
+ }, SY(C, n, t)), i && /*#__PURE__*/ S.createElement(I9e, {
option: i,
tickProps: a,
value: `${typeof s == "function" ? s(n.value, t) : n.value}${c || ""}`
}));
});
- return /*#__PURE__*/ S.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${w}-ticks` }, /*#__PURE__*/ S.createElement(F9e, {
+ return /*#__PURE__*/ S.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${w}-ticks` }, /*#__PURE__*/ S.createElement(L9e, {
ticks: E,
axisId: T,
axisType: w
@@ -93319,17 +93332,17 @@ var I9e = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
className: `recharts-cartesian-axis-tick-labels recharts-${w}-tick-labels`,
ref: t
}, F)), P.length > 0 && /*#__PURE__*/ S.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${w}-tick-lines` }, P));
-}), L9e = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
- var n = e.axisLine, r = e.width, i = e.height, a = e.className, o = e.hide, s = e.ticks, c = e.axisType, l = e.axisId, u = w9e(e, _9e), d = v9e((0, S.useState)(""), 2), f = d[0], p = d[1], m = v9e((0, S.useState)(""), 2), h = m[0], g = m[1], _ = (0, S.useRef)(null);
+}), z9e = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+ var n = e.axisLine, r = e.width, i = e.height, a = e.className, o = e.hide, s = e.ticks, c = e.axisType, l = e.axisId, u = E9e(e, y9e), d = b9e((0, S.useState)(""), 2), f = d[0], p = d[1], m = b9e((0, S.useState)(""), 2), h = m[0], g = m[1], _ = (0, S.useRef)(null);
(0, S.useImperativeHandle)(t, () => ({
- getCalculatedWidth: () => u9e({
+ getCalculatedWidth: () => f9e({
ticks: _.current,
label: e.labelRef?.current,
labelGapWithTick: 5,
tickSize: e.tickSize,
tickMargin: e.tickMargin
}),
- getCalculatedHeight: () => d9e({
+ getCalculatedHeight: () => p9e({
ticks: _.current,
label: e.labelRef?.current,
labelGapWithTick: 5,
@@ -93348,7 +93361,7 @@ var I9e = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
}
}
}, [f, h]);
- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ S.createElement(r4, { zIndex: e.zIndex }, /*#__PURE__*/ S.createElement(qq, { className: Lv("recharts-cartesian-axis", a) }, /*#__PURE__*/ S.createElement(A9e, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ S.createElement(r4, { zIndex: e.zIndex }, /*#__PURE__*/ S.createElement(Jq, { className: Lv("recharts-cartesian-axis", a) }, /*#__PURE__*/ S.createElement(M9e, {
x: e.x,
y: e.y,
width: r,
@@ -93356,8 +93369,8 @@ var I9e = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
orientation: e.orientation,
mirror: e.mirror,
axisLine: n,
- otherSvgProps: Vq(e)
- }), /*#__PURE__*/ S.createElement(I9e, {
+ otherSvgProps: Hq(e)
+ }), /*#__PURE__*/ S.createElement(R9e, {
ref: v,
axisType: c,
events: u,
@@ -93381,37 +93394,37 @@ var I9e = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
x: e.x,
y: e.y,
axisId: l
- }), /*#__PURE__*/ S.createElement(i4e, {
+ }), /*#__PURE__*/ S.createElement(o4e, {
x: e.x,
y: e.y,
width: e.width,
height: e.height,
lowerWidth: e.width,
upperWidth: e.width
- }, /*#__PURE__*/ S.createElement(g4e, {
+ }, /*#__PURE__*/ S.createElement(v4e, {
label: e.label,
labelRef: e.labelRef
}), e.children)));
}), Y3 = /*#__PURE__*/ S.forwardRef((e, t) => {
- var n = CY(e, J3);
- return /*#__PURE__*/ S.createElement(L9e, K3({}, n, { ref: t }));
+ var n = wY(e, J3);
+ return /*#__PURE__*/ S.createElement(z9e, K3({}, n, { ref: t }));
});
Y3.displayName = "CartesianAxis";
//#endregion
//#region node_modules/recharts/es6/theme/RechartsThemeContext.js
-var R9e = /*#__PURE__*/ (0, S.createContext)({ grid: {
+var B9e = /*#__PURE__*/ (0, S.createContext)({ grid: {
stroke: "#ccc",
fill: "none"
} });
-R9e.Provider;
-var z9e = () => (0, S.useContext)(R9e), B9e = [
+B9e.Provider;
+var V9e = () => (0, S.useContext)(B9e), H9e = [
"x1",
"y1",
"x2",
"y2",
"key"
-], V9e = ["offset"], H9e = ["xAxisId", "yAxisId"], U9e = ["xAxisId", "yAxisId"];
-function W9e(e, t) {
+], U9e = ["offset"], W9e = ["xAxisId", "yAxisId"], G9e = ["xAxisId", "yAxisId"];
+function K9e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -93424,27 +93437,27 @@ function W9e(e, t) {
function X3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? W9e(Object(n), !0).forEach(function(t) {
- G9e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : W9e(Object(n)).forEach(function(t) {
+ t % 2 ? K9e(Object(n), !0).forEach(function(t) {
+ q9e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K9e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function G9e(e, t, n) {
- return (t = K9e(t)) in e ? Object.defineProperty(e, t, {
+function q9e(e, t, n) {
+ return (t = J9e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function K9e(e) {
- var t = q9e(e, "string");
+function J9e(e) {
+ var t = Y9e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function q9e(e, t) {
+function Y9e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -93465,14 +93478,14 @@ function Z3() {
}
function Q3(e, t) {
if (e == null) return {};
- var n, r, i = J9e(e, t);
+ var n, r, i = X9e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function J9e(e, t) {
+function X9e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -93481,7 +93494,7 @@ function J9e(e, t) {
}
return n;
}
-var Y9e = (e) => {
+var Z9e = (e) => {
var t = e.fill;
if (!t || t === "none") return null;
var n = e.fillOpacity, r = e.x, i = e.y, a = e.width, o = e.height, s = e.ry;
@@ -93497,14 +93510,14 @@ var Y9e = (e) => {
className: "recharts-cartesian-grid-bg"
});
};
-function X9e(e) {
+function Q9e(e) {
var t = e.option, n = e.lineItemProps, r;
if (/*#__PURE__*/ S.isValidElement(t)) r = /*#__PURE__*/ S.cloneElement(t, n);
else if (typeof t == "function") r = t(n);
else {
- var i = n.x1, a = n.y1, o = n.x2, s = n.y2, c = n.key, l = Vq(Q3(n, B9e)) ?? {};
+ var i = n.x1, a = n.y1, o = n.x2, s = n.y2, c = n.key, l = Hq(Q3(n, H9e)) ?? {};
l.offset;
- var u = Q3(l, V9e), d = Array.isArray(u.strokeDasharray) ? u.strokeDasharray.join(",") : u.strokeDasharray;
+ var u = Q3(l, U9e), d = Array.isArray(u.strokeDasharray) ? u.strokeDasharray.join(",") : u.strokeDasharray;
r = /*#__PURE__*/ S.createElement("line", Z3({}, u, {
strokeDasharray: d,
x1: i,
@@ -93517,11 +93530,11 @@ function X9e(e) {
}
return r;
}
-function Z9e(e) {
+function $9e(e) {
var t = e.x, n = e.width, r = e.horizontal, i = r === void 0 || r, a = e.horizontalPoints;
if (!i || !a || !a.length) return null;
e.xAxisId, e.yAxisId;
- var o = Q3(e, H9e), s = a.map((e, r) => {
+ var o = Q3(e, W9e), s = a.map((e, r) => {
var a = X3(X3({}, o), {}, {
x1: t,
y1: e,
@@ -93530,7 +93543,7 @@ function Z9e(e) {
key: `line-${r}`,
index: r
});
- return /*#__PURE__*/ S.createElement(X9e, {
+ return /*#__PURE__*/ S.createElement(Q9e, {
key: `line-${r}`,
option: i,
lineItemProps: a
@@ -93538,11 +93551,11 @@ function Z9e(e) {
});
return /*#__PURE__*/ S.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, s);
}
-function Q9e(e) {
+function eet(e) {
var t = e.y, n = e.height, r = e.vertical, i = r === void 0 || r, a = e.verticalPoints;
if (!i || !a || !a.length) return null;
e.xAxisId, e.yAxisId;
- var o = Q3(e, U9e), s = a.map((e, r) => {
+ var o = Q3(e, G9e), s = a.map((e, r) => {
var a = X3(X3({}, o), {}, {
x1: e,
y1: t,
@@ -93551,7 +93564,7 @@ function Q9e(e) {
key: `line-${r}`,
index: r
});
- return /*#__PURE__*/ S.createElement(X9e, {
+ return /*#__PURE__*/ S.createElement(Q9e, {
option: i,
lineItemProps: a,
key: `line-${r}`
@@ -93559,7 +93572,7 @@ function Q9e(e) {
});
return /*#__PURE__*/ S.createElement("g", { className: "recharts-cartesian-grid-vertical" }, s);
}
-function $9e(e) {
+function tet(e) {
var t = e.horizontalFill, n = e.fillOpacity, r = e.x, i = e.y, a = e.width, o = e.height, s = e.horizontalPoints, c = e.horizontal;
if (!(c === void 0 || c) || !t || !t.length || s == null) return null;
var l = s.map((e) => Math.round(e + i - i)).sort((e, t) => e - t);
@@ -93582,7 +93595,7 @@ function $9e(e) {
});
return /*#__PURE__*/ S.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);
}
-function eet(e) {
+function net(e) {
var t = e.vertical, n = t === void 0 || t, r = e.verticalFill, i = e.fillOpacity, a = e.x, o = e.y, s = e.width, c = e.height, l = e.verticalPoints;
if (!n || !r || !r.length) return null;
var u = l.map((e) => Math.round(e + a - a)).sort((e, t) => e - t);
@@ -93605,10 +93618,10 @@ function eet(e) {
});
return /*#__PURE__*/ S.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, d);
}
-var tet = (e, t) => {
+var ret = (e, t) => {
var n = e.xAxis, r = e.width, i = e.height, a = e.offset;
- return tHe(G3(X3(X3(X3({}, J3), n), {}, {
- ticks: nHe(n, !0),
+ return rHe(G3(X3(X3(X3({}, J3), n), {}, {
+ ticks: iHe(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -93616,10 +93629,10 @@ var tet = (e, t) => {
height: i
}
})), a.left, a.left + a.width, t);
-}, net = (e, t) => {
+}, iet = (e, t) => {
var n = e.yAxis, r = e.width, i = e.height, a = e.offset;
- return tHe(G3(X3(X3(X3({}, J3), n), {}, {
- ticks: nHe(n, !0),
+ return rHe(G3(X3(X3(X3({}, J3), n), {}, {
+ ticks: iHe(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -93627,7 +93640,7 @@ var tet = (e, t) => {
height: i
}
})), a.top, a.top + a.height, t);
-}, ret = {
+}, aet = {
horizontal: !0,
vertical: !0,
horizontalPoints: [],
@@ -93639,20 +93652,20 @@ var tet = (e, t) => {
syncWithTicks: !1,
zIndex: C$.grid
};
-function iet(e) {
- var t = TQ(), n = EQ(), r = rUe(), i = X3(X3({}, CY(e, ret)), {}, {
- x: oJ(e.x) ? e.x : r.left,
- y: oJ(e.y) ? e.y : r.top,
- width: oJ(e.width) ? e.width : r.width,
- height: oJ(e.height) ? e.height : r.height
- }), a = i.xAxisId, o = i.yAxisId, s = i.x, c = i.y, l = i.width, u = i.height, d = i.syncWithTicks, f = i.horizontalValues, p = i.verticalValues, m = gQ(), h = vX((e) => qQe(e, "xAxis", a, m)), g = vX((e) => qQe(e, "yAxis", o, m)), _ = z9e(), v = {
+function oet(e) {
+ var t = TQ(), n = EQ(), r = aUe(), i = X3(X3({}, wY(e, aet)), {}, {
+ x: sJ(e.x) ? e.x : r.left,
+ y: sJ(e.y) ? e.y : r.top,
+ width: sJ(e.width) ? e.width : r.width,
+ height: sJ(e.height) ? e.height : r.height
+ }), a = i.xAxisId, o = i.yAxisId, s = i.x, c = i.y, l = i.width, u = i.height, d = i.syncWithTicks, f = i.horizontalValues, p = i.verticalValues, m = gQ(), h = yX((e) => YQe(e, "xAxis", a, m)), g = yX((e) => YQe(e, "yAxis", o, m)), _ = V9e(), v = {
stroke: i.stroke ?? _.grid.stroke,
strokeWidth: i.strokeWidth ?? _.grid.strokeWidth,
strokeOpacity: i.strokeOpacity ?? _.grid.strokeOpacity,
strokeDasharray: i.strokeDasharray ?? _.grid.strokeDasharray
};
- if (!$Z(l) || !$Z(u) || !oJ(s) || !oJ(c)) return null;
- var y = i.verticalCoordinatesGenerator || tet, b = i.horizontalCoordinatesGenerator || net, x = i.horizontalPoints, C = i.verticalPoints;
+ if (!$Z(l) || !$Z(u) || !sJ(s) || !sJ(c)) return null;
+ var y = i.verticalCoordinatesGenerator || ret, b = i.horizontalCoordinatesGenerator || iet, x = i.horizontalPoints, C = i.verticalPoints;
if ((!x || !x.length) && typeof b == "function") {
var w = f && f.length, T = b({
yAxis: g ? X3(X3({}, g), {}, { ticks: w ? f : g.ticks }) : void 0,
@@ -93671,7 +93684,7 @@ function iet(e) {
}, E ? !0 : d);
yQ(Array.isArray(D), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof D}]`), Array.isArray(D) && (C = D);
}
- return /*#__PURE__*/ S.createElement(r4, { zIndex: i.zIndex }, /*#__PURE__*/ S.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ S.createElement(Y9e, {
+ return /*#__PURE__*/ S.createElement(r4, { zIndex: i.zIndex }, /*#__PURE__*/ S.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ S.createElement(Z9e, {
fill: i.fill ?? _.grid.fill,
fillOpacity: i.fillOpacity ?? _.grid.fillOpacity,
x: i.x,
@@ -93679,22 +93692,22 @@ function iet(e) {
width: i.width,
height: i.height,
ry: i.ry
- }), /*#__PURE__*/ S.createElement($9e, Z3({}, i, { horizontalPoints: x })), /*#__PURE__*/ S.createElement(eet, Z3({}, i, { verticalPoints: C })), /*#__PURE__*/ S.createElement(Z9e, Z3({}, i, v, {
+ }), /*#__PURE__*/ S.createElement(tet, Z3({}, i, { horizontalPoints: x })), /*#__PURE__*/ S.createElement(net, Z3({}, i, { verticalPoints: C })), /*#__PURE__*/ S.createElement($9e, Z3({}, i, v, {
offset: r,
horizontalPoints: x,
xAxis: h,
yAxis: g
- })), /*#__PURE__*/ S.createElement(Q9e, Z3({}, i, v, {
+ })), /*#__PURE__*/ S.createElement(eet, Z3({}, i, v, {
offset: r,
verticalPoints: C,
xAxis: h,
yAxis: g
}))));
}
-iet.displayName = "CartesianGrid";
+oet.displayName = "CartesianGrid";
//#endregion
//#region node_modules/recharts/es6/cartesian/LineDrawShape.js
-var aet = [
+var set = [
"animationElapsedTime",
"isAnimating",
"isEntrance",
@@ -93711,16 +93724,16 @@ function $3() {
return e;
}, $3.apply(null, arguments);
}
-function oet(e, t) {
+function cet(e, t) {
if (e == null) return {};
- var n, r, i = set(e, t);
+ var n, r, i = uet(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function set(e, t) {
+function uet(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -93729,26 +93742,26 @@ function set(e, t) {
}
return n;
}
-function cet(e) {
+function det(e) {
try {
return e && e.getTotalLength && e.getTotalLength() || 0;
} catch {
return 0;
}
}
-function uet(e, t) {
+function fet(e, t) {
return `${t}px ${e}px`;
}
-function det(e) {
+function pet(e) {
return e.length % 2 == 0 ? e : [...e, ...e];
}
-function fet(e, t) {
+function met(e, t) {
for (var n = [], r = 0; r < t; ++r) n.push(...e);
return n;
}
-function pet(e, t, n) {
- var r = det(n), i = r.reduce((e, t) => e + t, 0);
- if (!i) return uet(t, e);
+function het(e, t, n) {
+ var r = pet(n), i = r.reduce((e, t) => e + t, 0);
+ if (!i) return fet(t, e);
for (var a = Math.floor(e / i), o = e % i, s = [], c = 0, l = 0; c < r.length; l += (u = r[c]) ?? 0, ++c) {
var u, d = r[c];
if (d != null && l + d > o) {
@@ -93758,20 +93771,20 @@ function pet(e, t, n) {
}
var f = s.length % 2 == 0 ? [0, t] : [t];
return [
- ...fet(r, a),
+ ...met(r, a),
...s,
...f
].map((e) => `${e}px`).join(", ");
}
-function met(e, t, n) {
- return e ? pet(n, t, `${e}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : uet(t, n);
+function get(e, t, n) {
+ return e ? het(n, t, `${e}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : fet(t, n);
}
-function het(e) {
+function _et(e) {
e.animationElapsedTime, e.isAnimating, e.isEntrance;
- var t = e.visibleLength, n = e.strokeDasharray, r = e.connectNulls, i = oet(e, aet), a = r ?? !1, o;
+ var t = e.visibleLength, n = e.strokeDasharray, r = e.connectNulls, i = cet(e, set), a = r ?? !1, o;
if (t != null) {
var s = i.pathRef;
- o = met(n, cet(s?.current ?? null), t);
+ o = get(n, det(s?.current ?? null), t);
} else n != null && (o = String(n));
return /*#__PURE__*/ S.createElement(qQ, $3({}, i, {
connectNulls: a,
@@ -93780,17 +93793,17 @@ function het(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/useAnimatedLineLength.js
-function get(e) {
+function vet(e) {
var t = (0, S.useRef)(0), n = (0, S.useRef)(0), r = (0, S.useRef)(!1), i = (0, S.useRef)(e);
return i.current !== e && (t.current = n.current, i.current = e), (0, S.useCallback)((e, i) => {
if (r.current) return null;
- var a = Math.min(tJ(t.current + e * i), i);
+ var a = Math.min(nJ(t.current + e * i), i);
return e > 0 && i > 0 && (n.current = Math.max(n.current, a), a >= i) ? (r.current = !0, null) : a;
}, []);
}
//#endregion
//#region node_modules/recharts/es6/state/errorBarSlice.js
-var _et = LZ({
+var yet = LZ({
name: "errorBars",
initialState: {},
reducers: {
@@ -93807,19 +93820,19 @@ var _et = LZ({
e[r] && (e[r] = e[r].filter((e) => e.dataKey !== i.dataKey || e.direction !== i.direction));
}
}
-}), e6 = _et.actions;
+}), e6 = yet.actions;
e6.addErrorBar, e6.replaceErrorBar, e6.removeErrorBar;
-var vet = _et.reducer, yet = ["children"];
-function bet(e, t) {
+var bet = yet.reducer, xet = ["children"];
+function Cet(e, t) {
if (e == null) return {};
- var n, r, i = xet(e, t);
+ var n, r, i = wet(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function xet(e, t) {
+function wet(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -93828,7 +93841,7 @@ function xet(e, t) {
}
return n;
}
-var Cet = /*#__PURE__*/ (0, S.createContext)({
+var Tet = /*#__PURE__*/ (0, S.createContext)({
data: [],
xAxisId: "xAxis-0",
yAxisId: "yAxis-0",
@@ -93839,14 +93852,14 @@ var Cet = /*#__PURE__*/ (0, S.createContext)({
}),
errorBarOffset: 0
});
-function wet(e) {
- var t = e.children, n = bet(e, yet);
- return /*#__PURE__*/ S.createElement(Cet.Provider, { value: n }, t);
+function Eet(e) {
+ var t = e.children, n = Cet(e, xet);
+ return /*#__PURE__*/ S.createElement(Tet.Provider, { value: n }, t);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js
function t6(e, t) {
- var n = vX((t) => V0(t, e)), r = vX((e) => U0(e, t)), i = n?.allowDataOverflow ?? B0.allowDataOverflow, a = r?.allowDataOverflow ?? H0.allowDataOverflow;
+ var n = yX((t) => V0(t, e)), r = yX((e) => U0(e, t)), i = n?.allowDataOverflow ?? B0.allowDataOverflow, a = r?.allowDataOverflow ?? H0.allowDataOverflow;
return {
needClip: i || a,
needClipX: i,
@@ -93854,7 +93867,7 @@ function t6(e, t) {
};
}
function n6(e) {
- var t = e.xAxisId, n = e.yAxisId, r = e.clipPathId, i = v3(), a = t6(t, n), o = a.needClipX, s = a.needClipY, c = a.needClip, l = vX((e) => kQe(e, t, !1)), u = vX((e) => AQe(e, n, !1));
+ var t = e.xAxisId, n = e.yAxisId, r = e.clipPathId, i = v3(), a = t6(t, n), o = a.needClipX, s = a.needClipY, c = a.needClip, l = yX((e) => jQe(e, t, !1)), u = yX((e) => MQe(e, n, !1));
if (!c || !i) return null;
var d = i.x, f = i.y, p = i.width, m = i.height, h = o && l ? Math.min(l[0], l[1]) : d - p / 2, g = s && u ? Math.min(u[0], u[1]) : f - m / 2, _ = o && l ? Math.abs(l[1] - l[0]) : p * 2, v = s && u ? Math.abs(u[1] - u[0]) : m * 2;
return /*#__PURE__*/ S.createElement("clipPath", { id: `clipPath-${r}` }, /*#__PURE__*/ S.createElement("rect", {
@@ -93866,30 +93879,30 @@ function n6(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/lineSelectors.js
-var Tet = (e, t, n, r) => A2(e, "xAxis", t, r), Eet = (e, t, n, r) => k2(e, "xAxis", t, r), Det = (e, t, n, r) => A2(e, "yAxis", n, r), Oet = (e, t, n, r) => k2(e, "yAxis", n, r), ket = Y([
+var Det = (e, t, n, r) => A2(e, "xAxis", t, r), Oet = (e, t, n, r) => k2(e, "xAxis", t, r), ket = (e, t, n, r) => A2(e, "yAxis", n, r), Aet = (e, t, n, r) => k2(e, "yAxis", n, r), jet = Y([
DQ,
- Tet,
Det,
- Eet,
- Oet
-], (e, t, n, r, i) => nQ(e, "xAxis") ? oQ(t, r, !1) : oQ(n, i, !1)), Aet = (e, t, n, r, i) => i;
-function jet(e) {
+ ket,
+ Oet,
+ Aet
+], (e, t, n, r, i) => nQ(e, "xAxis") ? oQ(t, r, !1) : oQ(n, i, !1)), Met = (e, t, n, r, i) => i;
+function Net(e) {
return e.type === "line";
}
-var Met = Y([
+var Pet = Y([
DQ,
- Tet,
Det,
- Eet,
- Oet,
- Y([J0, Aet], (e, t) => e.filter(jet).find((e) => e.id === t)),
ket,
+ Oet,
+ Aet,
+ Y([J0, Met], (e, t) => e.filter(Net).find((e) => e.id === t)),
+ jet,
u$
], (e, t, n, r, i, a, o, s) => {
var c = s.chartData, l = s.dataStartIndex, u = s.dataEndIndex;
if (!(a == null || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || o == null || e !== "horizontal" && e !== "vertical")) {
var d = a.dataKey, f = a.data, p = f != null && f.length > 0 ? f : c?.slice(l, u + 1);
- if (p != null) return ett({
+ if (p != null) return ntt({
layout: e,
xAxis: t,
yAxis: n,
@@ -93903,8 +93916,8 @@ var Met = Y([
});
//#endregion
//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js
-function Net(e) {
- var t = Hq(e), n = 3, r = 2;
+function Fet(e) {
+ var t = Uq(e), n = 3, r = 2;
if (t != null) {
var i = t.r, a = t.strokeWidth, o = Number(i), s = Number(a);
return (Number.isNaN(o) || o < 0) && (o = n), (Number.isNaN(s) || s < 0) && (s = r), {
@@ -93919,14 +93932,14 @@ function Net(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Line.js
-var Pet = ["id"], Fet = [
+var Iet = ["id"], Let = [
"type",
"layout",
"connectNulls",
"needClip",
"shape",
"strokeDasharray"
-], Iet = [
+], Ret = [
"activeDot",
"animateNewValues",
"animationBegin",
@@ -93953,14 +93966,14 @@ function r6() {
}
function i6(e, t) {
if (e == null) return {};
- var n, r, i = Let(e, t);
+ var n, r, i = zet(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Let(e, t) {
+function zet(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -93969,7 +93982,7 @@ function Let(e, t) {
}
return n;
}
-function Ret(e, t) {
+function Bet(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -93982,27 +93995,27 @@ function Ret(e, t) {
function a6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Ret(Object(n), !0).forEach(function(t) {
- zet(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ret(Object(n)).forEach(function(t) {
+ t % 2 ? Bet(Object(n), !0).forEach(function(t) {
+ Vet(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Bet(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function zet(e, t, n) {
- return (t = Bet(t)) in e ? Object.defineProperty(e, t, {
+function Vet(e, t, n) {
+ return (t = Het(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Bet(e) {
- var t = Vet(e, "string");
+function Het(e) {
+ var t = Uet(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Vet(e, t) {
+function Uet(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -94012,14 +94025,14 @@ function Vet(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Het(e) {
+function Wet(e) {
try {
return e && e.getTotalLength && e.getTotalLength() || 0;
} catch {
return 0;
}
}
-function Uet(e) {
+function Get(e) {
var t = 0, n = 0;
for (var r of e) r.status === "matched" && r.prev.x != null && r.next.x != null && (t += r.next.x - r.prev.x, n++);
return n > 0 ? t / n : 0;
@@ -94033,23 +94046,23 @@ var o6 = {
animationInterpolateFn: (e, t) => {
if (e == null) return [];
if (t === 1) return e.flatMap((e) => e.status === "removed" ? [] : [e.next]);
- var n = Uet(e), r = [];
+ var n = Get(e), r = [];
for (var i of e) if (i.status === "matched") r.push(a6(a6({}, i.next), {}, {
- x: dJ(i.prev.x, i.next.x, t),
- y: dJ(i.prev.y, i.next.y, t)
+ x: fJ(i.prev.x, i.next.x, t),
+ y: fJ(i.prev.y, i.next.y, t)
}));
else if (i.status === "added") {
if (i.next.x != null) {
var a = i.next.x - n;
r.push(a6(a6({}, i.next), {}, {
- x: dJ(a, i.next.x, t),
+ x: fJ(a, i.next.x, t),
y: i.next.y
}));
} else r.push(i.next);
} else if (i.status === "removed" && i.prev.x != null) {
var o = i.prev.x + n;
r.push(a6(a6({}, i.prev), {}, {
- x: dJ(i.prev.x, o, t),
+ x: fJ(i.prev.x, o, t),
y: i.prev.y
}));
}
@@ -94063,14 +94076,14 @@ var o6 = {
isAnimationActive: "auto",
label: !1,
legendType: "line",
- shape: het,
+ shape: _et,
stroke: "#3182bd",
strokeWidth: 1,
xAxisId: 0,
yAxisId: 0,
zIndex: C$.line,
type: "linear"
-}, Wet = (e) => {
+}, Ket = (e) => {
var t = e.dataKey, n = e.name, r = e.stroke, i = e.legendType;
return [{
inactive: e.hide,
@@ -94080,10 +94093,10 @@ var o6 = {
value: sQ(n, t),
payload: e
}];
-}, Get = /*#__PURE__*/ S.memo((e) => {
+}, qet = /*#__PURE__*/ S.memo((e) => {
var t = e.dataKey, n = e.data, r = e.stroke, i = e.strokeWidth, a = e.fill, o = e.name, s = e.hide, c = e.unit, l = e.formatter, u = e.tooltipType, d = e.id, f = {
dataDefinedOnItem: n,
- getPosition: gJ,
+ getPosition: _J,
settings: {
stroke: r,
strokeWidth: i,
@@ -94101,10 +94114,10 @@ var o6 = {
};
return /*#__PURE__*/ S.createElement(n3, { tooltipEntrySettings: f });
});
-function Ket(e) {
+function Jet(e) {
var t = e.clipPathId, n = e.points, r = e.props, i = r.dot, a = r.dataKey, o = r.needClip;
r.id;
- var s = Vq(i6(r, Pet));
+ var s = Hq(i6(r, Iet));
return /*#__PURE__*/ S.createElement(h3, {
points: n,
dot: i,
@@ -94116,7 +94129,7 @@ function Ket(e) {
clipPathId: t
});
}
-function qet(e) {
+function Yet(e) {
var t = e.showLabels, n = e.children, r = e.points, i = (0, S.useMemo)(() => r?.map((e) => {
var t = {
x: e.x ?? 0,
@@ -94136,8 +94149,8 @@ function qet(e) {
}), [r]);
return /*#__PURE__*/ S.createElement(T4, { value: t ? i : void 0 }, n);
}
-function Jet(e) {
- var t = e.clipPathId, n = e.pathRef, r = e.points, i = e.props, a = e.animationElapsedTime, o = e.isAnimating, s = e.isEntrance, c = e.visibleLength, l = i.type, u = i.layout, d = i.connectNulls, f = i.needClip, p = i.shape, m = i.strokeDasharray, h = a6(a6({}, Uq(i6(i, Fet))), {}, {
+function Xet(e) {
+ var t = e.clipPathId, n = e.pathRef, r = e.points, i = e.props, a = e.animationElapsedTime, o = e.isAnimating, s = e.isEntrance, c = e.visibleLength, l = i.type, u = i.layout, d = i.connectNulls, f = i.needClip, p = i.shape, m = i.strokeDasharray, h = a6(a6({}, Wq(i6(i, Let))), {}, {
fill: "none",
className: "recharts-line-curve",
clipPath: f ? `url(#clipPath-${t})` : void 0,
@@ -94156,15 +94169,15 @@ function Jet(e) {
option: p,
DefaultShape: o6.shape,
shapeProps: h
- }), /*#__PURE__*/ S.createElement(Ket, {
+ }), /*#__PURE__*/ S.createElement(Jet, {
points: r,
clipPathId: t,
props: i
}));
}
-function Yet(e) {
- var t = e.clipPathId, n = e.props, r = e.pathRef, i = e.previousPointsRef, a = n.points, o = n.isAnimationActive, s = n.animationBegin, c = n.animationDuration, l = n.animationEasing, u = n.animationMatchBy, d = n.animationInterpolateFn, f = n.layout, p = Het(r.current), m = c3(n.onAnimationStart, n.onAnimationEnd), h = m.isAnimating, g = m.handleAnimationStart, _ = m.handleAnimationEnd, v = !h, y = get(a), b = (0, S.useCallback)((e) => e > 0 && p > 0, [p]);
- return /*#__PURE__*/ S.createElement(qet, {
+function Zet(e) {
+ var t = e.clipPathId, n = e.props, r = e.pathRef, i = e.previousPointsRef, a = n.points, o = n.isAnimationActive, s = n.animationBegin, c = n.animationDuration, l = n.animationEasing, u = n.animationMatchBy, d = n.animationInterpolateFn, f = n.layout, p = Wet(r.current), m = c3(n.onAnimationStart, n.onAnimationEnd), h = m.isAnimating, g = m.handleAnimationStart, _ = m.handleAnimationEnd, v = !h, y = vet(a), b = (0, S.useCallback)((e) => e > 0 && p > 0, [p]);
+ return /*#__PURE__*/ S.createElement(Yet, {
points: a,
showLabels: v
}, n.children, /*#__PURE__*/ S.createElement(l3, {
@@ -94184,7 +94197,7 @@ function Yet(e) {
layout: f
}, (e, i, a) => {
var o = h || i < 1, s = o ? y(i, p) : null;
- return /*#__PURE__*/ S.createElement(Jet, {
+ return /*#__PURE__*/ S.createElement(Xet, {
props: n,
points: e,
clipPathId: t,
@@ -94196,26 +94209,26 @@ function Yet(e) {
});
}), /*#__PURE__*/ S.createElement(D4, { label: n.label }));
}
-function Xet(e) {
+function Qet(e) {
var t = e.clipPathId, n = e.props, r = (0, S.useRef)(null), i = (0, S.useRef)(null);
- return /*#__PURE__*/ S.createElement(Yet, {
+ return /*#__PURE__*/ S.createElement(Zet, {
props: n,
clipPathId: t,
previousPointsRef: r,
pathRef: i
});
}
-var Zet = (e, t) => ({
+var $et = (e, t) => ({
x: e.x ?? void 0,
y: e.y ?? void 0,
value: e.value,
errorVal: tQ(e.payload, t)
-}), Qet = class extends S.Component {
+}), ett = class extends S.Component {
render() {
var e = this.props, t = e.hide, n = e.dot, r = e.points, i = e.className, a = e.xAxisId, o = e.yAxisId, s = e.top, c = e.left, l = e.width, u = e.height, d = e.id, f = e.needClip, p = e.zIndex;
if (t) return null;
- var m = Lv("recharts-line", i), h = d, g = Net(n), _ = g.r, v = g.strokeWidth, y = Z4(n), b = _ * 2 + v, x = f ? `url(#clipPath-${y ? "" : "dots-"}${h})` : void 0;
- return /*#__PURE__*/ S.createElement(r4, { zIndex: p }, /*#__PURE__*/ S.createElement(qq, { className: m }, f && /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement(n6, {
+ var m = Lv("recharts-line", i), h = d, g = Fet(n), _ = g.r, v = g.strokeWidth, y = Z4(n), b = _ * 2 + v, x = f ? `url(#clipPath-${y ? "" : "dots-"}${h})` : void 0;
+ return /*#__PURE__*/ S.createElement(r4, { zIndex: p }, /*#__PURE__*/ S.createElement(Jq, { className: m }, f && /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement(n6, {
clipPathId: h,
xAxisId: a,
yAxisId: o
@@ -94224,13 +94237,13 @@ var Zet = (e, t) => ({
y: s - b / 2,
width: l + b,
height: u + b
- }))), /*#__PURE__*/ S.createElement(wet, {
+ }))), /*#__PURE__*/ S.createElement(Eet, {
xAxisId: a,
yAxisId: o,
data: r,
- dataPointFormatter: Zet,
+ dataPointFormatter: $et,
errorBarOffset: 0
- }, /*#__PURE__*/ S.createElement(Xet, {
+ }, /*#__PURE__*/ S.createElement(Qet, {
props: this.props,
clipPathId: h
}))), /*#__PURE__*/ S.createElement(b3, {
@@ -94242,11 +94255,11 @@ var Zet = (e, t) => ({
}));
}
};
-function $et(e) {
- var t = CY(e, o6), n = t.activeDot, r = t.animateNewValues, i = t.animationBegin, a = t.animationDuration, o = t.animationEasing, s = t.connectNulls, c = t.dot, l = t.hide, u = t.isAnimationActive, d = t.label, f = t.legendType, p = t.xAxisId, m = t.yAxisId, h = t.id, g = i6(t, Iet), _ = t6(p, m).needClip, v = v3(), y = OQ(), b = gQ(), x = vX((e) => Met(e, p, m, b, h));
+function ttt(e) {
+ var t = wY(e, o6), n = t.activeDot, r = t.animateNewValues, i = t.animationBegin, a = t.animationDuration, o = t.animationEasing, s = t.connectNulls, c = t.dot, l = t.hide, u = t.isAnimationActive, d = t.label, f = t.legendType, p = t.xAxisId, m = t.yAxisId, h = t.id, g = i6(t, Ret), _ = t6(p, m).needClip, v = v3(), y = OQ(), b = gQ(), x = yX((e) => Pet(e, p, m, b, h));
if (y !== "horizontal" && y !== "vertical" || x == null || v == null) return null;
var C = v.height, w = v.width, T = v.x, E = v.y;
- return /*#__PURE__*/ S.createElement(Qet, r6({}, g, {
+ return /*#__PURE__*/ S.createElement(ett, r6({}, g, {
id: h,
connectNulls: s,
dot: c,
@@ -94270,7 +94283,7 @@ function $et(e) {
needClip: _
}));
}
-function ett(e) {
+function ntt(e) {
var t = e.layout, n = e.xAxis, r = e.yAxis, i = e.xAxisTicks, a = e.yAxisTicks, o = e.dataKey, s = e.bandSize;
return e.displayedData.map((e, c) => {
var l = tQ(e, o);
@@ -94282,11 +94295,11 @@ function ett(e) {
entry: e,
index: c
}),
- y: (pJ(l) ? null : r.scale.map(l)) ?? null,
+ y: (mJ(l) ? null : r.scale.map(l)) ?? null,
value: l,
payload: e
};
- var u = pJ(l) ? null : n.scale.map(l), d = iQ({
+ var u = mJ(l) ? null : n.scale.map(l), d = iQ({
axis: r,
ticks: a,
bandSize: s,
@@ -94301,12 +94314,12 @@ function ett(e) {
};
}).filter(Boolean);
}
-function ttt(e) {
- var t = CY(e, o6), n = gQ();
+function rtt(e) {
+ var t = wY(e, o6), n = gQ();
return /*#__PURE__*/ S.createElement(u3, {
id: t.id,
type: "line"
- }, (e) => /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(r3, { legendPayload: Wet(t) }), /*#__PURE__*/ S.createElement(Get, {
+ }, (e) => /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(r3, { legendPayload: Ket(t) }), /*#__PURE__*/ S.createElement(qet, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -94328,10 +94341,10 @@ function ttt(e) {
dataKey: t.dataKey,
hide: t.hide,
isPanorama: n
- }), /*#__PURE__*/ S.createElement($et, r6({}, t, { id: e }))));
+ }), /*#__PURE__*/ S.createElement(ttt, r6({}, t, { id: e }))));
}
-var ntt = /*#__PURE__*/ S.memo(ttt, PQ);
-ntt.displayName = "Line";
+var itt = /*#__PURE__*/ S.memo(rtt, PQ);
+itt.displayName = "Line";
//#endregion
//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js
function s6(e, t) {
@@ -94342,19 +94355,19 @@ function c6(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/areaSelectors.js
-var rtt = (e, t, n) => A2(e, "xAxis", s6(e, t), n), itt = (e, t, n) => k2(e, "xAxis", s6(e, t), n), att = (e, t, n) => A2(e, "yAxis", c6(e, t), n), ott = (e, t, n) => k2(e, "yAxis", c6(e, t), n), stt = Y([
+var att = (e, t, n) => A2(e, "xAxis", s6(e, t), n), ott = (e, t, n) => k2(e, "xAxis", s6(e, t), n), stt = (e, t, n) => A2(e, "yAxis", c6(e, t), n), ctt = (e, t, n) => k2(e, "yAxis", c6(e, t), n), ltt = Y([
DQ,
- rtt,
att,
- itt,
- ott
-], (e, t, n, r, i) => nQ(e, "xAxis") ? oQ(t, r, !1) : oQ(n, i, !1)), l6 = Y([J0, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), ctt = (e) => nQ(DQ(e), "xAxis") ? "yAxis" : "xAxis", ltt = (e, t) => ctt(e) === "yAxis" ? c6(e, t) : s6(e, t), utt = (e, t, n) => o2(e, ctt(e), ltt(e, t), n), dtt = Y([
+ stt,
+ ott,
+ ctt
+], (e, t, n, r, i) => nQ(e, "xAxis") ? oQ(t, r, !1) : oQ(n, i, !1)), l6 = Y([J0, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), utt = (e) => nQ(DQ(e), "xAxis") ? "yAxis" : "xAxis", dtt = (e, t) => utt(e) === "yAxis" ? c6(e, t) : s6(e, t), ftt = (e, t, n) => o2(e, utt(e), dtt(e, t), n), ptt = Y([
DQ,
- rtt,
att,
- itt,
+ stt,
ott,
- Y([l6, utt], (e, t) => {
+ ctt,
+ Y([l6, ftt], (e, t) => {
if (e != null && t != null) {
var n = e.stackId, r = I$(e);
if (n != null && r != null) {
@@ -94363,21 +94376,21 @@ var rtt = (e, t, n) => A2(e, "xAxis", s6(e, t), n), itt = (e, t, n) => k2(e, "xA
}
}
}),
- WKe,
- stt,
+ KKe,
+ ltt,
l6,
- vqe,
- Y([l6, utt], (e, t) => {
+ bqe,
+ Y([l6, ftt], (e, t) => {
if (e != null && e.stackId != null && t != null) {
var n = t[e.stackId];
- if (n != null) return n.graphicalItems.map((e) => e.dataKey).filter(hJ);
+ if (n != null) return n.graphicalItems.map((e) => e.dataKey).filter(gJ);
}
})
], (e, t, n, r, i, a, o, s, c, l, u) => {
var d = o.chartData, f = o.dataStartIndex, p = o.dataEndIndex;
if (!(c == null || e !== "horizontal" && e !== "vertical" || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || s == null)) {
var m = c.data, h = m && m.length > 0 ? m : d?.slice(f, p + 1);
- if (h != null) return Btt({
+ if (h != null) return Htt({
layout: e,
xAxis: t,
yAxis: n,
@@ -94392,7 +94405,7 @@ var rtt = (e, t, n) => A2(e, "xAxis", s6(e, t), n), itt = (e, t, n) => k2(e, "xA
stackDataKeys: u
});
}
-}), ftt = [
+}), mtt = [
"animationElapsedTime",
"isAnimating",
"isEntrance",
@@ -94400,7 +94413,7 @@ var rtt = (e, t, n) => A2(e, "xAxis", s6(e, t), n), itt = (e, t, n) => k2(e, "xA
"isRange",
"stroke",
"connectNulls"
-], ptt = ["id", "baseLine"];
+], htt = ["id", "baseLine"];
function u6() {
return u6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -94410,16 +94423,16 @@ function u6() {
return e;
}, u6.apply(null, arguments);
}
-function mtt(e, t) {
+function gtt(e, t) {
if (e == null) return {};
- var n, r, i = htt(e, t);
+ var n, r, i = _tt(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function htt(e, t) {
+function _tt(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -94428,44 +94441,44 @@ function htt(e, t) {
}
return n;
}
-function gtt(e) {
+function vtt(e) {
var t = e.alpha, n = e.baseLine, r = e.points, i = e.strokeWidth, a = r[0]?.x, o = r[r.length - 1]?.x;
if (!QZ(a) || !QZ(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));
- return oJ(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), oJ(c) ? /*#__PURE__*/ S.createElement("rect", {
+ return sJ(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), sJ(c) ? /*#__PURE__*/ S.createElement("rect", {
x: a < o ? a : a - s,
y: 0,
width: s,
height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))
}) : null;
}
-function _tt(e) {
+function ytt(e) {
var t = e.alpha, n = e.baseLine, r = e.points, i = e.strokeWidth, a = r[0]?.y, o = r[r.length - 1]?.y;
if (!QZ(a) || !QZ(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));
- return oJ(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), oJ(c) ? /*#__PURE__*/ S.createElement("rect", {
+ return sJ(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), sJ(c) ? /*#__PURE__*/ S.createElement("rect", {
x: 0,
y: a < o ? a : a - s,
width: c + (i ? parseInt(`${i}`, 10) : 1),
height: Math.floor(s)
}) : null;
}
-function vtt(e) {
+function btt(e) {
var t = e.alpha, n = e.layout, r = e.points, i = e.baseLine, a = e.strokeWidth;
- return n === "vertical" ? /*#__PURE__*/ S.createElement(_tt, {
+ return n === "vertical" ? /*#__PURE__*/ S.createElement(ytt, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
- }) : /*#__PURE__*/ S.createElement(gtt, {
+ }) : /*#__PURE__*/ S.createElement(vtt, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
});
}
-function ytt(e) {
- var t = e.animationElapsedTime, n = t === void 0 ? 1 : t, r = e.isAnimating, i = r !== void 0 && r, a = e.isEntrance, o = a !== void 0 && a, s = e.layout, c = e.isRange, l = e.stroke, u = e.connectNulls, d = mtt(e, ftt), f = s === "vertical" ? "vertical" : "horizontal", p = u ?? !1, m = R6e(), h = d.id, g = d.baseLine, _ = Vq(mtt(d, ptt)), v = /*#__PURE__*/ S.createElement(qQ, u6({}, d, {
+function xtt(e) {
+ var t = e.animationElapsedTime, n = t === void 0 ? 1 : t, r = e.isAnimating, i = r !== void 0 && r, a = e.isEntrance, o = a !== void 0 && a, s = e.layout, c = e.isRange, l = e.stroke, u = e.connectNulls, d = gtt(e, mtt), f = s === "vertical" ? "vertical" : "horizontal", p = u ?? !1, m = B6e(), h = d.id, g = d.baseLine, _ = Hq(gtt(d, htt)), v = /*#__PURE__*/ S.createElement(qQ, u6({}, d, {
id: h,
baseLine: g,
connectNulls: p,
@@ -94489,17 +94502,17 @@ function ytt(e) {
stroke: l,
points: g
}));
- return o && (i || n < 1) ? /*#__PURE__*/ S.createElement(qq, null, /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement("clipPath", { id: m }, /*#__PURE__*/ S.createElement(vtt, {
+ return o && (i || n < 1) ? /*#__PURE__*/ S.createElement(Jq, null, /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement("clipPath", { id: m }, /*#__PURE__*/ S.createElement(btt, {
alpha: n,
points: d.points ?? [],
baseLine: g,
layout: f,
strokeWidth: d.strokeWidth
- }))), /*#__PURE__*/ S.createElement(qq, { clipPath: `url(#${m})` }, v, y, b)) : /*#__PURE__*/ S.createElement(S.Fragment, null, v, y, b);
+ }))), /*#__PURE__*/ S.createElement(Jq, { clipPath: `url(#${m})` }, v, y, b)) : /*#__PURE__*/ S.createElement(S.Fragment, null, v, y, b);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Area.js
-var btt = ["id"], xtt = [
+var Stt = ["id"], Ctt = [
"activeDot",
"animationBegin",
"animationDuration",
@@ -94524,16 +94537,16 @@ function d6() {
return e;
}, d6.apply(null, arguments);
}
-function Stt(e, t) {
+function wtt(e, t) {
if (e == null) return {};
- var n, r, i = Ctt(e, t);
+ var n, r, i = Ttt(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Ctt(e, t) {
+function Ttt(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -94542,7 +94555,7 @@ function Ctt(e, t) {
}
return n;
}
-function wtt(e, t) {
+function Ett(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -94555,27 +94568,27 @@ function wtt(e, t) {
function f6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? wtt(Object(n), !0).forEach(function(t) {
- Ttt(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wtt(Object(n)).forEach(function(t) {
+ t % 2 ? Ett(Object(n), !0).forEach(function(t) {
+ Dtt(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ett(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Ttt(e, t, n) {
- return (t = Ett(t)) in e ? Object.defineProperty(e, t, {
+function Dtt(e, t, n) {
+ return (t = Ott(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Ett(e) {
- var t = Dtt(e, "string");
+function Ott(e) {
+ var t = ktt(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Dtt(e, t) {
+function ktt(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -94585,15 +94598,15 @@ function Dtt(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Ott = {
+var Att = {
activeDot: !0,
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease",
animationMatchBy: i3,
animationInterpolateFn: (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "matched" ? [f6(f6({}, e.next), {}, {
- x: dJ(e.prev.x, e.next.x, t),
- y: dJ(e.prev.y, e.next.y, t)
+ x: fJ(e.prev.x, e.next.x, t),
+ y: fJ(e.prev.y, e.next.y, t)
})] : e.status === "added" ? [e.next] : []),
connectNulls: !1,
dot: !1,
@@ -94606,7 +94619,7 @@ var Ott = {
strokeWidth: 1,
type: "linear",
label: !1,
- shape: ytt,
+ shape: xtt,
xAxisId: 0,
yAxisId: 0,
zIndex: C$.area
@@ -94614,7 +94627,7 @@ var Ott = {
function p6(e, t) {
return e && e !== "none" ? e : t;
}
-var ktt = (e) => {
+var jtt = (e) => {
var t = e.dataKey, n = e.name, r = e.stroke, i = e.fill, a = e.legendType;
return [{
inactive: e.hide,
@@ -94624,10 +94637,10 @@ var ktt = (e) => {
value: sQ(n, t),
payload: e
}];
-}, Att = /*#__PURE__*/ S.memo((e) => {
+}, Mtt = /*#__PURE__*/ S.memo((e) => {
var t = e.dataKey, n = e.data, r = e.stroke, i = e.strokeWidth, a = e.fill, o = e.name, s = e.hide, c = e.unit, l = e.formatter, u = e.tooltipType, d = e.id, f = {
dataDefinedOnItem: n,
- getPosition: gJ,
+ getPosition: _J,
settings: {
stroke: r,
strokeWidth: i,
@@ -94645,8 +94658,8 @@ var ktt = (e) => {
};
return /*#__PURE__*/ S.createElement(n3, { tooltipEntrySettings: f });
});
-function jtt(e) {
- var t = e.clipPathId, n = e.points, r = e.props, i = r.needClip, a = r.dot, o = r.dataKey, s = Vq(r);
+function Ntt(e) {
+ var t = e.clipPathId, n = e.points, r = e.props, i = r.needClip, a = r.dot, o = r.dataKey, s = Hq(r);
return /*#__PURE__*/ S.createElement(h3, {
points: n,
dot: a,
@@ -94658,7 +94671,7 @@ function jtt(e) {
clipPathId: t
});
}
-function Mtt(e) {
+function Ptt(e) {
var t = e.showLabels, n = e.children, r = e.points.map((e) => {
var t = {
x: e.x ?? 0,
@@ -94678,8 +94691,8 @@ function Mtt(e) {
});
return /*#__PURE__*/ S.createElement(T4, { value: t ? r : void 0 }, n);
}
-function Ntt(e) {
- var t = e.points, n = e.baseLine, r = e.needClip, i = e.clipPathId, a = e.props, o = e.animationElapsedTime, s = e.isAnimating, c = e.isEntrance, l = a.layout, u = a.type, d = a.stroke, f = a.connectNulls, p = a.isRange, m = a.shape, h = a.id, g = Stt(a, btt), _ = f6(f6({}, Uq(g)), {}, {
+function Ftt(e) {
+ var t = e.points, n = e.baseLine, r = e.needClip, i = e.clipPathId, a = e.props, o = e.animationElapsedTime, s = e.isAnimating, c = e.isEntrance, l = a.layout, u = a.type, d = a.stroke, f = a.connectNulls, p = a.isRange, m = a.shape, h = a.id, g = wtt(a, Stt), _ = f6(f6({}, Wq(g)), {}, {
id: h,
points: t,
connectNulls: f,
@@ -94692,20 +94705,20 @@ function Ntt(e) {
isAnimating: s,
isEntrance: c
});
- return /*#__PURE__*/ S.createElement(S.Fragment, null, t?.length > 1 && /*#__PURE__*/ S.createElement(qq, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ S.createElement(Q4, {
+ return /*#__PURE__*/ S.createElement(S.Fragment, null, t?.length > 1 && /*#__PURE__*/ S.createElement(Jq, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ S.createElement(Q4, {
option: m,
- DefaultShape: Ott.shape,
+ DefaultShape: Att.shape,
shapeProps: _
- })), /*#__PURE__*/ S.createElement(jtt, {
+ })), /*#__PURE__*/ S.createElement(Ntt, {
points: t,
props: g,
clipPathId: i
}));
}
-function Ptt(e, t, n) {
- return oJ(e) ? dJ(oJ(t) ? t : void 0, e, n) : pJ(e) || iJ(e) ? dJ(oJ(t) ? t : void 0, 0, n) : e;
+function Itt(e, t, n) {
+ return sJ(e) ? fJ(sJ(t) ? t : void 0, e, n) : mJ(e) || aJ(e) ? fJ(sJ(t) ? t : void 0, 0, n) : e;
}
-function Ftt(e) {
+function Ltt(e) {
var t = e.needClip, n = e.clipPathId, r = e.props, i = e.previousPointsRef, a = e.previousBaselineRef, o = r.points, s = r.baseLine, c = r.isAnimationActive, l = r.animationBegin, u = r.animationDuration, d = r.animationEasing, f = r.animationMatchBy, p = r.animationInterpolateFn, m = (0, S.useMemo)(() => ({
points: o,
baseLine: s
@@ -94727,11 +94740,11 @@ function Ftt(e) {
animationMatchBy: f,
layout: g
}, (e, i, a) => {
- var c = i === 1 ? s : Array.isArray(s) ? p(C, i, g) : a ? s : Ptt(s, x, i);
- return h.syncStepValue(c, i), /*#__PURE__*/ S.createElement(Mtt, {
+ var c = i === 1 ? s : Array.isArray(s) ? p(C, i, g) : a ? s : Itt(s, x, i);
+ return h.syncStepValue(c, i), /*#__PURE__*/ S.createElement(Ptt, {
showLabels: !v,
points: o
- }, r.children, /*#__PURE__*/ S.createElement(Ntt, {
+ }, r.children, /*#__PURE__*/ S.createElement(Ftt, {
points: e,
baseLine: c,
needClip: t,
@@ -94743,9 +94756,9 @@ function Ftt(e) {
}), /*#__PURE__*/ S.createElement(D4, { label: r.label }));
});
}
-function Itt(e) {
+function Rtt(e) {
var t = e.needClip, n = e.clipPathId, r = e.props, i = (0, S.useRef)(null), a = (0, S.useRef)();
- return /*#__PURE__*/ S.createElement(Ftt, {
+ return /*#__PURE__*/ S.createElement(Ltt, {
needClip: t,
clipPathId: n,
props: r,
@@ -94753,12 +94766,12 @@ function Itt(e) {
previousBaselineRef: a
});
}
-var Ltt = class extends S.PureComponent {
+var ztt = class extends S.PureComponent {
render() {
var e = this.props, t = e.hide, n = e.dot, r = e.points, i = e.className, a = e.top, o = e.left, s = e.needClip, c = e.xAxisId, l = e.yAxisId, u = e.width, d = e.height, f = e.id, p = e.baseLine, m = e.zIndex;
if (t) return null;
- var h = Lv("recharts-area", i), g = f, _ = Net(n), v = _.r, y = _.strokeWidth, b = Z4(n), x = v * 2 + y, C = s ? `url(#clipPath-${b ? "" : "dots-"}${g})` : void 0;
- return /*#__PURE__*/ S.createElement(r4, { zIndex: m }, /*#__PURE__*/ S.createElement(qq, { className: h }, s && /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement(n6, {
+ var h = Lv("recharts-area", i), g = f, _ = Fet(n), v = _.r, y = _.strokeWidth, b = Z4(n), x = v * 2 + y, C = s ? `url(#clipPath-${b ? "" : "dots-"}${g})` : void 0;
+ return /*#__PURE__*/ S.createElement(r4, { zIndex: m }, /*#__PURE__*/ S.createElement(Jq, { className: h }, s && /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement(n6, {
clipPathId: g,
xAxisId: c,
yAxisId: l
@@ -94767,7 +94780,7 @@ var Ltt = class extends S.PureComponent {
y: a - x / 2,
width: u + x,
height: d + x
- }))), /*#__PURE__*/ S.createElement(Itt, {
+ }))), /*#__PURE__*/ S.createElement(Rtt, {
needClip: s,
clipPathId: g,
props: this.props
@@ -94786,11 +94799,11 @@ var Ltt = class extends S.PureComponent {
}));
}
};
-function Rtt(e) {
- var t = e.activeDot, n = e.animationBegin, r = e.animationDuration, i = e.animationEasing, a = e.connectNulls, o = e.dot, s = e.fill, c = e.fillOpacity, l = e.hide, u = e.isAnimationActive, d = e.legendType, f = e.stroke, p = e.xAxisId, m = e.yAxisId, h = Stt(e, xtt), g = OQ(), _ = w1e(), v = t6(p, m).needClip, y = gQ(), b = vX((t) => dtt(t, e.id, y)) ?? {}, x = b.points, C = b.isRange, w = b.baseLine, T = v3();
+function Btt(e) {
+ var t = e.activeDot, n = e.animationBegin, r = e.animationDuration, i = e.animationEasing, a = e.connectNulls, o = e.dot, s = e.fill, c = e.fillOpacity, l = e.hide, u = e.isAnimationActive, d = e.legendType, f = e.stroke, p = e.xAxisId, m = e.yAxisId, h = wtt(e, Ctt), g = OQ(), _ = E1e(), v = t6(p, m).needClip, y = gQ(), b = yX((t) => ptt(t, e.id, y)) ?? {}, x = b.points, C = b.isRange, w = b.baseLine, T = v3();
if (g !== "horizontal" && g !== "vertical" || T == null || _ !== "AreaChart" && _ !== "ComposedChart") return null;
var E = T.height, D = T.width, O = T.x, k = T.y;
- return !x || !x.length ? null : /*#__PURE__*/ S.createElement(Ltt, d6({}, h, {
+ return !x || !x.length ? null : /*#__PURE__*/ S.createElement(ztt, d6({}, h, {
activeDot: t,
animationBegin: n,
animationDuration: r,
@@ -94816,9 +94829,9 @@ function Rtt(e) {
yAxisId: m
}));
}
-var ztt = (e, t, n, r, i) => {
+var Vtt = (e, t, n, r, i) => {
var a = n ?? t;
- if (oJ(a)) return a;
+ if (sJ(a)) return a;
var o = e === "horizontal" ? i : r, s = o.scale.domain();
if (o.type === "number") {
var c = Math.max(s[0], s[1]), l = Math.min(s[0], s[1]);
@@ -94826,8 +94839,8 @@ var ztt = (e, t, n, r, i) => {
}
return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];
};
-function Btt(e) {
- var t = e.areaSettings, n = t.connectNulls, r = t.baseValue, i = t.dataKey, a = e.stackedData, o = e.layout, s = e.chartBaseValue, c = e.xAxis, l = e.yAxis, u = e.displayedData, d = e.dataStartIndex, f = e.xAxisTicks, p = e.yAxisTicks, m = e.bandSize, h = e.stackDataKeys, g = a && a.length, _ = ztt(o, s, r, c, l), v = o === "horizontal", y = !1, b = u.map((e, t) => {
+function Htt(e) {
+ var t = e.areaSettings, n = t.connectNulls, r = t.baseValue, i = t.dataKey, a = e.stackedData, o = e.layout, s = e.chartBaseValue, c = e.xAxis, l = e.yAxis, u = e.displayedData, d = e.dataStartIndex, f = e.xAxisTicks, p = e.yAxisTicks, m = e.bandSize, h = e.stackDataKeys, g = a && a.length, _ = Vtt(o, s, r, c, l), v = o === "horizontal", y = !1, b = u.map((e, t) => {
var r;
if (g) r = a[d + t];
else {
@@ -94876,12 +94889,12 @@ function Btt(e) {
isRange: y
};
}
-function Vtt(e) {
- var t = CY(e, Ott), n = gQ();
+function Utt(e) {
+ var t = wY(e, Att), n = gQ();
return /*#__PURE__*/ S.createElement(u3, {
id: t.id,
type: "area"
- }, (e) => /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(r3, { legendPayload: ktt(t) }), /*#__PURE__*/ S.createElement(Att, {
+ }, (e) => /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(r3, { legendPayload: jtt(t) }), /*#__PURE__*/ S.createElement(Mtt, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -94907,29 +94920,29 @@ function Vtt(e) {
baseValue: t.baseValue,
isPanorama: n,
connectNulls: t.connectNulls
- }), /*#__PURE__*/ S.createElement(Rtt, d6({}, t, { id: e }))));
+ }), /*#__PURE__*/ S.createElement(Btt, d6({}, t, { id: e }))));
}
-var Htt = /*#__PURE__*/ S.memo(Vtt, PQ);
-Htt.displayName = "Area";
+var Wtt = /*#__PURE__*/ S.memo(Utt, PQ);
+Wtt.displayName = "Area";
//#endregion
//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js
-var Utt = "Invariant failed";
-function Wtt(e, t) {
- if (!e) throw Error(Utt);
+var Gtt = "Invariant failed";
+function Ktt(e, t) {
+ if (!e) throw Error(Gtt);
}
//#endregion
//#region node_modules/recharts/es6/util/BarUtils.js
-var Gtt = ["option"];
-function Ktt(e, t) {
+var qtt = ["option"];
+function Jtt(e, t) {
if (e == null) return {};
- var n, r, i = qtt(e, t);
+ var n, r, i = Ytt(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function qtt(e, t) {
+function Ytt(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -94940,7 +94953,7 @@ function qtt(e, t) {
}
var m6 = $Q;
function h6(e) {
- var t = e.option, n = Ktt(e, Gtt);
+ var t = e.option, n = Jtt(e, qtt);
return /*#__PURE__*/ S.createElement(Q4, {
option: t,
DefaultShape: m6,
@@ -94949,43 +94962,43 @@ function h6(e) {
inActiveClassName: "recharts-inactive-bar"
});
}
-var Jtt = function(e) {
+var Xtt = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
return (n, r) => {
- if (oJ(e)) return e;
- var i = oJ(n) || pJ(n);
- return i ? e(n, r) : (!i && Wtt(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
+ if (sJ(e)) return e;
+ var i = sJ(n) || mJ(n);
+ return i ? e(n, r) : (!i && Ktt(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
};
-}, Ytt = (e, t, n) => n, g6 = Y([J0, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), Xtt = Y([g6], (e) => e?.maxBarSize), Ztt = (e, t, n, r) => r, Qtt = Y([
+}, Ztt = (e, t, n) => n, g6 = Y([J0, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), Qtt = Y([g6], (e) => e?.maxBarSize), $tt = (e, t, n, r) => r, ent = Y([
DQ,
J0,
s6,
c6,
- Ytt
-], (e, t, n, r, i) => t.filter((t) => e === "horizontal" ? t.xAxisId === n : t.yAxisId === r).filter((e) => e.isPanorama === i).filter((e) => e.hide === !1).filter((e) => e.type === "bar")), $tt = (e, t, n) => {
+ Ztt
+], (e, t, n, r, i) => t.filter((t) => e === "horizontal" ? t.xAxisId === n : t.yAxisId === r).filter((e) => e.isPanorama === i).filter((e) => e.hide === !1).filter((e) => e.type === "bar")), tnt = (e, t, n) => {
var r = DQ(e), i = s6(e, t), a = c6(e, t);
if (i != null && a != null) return r === "horizontal" ? o2(e, "yAxis", a, n) : o2(e, "xAxis", i, n);
-}, ent = Y([
- Qtt,
- gqe,
+}, nnt = Y([
+ ent,
+ vqe,
(e, t) => {
var n = DQ(e), r = s6(e, t), i = c6(e, t);
- if (r != null && i != null) return n === "horizontal" ? GQe(e, "xAxis", r) : GQe(e, "yAxis", i);
+ if (r != null && i != null) return n === "horizontal" ? qQe(e, "xAxis", r) : qQe(e, "yAxis", i);
}
-], x5e), tnt = (e, t, n) => {
+], C5e), rnt = (e, t, n) => {
var r = g6(e, t);
if (r == null) return 0;
var i = s6(e, t), a = c6(e, t);
if (i == null || a == null) return 0;
- var o = DQ(e), s = g$(e), c = r.maxBarSize, l = pJ(c) ? s : c, u, d;
+ var o = DQ(e), s = g$(e), c = r.maxBarSize, l = mJ(c) ? s : c, u, d;
return o === "horizontal" ? (u = A2(e, "xAxis", i, n), d = k2(e, "xAxis", i, n)) : (u = A2(e, "yAxis", a, n), d = k2(e, "yAxis", a, n)), oQ(u, d, !0) ?? l ?? 0;
-}, nnt = (e, t, n) => {
+}, int = (e, t, n) => {
var r = DQ(e), i = s6(e, t), a = c6(e, t);
if (i != null && a != null) {
var o, s;
return r === "horizontal" ? (o = A2(e, "xAxis", i, n), s = k2(e, "xAxis", i, n)) : (o = A2(e, "yAxis", a, n), s = k2(e, "yAxis", a, n)), oQ(o, s);
}
-}, rnt = Y([
+}, ant = Y([
mQ,
hQ,
(e, t, n) => {
@@ -95005,25 +95018,25 @@ var Jtt = function(e) {
if (r != null) return k2(e, "yAxis", r, n);
},
Y([Y([
- ent,
+ nnt,
g$,
- hqe,
+ _qe,
_$,
- tnt,
- nnt,
- Xtt
- ], D5e), g6], k5e),
+ rnt,
+ int,
+ Qtt
+ ], k5e), g6], j5e),
DQ,
- WKe,
- nnt,
- Y([$tt, g6], O5e),
+ KKe,
+ int,
+ Y([tnt, g6], A5e),
g6,
- Ztt
+ $tt
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var p = c.chartData, m = c.dataStartIndex, h = c.dataEndIndex;
if (!(d == null || o == null || t == null || s !== "horizontal" && s !== "vertical" || n == null || r == null || i == null || a == null || l == null)) {
var g = d.data, _ = g != null && g.length > 0 ? g : p?.slice(m, h + 1);
- if (_ != null) return Vnt({
+ if (_ != null) return Wnt({
layout: s,
barSettings: d,
pos: o,
@@ -95040,7 +95053,7 @@ var Jtt = function(e) {
dataStartIndex: m
});
}
-}), int = ["index"];
+}), ont = ["index"];
function _6() {
return _6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -95050,16 +95063,16 @@ function _6() {
return e;
}, _6.apply(null, arguments);
}
-function ant(e, t) {
+function snt(e, t) {
if (e == null) return {};
- var n, r, i = ont(e, t);
+ var n, r, i = cnt(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function ont(e, t) {
+function cnt(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -95068,54 +95081,54 @@ function ont(e, t) {
}
return n;
}
-var snt = /*#__PURE__*/ (0, S.createContext)(void 0), cnt = (e) => {
- var t = (0, S.useContext)(snt);
+var lnt = /*#__PURE__*/ (0, S.createContext)(void 0), unt = (e) => {
+ var t = (0, S.useContext)(lnt);
if (t != null) return t.stackId;
if (e != null) return rQ(e);
-}, lnt = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, unt = (e) => {
- var t = (0, S.useContext)(snt);
+}, dnt = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, fnt = (e) => {
+ var t = (0, S.useContext)(lnt);
if (t != null) {
var n = t.stackId;
- return `url(#${lnt(n, e)})`;
+ return `url(#${dnt(n, e)})`;
}
-}, dnt = (e) => {
- var t = e.index, n = ant(e, int), r = unt(t);
- return /*#__PURE__*/ S.createElement(qq, _6({
+}, pnt = (e) => {
+ var t = e.index, n = snt(e, ont), r = fnt(t);
+ return /*#__PURE__*/ S.createElement(Jq, _6({
className: "recharts-bar-stack-layer",
clipPath: r
}, n));
-}, fnt = [
+}, mnt = [
"onMouseEnter",
"onMouseLeave",
"onClick"
-], pnt = [
+], hnt = [
"value",
"background",
"tooltipPosition"
-], mnt = ["id"], hnt = [
+], gnt = ["id"], _nt = [
"onMouseEnter",
"onClick",
"onMouseLeave"
];
-function gnt(e, t) {
- return xnt(e) || bnt(e, t) || vnt(e, t) || _nt();
+function vnt(e, t) {
+ return Cnt(e) || Snt(e, t) || bnt(e, t) || ynt();
}
-function _nt() {
+function ynt() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function vnt(e, t) {
+function bnt(e, t) {
if (e) {
- if (typeof e == "string") return ynt(e, t);
+ if (typeof e == "string") return xnt(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? ynt(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? xnt(e, t) : void 0;
}
}
-function ynt(e, t) {
+function xnt(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function bnt(e, t) {
+function Snt(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -95136,7 +95149,7 @@ function bnt(e, t) {
return s;
}
}
-function xnt(e) {
+function Cnt(e) {
if (Array.isArray(e)) return e;
}
function v6() {
@@ -95148,7 +95161,7 @@ function v6() {
return e;
}, v6.apply(null, arguments);
}
-function Snt(e, t) {
+function wnt(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -95161,27 +95174,27 @@ function Snt(e, t) {
function y6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Snt(Object(n), !0).forEach(function(t) {
- Cnt(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Snt(Object(n)).forEach(function(t) {
+ t % 2 ? wnt(Object(n), !0).forEach(function(t) {
+ Tnt(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wnt(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Cnt(e, t, n) {
- return (t = wnt(t)) in e ? Object.defineProperty(e, t, {
+function Tnt(e, t, n) {
+ return (t = Ent(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function wnt(e) {
- var t = Tnt(e, "string");
+function Ent(e) {
+ var t = Dnt(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Tnt(e, t) {
+function Dnt(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -95193,14 +95206,14 @@ function Tnt(e, t) {
}
function b6(e, t) {
if (e == null) return {};
- var n, r, i = Ent(e, t);
+ var n, r, i = Ont(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Ent(e, t) {
+function Ont(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -95209,7 +95222,7 @@ function Ent(e, t) {
}
return n;
}
-var Dnt = (e) => {
+var knt = (e) => {
var t = e.dataKey, n = e.name, r = e.fill, i = e.legendType;
return [{
inactive: e.hide,
@@ -95219,10 +95232,10 @@ var Dnt = (e) => {
value: sQ(n, t),
payload: e
}];
-}, Ont = /*#__PURE__*/ S.memo((e) => {
+}, Ant = /*#__PURE__*/ S.memo((e) => {
var t = e.dataKey, n = e.stroke, r = e.strokeWidth, i = e.fill, a = e.name, o = e.hide, s = e.unit, c = e.formatter, l = e.tooltipType, u = e.id, d = {
dataDefinedOnItem: void 0,
- getPosition: gJ,
+ getPosition: _J,
settings: {
stroke: n,
strokeWidth: r,
@@ -95240,20 +95253,20 @@ var Dnt = (e) => {
};
return /*#__PURE__*/ S.createElement(n3, { tooltipEntrySettings: d });
});
-function knt(e) {
- var t = vX(J2), n = e.data, r = e.dataKey, i = e.background, a = e.allOtherBarProps, o = a.onMouseEnter, s = a.onMouseLeave, c = a.onClick, l = b6(a, fnt), u = $4(o, r, a.id), d = e3(s), f = t3(c, r, a.id);
+function jnt(e) {
+ var t = yX(J2), n = e.data, r = e.dataKey, i = e.background, a = e.allOtherBarProps, o = a.onMouseEnter, s = a.onMouseLeave, c = a.onClick, l = b6(a, mnt), u = $4(o, r, a.id), d = e3(s), f = t3(c, r, a.id);
if (!i || n == null) return null;
- var p = Hq(i);
- return /*#__PURE__*/ S.createElement(r4, { zIndex: K5e(i, C$.barBackground) }, n.map((e, n) => {
+ var p = Uq(i);
+ return /*#__PURE__*/ S.createElement(r4, { zIndex: J5e(i, C$.barBackground) }, n.map((e, n) => {
e.value;
var a = e.background;
e.tooltipPosition;
- var o = b6(e, pnt);
+ var o = b6(e, hnt);
if (!a) return null;
var s = u(e, e.originalDataIndex), c = d(e, e.originalDataIndex), m = f(e, e.originalDataIndex), h = y6(y6(y6(y6(y6({
option: i,
isActive: String(e.originalDataIndex) === t
- }, o), {}, { fill: "#eee" }, a), p), xY(l, e, n)), {}, {
+ }, o), {}, { fill: "#eee" }, a), p), SY(l, e, n)), {}, {
onMouseEnter: s,
onMouseLeave: c,
onClick: m,
@@ -95264,7 +95277,7 @@ function knt(e) {
return /*#__PURE__*/ S.createElement(h6, v6({ key: `background-bar-${n}` }, h));
}));
}
-function Ant(e) {
+function Mnt(e) {
var t = e.showLabels, n = e.children, r = e.rects?.map((e) => {
var t = {
x: e.x,
@@ -95284,8 +95297,8 @@ function Ant(e) {
});
return /*#__PURE__*/ S.createElement(T4, { value: t ? r : void 0 }, n);
}
-function jnt(e) {
- var t = e.shape, n = e.activeBar, r = e.baseProps, i = e.entry, a = e.index, o = e.dataKey, s = vX(J2), c = vX(r1e), l = n && String(i.originalDataIndex) === s && (c == null || o === c), u = s != null && (String(i.originalDataIndex) !== s || c != null && o !== c), d = gnt((0, S.useState)(!1), 2), f = d[0], p = d[1], m = gnt((0, S.useState)(!1), 2), h = m[0], g = m[1];
+function Nnt(e) {
+ var t = e.shape, n = e.activeBar, r = e.baseProps, i = e.entry, a = e.index, o = e.dataKey, s = yX(J2), c = yX(a1e), l = n && String(i.originalDataIndex) === s && (c == null || o === c), u = s != null && (String(i.originalDataIndex) !== s || c != null && o !== c), d = vnt((0, S.useState)(!1), 2), f = d[0], p = d[1], m = vnt((0, S.useState)(!1), 2), h = m[0], g = m[1];
(0, S.useEffect)(() => {
var e;
return l ? (p(!0), e = requestAnimationFrame(() => {
@@ -95306,9 +95319,9 @@ function jnt(e) {
isEntrance: e.isEntrance,
onTransitionEnd: _
}));
- return y ? /*#__PURE__*/ S.createElement(r4, { zIndex: C$.activeBar }, /*#__PURE__*/ S.createElement(dnt, { index: i.originalDataIndex }, x)) : x;
+ return y ? /*#__PURE__*/ S.createElement(r4, { zIndex: C$.activeBar }, /*#__PURE__*/ S.createElement(pnt, { index: i.originalDataIndex }, x)) : x;
}
-function Mnt(e) {
+function Pnt(e) {
var t = e.shape, n = e.baseProps, r = e.entry, i = e.index, a = e.dataKey;
return /*#__PURE__*/ S.createElement(h6, v6({}, n, { name: String(n.name) }, r, {
isActive: !1,
@@ -95320,17 +95333,17 @@ function Mnt(e) {
isEntrance: e.isEntrance
}));
}
-function Nnt(e) {
- var t = e.data, n = e.props, r = e.animationElapsedTime, i = e.isAnimating, a = e.isEntrance, o = Vq(n) ?? {}, s = o.id, c = b6(o, mnt), l = n.shape, u = n.dataKey, d = n.activeBar, f = n.onMouseEnter, p = n.onClick, m = n.onMouseLeave, h = b6(n, hnt), g = $4(f, u, s), _ = e3(m), v = t3(p, u, s);
- return t ? /*#__PURE__*/ S.createElement(S.Fragment, null, t.map((e, t) => /*#__PURE__*/ S.createElement(dnt, v6({
+function Fnt(e) {
+ var t = e.data, n = e.props, r = e.animationElapsedTime, i = e.isAnimating, a = e.isEntrance, o = Hq(n) ?? {}, s = o.id, c = b6(o, gnt), l = n.shape, u = n.dataKey, d = n.activeBar, f = n.onMouseEnter, p = n.onClick, m = n.onMouseLeave, h = b6(n, _nt), g = $4(f, u, s), _ = e3(m), v = t3(p, u, s);
+ return t ? /*#__PURE__*/ S.createElement(S.Fragment, null, t.map((e, t) => /*#__PURE__*/ S.createElement(pnt, v6({
index: e.originalDataIndex,
key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,
className: "recharts-bar-rectangle"
- }, xY(h, e, t), {
+ }, SY(h, e, t), {
onMouseEnter: g(e, e.originalDataIndex),
onMouseLeave: _(e, e.originalDataIndex),
onClick: v(e, e.originalDataIndex)
- }), d ? /*#__PURE__*/ S.createElement(jnt, {
+ }), d ? /*#__PURE__*/ S.createElement(Nnt, {
shape: l,
activeBar: d,
baseProps: c,
@@ -95340,7 +95353,7 @@ function Nnt(e) {
animationElapsedTime: r,
isAnimating: i,
isEntrance: a
- }) : /*#__PURE__*/ S.createElement(Mnt, {
+ }) : /*#__PURE__*/ S.createElement(Pnt, {
shape: l,
baseProps: c,
entry: e,
@@ -95351,29 +95364,29 @@ function Nnt(e) {
isEntrance: a
})))) : null;
}
-var Pnt = (e, t, n) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => {
+var Int = (e, t, n) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => {
if (e.status === "removed") return n === "horizontal" ? [y6(y6({}, e.prev), {}, {
- height: dJ(e.prev.height, 0, t),
- y: dJ(e.prev.y, e.prev.y + e.prev.height, t)
- })] : [y6(y6({}, e.prev), {}, { width: dJ(e.prev.width, 0, t) })];
+ height: fJ(e.prev.height, 0, t),
+ y: fJ(e.prev.y, e.prev.y + e.prev.height, t)
+ })] : [y6(y6({}, e.prev), {}, { width: fJ(e.prev.width, 0, t) })];
if (e.status === "matched") return [y6(y6({}, e.next), {}, {
- x: dJ(e.prev.x, e.next.x, t),
- y: dJ(e.prev.y, e.next.y, t),
- width: dJ(e.prev.width, e.next.width, t),
- height: dJ(e.prev.height, e.next.height, t)
+ x: fJ(e.prev.x, e.next.x, t),
+ y: fJ(e.prev.y, e.next.y, t),
+ width: fJ(e.prev.width, e.next.width, t),
+ height: fJ(e.prev.height, e.next.height, t)
})];
var r = e.next;
return n === "horizontal" ? [y6(y6({}, r), {}, {
- height: dJ(0, r.height, t),
- y: dJ(r.stackedBarStart, r.y, t)
+ height: fJ(0, r.height, t),
+ y: fJ(r.stackedBarStart, r.y, t)
})] : [y6(y6({}, r), {}, {
- width: dJ(0, r.width, t),
- x: dJ(r.stackedBarStart, r.x, t)
+ width: fJ(0, r.width, t),
+ x: fJ(r.stackedBarStart, r.x, t)
})];
});
-function Fnt(e) {
+function Lnt(e) {
var t = e.props, n = e.previousRectanglesRef, r = t.data, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.animationInterpolateFn, l = t.layout, u = c3(t.onAnimationStart, t.onAnimationEnd), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd;
- return /*#__PURE__*/ S.createElement(Ant, {
+ return /*#__PURE__*/ S.createElement(Mnt, {
showLabels: !d,
rects: r
}, /*#__PURE__*/ S.createElement(l3, {
@@ -95390,7 +95403,7 @@ function Fnt(e) {
animationInterpolateFn: c,
animationMatchBy: t.animationMatchBy,
layout: l
- }, (e, n, r) => /*#__PURE__*/ S.createElement(qq, null, /*#__PURE__*/ S.createElement(Nnt, {
+ }, (e, n, r) => /*#__PURE__*/ S.createElement(Jq, null, /*#__PURE__*/ S.createElement(Fnt, {
props: t,
data: e,
animationElapsedTime: n,
@@ -95398,14 +95411,14 @@ function Fnt(e) {
isEntrance: r
}))), /*#__PURE__*/ S.createElement(D4, { label: t.label }), t.children);
}
-function Int(e) {
+function Rnt(e) {
var t = (0, S.useRef)(null);
- return /*#__PURE__*/ S.createElement(Fnt, {
+ return /*#__PURE__*/ S.createElement(Lnt, {
previousRectanglesRef: t,
props: e
});
}
-var x6 = 0, Lnt = (e, t) => {
+var znt = 0, Bnt = (e, t) => {
var n = Array.isArray(e.value) ? e.value[1] : e.value;
return {
x: e.x,
@@ -95413,57 +95426,57 @@ var x6 = 0, Lnt = (e, t) => {
value: n,
errorVal: tQ(e, t)
};
-}, Rnt = class extends S.PureComponent {
+}, Vnt = class extends S.PureComponent {
render() {
var e = this.props, t = e.hide, n = e.data, r = e.dataKey, i = e.className, a = e.xAxisId, o = e.yAxisId, s = e.needClip, c = e.background, l = e.id;
if (t || n == null) return null;
var u = Lv("recharts-bar", i), d = l;
- return /*#__PURE__*/ S.createElement(qq, {
+ return /*#__PURE__*/ S.createElement(Jq, {
className: u,
id: l
}, s && /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement(n6, {
clipPathId: d,
xAxisId: a,
yAxisId: o
- })), /*#__PURE__*/ S.createElement(qq, {
+ })), /*#__PURE__*/ S.createElement(Jq, {
className: "recharts-bar-rectangles",
clipPath: s ? `url(#clipPath-${d})` : void 0
- }, /*#__PURE__*/ S.createElement(knt, {
+ }, /*#__PURE__*/ S.createElement(jnt, {
data: n,
dataKey: r,
background: c,
allOtherBarProps: this.props
- }), /*#__PURE__*/ S.createElement(Int, this.props)));
+ }), /*#__PURE__*/ S.createElement(Rnt, this.props)));
}
-}, znt = {
+}, Hnt = {
activeBar: !1,
animationBegin: 0,
animationDuration: 400,
animationEasing: "ease",
- animationInterpolateFn: Pnt,
- animationMatchBy: x6e,
+ animationInterpolateFn: Int,
+ animationMatchBy: C6e,
background: !1,
hide: !1,
isAnimationActive: "auto",
label: !1,
legendType: "rect",
- minPointSize: x6,
+ minPointSize: znt,
shape: m6,
xAxisId: 0,
yAxisId: 0,
zIndex: C$.bar
};
-function Bnt(e) {
- var t = e.xAxisId, n = e.yAxisId, r = e.hide, i = e.legendType, a = e.minPointSize, o = e.activeBar, s = e.animationBegin, c = e.animationDuration, l = e.animationEasing, u = e.isAnimationActive, d = t6(t, n).needClip, f = OQ(), p = gQ(), m = r6e(e.children, d4), h = vX((t) => rnt(t, e.id, p, m));
+function Unt(e) {
+ var t = e.xAxisId, n = e.yAxisId, r = e.hide, i = e.legendType, a = e.minPointSize, o = e.activeBar, s = e.animationBegin, c = e.animationDuration, l = e.animationEasing, u = e.isAnimationActive, d = t6(t, n).needClip, f = OQ(), p = gQ(), m = a6e(e.children, d4), h = yX((t) => ant(t, e.id, p, m));
if (f !== "vertical" && f !== "horizontal") return null;
var g, _ = h?.[0];
- return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ S.createElement(wet, {
+ return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ S.createElement(Eet, {
xAxisId: t,
yAxisId: n,
data: h,
- dataPointFormatter: Lnt,
+ dataPointFormatter: Bnt,
errorBarOffset: g
- }, /*#__PURE__*/ S.createElement(Rnt, v6({}, e, {
+ }, /*#__PURE__*/ S.createElement(Vnt, v6({}, e, {
layout: f,
needClip: d,
data: h,
@@ -95479,16 +95492,16 @@ function Bnt(e) {
isAnimationActive: u
})));
}
-function Vnt(e) {
- var t = e.layout, n = e.barSettings, r = n.dataKey, i = n.minPointSize, a = n.hasCustomShape, o = e.pos, s = e.bandSize, c = e.xAxis, l = e.yAxis, u = e.xAxisTicks, d = e.yAxisTicks, f = e.stackedData, p = e.displayedData, m = e.offset, h = e.cells, g = e.parentViewBox, _ = e.dataStartIndex, v = t === "horizontal" ? l : c, y = f ? v.scale.domain() : null, b = oHe({ numericAxis: v }), x = v.scale.map(b);
+function Wnt(e) {
+ var t = e.layout, n = e.barSettings, r = n.dataKey, i = n.minPointSize, a = n.hasCustomShape, o = e.pos, s = e.bandSize, c = e.xAxis, l = e.yAxis, u = e.xAxisTicks, d = e.yAxisTicks, f = e.stackedData, p = e.displayedData, m = e.offset, h = e.cells, g = e.parentViewBox, _ = e.dataStartIndex, v = t === "horizontal" ? l : c, y = f ? v.scale.domain() : null, b = cHe({ numericAxis: v }), x = v.scale.map(b);
return p.map((e, n) => {
var p, v, S, C, w, T;
if (f) {
var E = f[n + _];
if (E == null) return null;
- p = rHe(E, y);
+ p = aHe(E, y);
} else p = tQ(e, r), Array.isArray(p) || (p = [b, p]);
- var D = Jtt(i, x6)(p[1], n);
+ var D = Xtt(i, znt)(p[1], n);
if (t === "horizontal") {
var O = l.scale.map(p[0]), k = l.scale.map(p[1]);
if (O == null || k == null) return null;
@@ -95501,13 +95514,13 @@ function Vnt(e) {
index: n
}), S = k ?? O ?? void 0, C = o.size;
var A = O - k;
- if (w = iJ(A) ? 0 : A, T = {
+ if (w = aJ(A) ? 0 : A, T = {
x: v,
y: m.top,
width: C,
height: m.height
}, Math.abs(D) > 0 && Math.abs(w) < Math.abs(D)) {
- var j = rJ(w || D) * (Math.abs(D) - Math.abs(w));
+ var j = iJ(w || D) * (Math.abs(D) - Math.abs(w));
S -= j, w += j;
}
} else {
@@ -95526,7 +95539,7 @@ function Vnt(e) {
width: m.width,
height: w
}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {
- var P = rJ(C || D) * (Math.abs(D) - Math.abs(C));
+ var P = iJ(C || D) * (Math.abs(D) - Math.abs(C));
C += P;
}
}
@@ -95548,12 +95561,12 @@ function Vnt(e) {
}, h && h[n] && h[n].props);
}).filter(Boolean);
}
-function Hnt(e) {
- var t = CY(e, znt), n = cnt(t.stackId), r = gQ();
+function Gnt(e) {
+ var t = wY(e, Hnt), n = unt(t.stackId), r = gQ();
return /*#__PURE__*/ S.createElement(u3, {
id: t.id,
type: "bar"
- }, (e) => /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(r3, { legendPayload: Dnt(t) }), /*#__PURE__*/ S.createElement(Ont, {
+ }, (e) => /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(r3, { legendPayload: knt(t) }), /*#__PURE__*/ S.createElement(Ant, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -95579,23 +95592,23 @@ function Hnt(e) {
maxBarSize: t.maxBarSize,
isPanorama: r,
hasCustomShape: t.shape != null && t.shape !== m6
- }), /*#__PURE__*/ S.createElement(r4, { zIndex: t.zIndex }, /*#__PURE__*/ S.createElement(Bnt, v6({}, t, { id: e })))));
+ }), /*#__PURE__*/ S.createElement(r4, { zIndex: t.zIndex }, /*#__PURE__*/ S.createElement(Unt, v6({}, t, { id: e })))));
}
-var S6 = /*#__PURE__*/ S.memo(Hnt, PQ);
-S6.displayName = "Bar";
+var x6 = /*#__PURE__*/ S.memo(Gnt, PQ);
+x6.displayName = "Bar";
//#endregion
//#region node_modules/recharts/es6/util/axisPropsAreEqual.js
-var Unt = ["domain", "range"], Wnt = ["domain", "range"];
-function Gnt(e, t) {
+var Knt = ["domain", "range"], qnt = ["domain", "range"];
+function Jnt(e, t) {
if (e == null) return {};
- var n, r, i = Knt(e, t);
+ var n, r, i = Ynt(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Knt(e, t) {
+function Ynt(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -95604,31 +95617,31 @@ function Knt(e, t) {
}
return n;
}
-function qnt(e, t) {
+function Xnt(e, t) {
return e === t ? !0 : Array.isArray(e) && e.length === 2 && Array.isArray(t) && t.length === 2 ? e[0] === t[0] && e[1] === t[1] : !1;
}
-function Jnt(e, t) {
+function Znt(e, t) {
if (e === t) return !0;
- var n = e.domain, r = e.range, i = Gnt(e, Unt), a = t.domain, o = t.range, s = Gnt(t, Wnt);
- return !qnt(n, a) || !qnt(r, o) ? !1 : PQ(i, s);
+ var n = e.domain, r = e.range, i = Jnt(e, Knt), a = t.domain, o = t.range, s = Jnt(t, qnt);
+ return !Xnt(n, a) || !Xnt(r, o) ? !1 : PQ(i, s);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/XAxis.js
-var Ynt = ["type"], Xnt = [
+var Qnt = ["type"], $nt = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], Znt = ["id", "scale"];
-function C6() {
- return C6 = Object.assign ? Object.assign.bind() : function(e) {
+], ert = ["id", "scale"];
+function S6() {
+ return S6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, C6.apply(null, arguments);
+ }, S6.apply(null, arguments);
}
-function Qnt(e, t) {
+function trt(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -95638,30 +95651,30 @@ function Qnt(e, t) {
}
return n;
}
-function $nt(e) {
+function nrt(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Qnt(Object(n), !0).forEach(function(t) {
- ert(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Qnt(Object(n)).forEach(function(t) {
+ t % 2 ? trt(Object(n), !0).forEach(function(t) {
+ rrt(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : trt(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ert(e, t, n) {
- return (t = trt(t)) in e ? Object.defineProperty(e, t, {
+function rrt(e, t, n) {
+ return (t = irt(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function trt(e) {
- var t = nrt(e, "string");
+function irt(e) {
+ var t = art(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function nrt(e, t) {
+function art(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -95671,16 +95684,16 @@ function nrt(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function w6(e, t) {
+function C6(e, t) {
if (e == null) return {};
- var n, r, i = rrt(e, t);
+ var n, r, i = ort(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function rrt(e, t) {
+function ort(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -95689,27 +95702,27 @@ function rrt(e, t) {
}
return n;
}
-function irt(e) {
- var t = gX(), n = (0, S.useRef)(null), r = kQ(), i = e.type, a = w6(e, Ynt), o = D$(r, "xAxis", i), s = (0, S.useMemo)(() => {
- if (o != null) return $nt($nt({}, a), {}, { type: o });
+function srt(e) {
+ var t = _X(), n = (0, S.useRef)(null), r = kQ(), i = e.type, a = C6(e, Qnt), o = D$(r, "xAxis", i), s = (0, S.useMemo)(() => {
+ if (o != null) return nrt(nrt({}, a), {}, { type: o });
}, [a, o]);
return (0, S.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(f8e(s)) : n.current !== s && t(p8e({
+ s != null && (n.current === null ? t(m8e(s)) : n.current !== s && t(h8e({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, S.useLayoutEffect)(() => () => {
- n.current &&= (t(m8e(n.current)), null);
+ n.current &&= (t(g8e(n.current)), null);
}, [t]), null;
}
-var art = (e) => {
- var t = e.xAxisId, n = e.className, r = e.height, i = e.label, a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = vX(hQ), c = gQ(), l = gX(), u = "xAxis", d = vX((e) => YQe(e, u, t, c)), f = vX((e) => LQe(e, t)), p = vX((e) => HQe(e, t)), m = vX((e) => FZe(e, t));
+var crt = (e) => {
+ var t = e.xAxisId, n = e.className, r = e.height, i = e.label, a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = yX(hQ), c = gQ(), l = _X(), u = "xAxis", d = yX((e) => ZQe(e, u, t, c)), f = yX((e) => zQe(e, t)), p = yX((e) => WQe(e, t)), m = yX((e) => LZe(e, t));
if ((0, S.useLayoutEffect)(() => {
if (!(r !== "auto" || !f || x4(i) || /*#__PURE__*/ (0, S.isValidElement)(i) || m == null)) {
var e = a.current;
if (e) {
var n = e.getCalculatedHeight();
- Math.round(f.height) !== Math.round(n) && l(y8e({
+ Math.round(f.height) !== Math.round(n) && l(x8e({
id: t,
height: n
}));
@@ -95725,10 +95738,10 @@ var art = (e) => {
m
]), f == null || p == null || m == null) return null;
e.dangerouslySetInnerHTML, e.ticks, e.scale;
- var h = w6(e, Xnt);
+ var h = C6(e, $nt);
m.id, m.scale;
- var g = w6(m, Znt);
- return /*#__PURE__*/ S.createElement(Y3, C6({}, h, g, {
+ var g = C6(m, ert);
+ return /*#__PURE__*/ S.createElement(Y3, S6({}, h, g, {
ref: a,
labelRef: o,
x: p.x,
@@ -95741,7 +95754,7 @@ var art = (e) => {
axisType: u,
axisId: t
}));
-}, ort = {
+}, lrt = {
allowDataOverflow: B0.allowDataOverflow,
allowDecimals: B0.allowDecimals,
allowDuplicatedCategory: B0.allowDuplicatedCategory,
@@ -95765,9 +95778,9 @@ var art = (e) => {
type: B0.type,
niceTicks: B0.niceTicks,
xAxisId: 0
-}, srt = /*#__PURE__*/ S.memo((e) => {
- var t = CY(e, ort);
- return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(irt, {
+}, urt = /*#__PURE__*/ S.memo((e) => {
+ var t = wY(e, lrt);
+ return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(srt, {
allowDataOverflow: t.allowDataOverflow,
allowDecimals: t.allowDecimals,
allowDuplicatedCategory: t.allowDuplicatedCategory,
@@ -95793,26 +95806,26 @@ var art = (e) => {
type: t.type,
unit: t.unit,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ S.createElement(art, t));
-}, Jnt);
-srt.displayName = "XAxis";
+ }), /*#__PURE__*/ S.createElement(crt, t));
+}, Znt);
+urt.displayName = "XAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/YAxis.js
-var crt = ["type"], lrt = [
+var drt = ["type"], frt = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], urt = ["id", "scale"];
-function T6() {
- return T6 = Object.assign ? Object.assign.bind() : function(e) {
+], prt = ["id", "scale"];
+function w6() {
+ return w6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, T6.apply(null, arguments);
+ }, w6.apply(null, arguments);
}
-function drt(e, t) {
+function mrt(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -95822,30 +95835,30 @@ function drt(e, t) {
}
return n;
}
-function frt(e) {
+function hrt(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? drt(Object(n), !0).forEach(function(t) {
- prt(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : drt(Object(n)).forEach(function(t) {
+ t % 2 ? mrt(Object(n), !0).forEach(function(t) {
+ grt(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : mrt(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function prt(e, t, n) {
- return (t = mrt(t)) in e ? Object.defineProperty(e, t, {
+function grt(e, t, n) {
+ return (t = _rt(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mrt(e) {
- var t = hrt(e, "string");
+function _rt(e) {
+ var t = vrt(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hrt(e, t) {
+function vrt(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -95855,16 +95868,16 @@ function hrt(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function E6(e, t) {
+function T6(e, t) {
if (e == null) return {};
- var n, r, i = grt(e, t);
+ var n, r, i = yrt(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function grt(e, t) {
+function yrt(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -95873,27 +95886,27 @@ function grt(e, t) {
}
return n;
}
-function _rt(e) {
- var t = gX(), n = (0, S.useRef)(null), r = kQ(), i = e.type, a = E6(e, crt), o = D$(r, "yAxis", i), s = (0, S.useMemo)(() => {
- if (o != null) return frt(frt({}, a), {}, { type: o });
+function brt(e) {
+ var t = _X(), n = (0, S.useRef)(null), r = kQ(), i = e.type, a = T6(e, drt), o = D$(r, "yAxis", i), s = (0, S.useMemo)(() => {
+ if (o != null) return hrt(hrt({}, a), {}, { type: o });
}, [o, a]);
return (0, S.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(h8e(s)) : n.current !== s && t(g8e({
+ s != null && (n.current === null ? t(_8e(s)) : n.current !== s && t(v8e({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, S.useLayoutEffect)(() => () => {
- n.current &&= (t(_8e(n.current)), null);
+ n.current &&= (t(y8e(n.current)), null);
}, [t]), null;
}
-function vrt(e) {
- var t = e.yAxisId, n = e.className, r = e.width, i = e.label, a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = vX(hQ), c = gQ(), l = gX(), u = "yAxis", d = vX((e) => WQe(e, t)), f = vX((e) => UQe(e, t)), p = vX((e) => YQe(e, u, t, c)), m = vX((e) => IZe(e, t));
+function xrt(e) {
+ var t = e.yAxisId, n = e.className, r = e.width, i = e.label, a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = yX(hQ), c = gQ(), l = _X(), u = "yAxis", d = yX((e) => KQe(e, t)), f = yX((e) => GQe(e, t)), p = yX((e) => ZQe(e, u, t, c)), m = yX((e) => RZe(e, t));
if ((0, S.useLayoutEffect)(() => {
if (!(r !== "auto" || !d || x4(i) || /*#__PURE__*/ (0, S.isValidElement)(i) || m == null)) {
var e = a.current;
if (e) {
var n = e.getCalculatedWidth();
- Math.round(d.width) !== Math.round(n) && l(v8e({
+ Math.round(d.width) !== Math.round(n) && l(b8e({
id: t,
width: n
}));
@@ -95909,10 +95922,10 @@ function vrt(e) {
m
]), d == null || f == null || m == null) return null;
e.dangerouslySetInnerHTML, e.ticks, e.scale;
- var h = E6(e, lrt);
+ var h = T6(e, frt);
m.id, m.scale;
- var g = E6(m, urt);
- return /*#__PURE__*/ S.createElement(Y3, T6({}, h, g, {
+ var g = T6(m, prt);
+ return /*#__PURE__*/ S.createElement(Y3, w6({}, h, g, {
ref: a,
labelRef: o,
x: f.x,
@@ -95927,7 +95940,7 @@ function vrt(e) {
axisId: t
}));
}
-var yrt = {
+var Srt = {
allowDataOverflow: H0.allowDataOverflow,
allowDecimals: H0.allowDecimals,
allowDuplicatedCategory: H0.allowDuplicatedCategory,
@@ -95951,9 +95964,9 @@ var yrt = {
niceTicks: H0.niceTicks,
width: H0.width,
yAxisId: 0
-}, brt = /*#__PURE__*/ S.memo((e) => {
- var t = CY(e, yrt);
- return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(_rt, {
+}, Crt = /*#__PURE__*/ S.memo((e) => {
+ var t = wY(e, Srt);
+ return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(brt, {
interval: t.interval,
id: t.yAxisId,
scale: t.scale,
@@ -95979,27 +95992,27 @@ var yrt = {
tick: t.tick,
tickFormatter: t.tickFormatter,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ S.createElement(vrt, t));
-}, Jnt);
-brt.displayName = "YAxis";
-var D6 = Y([
+ }), /*#__PURE__*/ S.createElement(xrt, t));
+}, Znt);
+Crt.displayName = "YAxis";
+var E6 = Y([
(e, t) => t,
DQ,
N$,
V$,
- $$e,
+ t1e,
W2,
- E1e,
+ O1e,
mQ
-], F1e);
+], L1e);
//#endregion
//#region node_modules/recharts/es6/util/getRelativeCoordinate.js
-function xrt(e) {
+function wrt(e) {
return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";
}
-function O6(e) {
+function D6(e) {
var t = e.currentTarget.getBoundingClientRect(), n, r;
- if (xrt(e)) {
+ if (wrt(e)) {
var i = e.currentTarget.getBBox();
n = i.width > 0 ? t.width / i.width : 1, r = i.height > 0 ? t.height / i.height : 1;
} else {
@@ -96014,50 +96027,50 @@ function O6(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js
-var Srt = PZ("mouseClick"), Crt = YZ();
-Crt.startListening({
- actionCreator: Srt,
+var Trt = PZ("mouseClick"), Ert = YZ();
+Ert.startListening({
+ actionCreator: Trt,
effect: (e, t) => {
- var n = e.payload, r = D6(t.getState(), O6(n));
- r?.activeIndex != null && t.dispatch(m$e({
+ var n = e.payload, r = E6(t.getState(), D6(n));
+ r?.activeIndex != null && t.dispatch(g$e({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
}));
}
});
-var k6 = PZ("mouseMove"), wrt = YZ(), A6 = null, j6 = null, M6 = null;
-wrt.startListening({
- actionCreator: k6,
+var O6 = PZ("mouseMove"), Drt = YZ(), k6 = null, A6 = null, j6 = null;
+Drt.startListening({
+ actionCreator: O6,
effect: (e, t) => {
var n = e.payload, r = t.getState().eventSettings, i = r.throttleDelay, a = r.throttledEvents, o = a === "all" || a?.includes("mousemove");
- A6 !== null && (cancelAnimationFrame(A6), A6 = null), j6 !== null && (typeof i != "number" || !o) && (clearTimeout(j6), j6 = null), M6 = O6(n);
+ k6 !== null && (cancelAnimationFrame(k6), k6 = null), A6 !== null && (typeof i != "number" || !o) && (clearTimeout(A6), A6 = null), j6 = D6(n);
var s = () => {
var e = t.getState(), n = j2(e, e.tooltip.settings.shared);
- if (!M6) A6 = null, j6 = null;
+ if (!j6) k6 = null, A6 = null;
else {
if (n === "axis") {
- var r = D6(e, M6);
- r?.activeIndex == null ? t.dispatch(d$e()) : t.dispatch(p$e({
+ var r = E6(e, j6);
+ r?.activeIndex == null ? t.dispatch(p$e()) : t.dispatch(h$e({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
}));
}
- A6 = null, j6 = null;
+ k6 = null, A6 = null;
}
};
- o ? i === "raf" ? A6 = requestAnimationFrame(s) : typeof i == "number" && j6 === null && (j6 = setTimeout(s, i)) : s();
+ o ? i === "raf" ? k6 = requestAnimationFrame(s) : typeof i == "number" && A6 === null && (A6 = setTimeout(s, i)) : s();
}
});
//#endregion
//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js
-function Trt(e, t) {
+function Ort(e, t) {
return t instanceof HTMLElement ? `HTMLElement <${t.tagName} class="${t.className}">` : t === window ? "global.window" : e === "children" && typeof t == "object" && t ? "<<CHILDREN>>" : t;
}
//#endregion
//#region node_modules/recharts/es6/state/rootPropsSlice.js
-var Ert = {
+var krt = {
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -96069,28 +96082,28 @@ var Ert = {
syncMethod: "index",
baseValue: void 0,
reverseStackOrder: !1
-}, Drt = LZ({
+}, Art = LZ({
name: "rootProps",
- initialState: Ert,
+ initialState: krt,
reducers: { updateOptions: (e, t) => {
- e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? Ert.barGap, e.barSize = t.payload.barSize, e.maxBarSize = t.payload.maxBarSize, e.stackOffset = t.payload.stackOffset, e.syncId = t.payload.syncId, e.syncMethod = t.payload.syncMethod, e.className = t.payload.className, e.baseValue = t.payload.baseValue, e.reverseStackOrder = t.payload.reverseStackOrder;
+ e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? krt.barGap, e.barSize = t.payload.barSize, e.maxBarSize = t.payload.maxBarSize, e.stackOffset = t.payload.stackOffset, e.syncId = t.payload.syncId, e.syncMethod = t.payload.syncMethod, e.className = t.payload.className, e.baseValue = t.payload.baseValue, e.reverseStackOrder = t.payload.reverseStackOrder;
} }
-}), Ort = Drt.reducer, krt = Drt.actions.updateOptions, Art = LZ({
+}), jrt = Art.reducer, Mrt = Art.actions.updateOptions, Nrt = LZ({
name: "polarOptions",
initialState: null,
reducers: { updatePolarOptions: (e, t) => e === null ? t.payload : (e.startAngle = t.payload.startAngle, e.endAngle = t.payload.endAngle, e.cx = t.payload.cx, e.cy = t.payload.cy, e.innerRadius = t.payload.innerRadius, e.outerRadius = t.payload.outerRadius, e) }
-}), jrt = Art.actions.updatePolarOptions, Mrt = Art.reducer, Nrt = PZ("keyDown"), Prt = PZ("focus"), Frt = PZ("blur"), N6 = YZ(), P6 = null, F6 = null, I6 = null;
-N6.startListening({
- actionCreator: Nrt,
+}), Prt = Nrt.actions.updatePolarOptions, Frt = Nrt.reducer, Irt = PZ("keyDown"), Lrt = PZ("focus"), Rrt = PZ("blur"), M6 = YZ(), N6 = null, P6 = null, F6 = null;
+M6.startListening({
+ actionCreator: Irt,
effect: (e, t) => {
- I6 = e.payload, P6 !== null && (cancelAnimationFrame(P6), P6 = null);
+ F6 = e.payload, N6 !== null && (cancelAnimationFrame(N6), N6 = null);
var n = t.getState().eventSettings, r = n.throttleDelay, i = n.throttledEvents, a = i === "all" || i.includes("keydown");
- F6 !== null && (typeof r != "number" || !a) && (clearTimeout(F6), F6 = null);
+ P6 !== null && (typeof r != "number" || !a) && (clearTimeout(P6), P6 = null);
var o = () => {
try {
var e = t.getState();
if (e.rootProps.accessibilityLayer === !1) return;
- var n = e.tooltip.keyboardInteraction, r = I6;
+ var n = e.tooltip.keyboardInteraction, r = F6;
if (r !== "ArrowRight" && r !== "ArrowLeft" && r !== "Enter") return;
var i = L2(n, V2(e), i2(e), U2(e)), a = i == null ? -1 : Number(i), o = !Number.isFinite(a) || a < 0, s = W2(e), c = V2(e), l = j2(e, e.tooltip.settings.shared);
if (r === "Enter") {
@@ -96103,7 +96116,7 @@ N6.startListening({
}));
return;
}
- var d = ZQe(e) === "left-to-right" ? 1 : -1, f = r === "ArrowRight" ? 1 : -1, p;
+ var d = $Qe(e) === "left-to-right" ? 1 : -1, f = r === "ArrowRight" ? 1 : -1, p;
if (o) {
var m = i2(e), h = U2(e), g = f * d, _ = (e) => ({
active: !1,
@@ -96134,15 +96147,15 @@ N6.startListening({
activeCoordinate: x
}));
} finally {
- P6 = null, F6 = null;
+ N6 = null, P6 = null;
}
};
- a ? r === "raf" ? P6 = requestAnimationFrame(o) : typeof r == "number" && F6 === null && (o(), I6 = null, F6 = setTimeout(() => {
- I6 ? o() : (F6 = null, P6 = null);
+ a ? r === "raf" ? N6 = requestAnimationFrame(o) : typeof r == "number" && P6 === null && (o(), F6 = null, P6 = setTimeout(() => {
+ F6 ? o() : (P6 = null, N6 = null);
}, r)) : o();
}
-}), N6.startListening({
- actionCreator: Prt,
+}), M6.startListening({
+ actionCreator: Lrt,
effect: (e, t) => {
var n = t.getState();
if (n.rootProps.accessibilityLayer !== !1) {
@@ -96157,8 +96170,8 @@ N6.startListening({
}
}
}
-}), N6.startListening({
- actionCreator: Frt,
+}), M6.startListening({
+ actionCreator: Rrt,
effect: (e, t) => {
var n = t.getState();
if (n.rootProps.accessibilityLayer !== !1) {
@@ -96173,7 +96186,7 @@ N6.startListening({
});
//#endregion
//#region node_modules/recharts/es6/util/createEventProxy.js
-function Irt(e) {
+function zrt(e) {
e.persist();
var t = e.currentTarget;
return new Proxy(e, { get: (e, n) => {
@@ -96184,53 +96197,53 @@ function Irt(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/externalEventsMiddleware.js
-var L6 = PZ("externalEvent"), Lrt = YZ(), R6 = /* @__PURE__ */ new Map(), z6 = /* @__PURE__ */ new Map(), B6 = /* @__PURE__ */ new Map();
-Lrt.startListening({
- actionCreator: L6,
+var I6 = PZ("externalEvent"), Brt = YZ(), L6 = /* @__PURE__ */ new Map(), R6 = /* @__PURE__ */ new Map(), z6 = /* @__PURE__ */ new Map();
+Brt.startListening({
+ actionCreator: I6,
effect: (e, t) => {
var n = e.payload, r = n.handler, i = n.reactEvent;
if (r != null) {
- var a = i.type, o = Irt(i);
- B6.set(a, {
+ var a = i.type, o = zrt(i);
+ z6.set(a, {
handler: r,
reactEvent: o
});
- var s = R6.get(a);
- s !== void 0 && (cancelAnimationFrame(s), R6.delete(a));
- var c = t.getState().eventSettings, l = c.throttleDelay, u = c.throttledEvents, d = u === "all" || u?.includes(a), f = z6.get(a);
- f !== void 0 && (typeof l != "number" || !d) && (clearTimeout(f), z6.delete(a));
+ var s = L6.get(a);
+ s !== void 0 && (cancelAnimationFrame(s), L6.delete(a));
+ var c = t.getState().eventSettings, l = c.throttleDelay, u = c.throttledEvents, d = u === "all" || u?.includes(a), f = R6.get(a);
+ f !== void 0 && (typeof l != "number" || !d) && (clearTimeout(f), R6.delete(a));
var p = () => {
- var e = B6.get(a);
+ var e = z6.get(a);
try {
if (!e) return;
var n = e.handler, r = e.reactEvent, i = t.getState(), o = {
- activeCoordinate: o1e(i),
- activeDataKey: r1e(i),
+ activeCoordinate: c1e(i),
+ activeDataKey: a1e(i),
activeIndex: J2(i),
- activeLabel: n1e(i),
+ activeLabel: i1e(i),
activeTooltipIndex: J2(i),
- isTooltipActive: s1e(i)
+ isTooltipActive: l1e(i)
};
n && n(o, r);
} finally {
- R6.delete(a), z6.delete(a), B6.delete(a);
+ L6.delete(a), R6.delete(a), z6.delete(a);
}
};
if (!d) p();
else if (l === "raf") {
var m = requestAnimationFrame(p);
- R6.set(a, m);
+ L6.set(a, m);
} else if (typeof l == "number") {
- if (!z6.has(a)) {
+ if (!R6.has(a)) {
p();
var h = setTimeout(p, l);
- z6.set(a, h);
+ R6.set(a, h);
}
} else p();
}
}
});
-var Rrt = Y([
+var Vrt = Y([
Y([R2], (e) => e.tooltipItemPayloads),
(e, t) => t,
(e, t, n) => n
@@ -96242,61 +96255,61 @@ var Rrt = Y([
if (i != null) return i(t);
}
}
-}), zrt = PZ("touchMove"), Brt = YZ(), V6 = null, H6 = null, Vrt = null, U6 = null;
-Brt.startListening({
- actionCreator: zrt,
+}), Hrt = PZ("touchMove"), Urt = YZ(), B6 = null, V6 = null, Wrt = null, H6 = null;
+Urt.startListening({
+ actionCreator: Hrt,
effect: (e, t) => {
var n = e.payload;
if (n.touches != null && n.touches.length !== 0) {
- U6 = Irt(n);
+ H6 = zrt(n);
var r = t.getState().eventSettings, i = r.throttleDelay, a = r.throttledEvents, o = a === "all" || a.includes("touchmove");
- V6 !== null && (cancelAnimationFrame(V6), V6 = null), H6 !== null && (typeof i != "number" || !o) && (clearTimeout(H6), H6 = null), Vrt = Array.from(n.touches).map((e) => O6({
+ B6 !== null && (cancelAnimationFrame(B6), B6 = null), V6 !== null && (typeof i != "number" || !o) && (clearTimeout(V6), V6 = null), Wrt = Array.from(n.touches).map((e) => D6({
clientX: e.clientX,
clientY: e.clientY,
currentTarget: n.currentTarget
}));
var s = () => {
- if (U6 != null) {
+ if (H6 != null) {
var e = t.getState(), n = j2(e, e.tooltip.settings.shared);
if (n === "axis") {
- var r = Vrt?.[0];
+ var r = Wrt?.[0];
if (r == null) {
- V6 = null, H6 = null;
+ B6 = null, V6 = null;
return;
}
- var i = D6(e, r);
- i?.activeIndex != null && t.dispatch(p$e({
+ var i = E6(e, r);
+ i?.activeIndex != null && t.dispatch(h$e({
activeIndex: i.activeIndex,
activeDataKey: void 0,
activeCoordinate: i.activeCoordinate
}));
} else if (n === "item") {
- var a = U6.touches[0];
+ var a = H6.touches[0];
if (document.elementFromPoint == null || a == null) return;
var o = document.elementFromPoint(a.clientX, a.clientY);
if (!o || !o.getAttribute) return;
- var s = o.getAttribute(gHe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = B2(e).find((e) => e.id === c);
+ var s = o.getAttribute(vHe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = B2(e).find((e) => e.id === c);
if (s == null || l == null || c == null) return;
- var u = l.dataKey, d = Rrt(e, s, c);
- t.dispatch(l$e({
+ var u = l.dataKey, d = Vrt(e, s, c);
+ t.dispatch(d$e({
activeDataKey: u,
activeIndex: s,
activeCoordinate: d,
activeGraphicalItemId: c
}));
}
- V6 = null, H6 = null;
+ B6 = null, V6 = null;
}
};
- o ? i === "raf" ? V6 = requestAnimationFrame(s) : typeof i == "number" && H6 === null && (s(), U6 = null, H6 = setTimeout(() => {
- U6 ? s() : (H6 = null, V6 = null);
+ o ? i === "raf" ? B6 = requestAnimationFrame(s) : typeof i == "number" && V6 === null && (s(), H6 = null, V6 = setTimeout(() => {
+ H6 ? s() : (V6 = null, B6 = null);
}, i)) : s();
}
}
});
//#endregion
//#region node_modules/recharts/es6/state/eventSettingsSlice.js
-var W6 = {
+var U6 = {
throttleDelay: "raf",
throttledEvents: [
"mousemove",
@@ -96305,33 +96318,33 @@ var W6 = {
"scroll",
"wheel"
]
-}, Hrt = LZ({
+}, Grt = LZ({
name: "eventSettings",
- initialState: W6,
+ initialState: U6,
reducers: { setEventSettings: (e, t) => {
t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = NZ(t.payload.throttledEvents));
} }
-}), Urt = Hrt.actions.setEventSettings, Wrt = Hrt.reducer, Grt = zX({
- brush: h7e,
- cartesianAxis: b8e,
- chartData: h0e,
- errorBars: vet,
- eventSettings: Wrt,
- graphicalItems: J6e,
- layout: JVe,
- legend: fUe,
- options: l0e,
- polarAxis: m3e,
- polarOptions: Mrt,
- referenceElements: C7e,
- renderedTicks: g9e,
- rootProps: Ort,
- tooltip: h$e,
- zIndex: X1e
-}), Krt = function(e) {
+}), Krt = Grt.actions.setEventSettings, qrt = Grt.reducer, Jrt = BX({
+ brush: _7e,
+ cartesianAxis: S8e,
+ chartData: _0e,
+ errorBars: bet,
+ eventSettings: qrt,
+ graphicalItems: X6e,
+ layout: XVe,
+ legend: mUe,
+ options: d0e,
+ polarAxis: g3e,
+ polarOptions: Frt,
+ referenceElements: T7e,
+ renderedTicks: v9e,
+ rootProps: jrt,
+ tooltip: _$e,
+ zIndex: Q1e
+}), Yrt = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";
- return aVe({
- reducer: Grt,
+ return sVe({
+ reducer: Jrt,
preloadedState: e,
middleware: (e) => e({
serializableCheck: !1,
@@ -96341,40 +96354,40 @@ var W6 = {
"production"
].includes("es6")
}).concat([
- Crt.middleware,
- wrt.middleware,
- N6.middleware,
- Lrt.middleware,
- Brt.middleware
+ Ert.middleware,
+ Drt.middleware,
+ M6.middleware,
+ Brt.middleware,
+ Urt.middleware
]),
enhancers: (e) => {
var t = e;
- return typeof e == "function" && (t = e()), t.concat(rVe({ type: "raf" }));
+ return typeof e == "function" && (t = e()), t.concat(aVe({ type: "raf" }));
},
devTools: VQ.devToolsEnabled && {
- serialize: { replacer: Trt },
+ serialize: { replacer: Ort },
name: `recharts-${t}`
}
});
};
//#endregion
//#region node_modules/recharts/es6/state/RechartsStoreProvider.js
-function qrt(e) {
+function Xrt(e) {
var t = e.preloadedState, n = e.children, r = e.reduxStoreName, i = gQ(), a = (0, S.useRef)(null);
if (i) return n;
- a.current ??= Krt(t, r);
- var o = hX;
- return /*#__PURE__*/ S.createElement(OUe, {
+ a.current ??= Yrt(t, r);
+ var o = gX;
+ return /*#__PURE__*/ S.createElement(AUe, {
context: o,
store: a.current
}, n);
}
//#endregion
//#region node_modules/recharts/es6/state/ReportMainChartProps.js
-function Jrt(e) {
- var t = e.layout, n = e.margin, r = gX(), i = gQ();
+function Zrt(e) {
+ var t = e.layout, n = e.margin, r = _X(), i = gQ();
return (0, S.useEffect)(() => {
- i || (r(GVe(t)), r(WVe(n)));
+ i || (r(qVe(t)), r(KVe(n)));
}, [
r,
i,
@@ -96382,31 +96395,31 @@ function Jrt(e) {
n
]), null;
}
-var Yrt = /*#__PURE__*/ (0, S.memo)(Jrt, PQ);
+var Qrt = /*#__PURE__*/ (0, S.memo)(Zrt, PQ);
//#endregion
//#region node_modules/recharts/es6/state/ReportChartProps.js
-function Xrt(e) {
- var t = gX();
+function $rt(e) {
+ var t = _X();
return (0, S.useEffect)(() => {
- t(krt(e));
+ t(Mrt(e));
}, [t, e]), null;
}
-var Zrt = /*#__PURE__*/ (0, S.memo)((e) => {
- var t = gX();
+var eit = /*#__PURE__*/ (0, S.memo)((e) => {
+ var t = _X();
return (0, S.useEffect)(() => {
- t(Urt(e));
+ t(Krt(e));
}, [t, e]), null;
}, PQ);
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js
-function Qrt(e) {
- var t = e.zIndex, n = e.isPanorama, r = (0, S.useRef)(null), i = gX();
- return (0, S.useLayoutEffect)(() => (r.current && i(J1e({
+function tit(e) {
+ var t = e.zIndex, n = e.isPanorama, r = (0, S.useRef)(null), i = _X();
+ return (0, S.useLayoutEffect)(() => (r.current && i(X1e({
zIndex: t,
element: r.current,
isPanorama: n
})), () => {
- i(Y1e({
+ i(Z1e({
zIndex: t,
isPanorama: n
}));
@@ -96420,15 +96433,15 @@ function Qrt(e) {
className: `recharts-zIndex-layer_${t}`
});
}
-function $rt(e) {
- var t = e.children, n = e.isPanorama, r = vX(L1e);
+function nit(e) {
+ var t = e.children, n = e.isPanorama, r = yX(z1e);
if (!r || r.length === 0) return t;
var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);
- return /*#__PURE__*/ S.createElement(S.Fragment, null, i.map((e) => /*#__PURE__*/ S.createElement(Qrt, {
+ return /*#__PURE__*/ S.createElement(S.Fragment, null, i.map((e) => /*#__PURE__*/ S.createElement(tit, {
key: e,
zIndex: e,
isPanorama: n
- })), t, a.map((e) => /*#__PURE__*/ S.createElement(Qrt, {
+ })), t, a.map((e) => /*#__PURE__*/ S.createElement(tit, {
key: e,
zIndex: e,
isPanorama: n
@@ -96436,17 +96449,17 @@ function $rt(e) {
}
//#endregion
//#region node_modules/recharts/es6/container/RootSurface.js
-var eit = ["children"];
-function tit(e, t) {
+var rit = ["children"];
+function iit(e, t) {
if (e == null) return {};
- var n, r, i = nit(e, t);
+ var n, r, i = ait(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function nit(e, t) {
+function ait(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -96455,68 +96468,68 @@ function nit(e, t) {
}
return n;
}
-function G6() {
- return G6 = Object.assign ? Object.assign.bind() : function(e) {
+function W6() {
+ return W6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, G6.apply(null, arguments);
+ }, W6.apply(null, arguments);
}
-var rit = {
+var oit = {
width: "100%",
height: "100%",
display: "block"
-}, iit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
- var n = TQ(), r = EQ(), i = HWe();
+}, sit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+ var n = TQ(), r = EQ(), i = WWe();
if (!$Z(n) || !$Z(r)) return null;
var a = e.children, o = e.otherAttributes, s = e.title, c = e.desc, l, u;
- return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ S.createElement(Gq, G6({}, o, {
+ return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ S.createElement(Kq, W6({}, o, {
title: s,
desc: c,
role: u,
tabIndex: l,
width: n,
height: r,
- style: rit,
+ style: oit,
ref: t
}), a);
-}), ait = (e) => {
- var t = e.children, n = vX(vQ);
+}), cit = (e) => {
+ var t = e.children, n = yX(vQ);
if (!n) return null;
var r = n.width, i = n.height, a = n.y, o = n.x;
- return /*#__PURE__*/ S.createElement(Gq, {
+ return /*#__PURE__*/ S.createElement(Kq, {
width: r,
height: i,
x: o,
y: a
}, t);
-}, oit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
- var n = e.children, r = tit(e, eit);
- return gQ() ? /*#__PURE__*/ S.createElement(ait, null, /*#__PURE__*/ S.createElement($rt, { isPanorama: !0 }, n)) : /*#__PURE__*/ S.createElement(iit, G6({ ref: t }, r), /*#__PURE__*/ S.createElement($rt, { isPanorama: !1 }, n));
+}, lit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+ var n = e.children, r = iit(e, rit);
+ return gQ() ? /*#__PURE__*/ S.createElement(cit, null, /*#__PURE__*/ S.createElement(nit, { isPanorama: !0 }, n)) : /*#__PURE__*/ S.createElement(sit, W6({ ref: t }, r), /*#__PURE__*/ S.createElement(nit, { isPanorama: !1 }, n));
});
//#endregion
//#region node_modules/recharts/es6/util/useReportScale.js
-function sit(e, t) {
- return fit(e) || dit(e, t) || lit(e, t) || cit();
+function uit(e, t) {
+ return hit(e) || mit(e, t) || fit(e, t) || dit();
}
-function cit() {
+function dit() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function lit(e, t) {
+function fit(e, t) {
if (e) {
- if (typeof e == "string") return uit(e, t);
+ if (typeof e == "string") return pit(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? uit(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? pit(e, t) : void 0;
}
}
-function uit(e, t) {
+function pit(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function dit(e, t) {
+function mit(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -96537,15 +96550,15 @@ function dit(e, t) {
return s;
}
}
-function fit(e) {
+function hit(e) {
if (Array.isArray(e)) return e;
}
-function pit() {
- var e = gX(), t = sit((0, S.useState)(null), 2), n = t[0], r = t[1], i = vX(hHe);
+function git() {
+ var e = _X(), t = uit((0, S.useState)(null), 2), n = t[0], r = t[1], i = yX(_He);
return (0, S.useEffect)(() => {
if (n != null) {
var t = n.getBoundingClientRect().width / n.offsetWidth;
- QZ(t) && t !== i && e(qVe(t));
+ QZ(t) && t !== i && e(YVe(t));
}
}, [
n,
@@ -96555,7 +96568,7 @@ function pit() {
}
//#endregion
//#region node_modules/recharts/es6/chart/RechartsWrapper.js
-function mit(e, t) {
+function _it(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -96565,30 +96578,30 @@ function mit(e, t) {
}
return n;
}
-function hit(e) {
+function vit(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? mit(Object(n), !0).forEach(function(t) {
- git(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : mit(Object(n)).forEach(function(t) {
+ t % 2 ? _it(Object(n), !0).forEach(function(t) {
+ yit(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _it(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function git(e, t, n) {
- return (t = _it(t)) in e ? Object.defineProperty(e, t, {
+function yit(e, t, n) {
+ return (t = bit(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function _it(e) {
- var t = vit(e, "string");
+function bit(e) {
+ var t = xit(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function vit(e, t) {
+function xit(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -96598,34 +96611,34 @@ function vit(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function K6() {
- return K6 = Object.assign ? Object.assign.bind() : function(e) {
+function G6() {
+ return G6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, K6.apply(null, arguments);
+ }, G6.apply(null, arguments);
}
-function q6(e, t) {
- return Cit(e) || Sit(e, t) || bit(e, t) || yit();
+function K6(e, t) {
+ return Eit(e) || Tit(e, t) || Cit(e, t) || Sit();
}
-function yit() {
+function Sit() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function bit(e, t) {
+function Cit(e, t) {
if (e) {
- if (typeof e == "string") return xit(e, t);
+ if (typeof e == "string") return wit(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? xit(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? wit(e, t) : void 0;
}
}
-function xit(e, t) {
+function wit(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function Sit(e, t) {
+function Tit(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -96646,11 +96659,11 @@ function Sit(e, t) {
return s;
}
}
-function Cit(e) {
+function Eit(e) {
if (Array.isArray(e)) return e;
}
-var wit = () => (T0e(), null);
-function J6(e) {
+var Dit = () => (D0e(), null);
+function q6(e) {
if (typeof e == "number") return e;
if (typeof e == "string") {
var t = parseFloat(e);
@@ -96658,10 +96671,10 @@ function J6(e) {
}
return 0;
}
-var Tit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
- var n = (0, S.useRef)(null), r = q6((0, S.useState)({
- containerWidth: J6(e.style?.width),
- containerHeight: J6(e.style?.height)
+var Oit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+ var n = (0, S.useRef)(null), r = K6((0, S.useState)({
+ containerWidth: q6(e.style?.width),
+ containerHeight: q6(e.style?.height)
}), 2), i = r[0], a = r[1], o = (0, S.useCallback)((e, t) => {
a((n) => {
var r = Math.round(e), i = Math.round(t);
@@ -96689,11 +96702,11 @@ var Tit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
}, [o]), /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(MQ, {
width: i.containerWidth,
height: i.containerHeight
- }), /*#__PURE__*/ S.createElement("div", K6({ ref: s }, e)));
-}), Eit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
- var n = e.width, r = e.height, i = q6((0, S.useState)({
- containerWidth: J6(n),
- containerHeight: J6(r)
+ }), /*#__PURE__*/ S.createElement("div", G6({ ref: s }, e)));
+}), kit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+ var n = e.width, r = e.height, i = K6((0, S.useState)({
+ containerWidth: q6(n),
+ containerHeight: q6(r)
}), 2), a = i[0], o = i[1], s = (0, S.useCallback)((e, t) => {
o((n) => {
var r = Math.round(e), i = Math.round(t);
@@ -96711,29 +96724,29 @@ var Tit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(MQ, {
width: a.containerWidth,
height: a.containerHeight
- }), /*#__PURE__*/ S.createElement("div", K6({ ref: c }, e)));
-}), Dit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+ }), /*#__PURE__*/ S.createElement("div", G6({ ref: c }, e)));
+}), Ait = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
var n = e.width, r = e.height;
return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(MQ, {
width: n,
height: r
- }), /*#__PURE__*/ S.createElement("div", K6({ ref: t }, e)));
-}), Oit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+ }), /*#__PURE__*/ S.createElement("div", G6({ ref: t }, e)));
+}), jit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
var n = e.width, r = e.height;
- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ S.createElement(Eit, K6({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ S.createElement(Dit, K6({}, e, {
+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ S.createElement(kit, G6({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ S.createElement(Ait, G6({}, e, {
width: n,
height: r,
ref: t
})) : /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(MQ, {
width: n,
height: r
- }), /*#__PURE__*/ S.createElement("div", K6({ ref: t }, e)));
+ }), /*#__PURE__*/ S.createElement("div", G6({ ref: t }, e)));
});
-function kit(e) {
- return e ? Tit : Oit;
+function Mit(e) {
+ return e ? Oit : jit;
}
-var Ait = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
- var n = e.children, r = e.className, i = e.height, a = e.onClick, o = e.onContextMenu, s = e.onDoubleClick, c = e.onMouseDown, l = e.onMouseEnter, u = e.onMouseLeave, d = e.onMouseMove, f = e.onMouseUp, p = e.onTouchEnd, m = e.onTouchMove, h = e.onTouchStart, g = e.style, _ = e.width, v = e.responsive, y = e.dispatchTouchEvents, b = y === void 0 || y, x = (0, S.useRef)(null), C = gX(), w = q6((0, S.useState)(null), 2), T = w[0], E = w[1], D = q6((0, S.useState)(null), 2), O = D[0], k = D[1], A = pit(), j = SQ(), M = j?.width > 0 ? j.width : _, N = j?.height > 0 ? j.height : i, P = (0, S.useCallback)((e) => {
+var Nit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+ var n = e.children, r = e.className, i = e.height, a = e.onClick, o = e.onContextMenu, s = e.onDoubleClick, c = e.onMouseDown, l = e.onMouseEnter, u = e.onMouseLeave, d = e.onMouseMove, f = e.onMouseUp, p = e.onTouchEnd, m = e.onTouchMove, h = e.onTouchStart, g = e.style, _ = e.width, v = e.responsive, y = e.dispatchTouchEvents, b = y === void 0 || y, x = (0, S.useRef)(null), C = _X(), w = K6((0, S.useState)(null), 2), T = w[0], E = w[1], D = K6((0, S.useState)(null), 2), O = D[0], k = D[1], A = git(), j = SQ(), M = j?.width > 0 ? j.width : _, N = j?.height > 0 ? j.height : i, P = (0, S.useCallback)((e) => {
A(e), typeof t == "function" && t(e), E(e), k(e), e != null && (x.current = e);
}, [
A,
@@ -96741,58 +96754,58 @@ var Ait = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
E,
k
]), F = (0, S.useCallback)((e) => {
- C(Srt(e)), C(L6({
+ C(Trt(e)), C(I6({
handler: a,
reactEvent: e
}));
}, [C, a]), I = (0, S.useCallback)((e) => {
- C(k6(e)), C(L6({
+ C(O6(e)), C(I6({
handler: l,
reactEvent: e
}));
}, [C, l]), ee = (0, S.useCallback)((e) => {
- C(d$e()), C(L6({
+ C(p$e()), C(I6({
handler: u,
reactEvent: e
}));
}, [C, u]), L = (0, S.useCallback)((e) => {
- C(k6(e)), C(L6({
+ C(O6(e)), C(I6({
handler: d,
reactEvent: e
}));
}, [C, d]), te = (0, S.useCallback)(() => {
- C(Prt());
+ C(Lrt());
}, [C]), ne = (0, S.useCallback)(() => {
- C(Frt());
+ C(Rrt());
}, [C]), re = (0, S.useCallback)((e) => {
- C(Nrt(e.key));
+ C(Irt(e.key));
}, [C]), ie = (0, S.useCallback)((e) => {
- C(L6({
+ C(I6({
handler: o,
reactEvent: e
}));
}, [C, o]), ae = (0, S.useCallback)((e) => {
- C(L6({
+ C(I6({
handler: s,
reactEvent: e
}));
}, [C, s]), oe = (0, S.useCallback)((e) => {
- C(L6({
+ C(I6({
handler: c,
reactEvent: e
}));
}, [C, c]), se = (0, S.useCallback)((e) => {
- C(L6({
+ C(I6({
handler: f,
reactEvent: e
}));
}, [C, f]), ce = (0, S.useCallback)((e) => {
- C(L6({
+ C(I6({
handler: h,
reactEvent: e
}));
}, [C, h]), le = (0, S.useCallback)((e) => {
- b && C(zrt(e)), C(L6({
+ b && C(Hrt(e)), C(I6({
handler: m,
reactEvent: e
}));
@@ -96801,16 +96814,16 @@ var Ait = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
b,
m
]), ue = (0, S.useCallback)((e) => {
- C(L6({
+ C(I6({
handler: p,
reactEvent: e
}));
- }, [C, p]), de = kit(v);
- return /*#__PURE__*/ S.createElement(i0e.Provider, { value: T }, /*#__PURE__*/ S.createElement(SJ.Provider, { value: O }, /*#__PURE__*/ S.createElement(de, {
+ }, [C, p]), de = Mit(v);
+ return /*#__PURE__*/ S.createElement(o0e.Provider, { value: T }, /*#__PURE__*/ S.createElement(CJ.Provider, { value: O }, /*#__PURE__*/ S.createElement(de, {
width: M ?? g?.width,
height: N ?? g?.height,
className: Lv("recharts-wrapper", r),
- style: hit({
+ style: vit({
position: "relative",
cursor: "default",
width: M,
@@ -96831,8 +96844,8 @@ var Ait = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
onTouchMove: le,
onTouchStart: ce,
ref: P
- }, /*#__PURE__*/ S.createElement(wit, null), n)));
-}), jit = [
+ }, /*#__PURE__*/ S.createElement(Dit, null), n)));
+}), Pit = [
"width",
"height",
"responsive",
@@ -96843,16 +96856,16 @@ var Ait = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
"title",
"desc"
];
-function Mit(e, t) {
+function Fit(e, t) {
if (e == null) return {};
- var n, r, i = Nit(e, t);
+ var n, r, i = Iit(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Nit(e, t) {
+function Iit(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -96861,16 +96874,16 @@ function Nit(e, t) {
}
return n;
}
-var Pit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
- var n = e.width, r = e.height, i = e.responsive, a = e.children, o = e.className, s = e.style, c = e.compact, l = e.title, u = e.desc, d = Vq(Mit(e, jit));
+var Lit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+ var n = e.width, r = e.height, i = e.responsive, a = e.children, o = e.className, s = e.style, c = e.compact, l = e.title, u = e.desc, d = Hq(Fit(e, Pit));
return c ? /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(MQ, {
width: n,
height: r
- }), /*#__PURE__*/ S.createElement(oit, {
+ }), /*#__PURE__*/ S.createElement(lit, {
otherAttributes: d,
title: l,
desc: u
- }, a)) : /*#__PURE__*/ S.createElement(Ait, {
+ }, a)) : /*#__PURE__*/ S.createElement(Nit, {
className: o,
style: s,
width: n,
@@ -96887,25 +96900,25 @@ var Pit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
onTouchStart: e.onTouchStart,
onTouchMove: e.onTouchMove,
onTouchEnd: e.onTouchEnd
- }, /*#__PURE__*/ S.createElement(oit, {
+ }, /*#__PURE__*/ S.createElement(lit, {
otherAttributes: d,
title: l,
desc: u,
ref: t
- }, /*#__PURE__*/ S.createElement(j7e, null, a)));
+ }, /*#__PURE__*/ S.createElement(N7e, null, a)));
});
//#endregion
//#region node_modules/recharts/es6/chart/CartesianChart.js
-function Y6() {
- return Y6 = Object.assign ? Object.assign.bind() : function(e) {
+function J6() {
+ return J6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, Y6.apply(null, arguments);
+ }, J6.apply(null, arguments);
}
-function Fit(e, t) {
+function Rit(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -96915,30 +96928,30 @@ function Fit(e, t) {
}
return n;
}
-function Iit(e) {
+function zit(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Fit(Object(n), !0).forEach(function(t) {
- Lit(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Fit(Object(n)).forEach(function(t) {
+ t % 2 ? Rit(Object(n), !0).forEach(function(t) {
+ Bit(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Rit(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Lit(e, t, n) {
- return (t = Rit(t)) in e ? Object.defineProperty(e, t, {
+function Bit(e, t, n) {
+ return (t = Vit(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Rit(e) {
- var t = zit(e, "string");
+function Vit(e) {
+ var t = Hit(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function zit(e, t) {
+function Hit(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -96948,7 +96961,7 @@ function zit(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Bit = Iit({
+var Uit = zit({
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -96963,24 +96976,24 @@ var Bit = Iit({
reverseStackOrder: !1,
stackOffset: "none",
syncMethod: "index"
-}, W6), X6 = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- var n = CY(e.categoricalChartProps, Bit), r = e.chartName, i = e.defaultTooltipEventType, a = e.validateTooltipEventTypes, o = e.tooltipPayloadSearcher, s = e.categoricalChartProps, c = {
+}, U6), Y6 = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ var n = wY(e.categoricalChartProps, Uit), r = e.chartName, i = e.defaultTooltipEventType, a = e.validateTooltipEventTypes, o = e.tooltipPayloadSearcher, s = e.categoricalChartProps, c = {
chartName: r,
defaultTooltipEventType: i,
validateTooltipEventTypes: a,
tooltipPayloadSearcher: o,
eventEmitter: void 0
};
- return /*#__PURE__*/ S.createElement(qrt, {
+ return /*#__PURE__*/ S.createElement(Xrt, {
preloadedState: { options: c },
reduxStoreName: s.id ?? r
- }, /*#__PURE__*/ S.createElement(f7e, { chartData: s.data }), /*#__PURE__*/ S.createElement(Yrt, {
+ }, /*#__PURE__*/ S.createElement(m7e, { chartData: s.data }), /*#__PURE__*/ S.createElement(Qrt, {
layout: n.layout,
margin: n.margin
- }), /*#__PURE__*/ S.createElement(Zrt, {
+ }), /*#__PURE__*/ S.createElement(eit, {
throttleDelay: n.throttleDelay,
throttledEvents: n.throttledEvents
- }), /*#__PURE__*/ S.createElement(Xrt, {
+ }), /*#__PURE__*/ S.createElement($rt, {
baseValue: n.baseValue,
accessibilityLayer: n.accessibilityLayer,
barCategoryGap: n.barCategoryGap,
@@ -96992,52 +97005,52 @@ var Bit = Iit({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ S.createElement(Pit, Y6({}, n, { ref: t })));
-}), Vit = ["axis"], Hit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => /*#__PURE__*/ S.createElement(X6, {
+ }), /*#__PURE__*/ S.createElement(Lit, J6({}, n, { ref: t })));
+}), Wit = ["axis"], Git = /*#__PURE__*/ (0, S.forwardRef)((e, t) => /*#__PURE__*/ S.createElement(Y6, {
chartName: "LineChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: Vit,
+ validateTooltipEventTypes: Wit,
tooltipPayloadSearcher: c4,
categoricalChartProps: e,
ref: t
-})), Uit = ["axis", "item"], Wit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => /*#__PURE__*/ S.createElement(X6, {
+})), Kit = ["axis", "item"], qit = /*#__PURE__*/ (0, S.forwardRef)((e, t) => /*#__PURE__*/ S.createElement(Y6, {
chartName: "BarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: Uit,
+ validateTooltipEventTypes: Kit,
tooltipPayloadSearcher: c4,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/state/ReportPolarOptions.js
-function Git(e) {
- var t = gX();
+function Jit(e) {
+ var t = _X();
return (0, S.useEffect)(() => {
- t(jrt(e));
+ t(Prt(e));
}, [t, e]), null;
}
//#endregion
//#region node_modules/recharts/es6/chart/PolarChart.js
-var Kit = ["layout"];
-function Z6() {
- return Z6 = Object.assign ? Object.assign.bind() : function(e) {
+var Yit = ["layout"];
+function X6() {
+ return X6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, Z6.apply(null, arguments);
+ }, X6.apply(null, arguments);
}
-function qit(e, t) {
+function Xit(e, t) {
if (e == null) return {};
- var n, r, i = Jit(e, t);
+ var n, r, i = Zit(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Jit(e, t) {
+function Zit(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -97046,7 +97059,7 @@ function Jit(e, t) {
}
return n;
}
-function Yit(e, t) {
+function Qit(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -97056,30 +97069,30 @@ function Yit(e, t) {
}
return n;
}
-function Xit(e) {
+function $it(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Yit(Object(n), !0).forEach(function(t) {
- Zit(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Yit(Object(n)).forEach(function(t) {
+ t % 2 ? Qit(Object(n), !0).forEach(function(t) {
+ eat(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Qit(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Zit(e, t, n) {
- return (t = Qit(t)) in e ? Object.defineProperty(e, t, {
+function eat(e, t, n) {
+ return (t = tat(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Qit(e) {
- var t = $it(e, "string");
+function tat(e) {
+ var t = nat(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function $it(e, t) {
+function nat(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -97089,7 +97102,7 @@ function $it(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Q6 = Xit({
+var Z6 = $it({
accessibilityLayer: !0,
stackOffset: "none",
barCategoryGap: "10%",
@@ -97108,24 +97121,24 @@ var Q6 = Xit({
cy: "50%",
innerRadius: 0,
outerRadius: "80%"
-}, W6), eat = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- var n = CY(e.categoricalChartProps, Q6), r = n.layout, i = qit(n, Kit), a = e.chartName, o = {
+}, U6), rat = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ var n = wY(e.categoricalChartProps, Z6), r = n.layout, i = Xit(n, Yit), a = e.chartName, o = {
chartName: a,
defaultTooltipEventType: e.defaultTooltipEventType,
validateTooltipEventTypes: e.validateTooltipEventTypes,
tooltipPayloadSearcher: e.tooltipPayloadSearcher,
eventEmitter: void 0
};
- return /*#__PURE__*/ S.createElement(qrt, {
+ return /*#__PURE__*/ S.createElement(Xrt, {
preloadedState: { options: o },
reduxStoreName: n.id ?? a
- }, /*#__PURE__*/ S.createElement(f7e, { chartData: n.data }), /*#__PURE__*/ S.createElement(Yrt, {
+ }, /*#__PURE__*/ S.createElement(m7e, { chartData: n.data }), /*#__PURE__*/ S.createElement(Qrt, {
layout: r,
margin: n.margin
- }), /*#__PURE__*/ S.createElement(Zrt, {
+ }), /*#__PURE__*/ S.createElement(eit, {
throttleDelay: n.throttleDelay,
throttledEvents: n.throttledEvents
- }), /*#__PURE__*/ S.createElement(Xrt, {
+ }), /*#__PURE__*/ S.createElement($rt, {
baseValue: void 0,
accessibilityLayer: n.accessibilityLayer,
barCategoryGap: n.barCategoryGap,
@@ -97137,18 +97150,18 @@ var Q6 = Xit({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ S.createElement(Git, {
+ }), /*#__PURE__*/ S.createElement(Jit, {
cx: n.cx,
cy: n.cy,
startAngle: n.startAngle,
endAngle: n.endAngle,
innerRadius: n.innerRadius,
outerRadius: n.outerRadius
- }), /*#__PURE__*/ S.createElement(Pit, Z6({}, i, { ref: t })));
+ }), /*#__PURE__*/ S.createElement(Lit, X6({}, i, { ref: t })));
});
//#endregion
//#region node_modules/recharts/es6/chart/RadarChart.js
-function tat(e, t) {
+function iat(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -97158,30 +97171,30 @@ function tat(e, t) {
}
return n;
}
-function nat(e) {
+function aat(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? tat(Object(n), !0).forEach(function(t) {
- rat(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : tat(Object(n)).forEach(function(t) {
+ t % 2 ? iat(Object(n), !0).forEach(function(t) {
+ oat(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : iat(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function rat(e, t, n) {
- return (t = iat(t)) in e ? Object.defineProperty(e, t, {
+function oat(e, t, n) {
+ return (t = sat(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function iat(e) {
- var t = aat(e, "string");
+function sat(e) {
+ var t = cat(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function aat(e, t) {
+function cat(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -97191,31 +97204,31 @@ function aat(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var oat = ["axis"], sat = nat(nat({}, Q6), {}, {
+var lat = ["axis"], uat = aat(aat({}, Z6), {}, {
layout: "centric",
startAngle: 90,
endAngle: -270
-}), cat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
- var n = CY(e, sat);
- return /*#__PURE__*/ S.createElement(eat, {
+}), dat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+ var n = wY(e, uat);
+ return /*#__PURE__*/ S.createElement(rat, {
chartName: "RadarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: oat,
+ validateTooltipEventTypes: lat,
tooltipPayloadSearcher: c4,
categoricalChartProps: n,
ref: t
});
-}), lat = ["axis"], uat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => /*#__PURE__*/ S.createElement(X6, {
+}), fat = ["axis"], pat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => /*#__PURE__*/ S.createElement(Y6, {
chartName: "AreaChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: lat,
+ validateTooltipEventTypes: fat,
tooltipPayloadSearcher: c4,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/chart/RadialBarChart.js
-function dat(e, t) {
+function mat(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -97225,30 +97238,30 @@ function dat(e, t) {
}
return n;
}
-function fat(e) {
+function hat(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? dat(Object(n), !0).forEach(function(t) {
- pat(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dat(Object(n)).forEach(function(t) {
+ t % 2 ? mat(Object(n), !0).forEach(function(t) {
+ gat(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : mat(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function pat(e, t, n) {
- return (t = mat(t)) in e ? Object.defineProperty(e, t, {
+function gat(e, t, n) {
+ return (t = _at(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mat(e) {
- var t = hat(e, "string");
+function _at(e) {
+ var t = vat(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hat(e, t) {
+function vat(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -97258,16 +97271,16 @@ function hat(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var gat = ["axis", "item"], _at = fat(fat({}, Q6), {}, {
+var yat = ["axis", "item"], bat = hat(hat({}, Z6), {}, {
layout: "radial",
startAngle: 0,
endAngle: 360
-}), vat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
- var n = CY(e, _at);
- return /*#__PURE__*/ S.createElement(eat, {
+}), xat = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+ var n = wY(e, bat);
+ return /*#__PURE__*/ S.createElement(rat, {
chartName: "RadialBarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: gat,
+ validateTooltipEventTypes: yat,
tooltipPayloadSearcher: c4,
categoricalChartProps: n,
ref: t
@@ -97275,38 +97288,38 @@ var gat = ["axis", "item"], _at = fat(fat({}, Q6), {}, {
});
//#endregion
//#region src/react/charts/cn.ts
-function $6(...e) {
+function Q6(...e) {
return eA(Lv(e));
}
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-chart.tsx
-var yat = {
+var Sat = {
light: "",
dark: ".dark"
-}, e8 = Object.keys(yat);
-function bat(e) {
- for (let [t, n] of Object.entries(e)) if (n.colors && !e8.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${e8.join(", ")}). Received empty object or invalid keys.`);
+}, $6 = Object.keys(Sat);
+function Cat(e) {
+ for (let [t, n] of Object.entries(e)) if (n.colors && !$6.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${$6.join(", ")}). Received empty object or invalid keys.`);
}
-var xat = S.createContext(null);
-function t8() {
- let e = S.useContext(xat);
+var wat = S.createContext(null);
+function e8() {
+ let e = S.useContext(wat);
if (!e) throw Error("useChart must be used within a <ChartContainer />");
return e;
}
-function n8({ id: e, config: t, initialDimension: n = {
+function t8({ id: e, config: t, initialDimension: n = {
width: 320,
height: 200
}, className: r, children: i, footer: a, ...o }) {
let s = S.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;
- return bat(t), /* @__PURE__ */ (0, C.jsx)(xat.Provider, {
+ return Cat(t), /* @__PURE__ */ (0, C.jsx)(wat.Provider, {
value: { config: t },
children: /* @__PURE__ */ (0, C.jsxs)("div", {
"data-slot": "chart",
"data-chart": c,
- className: $6("min-h-0 w-full flex-1", "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border relative flex flex-col justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", !a && "aspect-video", r),
+ className: Q6("min-h-0 w-full flex-1", "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border relative flex flex-col justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", !a && "aspect-video", r),
...o,
children: [
- /* @__PURE__ */ (0, C.jsx)(Cat, {
+ /* @__PURE__ */ (0, C.jsx)(Eat, {
id: c,
config: t
}),
@@ -97320,7 +97333,7 @@ function n8({ id: e, config: t, initialDimension: n = {
})
});
}
-function r8({ isLoading: e }) {
+function n8({ isLoading: e }) {
return e ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "pointer-events-none absolute inset-0 z-20 flex items-center justify-center",
children: /* @__PURE__ */ (0, C.jsxs)("div", {
@@ -97329,7 +97342,7 @@ function r8({ isLoading: e }) {
})
}) : null;
}
-function Sat(e, t) {
+function Tat(e, t) {
let n = e.length;
if (n >= t) return e.slice(0, t);
let r = [], i = Math.floor(t / n), a = t % n;
@@ -97339,46 +97352,46 @@ function Sat(e, t) {
}
return r;
}
-var Cat = ({ id: e, config: t }) => {
+var Eat = ({ id: e, config: t }) => {
let n = Object.entries(t).filter(([, e]) => e.colors);
if (!n.length) return null;
let r = (e) => n.flatMap(([t, n]) => {
let r = n.colors?.[e];
- return !r || !Array.isArray(r) || r.length === 0 ? [] : Sat(r, a8(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
- }).filter(Boolean).join("\n"), i = Object.entries(yat).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
+ return !r || !Array.isArray(r) || r.length === 0 ? [] : Tat(r, i8(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
+ }).filter(Boolean).join("\n"), i = Object.entries(Sat).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
return /* @__PURE__ */ (0, C.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });
};
-function i8(e, t, n) {
+function r8(e, t, n) {
if (typeof t != "object" || !t) return;
let r = "payload" in t && typeof t.payload == "object" && t.payload !== null ? t.payload : void 0, i = n;
return n in t && typeof t[n] == "string" ? i = t[n] : r && n in r && typeof r[n] == "string" && (i = r[n]), i in e ? e[i] : e[n];
}
-function a8(e) {
+function i8(e) {
if (!e.colors) return 1;
- let t = e8.map((t) => e.colors?.[t]?.length ?? 0);
+ let t = $6.map((t) => e.colors?.[t]?.length ?? 0);
return Math.max(...t, 1);
}
-var wat = (e = 10, t = 0, n = 70) => {
+var Dat = (e = 10, t = 0, n = 70) => {
let r = n - t;
return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));
-}, Tat = {
+}, Oat = {
sm: "rounded-sm",
md: "rounded-md",
lg: "rounded-lg",
xl: "rounded-xl"
-}, Eat = {
+}, kat = {
default: "bg-background",
"frosted-glass": "bg-background/70 backdrop-blur-sm"
};
-function o8({ active: e, payload: t, className: n, indicator: r = "dot", hideLabel: i = !1, hideIndicator: a = !1, label: o, labelFormatter: s, labelClassName: c, formatter: l, nameKey: u, labelKey: d, selected: f, roundness: p = "lg", variant: m = "default" }) {
- let { config: h } = t8(), g = S.useMemo(() => {
+function a8({ active: e, payload: t, className: n, indicator: r = "dot", hideLabel: i = !1, hideIndicator: a = !1, label: o, labelFormatter: s, labelClassName: c, formatter: l, nameKey: u, labelKey: d, selected: f, roundness: p = "lg", variant: m = "default" }) {
+ let { config: h } = e8(), g = S.useMemo(() => {
if (i || !t?.length) return null;
- let [e] = t, n = `${d ?? e?.dataKey ?? e?.name ?? "value"}`, r = i8(h, e, n), a = !d && typeof o == "string" ? h[o]?.label ?? o : r?.label;
+ let [e] = t, n = `${d ?? e?.dataKey ?? e?.name ?? "value"}`, r = r8(h, e, n), a = !d && typeof o == "string" ? h[o]?.label ?? o : r?.label;
return s ? /* @__PURE__ */ (0, C.jsx)("div", {
- className: $6("font-medium", c),
+ className: Q6("font-medium", c),
children: s(a, t)
}) : a ? /* @__PURE__ */ (0, C.jsx)("div", {
- className: $6("font-medium", c),
+ className: Q6("font-medium", c),
children: a
}) : null;
}, [
@@ -97393,23 +97406,23 @@ function o8({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
if (!e || !t?.length) return /* @__PURE__ */ (0, C.jsx)("span", { className: "p-4" });
let _ = t.length === 1 && r !== "dot";
return /* @__PURE__ */ (0, C.jsxs)("div", {
- className: $6("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", Tat[p], Eat[m], n),
+ className: Q6("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", Oat[p], kat[m], n),
children: [_ ? null : g, /* @__PURE__ */ (0, C.jsx)("div", {
className: "grid gap-1.5",
children: t.filter((e) => e.type !== "none").map((e, t) => {
- let n = `${(u && e.payload ? e.payload[u] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, i = i8(h, e, n), o = i ? a8(i) : 1;
+ let n = `${(u && e.payload ? e.payload[u] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, i = r8(h, e, n), o = i ? i8(i) : 1;
return /* @__PURE__ */ (0, C.jsx)("div", {
- className: $6("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5", r === "dot" && "items-center", f != null && f !== e.dataKey && "opacity-30"),
+ className: Q6("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5", r === "dot" && "items-center", f != null && f !== e.dataKey && "opacity-30"),
children: l && e?.value !== void 0 && e.name ? l(e.value, e.name, e, t, e.payload) : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [i?.icon ? /* @__PURE__ */ (0, C.jsx)(i.icon, {}) : !a && /* @__PURE__ */ (0, C.jsx)("div", {
- className: $6("shrink-0 rounded-[2px]", {
+ className: Q6("shrink-0 rounded-[2px]", {
"h-2.5 w-2.5": r === "dot",
"w-1": r === "line",
"w-0 border-[1.5px] border-dashed bg-transparent!": r === "dashed",
"my-0.5": _ && r === "dashed"
}),
- style: Dat(n, o)
+ style: Aat(n, o)
}), /* @__PURE__ */ (0, C.jsxs)("div", {
- className: $6("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
+ className: Q6("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: "grid gap-1.5",
children: [_ ? g : null, /* @__PURE__ */ (0, C.jsx)("span", {
@@ -97426,27 +97439,27 @@ function o8({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
})]
});
}
-function Dat(e, t) {
+function Aat(e, t) {
return t <= 1 ? { background: `var(--color-${e}-0)` } : { background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})` };
}
-var s8 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, C.jsx)(H0e, {
+var o8 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, C.jsx)(W0e, {
animationDuration: e,
...t
});
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-legend.tsx
-function c8({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAlign: i, align: a = "right", selected: o, onSelectChange: s, isClickable: c, variant: l = "rounded-square" }) {
- let { config: u } = t8();
+function s8({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAlign: i, align: a = "right", selected: o, onSelectChange: s, isClickable: c, variant: l = "rounded-square" }) {
+ let { config: u } = e8();
return r?.length ? /* @__PURE__ */ (0, C.jsx)("div", {
- className: $6("flex items-center gap-4 select-none", a === "left" && "justify-start", a === "center" && "justify-center", a === "right" && "justify-end", i === "top" ? "pb-4" : "pt-4", e),
+ className: Q6("flex items-center gap-4 select-none", a === "left" && "justify-start", a === "center" && "justify-center", a === "right" && "justify-end", i === "top" ? "pb-4" : "pt-4", e),
children: r.filter((e) => e.type !== "none").map((e) => {
- let r = `${(n && e.payload ? e.payload[n] : void 0) ?? e.value ?? e.dataKey ?? "value"}`, i = i8(u, e, r), a = o === null || o === r, d = i ? a8(i) : 1;
+ let r = `${(n && e.payload ? e.payload[n] : void 0) ?? e.value ?? e.dataKey ?? "value"}`, i = r8(u, e, r), a = o === null || o === r, d = i ? i8(i) : 1;
return /* @__PURE__ */ (0, C.jsxs)("div", {
- className: $6("[&>svg]:text-muted-foreground flex items-center gap-1.5 transition-opacity [&>svg]:h-3 [&>svg]:w-3", !a && "opacity-30", c && "cursor-pointer"),
+ className: Q6("[&>svg]:text-muted-foreground flex items-center gap-1.5 transition-opacity [&>svg]:h-3 [&>svg]:w-3", !a && "opacity-30", c && "cursor-pointer"),
onClick: () => {
c && s?.(o === r ? null : r);
},
- children: [i?.icon && !t ? /* @__PURE__ */ (0, C.jsx)(i.icon, {}) : /* @__PURE__ */ (0, C.jsx)(Oat, {
+ children: [i?.icon && !t ? /* @__PURE__ */ (0, C.jsx)(i.icon, {}) : /* @__PURE__ */ (0, C.jsx)(jat, {
variant: l,
dataKey: r,
colorsCount: d
@@ -97455,8 +97468,8 @@ function c8({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
})
}) : null;
}
-function Oat({ variant: e, dataKey: t, colorsCount: n }) {
- let r = kat(t, n), i = Aat(t, n);
+function jat({ variant: e, dataKey: t, colorsCount: n }) {
+ let r = Mat(t, n), i = Nat(t, n);
switch (e) {
case "square": return /* @__PURE__ */ (0, C.jsx)("div", {
className: "h-2 w-2 shrink-0",
@@ -97488,10 +97501,10 @@ function Oat({ variant: e, dataKey: t, colorsCount: n }) {
});
}
}
-function kat(e, t) {
+function Mat(e, t) {
return t <= 1 ? { backgroundColor: `var(--color-${e}-0)` } : { background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})` };
}
-function Aat(e, t) {
+function Nat(e, t) {
let n = {
WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",
WebkitMaskComposite: "xor",
@@ -97506,12 +97519,12 @@ function Aat(e, t) {
...n
};
}
-var l8 = rWe, u8 = () => null, jat = {
+var c8 = aWe, l8 = () => null, Pat = {
stiffness: 300,
damping: 35,
mass: .8
};
-function Mat({ range: e, totalPoints: t, containerRef: n, commit: r }) {
+function Fat({ range: e, totalPoints: t, containerRef: n, commit: r }) {
let i = S.useRef(null), [a, o] = S.useState(!1), s = (0, S.useCallback)((e) => !n.current || t <= 1 ? 0 : Math.round(e / n.current.getBoundingClientRect().width * (t - 1)), [t, n]), c = (0, S.useCallback)((t, n) => {
t.preventDefault(), t.target.setPointerCapture(t.pointerId), i.current = {
type: n,
@@ -97557,7 +97570,7 @@ function Mat({ range: e, totalPoints: t, containerRef: n, commit: r }) {
])
};
}
-function Nat({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: b = !1 }) {
+function Iat({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: b = !1 }) {
let x = S.useRef(null), w = S.useMemo(() => n ?? Object.keys(t), [n, t]), T = e.length, E = S.useId().replace(/:/g, ""), D = d !== void 0 && f !== void 0, [O, k] = S.useState(() => ({
startIndex: Math.max(0, Math.min(p, T - 1)),
endIndex: Math.max(0, Math.min(m ?? T - 1, T - 1))
@@ -97591,7 +97604,7 @@ function Nat({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
startIndex: n,
endIndex: r
};
- }, [T, v]), { isDragging: M, bind: N } = Mat({
+ }, [T, v]), { isDragging: M, bind: N } = Fat({
range: O,
totalPoints: T,
containerRef: x,
@@ -97618,7 +97631,7 @@ function Nat({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
]);
let F = T > 1 ? P.startIndex / (T - 1) * 100 : 0, I = T > 1 ? P.endIndex / (T - 1) * 100 : 100, ee = y_(F), L = y_(I);
ee.get() !== F && ee.set(F), L.get() !== I && L.set(I);
- let te = tie(ee, jat), ne = tie(L, jat), re = b_(te, (e) => `${e}%`), ie = b_(ne, (e) => `${e}%`), ae = b_(te, (e) => `${e}%`), oe = b_(ne, (e) => `${Math.max(0, 100 - e)}%`), se = y_(`${Math.max(0, I - F)}%`), ce = (0, S.useCallback)(() => {
+ let te = tie(ee, Pat), ne = tie(L, Pat), re = b_(te, (e) => `${e}%`), ie = b_(ne, (e) => `${e}%`), ae = b_(te, (e) => `${e}%`), oe = b_(ne, (e) => `${Math.max(0, 100 - e)}%`), se = y_(`${Math.max(0, I - F)}%`), ce = (0, S.useCallback)(() => {
se.set(`${Math.max(0, ne.get() - te.get())}%`);
}, [
te,
@@ -97638,16 +97651,16 @@ function Nat({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
return T === 0 ? null : /* @__PURE__ */ (0, C.jsxs)("div", {
ref: x,
"data-chart": b ? void 0 : E,
- className: $6("group relative select-none", o),
+ className: Q6("group relative select-none", o),
style: { height: a },
children: [
- !b && /* @__PURE__ */ (0, C.jsx)(Cat, {
+ !b && /* @__PURE__ */ (0, C.jsx)(Eat, {
id: E,
config: t
}),
/* @__PURE__ */ (0, C.jsx)("div", {
className: "absolute inset-0 overflow-hidden rounded-md",
- children: /* @__PURE__ */ (0, C.jsx)(Fat, {
+ children: /* @__PURE__ */ (0, C.jsx)(Rat, {
data: e,
keys: w,
chartConfig: t,
@@ -97676,13 +97689,13 @@ function Nat({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
},
...N("middle")
}),
- /* @__PURE__ */ (0, C.jsx)(Pat, {
+ /* @__PURE__ */ (0, C.jsx)(Lat, {
side: "left",
position: re,
label: y ? le(P.startIndex) : void 0,
bind: N("left")
}),
- /* @__PURE__ */ (0, C.jsx)(Pat, {
+ /* @__PURE__ */ (0, C.jsx)(Lat, {
side: "right",
position: ie,
label: y ? le(P.endIndex) : void 0,
@@ -97691,16 +97704,16 @@ function Nat({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
]
});
}
-function Pat({ side: e, position: t, label: n, bind: r }) {
+function Lat({ side: e, position: t, label: n, bind: r }) {
let i = e === "left";
return /* @__PURE__ */ (0, C.jsxs)(C_.div, {
className: "absolute inset-y-0 z-10",
style: { left: t },
children: [/* @__PURE__ */ (0, C.jsx)("div", {
- className: $6("group absolute inset-y-0 flex w-3 cursor-ew-resize touch-none items-center justify-center after:absolute after:inset-y-0 after:-left-4 after:w-11 after:content-['']", i ? "" : "-translate-x-full"),
+ className: Q6("group absolute inset-y-0 flex w-3 cursor-ew-resize touch-none items-center justify-center after:absolute after:inset-y-0 after:-left-4 after:w-11 after:content-['']", i ? "" : "-translate-x-full"),
...r,
children: /* @__PURE__ */ (0, C.jsx)("div", {
- className: $6("bg-muted-foreground group-hover:bg-foreground relative flex h-4 w-1.5 items-center justify-center rounded-md transition-colors", i ? "-left-[5.5px]" : "-right-[5.5px]"),
+ className: Q6("bg-muted-foreground group-hover:bg-foreground relative flex h-4 w-1.5 items-center justify-center rounded-md transition-colors", i ? "-left-[5.5px]" : "-right-[5.5px]"),
children: /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-[2px]",
children: [
@@ -97711,15 +97724,15 @@ function Pat({ side: e, position: t, label: n, bind: r }) {
})
})
}), n && /* @__PURE__ */ (0, C.jsx)("div", {
- className: $6("bg-foreground text-background pointer-events-none absolute -bottom-3 -translate-y-1/2 rounded-[3px] px-1 py-px text-[8px] leading-tight font-medium whitespace-nowrap opacity-0 group-hover:opacity-100", i ? "left-1.5" : "right-1.5"),
+ className: Q6("bg-foreground text-background pointer-events-none absolute -bottom-3 -translate-y-1/2 rounded-[3px] px-1 py-px text-[8px] leading-tight font-medium whitespace-nowrap opacity-0 group-hover:opacity-100", i ? "left-1.5" : "right-1.5"),
children: n
})]
});
}
-function Fat({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
+function Rat({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
let u = S.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({
dataKey: e,
- colorsCount: a8(t)
+ colorsCount: i8(t)
})), [n, t]), d = s === "dashed" || s === "animated-dashed" ? "4 4" : void 0, f = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [r === "area" && /* @__PURE__ */ (0, C.jsxs)("linearGradient", {
id: `${a}-zm-vertical-fade`,
x1: "0",
@@ -97776,7 +97789,7 @@ function Fat({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
if (r === "line") return /* @__PURE__ */ (0, C.jsx)(CQ, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, C.jsxs)(Hit, {
+ children: /* @__PURE__ */ (0, C.jsxs)(Git, {
data: e,
margin: {
top: 4,
@@ -97784,7 +97797,7 @@ function Fat({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
bottom: 0,
left: 0
},
- children: [/* @__PURE__ */ (0, C.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, C.jsx)(ntt, {
+ children: [/* @__PURE__ */ (0, C.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, C.jsx)(itt, {
type: i,
dataKey: e,
stroke: `url(#${a}-zm-${e})`,
@@ -97803,7 +97816,7 @@ function Fat({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
return /* @__PURE__ */ (0, C.jsx)(CQ, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, C.jsxs)(Wit, {
+ children: /* @__PURE__ */ (0, C.jsxs)(qit, {
data: e,
margin: {
top: 2,
@@ -97813,7 +97826,7 @@ function Fat({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
},
barGap: 2,
barSize: 14,
- children: [/* @__PURE__ */ (0, C.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, C.jsx)(S6, {
+ children: [/* @__PURE__ */ (0, C.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, C.jsx)(x6, {
dataKey: e,
fill: `url(#${a}-zm-${e})`,
fillOpacity: .35,
@@ -97832,7 +97845,7 @@ function Fat({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
return /* @__PURE__ */ (0, C.jsx)(CQ, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, C.jsxs)(uat, {
+ children: /* @__PURE__ */ (0, C.jsxs)(pat, {
data: e,
margin: {
top: 4,
@@ -97840,7 +97853,7 @@ function Fat({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
bottom: 0,
left: 0
},
- children: [/* @__PURE__ */ (0, C.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, C.jsx)(Htt, {
+ children: [/* @__PURE__ */ (0, C.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, C.jsx)(Wtt, {
type: i,
dataKey: e,
stroke: `url(#${a}-zm-${e})`,
@@ -97858,7 +97871,7 @@ function Fat({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
-function Iat({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
+function zat({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
let [r, i] = S.useState({
startIndex: t,
endIndex: n ?? Math.max(0, e.length - 1)
@@ -97882,7 +97895,7 @@ function Iat({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
}
};
}
-var Lat = {
+var Bat = {
dots: ({ id: e }) => /* @__PURE__ */ (0, C.jsx)("pattern", {
id: e,
x: "0",
@@ -98054,8 +98067,8 @@ var Lat = {
})
})
};
-function d8({ variant: e }) {
- let t = (0, S.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = Lat[e];
+function u8({ variant: e }) {
+ let t = (0, S.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = Bat[e];
return /* @__PURE__ */ (0, C.jsxs)(r4, {
zIndex: -1,
children: [/* @__PURE__ */ (0, C.jsxs)("defs", { children: [
@@ -98086,20 +98099,20 @@ function d8({ variant: e }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx
-var Rat = 2, zat = "loading", Bat = 2e3, Vat = "evil-stacked", Hat = .5, Uat = .05, Wat = [
+var Vat = 2, Hat = "loading", Uat = 2e3, Wat = "evil-stacked", Gat = .5, Kat = .05, qat = [
0,
.7,
.5,
1
-], Gat = (0, S.createContext)(null);
-function f8() {
- let e = (0, S.use)(Gat);
+], Jat = (0, S.createContext)(null);
+function d8() {
+ let e = (0, S.use)(Jat);
if (!e) throw Error("Bar chart parts (<Bar />, <XAxis />, …) must be used within <EvilBarChart />");
return e;
}
-function p8({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = Rat, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {
- let _ = (0, S.useId)().replace(/:/g, ""), [v] = (0, S.useState)(() => Date.now()), [y, b] = (0, S.useState)(f), [x, w] = (0, S.useState)(!1), { loadingData: T, onShimmerExit: E } = dot(m, h), { visibleData: D, brushProps: O } = Iat({ data: t }), k = (0, S.useMemo)(() => {
- let e = S.Children.toArray(n), t = e.find((e) => (0, S.isValidElement)(e) && e.type === u8), r = (0, S.isValidElement)(t) ? t.props : {};
+function f8({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = Vat, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {
+ let _ = (0, S.useId)().replace(/:/g, ""), [v] = (0, S.useState)(() => Date.now()), [y, b] = (0, S.useState)(f), [x, w] = (0, S.useState)(!1), { loadingData: T, onShimmerExit: E } = mot(m, h), { visibleData: D, brushProps: O } = zat({ data: t }), k = (0, S.useMemo)(() => {
+ let e = S.Children.toArray(n), t = e.find((e) => (0, S.isValidElement)(e) && e.type === l8), r = (0, S.isValidElement)(t) ? t.props : {};
return {
slot: {
present: (0, S.isValidElement)(t),
@@ -98107,7 +98120,7 @@ function p8({ config: e, data: t, children: n, className: r, chartProps: i, stac
formatLabel: r.formatLabel,
onChange: r.onChange
},
- chartChildren: e.filter((e) => !((0, S.isValidElement)(e) && e.type === u8))
+ chartChildren: e.filter((e) => !((0, S.isValidElement)(e) && e.type === l8))
};
}, [n]), A = k.slot.present, j = a === "stacked" || a === "percent", M = o === "horizontal", N = A && !m ? D : t, P = (0, S.useCallback)((e) => {
b(e), p?.(e);
@@ -98136,12 +98149,12 @@ function p8({ config: e, data: t, children: n, className: r, chartProps: i, stac
P,
x
]);
- return /* @__PURE__ */ (0, C.jsx)(Gat, {
+ return /* @__PURE__ */ (0, C.jsx)(Jat, {
value: F,
- children: /* @__PURE__ */ (0, C.jsxs)(n8, {
+ children: /* @__PURE__ */ (0, C.jsxs)(t8, {
className: r,
config: e,
- footer: A && !m && /* @__PURE__ */ (0, C.jsx)(Nat, {
+ footer: A && !m && /* @__PURE__ */ (0, C.jsx)(Iat, {
data: t,
chartConfig: e,
xDataKey: g,
@@ -98157,7 +98170,7 @@ function p8({ config: e, data: t, children: n, className: r, chartProps: i, stac
O.onChange(e), k.slot.onChange?.(e);
}
}),
- children: [/* @__PURE__ */ (0, C.jsx)(r8, { isLoading: m }), /* @__PURE__ */ (0, C.jsxs)(Wit, {
+ children: [/* @__PURE__ */ (0, C.jsx)(n8, { isLoading: m }), /* @__PURE__ */ (0, C.jsxs)(qit, {
id: _,
accessibilityLayer: !0,
layout: M ? "vertical" : "horizontal",
@@ -98169,10 +98182,10 @@ function p8({ config: e, data: t, children: n, className: r, chartProps: i, stac
onMouseLeave: () => w(!1),
...i,
children: [
- d && /* @__PURE__ */ (0, C.jsx)(d8, { variant: d }),
- /* @__PURE__ */ (0, C.jsx)(q7e, { color: "white" }),
+ d && /* @__PURE__ */ (0, C.jsx)(u8, { variant: d }),
+ /* @__PURE__ */ (0, C.jsx)(Y7e, { color: "white" }),
k.chartChildren,
- m && /* @__PURE__ */ (0, C.jsx)(fot, {
+ m && /* @__PURE__ */ (0, C.jsx)(hot, {
chartId: _,
onShimmerExit: E
})
@@ -98181,8 +98194,8 @@ function p8({ config: e, data: t, children: n, className: r, chartProps: i, stac
})
});
}
-function Kat({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {
- let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = f8(), b = (0, S.useId)().replace(/:/g, ""), x = x_();
+function Yat({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {
+ let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = d8(), b = (0, S.useId)().replace(/:/g, ""), x = x_();
if (f) return null;
let w = n ?? p, T = _ === e, E = x ? "none" : r ?? m, D = {
id: b,
@@ -98202,65 +98215,65 @@ function Kat({ dataKey: e, variant: t = "default", radius: n, animationType: r,
i && v(T ? null : e);
}
};
- return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(S6, {
+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(x6, {
dataKey: e,
- stackId: u ? Vat : void 0,
+ stackId: u ? Wat : void 0,
fill: `url(#${b}-colors-${e})`,
radius: w,
isAnimationActive: !1,
style: i || a ? { cursor: "pointer" } : void 0,
- shape: (e) => /* @__PURE__ */ (0, C.jsx)(Qat, {
+ shape: (e) => /* @__PURE__ */ (0, C.jsx)(tot, {
...e,
...D,
animationType: E
}),
- activeBar: (e) => /* @__PURE__ */ (0, C.jsx)(Qat, {
+ activeBar: (e) => /* @__PURE__ */ (0, C.jsx)(tot, {
...e,
...D,
animationType: "none"
}),
...c
}), /* @__PURE__ */ (0, C.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, C.jsx)(not, {
+ /* @__PURE__ */ (0, C.jsx)(aot, {
id: b,
dataKey: e,
config: l
}),
- t === "hatched" && /* @__PURE__ */ (0, C.jsx)(rot, {
+ t === "hatched" && /* @__PURE__ */ (0, C.jsx)(oot, {
id: b,
dataKey: e
}),
- t === "duotone" && /* @__PURE__ */ (0, C.jsx)(aot, {
+ t === "duotone" && /* @__PURE__ */ (0, C.jsx)(cot, {
id: b,
dataKey: e,
config: l
}),
- t === "duotone-reverse" && /* @__PURE__ */ (0, C.jsx)(oot, {
+ t === "duotone-reverse" && /* @__PURE__ */ (0, C.jsx)(lot, {
id: b,
dataKey: e,
config: l
}),
- t === "gradient" && /* @__PURE__ */ (0, C.jsx)(sot, {
+ t === "gradient" && /* @__PURE__ */ (0, C.jsx)(uot, {
id: b,
dataKey: e
}),
- t === "stripped" && /* @__PURE__ */ (0, C.jsx)(cot, {
+ t === "stripped" && /* @__PURE__ */ (0, C.jsx)(dot, {
id: b,
dataKey: e
}),
- s && /* @__PURE__ */ (0, C.jsx)(iot, {
+ s && /* @__PURE__ */ (0, C.jsx)(sot, {
id: b,
dataKey: e
}),
- o && /* @__PURE__ */ (0, C.jsx)(lot, {
+ o && /* @__PURE__ */ (0, C.jsx)(fot, {
id: b,
dataKey: e
})
] })] });
}
-function qat({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
- let { isLoading: o, isHorizontal: s } = f8();
- return o ? null : /* @__PURE__ */ (0, C.jsx)(srt, {
+function Xat({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
+ let { isLoading: o, isHorizontal: s } = d8();
+ return o ? null : /* @__PURE__ */ (0, C.jsx)(urt, {
tickLine: e,
axisLine: t,
tickMargin: n,
@@ -98269,9 +98282,9 @@ function qat({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...a
});
}
-function Jat({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
- let { isLoading: s, isHorizontal: c } = f8();
- return s ? null : /* @__PURE__ */ (0, C.jsx)(brt, {
+function Zat({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
+ let { isLoading: s, isHorizontal: c } = d8();
+ return s ? null : /* @__PURE__ */ (0, C.jsx)(Crt, {
tickLine: e,
axisLine: t,
tickMargin: n,
@@ -98281,33 +98294,33 @@ function Jat({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...o
});
}
-function Yat({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
- let { isHorizontal: i } = f8();
- return /* @__PURE__ */ (0, C.jsx)(iet, {
+function Qat({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
+ let { isHorizontal: i } = d8();
+ return /* @__PURE__ */ (0, C.jsx)(oet, {
strokeDasharray: e,
vertical: t ?? i,
horizontal: n ?? !i,
...r
});
}
-function Xat({ variant: e, roundness: t, defaultIndex: n }) {
- let { isLoading: r, selectedDataKey: i } = f8();
- return r ? null : /* @__PURE__ */ (0, C.jsx)(s8, {
+function $at({ variant: e, roundness: t, defaultIndex: n }) {
+ let { isLoading: r, selectedDataKey: i } = d8();
+ return r ? null : /* @__PURE__ */ (0, C.jsx)(o8, {
cursor: !1,
defaultIndex: n,
- content: /* @__PURE__ */ (0, C.jsx)(o8, {
+ content: /* @__PURE__ */ (0, C.jsx)(a8, {
selected: i,
roundness: t,
variant: e
})
});
}
-function Zat({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
- let { selectedDataKey: i, selectDataKey: a } = f8();
- return /* @__PURE__ */ (0, C.jsx)(l8, {
+function eot({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
+ let { selectedDataKey: i, selectDataKey: a } = d8();
+ return /* @__PURE__ */ (0, C.jsx)(c8, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, C.jsx)(c8, {
+ content: /* @__PURE__ */ (0, C.jsx)(s8, {
selected: i,
onSelectChange: a,
isClickable: r,
@@ -98315,8 +98328,8 @@ function Zat({ variant: e, align: t = "right", verticalAlign: n = "top", isClick
})
});
}
-var Qat = (e) => {
- let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, x = typeof e.index == "number" ? e.index : -1, S = u && y > 0 && x === y - 1, w = s === "stripped", T = $at(h, x, y, m, g), E = S ? `url(#${a}-buffer-hatched-${o})` : eot(s, a, o), D = l ? `url(#${a}-bar-glow-${o})` : void 0, O = tot({
+var tot = (e) => {
+ let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, x = typeof e.index == "number" ? e.index : -1, S = u && y > 0 && x === y - 1, w = s === "stripped", T = not(h, x, y, m, g), E = S ? `url(#${a}-buffer-hatched-${o})` : rot(s, a, o), D = l ? `url(#${a}-bar-glow-${o})` : void 0, O = iot({
isClickable: d,
selectedDataKey: _,
dataKey: o,
@@ -98361,7 +98374,7 @@ var Qat = (e) => {
children: j
}) : j]
});
-}, $at = (e, t, n, r, i) => {
+}, not = (e, t, n, r, i) => {
if (e === "none" || t < 0 || n <= 0) return null;
let a = n - 1, o = a / 2, s;
switch (e) {
@@ -98376,11 +98389,11 @@ var Qat = (e) => {
break;
default: s = t;
}
- let c = s * Uat * 1e3, l = Hat * 1e3, u = c + l, d = Date.now() - i;
+ let c = s * Kat * 1e3, l = Gat * 1e3, u = c + l, d = Date.now() - i;
if (d >= u) return null;
let f = d <= c ? 0 : (d - c) / l, p = {
duration: (u - Math.max(d, c)) / 1e3,
- ease: Wat,
+ ease: qat,
delay: Math.max(0, c - d) / 1e3
};
return r ? {
@@ -98394,7 +98407,7 @@ var Qat = (e) => {
transition: p,
style: { originY: 1 }
};
-}, eot = (e, t, n) => {
+}, rot = (e, t, n) => {
switch (e) {
case "hatched": return `url(#${t}-hatched-${n})`;
case "duotone": return `url(#${t}-duotone-${n})`;
@@ -98403,11 +98416,11 @@ var Qat = (e) => {
case "stripped": return `url(#${t}-stripped-${n})`;
default: return `url(#${t}-colors-${n})`;
}
-}, tot = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
+}, iot = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
let o = e && t !== null ? t === null || t === n ? 1 : .15 : 1;
return r && i ? a ? o : o * .3 : o;
-}, not = ({ id: e, dataKey: t, config: n }) => {
- let r = a8(n[t] ?? {});
+}, aot = ({ id: e, dataKey: t, config: n }) => {
+ let r = i8(n[t] ?? {});
return /* @__PURE__ */ (0, C.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
x1: "0",
@@ -98428,7 +98441,7 @@ var Qat = (e) => {
}, i);
})
});
-}, rot = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
+}, oot = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsxs)("pattern", {
id: `${e}-hatched-mask-pattern`,
x: "0",
@@ -98469,7 +98482,7 @@ var Qat = (e) => {
mask: `url(#${e}-hatched-mask-${t})`
})
})
-] }), iot = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
+] }), sot = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsxs)("pattern", {
id: `${e}-buffer-hatched-mask-pattern`,
x: "0",
@@ -98510,8 +98523,8 @@ var Qat = (e) => {
mask: `url(#${e}-buffer-hatched-mask-${t})`
})
})
-] }), aot = ({ id: e, dataKey: t, config: n }) => {
- let r = a8(n[t] ?? {});
+] }), cot = ({ id: e, dataKey: t, config: n }) => {
+ let r = i8(n[t] ?? {});
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsxs)("linearGradient", {
id: `${e}-duotone-mask-gradient-${t}`,
@@ -98578,8 +98591,8 @@ var Qat = (e) => {
})
})
] });
-}, oot = ({ id: e, dataKey: t, config: n }) => {
- let r = a8(n[t] ?? {});
+}, lot = ({ id: e, dataKey: t, config: n }) => {
+ let r = i8(n[t] ?? {});
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsxs)("linearGradient", {
id: `${e}-duotone-reverse-mask-gradient-${t}`,
@@ -98646,7 +98659,7 @@ var Qat = (e) => {
})
})
] });
-}, sot = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
+}, uot = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsxs)("linearGradient", {
id: `${e}-gradient-mask-gradient`,
x1: "0",
@@ -98683,7 +98696,7 @@ var Qat = (e) => {
mask: `url(#${e}-gradient-mask-${t})`
})
})
-] }), cot = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
+] }), dot = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsxs)("linearGradient", {
id: `${e}-stripped-mask-gradient`,
x1: "0",
@@ -98720,7 +98733,7 @@ var Qat = (e) => {
mask: `url(#${e}-stripped-mask-${t})`
})
})
-] }), lot = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, C.jsxs)("filter", {
+] }), fot = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, C.jsxs)("filter", {
id: `${e}-bar-glow-${t}`,
x: "-100%",
y: "-100%",
@@ -98740,35 +98753,35 @@ var Qat = (e) => {
}),
/* @__PURE__ */ (0, C.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, C.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, C.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), uot = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
+}), pot = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
let a = i / (e - 1), o = t + Math.sin(a * Math.PI) ** 2 * (n - t);
return {
offset: `${(a * 100).toFixed(0)}%`,
opacity: Number(o.toFixed(3))
};
});
-function dot(e, t = 12) {
+function mot(e, t = 12) {
let [n, r] = (0, S.useState)(!1), i = (0, S.useCallback)(() => {
e && r((e) => !e);
}, [e]);
return {
- loadingData: (0, S.useMemo)(() => wat(t, 20, 80), [t, n]),
+ loadingData: (0, S.useMemo)(() => Dat(t, 20, 80), [t, n]),
onShimmerExit: i
};
}
-var fot = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(S6, {
- dataKey: zat,
+var hot = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(x6, {
+ dataKey: Hat,
fill: "currentColor",
fillOpacity: .15,
- radius: Rat,
+ radius: Vat,
isAnimationActive: !1,
legendType: "none",
style: { mask: `url(#${e}-loading-mask)` }
-}), /* @__PURE__ */ (0, C.jsx)("defs", { children: /* @__PURE__ */ (0, C.jsx)(pot, {
+}), /* @__PURE__ */ (0, C.jsx)("defs", { children: /* @__PURE__ */ (0, C.jsx)(got, {
chartId: e,
onShimmerExit: t
-}) })] }), pot = ({ chartId: e, onShimmerExit: t }) => {
- let n = uot(), r = (0, S.useRef)(-1);
+}) })] }), got = ({ chartId: e, onShimmerExit: t }) => {
+ let n = pot(), r = (0, S.useRef)(-1);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsx)("linearGradient", {
id: `${e}-loading-mask-gradient`,
@@ -98799,7 +98812,7 @@ var fot = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fr
initial: { x: -1 },
animate: { x: 2 },
transition: {
- duration: Bat / 1e3,
+ duration: Uat / 1e3,
ease: "linear",
repeat: Infinity,
repeatType: "loop"
@@ -98821,13 +98834,13 @@ var fot = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fr
})
] });
};
-p8.Bar = Kat, p8.XAxis = qat, p8.YAxis = Jat, p8.Grid = Yat, p8.Tooltip = Xat, p8.Legend = Zat, p8.Brush = u8;
+f8.Bar = Yat, f8.XAxis = Xat, f8.YAxis = Zat, f8.Grid = Qat, f8.Tooltip = $at, f8.Legend = eot, f8.Brush = l8;
//#endregion
//#region src/react/charts/chart-card.tsx
-var m8 = `${oA({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
-function h8({ title: e, children: t }) {
+var p8 = `${oA({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
+function m8({ title: e, children: t }) {
return /* @__PURE__ */ (0, C.jsxs)("section", {
- className: m8,
+ className: p8,
"aria-label": e,
children: [/* @__PURE__ */ (0, C.jsx)("h3", {
className: "text-title-2-medium text-text-primary",
@@ -98838,31 +98851,31 @@ function h8({ title: e, children: t }) {
})]
});
}
-var mot = (e) => (e.codePointAt(0) ?? 0) > 11903 ? 13 : 7, hot = (e) => [...new Intl.Segmenter(void 0, { granularity: "grapheme" }).segment(e)].map((e) => e.segment), g8;
-function got(e) {
- if (g8 === void 0) try {
- g8 = document.createElement("canvas").getContext("2d"), g8 && (g8.font = `12px ${getComputedStyle(document.body).fontFamily || "sans-serif"}`);
+var _ot = (e) => (e.codePointAt(0) ?? 0) > 11903 ? 13 : 7, vot = (e) => [...new Intl.Segmenter(void 0, { granularity: "grapheme" }).segment(e)].map((e) => e.segment), h8;
+function yot(e) {
+ if (h8 === void 0) try {
+ h8 = document.createElement("canvas").getContext("2d"), h8 && (h8.font = `12px ${getComputedStyle(document.body).fontFamily || "sans-serif"}`);
} catch {
- g8 = null;
+ h8 = null;
}
- return g8 ? g8.measureText(e).width : null;
+ return h8 ? h8.measureText(e).width : null;
}
-var _8 = (e) => got(e) ?? hot(e).reduce((e, t) => e + mot(t), 0);
-function _ot(e, t) {
- if (_8(e) <= t) return e;
- let n = hot(e), r = 0;
- for (; r < n.length && _8(`${n.slice(0, r + 1).join("")}…`) <= t;) r += 1;
+var g8 = (e) => yot(e) ?? vot(e).reduce((e, t) => e + _ot(t), 0);
+function bot(e, t) {
+ if (g8(e) <= t) return e;
+ let n = vot(e), r = 0;
+ for (; r < n.length && g8(`${n.slice(0, r + 1).join("")}…`) <= t;) r += 1;
return `${n.slice(0, r).join("")}…`;
}
-var vot = (e, t = 104) => Math.min(t, Math.max(24, ...e.map(_8)) + 12);
-function v8(e) {
+var xot = (e, t = 104) => Math.min(t, Math.max(24, ...e.map(g8)) + 12);
+function _8(e) {
let { along: t, payload: n, width: r = 0, visibleTicksCount: i = 1, ...a } = e, o = String(n?.value ?? ""), s = t === "x" ? r / Math.max(1, i) - 2 : r - 8;
return /* @__PURE__ */ (0, C.jsxs)("g", { children: [/* @__PURE__ */ (0, C.jsx)("title", { children: o }), /* @__PURE__ */ (0, C.jsx)(v4, {
...a,
- children: _ot(o, s)
+ children: bot(o, s)
})] });
}
-function y8({ title: e, figure: t, note: n }) {
+function v8({ title: e, figure: t, note: n }) {
return /* @__PURE__ */ (0, C.jsxs)("header", {
className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",
children: [/* @__PURE__ */ (0, C.jsxs)("span", {
@@ -98880,24 +98893,24 @@ function y8({ title: e, figure: t, note: n }) {
})]
});
}
-var b8 = [
+var y8 = [
"var(--color-chart-1)",
"var(--color-chart-2)",
"var(--color-chart-3)",
"var(--color-chart-4)",
"var(--color-chart-5)",
"var(--color-chart-6)"
-], x8 = (e) => ({ light: [e] }), S8 = (e) => `s${e}`;
-function yot(e) {
- return Object.fromEntries(e.map((e, t) => [S8(t), {
+], b8 = (e) => ({ light: [e] }), x8 = (e) => `s${e}`;
+function Sot(e) {
+ return Object.fromEntries(e.map((e, t) => [x8(t), {
label: e,
- colors: x8(b8[t % b8.length])
+ colors: b8(y8[t % y8.length])
}]));
}
//#endregion
//#region src/react/charts/chart-tip.tsx
-var bot = "flex min-w-32 flex-col gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl";
-function xot({ swatch: e, name: t, value: n }) {
+var Cot = "flex min-w-32 flex-col gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl";
+function wot({ swatch: e, name: t, value: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex w-full items-center gap-2",
children: [e, /* @__PURE__ */ (0, C.jsxs)("div", {
@@ -98912,33 +98925,33 @@ function xot({ swatch: e, name: t, value: n }) {
})]
});
}
-var Sot = "size-2.5 shrink-0 rounded-xs";
-function Cot({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
- let { config: o } = t8(), s = (t ?? []).filter((e) => e.type !== "none");
+var Tot = "size-2.5 shrink-0 rounded-xs";
+function Eot({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
+ let { config: o } = e8(), s = (t ?? []).filter((e) => e.type !== "none");
if (!e || !s.length) return /* @__PURE__ */ (0, C.jsx)("span", { className: "p-4" });
let c = a || typeof n != "string" ? null : o[n]?.label ?? n;
return /* @__PURE__ */ (0, C.jsxs)("div", {
- className: bot,
+ className: Cot,
children: [c ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "font-medium text-foreground",
children: c
}) : null, s.map((e, t) => {
- let n = e.payload ?? {}, a = `${(r ? n[r] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, s = i8(o, e, a), c = i ? n[i] : e.value;
- return /* @__PURE__ */ (0, C.jsx)(xot, {
+ let n = e.payload ?? {}, a = `${(r ? n[r] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, s = r8(o, e, a), c = i ? n[i] : e.value;
+ return /* @__PURE__ */ (0, C.jsx)(wot, {
name: s?.label ?? e.name,
value: Number(c ?? 0),
swatch: /* @__PURE__ */ (0, C.jsx)("i", {
- className: Sot,
+ className: Tot,
style: { background: `var(--color-${a}-0)` }
})
}, a + t);
})]
});
}
-function C8({ nameKey: e, valueKey: t, hideLabel: n }) {
- return /* @__PURE__ */ (0, C.jsx)(s8, {
+function S8({ nameKey: e, valueKey: t, hideLabel: n }) {
+ return /* @__PURE__ */ (0, C.jsx)(o8, {
cursor: !1,
- content: /* @__PURE__ */ (0, C.jsx)(Cot, {
+ content: /* @__PURE__ */ (0, C.jsx)(Eot, {
nameKey: e,
valueKey: t,
hideLabel: n
@@ -98947,41 +98960,41 @@ function C8({ nameKey: e, valueKey: t, hideLabel: n }) {
}
//#endregion
//#region src/react/charts/bar-card.tsx
-var w8 = [0, (e) => e * 1.2];
-function wot(e) {
+var C8 = [0, (e) => e * 1.2];
+function Dot(e) {
let t = Math.abs(e), n = (t, n) => {
let r = e / t;
return `${r.toLocaleString(void 0, { maximumFractionDigits: +(Math.abs(r) < 100) })}${n}`;
};
return t >= 1e8 ? n(1e8, "亿") : t >= 1e5 ? n(1e4, "万") : e.toLocaleString();
}
-var Tot = (e) => ({
+var Oot = (e) => ({
position: e,
className: "fill-text-secondary",
- formatter: (e) => wot(Number(e))
+ formatter: (e) => Dot(Number(e))
});
-function T8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout: o = "vertical" }) {
+function w8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout: o = "vertical" }) {
let s = r.filter((e) => Number.isFinite(e.value) && e.value >= 0).map((e) => ({
name: e.name,
value: e.value
})), c = s.reduce((e, t) => e + t.value, 0);
- if (!c) return /* @__PURE__ */ (0, C.jsx)(h8, {
+ if (!c) return /* @__PURE__ */ (0, C.jsx)(m8, {
title: e,
children: a
});
let l = o === "horizontal";
return /* @__PURE__ */ (0, C.jsxs)("section", {
- className: m8,
+ className: p8,
"aria-label": e,
- children: [/* @__PURE__ */ (0, C.jsx)(y8, {
+ children: [/* @__PURE__ */ (0, C.jsx)(v8, {
title: e,
figure: c.toLocaleString(),
note: t
- }), /* @__PURE__ */ (0, C.jsxs)(p8, {
+ }), /* @__PURE__ */ (0, C.jsxs)(f8, {
data: s,
config: { value: {
label: n,
- colors: x8(i)
+ colors: b8(i)
} },
layout: o,
barRadius: 4,
@@ -98993,40 +99006,40 @@ function T8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout:
} } : void 0,
className: l ? "aspect-auto h-64 flex-none text-text-secondary" : "aspect-auto h-56 flex-none text-text-secondary",
children: [
- /* @__PURE__ */ (0, C.jsx)(p8.Grid, {}),
- l ? /* @__PURE__ */ (0, C.jsx)(p8.YAxis, {
+ /* @__PURE__ */ (0, C.jsx)(f8.Grid, {}),
+ l ? /* @__PURE__ */ (0, C.jsx)(f8.YAxis, {
dataKey: "name",
interval: 0,
- tick: /* @__PURE__ */ (0, C.jsx)(v8, { along: "y" }),
- width: vot(s.map((e) => e.name))
- }) : /* @__PURE__ */ (0, C.jsx)(p8.XAxis, {
+ tick: /* @__PURE__ */ (0, C.jsx)(_8, { along: "y" }),
+ width: xot(s.map((e) => e.name))
+ }) : /* @__PURE__ */ (0, C.jsx)(f8.XAxis, {
dataKey: "name",
interval: 0,
- tick: /* @__PURE__ */ (0, C.jsx)(v8, { along: "x" })
+ tick: /* @__PURE__ */ (0, C.jsx)(_8, { along: "x" })
}),
- l ? /* @__PURE__ */ (0, C.jsx)(p8.XAxis, {
+ l ? /* @__PURE__ */ (0, C.jsx)(f8.XAxis, {
hide: !0,
- domain: w8
- }) : /* @__PURE__ */ (0, C.jsx)(p8.YAxis, {
+ domain: C8
+ }) : /* @__PURE__ */ (0, C.jsx)(f8.YAxis, {
hide: !0,
- domain: w8
+ domain: C8
}),
- /* @__PURE__ */ (0, C.jsx)(p8.Bar, {
+ /* @__PURE__ */ (0, C.jsx)(f8.Bar, {
dataKey: "value",
enableHoverHighlight: !0,
barProps: {
dataKey: "value",
- label: Tot(l ? "right" : "top")
+ label: Oot(l ? "right" : "top")
}
}),
- /* @__PURE__ */ (0, C.jsx)(C8, {})
+ /* @__PURE__ */ (0, C.jsx)(S8, {})
]
})]
});
}
//#endregion
//#region src/react/charts/heat.ts
-var Eot = [
+var kot = [
"周一",
"周二",
"周三",
@@ -99034,8 +99047,8 @@ var Eot = [
"周五",
"周六",
"周日"
-], Dot = (e, t) => e ? Math.max(.12, e / t) : 0;
-function Oot(e) {
+], Aot = (e, t) => e ? Math.max(.12, e / t) : 0;
+function jot(e) {
let t = Array.from({ length: 7 }, () => Array(24).fill(0));
for (let n of e?.hours || []) {
let { weekday: e, hour: r, count: i } = n;
@@ -99045,14 +99058,14 @@ function Oot(e) {
return {
cells: t.flatMap((e, t) => e.map((e, n) => ({
key: `${t}-${n}`,
- label: `${Eot[t]} ${n}:00`,
+ label: `${kot[t]} ${n}:00`,
count: e,
- share: Dot(e, r)
+ share: Aot(e, r)
}))),
total: n.reduce((e, t) => e + t, 0)
};
}
-function kot(e) {
+function Mot(e) {
let t = (e?.days || []).filter((e) => /^\d{4}-\d{2}-\d{2}$/.test(e.date) && Number.isFinite(e.count) && e.count >= 0).slice().sort((e, t) => e.date.localeCompare(t.date)), n = {
cells: [],
total: 0,
@@ -99070,7 +99083,7 @@ function kot(e) {
key: r,
label: r,
count: s,
- share: Dot(s, o)
+ share: Aot(s, o)
};
});
return {
@@ -99082,7 +99095,7 @@ function kot(e) {
}
//#endregion
//#region src/react/charts/heat-card.tsx
-var E8 = 14, D8 = 17, Aot = {
+var T8 = 14, E8 = 17, Not = {
4: {
fill: "fill-chart-4",
dot: "bg-chart-4"
@@ -99091,42 +99104,42 @@ var E8 = 14, D8 = 17, Aot = {
fill: "fill-chart-5",
dot: "bg-chart-5"
}
-}, jot = {
+}, Pot = {
start: "translate-x-0",
center: "-translate-x-1/2",
end: "-translate-x-full"
};
-function Mot({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
+function Fot({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
"aria-hidden": !0,
style: {
left: `${r}%`,
top: `${i}%`
},
- className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${bot} ${jot[a]}`,
+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${Cot} ${Pot[a]}`,
children: [/* @__PURE__ */ (0, C.jsx)("div", {
className: "font-medium text-foreground",
children: e.label
- }), /* @__PURE__ */ (0, C.jsx)(xot, {
+ }), /* @__PURE__ */ (0, C.jsx)(wot, {
name: t,
value: e.count,
- swatch: /* @__PURE__ */ (0, C.jsx)("i", { className: `${Sot} ${Aot[n].dot}` })
+ swatch: /* @__PURE__ */ (0, C.jsx)("i", { className: `${Tot} ${Not[n].dot}` })
})]
});
}
-function Not({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {
- let [l, u] = (0, S.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * D8, m = f + a * D8, h = (e) => ({
- x: d + e % i * D8,
- y: f + Math.floor(e / i) * D8
- }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + E8 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", b = _ ? {
+function Iot({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {
+ let [l, u] = (0, S.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * E8, m = f + a * E8, h = (e) => ({
+ x: d + e % i * E8,
+ y: f + Math.floor(e / i) * E8
+ }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + T8 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", b = _ ? {
start: _.x,
- center: _.x + E8 / 2,
- end: _.x + E8
+ center: _.x + T8 / 2,
+ end: _.x + T8
}[y] : 0;
return /* @__PURE__ */ (0, C.jsxs)("section", {
- className: m8,
+ className: p8,
children: [
- /* @__PURE__ */ (0, C.jsx)(y8, {
+ /* @__PURE__ */ (0, C.jsx)(v8, {
title: e,
figure: (g ? g.count : r).toLocaleString(),
note: g ? g.label : t.unit
@@ -99149,19 +99162,19 @@ function Not({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis
"aria-label": `${e.label},${e.count} ${t.cellUnit}`,
x: r,
y: i,
- width: E8,
- height: E8,
+ width: T8,
+ height: T8,
rx: 3,
fillOpacity: e.share || 1,
opacity: l >= 0 && l !== n ? .4 : 1,
- className: e.share ? `outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring ${Aot[c].fill}` : "fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring",
+ className: e.share ? `outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring ${Not[c].fill}` : "fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring",
onPointerEnter: () => u(n),
onFocus: () => u(n),
onBlur: () => u(-1)
}, e.key);
})]
})
- }), g && _ ? /* @__PURE__ */ (0, C.jsx)(Mot, {
+ }), g && _ ? /* @__PURE__ */ (0, C.jsx)(Fot, {
cell: g,
series: t.series,
tone: c,
@@ -99177,24 +99190,24 @@ function Not({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis
]
});
}
-var Pot = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [Eot.map((e, t) => /* @__PURE__ */ (0, C.jsx)("text", {
+var Lot = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [kot.map((e, t) => /* @__PURE__ */ (0, C.jsx)("text", {
x: 0,
- y: 18 + t * D8 + 7,
+ y: 18 + t * E8 + 7,
dominantBaseline: "middle",
className: "fill-text-secondary text-caption-1-regular",
children: e
}, e)), Array.from({ length: 24 }, (e, t) => t % 2 ? null : /* @__PURE__ */ (0, C.jsx)("text", {
- x: 30 + t * D8,
+ x: 30 + t * E8,
y: 8,
dominantBaseline: "middle",
className: "fill-text-secondary text-caption-1-regular",
children: t
}, t))] });
-function Fot({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
- let o = Oot(e), s = kot(e);
+function Rot({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
+ let o = jot(e), s = Mot(e);
return s.cells.length ? /* @__PURE__ */ (0, C.jsxs)("div", {
className: "inline-grid w-full items-start gap-5 lg:grid-cols-2",
- children: [/* @__PURE__ */ (0, C.jsx)(Not, {
+ children: [/* @__PURE__ */ (0, C.jsx)(Iot, {
title: t,
words: r,
tone: i,
@@ -99202,9 +99215,9 @@ function Fot({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
total: o.total,
columns: 24,
rows: 7,
- axis: Pot,
+ axis: Lot,
footer: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, C.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })
- }), /* @__PURE__ */ (0, C.jsx)(Not, {
+ }), /* @__PURE__ */ (0, C.jsx)(Iot, {
title: n,
words: r,
tone: i,
@@ -99214,14 +99227,14 @@ function Fot({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
rows: 7,
footer: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("span", { children: s.start }), /* @__PURE__ */ (0, C.jsx)("span", { children: s.end })] })
})]
- }) : /* @__PURE__ */ (0, C.jsx)(h8, {
+ }) : /* @__PURE__ */ (0, C.jsx)(m8, {
title: t,
children: a
});
}
//#endregion
//#region src/react/components/expandable-ranking.tsx
-function Iot({ children: e, className: t = "", previewCount: n = 10 }) {
+function zot({ children: e, className: t = "", previewCount: n = 10 }) {
let r = (0, S.useId)(), i = (0, S.useRef)(null), [a, o] = (0, S.useState)(!1), [s, c] = (0, S.useState)(!1), l = S.Children.toArray(e), u = l.length > n;
(0, S.useLayoutEffect)(() => {
let e = i.current;
@@ -99268,14 +99281,14 @@ function Iot({ children: e, className: t = "", previewCount: n = 10 }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx
-var Lot = "30%", Rot = "100%", zot = 5, Bot = 14, Vot = 5, Hot = 1500, Uot = (0, S.createContext)(null);
-function O8() {
- let e = (0, S.use)(Uot);
+var Bot = "30%", Vot = "100%", Hot = 5, Uot = 14, Wot = 5, Got = 1500, Kot = (0, S.createContext)(null);
+function D8() {
+ let e = (0, S.use)(Kot);
if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");
return e;
}
-function k8({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = Lot, outerRadius: l = Rot, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
- let m = (0, S.useId)().replace(/:/g, ""), [h, g] = (0, S.useState)(u), _ = Xot(f), v = qot(o), y = (0, S.useCallback)((e, t) => {
+function O8({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = Bot, outerRadius: l = Vot, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
+ let m = (0, S.useId)().replace(/:/g, ""), [h, g] = (0, S.useState)(u), _ = $ot(f), v = Xot(o), y = (0, S.useCallback)((e, t) => {
g(e), d?.(e === null ? null : {
dataKey: e,
value: t ?? 0
@@ -99302,12 +99315,12 @@ function k8({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
h,
y
]);
- return /* @__PURE__ */ (0, C.jsx)(Uot, {
+ return /* @__PURE__ */ (0, C.jsx)(Kot, {
value: x,
- children: /* @__PURE__ */ (0, C.jsxs)(n8, {
+ children: /* @__PURE__ */ (0, C.jsxs)(t8, {
className: i,
config: e,
- children: [/* @__PURE__ */ (0, C.jsx)(r8, { isLoading: f }), /* @__PURE__ */ (0, C.jsxs)(vat, {
+ children: [/* @__PURE__ */ (0, C.jsx)(n8, { isLoading: f }), /* @__PURE__ */ (0, C.jsxs)(xat, {
id: m,
data: f ? _ : b,
innerRadius: c,
@@ -99324,10 +99337,10 @@ function k8({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
tick: !1,
axisLine: !1
}),
- p && /* @__PURE__ */ (0, C.jsx)(d8, { variant: p }),
+ p && /* @__PURE__ */ (0, C.jsx)(u8, { variant: p }),
r,
- f && /* @__PURE__ */ (0, C.jsx)(Zot, {}),
- /* @__PURE__ */ (0, C.jsx)("defs", { children: /* @__PURE__ */ (0, C.jsx)(Jot, {
+ f && /* @__PURE__ */ (0, C.jsx)(est, {}),
+ /* @__PURE__ */ (0, C.jsx)("defs", { children: /* @__PURE__ */ (0, C.jsx)(Zot, {
config: e,
chartId: m
}) })
@@ -99336,8 +99349,8 @@ function k8({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
})
});
}
-function Wot({ dataKey: e, cornerRadius: t = zot, barSize: n = Bot, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
- let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = O8();
+function qot({ dataKey: e, cornerRadius: t = Hot, barSize: n = Uot, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
+ let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = D8();
return s ? null : /* @__PURE__ */ (0, C.jsx)(R3, {
dataKey: e,
cornerRadius: t,
@@ -99361,12 +99374,12 @@ function Wot({ dataKey: e, cornerRadius: t = zot, barSize: n = Bot, showBackgrou
...a
});
}
-function Got({ variant: e, roundness: t, defaultIndex: n }) {
- let { nameKey: r, isLoading: i } = O8();
- return i ? null : /* @__PURE__ */ (0, C.jsx)(s8, {
+function Jot({ variant: e, roundness: t, defaultIndex: n }) {
+ let { nameKey: r, isLoading: i } = D8();
+ return i ? null : /* @__PURE__ */ (0, C.jsx)(o8, {
defaultIndex: n,
cursor: !1,
- content: /* @__PURE__ */ (0, C.jsx)(o8, {
+ content: /* @__PURE__ */ (0, C.jsx)(a8, {
nameKey: r,
hideLabel: !0,
roundness: t,
@@ -99374,12 +99387,12 @@ function Got({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function Kot({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
- let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = O8();
- return a ? null : /* @__PURE__ */ (0, C.jsx)(l8, {
+function Yot({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+ let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = D8();
+ return a ? null : /* @__PURE__ */ (0, C.jsx)(c8, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, C.jsx)(c8, {
+ content: /* @__PURE__ */ (0, C.jsx)(s8, {
selected: o,
onSelectChange: s,
isClickable: r,
@@ -99388,7 +99401,7 @@ function Kot({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-function qot(e) {
+function Xot(e) {
switch (e) {
case "semi": return {
startAngle: 180,
@@ -99404,8 +99417,8 @@ function qot(e) {
};
}
}
-var Jot = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, C.jsx)(C.Fragment, { children: Object.entries(e).map(([e, n]) => {
- let r = a8(n);
+var Zot = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, C.jsx)(C.Fragment, { children: Object.entries(e).map(([e, n]) => {
+ let r = i8(n);
return /* @__PURE__ */ (0, C.jsx)("linearGradient", {
id: `${t}-radial-colors-${e}`,
x1: "0",
@@ -99427,29 +99440,29 @@ var Jot = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, C.jsx)(C.Fragment,
})
}, `${t}-radial-colors-${e}`);
}) });
-function Yot() {
- return Array.from({ length: Vot }, (e, t) => ({
+function Qot() {
+ return Array.from({ length: Wot }, (e, t) => ({
name: `loading${t}`,
value: 40 + Math.random() * 60
}));
}
-function Xot(e) {
+function $ot(e) {
let [t, n] = (0, S.useState)(0);
return (0, S.useEffect)(() => {
if (!e) return;
let t = setInterval(() => {
n((e) => e + 1);
- }, Hot);
+ }, Got);
return () => clearInterval(t);
- }, [e]), (0, S.useMemo)(() => Yot(), [t]);
+ }, [e]), (0, S.useMemo)(() => Qot(), [t]);
}
-var Zot = () => /* @__PURE__ */ (0, C.jsx)(R3, {
+var est = () => /* @__PURE__ */ (0, C.jsx)(R3, {
dataKey: "value",
- cornerRadius: zot,
- barSize: Bot,
+ cornerRadius: Hot,
+ barSize: Uot,
background: !0,
isAnimationActive: !0,
- animationDuration: Hot,
+ animationDuration: Got,
animationEasing: "ease-in-out",
shape: (e) => /* @__PURE__ */ (0, C.jsx)(o$, {
...e,
@@ -99457,17 +99470,17 @@ var Zot = () => /* @__PURE__ */ (0, C.jsx)(R3, {
fillOpacity: .25
})
});
-k8.RadialBar = Wot, k8.Tooltip = Got, k8.Legend = Kot;
+O8.RadialBar = qot, O8.Tooltip = Jot, O8.Legend = Yot;
//#endregion
//#region src/react/stats/radial-card.tsx
-var Qot = [
+var tst = [
"bg-chart-1",
"bg-chart-2",
"bg-chart-3",
"bg-chart-4",
"bg-chart-5",
"bg-chart-6"
-], $ot = [
+], nst = [
"aria-pressed:bg-chart-1/10 aria-pressed:ring-chart-1",
"aria-pressed:bg-chart-2/10 aria-pressed:ring-chart-2",
"aria-pressed:bg-chart-3/10 aria-pressed:ring-chart-3",
@@ -99475,19 +99488,19 @@ var Qot = [
"aria-pressed:bg-chart-5/10 aria-pressed:ring-chart-5",
"aria-pressed:bg-chart-6/10 aria-pressed:ring-chart-6"
];
-function est({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
- let [i, a] = (0, S.useState)(-1), [o, s] = (0, S.useState)(-1), c = ULe(t);
- if (!c.length) return /* @__PURE__ */ (0, C.jsx)(h8, {
+function rst({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
+ let [i, a] = (0, S.useState)(-1), [o, s] = (0, S.useState)(-1), c = WLe(t);
+ if (!c.length) return /* @__PURE__ */ (0, C.jsx)(m8, {
title: e,
children: n
});
- let l = o >= 0 ? o : i, u = c.reduce((e, t) => e + t.value, 0), d = c[l], f = (e) => a((t) => t === e ? -1 : e), p = WLe(c.map((e) => e.value)), m = c.map((e, t) => ({
- slice: S8(t),
+ let l = o >= 0 ? o : i, u = c.reduce((e, t) => e + t.value, 0), d = c[l], f = (e) => a((t) => t === e ? -1 : e), p = GLe(c.map((e) => e.value)), m = c.map((e, t) => ({
+ slice: x8(t),
value: e.value,
- arc: GLe(e.value, p)
+ arc: KLe(e.value, p)
}));
return /* @__PURE__ */ (0, C.jsxs)("section", {
- className: m8,
+ className: p8,
children: [
/* @__PURE__ */ (0, C.jsxs)("header", {
className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",
@@ -99509,16 +99522,16 @@ function est({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
role: "img",
"aria-label": e,
onPointerLeave: () => s(-1),
- children: /* @__PURE__ */ (0, C.jsxs)(k8, {
+ children: /* @__PURE__ */ (0, C.jsxs)(O8, {
data: m,
nameKey: "slice",
- config: yot(c.map((e) => e.name)),
+ config: Sot(c.map((e) => e.name)),
max: p,
innerRadius: "22%",
className: "aspect-auto h-75 max-sm:h-65",
- children: [/* @__PURE__ */ (0, C.jsx)(k8.RadialBar, {
+ children: [/* @__PURE__ */ (0, C.jsx)(O8.RadialBar, {
dataKey: "arc",
- barSize: KLe(c.length),
+ barSize: qLe(c.length),
radialBarProps: {
shape: (e) => /* @__PURE__ */ (0, C.jsx)(o$, {
...e,
@@ -99528,7 +99541,7 @@ function est({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
onClick: (e, t) => f(t),
onMouseEnter: (e, t) => s(t)
}
- }), /* @__PURE__ */ (0, C.jsx)(C8, {
+ }), /* @__PURE__ */ (0, C.jsx)(S8, {
nameKey: "slice",
valueKey: "value",
hideLabel: !0
@@ -99545,13 +99558,13 @@ function est({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
onPointerLeave: () => s(-1),
onFocus: () => s(t),
onBlur: () => s(-1),
- className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${$ot[t % 6]}`,
+ className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${nst[t % 6]}`,
children: [
/* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 max-w-full items-start gap-1.5 text-caption-1-regular text-text-secondary",
children: [/* @__PURE__ */ (0, C.jsx)("i", {
"aria-hidden": !0,
- className: `mt-0.5 size-3 shrink-0 rounded-sm ${Qot[t % 6]}`
+ className: `mt-0.5 size-3 shrink-0 rounded-sm ${tst[t % 6]}`
}), /* @__PURE__ */ (0, C.jsxs)("span", {
className: "inline-flex min-w-0 items-start gap-1.5 wrap-anywhere",
children: [e.mark ? /* @__PURE__ */ (0, C.jsx)(kA, { mark: e.mark }) : null, e.name]
@@ -99566,15 +99579,15 @@ function est({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
children: Qt(e.bytes)
})
]
- }, S8(t)))
+ }, x8(t)))
})
]
});
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var tst = 10, A8 = b8[5], nst = b8[4], rst = `${oA()} flex flex-col gap-4`, j8 = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", ist = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", ast = "开始播放后,这里会显示最近的真实观看证据。", ost = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", sst = "添加媒体文件夹后,这里会显示存储空间。", cst = "把媒体文件夹归进媒体库后,这里会按库显示视频数。", lst = "探测时长后,这里会显示时长分布。", ust = "探测画质后,这里会显示画质分布。", dst = "开始播放后,这里会显示播放落在一周的哪些时段。", fst = "开始播放后,这里会显示每个作品播了几次。", M8 = (e, t) => Math.min(Math.max(e, 0), t);
-function N8({ term: e, value: t }) {
+var ist = 10, k8 = y8[5], ast = y8[4], ost = `${oA()} flex flex-col gap-4`, A8 = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", sst = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", cst = "开始播放后,这里会显示最近的真实观看证据。", lst = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", ust = "添加媒体文件夹后,这里会显示存储空间。", dst = "把媒体文件夹归进媒体库后,这里会按库显示视频数。", fst = "探测时长后,这里会显示时长分布。", pst = "探测画质后,这里会显示画质分布。", mst = "开始播放后,这里会显示播放落在一周的哪些时段。", hst = "开始播放后,这里会显示每个作品播了几次。", j8 = (e, t) => Math.min(Math.max(e, 0), t);
+function M8({ term: e, value: t }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, C.jsx)("span", {
@@ -99582,11 +99595,11 @@ function N8({ term: e, value: t }) {
children: e
}), /* @__PURE__ */ (0, C.jsx)("b", {
className: "text-title-3-medium tabular-nums text-text-primary",
- children: Mq(t)
+ children: Nq(t)
})]
});
}
-function P8({ term: e, value: t, total: n }) {
+function N8({ term: e, value: t, total: n }) {
let r = Math.max(n, 1);
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -99594,19 +99607,19 @@ function P8({ term: e, value: t, total: n }) {
className: "flex items-baseline justify-between gap-3 text-body-2-regular text-text-primary",
children: [/* @__PURE__ */ (0, C.jsx)("span", { children: e }), /* @__PURE__ */ (0, C.jsxs)("b", {
className: "tabular-nums",
- children: [Mq(t), jq(t) ? /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [Nq(t), Mq(t) ? /* @__PURE__ */ (0, C.jsx)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: Nq(t, n)
+ children: Pq(t, n)
}) : null]
})]
}), /* @__PURE__ */ (0, C.jsx)(dA, {
- label: `${e}:${Mq(t)} / ${n.toLocaleString()}`,
- value: jq(t) ? M8(t, r) : 0,
+ label: `${e}:${Nq(t)} / ${n.toLocaleString()}`,
+ value: Mq(t) ? j8(t, r) : 0,
max: r
})]
});
}
-function F8({ term: e, figure: t, unit: n }) {
+function P8({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-64 md:pr-6 md:pb-0",
children: [
@@ -99625,32 +99638,32 @@ function F8({ term: e, figure: t, unit: n }) {
]
});
}
-function I8({ headline: e, children: t }) {
+function F8({ headline: e, children: t }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
- className: `${rst} md:flex-row md:gap-6`,
+ className: `${ost} md:flex-row md:gap-6`,
children: [e, /* @__PURE__ */ (0, C.jsx)("div", {
className: "min-w-0 grow",
children: t
})]
});
}
-function pst({ data: e, configurable: t, openMediaSettings: n }) {
+function gst({ data: e, configurable: t, openMediaSettings: n }) {
return e.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: "inline-grid w-full gap-5 md:grid-cols-2",
- children: [/* @__PURE__ */ (0, C.jsx)(est, {
+ children: [/* @__PURE__ */ (0, C.jsx)(rst, {
title: "网盘与本地",
- empty: j8,
+ empty: A8,
rows: e.by_loc.map((e) => ({
name: an[e.k] ?? e.k,
value: e.videos,
bytes: e.bytes,
mark: Ya[e.k] || "database"
}))
- }), /* @__PURE__ */ (0, C.jsx)(est, {
+ }), /* @__PURE__ */ (0, C.jsx)(rst, {
title: "媒体库",
- empty: cst,
+ empty: dst,
rows: e.by_library.map((e) => ({
name: e.name,
value: e.videos,
@@ -99661,30 +99674,30 @@ function pst({ data: e, configurable: t, openMediaSettings: n }) {
}), /* @__PURE__ */ (0, C.jsxs)("div", {
className: "inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3",
children: [
- /* @__PURE__ */ (0, C.jsx)(T8, {
+ /* @__PURE__ */ (0, C.jsx)(w8, {
title: "时长",
unit: "个视频",
series: "视频",
- color: A8,
- rows: XLe(e.by_length),
- empty: lst
+ color: k8,
+ rows: ZLe(e.by_length),
+ empty: fst
}),
- /* @__PURE__ */ (0, C.jsx)(T8, {
+ /* @__PURE__ */ (0, C.jsx)(w8, {
title: "画质",
unit: "个视频",
series: "视频",
- color: A8,
- rows: Lq(e.by_quality),
- empty: ust
+ color: k8,
+ rows: Rq(e.by_quality),
+ empty: pst
}),
- /* @__PURE__ */ (0, C.jsx)(T8, {
+ /* @__PURE__ */ (0, C.jsx)(w8, {
title: "文件类型",
unit: "个条目",
series: "条目",
- color: A8,
+ color: k8,
layout: "horizontal",
- rows: JLe(e.by_medium),
- empty: j8
+ rows: YLe(e.by_medium),
+ empty: A8
})
]
})]
@@ -99702,11 +99715,11 @@ function pst({ data: e, configurable: t, openMediaSettings: n }) {
size: "small",
children: "添加关注"
})] }),
- children: j8
+ children: A8
});
}
-function mst({ data: e }) {
- return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(Fot, {
+function _st({ data: e }) {
+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(Rot, {
activity: e.play_activity,
title: "播放时间",
dailyTitle: "每日播放",
@@ -99716,42 +99729,42 @@ function mst({ data: e }) {
cellUnit: "个作品"
},
tone: 5,
- empty: dst
- }), /* @__PURE__ */ (0, C.jsx)(T8, {
+ empty: mst
+ }), /* @__PURE__ */ (0, C.jsx)(w8, {
title: "播放次数",
unit: "个作品",
series: "作品",
- color: nst,
- rows: QLe(e.replays),
- empty: fst
+ color: ast,
+ rows: $Le(e.replays),
+ empty: hst
})] });
}
-function hst({ attribution: e }) {
+function vst({ attribution: e }) {
let t = e.videos;
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col",
children: [
- /* @__PURE__ */ (0, C.jsx)(P8, {
+ /* @__PURE__ */ (0, C.jsx)(N8, {
term: "有创作者",
value: e.creator,
total: t
}),
- /* @__PURE__ */ (0, C.jsx)(P8, {
+ /* @__PURE__ */ (0, C.jsx)(N8, {
term: "有番号",
value: e.code,
total: t
}),
- /* @__PURE__ */ (0, C.jsx)(P8, {
+ /* @__PURE__ */ (0, C.jsx)(N8, {
term: "有厂牌",
value: e.studio,
total: t
}),
- /* @__PURE__ */ (0, C.jsx)(P8, {
+ /* @__PURE__ */ (0, C.jsx)(N8, {
term: "已抽帧",
value: e.thumb,
total: t
}),
- /* @__PURE__ */ (0, C.jsx)(P8, {
+ /* @__PURE__ */ (0, C.jsx)(N8, {
term: "已探测时长",
value: e.duration,
total: t
@@ -99759,7 +99772,7 @@ function hst({ attribution: e }) {
]
});
}
-function gst({ volume: e }) {
+function yst({ volume: e }) {
let t = e.total, n = e.used ?? 0;
return /* @__PURE__ */ (0, C.jsxs)("article", {
className: "flex min-w-0 flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -99776,13 +99789,13 @@ function gst({ volume: e }) {
className: "whitespace-nowrap tabular-nums",
children: [Qt(n), /* @__PURE__ */ (0, C.jsx)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: Nq(n, t)
+ children: Pq(n, t)
})]
})]
}),
t == null ? null : /* @__PURE__ */ (0, C.jsx)(dA, {
label: `${e.label}空间使用率`,
- value: M8(n, Math.max(t, 1)),
+ value: j8(n, Math.max(t, 1)),
max: Math.max(t, 1)
}),
/* @__PURE__ */ (0, C.jsxs)("p", {
@@ -99798,10 +99811,10 @@ function gst({ volume: e }) {
]
});
}
-function _st({ volumes: e, configurable: t, openMediaSettings: n }) {
+function bst({ volumes: e, configurable: t, openMediaSettings: n }) {
return e.length ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "flex flex-col",
- children: e.map((e) => /* @__PURE__ */ (0, C.jsx)(gst, { volume: e }, `${e.kind}:${e.label}`))
+ children: e.map((e) => /* @__PURE__ */ (0, C.jsx)(yst, { volume: e }, `${e.kind}:${e.label}`))
}) : /* @__PURE__ */ (0, C.jsx)(sA, {
shell: "plain",
icon: Dk,
@@ -99811,12 +99824,12 @@ function _st({ volumes: e, configurable: t, openMediaSettings: n }) {
onClick: n,
children: "添加媒体文件夹"
}) : void 0,
- children: sst
+ children: ust
});
}
-function vst({ tags: e, tagLabel: t, onTag: n }) {
- return e.length ? /* @__PURE__ */ (0, C.jsx)(Iot, {
- previewCount: tst,
+function xst({ tags: e, tagLabel: t, onTag: n }) {
+ return e.length ? /* @__PURE__ */ (0, C.jsx)(zot, {
+ previewCount: ist,
className: "inline-grid w-full gap-x-6 gap-y-1 sm:grid-cols-2",
children: e.map((e, r) => /* @__PURE__ */ (0, C.jsx)("li", {
className: "min-w-0",
@@ -99850,14 +99863,14 @@ function vst({ tags: e, tagLabel: t, onTag: n }) {
size: "small",
children: "补全资料"
}),
- children: ist
+ children: sst
});
}
-function yst({ rows: e }) {
+function Sst({ rows: e }) {
return e.length ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
- let t = Fq(e);
+ let t = Iq(e);
return /* @__PURE__ */ (0, C.jsxs)("article", {
className: "flex flex-wrap items-center gap-x-6 gap-y-2",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
@@ -99865,7 +99878,7 @@ function yst({ rows: e }) {
children: [/* @__PURE__ */ (0, C.jsx)("h3", {
className: "min-w-0 text-body-2-medium text-text-primary",
children: /* @__PURE__ */ (0, C.jsx)("a", {
- href: HLe(e),
+ href: ULe(e),
"data-middle-truncate": !0,
className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",
children: e.name
@@ -99875,7 +99888,7 @@ function yst({ rows: e }) {
children: [e.creator ? /* @__PURE__ */ (0, C.jsx)("span", {
className: "min-w-0 wrap-anywhere",
children: e.creator
- }) : null, /* @__PURE__ */ (0, C.jsx)("span", { children: VLe(e) })]
+ }) : null, /* @__PURE__ */ (0, C.jsx)("span", { children: HLe(e) })]
})]
}), /* @__PURE__ */ (0, C.jsxs)("div", {
className: "min-w-0 basis-40",
@@ -99884,7 +99897,7 @@ function yst({ rows: e }) {
value: t
}), /* @__PURE__ */ (0, C.jsx)("small", {
className: "mt-1.5 block text-caption-1-regular text-text-secondary",
- children: `真实 ${t.toFixed(0)}% · 到达 ${Iq(e).toFixed(0)}%`
+ children: `真实 ${t.toFixed(0)}% · 到达 ${Lq(e).toFixed(0)}%`
})]
})]
}, `${e.kind}:${e.id}`);
@@ -99899,10 +99912,10 @@ function yst({ rows: e }) {
size: "small",
children: "浏览馆藏"
}),
- children: ast
+ children: cst
});
}
-function bst({ sources: e, videos: t }) {
+function Cst({ sources: e, videos: t }) {
return e.length ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",
children: e.map((e) => /* @__PURE__ */ (0, C.jsxs)("article", {
@@ -99923,7 +99936,7 @@ function bst({ sources: e, videos: t }) {
}),
/* @__PURE__ */ (0, C.jsx)(dA, {
label: `${e.k} 覆盖视频`,
- value: M8(e.assets, Math.max(t, 1)),
+ value: j8(e.assets, Math.max(t, 1)),
max: Math.max(t, 1)
}),
/* @__PURE__ */ (0, C.jsxs)("small", {
@@ -99942,17 +99955,17 @@ function bst({ sources: e, videos: t }) {
size: "small",
children: "补全资料"
}),
- children: ost
+ children: lst
});
}
-function L8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
- return /* @__PURE__ */ (0, C.jsx)(UN, {
+function I8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
+ return /* @__PURE__ */ (0, C.jsx)(KN, {
id: e,
- className: zz({
+ className: Bz({
interactive: !0,
selectable: !0
}),
- children: /* @__PURE__ */ (0, C.jsx)(Uz, {
+ children: /* @__PURE__ */ (0, C.jsx)(Wz, {
label: t,
icon: i,
accent: a,
@@ -99961,31 +99974,31 @@ function L8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
})
});
}
-function xst(e) {
+function wst(e) {
let t = pt({
- queryKey: kq,
- queryFn: ({ signal: e }) => Aq(e)
+ queryKey: Aq,
+ queryFn: ({ signal: e }) => jq(e)
}), n = t.data;
if (!n) return /* @__PURE__ */ (0, C.jsx)(lA, { children: /* @__PURE__ */ (0, C.jsx)(q, {
tone: "error",
title: "馆藏统计读取失败",
children: t.error ? V(t.error) : "未取得统计数据,请刷新页面重试。"
}) });
- let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), s = jq(n.tag_cov) ? Nq(n.tag_cov, n.attribution.videos) : "未取得", c = `${Mq(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;
+ let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), s = Mq(n.tag_cov) ? Pq(n.tag_cov, n.attribution.videos) : "未取得", c = `${Nq(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;
return /* @__PURE__ */ (0, C.jsxs)(lA, { children: [
/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `账本当前快照 · ${a.toLocaleString()} 个视频 · ${Qt(o)}`
}),
- /* @__PURE__ */ (0, C.jsxs)(VN, {
+ /* @__PURE__ */ (0, C.jsxs)(WN, {
defaultSelectedKey: "inventory",
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, C.jsxs)(HN, {
+ /* @__PURE__ */ (0, C.jsxs)(GN, {
"aria-label": "统计视图",
- className: Bz,
+ className: Vz,
children: [
- /* @__PURE__ */ (0, C.jsx)(L8, {
+ /* @__PURE__ */ (0, C.jsx)(I8, {
id: "inventory",
label: "馆藏视频",
icon: Ck,
@@ -99993,15 +100006,15 @@ function xst(e) {
figure: a.toLocaleString(),
detail: Qt(o)
}),
- /* @__PURE__ */ (0, C.jsx)(L8, {
+ /* @__PURE__ */ (0, C.jsx)(I8, {
id: "viewing",
label: "看过",
icon: qhe,
accent: 1,
- figure: Mq(r.played),
- detail: Pq(r.play_seconds)
+ figure: Nq(r.played),
+ detail: Fq(r.play_seconds)
}),
- /* @__PURE__ */ (0, C.jsx)(L8, {
+ /* @__PURE__ */ (0, C.jsx)(I8, {
id: "coverage",
label: "内容标签",
icon: kk,
@@ -100009,7 +100022,7 @@ function xst(e) {
figure: s,
detail: c
}),
- /* @__PURE__ */ (0, C.jsx)(L8, {
+ /* @__PURE__ */ (0, C.jsx)(I8, {
id: "storage",
label: "使用空间",
icon: Dk,
@@ -100019,81 +100032,81 @@ function xst(e) {
})
]
}),
- /* @__PURE__ */ (0, C.jsx)(WN, {
+ /* @__PURE__ */ (0, C.jsx)(qN, {
id: "inventory",
- children: /* @__PURE__ */ (0, C.jsx)(pst, {
+ children: /* @__PURE__ */ (0, C.jsx)(gst, {
data: n,
...e
})
}),
- /* @__PURE__ */ (0, C.jsxs)(WN, {
+ /* @__PURE__ */ (0, C.jsxs)(qN, {
id: "viewing",
className: "flex flex-col gap-5",
- children: [/* @__PURE__ */ (0, C.jsx)(I8, {
- headline: /* @__PURE__ */ (0, C.jsx)(F8, {
+ children: [/* @__PURE__ */ (0, C.jsx)(F8, {
+ headline: /* @__PURE__ */ (0, C.jsx)(P8, {
term: "观看",
- figure: Mq(r.played),
+ figure: Nq(r.played),
unit: "个作品有播放记录"
}),
children: /* @__PURE__ */ (0, C.jsxs)("div", {
className: "inline-grid w-full gap-3 sm:grid-cols-2",
children: [
- /* @__PURE__ */ (0, C.jsx)(N8, {
+ /* @__PURE__ */ (0, C.jsx)(M8, {
term: "馆藏观看",
value: r.library_played
}),
- /* @__PURE__ */ (0, C.jsx)(N8, {
+ /* @__PURE__ */ (0, C.jsx)(M8, {
term: "在线直接观看",
value: r.online_played
}),
- /* @__PURE__ */ (0, C.jsx)(N8, {
+ /* @__PURE__ */ (0, C.jsx)(M8, {
term: "高潮计数",
value: r.o_total
}),
- /* @__PURE__ */ (0, C.jsx)(N8, {
+ /* @__PURE__ */ (0, C.jsx)(M8, {
term: "快进扫过",
value: r.skimmed
}),
- /* @__PURE__ */ (0, C.jsx)(N8, {
+ /* @__PURE__ */ (0, C.jsx)(M8, {
term: "喜欢",
value: r.liked
}),
- /* @__PURE__ */ (0, C.jsx)(N8, {
+ /* @__PURE__ */ (0, C.jsx)(M8, {
term: "明确不喜欢",
value: r.dislike
}),
- /* @__PURE__ */ (0, C.jsx)(N8, {
+ /* @__PURE__ */ (0, C.jsx)(M8, {
term: "看过了",
value: r.seen
}),
- /* @__PURE__ */ (0, C.jsx)(N8, {
+ /* @__PURE__ */ (0, C.jsx)(M8, {
term: "回收站",
value: r.trash
})
]
})
- }), /* @__PURE__ */ (0, C.jsx)(mst, { data: n })]
+ }), /* @__PURE__ */ (0, C.jsx)(_st, { data: n })]
}),
- /* @__PURE__ */ (0, C.jsx)(WN, {
+ /* @__PURE__ */ (0, C.jsx)(qN, {
id: "coverage",
- children: /* @__PURE__ */ (0, C.jsx)(I8, {
- headline: /* @__PURE__ */ (0, C.jsx)(F8, {
+ children: /* @__PURE__ */ (0, C.jsx)(F8, {
+ headline: /* @__PURE__ */ (0, C.jsx)(P8, {
term: "内容标签覆盖",
figure: s,
unit: c
}),
- children: /* @__PURE__ */ (0, C.jsx)(hst, { attribution: n.attribution })
+ children: /* @__PURE__ */ (0, C.jsx)(vst, { attribution: n.attribution })
})
}),
- /* @__PURE__ */ (0, C.jsx)(WN, {
+ /* @__PURE__ */ (0, C.jsx)(qN, {
id: "storage",
- children: /* @__PURE__ */ (0, C.jsx)(I8, {
- headline: /* @__PURE__ */ (0, C.jsx)(F8, {
+ children: /* @__PURE__ */ (0, C.jsx)(F8, {
+ headline: /* @__PURE__ */ (0, C.jsx)(P8, {
term: "使用空间",
figure: i.measured.toLocaleString(),
unit: "个卷已取得容量"
}),
- children: /* @__PURE__ */ (0, C.jsx)(_st, {
+ children: /* @__PURE__ */ (0, C.jsx)(bst, {
volumes: n.storage_volumes,
...e
})
@@ -100101,51 +100114,51 @@ function xst(e) {
})
]
}),
- /* @__PURE__ */ (0, C.jsxs)(VN, {
+ /* @__PURE__ */ (0, C.jsxs)(WN, {
defaultSelectedKey: "tags",
className: `${oA({ padding: "none" })} flex flex-col`,
children: [
/* @__PURE__ */ (0, C.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, C.jsxs)(WP, {
+ children: /* @__PURE__ */ (0, C.jsxs)(GP, {
"aria-label": "统计维度",
- className: KP,
+ className: qP,
children: [
- /* @__PURE__ */ (0, C.jsx)(UN, {
+ /* @__PURE__ */ (0, C.jsx)(KN, {
id: "tags",
- className: qP,
+ className: JP,
children: "内容标签"
}),
- /* @__PURE__ */ (0, C.jsx)(UN, {
+ /* @__PURE__ */ (0, C.jsx)(KN, {
id: "recent",
- className: qP,
+ className: JP,
children: "最近看过"
}),
- /* @__PURE__ */ (0, C.jsx)(UN, {
+ /* @__PURE__ */ (0, C.jsx)(KN, {
id: "sources",
- className: qP,
+ className: JP,
children: "标签来源"
})
]
})
}),
- /* @__PURE__ */ (0, C.jsx)(WN, {
+ /* @__PURE__ */ (0, C.jsx)(qN, {
id: "tags",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, C.jsx)(vst, {
+ children: /* @__PURE__ */ (0, C.jsx)(xst, {
tags: n.top_tags,
...e
})
}),
- /* @__PURE__ */ (0, C.jsx)(WN, {
+ /* @__PURE__ */ (0, C.jsx)(qN, {
id: "recent",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, C.jsx)(yst, { rows: n.recent })
+ children: /* @__PURE__ */ (0, C.jsx)(Sst, { rows: n.recent })
}),
- /* @__PURE__ */ (0, C.jsx)(WN, {
+ /* @__PURE__ */ (0, C.jsx)(qN, {
id: "sources",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, C.jsx)(bst, {
+ children: /* @__PURE__ */ (0, C.jsx)(Cst, {
sources: n.tag_source,
videos: n.attribution.videos
})
@@ -100156,66 +100169,66 @@ function xst(e) {
}
//#endregion
//#region node_modules/d3-sankey/src/align.js
-function Sst(e, t) {
+function Tst(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
//#endregion
//#region node_modules/d3-sankey/src/constant.js
-function R8(e) {
+function L8(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/d3-sankey/src/sankey.js
-function Cst(e, t) {
- return z8(e.source, t.source) || e.index - t.index;
+function Est(e, t) {
+ return R8(e.source, t.source) || e.index - t.index;
}
-function wst(e, t) {
- return z8(e.target, t.target) || e.index - t.index;
+function Dst(e, t) {
+ return R8(e.target, t.target) || e.index - t.index;
}
-function z8(e, t) {
+function R8(e, t) {
return e.y0 - t.y0;
}
-function B8(e) {
+function z8(e) {
return e.value;
}
-function Tst(e) {
+function Ost(e) {
return e.index;
}
-function Est(e) {
+function kst(e) {
return e.nodes;
}
-function Dst(e) {
+function Ast(e) {
return e.links;
}
-function Ost(e, t) {
+function jst(e, t) {
let n = e.get(t);
if (!n) throw Error("missing: " + t);
return n;
}
-function kst({ nodes: e }) {
+function Mst({ 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 Ast() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = Tst, c = Sst, l, u, d = Est, f = Dst, p = 6;
+function Nst() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = Ost, c = Tst, l, u, d = kst, f = Ast, 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), kst(e), e;
+ return h(e), g(e), _(e), v(e), x(e), Mst(e), e;
}
m.update = function(e) {
- return kst(e), e;
+ return Mst(e), e;
}, m.nodeId = function(e) {
- return arguments.length ? (s = typeof e == "function" ? e : R8(e), m) : s;
+ return arguments.length ? (s = typeof e == "function" ? e : L8(e), m) : s;
}, m.nodeAlign = function(e) {
- return arguments.length ? (c = typeof e == "function" ? e : R8(e), m) : c;
+ return arguments.length ? (c = typeof e == "function" ? e : L8(e), m) : c;
}, m.nodeSort = function(e) {
return arguments.length ? (l = e, m) : l;
}, m.nodeWidth = function(e) {
@@ -100223,9 +100236,9 @@ function Ast() {
}, m.nodePadding = function(e) {
return arguments.length ? (a = o = +e, m) : a;
}, m.nodes = function(e) {
- return arguments.length ? (d = typeof e == "function" ? e : R8(e), m) : d;
+ return arguments.length ? (d = typeof e == "function" ? e : L8(e), m) : d;
}, m.links = function(e) {
- return arguments.length ? (f = typeof e == "function" ? e : R8(e), m) : f;
+ return arguments.length ? (f = typeof e == "function" ? e : L8(e), m) : f;
}, m.linkSort = function(e) {
return arguments.length ? (u = e, m) : u;
}, m.size = function(i) {
@@ -100241,12 +100254,12 @@ function Ast() {
for (let [e, r] of t.entries()) {
r.index = e;
let { source: t, target: i } = r;
- typeof t != "object" && (t = r.source = Ost(n, t)), typeof i != "object" && (i = r.target = Ost(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
+ typeof t != "object" && (t = r.source = jst(n, t)), typeof i != "object" && (i = r.target = jst(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(t1(t.sourceLinks, B8), t1(t.targetLinks, B8)) : t.fixedValue;
+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(t1(t.sourceLinks, z8), t1(t.targetLinks, z8)) : t.fixedValue;
}
function _({ nodes: e }) {
let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;
@@ -100280,7 +100293,7 @@ function Ast() {
return o;
}
function b(e) {
- let n = $$(e, (e) => (r - t - (e.length - 1) * o) / t1(e, B8));
+ let n = $$(e, (e) => (r - t - (e.length - 1) * o) / t1(e, z8));
for (let i of e) {
let e = t;
for (let t of i) {
@@ -100316,7 +100329,7 @@ function Ast() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(z8), w(i, n);
+ l === void 0 && i.sort(R8), w(i, n);
}
}
function C(e, t, n) {
@@ -100332,7 +100345,7 @@ function Ast() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(z8), w(i, n);
+ l === void 0 && i.sort(R8), w(i, n);
}
}
function w(e, n) {
@@ -100353,12 +100366,12 @@ function Ast() {
}
function D({ sourceLinks: e, targetLinks: t }) {
if (u === void 0) {
- for (let { source: { sourceLinks: e } } of t) e.sort(wst);
- for (let { target: { targetLinks: t } } of e) t.sort(Cst);
+ for (let { source: { sourceLinks: e } } of t) e.sort(Dst);
+ for (let { target: { targetLinks: t } } of e) t.sort(Est);
}
}
function O(e) {
- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(wst), n.sort(Cst);
+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(Dst), n.sort(Est);
}
function k(e, t) {
let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;
@@ -100388,15 +100401,15 @@ function Ast() {
}
//#endregion
//#region node_modules/d3-path/src/path.js
-var V8 = Math.PI, H8 = 2 * V8, U8 = 1e-6, jst = H8 - U8;
-function W8() {
+var B8 = Math.PI, V8 = 2 * B8, H8 = 1e-6, Pst = V8 - H8;
+function U8() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
-function Mst() {
- return new W8();
+function Fst() {
+ return new U8();
}
-W8.prototype = Mst.prototype = {
- constructor: W8,
+U8.prototype = Fst.prototype = {
+ constructor: U8,
moveTo: function(e, t) {
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);
},
@@ -100417,11 +100430,11 @@ W8.prototype = Mst.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 > U8) {
- if (!(Math.abs(u * s - c * l) > U8) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
+ else if (d > H8) {
+ if (!(Math.abs(u * s - c * l) > H8) || !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((V8 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > U8 && (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((B8 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > H8 && (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);
}
}
},
@@ -100429,7 +100442,7 @@ W8.prototype = Mst.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) > U8 || Math.abs(this._y1 - l) > U8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % H8 + H8), d > jst ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > U8 && (this._ += "A" + n + "," + n + ",0," + +(d >= V8) + "," + 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) > H8 || Math.abs(this._y1 - l) > H8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % V8 + V8), d > Pst ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > H8 && (this._ += "A" + n + "," + n + ",0," + +(d >= B8) + "," + 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";
@@ -100440,93 +100453,93 @@ W8.prototype = Mst.prototype = {
};
//#endregion
//#region node_modules/d3-shape/src/constant.js
-function Nst(e) {
+function Ist(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/d3-shape/src/point.js
-function Pst(e) {
+function Lst(e) {
return e[0];
}
-function Fst(e) {
+function Rst(e) {
return e[1];
}
//#endregion
//#region node_modules/d3-shape/src/array.js
-var Ist = Array.prototype.slice;
+var zst = Array.prototype.slice;
//#endregion
//#region node_modules/d3-shape/src/link/index.js
-function Lst(e) {
+function Bst(e) {
return e.source;
}
-function Rst(e) {
+function Vst(e) {
return e.target;
}
-function zst(e) {
- var t = Lst, n = Rst, r = Pst, i = Fst, a = null;
+function Hst(e) {
+ var t = Bst, n = Vst, r = Lst, i = Rst, a = null;
function o() {
- var o, s = Ist.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
- if (a ||= o = Mst(), 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 = zst.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ if (a ||= o = Fst(), 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 : Nst(+e), o) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : Ist(+e), o) : r;
}, o.y = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : Nst(+e), o) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : Ist(+e), o) : i;
}, o.context = function(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function Bst(e, t, n, r, i) {
+function Ust(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function Vst() {
- return zst(Bst);
+function Wst() {
+ return Hst(Ust);
}
//#endregion
//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function Hst(e) {
+function Gst(e) {
return [e.source.x1, e.y0];
}
-function Ust(e) {
+function Kst(e) {
return [e.target.x0, e.y1];
}
-function Wst() {
- return Vst().source(Hst).target(Ust);
+function qst() {
+ return Wst().source(Gst).target(Kst);
}
//#endregion
//#region src/react/taste/taste.ts
-var Gst = "/api/taste", Kst = "/api/taste/refresh", qst = "/api/taste/import", Jst = "/api/taste/source", G8 = (e) => ["taste", e], Yst = ["taste", "refresh"], Xst = [
+var Jst = "/api/taste", Yst = "/api/taste/refresh", Xst = "/api/taste/import", Zst = "/api/taste/source", W8 = (e) => ["taste", e], Qst = ["taste", "refresh"], $st = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], Zst = (e, t) => U(Jst, {
+], ect = (e, t) => U(Zst, {
...e,
window: t
-}), Qst = (e, t) => H(`${Gst}?window=${e}`, t), $st = (e) => H(Kst, e);
-async function ect(e, t) {
+}), tct = (e, t) => H(`${Jst}?window=${e}`, t), nct = (e) => H(Yst, e);
+async function rct(e, t) {
await W.fetchQuery({
- queryKey: G8(e),
- queryFn: () => Qst(e, t)
+ queryKey: W8(e),
+ queryFn: () => tct(e, t)
});
}
-var tct = (e) => U(Kst, {
+var ict = (e) => U(Yst, {
window: e,
background: !0
-}), nct = (e, t) => U(Jst, {
+}), act = (e, t) => U(Zst, {
operation: "remove",
source_key: e,
window: t
});
-async function rct(e) {
- let t = await fetch(qst, {
+async function oct(e) {
+ let t = await fetch(Xst, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -100544,47 +100557,47 @@ async function rct(e) {
}
return n;
}
-var ict = 1e4, K8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
-function act(e) {
+var sct = 1e4, G8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
+function cct(e) {
let t = `${Number(e.history_sources || 0).toLocaleString()} 个数据源`;
- return !e.range_start && !e.range_end ? t : `${t} · ${K8(e.range_start)}—${K8(e.range_end)}`;
+ return !e.range_start && !e.range_end ? t : `${t} · ${G8(e.range_start)}—${G8(e.range_end)}`;
}
-var oct = Pq, sct = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), cct = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function lct(e) {
+var lct = Fq, uct = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), dct = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function fct(e) {
if (e.web_visits == null) return Number(e.score || e.visits || 0).toLocaleString();
let t = [];
return e.web_visits && t.push(`浏览 ${Number(e.web_visits).toLocaleString()}`), e.peach_items && t.push(`Peach ${Number(e.peach_items).toLocaleString()}`), t.join(" · ");
}
-function uct(e) {
- let t = e.map(cct), n = Math.max(1, ...t);
+function pct(e) {
+ let t = e.map(dct), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
-var dct = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
+var mct = (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 fct(e) {
- let t = dct(e, 6);
+function hct(e) {
+ let t = mct(e, 6);
return t.length < 3 ? [] : t;
}
-var pct = {
+var gct = {
width: 720,
height: 435
-}, mct = {
+}, _ct = {
source: 145,
target: 545
-}, hct = 30, gct = 240;
-function _ct(e, t, n) {
+}, vct = 30, yct = 240;
+function bct(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 vct(e = []) {
+function xct(e = []) {
let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);
if (!t.length) return null;
- let n = _ct(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = _ct(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();
+ let n = bct(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = bct(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, {
@@ -100593,7 +100606,7 @@ function vct(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) * hct + gct), u = Ast().nodeId((e) => e.id).nodeWidth(10).nodePadding(hct).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) * vct + yct), u = Nst().nodeId((e) => e.id).nodeWidth(10).nodePadding(vct).extent([[155, 16], [535, l]])({
nodes: [...o.map((e) => ({
id: `source:${e}`,
name: e,
@@ -100608,7 +100621,7 @@ function vct(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), d = a.reduce((e, t) => e + t.value, 0), f = Wst();
+ }), d = a.reduce((e, t) => e + t.value, 0), f = qst();
return {
nodes: u.nodes.map((e) => ({
id: e.id,
@@ -100636,14 +100649,14 @@ function vct(e = []) {
};
}),
total: d,
- height: l + pct.height - 404
+ height: l + gct.height - 404
};
}
-var yct = (e) => rn(e, 17), bct = S.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
+var Sct = (e) => rn(e, 17), Cct = S.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
let c = S.useId().replace(/:/g, ""), l = `url(#${r}-colors-${String(n)})`;
if (e === void 0 || t === void 0) return null;
switch (o) {
- case "border": return /* @__PURE__ */ (0, C.jsx)(Sct, {
+ case "border": return /* @__PURE__ */ (0, C.jsx)(Tct, {
cx: e,
cy: t,
dotId: c,
@@ -100652,7 +100665,7 @@ var yct = (e) => rn(e, 17), bct = S.memo(function({ cx: e, cy: t, dataKey: n, ch
className: i,
maskId: s
});
- case "colored-border": return /* @__PURE__ */ (0, C.jsx)(Cct, {
+ case "colored-border": return /* @__PURE__ */ (0, C.jsx)(Ect, {
cx: e,
cy: t,
dotId: c,
@@ -100661,7 +100674,7 @@ var yct = (e) => rn(e, 17), bct = S.memo(function({ cx: e, cy: t, dataKey: n, ch
className: i,
maskId: s
});
- default: return /* @__PURE__ */ (0, C.jsx)(xct, {
+ default: return /* @__PURE__ */ (0, C.jsx)(wct, {
cx: e,
cy: t,
dotId: c,
@@ -100671,7 +100684,7 @@ var yct = (e) => rn(e, 17), bct = S.memo(function({ cx: e, cy: t, dataKey: n, ch
maskId: s
});
}
-}), xct = S.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, C.jsxs)("g", {
+}), wct = S.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, C.jsxs)("g", {
className: a,
mask: o ? `url(#${o})` : void 0,
children: [/* @__PURE__ */ (0, C.jsx)("defs", { children: /* @__PURE__ */ (0, C.jsx)("clipPath", {
@@ -100691,9 +100704,9 @@ var yct = (e) => rn(e, 17), bct = S.memo(function({ cx: e, cy: t, dataKey: n, ch
clipPath: `url(#dot-clip-${n})`
})]
}));
-xct.displayName = "DefaultDot";
-var Sct = S.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, C.jsxs)("g", {
- className: $6(a, "text-background"),
+wct.displayName = "DefaultDot";
+var Tct = S.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, C.jsxs)("g", {
+ className: Q6(a, "text-background"),
mask: o ? `url(#${o})` : void 0,
children: [
/* @__PURE__ */ (0, C.jsx)("defs", { children: /* @__PURE__ */ (0, C.jsx)("clipPath", {
@@ -100729,9 +100742,9 @@ var Sct = S.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, clas
}) })
]
}));
-Sct.displayName = "PrimaryBorderDot";
-var Cct = S.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, C.jsxs)("g", {
- className: $6(a, "text-background"),
+Tct.displayName = "PrimaryBorderDot";
+var Ect = S.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, C.jsxs)("g", {
+ className: Q6(a, "text-background"),
mask: o ? `url(#${o})` : void 0,
children: [
/* @__PURE__ */ (0, C.jsx)("defs", { children: /* @__PURE__ */ (0, C.jsx)("clipPath", {
@@ -100759,17 +100772,17 @@ var Cct = S.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, clas
})
]
}));
-Cct.displayName = "ColoredBorderDot";
+Ect.displayName = "ColoredBorderDot";
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsx
-var wct = 1, Tct = .3, Ect = 6, Dct = 1500, Oct = "value", kct = (0, S.createContext)(null);
-function q8() {
- let e = (0, S.use)(kct);
+var Dct = 1, Oct = .3, kct = 6, Act = 1500, jct = "value", Mct = (0, S.createContext)(null);
+function K8() {
+ let e = (0, S.use)(Mct);
if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");
return e;
}
-function J8({ config: e, data: t, children: n, className: r, chartProps: i, backgroundVariant: a, defaultSelectedDataKey: o = null, onSelectionChange: s, isLoading: c = !1, loadingPoints: l }) {
- let u = (0, S.useId)().replace(/:/g, ""), [d, f] = (0, S.useState)(o), p = Wct(c, l), m = (0, S.useCallback)((e) => {
+function q8({ config: e, data: t, children: n, className: r, chartProps: i, backgroundVariant: a, defaultSelectedDataKey: o = null, onSelectionChange: s, isLoading: c = !1, loadingPoints: l }) {
+ let u = (0, S.useId)().replace(/:/g, ""), [d, f] = (0, S.useState)(o), p = qct(c, l), m = (0, S.useCallback)((e) => {
f(e), s?.(e);
}, [s]), h = (0, S.useMemo)(() => ({
config: e,
@@ -100782,37 +100795,37 @@ function J8({ config: e, data: t, children: n, className: r, chartProps: i, back
d,
m
]);
- return /* @__PURE__ */ (0, C.jsx)(kct, {
+ return /* @__PURE__ */ (0, C.jsx)(Mct, {
value: h,
- children: /* @__PURE__ */ (0, C.jsxs)(n8, {
+ children: /* @__PURE__ */ (0, C.jsxs)(t8, {
className: r,
config: e,
- children: [/* @__PURE__ */ (0, C.jsx)(r8, { isLoading: c }), /* @__PURE__ */ (0, C.jsxs)(cat, {
+ children: [/* @__PURE__ */ (0, C.jsx)(n8, { isLoading: c }), /* @__PURE__ */ (0, C.jsxs)(dat, {
id: u,
data: c ? p : t,
...i,
children: [
- a && /* @__PURE__ */ (0, C.jsx)(d8, { variant: a }),
+ a && /* @__PURE__ */ (0, C.jsx)(u8, { variant: a }),
n,
- c && /* @__PURE__ */ (0, C.jsx)(Gct, {})
+ c && /* @__PURE__ */ (0, C.jsx)(Jct, {})
]
})]
})
});
}
-function Act({ dataKey: e, variant: t = "filled", fillOpacity: n = Tct, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
- let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = q8(), d = (0, S.useId)().replace(/:/g, "");
+function Nct({ dataKey: e, variant: t = "filled", fillOpacity: n = Oct, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
+ let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = K8(), d = (0, S.useId)().replace(/:/g, "");
if (c) return null;
let f = i && l !== null && l !== e, p = {
stroke: f ? .2 : 1,
fill: f ? .1 : 1,
dot: f ? .2 : 1
- }, m = t === "filled", { dot: h, activeDot: g } = Rct(a, d, e, p.dot);
+ }, m = t === "filled", { dot: h, activeDot: g } = Vct(a, d, e, p.dot);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(T3, {
dataKey: e,
stroke: `url(#${d}-radar-stroke-${e})`,
strokeOpacity: p.stroke,
- strokeWidth: wct,
+ strokeWidth: Dct,
fill: m ? `url(#${d}-radar-fill-${e})` : "none",
fillOpacity: m ? n * p.fill : 0,
dot: h,
@@ -100825,30 +100838,30 @@ function Act({ dataKey: e, variant: t = "filled", fillOpacity: n = Tct, isGlowin
},
...o
}), /* @__PURE__ */ (0, C.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, C.jsx)(zct, {
+ /* @__PURE__ */ (0, C.jsx)(Hct, {
id: d,
dataKey: e,
config: s
}),
- /* @__PURE__ */ (0, C.jsx)(Bct, {
+ /* @__PURE__ */ (0, C.jsx)(Uct, {
id: d,
dataKey: e,
config: s
}),
- m && /* @__PURE__ */ (0, C.jsx)(Vct, {
+ m && /* @__PURE__ */ (0, C.jsx)(Wct, {
id: d,
dataKey: e,
config: s
}),
- r && /* @__PURE__ */ (0, C.jsx)(Hct, {
+ r && /* @__PURE__ */ (0, C.jsx)(Gct, {
id: d,
dataKey: e
})
] })] });
}
-var jct = () => null, Mct = () => null;
-function Nct({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
- return /* @__PURE__ */ (0, C.jsx)(o3e, {
+var Pct = () => null, Fct = () => null;
+function Ict({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
+ return /* @__PURE__ */ (0, C.jsx)(c3e, {
gridType: e,
stroke: t,
strokeOpacity: n,
@@ -100856,47 +100869,47 @@ function Nct({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacit
...i
});
}
-function Pct({ tick: e = {
+function Lct({ tick: e = {
fill: "currentColor",
fontSize: 12
}, tickLine: t = !1, ...n }) {
- let { isLoading: r } = q8();
+ let { isLoading: r } = K8();
return r ? null : /* @__PURE__ */ (0, C.jsx)(Y4, {
tick: e,
tickLine: t,
...n
});
}
-function Fct({ tick: e = {
+function Rct({ tick: e = {
fill: "currentColor",
fontSize: 10
}, tickLine: t = !1, axisLine: n = !1, ...r }) {
- let { isLoading: i } = q8();
- return i ? null : /* @__PURE__ */ (0, C.jsx)(M3e, {
+ let { isLoading: i } = K8();
+ return i ? null : /* @__PURE__ */ (0, C.jsx)(P3e, {
tick: e,
tickLine: t,
axisLine: n,
...r
});
}
-function Ict({ variant: e, roundness: t, defaultIndex: n }) {
- let { isLoading: r, selectedDataKey: i } = q8();
- return r ? null : /* @__PURE__ */ (0, C.jsx)(s8, {
+function zct({ variant: e, roundness: t, defaultIndex: n }) {
+ let { isLoading: r, selectedDataKey: i } = K8();
+ return r ? null : /* @__PURE__ */ (0, C.jsx)(o8, {
defaultIndex: n,
cursor: !1,
- content: /* @__PURE__ */ (0, C.jsx)(o8, {
+ content: /* @__PURE__ */ (0, C.jsx)(a8, {
selected: i,
roundness: t,
variant: e
})
});
}
-function Lct({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
- let { isLoading: i, selectedDataKey: a, selectDataKey: o } = q8();
- return i ? null : /* @__PURE__ */ (0, C.jsx)(l8, {
+function Bct({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+ let { isLoading: i, selectedDataKey: a, selectDataKey: o } = K8();
+ return i ? null : /* @__PURE__ */ (0, C.jsx)(c8, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, C.jsx)(c8, {
+ content: /* @__PURE__ */ (0, C.jsx)(s8, {
selected: a,
onSelectChange: o,
isClickable: r,
@@ -100904,22 +100917,22 @@ function Lct({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-var Rct = (e, t, n, r) => {
+var Vct = (e, t, n, r) => {
let i = !1, a = !1;
return S.Children.forEach(e, (e) => {
if ((0, S.isValidElement)(e)) {
- if (e.type === jct) {
+ if (e.type === Pct) {
let { variant: a } = e.props;
- i = /* @__PURE__ */ (0, C.jsx)(bct, {
+ i = /* @__PURE__ */ (0, C.jsx)(Cct, {
type: a,
dataKey: n,
chartId: t,
fillOpacity: r
});
}
- if (e.type === Mct) {
+ if (e.type === Fct) {
let { variant: i } = e.props;
- a = /* @__PURE__ */ (0, C.jsx)(bct, {
+ a = /* @__PURE__ */ (0, C.jsx)(Cct, {
type: i,
dataKey: n,
chartId: t,
@@ -100931,7 +100944,7 @@ var Rct = (e, t, n, r) => {
dot: i,
activeDot: a
};
-}, Y8 = ({ dataKey: e, colorsCount: t, opacities: n }) => t === 1 ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("stop", {
+}, J8 = ({ dataKey: e, colorsCount: t, opacities: n }) => t === 1 ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("stop", {
offset: "0%",
stopColor: `var(--color-${e}-0)`,
stopOpacity: n?.[0]
@@ -100946,46 +100959,46 @@ var Rct = (e, t, n, r) => {
stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,
stopOpacity: n?.[i]
}, a);
-}) }), zct = ({ id: e, dataKey: t, config: n }) => {
- let r = a8(n[t] ?? {});
+}) }), Hct = ({ id: e, dataKey: t, config: n }) => {
+ let r = i8(n[t] ?? {});
return /* @__PURE__ */ (0, C.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
x1: "0",
y1: "0",
x2: "1",
y2: "0",
- children: /* @__PURE__ */ (0, C.jsx)(Y8, {
+ children: /* @__PURE__ */ (0, C.jsx)(J8, {
dataKey: t,
colorsCount: r
})
});
-}, Bct = ({ id: e, dataKey: t, config: n }) => {
- let r = a8(n[t] ?? {});
+}, Uct = ({ id: e, dataKey: t, config: n }) => {
+ let r = i8(n[t] ?? {});
return /* @__PURE__ */ (0, C.jsx)("linearGradient", {
id: `${e}-radar-stroke-${t}`,
x1: "0",
y1: "0",
x2: "1",
y2: "1",
- children: /* @__PURE__ */ (0, C.jsx)(Y8, {
+ children: /* @__PURE__ */ (0, C.jsx)(J8, {
dataKey: t,
colorsCount: r
})
});
-}, Vct = ({ id: e, dataKey: t, config: n }) => {
- let r = a8(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
+}, Wct = ({ id: e, dataKey: t, config: n }) => {
+ let r = i8(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
return /* @__PURE__ */ (0, C.jsx)("radialGradient", {
id: `${e}-radar-fill-${t}`,
cx: "50%",
cy: "50%",
r: "50%",
- children: /* @__PURE__ */ (0, C.jsx)(Y8, {
+ children: /* @__PURE__ */ (0, C.jsx)(J8, {
dataKey: t,
colorsCount: r,
opacities: i
})
});
-}, Hct = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, C.jsxs)("filter", {
+}, Gct = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, C.jsxs)("filter", {
id: `${e}-radar-glow-${t}`,
x: "-50%",
y: "-50%",
@@ -101005,7 +101018,7 @@ var Rct = (e, t, n, r) => {
}),
/* @__PURE__ */ (0, C.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, C.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, C.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), Uct = (e) => [
+}), Kct = (e) => [
"A",
"B",
"C",
@@ -101014,20 +101027,20 @@ var Rct = (e, t, n, r) => {
"F"
].slice(0, e).map((e) => ({
skill: e,
- [Oct]: 30 + Math.random() * 70
+ [jct]: 30 + Math.random() * 70
}));
-function Wct(e, t = Ect) {
+function qct(e, t = kct) {
let [n, r] = (0, S.useState)(0);
return (0, S.useEffect)(() => {
if (!e) return;
let t = setInterval(() => {
r((e) => e + 1);
- }, Dct);
+ }, Act);
return () => clearInterval(t);
- }, [e]), (0, S.useMemo)(() => Uct(t), [t, n]);
+ }, [e]), (0, S.useMemo)(() => Kct(t), [t, n]);
}
-var Gct = () => /* @__PURE__ */ (0, C.jsx)(T3, {
- dataKey: Oct,
+var Jct = () => /* @__PURE__ */ (0, C.jsx)(T3, {
+ dataKey: jct,
stroke: "currentColor",
strokeOpacity: .3,
strokeWidth: 2,
@@ -101035,13 +101048,13 @@ var Gct = () => /* @__PURE__ */ (0, C.jsx)(T3, {
fillOpacity: .1,
dot: !1,
isAnimationActive: !0,
- animationDuration: Dct,
+ animationDuration: Act,
animationEasing: "ease-in-out"
});
-J8.Radar = Act, J8.Dot = jct, J8.ActiveDot = Mct, J8.PolarGrid = Nct, J8.PolarAngleAxis = Pct, J8.PolarRadiusAxis = Fct, J8.Tooltip = Ict, J8.Legend = Lct;
+q8.Radar = Nct, q8.Dot = Pct, q8.ActiveDot = Fct, q8.PolarGrid = Ict, q8.PolarAngleAxis = Lct, q8.PolarRadiusAxis = Rct, q8.Tooltip = zct, q8.Legend = Bct;
//#endregion
//#region src/react/taste/charts.tsx
-function Kct(e) {
+function Yct(e) {
let { x: t = 0, cx: n, textAnchor: r, payload: i, ...a } = e, o = String(i?.value ?? ""), s = typeof n == "number" ? n * 2 : 0, c = s ? r === "start" ? s - t : r === "end" ? t : 2 * Math.min(t, s - t) : 56;
return /* @__PURE__ */ (0, C.jsxs)("g", { children: [/* @__PURE__ */ (0, C.jsx)("title", { children: o }), /* @__PURE__ */ (0, C.jsx)(v4, {
...a,
@@ -101049,27 +101062,27 @@ function Kct(e) {
textAnchor: r,
fill: "currentColor",
fontSize: 12,
- children: _ot(o, c - 4)
+ children: bot(o, c - 4)
})] });
}
-var qct = [
+var Xct = [
"stroke-chart-1",
"stroke-chart-2",
"stroke-chart-3",
"stroke-chart-4",
"stroke-chart-5",
"stroke-chart-6"
-], Jct = [
+], Zct = [
"fill-chart-1",
"fill-chart-2",
"fill-chart-3",
"fill-chart-4",
"fill-chart-5",
"fill-chart-6"
-], Yct = { value: {
+], Qct = { value: {
label: "标签命中",
- colors: x8(b8[3])
-} }, Xct = [
+ colors: b8(y8[3])
+} }, $ct = [
"min-h-24",
"min-h-24",
"min-h-24",
@@ -101079,51 +101092,51 @@ var qct = [
"min-h-52",
"min-h-60",
"min-h-64"
-], Zct = 26, Qct = { radius: Yct.value }, $ct = (e, t) => Math.sqrt(e / t);
-function elt({ rows: e, label: t }) {
- let n = fct(e);
+], elt = 26, tlt = { radius: Qct.value }, nlt = (e, t) => Math.sqrt(e / t);
+function rlt({ rows: e, label: t }) {
+ let n = hct(e);
if (!n.length) return null;
let r = n[0].value, i = n.map((e) => ({
...e,
- radius: $ct(e.value, r)
+ radius: nlt(e.value, r)
}));
return /* @__PURE__ */ (0, C.jsx)("div", {
role: "img",
"aria-label": `${t}:${i.map((e) => e.name).join(",")}`,
- children: /* @__PURE__ */ (0, C.jsxs)(J8, {
+ children: /* @__PURE__ */ (0, C.jsxs)(q8, {
data: i,
- config: Qct,
+ config: tlt,
chartProps: { outerRadius: "58%" },
className: "aspect-auto h-70 text-text-secondary",
children: [
- /* @__PURE__ */ (0, C.jsx)(J8.PolarGrid, {}),
- /* @__PURE__ */ (0, C.jsx)(J8.PolarAngleAxis, {
+ /* @__PURE__ */ (0, C.jsx)(q8.PolarGrid, {}),
+ /* @__PURE__ */ (0, C.jsx)(q8.PolarAngleAxis, {
dataKey: "name",
- tick: /* @__PURE__ */ (0, C.jsx)(Kct, {})
+ tick: /* @__PURE__ */ (0, C.jsx)(Yct, {})
}),
- /* @__PURE__ */ (0, C.jsx)(J8.PolarRadiusAxis, {
+ /* @__PURE__ */ (0, C.jsx)(q8.PolarRadiusAxis, {
domain: [0, 1],
allowDecimals: !0,
tick: !1
}),
- /* @__PURE__ */ (0, C.jsx)(J8.Radar, { dataKey: "radius" }),
- /* @__PURE__ */ (0, C.jsx)(C8, { valueKey: "value" })
+ /* @__PURE__ */ (0, C.jsx)(q8.Radar, { dataKey: "radius" }),
+ /* @__PURE__ */ (0, C.jsx)(S8, { valueKey: "value" })
]
})
});
}
-function tlt({ rows: e, label: t }) {
- let n = dct(e, 8);
+function ilt({ rows: e, label: t }) {
+ let n = mct(e, 8);
return n.length ? /* @__PURE__ */ (0, C.jsx)("section", {
"aria-label": t,
- className: `flex grow flex-col ${Xct[n.length]}`,
- children: /* @__PURE__ */ (0, C.jsxs)(p8, {
+ className: `flex grow flex-col ${$ct[n.length]}`,
+ children: /* @__PURE__ */ (0, C.jsxs)(f8, {
data: n,
- config: Yct,
+ config: Qct,
layout: "horizontal",
barRadius: 4,
chartProps: {
- maxBarSize: Zct,
+ maxBarSize: elt,
margin: {
top: 5,
right: 56,
@@ -101133,37 +101146,37 @@ function tlt({ rows: e, label: t }) {
},
className: "aspect-auto text-text-secondary",
children: [
- /* @__PURE__ */ (0, C.jsx)(p8.YAxis, {
+ /* @__PURE__ */ (0, C.jsx)(f8.YAxis, {
dataKey: "name",
interval: 0,
- tick: /* @__PURE__ */ (0, C.jsx)(v8, { along: "y" }),
- width: vot(n.map((e) => e.name))
+ tick: /* @__PURE__ */ (0, C.jsx)(_8, { along: "y" }),
+ width: xot(n.map((e) => e.name))
}),
- /* @__PURE__ */ (0, C.jsx)(p8.XAxis, {
+ /* @__PURE__ */ (0, C.jsx)(f8.XAxis, {
hide: !0,
- domain: w8
+ domain: C8
}),
- /* @__PURE__ */ (0, C.jsx)(p8.Bar, {
+ /* @__PURE__ */ (0, C.jsx)(f8.Bar, {
dataKey: "value",
enableHoverHighlight: !0,
barProps: {
dataKey: "value",
- label: Tot("right")
+ label: Oot("right")
}
}),
- /* @__PURE__ */ (0, C.jsx)(C8, {})
+ /* @__PURE__ */ (0, C.jsx)(S8, {})
]
})
}) : null;
}
-function nlt({ flows: e }) {
- let [t, n] = (0, S.useState)(null), r = vct(e);
+function alt({ flows: e }) {
+ let [t, n] = (0, S.useState)(null), r = xct(e);
if (!r) return null;
let i = t?.node ?? null, a = (e, n) => t ? i === null ? t.label === n : e.source === i || e.target === i : !0;
return /* @__PURE__ */ (0, C.jsxs)("section", {
- className: m8,
+ className: p8,
children: [
- /* @__PURE__ */ (0, C.jsx)(y8, {
+ /* @__PURE__ */ (0, C.jsx)(v8, {
title: "创作者线索来源",
figure: (t ? t.value : r.total).toLocaleString(),
note: t ? t.label : "条线索"
@@ -101185,7 +101198,7 @@ function nlt({ flows: e }) {
/* @__PURE__ */ (0, C.jsx)("div", {
className: "min-w-0 max-sm:hidden",
children: /* @__PURE__ */ (0, C.jsxs)("svg", {
- viewBox: `0 0 ${pct.width} ${r.height}`,
+ viewBox: `0 0 ${gct.width} ${r.height}`,
fill: "none",
role: "img",
"aria-label": "来源网站与创作者线索",
@@ -101199,7 +101212,7 @@ function nlt({ flows: e }) {
"aria-label": `${e.label}:${e.value} 条线索`,
fillOpacity: 0,
strokeOpacity: a(e, e.label) ? .55 : .08,
- className: `outline-none transition-opacity ${qct[e.color]}`,
+ className: `outline-none transition-opacity ${Xct[e.color]}`,
onPointerEnter: () => n({
value: e.value,
label: e.label,
@@ -101233,15 +101246,15 @@ function nlt({ flows: e }) {
width: 10,
height: e.height,
rx: 5,
- className: e.side === "source" ? Jct[e.color] : "fill-text-secondary"
+ className: e.side === "source" ? Zct[e.color] : "fill-text-secondary"
}), /* @__PURE__ */ (0, C.jsxs)("text", {
- x: mct[e.side],
+ x: _ct[e.side],
y: e.y + e.height / 2,
textAnchor: e.side === "source" ? "end" : "start",
dominantBaseline: "middle",
className: "fill-text-secondary text-caption-1-regular",
- children: [yct(e.name), /* @__PURE__ */ (0, C.jsx)("tspan", {
- x: mct[e.side],
+ children: [Sct(e.name), /* @__PURE__ */ (0, C.jsx)("tspan", {
+ x: _ct[e.side],
dy: 15,
children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`
})]
@@ -101258,11 +101271,11 @@ function nlt({ flows: e }) {
}
//#endregion
//#region src/react/taste/browser-sources.tsx
-function rlt({ browsers: e, range: t }) {
+function olt({ browsers: e, range: t }) {
let [n, r] = (0, S.useState)(!1), [i, a] = (0, S.useState)(""), [o, s] = (0, S.useState)(""), c = mt({
- mutationFn: (e) => Zst(e, t),
+ mutationFn: (e) => ect(e, t),
onSuccess: (e) => {
- W.setQueryData(G8(t), e.dashboard), r(!1), a(""), s("");
+ W.setQueryData(W8(t), e.dashboard), r(!1), a(""), s("");
}
});
return /* @__PURE__ */ (0, C.jsxs)("section", {
@@ -101300,7 +101313,7 @@ function rlt({ browsers: e, range: t }) {
});
},
children: [
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
label: "浏览器名称",
value: i,
onChange: a,
@@ -101308,7 +101321,7 @@ function rlt({ browsers: e, range: t }) {
isRequired: !0,
isDisabled: c.isPending
}),
- /* @__PURE__ */ (0, C.jsx)($N, {
+ /* @__PURE__ */ (0, C.jsx)(nP, {
label: "资料目录或历史文件",
value: o,
onChange: s,
@@ -101385,11 +101398,11 @@ function rlt({ browsers: e, range: t }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var ilt = 10, alt = eA(xP, SP, "text-body-2-medium"), X8 = `${oA()} flex flex-col gap-4`, Z8 = "rounded-xl bg-background-primary-default p-3", olt = "读取运行 Peach 的这台电脑上的浏览记录", slt = "导入或读取浏览记录后,这里会列出已采集设备。", clt = "馆藏里暂时没有对得上浏览信号的标签。", llt = "采集浏览记录后,这里会显示聚合后的口味证据。", ult = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", dlt = "采集浏览记录后,这里会列出浏览过的标签。", flt = "采集浏览记录后,这里会列出浏览过的创作者。", plt = "采集浏览记录后,这里会列出常访问的网站。", mlt = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", hlt = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", glt = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", _lt = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", vlt = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", ylt = "需要刷新时再次读取或导入;数据源可在页面底部移除。", blt = "删除这个来源的已导入记录,原始文件保留。若浏览器仍启用,下次读取会再次导入。", xlt = "peach-taste-guide-dismissed";
-function Q8({ icon: e, term: t, figure: n, detail: r, accent: i }) {
+var slt = 10, clt = eA(wP, TP, "text-body-2-medium"), Y8 = `${oA()} flex flex-col gap-4`, X8 = "rounded-xl bg-background-primary-default p-3", llt = "读取运行 Peach 的这台电脑上的浏览记录", ult = "导入或读取浏览记录后,这里会列出已采集设备。", dlt = "馆藏里暂时没有对得上浏览信号的标签。", flt = "采集浏览记录后,这里会显示聚合后的口味证据。", plt = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", mlt = "采集浏览记录后,这里会列出浏览过的标签。", hlt = "采集浏览记录后,这里会列出浏览过的创作者。", glt = "采集浏览记录后,这里会列出常访问的网站。", _lt = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", vlt = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", ylt = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", blt = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", xlt = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", Slt = "需要刷新时再次读取或导入;数据源可在页面底部移除。", Clt = "删除这个来源的已导入记录,原始文件保留。若浏览器仍启用,下次读取会再次导入。", wlt = "peach-taste-guide-dismissed";
+function Z8({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
- className: zz(),
- children: /* @__PURE__ */ (0, C.jsx)(Uz, {
+ className: Bz(),
+ children: /* @__PURE__ */ (0, C.jsx)(Wz, {
label: t,
icon: e,
accent: i,
@@ -101398,7 +101411,7 @@ function Q8({ icon: e, term: t, figure: n, detail: r, accent: i }) {
})
});
}
-function Slt({ name: e, domain: t }) {
+function Tlt({ name: e, domain: t }) {
return /* @__PURE__ */ (0, C.jsxs)("span", {
className: "relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-lg bg-background-tertiary-default text-caption-1-medium text-text-secondary",
children: [nn(e).toUpperCase(), /* @__PURE__ */ (0, C.jsx)("img", {
@@ -101412,22 +101425,22 @@ function Slt({ name: e, domain: t }) {
})]
});
}
-function Clt({ html: e }) {
+function Elt({ html: e }) {
return /* @__PURE__ */ (0, C.jsx)("span", {
- className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-medium text-text-secondary ${NH}`,
+ className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-medium text-text-secondary ${PH}`,
dangerouslySetInnerHTML: { __html: e }
});
}
-function wlt({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
+function Dlt({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
if (!e.length) return /* @__PURE__ */ (0, C.jsx)(sA, {
shell: "plain",
icon: jk,
title: "暂无足够证据",
children: r
});
- let a = uct(e);
- return /* @__PURE__ */ (0, C.jsx)(Iot, {
- previewCount: ilt,
+ let a = pct(e);
+ return /* @__PURE__ */ (0, C.jsx)(zot, {
+ previewCount: slt,
className: "inline-grid w-full gap-x-7 gap-y-2 sm:grid-cols-2",
children: e.map((e, r) => {
let o = !!t && !!e.peach_items, s = String(e.source_domain || ""), c = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
@@ -101446,15 +101459,15 @@ function wlt({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
className: "w-6 shrink-0 text-caption-1-regular tabular-nums text-text-secondary",
children: r + 1
}),
- n === "domain" ? /* @__PURE__ */ (0, C.jsx)(Slt, {
+ n === "domain" ? /* @__PURE__ */ (0, C.jsx)(Tlt, {
name: e.name,
domain: e.name
}) : null,
- n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, C.jsx)(Slt, {
+ n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, C.jsx)(Tlt, {
name: e.name,
domain: s
}) : null,
- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, C.jsx)(Clt, { html: ia(e.name, e.entity_id ? {
+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, C.jsx)(Elt, { html: ia(e.name, e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
image_version: e.image_version,
@@ -101468,7 +101481,7 @@ function wlt({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
children: e.name
}), /* @__PURE__ */ (0, C.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: lct(e)
+ children: fct(e)
})]
}),
o ? /* @__PURE__ */ (0, C.jsx)(bk, {
@@ -101491,31 +101504,31 @@ function wlt({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
})
});
}
-function Tlt({ label: e, panels: t, onSignal: n }) {
- return /* @__PURE__ */ (0, C.jsxs)(VN, {
+function Olt({ label: e, panels: t, onSignal: n }) {
+ return /* @__PURE__ */ (0, C.jsxs)(WN, {
className: `${oA({ padding: "none" })} flex flex-col`,
children: [/* @__PURE__ */ (0, C.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, C.jsx)(WP, {
+ children: /* @__PURE__ */ (0, C.jsx)(GP, {
"aria-label": e,
- className: KP,
- children: t.map((e) => /* @__PURE__ */ (0, C.jsx)(UN, {
+ className: qP,
+ children: t.map((e) => /* @__PURE__ */ (0, C.jsx)(KN, {
id: e.id,
- className: qP,
+ className: JP,
children: e.name
}, e.id))
})
- }), t.map((e) => /* @__PURE__ */ (0, C.jsx)(WN, {
+ }), t.map((e) => /* @__PURE__ */ (0, C.jsx)(qN, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, C.jsx)(wlt, {
+ children: /* @__PURE__ */ (0, C.jsx)(Dlt, {
...e.props,
onSignal: n
})
}, e.id))]
});
}
-function Elt({ data: e, onSignal: t, navigate: n }) {
+function klt({ data: e, onSignal: t, navigate: n }) {
let r = e.analysis;
if (!r?.headline) return null;
let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({
@@ -101530,7 +101543,7 @@ function Elt({ data: e, onSignal: t, navigate: n }) {
act: () => n(e.route)
}))];
return /* @__PURE__ */ (0, C.jsxs)("section", {
- className: X8,
+ className: Y8,
"aria-label": "口味总结",
children: [
/* @__PURE__ */ (0, C.jsxs)("header", {
@@ -101559,7 +101572,7 @@ function Elt({ data: e, onSignal: t, navigate: n }) {
r.points?.length ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "inline-grid w-full gap-3 sm:grid-cols-2",
children: r.points.map((e) => /* @__PURE__ */ (0, C.jsxs)("div", {
- className: `flex min-w-0 flex-col gap-1 ${Z8}`,
+ className: `flex min-w-0 flex-col gap-1 ${X8}`,
children: [/* @__PURE__ */ (0, C.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: e.label
@@ -101574,7 +101587,7 @@ function Elt({ data: e, onSignal: t, navigate: n }) {
children: a.map((e) => /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
onClick: e.act,
- className: `flex w-full min-w-0 cursor-pointer items-center gap-3 ${Z8} text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring`,
+ className: `flex w-full min-w-0 cursor-pointer items-center gap-3 ${X8} text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring`,
children: [/* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-1",
children: [/* @__PURE__ */ (0, C.jsx)("b", {
@@ -101593,15 +101606,15 @@ function Elt({ data: e, onSignal: t, navigate: n }) {
shell: "plain",
icon: jk,
title: "还没有可探索的入口",
- children: clt
+ children: dlt
})
]
});
}
-function Dlt({ onboarding: e, done: t }) {
+function Alt({ onboarding: e, done: t }) {
let [n, r] = (0, S.useState)(() => {
try {
- return localStorage.getItem(xlt) === "1";
+ return localStorage.getItem(wlt) === "1";
} catch {
return !1;
}
@@ -101617,11 +101630,11 @@ function Dlt({ onboarding: e, done: t }) {
children: [
/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: _lt
+ children: blt
}),
/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: vlt
+ children: xlt
}),
/* @__PURE__ */ (0, C.jsxs)("ul", {
className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",
@@ -101651,7 +101664,7 @@ function Dlt({ onboarding: e, done: t }) {
}),
/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: ylt
+ children: Slt
}),
/* @__PURE__ */ (0, C.jsx)("span", {
className: "self-start",
@@ -101660,7 +101673,7 @@ function Dlt({ onboarding: e, done: t }) {
size: "small",
onClick: () => {
try {
- localStorage.setItem(xlt, "1");
+ localStorage.setItem(wlt, "1");
} catch {}
r(!0);
},
@@ -101671,7 +101684,7 @@ function Dlt({ onboarding: e, done: t }) {
})
});
}
-function Olt({ busy: e, onRefresh: t, onImport: n }) {
+function jlt({ busy: e, onRefresh: t, onImport: n }) {
let r = (0, S.useRef)(null), [i, a] = (0, S.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -101681,7 +101694,7 @@ function Olt({ busy: e, onRefresh: t, onImport: n }) {
"data-variant": "primary",
children: [/* @__PURE__ */ (0, C.jsx)(K, {
leadingIcon: Sk,
- title: olt,
+ title: llt,
onClick: t,
...J(e),
children: "读取浏览器历史"
@@ -101697,19 +101710,19 @@ function Olt({ busy: e, onRefresh: t, onImport: n }) {
e || a(!0);
}
})]
- }), /* @__PURE__ */ (0, C.jsx)(GM, {
+ }), /* @__PURE__ */ (0, C.jsx)(JM, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: bP,
- children: /* @__PURE__ */ (0, C.jsxs)(_I, {
+ className: CP,
+ children: /* @__PURE__ */ (0, C.jsxs)(vI, {
"aria-label": "更多取得浏览记录的方式",
className: "flex w-52 flex-col gap-1 outline-none",
children: [/* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
- className: alt,
+ className: clt,
onClick: () => o(t),
children: [/* @__PURE__ */ (0, C.jsx)(Sk, {
"aria-hidden": !0,
@@ -101717,7 +101730,7 @@ function Olt({ busy: e, onRefresh: t, onImport: n }) {
}), "读取浏览器历史"]
}), /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
- className: alt,
+ className: clt,
onClick: () => o(n),
children: [/* @__PURE__ */ (0, C.jsx)(gge, {
"aria-hidden": !0,
@@ -101727,15 +101740,15 @@ function Olt({ busy: e, onRefresh: t, onImport: n }) {
})
})] });
}
-function klt({ sources: e, window: t, toast: n }) {
+function Mlt({ sources: e, window: t, toast: n }) {
let r = mt({
- mutationFn: (e) => nct(e, t),
+ mutationFn: (e) => act(e, t),
onSuccess: (e) => {
- W.setQueryData(G8(t), e.dashboard), n("已移除口味数据源");
+ W.setQueryData(W8(t), e.dashboard), n("已移除口味数据源");
}
});
return /* @__PURE__ */ (0, C.jsxs)("section", {
- className: X8,
+ className: Y8,
"aria-label": "数据源",
children: [
/* @__PURE__ */ (0, C.jsx)("h3", {
@@ -101749,7 +101762,7 @@ function klt({ sources: e, window: t, toast: n }) {
e.length ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "inline-grid w-full gap-2 sm:grid-cols-2",
children: e.map((e) => /* @__PURE__ */ (0, C.jsxs)("div", {
- className: `flex min-w-0 items-center gap-3 ${Z8}`,
+ className: `flex min-w-0 items-center gap-3 ${X8}`,
children: [
/* @__PURE__ */ (0, C.jsx)("span", {
className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",
@@ -101782,7 +101795,7 @@ function klt({ sources: e, window: t, toast: n }) {
onClick: () => {
r.isPending || Es({
title: "移除口味数据源",
- body: blt,
+ body: Clt,
confirmLabel: "移除口味数据源",
onConfirm: () => r.mutateAsync(e.source_key)
});
@@ -101794,28 +101807,28 @@ function klt({ sources: e, window: t, toast: n }) {
shell: "plain",
icon: Ck,
title: "还没有数据源",
- children: slt
+ children: ult
})
]
});
}
-function Alt(e) {
+function Nlt(e) {
let { onSignal: t, navigate: n, toast: r, onboarding: i } = e, [a, o] = (0, S.useState)("all"), [s, c] = (0, S.useState)("browser"), l = (0, S.useRef)(null), u = pt({
- queryKey: G8(a),
- queryFn: ({ signal: e }) => Qst(a, e),
+ queryKey: W8(a),
+ queryFn: ({ signal: e }) => tct(a, e),
placeholderData: de
- }), { job: d, running: f, outcome: p, start: m } = oB({
- queryKey: Yst,
- queryFn: ({ signal: e }) => $st(e),
- start: () => tct(a),
- idlePollMs: ict,
+ }), { job: d, running: f, outcome: p, start: m } = sB({
+ queryKey: Qst,
+ queryFn: ({ signal: e }) => nct(e),
+ start: () => ict(a),
+ idlePollMs: sct,
onFinish: (e) => {
e.status !== "failed" && (W.invalidateQueries({ queryKey: ["taste"] }), r(e.warnings?.length ? "部分浏览记录未取得" : "已更新口味分析"));
}
}), h = mt({
- mutationFn: (e) => rct(e),
+ mutationFn: (e) => oct(e),
onSuccess: (e) => {
- W.setQueryData(G8("all"), e.dashboard), o("all"), r("已导入口味数据");
+ W.setQueryData(W8("all"), e.dashboard), o("all"), r("已导入口味数据");
}
}), g = (e) => {
let t = e.currentTarget.files?.[0];
@@ -101828,42 +101841,42 @@ function Alt(e) {
title: "口味分析读取失败",
children: u.error ? V(u.error) : "读取口味分析失败"
}) });
- let y = v.summary || {}, b = v.coverage || {}, x = v.rankings || {}, w = v.storage || {}, T = sct(x.browser_categories || []), E = fct(T).length > 0, D = v.gaps || [], O = b.tagged || 0, k = b.identified || 0, A = m.error ? V(m.error) : h.error ? V(h.error) : p?.status === "failed" ? p.error || "读取未取得" : "";
+ let y = v.summary || {}, b = v.coverage || {}, x = v.rankings || {}, w = v.storage || {}, T = uct(x.browser_categories || []), E = hct(T).length > 0, D = v.gaps || [], O = b.tagged || 0, k = b.identified || 0, A = m.error ? V(m.error) : h.error ? V(h.error) : p?.status === "failed" ? p.error || "读取未取得" : "";
return /* @__PURE__ */ (0, C.jsxs)(lA, { children: [
- /* @__PURE__ */ (0, C.jsxs)(VN, {
+ /* @__PURE__ */ (0, C.jsxs)(WN, {
selectedKey: s,
onSelectionChange: (e) => c(String(e)),
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, C.jsxs)(WP, {
+ children: [/* @__PURE__ */ (0, C.jsxs)(GP, {
"aria-label": "口味证据来源",
- className: KP,
- children: [/* @__PURE__ */ (0, C.jsx)(UN, {
+ className: qP,
+ children: [/* @__PURE__ */ (0, C.jsx)(KN, {
id: "browser",
- className: qP,
+ className: JP,
children: "浏览器记录"
- }), /* @__PURE__ */ (0, C.jsx)(UN, {
+ }), /* @__PURE__ */ (0, C.jsx)(KN, {
id: "peach",
- className: qP,
+ className: JP,
children: "Peach 内部"
})]
}), /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, C.jsx)(RP, {
+ /* @__PURE__ */ (0, C.jsx)(zP, {
"aria-label": "分析范围",
selectedKey: a,
onSelectionChange: (e) => {
e !== null && o(String(e));
},
- children: Xst.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(zP, {
+ children: $st.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(BP, {
id: e,
children: t
}, e))
}),
- /* @__PURE__ */ (0, C.jsx)(Olt, {
+ /* @__PURE__ */ (0, C.jsx)(jlt, {
busy: f || m.isPending || h.isPending,
onRefresh: _,
onImport: () => l.current?.click()
@@ -101879,7 +101892,7 @@ function Alt(e) {
]
})]
}),
- /* @__PURE__ */ (0, C.jsx)(Dlt, {
+ /* @__PURE__ */ (0, C.jsx)(Alt, {
onboarding: i,
done: !!(y.history_sources || v.updated_at)
}),
@@ -101887,12 +101900,12 @@ function Alt(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- f ? /* @__PURE__ */ (0, C.jsx)(nB, {
+ f ? /* @__PURE__ */ (0, C.jsx)(rB, {
label: d?.message || "正在读取浏览记录并更新口味分析",
value: d?.checked,
total: d?.total
}) : null,
- h.isPending ? /* @__PURE__ */ (0, C.jsx)(nB, { label: "正在导入历史文件" }) : null,
+ h.isPending ? /* @__PURE__ */ (0, C.jsx)(rB, { label: "正在导入历史文件" }) : null,
A ? /* @__PURE__ */ (0, C.jsx)(q, {
tone: "error",
children: A
@@ -101903,34 +101916,34 @@ function Alt(e) {
}) : null
]
}),
- /* @__PURE__ */ (0, C.jsxs)(WN, {
+ /* @__PURE__ */ (0, C.jsxs)(qN, {
id: "browser",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
- className: Bz,
+ className: Vz,
children: [
- /* @__PURE__ */ (0, C.jsx)(Q8, {
+ /* @__PURE__ */ (0, C.jsx)(Z8, {
accent: 0,
icon: Ok,
term: "浏览记录",
figure: Number(y.history_visits || 0).toLocaleString(),
- detail: act(y)
+ detail: cct(y)
}),
- /* @__PURE__ */ (0, C.jsx)(Q8, {
+ /* @__PURE__ */ (0, C.jsx)(Z8, {
accent: 1,
icon: kk,
term: "口味维度",
figure: T.length.toLocaleString(),
detail: T[0]?.name || "尚无主维度"
}),
- /* @__PURE__ */ (0, C.jsx)(Q8, {
+ /* @__PURE__ */ (0, C.jsx)(Z8, {
accent: 2,
icon: jk,
term: "浏览候选",
figure: D.length.toLocaleString()
}),
- /* @__PURE__ */ (0, C.jsx)(Q8, {
+ /* @__PURE__ */ (0, C.jsx)(Z8, {
accent: 3,
icon: Ck,
term: "私有导出",
@@ -101940,7 +101953,7 @@ function Alt(e) {
]
}),
/* @__PURE__ */ (0, C.jsxs)("section", {
- className: E ? `${X8} md:flex-row md:gap-6` : X8,
+ className: E ? `${Y8} md:flex-row md:gap-6` : Y8,
"aria-label": "浏览器画像",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: E ? "flex shrink-0 flex-col gap-2 pb-5 md:w-80 md:pr-6 md:pb-0" : "flex flex-wrap items-baseline justify-between gap-x-4 gap-y-1",
@@ -101949,29 +101962,29 @@ function Alt(e) {
className: "text-caption-1-regular text-text-secondary",
children: "浏览器画像"
}),
- E ? /* @__PURE__ */ (0, C.jsx)(elt, {
+ E ? /* @__PURE__ */ (0, C.jsx)(rlt, {
rows: T,
label: "主要口味维度"
}) : null,
/* @__PURE__ */ (0, C.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: v.updated_at ? `更新于 ${K8(v.updated_at)}` : "尚未采集浏览记录"
+ children: v.updated_at ? `更新于 ${G8(v.updated_at)}` : "尚未采集浏览记录"
})
]
}), /* @__PURE__ */ (0, C.jsx)("div", {
className: "flex min-w-0 grow flex-col",
- children: T.length ? /* @__PURE__ */ (0, C.jsx)(tlt, {
+ children: T.length ? /* @__PURE__ */ (0, C.jsx)(ilt, {
rows: T,
label: "口味维度排名"
}) : /* @__PURE__ */ (0, C.jsx)(sA, {
shell: "plain",
icon: jk,
title: "暂无口味维度",
- children: llt
+ children: flt
})
})]
}),
- /* @__PURE__ */ (0, C.jsx)(Fot, {
+ /* @__PURE__ */ (0, C.jsx)(Rot, {
activity: v.activity,
title: "浏览活跃时间",
dailyTitle: "每日活跃",
@@ -101983,8 +101996,8 @@ function Alt(e) {
tone: 4,
empty: "还没有可用于分析的口味网站访问记录。"
}),
- /* @__PURE__ */ (0, C.jsx)(nlt, { flows: v.creator_flows }),
- /* @__PURE__ */ (0, C.jsx)(Tlt, {
+ /* @__PURE__ */ (0, C.jsx)(alt, { flows: v.creator_flows }),
+ /* @__PURE__ */ (0, C.jsx)(Olt, {
label: "浏览器口味维度",
onSignal: t,
panels: [
@@ -101995,7 +102008,7 @@ function Alt(e) {
rows: x.browser_tags || [],
kind: "tag",
visual: "none",
- empty: dlt
+ empty: mlt
}
},
{
@@ -102005,7 +102018,7 @@ function Alt(e) {
rows: x.browser_creators || [],
kind: "creator",
visual: "creator",
- empty: flt
+ empty: hlt
}
},
{
@@ -102025,7 +102038,7 @@ function Alt(e) {
rows: x.domains || [],
kind: "",
visual: "domain",
- empty: plt
+ empty: glt
}
},
{
@@ -102035,40 +102048,40 @@ function Alt(e) {
rows: D,
kind: "",
visual: "none",
- empty: ult
+ empty: plt
}
}
]
})
]
}),
- /* @__PURE__ */ (0, C.jsxs)(WN, {
+ /* @__PURE__ */ (0, C.jsxs)(qN, {
id: "peach",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
- className: Bz,
+ className: Vz,
children: [
- /* @__PURE__ */ (0, C.jsx)(Q8, {
+ /* @__PURE__ */ (0, C.jsx)(Z8, {
accent: 0,
icon: qhe,
term: "Peach 看过",
figure: Number(y.peach_items || 0).toLocaleString(),
- detail: oct(y.peach_seconds || 0)
+ detail: lct(y.peach_seconds || 0)
}),
- /* @__PURE__ */ (0, C.jsx)(Q8, {
+ /* @__PURE__ */ (0, C.jsx)(Z8, {
accent: 1,
icon: hge,
term: "喜欢",
figure: Number(y.liked || 0).toLocaleString()
}),
- /* @__PURE__ */ (0, C.jsx)(Q8, {
+ /* @__PURE__ */ (0, C.jsx)(Z8, {
accent: 2,
icon: mge,
term: "不合口味",
figure: Number(y.disliked || 0).toLocaleString()
}),
- /* @__PURE__ */ (0, C.jsx)(Q8, {
+ /* @__PURE__ */ (0, C.jsx)(Z8, {
accent: 3,
icon: kk,
term: "有标签",
@@ -102077,7 +102090,7 @@ function Alt(e) {
]
}),
/* @__PURE__ */ (0, C.jsxs)("section", {
- className: `${X8} md:flex-row md:gap-6`,
+ className: `${Y8} md:flex-row md:gap-6`,
"aria-label": "Peach 观看",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-72 md:pr-6 md:pb-0",
@@ -102097,18 +102110,18 @@ function Alt(e) {
]
}), /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 grow flex-col",
- children: [/* @__PURE__ */ (0, C.jsx)(jlt, {
+ children: [/* @__PURE__ */ (0, C.jsx)(Plt, {
term: "有标签",
value: O,
rest: b.untagged || 0
- }), /* @__PURE__ */ (0, C.jsx)(jlt, {
+ }), /* @__PURE__ */ (0, C.jsx)(Plt, {
term: "有身份",
value: k,
rest: b.unidentified || 0
})]
})]
}),
- /* @__PURE__ */ (0, C.jsx)(Tlt, {
+ /* @__PURE__ */ (0, C.jsx)(Olt, {
label: "Peach 口味维度",
onSignal: t,
panels: [
@@ -102119,7 +102132,7 @@ function Alt(e) {
rows: x.peach_tags || [],
kind: "tag",
visual: "none",
- empty: mlt
+ empty: _lt
}
},
{
@@ -102129,7 +102142,7 @@ function Alt(e) {
rows: x.peach_creators || [],
kind: "creator",
visual: "creator",
- empty: hlt
+ empty: vlt
}
},
{
@@ -102139,7 +102152,7 @@ function Alt(e) {
rows: x.peach_performers || [],
kind: "performer",
visual: "entity",
- empty: glt
+ empty: ylt
}
}
]
@@ -102148,23 +102161,23 @@ function Alt(e) {
})
]
}),
- /* @__PURE__ */ (0, C.jsx)(Elt, {
+ /* @__PURE__ */ (0, C.jsx)(klt, {
data: v,
onSignal: t,
navigate: n
}),
- /* @__PURE__ */ (0, C.jsx)(klt, {
+ /* @__PURE__ */ (0, C.jsx)(Mlt, {
sources: v.sources || [],
window: a,
toast: r
}),
- /* @__PURE__ */ (0, C.jsx)(rlt, {
+ /* @__PURE__ */ (0, C.jsx)(olt, {
browsers: v.browsers || [],
range: a
})
] });
}
-function jlt({ term: e, value: t, rest: n }) {
+function Plt({ term: e, value: t, rest: n }) {
let r = Math.max(t + n, 1);
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -102186,13 +102199,13 @@ function jlt({ term: e, value: t, rest: n }) {
}
//#endregion
//#region src/index-skeleton.ts
-var $8 = {
+var Q8 = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, Mlt = [[
+}, Flt = [[
"big",
"大图 · 竖幅头像",
"maximize"
@@ -102200,7 +102213,7 @@ var $8 = {
"compact",
"紧凑 · 圆形头像",
"layout-grid"
-]], Nlt = [[
+]], Ilt = [[
"big",
"大图 · 完整标识",
"maximize"
@@ -102208,7 +102221,7 @@ var $8 = {
"compact",
"紧凑 · 圆形标识",
"layout-grid"
-]], Plt = [[
+]], Llt = [[
"studios",
"厂牌",
"clapperboard"
@@ -102216,7 +102229,7 @@ var $8 = {
"agencies",
"事务所",
"briefcase"
-]], Flt = [[
+]], Rlt = [[
"local",
"本地",
"hard-drive"
@@ -102224,7 +102237,7 @@ var $8 = {
"online",
"在线",
"rss"
-]], Ilt = [
+]], zlt = [
[
"performers",
"艺人",
@@ -102240,7 +102253,7 @@ var $8 = {
"在线",
"rss"
]
-], Llt = [[
+], Blt = [[
"cloud",
"标签云",
"tags"
@@ -102248,8 +102261,8 @@ var $8 = {
"alphabet",
"字母表",
"text-aa"
-]], Rlt = (e) => e === "compact" ? "compact" : "big";
-function zlt(e, t) {
+]], Vlt = (e) => e === "compact" ? "compact" : "big";
+function Hlt(e, t) {
let n = new URLSearchParams(t);
return {
kind: e,
@@ -102259,7 +102272,7 @@ function zlt(e, t) {
category: n.get("category") || "all"
};
}
-var e5 = (e, t, n) => bo(e.map(([e, t, n]) => ({
+var $8 = (e, t, n) => bo(e.map(([e, t, n]) => ({
value: e,
label: t,
symbol: n
@@ -102267,37 +102280,37 @@ var e5 = (e, t, n) => bo(e.map(([e, t, n]) => ({
active: t,
label: n,
className: "indextabs"
-}), Blt = (e) => `<div class="board-filter-frame" data-filter-frame>
+}), Ult = (e) => `<div class="board-filter-frame" data-filter-frame>
<div class="tagbar" data-filter-row="top" data-skeleton-tier="pill" aria-label="标签类型"></div>
<div class="count" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span>
- ${gs("tag-view", "标签视图", Llt, e)}</div></div>`;
-function Vlt({ kind: e, q: t, scope: n, view: r, category: i }, a) {
- let o = $8[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? gs("people-layout", o + "索引版式", c ? Nlt : Mlt, a) : "";
+ ${gs("tag-view", "标签视图", Blt, e)}</div></div>`;
+function Wlt({ kind: e, q: t, scope: n, view: r, category: i }, a) {
+ let o = Q8[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? gs("people-layout", o + "索引版式", c ? Ilt : Flt, 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}
${ro()}
<div data-index-search class="ml-auto min-w-35 max-w-80 flex-1 max-board-narrow:order-1 max-board-narrow:basis-40">${io("", t, "过滤" + o)}</div>
</div>
- ${e === "tags" ? e5(Flt, n, "词表") : e === "performers" || e === "creators" ? e5(Ilt, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? e5(Plt, e, "公司类型") : ""}
- ${e === "tags" ? Blt(r) : ""}
- ${e === "performers" && n !== "online" ? zDe(i) : ""}
+ ${e === "tags" ? $8(Rlt, n, "词表") : e === "performers" || e === "creators" ? $8(zlt, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? $8(Llt, e, "公司类型") : ""}
+ ${e === "tags" ? Ult(r) : ""}
+ ${e === "performers" && n !== "online" ? BDe(i) : ""}
${Po({
kind: e,
layout: a,
mode: r
})}`;
}
-var Hlt = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function Ult(e, t, n) {
- let r = Vlt(t, n);
- e.querySelector("[data-skeleton]")?.dataset.skeleton !== Hlt(r) && (e.innerHTML = r, Vo(e));
+var Glt = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function Klt(e, t, n) {
+ let r = Wlt(t, n);
+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== Glt(r) && (e.innerHTML = r, Vo(e));
}
//#endregion
//#region src/react/router/pages/index-entity.tsx
-var Wlt = () => Kc, Glt = () => jc, t5 = () => document.getElementById("index");
-function n5(e, t, n = {}) {
- let r = (0, S.useSyncExternalStore)(nl, Wlt);
+var qlt = () => Kc, Jlt = () => jc, e5 = () => document.getElementById("index");
+function t5(e, t, n = {}) {
+ let r = (0, S.useSyncExternalStore)(nl, qlt);
EO();
let i = RO(fk.navigation.location.pathname), a = (0, S.useRef)({
mounted: !0,
@@ -102345,13 +102358,13 @@ function n5(e, t, n = {}) {
i
]);
}
-async function Klt(e, t, n, r) {
- let i = t5();
+async function Ylt(e, t, n, r) {
+ let i = e5();
if (!i) return;
let a = `/${t}`;
e.surfaceChanged("index", a);
- let o = zlt(t, n), s = Rlt(dE().value.peopleLayout);
- Ult(i, o, s), await nk(a, {
+ let o = Hlt(t, n), s = Vlt(dE().value.peopleLayout);
+ Klt(i, o, s), await nk(a, {
...o,
layout: s,
selectMode: jc,
@@ -102361,23 +102374,23 @@ async function Klt(e, t, n, r) {
isCurrent: r
}) && r() && e.surfaceShown?.("index", a);
}
-function qlt(e) {
- let t = t5(), n = t ? QO(t) : null;
+function Xlt(e) {
+ let t = e5(), n = t ? QO(t) : null;
return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;
}
-function Jlt({ epoch: e }) {
- let t = (0, S.useContext)(IP), n = EO(), r = n.pathname.split("/").filter(Boolean)[0];
- return n5(e, (e, i) => {
- t && Klt(t, r, n.search, i);
- }, { shown: () => qlt(`/${r}`) }), null;
+function Zlt({ epoch: e }) {
+ let t = (0, S.useContext)(LP), n = EO(), r = n.pathname.split("/").filter(Boolean)[0];
+ return t5(e, (e, i) => {
+ t && Ylt(t, r, n.search, i);
+ }, { shown: () => Xlt(`/${r}`) }), null;
}
-function Ylt() {
- let e = FP(), t = (0, S.useSyncExternalStore)(nl, Glt), n = (0, S.useRef)(t);
+function Qlt() {
+ let e = IP(), t = (0, S.useSyncExternalStore)(nl, Jlt), n = (0, S.useRef)(t);
return (0, S.useEffect)(() => {
- n.current !== t && (n.current = t, window.location.pathname === "/tags" && rk(t5(), { selectMode: t }));
- }, [t]), /* @__PURE__ */ (0, C.jsx)(Jlt, { epoch: e }, e);
+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && rk(e5(), { selectMode: t }));
+ }, [t]), /* @__PURE__ */ (0, C.jsx)(Zlt, { epoch: e }, e);
}
-function Xlt(e) {
+function $lt(e) {
let t;
try {
t = decodeURIComponent(e);
@@ -102391,9 +102404,9 @@ function Xlt(e) {
name: a
} : null;
}
-var Zlt = /* @__PURE__ */ new WeakMap();
-function Qlt(e) {
- let t = Zlt.get(e);
+var eut = /* @__PURE__ */ new WeakMap();
+function tut(e) {
+ let t = eut.get(e);
return t || (t = {
helpers: {
...e.grid.helpers,
@@ -102403,14 +102416,14 @@ function Qlt(e) {
...e.grid.actions,
revealSource: e.revealSource
}
- }, Zlt.set(e, t)), t;
+ }, eut.set(e, t)), t;
}
-function $lt() {
- let e = t5(), t = e ? QO(e) : null;
+function nut() {
+ let e = e5(), t = e ? QO(e) : null;
return !!t && t.path.endsWith("/*") && t.host.isConnected;
}
-async function eut(e, t, n, r, i, a, o) {
- let s = t5();
+async function rut(e, t, n, r, i, a, o) {
+ let s = e5();
if (!s) return;
let { segment: c, kind: l, name: u } = n;
if (e.surfaceChanged("entity", r), await t.loading(l, u, a), !a()) return;
@@ -102424,7 +102437,7 @@ async function eut(e, t, n, r, i, a, o) {
}, h = t.props(l, u, i), g = {
...h,
hosts: m,
- card: Qlt(e),
+ card: tut(e),
resolvedEntity: o,
actions: {
...h.actions,
@@ -102437,14 +102450,14 @@ async function eut(e, t, n, r, i, a, o) {
container: s,
isCurrent: a,
place: (e) => (e.replaceChildren(...f), p.firstElementChild)
- }) && a() && $lt() && (e.surfaceShown?.("entity", r), window.scrollTo({
+ }) && a() && nut() && (e.surfaceShown?.("entity", r), window.scrollTo({
top: 0,
behavior: "smooth"
}));
}
-function tut({ target: e }) {
- let t = (0, S.useContext)(IP), n = FP(), r = EO();
- return n5(n, (n, i) => {
+function iut({ target: e }) {
+ let t = (0, S.useContext)(LP), n = IP(), r = EO();
+ return t5(n, (n, i) => {
let a = t?.entity;
t && a && (async () => {
let o = new URLSearchParams({ kind: e.kind });
@@ -102471,7 +102484,7 @@ function tut({ target: e }) {
return;
}
let c = String(s.canonical_name || e.name), l = Lt(e.kind, c, Number(s.id));
- l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && eut(t, a, {
+ l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && rut(t, a, {
...e,
name: c
}, r.pathname, r.search, i, s) : pk(l + r.search + r.hash, {
@@ -102479,28 +102492,28 @@ function tut({ target: e }) {
state: fk.navigation.location.state
});
})();
- }, { shown: () => $lt() && !t5()?.hidden }), null;
+ }, { shown: () => nut() && !e5()?.hidden }), null;
}
-function nut() {
- let e = Xlt(EO().pathname);
- return e ? /* @__PURE__ */ (0, C.jsx)(tut, { target: e }, JSON.stringify([e.kind, e.name])) : null;
+function aut() {
+ let e = $lt(EO().pathname);
+ return e ? /* @__PURE__ */ (0, C.jsx)(iut, { target: e }, JSON.stringify([e.kind, e.name])) : null;
}
//#endregion
//#region src/react/router/pages/catalog.tsx
-var rut = () => Kc, iut = fk.navigation.seq, aut = fk.navigation.openEpoch, r5 = fk.navigation.location.pathname, i5 = {
- seq: iut,
+var out = () => Kc, sut = fk.navigation.seq, cut = fk.navigation.openEpoch, n5 = fk.navigation.location.pathname, r5 = {
+ seq: sut,
claimed: !0,
- from: r5
+ from: n5
};
fk.listen((e) => {
- i5 = {
+ r5 = {
seq: e.seq,
- claimed: e.openEpoch === aut,
- from: r5
- }, aut = e.openEpoch, r5 = e.location.pathname;
+ claimed: e.openEpoch === cut,
+ from: n5
+ }, cut = e.openEpoch, n5 = e.location.pathname;
});
-var a5 = !1;
-function out(e) {
+var i5 = !1;
+function lut(e) {
let { seq: t, openEpoch: n, location: r } = fk.navigation, i = RO(r.pathname), a = hk() ?? r, o = G ?? {};
return {
seq: t,
@@ -102512,7 +102525,7 @@ function out(e) {
opened: e
};
}
-function sut(e, t, n, r) {
+function uut(e, t, n, r) {
let i = { ...G };
if (e === "/trash") return {
...i,
@@ -102548,8 +102561,8 @@ function sut(e, t, n, r) {
folder_recursive: a.get("folder_recursive") === "0" ? "0" : ""
};
}
-function cut(e, t) {
- let n = { ...e }, r = out(n.opened);
+function dut(e, t) {
+ let n = { ...e }, r = lut(n.opened);
Object.assign(e, r);
let i = t.catalog;
if (!i || r.opens === 0) return;
@@ -102564,41 +102577,41 @@ function cut(e, t) {
i.load();
return;
}
- r.epoch !== n.epoch && (a = fk.navigation.action === "POP" && i5.from !== "/");
+ r.epoch !== n.epoch && (a = fk.navigation.action === "POP" && r5.from !== "/");
}
let { pathname: o, search: s } = fk.navigation.location;
if (o === "/" && new URLSearchParams(s).get("state") === "ads") {
- let { kind: e, view: t } = ZH(s);
- a5 = !0, pk(QH(e, t), { replace: !0 });
+ let { kind: e, view: t } = QH(s);
+ i5 = !0, pk($H(e, t), { replace: !0 });
return;
}
- let c = a5;
- a5 = !1, a &&= o === "/", e.opened = !0, el({ state: sut(o, s, a, i) }), i.open(o, {
+ let c = i5;
+ i5 = !1, a &&= o === "/", e.opened = !0, el({ state: uut(o, s, a, i) }), i.open(o, {
entering: a,
retitle: c
});
}
-function lut(e) {
- return Pt(e) || e === "/trash" || RO(e) || e === "/immerse" || !!Xlt(e);
+function fut(e) {
+ return Pt(e) || e === "/trash" || RO(e) || e === "/immerse" || !!$lt(e);
}
-function uut() {
- let e = (0, S.useContext)(IP), t = FP(), n = (0, S.useSyncExternalStore)(nl, rut), r = EO(), i = (0, S.useRef)(null), a = (0, S.useRef)({
+function put() {
+ let e = (0, S.useContext)(LP), t = IP(), n = (0, S.useSyncExternalStore)(nl, out), r = EO(), i = (0, S.useRef)(null), a = (0, S.useRef)({
mounted: !0,
queued: !1
});
return (0, S.useEffect)(() => {
let t = a.current;
t.mounted = !0;
- let n = out(!RO(fk.navigation.location.pathname));
- return !n.covered && n.opens > 0 && (a5 || i5.seq === iut ? n.opens = -1 : i5.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {
+ let n = lut(!RO(fk.navigation.location.pathname));
+ return !n.covered && n.opens > 0 && (i5 || r5.seq === sut ? n.opens = -1 : r5.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {
t.mounted = !1, queueMicrotask(() => {
- e?.catalog && !lut(fk.navigation.location.pathname) && e.catalog.release();
+ e?.catalog && !fut(fk.navigation.location.pathname) && e.catalog.release();
});
};
}, []), (0, S.useEffect)(() => {
let t = a.current;
!t.queued && e && (t.queued = !0, queueMicrotask(() => {
- t.queued = !1, t.mounted && i.current && cut(i.current, e);
+ t.queued = !1, t.mounted && i.current && dut(i.current, e);
}));
}, [
t,
@@ -102607,7 +102620,7 @@ function uut() {
e
]), null;
}
-function dut() {
+function mut() {
let { pathname: e, search: t } = EO();
(0, S.useLayoutEffect)(() => {
if (e !== "/wall") return;
@@ -102621,15 +102634,15 @@ function dut() {
});
};
}, [e]);
- let n = (0, S.useContext)(IP), r = document.getElementById("javLibraryHeader"), i = Pt(e) && new URLSearchParams(t).get("jav") === "1";
+ let n = (0, S.useContext)(LP), r = document.getElementById("javLibraryHeader"), i = Pt(e) && new URLSearchParams(t).get("jav") === "1";
return (0, S.useLayoutEffect)(() => {
if (r) return r.hidden = !i, () => {
r.hidden = !0;
};
}, [r, i]), RO(e) && !yhe(e) ? null : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)(uut, {}, e === "/junk-files" ? "/junk-files" : "/"),
- Pt(e) ? /* @__PURE__ */ (0, C.jsx)(axe, {}) : null,
- i && r && n ? (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(aMe, {
+ /* @__PURE__ */ (0, C.jsx)(put, {}, e === "/junk-files" ? "/junk-files" : "/"),
+ Pt(e) ? /* @__PURE__ */ (0, C.jsx)(oxe, {}) : null,
+ i && r && n ? (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(oMe, {
navigate: n.navigate,
receipt: (e) => n.receipt(e)
}), r) : null
@@ -102637,21 +102650,21 @@ function dut() {
}
//#endregion
//#region src/react/router/pages/follow.tsx
-var o5 = () => document.getElementById("stats"), fut = () => Qc;
-function put(e) {
+var a5 = () => document.getElementById("stats"), hut = () => Qc;
+function gut(e) {
let t = document.createElement("div");
return t.className = "peach-react", jo(e, () => {
e.textContent = "", e.append(t);
}), t;
}
-async function mut(e, t) {
- let n = o5(), r = e.follow;
+async function _ut(e, t) {
+ let n = a5(), r = e.follow;
if (!n || !r || r.refresh()) return;
let i = Zc;
- e.surfaceChanged("follow", "/follow"), $G(n, r.skeleton()), await nk("/follow", r.props(), {
+ e.surfaceChanged("follow", "/follow"), eK(n, r.skeleton()), await nk("/follow", r.props(), {
container: n,
isCurrent: t,
- place: put
+ place: gut
}), t() && window.scrollTo(i ? {
top: i,
behavior: "instant"
@@ -102660,28 +102673,28 @@ async function mut(e, t) {
behavior: "smooth"
});
}
-function hut() {
- let e = o5(), t = e ? QO(e) : null;
+function vut() {
+ let e = a5(), t = e ? QO(e) : null;
return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;
}
-function gut() {
- let e = (0, S.useContext)(IP);
- return n5(FP(), (t, n) => {
- e && mut(e, n);
+function yut() {
+ let e = (0, S.useContext)(LP);
+ return t5(IP(), (t, n) => {
+ e && _ut(e, n);
}, {
- shown: hut,
+ shown: vut,
onCovered: () => {
fk.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();
}
}), null;
}
-function _ut(e) {
+function but(e) {
let t = e ? QO(e) : null;
return !!t && t.path === "/playlists" && t.host.isConnected;
}
-async function vut(e, t) {
- let n = o5();
- n && (e.surfaceChanged("playlists", "/playlists"), $G(n, ZG("/playlists", {
+async function xut(e, t) {
+ let n = a5();
+ n && (e.surfaceChanged("playlists", "/playlists"), eK(n, QG("/playlists", {
followLayout: "",
followSort: "",
followDir: ""
@@ -102693,68 +102706,68 @@ async function vut(e, t) {
behavior: "smooth"
}));
}
-function yut() {
- let e = (0, S.useContext)(IP), t = (0, S.useSyncExternalStore)(nl, fut), n = (0, S.useRef)(t);
+function Sut() {
+ let e = (0, S.useContext)(LP), t = (0, S.useSyncExternalStore)(nl, hut), n = (0, S.useRef)(t);
return (0, S.useEffect)(() => {
if (n.current === t) return;
n.current = t;
- let e = o5();
- _ut(e) && rk(e, { revision: t });
- }, [t]), n5(FP(), (t, n) => {
- e && vut(e, n);
+ let e = a5();
+ but(e) && rk(e, { revision: t });
+ }, [t]), t5(IP(), (t, n) => {
+ e && xut(e, n);
}, { shown: () => {
- let e = o5();
- return _ut(e) && !e.hidden;
+ let e = a5();
+ return but(e) && !e.hidden;
} }), null;
}
//#endregion
//#region src/react/router/pages/immerse.tsx
-function but() {
+function Cut() {
let e = new URLSearchParams(fk.navigation.location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function xut() {
- let e = (0, S.useContext)(IP);
- return NP(() => {
- e?.openImmerse(but());
+function wut() {
+ let e = (0, S.useContext)(LP);
+ return PP(() => {
+ e?.openImmerse(Cut());
}, !0), null;
}
-function Sut() {
- return /* @__PURE__ */ (0, C.jsx)(xut, {}, FP());
+function Tut() {
+ return /* @__PURE__ */ (0, C.jsx)(wut, {}, IP());
}
//#endregion
//#region src/react/router/pages/managed.tsx
-var Cut = [
+var Eut = [
"list",
"add",
"feeds"
-], wut = () => Kc > 0, Tut = () => (0, S.useSyncExternalStore)(nl, wut), s5 = !1, Eut = () => dE().value.followLayout === "table" ? "table" : "default", c5 = () => new URLSearchParams(window.location.search);
-function Dut(e) {
- let t = c5();
- return ZG(e, {
- followLayout: Eut(),
+], Dut = () => Kc > 0, Out = () => (0, S.useSyncExternalStore)(nl, Dut), o5 = !1, kut = () => dE().value.followLayout === "table" ? "table" : "default", s5 = () => new URLSearchParams(window.location.search);
+function Aut(e) {
+ let t = s5();
+ return QG(e, {
+ followLayout: kut(),
followSort: t.get("sort") || "",
followDir: t.get("dir") || ""
});
}
-function l5(e) {
+function c5(e) {
return Ot("/healthz", { signal: e.controller.signal }).catch((e) => {
if (kt(e)) return null;
throw e;
});
}
-function Out(e, t) {
+function jut(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 kut(e, t) {
+async function Mut(e, t) {
if (e === "/jav") {
- let e = await l5(t);
+ let e = await c5(t);
return t.live ? {
- tab: aU(c5().get("tab")),
+ tab: oU(s5().get("tab")),
readOnly: !!e?.ledger_read_only
} : null;
}
@@ -102765,57 +102778,57 @@ async function kut(e, t) {
}
if (e.startsWith("/settings/")) {
window.location.hash === "#peachProxy" && el({ configurationRequestedSection: "网络与访问" });
- let t = c5().get("section") || Uc || hhe(e);
+ let t = s5().get("section") || Uc || hhe(e);
return t ? { section: t } : {};
}
if (e === "/review") {
- let e = c5().get("category") || "", n = await l5(t);
+ let e = s5().get("category") || "", n = await c5(t);
return t.live ? {
- category: zR(e) ? e : "",
- ...Out(n, "/review")
+ category: BR(e) ? e : "",
+ ...jut(n, "/review")
} : null;
}
if (e === "/subscriptions") {
- let e = c5(), n = e.get("tab") || "", r = {
- tab: Cut.includes(n) ? n : "list",
+ let e = s5(), n = e.get("tab") || "", r = {
+ tab: Eut.includes(n) ? n : "list",
page: Math.max(1, Math.floor(Number(e.get("page"))) || 1),
sort: e.get("sort") || "",
dir: e.get("dir") || ""
- }, i = await l5(t);
+ }, i = await c5(t);
if (!t.live) return null;
let a = dE().value;
return {
...r,
pageSize: Number(a.followPageSize) || 20,
- layout: Eut(),
- ...Out(i, "/subscriptions")
+ layout: kut(),
+ ...jut(i, "/subscriptions")
};
}
return {};
}
-var u5 = () => {
+var l5 = () => {
window.scrollTo({
top: 0,
behavior: "smooth"
});
-}, d5 = (e) => {
+}, u5 = (e) => {
document.getElementById(e)?.scrollIntoView({ block: "start" });
-}, Aut = /* @__PURE__ */ new Set(["/stats", "/taste"]), jut = /* @__PURE__ */ new Set([
+}, Nut = /* @__PURE__ */ new Set(["/stats", "/taste"]), Put = /* @__PURE__ */ new Set([
"/review",
"/quality-goals",
"/tasks",
"/subscriptions"
]);
-async function Mut(e, t, n) {
- if (e === "/jav" && aU(c5().get("tab")) === "library") {
- fk.replace(kje(window.location.search));
+async function Fut(e, t, n) {
+ if (e === "/jav" && oU(s5().get("tab")) === "library") {
+ fk.replace(Aje(window.location.search));
return;
}
- if (e === "/subscriptions" && c5().get("tab") === "wants") {
+ if (e === "/subscriptions" && s5().get("tab") === "wants") {
pk("/jav?tab=wants", { replace: !0 });
return;
}
- if (e === "/subscriptions" && c5().get("tab") === "source") {
+ if (e === "/subscriptions" && s5().get("tab") === "source") {
pk("/settings/subscriptions", { replace: !0 });
return;
}
@@ -102839,38 +102852,38 @@ async function Mut(e, t, n) {
q: "",
jav: ""
} }), t.clearSearch());
- let i = e === "/data-cleanup" && s5;
- i && (s5 = !1), $G(r, Dut(e));
- let a = await kut(e, n);
+ let i = e === "/data-cleanup" && o5;
+ i && (o5 = !1), eK(r, Aut(e));
+ let a = await Mut(e, n);
if (!a) return;
let o = await nk(e, a, {
container: r,
isCurrent: () => n.live
});
- if (o && (n.revision = QO(r)?.revision ?? 0), e.startsWith("/settings/") && o && el({ configurationRequestedSection: "" }), Aut.has(e) && u5(), n.live) {
+ if (o && (n.revision = QO(r)?.revision ?? 0), e.startsWith("/settings/") && o && el({ configurationRequestedSection: "" }), Nut.has(e) && l5(), n.live) {
let { hash: t } = window.location;
- jut.has(e) && u5(), e === "/settings/library" && (t === "#libraryProcessing" ? queueMicrotask(() => {
+ Put.has(e) && l5(), e === "/settings/library" && (t === "#libraryProcessing" ? queueMicrotask(() => {
n.live && pk("/data-cleanup#libraryProcessing", {
replace: !0,
state: null
});
- }) : t === "#peachProxy" ? d5("peachProxy") : u5()), e === "/data-cleanup" && t === "#libraryProcessing" && d5("libraryProcessing");
+ }) : t === "#peachProxy" ? u5("peachProxy") : l5()), e === "/data-cleanup" && t === "#libraryProcessing" && u5("libraryProcessing");
}
- i && d5("resource-sync");
+ i && u5("resource-sync");
}
-function f5({ path: e }) {
- let t = FP();
+function d5({ path: e }) {
+ let t = IP();
EO();
let n = RO(fk.navigation.location.pathname), r = (0, S.useRef)(n ? null : t), i = (0, S.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, C.jsx)(Nut, {
+ return /* @__PURE__ */ (0, C.jsx)(Iut, {
path: e,
covered: r.current === null
}, `${a} ${r.current ?? "covered"}`);
}
-function Nut({ path: e, covered: t }) {
- let n = (0, S.useContext)(IP), r = Tut(), i = (0, S.useRef)(null);
+function Iut({ path: e, covered: t }) {
+ let n = (0, S.useContext)(LP), r = Out(), i = (0, S.useRef)(null);
return (0, S.useEffect)(() => {
e.startsWith("/settings/") && rk(document.getElementById("stats"), { section: hhe(e) });
}, [e]), (0, S.useEffect)(() => {
@@ -102881,7 +102894,7 @@ function Nut({ path: e, covered: t }) {
controller: new AbortController()
};
i.current = a, queueMicrotask(() => {
- a.live && Mut(e, n, a);
+ a.live && Fut(e, n, a);
});
}, [r]), (0, S.useEffect)(() => () => {
let e = i.current;
@@ -102893,14 +102906,14 @@ function Nut({ path: e, covered: t }) {
});
}, []), null;
}
-function Put() {
- let e = Tut(), t = (0, S.useRef)(!1);
+function Lut() {
+ let e = Out(), t = (0, S.useRef)(!1);
return (0, S.useEffect)(() => {
if (!e || t.current || RO(fk.navigation.location.pathname)) return;
t.current = !0;
let n = !0;
return queueMicrotask(() => {
- n && (s5 = !0, pk("/data-cleanup#resource-sync", { replace: !0 }));
+ n && (o5 = !0, pk("/data-cleanup#resource-sync", { replace: !0 }));
}), () => {
n = !1;
};
@@ -102908,36 +102921,36 @@ function Put() {
}
//#endregion
//#region src/react/router/managed-routes.tsx
-function Fut(e, t, n) {
+function Rut(e, t, n) {
if (e === "duplicates") {
n("/duplicates");
return;
}
let r = t.managePath(e);
- h5(r) ? n(r) : t.openManage(e);
+ m5(r) ? n(r) : t.openManage(e);
}
-var p5 = (e) => ({
- element: /* @__PURE__ */ (0, C.jsx)(f5, { path: e }),
- prefetch: (e, t) => xNe(t),
- page: (e, t) => /* @__PURE__ */ (0, C.jsx)(IPe, {
+var f5 = (e) => ({
+ element: /* @__PURE__ */ (0, C.jsx)(d5, { path: e }),
+ prefetch: (e, t) => SNe(t),
+ page: (e, t) => /* @__PURE__ */ (0, C.jsx)(LPe, {
receipt: (e) => t.receipt(e),
reopenTutorial: t.reopenTutorial,
section: e.section ?? ""
})
-}), m5 = {
+}), p5 = {
"/jav": {
- element: /* @__PURE__ */ (0, C.jsx)(f5, { path: "/jav" }),
- prefetch: (e, t) => iMe(e.tab, t),
- page: (e, t) => /* @__PURE__ */ (0, C.jsx)(sMe, {
+ element: /* @__PURE__ */ (0, C.jsx)(d5, { path: "/jav" }),
+ prefetch: (e, t) => aMe(e.tab, t),
+ page: (e, t) => /* @__PURE__ */ (0, C.jsx)(cMe, {
...e,
navigate: t.navigate,
receipt: (e) => t.receipt(e)
})
},
"/stats": {
- element: /* @__PURE__ */ (0, C.jsx)(f5, { path: "/stats" }),
- prefetch: (e, t) => zLe(t),
- page: (e, t, n) => /* @__PURE__ */ (0, C.jsx)(xst, {
+ element: /* @__PURE__ */ (0, C.jsx)(d5, { path: "/stats" }),
+ prefetch: (e, t) => BLe(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, C.jsx)(wst, {
tagLabel: gc,
onTag: t.openTag,
configurable: e.configurable,
@@ -102947,9 +102960,9 @@ var p5 = (e) => ({
})
},
"/taste": {
- element: /* @__PURE__ */ (0, C.jsx)(f5, { path: "/taste" }),
- prefetch: (e, t) => ect("all", t),
- page: (e, t, n) => /* @__PURE__ */ (0, C.jsx)(Alt, {
+ element: /* @__PURE__ */ (0, C.jsx)(d5, { path: "/taste" }),
+ prefetch: (e, t) => rct("all", t),
+ page: (e, t, n) => /* @__PURE__ */ (0, C.jsx)(Nlt, {
onSignal: t.openTasteSignal,
navigate: n,
toast: (e) => t.receipt(e),
@@ -102957,9 +102970,9 @@ var p5 = (e) => ({
})
},
"/review": {
- element: /* @__PURE__ */ (0, C.jsx)(f5, { path: "/review" }),
- prefetch: (e, t) => RTe(t),
- page: (e, t) => /* @__PURE__ */ (0, C.jsx)(WMe, {
+ element: /* @__PURE__ */ (0, C.jsx)(d5, { path: "/review" }),
+ prefetch: (e, t) => zTe(t),
+ page: (e, t) => /* @__PURE__ */ (0, C.jsx)(GMe, {
...e,
route: t.routeReview,
openItem: t.openItem,
@@ -102969,27 +102982,27 @@ var p5 = (e) => ({
})
},
"/data-cleanup": {
- element: /* @__PURE__ */ (0, C.jsx)(f5, { path: "/data-cleanup" }),
- prefetch: (e, t) => CEe(t),
- page: (e, t, n) => /* @__PURE__ */ (0, C.jsx)(kDe, {
+ element: /* @__PURE__ */ (0, C.jsx)(d5, { path: "/data-cleanup" }),
+ prefetch: (e, t) => wEe(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, C.jsx)(ADe, {
failure: t.failure,
- open: (e) => Fut(e, t, n),
+ open: (e) => Rut(e, t, n),
toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)
})
},
"/duplicates": {
- element: /* @__PURE__ */ (0, C.jsx)(f5, { path: "/duplicates" }),
- prefetch: (e, t) => lTe(t),
- page: (e, t) => /* @__PURE__ */ (0, C.jsx)(aAe, {
+ element: /* @__PURE__ */ (0, C.jsx)(d5, { path: "/duplicates" }),
+ prefetch: (e, t) => uTe(t),
+ page: (e, t) => /* @__PURE__ */ (0, C.jsx)(oAe, {
openItem: t.openItem,
failure: t.failure,
toast: (e, { undo: n } = {}) => t.receipt(e, n ? { undo: n } : {})
})
},
"/quality-goals": {
- element: /* @__PURE__ */ (0, C.jsx)(f5, { path: "/quality-goals" }),
- prefetch: (e, t) => yTe(t),
- page: (e, t) => /* @__PURE__ */ (0, C.jsx)(DMe, {
+ element: /* @__PURE__ */ (0, C.jsx)(d5, { path: "/quality-goals" }),
+ prefetch: (e, t) => bTe(t),
+ page: (e, t) => /* @__PURE__ */ (0, C.jsx)(OMe, {
openItem: t.openItem,
javTitleHtml: _k,
javDisplayName: gk,
@@ -102998,19 +103011,19 @@ var p5 = (e) => ({
})
},
"/sources": {
- element: /* @__PURE__ */ (0, C.jsx)(f5, { path: "/sources" }),
- prefetch: (e, t) => ZMe(t),
- page: (e, t) => /* @__PURE__ */ (0, C.jsx)(dNe, { toast: (e) => t.toast(e) })
+ element: /* @__PURE__ */ (0, C.jsx)(d5, { path: "/sources" }),
+ prefetch: (e, t) => QMe(t),
+ page: (e, t) => /* @__PURE__ */ (0, C.jsx)(fNe, { toast: (e) => t.toast(e) })
},
- "/settings/library": p5("/settings/library"),
- "/settings/subscriptions": p5("/settings/subscriptions"),
- "/settings/downloads": p5("/settings/downloads"),
- "/settings/network": p5("/settings/network"),
- "/settings/maintenance": p5("/settings/maintenance"),
+ "/settings/library": f5("/settings/library"),
+ "/settings/subscriptions": f5("/settings/subscriptions"),
+ "/settings/downloads": f5("/settings/downloads"),
+ "/settings/network": f5("/settings/network"),
+ "/settings/maintenance": f5("/settings/maintenance"),
"/diagnostics": {
- element: /* @__PURE__ */ (0, C.jsx)(f5, { path: "/diagnostics" }),
- prefetch: (e, t) => oAe(t),
- page: (e, t, n) => /* @__PURE__ */ (0, C.jsx)(uAe, {
+ element: /* @__PURE__ */ (0, C.jsx)(d5, { path: "/diagnostics" }),
+ prefetch: (e, t) => sAe(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, C.jsx)(dAe, {
navigate: n,
openItem: t.openItem,
receipt: (e) => t.receipt(e),
@@ -103020,14 +103033,14 @@ var p5 = (e) => ({
})
},
"/tasks": {
- element: /* @__PURE__ */ (0, C.jsx)(f5, { path: "/tasks" }),
+ element: /* @__PURE__ */ (0, C.jsx)(d5, { path: "/tasks" }),
prefetch: (e, t) => J_e(t),
page: () => /* @__PURE__ */ (0, C.jsx)(mve, {})
},
"/subscriptions": {
- element: /* @__PURE__ */ (0, C.jsx)(f5, { path: "/subscriptions" }),
+ element: /* @__PURE__ */ (0, C.jsx)(d5, { path: "/subscriptions" }),
prefetch: (e, t) => kr(t, e.tab),
- page: (e, t) => /* @__PURE__ */ (0, C.jsx)(KAe, {
+ page: (e, t) => /* @__PURE__ */ (0, C.jsx)(qAe, {
...e,
route: t.routeFollowManage,
savePreference: t.saveFollowPreference,
@@ -103036,11 +103049,11 @@ var p5 = (e) => ({
openServiceConfiguration: () => t.navigate("/settings/subscriptions")
})
}
-}, h5 = (e) => Object.hasOwn(m5, e), Iut = { "/resource-sync": { element: /* @__PURE__ */ (0, C.jsx)(Put, {}) } }, Lut = { "/immerse": { element: /* @__PURE__ */ (0, C.jsx)(Sut, {}) } }, g5 = {
+}, m5 = (e) => Object.hasOwn(p5, e), zut = { "/resource-sync": { element: /* @__PURE__ */ (0, C.jsx)(Lut, {}) } }, But = { "/immerse": { element: /* @__PURE__ */ (0, C.jsx)(Tut, {}) } }, h5 = {
"/playlists": {
- element: /* @__PURE__ */ (0, C.jsx)(yut, {}),
- prefetch: (e, t) => pMe(t),
- page: (e, t) => /* @__PURE__ */ (0, C.jsx)(TMe, {
+ element: /* @__PURE__ */ (0, C.jsx)(Sut, {}),
+ prefetch: (e, t) => mMe(t),
+ page: (e, t) => /* @__PURE__ */ (0, C.jsx)(EMe, {
revision: e.revision,
openPlaylist: t.openPlaylist,
openEntity: t.openEntity,
@@ -103049,14 +103062,14 @@ var p5 = (e) => ({
})
},
"/follow": {
- element: /* @__PURE__ */ (0, C.jsx)(gut, {}),
+ element: /* @__PURE__ */ (0, C.jsx)(yut, {}),
prefetch: (e, t) => Zr(e, t),
- page: (e) => /* @__PURE__ */ (0, C.jsx)(jOe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, C.jsx)(MOe, { ...e })
}
-}, Rut = (e) => Object.hasOwn(g5, e), _5 = {
- element: /* @__PURE__ */ (0, C.jsx)(Ylt, {}),
- prefetch: (e, t) => XDe(e, t),
- page: (e, t) => /* @__PURE__ */ (0, C.jsx)(cje, {
+}, Vut = (e) => Object.hasOwn(h5, e), g5 = {
+ element: /* @__PURE__ */ (0, C.jsx)(Qlt, {}),
+ prefetch: (e, t) => ZDe(e, t),
+ page: (e, t) => /* @__PURE__ */ (0, C.jsx)(lje, {
...e,
route: t.routeIndex,
savePreference: t.savePeopleLayout,
@@ -103069,52 +103082,52 @@ var p5 = (e) => ({
openFollowAuthor: t.openFollowAuthor,
openFollowTag: t.openFollowTag
})
+}, _5 = {
+ "/performers": g5,
+ "/creators": g5,
+ "/studios": g5,
+ "/agencies": g5,
+ "/tags": g5
}, v5 = {
- "/performers": _5,
- "/creators": _5,
- "/studios": _5,
- "/agencies": _5,
- "/tags": _5
+ element: /* @__PURE__ */ (0, C.jsx)(aut, {}),
+ prefetch: (e) => zDe(e),
+ page: (e) => /* @__PURE__ */ (0, C.jsx)(Xke, { ...e })
}, y5 = {
- element: /* @__PURE__ */ (0, C.jsx)(nut, {}),
- prefetch: (e) => RDe(e),
- page: (e) => /* @__PURE__ */ (0, C.jsx)(Yke, { ...e })
+ "/performers/*": v5,
+ "/studios/*": v5,
+ "/creators/*": v5,
+ "/series/*": v5,
+ "/agencies/*": v5,
+ "/tags/*": v5
}, b5 = {
- "/performers/*": y5,
- "/studios/*": y5,
- "/creators/*": y5,
- "/series/*": y5,
- "/agencies/*": y5,
- "/tags/*": y5
-}, x5 = {
"/": {
- element: /* @__PURE__ */ (0, C.jsx)(dut, {}),
+ element: /* @__PURE__ */ (0, C.jsx)(mut, {}),
prefetch: (e, t) => Nde(e, t),
- page: (e) => /* @__PURE__ */ (0, C.jsx)(_R, { ...e })
+ page: (e) => /* @__PURE__ */ (0, C.jsx)(vR, { ...e })
},
"/junk-files": {
- element: /* @__PURE__ */ (0, C.jsx)(dut, {}),
+ element: /* @__PURE__ */ (0, C.jsx)(mut, {}),
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, C.jsx)(Cje, { ...e })
+ page: (e) => /* @__PURE__ */ (0, C.jsx)(wje, { ...e })
}
-}, zut = (e) => Object.hasOwn(x5, e), But = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, C.jsx)(dMe, { ...e }) : /* @__PURE__ */ (0, C.jsx)(iB, { ...e }), Vut = {
+}, Hut = (e) => Object.hasOwn(b5, e), Uut = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, C.jsx)(fMe, { ...e }) : /* @__PURE__ */ (0, C.jsx)(aB, { ...e }), Wut = {
"catalog-filter": {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, C.jsx)(wxe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, C.jsx)(Txe, { ...e })
},
"feed-new": {
- prefetch: (e) => PDe(e),
- page: (e) => /* @__PURE__ */ (0, C.jsx)(dAe, { ...e })
+ prefetch: (e) => FDe(e),
+ page: (e) => /* @__PURE__ */ (0, C.jsx)(fAe, { ...e })
},
"library-processing": {
- prefetch: (e, t) => dI(t),
- page: (e) => /* @__PURE__ */ (0, C.jsx)(But, { ...e })
+ prefetch: (e, t) => fI(t),
+ page: (e) => /* @__PURE__ */ (0, C.jsx)(Uut, { ...e })
},
search: {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, C.jsx)(gNe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, C.jsx)(_Ne, { ...e })
}
-}, Hut = (e) => Object.hasOwn(Vut, e), Uut = {
+}, x5 = (e) => Object.hasOwn(Wut, e), Gut = {
"batch-dock": {
prefetch: async () => {},
page: () => /* @__PURE__ */ (0, C.jsx)(Qce, {})
@@ -103133,17 +103146,17 @@ var p5 = (e) => ({
},
"settings-panel": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, C.jsx)(nFe, {})
+ page: () => /* @__PURE__ */ (0, C.jsx)(rFe, {})
},
sidebar: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, C.jsx)(gFe, {})
+ page: () => /* @__PURE__ */ (0, C.jsx)(_Fe, {})
},
stage: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, C.jsx)(LLe, {})
+ page: () => /* @__PURE__ */ (0, C.jsx)(RLe, {})
}
-}, Wut = (e) => Object.hasOwn(Uut, e), Gut = [
+}, Kut = (e) => Object.hasOwn(Gut, e), qut = [
"/",
"/wall",
"/unseen",
@@ -103153,44 +103166,44 @@ var p5 = (e) => ({
"/junk-files"
];
[
- ...Object.keys(m5),
- ...Object.keys(g5),
- ...Object.keys(v5),
- ...Object.keys(b5),
- ...Gut
+ ...Object.keys(p5),
+ ...Object.keys(h5),
+ ...Object.keys(_5),
+ ...Object.keys(y5),
+ ...qut
];
-var Kut = (e) => h5(e) || Rut(e) || Object.hasOwn(v5, e) || Object.hasOwn(b5, e) || zut(e) || Hut(e) || Wut(e);
-function qut(e) {
- return h5(e) ? m5[e] : Rut(e) ? g5[e] : zut(e) ? x5[e] : Hut(e) ? Vut[e] : Wut(e) ? Uut[e] : Object.hasOwn(v5, e) ? v5[e] : b5[e];
+var Jut = (e) => m5(e) || Vut(e) || Object.hasOwn(_5, e) || Object.hasOwn(y5, e) || Hut(e) || x5(e) || Kut(e);
+function Yut(e) {
+ return m5(e) ? p5[e] : Vut(e) ? h5[e] : Hut(e) ? b5[e] : x5(e) ? Wut[e] : Kut(e) ? Gut[e] : Object.hasOwn(_5, e) ? _5[e] : y5[e];
}
-function Jut(e, t, n) {
- return Kut(e) ? qut(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
+function Xut(e, t, n) {
+ return Jut(e) ? Yut(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
}
-function Yut(e, t, n, r) {
- return qut(e).page(t, n, r);
+function Zut(e, t, n, r) {
+ return Yut(e).page(t, n, r);
}
//#endregion
//#region node_modules/sonner/dist/index.mjs
-function Xut(e) {
+function Qut(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 Zut = (e) => {
+var $ut = (e) => {
switch (e) {
- case "success": return edt;
- case "info": return ndt;
- case "warning": return tdt;
- case "error": return rdt;
+ case "success": return ndt;
+ case "info": return idt;
+ case "warning": return rdt;
+ case "error": return adt;
default: return null;
}
-}, Qut = Array(12).fill(0), $ut = ({ visible: e, className: t }) => /*#__PURE__*/ S.createElement("div", {
+}, edt = Array(12).fill(0), tdt = ({ visible: e, className: t }) => /*#__PURE__*/ S.createElement("div", {
className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
"data-visible": e
-}, /*#__PURE__*/ S.createElement("div", { className: "sonner-spinner" }, Qut.map((e, t) => /*#__PURE__*/ S.createElement("div", {
+}, /*#__PURE__*/ S.createElement("div", { className: "sonner-spinner" }, edt.map((e, t) => /*#__PURE__*/ S.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), edt = /*#__PURE__*/ S.createElement("svg", {
+})))), ndt = /*#__PURE__*/ S.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -103201,7 +103214,7 @@ var Zut = (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"
-})), tdt = /*#__PURE__*/ S.createElement("svg", {
+})), rdt = /*#__PURE__*/ S.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -103212,7 +103225,7 @@ var Zut = (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"
-})), ndt = /*#__PURE__*/ S.createElement("svg", {
+})), idt = /*#__PURE__*/ S.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -103223,7 +103236,7 @@ var Zut = (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"
-})), rdt = /*#__PURE__*/ S.createElement("svg", {
+})), adt = /*#__PURE__*/ S.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -103234,7 +103247,7 @@ var Zut = (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"
-})), idt = /*#__PURE__*/ S.createElement("svg", {
+})), odt = /*#__PURE__*/ S.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -103255,7 +103268,7 @@ var Zut = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), adt = () => {
+})), sdt = () => {
let [e, t] = S.useState(document.hidden);
return S.useEffect(() => {
let e = () => {
@@ -103263,7 +103276,7 @@ var Zut = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, odt = 1, sdt = 100, cdt = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : odt++, S5 = new class {
+}, cdt = 1, ldt = 100, udt = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : cdt++, S5 = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -103273,10 +103286,10 @@ var Zut = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - sdt;
+ let e = this.toasts.length - ldt;
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 = cdt(e), i = this.pendingDismissals.get(r);
+ let { message: t, ...n } = e, r = udt(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({
@@ -103351,7 +103364,7 @@ var Zut = (e) => {
type: "default",
message: e
});
- else if (udt(e) && !e.ok) {
+ else if (fdt(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" && !S.isValidElement(r) ? r : { message: r };
this.create({
@@ -103395,7 +103408,7 @@ var Zut = (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 = cdt(t);
+ let n = udt(t);
return this.create({
...t,
jsx: e(n),
@@ -103404,7 +103417,7 @@ var Zut = (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();
}
-}(), ldt = (e, t) => S5.message(e, t), udt = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", ddt = Object.assign(ldt, {
+}(), ddt = (e, t) => S5.message(e, t), fdt = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", pdt = Object.assign(ddt, {
success: S5.success,
info: S5.info,
warning: S5.warning,
@@ -103418,20 +103431,20 @@ var Zut = (e) => {
getHistory: () => S5.toasts,
getToasts: () => S5.getActiveToasts()
});
-Xut("[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%)}");
+Qut("[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 C5(e) {
return e.label !== void 0;
}
-var fdt = 3, pdt = "24px", mdt = "16px", hdt = 4e3, gdt = 356, _dt = 14, vdt = 45, ydt = 200;
+var mdt = 3, hdt = "24px", gdt = "16px", _dt = 4e3, vdt = 356, ydt = 14, bdt = 45, xdt = 200;
function w5(...e) {
return e.filter(Boolean).join(" ");
}
-function bdt(e) {
+function Sdt(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var xdt = (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: C, classNames: w, icons: T, closeButtonAriaLabel: E = "Close toast" } = e, [D, O] = S.useState(null), [k, A] = S.useState(null), [j, M] = S.useState(!1), [N, P] = S.useState(!1), [F, I] = S.useState(!1), [ee, L] = S.useState(!1), [te, ne] = S.useState(!1), [re, ie] = S.useState(0), [ae, oe] = S.useState(0), se = S.useRef(n.duration || y || hdt), ce = S.useRef(null), le = S.useRef(null), ue = c === 0, de = c + 1 <= o, fe = n.type, pe = fe ?? "default", me = n.dismissible !== !1, he = n.className || "", ge = n.descriptionClassName || "", _e = S.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ve = S.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), ye = S.useMemo(() => n.duration || y || hdt, [n.duration, y]), be = S.useRef(0), xe = S.useRef(0), Se = S.useRef(0), Ce = S.useRef(null), [we, Te] = b.split("-"), Ee = S.useMemo(() => s.reduce((e, t, n) => n >= _e ? e : e + t.height, 0), [s, _e]), De = adt(), Oe = S.useMemo(() => e.swipeDirections ?? bdt(b), [e.swipeDirections, b]), ke = n.invert || t, Ae = fe === "loading";
+var Cdt = (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: C, classNames: w, icons: T, closeButtonAriaLabel: E = "Close toast" } = e, [D, O] = S.useState(null), [k, A] = S.useState(null), [j, M] = S.useState(!1), [N, P] = S.useState(!1), [F, I] = S.useState(!1), [ee, L] = S.useState(!1), [te, ne] = S.useState(!1), [re, ie] = S.useState(0), [ae, oe] = S.useState(0), se = S.useRef(n.duration || y || _dt), ce = S.useRef(null), le = S.useRef(null), ue = c === 0, de = c + 1 <= o, fe = n.type, pe = fe ?? "default", me = n.dismissible !== !1, he = n.className || "", ge = n.descriptionClassName || "", _e = S.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ve = S.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), ye = S.useMemo(() => n.duration || y || _dt, [n.duration, y]), be = S.useRef(0), xe = S.useRef(0), Se = S.useRef(0), Ce = S.useRef(null), [we, Te] = b.split("-"), Ee = S.useMemo(() => s.reduce((e, t, n) => n >= _e ? e : e + t.height, 0), [s, _e]), De = sdt(), Oe = S.useMemo(() => e.swipeDirections ?? Sdt(b), [e.swipeDirections, b]), ke = n.invert || t, Ae = fe === "loading";
xe.current = S.useMemo(() => _e * x + Ee, [_e, Ee]), S.useEffect(() => {
se.current = ye;
}, [ye]), S.useEffect(() => {
@@ -103472,7 +103485,7 @@ var xdt = (e) => {
let je = S.useCallback(() => {
P(!0), ie(xe.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, ydt);
+ }, xdt);
}, [
n,
d,
@@ -103505,12 +103518,12 @@ var xdt = (e) => {
return T?.loading ? /*#__PURE__*/ S.createElement("div", {
className: w5(w?.loader, n?.classNames?.loader, "sonner-loader"),
"data-visible": fe === "loading"
- }, T.loading) : /*#__PURE__*/ S.createElement($ut, {
+ }, T.loading) : /*#__PURE__*/ S.createElement(tdt, {
className: w5(w?.loader, n?.classNames?.loader),
visible: fe === "loading"
});
}
- let Ne = n.icon || T?.[fe] || Zut(fe);
+ let Ne = n.icon || T?.[fe] || $ut(fe);
return /*#__PURE__*/ S.createElement("li", {
tabIndex: 0,
ref: le,
@@ -103557,7 +103570,7 @@ var xdt = (e) => {
if (ee || !me) return;
Ce.current = null;
let e = Number(le.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(le.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - ce.current?.getTime(), i = D === "x" ? e : t, a = Math.abs(i) / r;
- if ((D === "x" ? Oe.includes(e > 0 ? "right" : "left") : Oe.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= vdt || a > .11)) ie(xe.current), n.onDismiss == null || n.onDismiss.call(n, n), A(D === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), je(), L(!0);
+ if ((D === "x" ? Oe.includes(e > 0 ? "right" : "left") : Oe.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= bdt || a > .11)) ie(xe.current), n.onDismiss == null || n.onDismiss.call(n, n), A(D === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), je(), L(!0);
else {
var o, s;
(o = le.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = le.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), ne(!1), I(!1), O(null);
@@ -103597,7 +103610,7 @@ var xdt = (e) => {
je(), n.onDismiss == null || n.onDismiss.call(n, n);
},
className: w5(w?.closeButton, n?.classNames?.closeButton)
- }, T?.close ?? idt) : null, (fe || n.icon || n.promise) && n.icon !== null && (T?.[fe] !== null || n.icon) ? /*#__PURE__*/ S.createElement("div", {
+ }, T?.close ?? odt) : null, (fe || n.icon || n.promise) && n.icon !== null && (T?.[fe] !== null || n.icon) ? /*#__PURE__*/ S.createElement("div", {
"data-icon": "",
className: w5(w?.icon, n?.classNames?.icon)
}, fe === "loading" ? n.icon || Me() : n.promise ? Me() : null, fe === "loading" ? null : Ne) : null, /*#__PURE__*/ S.createElement("div", {
@@ -103627,15 +103640,15 @@ var xdt = (e) => {
className: w5(w?.actionButton, n?.classNames?.actionButton)
}, n.action.label) : null);
};
-function Sdt() {
+function wdt() {
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 Cdt(e, t) {
+function Tdt(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? mdt : pdt;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? gdt : hdt;
function o(e) {
[
"top",
@@ -103656,8 +103669,8 @@ function Cdt(e, t) {
}) : o(a);
}), n;
}
-var wdt = /*#__PURE__*/ S.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 = fdt, toastOptions: g, dir: _ = Sdt(), gap: v = _dt, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [C, w] = S.useState([]), T = S.useMemo(() => n ? C.filter((e) => e.toasterId === n) : C.filter((e) => !e.toasterId), [C, n]), E = S.useMemo(() => Array.from(new Set([i].concat(T.filter((e) => e.position).map((e) => e.position)))), [T, i]), [D, O] = S.useState([]), [k, A] = S.useState(!1), [j, M] = S.useState(!1), [N, P] = S.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), F = S.useRef(null), I = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), ee = S.useRef(null), L = S.useRef(!1), te = S.useCallback((e) => {
+var Edt = /*#__PURE__*/ S.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 = mdt, toastOptions: g, dir: _ = wdt(), gap: v = ydt, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [C, w] = S.useState([]), T = S.useMemo(() => n ? C.filter((e) => e.toasterId === n) : C.filter((e) => !e.toasterId), [C, n]), E = S.useMemo(() => Array.from(new Set([i].concat(T.filter((e) => e.position).map((e) => e.position)))), [T, i]), [D, O] = S.useState([]), [k, A] = S.useState(!1), [j, M] = S.useState(!1), [N, P] = S.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), F = S.useRef(null), I = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), ee = S.useRef(null), L = S.useRef(!1), te = S.useCallback((e) => {
w((t) => (t.find((t) => t.id === e.id)?.delete || S5.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
}, []);
return S.useEffect(() => S5.subscribe((e) => {
@@ -103729,7 +103742,7 @@ var wdt = /*#__PURE__*/ S.forwardRef(function(e, t) {
let [i, a] = t.split("-");
return T.length ? /*#__PURE__*/ S.createElement("ol", {
key: t,
- dir: _ === "auto" ? Sdt() : _,
+ dir: _ === "auto" ? wdt() : _,
tabIndex: -1,
ref: F,
className: c,
@@ -103739,10 +103752,10 @@ var wdt = /*#__PURE__*/ S.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${D[0]?.height || 0}px`,
- "--width": `${gdt}px`,
+ "--width": `${vdt}px`,
"--gap": `${v}px`,
...m,
- ...Cdt(l, u)
+ ...Tdt(l, u)
},
onBlur: (e) => {
L.current && !e.currentTarget.contains(e.relatedTarget) && (L.current = !1, ee.current &&= (ee.current.focus({ preventScroll: !0 }), null));
@@ -103760,7 +103773,7 @@ var wdt = /*#__PURE__*/ S.forwardRef(function(e, t) {
e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || M(!0);
},
onPointerUp: () => M(!1)
- }, T.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ S.createElement(xdt, {
+ }, T.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ S.createElement(Cdt, {
key: n.id,
icons: y,
index: i,
@@ -103790,23 +103803,23 @@ var wdt = /*#__PURE__*/ S.forwardRef(function(e, t) {
swipeDirections: e.swipeDirections
}))) : null;
}));
-}), Tdt = (e, t) => /* @__PURE__ */ (0, C.jsx)("span", {
+}), Ddt = (e, t) => /* @__PURE__ */ (0, C.jsx)("span", {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
}), T5 = null;
-function Edt() {
+function Odt() {
let e = T5;
T5 = null, e?.root.unmount();
}
-var Ddt = (e, t) => {
+var kdt = (e, t) => {
if (T5?.host === e) return;
- Edt();
+ Odt();
let n = (0, _t.createRoot)(e);
T5 = {
host: e,
root: n
- }, n.render(/* @__PURE__ */ (0, C.jsx)(wdt, {
+ }, n.render(/* @__PURE__ */ (0, C.jsx)(Edt, {
position: "bottom-right",
closeButton: !0,
gap: 8,
@@ -103823,16 +103836,16 @@ var Ddt = (e, t) => {
toastOptions: { closeButtonAriaLabel: "关闭提示" },
containerAriaLabel: "通知",
icons: {
- success: Tdt(t.success, !0),
- error: Tdt(t.error, !1)
+ success: Ddt(t.success, !0),
+ error: Ddt(t.error, !1)
}
}));
-}, Odt = 6e3, kdt = (e, t) => {
+}, Adt = 6e3, jdt = (e, t) => {
if (!String(t.html ?? "").trim()) return;
- let n = t.alert ? ddt.error : ddt.success, r = t.action;
+ let n = t.alert ? pdt.error : pdt.success, r = t.action;
n(/* @__PURE__ */ (0, C.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
id: e,
- duration: t.timeout > 0 ? t.timeout : Odt,
+ duration: t.timeout > 0 ? t.timeout : Adt,
action: r ? {
label: r.label,
onClick: (e) => {
@@ -103841,13 +103854,13 @@ var Ddt = (e, t) => {
} : void 0
});
}, E5 = null, D5 = null, O5 = 0, k5 = /* @__PURE__ */ new Set();
-function Adt(e) {
+function Mdt(e) {
return E5 = e, D5 && e(D5), () => {
E5 === e && (E5 = null);
};
}
-function jdt(e) {
- return E5 && (D5 = e, E5(e), The(Promise.resolve(Jut))), Promise.resolve();
+function Ndt(e) {
+ return E5 && (D5 = e, E5(e), The(Promise.resolve(Xut))), Promise.resolve();
}
async function A5(e, t, n = (e) => e) {
let r = O5;
@@ -103858,65 +103871,65 @@ async function A5(e, t, n = (e) => e) {
place: () => n(t)
}) || r !== O5 || !E5) throw new DOMException("应用已卸载", "AbortError");
}
-function Mdt() {
+function Pdt() {
O5 += 1, E5 = null, D5 = null, j5 = null, M5 = null, F5 = null, I5 = null, R5 = null, z5 = null, B5 = null, V5 = null, U5 = null, W5 = null, G5 = null, K5 = null, q5 = null;
for (let e of k5) e.remove();
- k5.clear(), Edt();
+ k5.clear(), Odt();
}
var j5 = null, M5 = null;
function N5(e) {
return j5 ??= (async () => {
- let t = ILe(e), n = document.createElement("div");
+ let t = LLe(e), n = document.createElement("div");
return n.dataset.stageHost = "", await A5("stage", n, (e) => (document.body.append(e), e)), M5 = t, t;
})(), j5;
}
var P5 = () => M5, F5 = null, I5 = null;
-function Ndt(e) {
+function Fdt(e) {
return F5 ??= (async () => {
let t = gpe(e), n = document.createElement("div");
return n.dataset.immerseHost = "", await A5("immerse", n, (e) => (document.body.append(e), e)), I5 = t, t;
})(), F5;
}
var L5 = () => I5, R5 = null, z5 = null;
-function Pdt(e) {
+function Idt(e) {
return R5 ??= (async () => {
- let t = tFe(e), n = document.createElement("div");
+ let t = nFe(e), n = document.createElement("div");
return n.dataset.settingsHost = "", await A5("settings-panel", n, (e) => (document.body.append(e), e)), z5 = t, t;
})(), R5;
}
-var Fdt = () => z5, B5 = null, V5 = null;
-function Idt(e) {
+var Ldt = () => z5, B5 = null, V5 = null;
+function Rdt(e) {
return B5 ??= (async () => {
- let t = hFe(e);
+ let t = gFe(e);
return await A5("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), V5 = t, t;
})(), B5;
}
var H5 = () => V5, U5 = null, W5 = null;
-function Ldt(e) {
+function zdt(e) {
return U5 ??= (async () => {
let t = Ape(e);
return await A5("manage-header", e.root, (e) => (e.replaceChildren(), e)), W5 = t, t;
})(), U5;
}
-var Rdt = () => W5, G5 = null, K5 = null;
-function zdt(e) {
+var Bdt = () => W5, G5 = null, K5 = null;
+function Vdt(e) {
return G5 ??= (async () => {
let t = Zce(e);
return await A5("batch-dock", e.root), K5 = t, t;
})(), G5;
}
-var Bdt = () => K5, q5 = null;
-function Vdt(e) {
+var Hdt = () => K5, q5 = null;
+function Udt(e) {
return q5 ??= (async () => {
pue(e), await A5("glow-picker", e.root);
})(), q5;
}
-function Hdt(e, t, n, r) {
- Ddt(e, t), kdt(n, r);
+function Wdt(e, t, n, r) {
+ kdt(e, t), jdt(n, r);
}
//#endregion
//#region src/application/effects.ts
-var Udt = class {
+var Gdt = class {
cleanups = /* @__PURE__ */ new Set();
active = !0;
disposed = !1;
@@ -103997,9 +104010,9 @@ var Udt = class {
}
if (e.length) throw AggregateError(e, "应用资源清理未全部完成");
}
-}, J5 = new Udt();
-function Wdt() {
- return J5.dispose(), J5 = new Udt(), J5;
+}, J5 = new Gdt();
+function Kdt() {
+ return J5.dispose(), J5 = new Gdt(), J5;
}
//#endregion
//#region src/application/receipts.js
@@ -104013,10 +104026,10 @@ var Y5 = {
rollSeed: void 0,
seededSample: void 0
};
-function Gdt() {
+function qdt() {
Y5.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : B(e && typeof e == "object" ? e.text ?? "" : e ?? ""), Y5.toastSeq = 0, Y5.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {
let a = `toast-${++Y5.toastSeq}`, o = (e, t, n, r) => {
- ja(i || (t ? "error" : "success")), Hdt(R("#toasts"), {
+ ja(i || (t ? "error" : "success")), Wdt(R("#toasts"), {
success: z("check"),
error: z("circle-alert")
}, a, {
@@ -104058,7 +104071,7 @@ function Gdt() {
}
//#endregion
//#region src/react/catalog-grid/catalog-state.ts
-var Kdt = [
+var Jdt = [
"loc",
"creator",
"studio",
@@ -104078,10 +104091,10 @@ var Kdt = [
"folder",
"folder_recursive"
];
-function qdt(e, t, n, r = n.defaultSort) {
+function Ydt(e, t, n, r = n.defaultSort) {
return nE(e, t, n.defaultSort, n.defaultSortDirection, r);
}
-function Jdt(e, t, n) {
+function Xdt(e, t, n) {
let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = Pt(r) || r === "/trash", o = (e) => a ? i.get(e) : null;
return {
loc: i.get("loc") ?? "local,115",
@@ -104096,7 +104109,7 @@ function Jdt(e, t, n) {
orient: o("orient") || "",
region: o("region") || "",
state: Mt[r] || o("state") || "",
- ...qdt(o("sort"), o("dir"), t),
+ ...Ydt(o("sort"), o("dir"), t),
seed: o("seed") || n(),
q: o("q") || "",
jav: o("jav") || "",
@@ -104106,18 +104119,18 @@ function Jdt(e, t, n) {
folder_recursive: o("folder_recursive") === "0" ? "0" : ""
};
}
-function Ydt(e, t) {
+function Zdt(e, t) {
return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;
}
-function Xdt(e) {
+function Qdt(e) {
let t = jt[e.state ?? ""] || "/", n = new URLSearchParams();
- for (let t of Kdt) {
+ for (let t of Jdt) {
let r = e[t];
r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== $T(e.sort ?? "")) && n.set(t, r);
}
return !jt[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");
}
-function Zdt(e, t, n) {
+function $dt(e, t, n) {
return {
loc: e.loc ?? "",
creator: "",
@@ -104142,7 +104155,7 @@ function Zdt(e, t, n) {
folder_recursive: ""
};
}
-function Qdt(e) {
+function eft(e) {
return {
state: e,
barsContext: {
@@ -104154,7 +104167,7 @@ function Qdt(e) {
}
//#endregion
//#region src/react/catalog-grid/catalog-controller.ts
-var $dt = class {
+var tft = class {
currentRevision = 0;
currentPage = "";
painting = null;
@@ -104199,39 +104212,39 @@ var $dt = class {
let e = [...this.waiters.values()];
this.waiters.clear(), e.forEach((e) => e());
}
-}, X5 = 3e4, Z5 = 0, eft = (e, t = Z5) => [
+}, X5 = 3e4, Z5 = 0, nft = (e, t = Z5) => [
"facets",
e,
t
-], tft = (e, t, n = Z5) => [
+], rft = (e, t, n = Z5) => [
"tops",
e,
t,
n
-], nft = (e, t = Z5) => [
+], ift = (e, t = Z5) => [
"tops",
e,
t
];
-async function rft(e) {
+async function aft(e) {
let t = String(e), n = await Ot(`/api/tops?${t}`), r = new URLSearchParams(t);
return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await Ot(`/api/tops?${r}`));
}
-function ift(e, t) {
+function oft(e, t) {
return Promise.all([W.fetchQuery({
- queryKey: eft(e),
+ queryKey: nft(e),
queryFn: () => Ot(`/api/facets${e ? `?${e}` : ""}`),
staleTime: X5
}), W.fetchQuery({
- queryKey: tft(t, e),
- queryFn: () => rft(t),
+ queryKey: rft(t, e),
+ queryFn: () => aft(t),
staleTime: X5
})]);
}
-function aft(e) {
+function sft(e) {
return W.fetchQuery({
- queryKey: nft(e),
- queryFn: () => rft(e),
+ queryKey: ift(e),
+ queryFn: () => aft(e),
staleTime: X5
});
}
@@ -104248,7 +104261,7 @@ function Q5() {
}
//#endregion
//#region src/application/navigation-items.ts
-var oft = [
+var cft = [
[
"",
"首页",
@@ -104345,18 +104358,18 @@ var oft = [
"Peach 配置",
"folder-cog"
]
-], sft = [
+], lft = [
"stats",
"taste",
"cleanup",
"follow",
"activity",
"configuration"
-], cft = (e) => $5.filter(([t]) => sft.includes(t) && (t !== "configuration" || e)), lft = $5.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
+], uft = (e) => $5.filter(([t]) => lft.includes(t) && (t !== "configuration" || e)), dft = $5.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,
t,
n
-]]), uft = [...oft, ...lft], dft = {
+]]), fft = [...cft, ...dft], pft = {
stats: "stats",
review: "review",
"data-cleanup": "cleanup",
@@ -104367,11 +104380,11 @@ var oft = [
};
//#endregion
//#region src/react/index/index-controller.ts
-function fft({ kind: e, q: t, scope: n, view: r, category: i }) {
+function mft({ 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 pft(e, t, n) {
+function hft(e, t, n) {
let r = e.entity_id || e.id, i = t === "studio" || t === "agency";
return {
html: ia(e.k, r ? {
@@ -104384,20 +104397,20 @@ function pft(e, t, n) {
face: oa(e.avatar_focus)
};
}
-function mft(e) {
+function gft(e) {
let t = String(e.k || ""), n = (t.match(/[A-Za-z0-9]/)?.[0] || Array.from(t)[0] || "?").toUpperCase(), r = e.avatar ? `<img src="${B(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${ji({ fallbacks: [e.avatar_fallback || ""] })}>` : "";
return `<span class="ini">${B(n)}</span>${r}`;
}
-function hft(e) {
+function _ft(e) {
let t = (t) => {
e.adoptFollowView(t), e.hideIndex(), e.openPage(yi(t));
};
return {
route(t, { replace: n = !1 } = {}) {
- e.route(fft(t), n);
+ e.route(mft(t), n);
},
- personAvatar: pft,
- authorAvatar: mft,
+ personAvatar: hft,
+ authorAvatar: gft,
openFollowAuthor(n) {
t(bi(e.followView(), n));
},
@@ -104408,27 +104421,27 @@ function hft(e) {
}
//#endregion
//#region src/react/follow-manage/manage-route.ts
-var gft = [
+var vft = [
"list",
"add",
"feeds"
];
-function _ft(e) {
+function yft(e) {
let t = new URLSearchParams(e), n = t.get("tab");
return {
- tab: gft.find((e) => e === n) || "list",
+ tab: vft.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 vft(e) {
+function bft(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 yft(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" : vft({
- tab: t || _ft(e).tab,
+function xft(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" : bft({
+ tab: t || yft(e).tab,
page: 1,
sort: "",
dir: ""
@@ -104436,7 +104449,7 @@ function yft(e, t) {
}
//#endregion
//#region src/application/source-action.ts
-function bft(e) {
+function Sft(e) {
return async (t, n, { button: r = null } = {}) => {
if (r?.getAttribute("aria-busy") === "true") return;
let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";
@@ -104452,36 +104465,36 @@ function bft(e) {
}
//#endregion
//#region src/react/entity-page/entity-route.ts
-var e7 = () => Object.fromEntries(OB.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
-function xft(e, t) {
+var e7 = () => Object.fromEntries(kB.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
+function Cft(e, t) {
let n = new URLSearchParams(e), r = e7();
- for (let e of OB) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
+ for (let e of kB) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
return {
...r,
...nE(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
};
}
-function Sft(e) {
+function wft(e) {
let t = new URLSearchParams();
- for (let n of OB) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== $T(e.sort || "")) && t.set(n, e[n]);
+ for (let n of kB) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== $T(e.sort || "")) && t.set(n, e[n]);
return t.toString();
}
-function Cft(e) {
+function Tft(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 wft(e, t) {
- let n = new URLSearchParams(Sft(e));
+function Eft(e, t) {
+ let n = new URLSearchParams(wft(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 Tft(e, t, n, r) {
- let i = wft(n, r);
+function Dft(e, t, n, r) {
+ let i = Eft(n, r);
return Lt(e, t) + (i ? `?${i}` : "");
}
-function Eft() {
+function Oft() {
let e = "";
return {
fresh(t, n) {
@@ -104490,23 +104503,23 @@ function Eft() {
read(t, n, r, i) {
let a = e === Lt(t, n) && !r;
e = "";
- let o = a ? e7() : { ...xft(r, i) };
+ let o = a ? e7() : { ...Cft(r, i) };
return t === "creator" && (o.creator = ""), {
filters: o,
media: a ? {
media: "videos",
set: 0
- } : Cft(r)
+ } : Tft(r)
};
}
};
}
//#endregion
//#region src/react/entity-page/photo-surface.ts
-function Dft(e, t) {
+function kft(e, t) {
return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();
}
-function Oft(e) {
+function Aft(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);
@@ -104529,12 +104542,12 @@ function Oft(e) {
}
//#endregion
//#region src/react/entity-page/entity-controller.ts
-function kft(e, t, n) {
+function jft(e, t, n) {
let r = (t, n, r, i = {
media: "videos",
set: 0
}, { push: a = !0 } = {}) => {
- if (a && e.route(Tft(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
+ if (a && e.route(Dft(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
e.releaseBodyPreviews();
let o = e.state();
return e.push({
@@ -104613,7 +104626,7 @@ function kft(e, t, n) {
}
//#endregion
//#region src/react/entity-page/entity-loading.ts
-function Aft(e) {
+function Mft(e) {
return async (t, n, r) => {
!e.shapesReady(t, n) && (await e.waitShapes(), !r()) || (e.paintSkeleton(t, n), e.resetView(), e.loadShapes().then(() => {
r() && e.syncParts(t, n);
@@ -104622,7 +104635,7 @@ function Aft(e) {
}
//#endregion
//#region src/react/entity-page/entity-portrait.ts
-function jft(e, t) {
+function Nft(e, t) {
let n = e === "studio" || e === "agency", r = t.id ? ra({
kind: e,
id: t.id,
@@ -104644,11 +104657,11 @@ function jft(e, t) {
}
//#endregion
//#region src/react/entity-page/entity-application.ts
-function Mft(e) {
- let t = Eft(), n = {
+function Pft(e) {
+ let t = Oft(), n = {
...e.helpers,
- portraitImg: jft
- }, r = kft(e.controller, n, e.actions);
+ portraitImg: Nft
+ }, r = jft(e.controller, n, e.actions);
return {
...r,
helpers: n,
@@ -104657,13 +104670,13 @@ function Mft(e) {
let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());
return r.props(n, i, o, s);
},
- loading: Aft(e.loading),
- photos: Oft(e.photos)
+ loading: Mft(e.loading),
+ photos: Aft(e.photos)
};
}
//#endregion
//#region src/card-art/feed-identity.ts
-function Nft(e) {
+function Fft(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="${B(e.code)}" data-actor="${B(t.source_actor_id)}" data-name="${B(t.name)}"` : "", i = n ? "" : ia(t.name, t, null);
return "id" in t && t.id ? `<a class="mav"${r} href="${B(Lt("performer", t.name, t.id))}" aria-label="打开女优页:${B(t.name)}">${i}</a>` : `<span class="mav"${r} title="${B(t.name)}">${i}</span>`;
@@ -104688,11 +104701,11 @@ var t7 = {
feedNewActions: void 0,
HERO_WIDE_PX: void 0
};
-function Pft(e) {
+function Ift(e) {
return e.has_cover ? la(e, "big") : e.cover_url ? la(e, "big").replace(/ src="[^"]*"/, ` src="${B(e.cover_url)}" referrerpolicy="no-referrer" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"无封面\" data-drop-class=\"nopic\"") : e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${yo("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>";
}
-function Fft(e) {
- let t = [e.performers && `<span class="feednewperformers" title="${B(e.performers)}">${B(e.performers)}</span>`, e.release_date && `<span>${B(e.release_date)}</span>`].filter(Boolean).join(""), n = Pft(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? _k({
+function Lft(e) {
+ let t = [e.performers && `<span class="feednewperformers" title="${B(e.performers)}">${B(e.performers)}</span>`, e.release_date && `<span>${B(e.release_date)}</span>`].filter(Boolean).join(""), n = Ift(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? _k({
is_jav: !0,
code: e.code,
name: e.code,
@@ -104704,10 +104717,10 @@ function Fft(e) {
<button type="button" data-feed-action="${e.wanted ? "unwant" : "want"}" aria-pressed="${!!e.wanted}" title="${e.wanted ? "取消想要" : "想要"}" aria-label="想要 ${B(r)}">${z("star")}</button>
<button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${B(r)}">${z("x")}</button>
<button type="button" data-feed-action="read" title="标为已看过" aria-label="标为已看过 ${B(r)}">${z("check")}</button></div></div>
- <div class="meta">${Nft(e)}<div class="mtext"><span class="t">${i}</span>
+ <div class="meta">${Fft(e)}<div class="mtext"><span class="t">${i}</span>
<div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;
}
-function Ift() {
+function Rft() {
let e = document.getElementById("peach-entity-shape");
if (e) try {
let t = JSON.parse(e.textContent || "null");
@@ -104717,12 +104730,12 @@ function Ift() {
}
async function n7() {
let e = J5, t = await Ot("/api/entity/shapes", { signal: e.signal }).catch(() => null);
- return e.isActive && t && !t.error && (t7.entityShapesComplete = !0, t7.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${Kt(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && (X.homeHasFeed = t.home.feed), r7(location.pathname) && Lft(R("#feedNew"))), t7.entityShapes;
+ return e.isActive && t && !t.error && (t7.entityShapesComplete = !0, t7.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${Kt(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && (X.homeHasFeed = t.home.feed), r7(location.pathname) && zft(R("#feedNew"))), t7.entityShapes;
}
-function Lft(e) {
+function zft(e) {
!e || $O(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = t7.feedNewSkeletonHtml())));
}
-function Rft(e, t) {
+function Bft(e, t) {
return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : _o(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {
variant: "warning",
className: "feednetwork",
@@ -104730,22 +104743,22 @@ function Rft(e, t) {
actionHref: "/sources"
});
}
-function zft(e) {
+function Vft(e) {
let t = e && !e.error && e.items || [];
- return Rft(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(Fft).join("")}</div>`;
+ return Bft(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(Lft).join("")}</div>`;
}
-function Bft(e) {
+function Hft(e) {
e && (_9(e), Z.appSettings.feedAutoScroll && as(e));
}
function r7(e) {
return Pt(e) && e !== "/junk-files";
}
-function Vft(e) {
+function Uft(e) {
return Pt(e) && e !== "/junk-files";
}
-function Hft() {
+function Wft() {
let e = R("#feedNew");
- $O(e) ? rk(e, { revision: ++t7.feedRevision }) : (Lft(e), nk("feed-new", {
+ $O(e) ? rk(e, { revision: ++t7.feedRevision }) : (zft(e), nk("feed-new", {
host: e,
revision: t7.feedRevision,
helpers: t7.feedNewHelpers,
@@ -104759,28 +104772,28 @@ function i7() {
let e = R("#feedNew");
e.querySelectorAll(".feednewrow").forEach(os), ik(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");
}
-function Uft() {
+function Gft() {
t7.feedRevision += 1, rk(R("#feedNew"), { revision: t7.feedRevision }), s7({ feedRevision: t7.feedRevision });
}
-function Wft() {
+function Kft() {
document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? as(e) : os(e));
}
-function Gft([e]) {
+function qft([e]) {
R("#index").toggleAttribute("data-hero-wide", e.contentRect.width >= t7.HERO_WIDE_PX);
}
-function Kft() {
+function Jft() {
t7.FEED_SKELETON_CARDS = 8, t7.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${hE}"></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(t7.FEED_SKELETON_CARDS)}</div>`, t7.entityShapes = null, t7.entityShapesComplete = !1, t7.hasEntityShape = (e, t) => t7.entityShapesComplete || !!t7.entityShapes?.has(`${e}/${Kt(t)}`), t7.hasEntityPart = (e, t, n) => !!t && !!t7.entityShapes?.get(`${e}/${Kt(t)}`)?.includes(n), t7.feedNewSkeletonSection = () => `<section class="feednew">${t7.feedNewSkeletonHtml()}</section>`, t7.COSTAR_SKELETON_PEOPLE = 12, t7.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(t7.COSTAR_SKELETON_PEOPLE)}</div></div>`, t7.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, t7.feedRevision = 0, t7.feedNewHelpers = {
- feedRowHtml: zft,
- wireFeedRow: (e) => Bft(e)
+ feedRowHtml: Vft,
+ wireFeedRow: (e) => Hft(e)
}, t7.feedNewActions = { settled: (e) => {
X.homeHasFeed = e;
- } }, t7.HERO_WIDE_PX = 900, J5.resize(Gft).observe(R("#index"));
+ } }, t7.HERO_WIDE_PX = 900, J5.resize(qft).observe(R("#index"));
}
//#endregion
//#region src/entity-skeleton.ts
-function qft(e, t, n, r = "") {
+function Yft(e, t, n, r = "") {
let i = e === "studio" || e === "agency";
return `<section data-skeleton="entity/${e}" role="status" aria-label="正在读取资料">
<span class="sr-only">正在读取资料</span><div aria-hidden="true"><div class="peach-react contents">
@@ -104795,8 +104808,8 @@ function qft(e, t, n, r = "") {
}
//#endregion
//#region src/filter-controls-skeleton.ts
-function Jft(e, t) {
- let n = "disabled data-skeleton-action", r = t ? `<span data-entity-layout="" class="${JP}" role="radiogroup" aria-label="${B(t.label)}">${t.options.map(([e, r, i]) => `<button type="button" class="${YP}" role="radio" aria-label="${B(r)}" aria-checked="${e === t.value}" data-glass-segment=""${e === t.value ? " data-selected=\"\"" : ""} ${n}>${z(i)}</button>`).join("")}</span>` : "";
+function Xft(e, t) {
+ let n = "disabled data-skeleton-action", r = t ? `<span data-entity-layout="" class="${YP}" role="radiogroup" aria-label="${B(t.label)}">${t.options.map(([e, r, i]) => `<button type="button" class="${XP}" role="radio" aria-label="${B(r)}" aria-checked="${e === t.value}" data-glass-segment=""${e === t.value ? " data-selected=\"\"" : ""} ${n}>${z(i)}</button>`).join("")}</span>` : "";
return `<span data-entity-sorts=""><button type="button" data-entity-batch="" aria-label="换一批" ${n}>${z("shuffle")}</button>${r}${e.map((e) => `<button type="button" data-entity-sort="${B(e.key)}" aria-pressed="${e.pressed}" ${n}>${B(e.label)}${e.dir ? z(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;
}
//#endregion
@@ -104848,7 +104861,7 @@ function c7() {
return Dc;
}
function l7(e, t, n = V7()) {
- return rmt(n).map(([n, r]) => {
+ return amt(n).map(([n, r]) => {
let i = e === n, a = eE(n, e, t);
return {
key: n,
@@ -104863,7 +104876,7 @@ function u7(e, t, n, r = a7.EMPTY_ENTITY_MEDIA, i = {}) {
return a7.application.route(e, t, n, r, i);
}
function d7() {
- return Dft({
+ return kft({
entityWall: a7.entityPageWall,
entityCurrent: a7.entityPageCurrent(),
indexVisible: !R("#index").hidden,
@@ -104875,13 +104888,13 @@ function d7() {
function f7() {
a7.photos.sync();
}
-function Yft() {
+function Zft() {
d7() ? tue(vE()) : CE();
}
-function Xft(e) {
+function Qft(e) {
a7.photos.setSize(e);
}
-var Zft = bft({
+var $ft = Sft({
request: (e) => Ot("/api/reveal", {
method: "POST",
body: JSON.stringify({ id: e })
@@ -104889,20 +104902,20 @@ var Zft = bft({
success: () => Y5.toast({ text: "已在资源管理器中显示" }),
failureText: (e) => a7.sourceHint(e instanceof Error ? e.message : String(e))
});
-async function Qft(e) {
+async function ept(e) {
let t = { textContent: "" };
- return await Zft(e, t), t.textContent;
+ return await $ft(e, t), t.textContent;
}
-async function $ft(e) {
+async function tpt(e) {
let t = { textContent: "" }, n = [];
- return await ept(e, t, (e) => {
+ return await npt(e, t, (e) => {
e.items && (n = e.items.map((e) => e.id));
}), {
text: t.textContent,
removed: n
};
}
-async function ept(e, t, n) {
+async function npt(e, t, n) {
t.textContent = "正在核对目录…";
try {
let r = await Ot("/api/purge-missing", {
@@ -104932,17 +104945,17 @@ async function ept(e, t, n) {
t.textContent = a7.sourceHint(e.message), Y5.actionFailure("核对目录", e);
}
}
-function tpt(e) {
+function rpt(e) {
return `<div class="srctools">${a7.sourceToolButtons(e)}
<span class="srcstate" aria-live="polite"></span></div>`;
}
-function npt(e, t) {
+function ipt(e, t) {
let n = e.querySelector(".srcstate");
if (!n) return;
let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");
- r && J5.handler(r, "onclick", () => Zft(Number(r.dataset.reveal), n, { button: r })), i && J5.handler(i, "onclick", () => ept(Number(i.dataset.sync), n, t));
+ r && J5.handler(r, "onclick", () => $ft(Number(r.dataset.reveal), n, { button: r })), i && J5.handler(i, "onclick", () => npt(Number(i.dataset.sync), n, t));
}
-async function rpt(e, t) {
+async function apt(e, t) {
let n = ws({
title: "添加别名",
description: "图库按名字存图,多记一个写法就多一批候选;这里添的名字也能提为统称。",
@@ -104980,16 +104993,16 @@ async function rpt(e, t) {
});
} }) : Y5.actionReceipt(`${a?.alias} 已经是这条实体的名字`));
}
-function ipt(e, t) {
- let n = ["performer", "studio"].includes(e) && t7.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>${ro()}${e === "agency" ? "" : Jft(l7(G.sort, G.dir, n), n ? {
+function opt(e, t) {
+ let n = ["performer", "studio"].includes(e) && t7.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>${ro()}${e === "agency" ? "" : Xft(l7(G.sort, G.dir, n), n ? {
name: "jav-layout",
label: "JAV 卡片版式",
value: _E(),
options: mE
- } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" disabled data-skeleton-action>${z("play")}</button><button type="button" data-media-view="photos" aria-label="照片" disabled data-skeleton-action>${z("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="${B(e.k)}" aria-pressed="${G.state === e.k}" disabled data-skeleton-action>${B(e.label)}</button>`).join("")}</div>`, a = qft(e, r, e === "agency" ? Po({
+ } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" disabled data-skeleton-action>${z("play")}</button><button type="button" data-media-view="photos" aria-label="照片" disabled data-skeleton-action>${z("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="${B(e.k)}" aria-pressed="${G.state === e.k}" disabled data-skeleton-action>${B(e.label)}</button>`).join("")}</div>`, a = Yft(e, r, e === "agency" ? Po({
kind: "performers",
layout: S7.peopleIndexLayout()
- }) : XG("正在读取作品", {
+ }) : ZG("正在读取作品", {
cards: !0,
className: "catalog-skeleton postercard-skeleton",
cardRatio: SE(xE({
@@ -105008,14 +105021,14 @@ function p7(e, t) {
};
r(n.querySelector(".entityfoot"), e !== "agency" && t7.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", t7.costarSkeletonFoot())), r(n.querySelector(".feednew"), t7.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", t7.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && t7.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", t7.factsSkeleton()));
}
-function apt(e) {
- let t = Ft[e] || e, n = $8[t] || "条目", r = $8[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";
+function spt(e) {
+ let t = Ft[e] || e, n = Q8[t] || "条目", r = Q8[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";
R("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });
}
function m7(e, t) {
j9(a7.application.fresh(e, t));
}
-function opt() {
+function cpt() {
a7.ENTITY_FILTER_KEYS = [
"loc",
"creator",
@@ -105026,10 +105039,10 @@ function opt() {
"orient",
"sort",
"dir"
- ], a7.emptyEntityFilters = e7, a7.parseEntityFilters = (e) => xft(e, {
+ ], a7.emptyEntityFilters = e7, a7.parseEntityFilters = (e) => Cft(e, {
sort: Z.appSettings.defaultSort,
dir: Z.appSettings.defaultSortDirection
- }), a7.entityFilterSearch = Sft, a7.cloneBarsContext = (e) => e && e.type === "entity" ? {
+ }), a7.entityFilterSearch = wft, a7.cloneBarsContext = (e) => e && e.type === "entity" ? {
...e,
filters: { ...e.filters }
} : e, a7.activeFilterState = () => {
@@ -105037,28 +105050,28 @@ function opt() {
return e.type === "home" ? G : e.filters;
}, R("#q").value = G.q, X.rememberSearchValue();
}
-function spt() {
+function lpt() {
a7.entityPageView = "", a7.entityPageWall = !1, a7.entityPageRevision = 0, a7.entityPageCurrent = () => !!o7(), a7.entityPageLive = (e, t) => {
let n = o7();
return !!n && !R("#index").hidden && n.props.kind === e && n.props.name === t;
}, a7.EMPTY_ENTITY_MEDIA = {
media: "videos",
set: 0
- }, a7.parseMediaView = Cft, a7.entityViewSearch = wft, a7.entityBodyCanLoadMore = () => !R("#index").hidden && R("#stats").hidden, a7.entityBodySkeleton = () => f9(), a7.entityPageHelpers = {
+ }, a7.parseMediaView = Tft, a7.entityViewSearch = Eft, a7.entityBodyCanLoadMore = () => !R("#index").hidden && R("#stats").hidden, a7.entityBodySkeleton = () => f9(), a7.entityPageHelpers = {
wireDrag: (e) => {
e && _9(e);
},
wireScroller: (e) => {
e && Qo(e);
},
- wireFeedRow: (e) => Bft(e),
- feedRowHtml: zft,
+ wireFeedRow: (e) => Hft(e),
+ feedRowHtml: Vft,
receipt: (e, t) => Y5.actionReceipt(e, t),
failure: (e, t) => Y5.actionFailure(e, t),
- aliasForm: (e, t) => rpt(e, t),
- sourceToolsHtml: (e) => tpt(e),
- wireSourceTools: (e, t) => npt(e, t),
- comboItems: (e) => zmt(e),
+ aliasForm: (e, t) => apt(e, t),
+ sourceToolsHtml: (e) => rpt(e),
+ wireSourceTools: (e, t) => ipt(e, t),
+ comboItems: (e) => Vmt(e),
sortKeys: (e, t, n) => l7(e, t, n)
}, a7.entityFollowActions = {
...$.followFeedActions,
@@ -105082,8 +105095,8 @@ function spt() {
<button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"
aria-label="同步删除">${z("folder-sync")}</button>`;
}
-function cpt() {
- a7.application = Mft({
+function upt() {
+ a7.application = Pft({
controller: {
context: () => {
let e = c7();
@@ -105132,7 +105145,7 @@ function cpt() {
writeSeed: (e) => {
G.seed = e, tl();
},
- setJavLayout: amt,
+ setJavLayout: smt,
javLayout: _E,
setPhotoLayout: Jle,
syncPhotoWalls: f7,
@@ -105141,16 +105154,16 @@ function cpt() {
recordPainted: (e, t) => {
a7.entityPageView = e, a7.entityPageWall = t;
},
- syncDensity: Yft,
+ syncDensity: Zft,
scheduleSticky: J7,
releasePage: () => ik(R("#index")),
- showMissing: apt,
+ showMissing: spt,
dropBars: Q5
},
loading: {
shapesReady: (e, t) => t7.hasEntityShape(e, t),
- waitShapes: Vpt,
- paintSkeleton: ipt,
+ waitShapes: Upt,
+ paintSkeleton: opt,
resetView: () => {
el({ detailReturnBarsContext: null }), a7.entityPageView = "", a7.entityPageWall = !1;
},
@@ -105166,13 +105179,13 @@ function cpt() {
walls: () => document.querySelectorAll(".followphotowall"),
pushEntity: s7,
pushFollow: I9,
- syncDensity: Yft,
+ syncDensity: Zft,
storeSize: qle
},
helpers: a7.entityPageHelpers,
actions: {
toggleTag: i9,
- openFollowAuthor: Lpt,
+ openFollowAuthor: zpt,
javContext: (e) => el({ entityJavLayout: !!e })
},
sortPreference: () => ({
@@ -105184,7 +105197,7 @@ function cpt() {
//#endregion
//#region src/application/playlists.js
var h7 = { playlistWrite: void 0 };
-function lpt(e, t) {
+function dpt(e, t) {
e === "tag" ? (el({ state: {
...G,
tag: t,
@@ -105196,15 +105209,15 @@ function lpt(e, t) {
orient: ""
} }), X.clearSearchField(), Q.route(X7()), M7(), r9()) : m7(e, t);
}
-function upt(e = "") {
+function fpt(e = "") {
return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"
maxlength="80" placeholder="输入名称" value="${B(e)}"></label>`;
}
-async function dpt({ title: e, count: t, save: n }) {
+async function ppt({ title: e, count: t, save: n }) {
let r = ws({
title: "保存为播放列表",
description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,
- body: upt(e),
+ body: fpt(e),
confirmLabel: "保存为播放列表",
onConfirm: () => {
let e = r.dialog.querySelector("[name=\"name\"]").value.trim();
@@ -105214,19 +105227,19 @@ async function dpt({ title: e, count: t, save: n }) {
});
r.dialog.querySelector("[name=\"name\"]").select();
let { confirmed: i, result: a } = await r.done;
- i && (await mht(a.id, a.current_asset_id, !0), Y5.actionReceipt("已保存为播放列表", { undo: async () => {
+ i && (await ght(a.id, a.current_asset_id, !0), Y5.actionReceipt("已保存为播放列表", { undo: async () => {
await h7.playlistWrite({
action: "delete",
id: a.id
}), j9("/playlists");
} }));
}
-async function fpt(e) {
+async function mpt(e) {
let t = ((await Ot("/api/playlists")).items || []).map((e) => `<label class="pickrow">${So(`data-pick-playlist="${e.id}"`)}
<span class="pickrowtext"><b>${B(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = ws({
title: "加入播放列表",
description: "勾选要加入的列表,或者填个名称新建一份。",
- body: upt() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : _o("还没有播放列表,填个名称就能新建一份。", { size: "small" })),
+ body: fpt() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : _o("还没有播放列表,填个名称就能新建一份。", { size: "small" })),
confirmLabel: "保存",
confirmDisabled: !0,
onConfirm: async () => {
@@ -105265,18 +105278,18 @@ async function fpt(e) {
});
} });
}
-function ppt() {
+function hpt() {
dc(), y9(!1), j7();
let e = QO(R("#stats"));
e?.path !== "/playlists" || !e.host.isConnected ? el({ pageOpens: Kc + 1 }) : (A7({ manage: !1 }), el({ playlistsRevision: Qc + 1 }));
}
-function mpt(e) {
+function gpt(e) {
Q.route("/review" + (e.category ? "?category=" + encodeURIComponent(e.category) : ""));
}
-function hpt(e) {
+function _pt(e) {
el({ configurationRequestedSection: e }), Q.navigatePath(FO(e));
}
-function gpt() {
+function vpt() {
h7.playlistWrite = (e) => Ot("/api/playlist", {
method: "POST",
body: JSON.stringify(e)
@@ -105287,7 +105300,7 @@ function gpt() {
function g7(e) {
return e === "/follow" ? "follow" : e === "/junk-files" ? "junk" : "catalog";
}
-function _pt(e, t, n, r, i = !1) {
+function ypt(e, t, n, r, i = !1) {
return i && (e.selected.clear(), e.followSelected.clear()), {
selectMode: r,
selectSurface: r ? t.selectMode ? t.selectSurface : n : "",
@@ -105295,19 +105308,19 @@ function _pt(e, t, n, r, i = !1) {
followLastSelectedId: i ? null : t.followLastSelectedId
};
}
-function vpt(e, t, n, r, i, a = !1) {
- let o = n === "follow", s = IR(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
+function bpt(e, t, n, r, i, a = !1) {
+ let o = n === "follow", s = LR(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
return {
- ..._pt(e, t, n, !0),
+ ...ypt(e, t, n, !0),
...o ? { followLastSelectedId: s } : { lastSelectedId: s }
};
}
-function ypt(e, t, n, r) {
+function xpt(e, t, n, r) {
let i = g7(t);
return {
count: (i === "follow" ? e.followSelected : e.selected).size,
context: i === "catalog" && r === "trash" ? "trash" : i,
- junkDismissed: ZH(n).view === "dismissed"
+ junkDismissed: QH(n).view === "dismissed"
};
}
//#endregion
@@ -105330,33 +105343,33 @@ function v7() {
}), I9({
selected: new Set(Ac),
selectMode: jc
- }), _7.batchDockProps = kpt(), Bdt() && (Bdt().render(_7.batchDockProps), Z.syncGlassOptics());
+ }), _7.batchDockProps = jpt(), Hdt() && (Hdt().render(_7.batchDockProps), Z.syncGlassOptics());
}
function y7(e, t = !1) {
- el(_pt({
+ el(ypt({
selected: kc,
followSelected: Ac
}, x7(), g7(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", jc), jc && dc(), R("#selectMode").setAttribute("aria-pressed", String(jc)), v7();
}
-function bpt() {
+function Spt() {
return [...T7.gridCards()].map((e) => +e.dataset.id);
}
function b7(e, t = !1) {
- el(vpt({
+ el(bpt({
selected: kc,
followSelected: Ac
- }, x7(), g7(location.pathname), bpt(), e, t)), y7(!0);
+ }, x7(), g7(location.pathname), Spt(), e, t)), y7(!0);
}
-function xpt() {
+function Cpt() {
return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);
}
-function Spt(e, t = !1) {
- el(vpt({
+function wpt(e, t = !1) {
+ el(bpt({
selected: kc,
followSelected: Ac
- }, x7(), "follow", xpt(), e, t)), y7(!0);
+ }, x7(), "follow", Cpt(), e, t)), y7(!0);
}
-async function Cpt(e, t) {
+async function Tpt(e, t) {
let n = {
like: "喜欢",
seen: "标为看过",
@@ -105425,7 +105438,7 @@ async function Cpt(e, t) {
}
});
}
-async function wpt() {
+async function Ept() {
let e = [...kc];
if (!e.length) return;
let t = ws({
@@ -105457,7 +105470,7 @@ async function wpt() {
let { confirmed: n, result: r } = await t.done;
n && (y7(!1, !0), await G7(), Y5.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));
}
-async function Tpt(e, t) {
+async function Dpt(e, t) {
let n = [...Ac];
if (!n.length) return;
let r = {
@@ -105492,7 +105505,7 @@ async function Tpt(e, t) {
}
});
}
-async function Ept(e, t) {
+async function Opt(e, t) {
let n = [...kc];
if (!n.length) return;
let r = {
@@ -105538,8 +105551,8 @@ async function Ept(e, t) {
}
});
}
-function Dpt() {
- zdt({
+function kpt() {
+ Vdt({
root: R("[data-batch-dock]"),
run: (e, t, n) => {
_7.BATCH_RUNNERS[e]?.(t, n);
@@ -105548,7 +105561,7 @@ function Dpt() {
e.render(_7.batchDockProps), Z.syncGlassOptics();
}).catch(() => {});
}
-function Opt() {
+function Apt() {
_7.batchDockProps = {
count: 0,
context: "catalog",
@@ -105561,13 +105574,13 @@ function Opt() {
["other", "其他"],
["none", "撤回判定"]
], _7.BATCH_RUNNERS = {
- batch: Cpt,
- region: wpt,
- follow: Tpt,
- junk: Ept,
+ batch: Tpt,
+ region: Ept,
+ follow: Dpt,
+ junk: Opt,
clear: () => y7(!1, !0)
}, J5.handler(R("#density"), "onclick", () => {
- d7() ? Xft(vE() === "big" ? "small" : "big") : eue();
+ d7() ? Qft(vE() === "big" ? "small" : "big") : eue();
}), CE(), lc({
selecting: () => jc,
censored: () => g9(),
@@ -105588,8 +105601,8 @@ function x7() {
followLastSelectedId: Nc
};
}
-function kpt() {
- return ypt({
+function jpt() {
+ return xpt({
selected: kc,
followSelected: Ac
}, location.pathname, location.search, G.state);
@@ -105600,31 +105613,31 @@ var S7 = {
peopleIndexLayout: void 0,
personAvatar: void 0
};
-function Apt() {
+function Mpt() {
return Z.appSettings.followLayout === "table" ? "table" : "default";
}
-function jpt() {
- return _ft(location.search);
+function Npt() {
+ return yft(location.search);
}
-function Mpt(e) {
- return vft(e);
+function Ppt(e) {
+ return bft(e);
}
-function Npt(e) {
- Q.route(Mpt(e));
+function Fpt(e) {
+ Q.route(Ppt(e));
}
function C7(e = "") {
- return yft(location.search, e);
+ return xft(location.search, e);
}
-function Ppt(e) {
- return mft(e);
+function Ipt(e) {
+ return gft(e);
}
-function Fpt(e) {
- return fft(e);
+function Lpt(e) {
+ return mft(e);
}
function w7() {
R("#stats").hidden = !0, R("#index").hidden = !1, s9(), X.hideCatalogCombo(), R("#count").textContent = "", R("#loadSentinel").hidden = !0;
}
-function Ipt(e, t) {
+function Rpt(e, t) {
el({ state: {
...G,
state: "",
@@ -105632,23 +105645,23 @@ function Ipt(e, t) {
tag_match: t
} }), y7(!1, !1), Q.route(X7()), M7(), D9(), r9();
}
-function Lpt(e) {
+function zpt(e) {
S7.controller.openFollowAuthor(e);
}
-function Rpt(e) {
+function Bpt(e) {
S7.controller.openFollowTag(e);
}
-function zpt() {
+function Vpt() {
$.FOLLOW_MANAGE_TABS = [
"list",
"add",
"feeds"
], J5.listen(document, "click", (e) => {
- e.target.closest?.("[data-empty-settings]") ? hpt("媒体库与入库") : !e.target.closest?.("a[href=\"/subscriptions?tab=add\"]") || e.defaultPrevented || e.button || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), Q.navigatePath(C7("add")));
- }), S7.peopleIndexLayout = () => Rlt(Z.appSettings.peopleLayout), S7.personAvatar = pft;
+ e.target.closest?.("[data-empty-settings]") ? _pt("媒体库与入库") : !e.target.closest?.("a[href=\"/subscriptions?tab=add\"]") || e.defaultPrevented || e.button || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), Q.navigatePath(C7("add")));
+ }), S7.peopleIndexLayout = () => Vlt(Z.appSettings.peopleLayout), S7.personAvatar = hft;
}
-function Bpt() {
- S7.controller = hft({
+function Hpt() {
+ S7.controller = _ft({
route: Q.route,
followView: N9,
adoptFollowView: P9,
@@ -105675,17 +105688,17 @@ function E7(e = "正在读取作品") {
return;
}
let t = R("#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 = yje(ZH(location.search)), Vo(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", G && n9({
+ if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = bje(QH(location.search)), Vo(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", G && n9({
count: null,
- ...Mmt()
+ ...Pmt()
})), R("#loadSentinel").hidden = !0, l9()) return;
let r = R("#grid"), i = f9(e), a = r.querySelector(".catalog-skeleton");
- (a?.dataset.skeleton !== QG(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== Wmt()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : T7.setGridCards(i), Vo(R("#grid")));
+ (a?.dataset.skeleton !== $G(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== Kmt()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : T7.setGridCards(i), Vo(R("#grid")));
}
function D7() {
R("#catalogFilter").style.display = "none", t9();
}
-function Vpt() {
+function Upt() {
let e = new Promise((e) => {
let t = T7.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {
let i = performance.now();
@@ -105695,28 +105708,28 @@ function Vpt() {
});
return Promise.race([T7.entityShapesReady ||= n7(), e]);
}
-function Hpt() {
+function Wpt() {
let e = decodeURIComponent(location.pathname);
if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), D7();
else if (/^\/assets\/\d+$/.test(e)) D7();
else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) D7();
else if (e === "/junk-files") E7("正在读取垃圾文件");
- else if (e === "/jav" && aU(new URLSearchParams(location.search).get("tab")) === "library") E7("正在读取馆藏");
+ else if (e === "/jav" && oU(new URLSearchParams(location.search).get("tab")) === "library") E7("正在读取馆藏");
else if (Q.managedPagePath(e)) {
D7();
let t = R("#stats");
t.hidden = !1, s9(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : T7.managementPlaceholder(e), Vo(t);
- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) D7(), w7(), Ult(R("#index"), zlt(e.slice(1), location.search), S7.peopleIndexLayout());
+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) D7(), w7(), Klt(R("#index"), Hlt(e.slice(1), location.search), S7.peopleIndexLayout());
else if (/^\/(?:performers|creators|studios|agencies|series|tags)\//.test(e)) {
D7(), R("#index").hidden = !1, s9();
let t = It[e.split("/")[1]], n = e.split("/").slice(2).join("/");
- (t7.hasEntityShape(t, n) ? Promise.resolve() : Vpt()).then(() => {
- R("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (ipt(t, n), Vo(R("#index")));
+ (t7.hasEntityShape(t, n) ? Promise.resolve() : Upt()).then(() => {
+ R("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (opt(t, n), Vo(R("#index")));
});
} else Q.routeMeta(e) ? E7() : (s9(), R("#count").textContent = "", R("#loadSentinel").hidden = !0);
}
-function Upt() {
- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => XG(t, {
+function Gpt() {
+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => ZG(t, {
cards: !0,
className: "follow-content-skeleton postercard-skeleton",
gridClass: e === "images" ? "followlist followphotowall" : "",
@@ -105730,16 +105743,16 @@ function Upt() {
<div class="count followcount" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span></div></div>
${$.followContentSkeletonHtml(void 0, e)}</div></div>`, R("#loadSentinel").innerHTML = yo("继续载入中…"), T7.setGridCards = (e) => jo(R("#grid"), () => {
R("#grid").innerHTML = `<div class="grid">${e}</div>`;
- }), T7.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), T7.managementPlaceholder = (e) => ZG(e, {
- followLayout: Apt(),
+ }), T7.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), T7.managementPlaceholder = (e) => QG(e, {
+ followLayout: Mpt(),
...(({ sort: e, dir: t, tab: n }) => ({
followSort: e,
followDir: t,
followTab: n
- }))(jpt())
+ }))(Npt())
}), T7.wantsDiscoveryBars = () => R("#catalogFilter").style.display !== "none", T7.entityShapesReady = null, T7.ENTITY_SHAPES_WAIT = 400, T7.syncPageTitle = (e) => {
let t = new URL(e, location.origin), n = JO(decodeURIComponent(t.pathname))?.title;
- document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, xht();
+ document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, Cht();
};
}
//#endregion
@@ -105751,7 +105764,7 @@ var O7 = (e) => e.replace(/[&<>"']/g, (e) => ({
"\"": "&quot;",
"'": "&#39;"
})[e]);
-function Wpt(e, t, n) {
+function Kpt(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.png\" alt=\"\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${O7(r)}"/></svg>`;
@@ -105760,7 +105773,7 @@ function Wpt(e, t, n) {
}
//#endregion
//#region src/application/filter-scroll.js
-function Gpt(e, t, n, r = !1) {
+function qpt(e, t, n, r = !1) {
if (t = Math.max(0, t), !e || !n || r || t <= 8) return {
y: t,
origin: t,
@@ -105802,7 +105815,7 @@ var k7 = {
mobileFilterPath: void 0
};
function A7({ manage: e = !0, placeholder: t = "" } = {}) {
- R("#stats").hidden = !1, R("#index").hidden = !0, s9(), R("#count").textContent = "", R("#loadSentinel").hidden = !0, e ? L7() : (R7(""), D9()), t && $G(R("#stats"), t);
+ R("#stats").hidden = !1, R("#index").hidden = !0, s9(), R("#count").textContent = "", R("#loadSentinel").hidden = !0, e ? L7() : (R7(""), D9()), t && eK(R("#stats"), t);
}
function j7() {
X.hideCatalogCombo(), D7(), document.body.classList.remove("entity-open", "index-open");
@@ -105810,10 +105823,10 @@ function j7() {
function M7() {
document.body.classList.remove("entity-open", "index-open"), ik(R("#index")), R("#stats").hidden = !0, R("#index").hidden = !0, r7(location.pathname) || (R("#feedNew").hidden = !0), R("#catalogFilter").style.display = "", t9(), L7(), z7();
}
-function Kpt() {
+function Jpt() {
Q.route("/"), M7();
}
-function qpt({ tags: e = [], providers: t = [], duration: n = !1 }) {
+function Ypt({ tags: e = [], providers: t = [], duration: n = !1 }) {
E9({
content: e.length || t.length || n ? {
kind: "follow",
@@ -105837,8 +105850,8 @@ function qpt({ tags: e = [], providers: t = [], duration: n = !1 }) {
filters: $.followSidebarFilters()
});
}
-function Jpt(e) {
- jht({
+function Xpt(e) {
+ Nht({
...N9(),
...e
}), E9({ filters: $.followSidebarFilters() });
@@ -105850,10 +105863,10 @@ function P7(e) {
let t = R("#drawer"), n = !e && t.contains(document.activeElement);
t.inert = !e && N7(), t.classList.toggle("open", e), R("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), R("#filterBtn").setAttribute("aria-expanded", String(!!e)), R("#filterBtn").setAttribute("aria-controls", "drawer"), R("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && R("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");
}
-function Ypt() {
+function Zpt() {
N7() && P7(!1);
}
-function Xpt() {
+function Qpt() {
Wc === null && (el({ runtimeConfigurable: !1 }), Ot("/healthz").then((e) => {
el({ runtimeConfigurable: !!e.configurable }), Wc && I7() && L7();
}).catch(() => {}));
@@ -105871,18 +105884,18 @@ function F7(e = "", t = !1) {
replace: !0,
state: fk.navigation.location.state
});
- return e ||= ghe(location.pathname), Pdt(k7.settingsHost()).then((t) => (t.open(e), t));
+ return e ||= ghe(location.pathname), Idt(k7.settingsHost()).then((t) => (t.open(e), t));
}
-function Zpt() {
+function $pt() {
PO(location.pathname) && (IO(fk.navigation.location.state) ? fk.go(-1) : Q.navigatePath("/", !0));
}
-function Qpt() {
+function emt() {
return {
scroll: R("#drawerScroll"),
store: Z.settingsStore,
navCatalog: k7.NAV_CATALOG,
navOn: K7,
- navTo: cmt,
+ navTo: umt,
toggleChip: (e, t, n) => e9((r) => {
if (n) {
let n = String(r[e] || "").split(",").filter(Boolean), i = n.indexOf(t);
@@ -105898,8 +105911,8 @@ function Qpt() {
selectFollowTag: (e) => {
$.followTags = /* @__PURE__ */ new Set([e]), P7(!1), j9(M9());
},
- selectFollowProvider: (e) => Jpt({ provider: $.followProviders.has(e) ? "" : e }),
- setFollowDuration: (e, t) => Jpt({
+ selectFollowProvider: (e) => Xpt({ provider: $.followProviders.has(e) ? "" : e }),
+ setFollowDuration: (e, t) => Xpt({
durMin: e ? e * 60 : 0,
durMax: t < 180 ? t * 60 : 0
}),
@@ -105908,15 +105921,15 @@ function Qpt() {
}
};
}
-function $pt() {
+function tmt() {
let e = R("#drawerScroll");
- e.innerHTML = Wpt(Z.appSettings.sidebarOrder, k7.NAV_CATALOG, K7), J5.listen(e, "click", (e) => {
+ e.innerHTML = Kpt(Z.appSettings.sidebarOrder, k7.NAV_CATALOG, K7), J5.listen(e, "click", (e) => {
if (H5()) return;
let t = e.target.closest?.("[data-nav]");
- t && cmt(t.dataset.nav);
- }), Idt(Qpt()).then((e) => e.render(k7.sidebarProps)).catch(() => {});
+ t && umt(t.dataset.nav);
+ }), Rdt(emt()).then((e) => e.render(k7.sidebarProps)).catch(() => {});
}
-async function emt() {
+async function nmt() {
let e = J5, t = null;
try {
t = await Ot("/api/settings", { signal: e.signal });
@@ -105930,9 +105943,9 @@ function I7() {
}
function L7() {
let e = I7();
- Xpt(), e && D7(), R("#count").classList.toggle("no-tagbar", !!e), D9(), e !== "trash" && (_7.trashCount = null), R7(e);
+ Qpt(), e && D7(), R("#count").classList.toggle("no-tagbar", !!e), D9(), e !== "trash" && (_7.trashCount = null), R7(e);
}
-function tmt(e) {
+function rmt(e) {
return {
section: e,
path: decodeURIComponent(location.pathname),
@@ -105943,7 +105956,7 @@ function tmt(e) {
}
function R7(e = I7()) {
z7();
- let t = tmt(e), n = Rdt();
+ let t = rmt(e), n = Bdt();
if (n) n.render(t);
else {
let e = wpe(t);
@@ -105952,21 +105965,21 @@ function R7(e = I7()) {
let r = tO(t)?.title || "";
r !== k7.lastManagePageLabel && (k7.lastManagePageLabel = r, r && Ao(k7.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
}
-function nmt() {
+function imt() {
let e = k7.manageHeaderRoot();
J5.listen(e, "click", (e) => {
- if (Rdt()) return;
+ if (Bdt()) return;
let t = e.target.closest?.("[data-manage]");
if (t) B7(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]") && Rmt();
- }), Ldt({
+ } else e.target.closest?.("[data-empty-trash]") && Bmt();
+ }), zdt({
root: e,
openManage: B7,
openDataCleanup: () => Q.navigatePath("/data-cleanup"),
- emptyTrash: Rmt
+ emptyTrash: Bmt
}).then(() => R7()).catch(() => {});
}
function z7() {
@@ -105977,13 +105990,13 @@ function z7() {
}
function B7(e = "stats") {
let t = Q.routePathOf("section", e);
- t ? Q.openRoutePath(t) : (G.orient = "", G.state = "ads", tl(), Q.route(QH()), M7(), D9(), r9());
+ t ? Q.openRoutePath(t) : (G.orient = "", G.state = "ads", tl(), Q.route($H()), M7(), D9(), r9());
}
function V7() {
let e = decodeURIComponent(location.pathname);
return e === "/" ? G.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? G.jav === "1" || Jc : !1;
}
-function rmt(e = V7()) {
+function amt(e = V7()) {
let t = tle.filter(([e]) => e !== "seed");
return e ? [ZT, ...t] : t;
}
@@ -105993,24 +106006,24 @@ function H7() {
function U7() {
return Vle(H7());
}
-function imt(e) {
+function omt(e) {
Wle(e), W7(), R("#grid").hidden || p9();
}
-function amt(e) {
+function smt(e) {
Gle(e), W7(), p9();
}
function W7() {
document.querySelectorAll("[data-video-layout]").forEach((e) => {
e.checked = e.value === U7();
- }), X.catalogFilterProps && n9({ layout: jmt() });
+ }), X.catalogFilterProps && n9({ layout: Nmt() });
}
-function omt(e) {
+function cmt(e) {
Kle(e), W7(), p9();
}
async function G7() {
- Q5(), X.mixRelatedCache.clear(), await Promise.all([smt(), r9()]);
+ Q5(), X.mixRelatedCache.clear(), await Promise.all([lmt(), r9()]);
}
-async function smt() {
+async function lmt() {
if (a7.entityPageCurrent() && !R("#index").hidden) {
s7({ revision: ++a7.entityPageRevision });
return;
@@ -106032,8 +106045,8 @@ function K7(e) {
}
return e === "jav" ? t === "/jav" || V7() : e === "shorts" ? G.orient === "竖屏" : e === "" ? t === "/" && !I7() && !G.state && !V7() && G.orient !== "竖屏" : jt[e] ? n === e && G.orient !== "竖屏" : n ? n === e : t === "/" && G.state === e && G.orient !== "竖屏";
}
-function cmt(e) {
- if (Ypt(), k7.DIRECT_MANAGE_NAV[e]) {
+function umt(e) {
+ if (Zpt(), k7.DIRECT_MANAGE_NAV[e]) {
B7(k7.DIRECT_MANAGE_NAV[e]);
return;
}
@@ -106058,11 +106071,11 @@ function q7() {
let n = t.length > 1 && Object.prototype.hasOwnProperty.call(It, t[0]), r = Pt(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";
R("#selectMode").hidden = !i, R("#density").hidden = !a, f7(), !i && jc && y7(!1, !0);
}
-function lmt() {
+function dmt() {
let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);
(t !== k7.mobileFilterHost || location.pathname !== k7.mobileFilterPath) && (k7.mobileFilterScroll = null), k7.mobileFilterHost = t, k7.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\"]");
- k7.mobileFilterScroll = Gpt(k7.mobileFilterScroll, n, innerWidth <= 760, r);
+ k7.mobileFilterScroll = qpt(k7.mobileFilterScroll, n, innerWidth <= 760, r);
for (let n of e) {
let e = n === t && k7.mobileFilterScroll.free;
if (e && n.style.setProperty("--filter-free-top", `${-n.offsetHeight - 12}px`), e === n.hasAttribute("data-filter-free")) continue;
@@ -106076,41 +106089,41 @@ function lmt() {
});
}
}
-function umt() {
- lmt(), [".board-filter-frame", "#count"].forEach((e) => {
+function fmt() {
+ dmt(), [".board-filter-frame", "#count"].forEach((e) => {
let t = R(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 J7() {
k7.stickyFrame ||= J5.frame(() => {
- k7.stickyFrame = 0, umt();
+ k7.stickyFrame = 0, fmt();
});
}
-function dmt() {
+function pmt() {
$.followSidebarFilters = () => ({
provider: [...$.followProviders][0] || "",
dur_min: $.followDurMin || "",
dur_max: $.followDurMax || ""
- }), J5.handler(R("#filterBtn"), "onclick", () => P7(!R("#drawer").classList.contains("open"))), k7.SIDEBAR_ITEMS = oft, k7.MANAGE_SECTIONS = $5, k7.MANAGE_MENU_SECTIONS = sft, k7.manageMenuSections = () => cft(Wc === !0), k7.OPTIONAL_SIDEBAR_ITEMS = lft, k7.NAV_CATALOG = uft, k7.DIRECT_MANAGE_NAV = dft, k7.settingsHost = () => ({
+ }), J5.handler(R("#filterBtn"), "onclick", () => P7(!R("#drawer").classList.contains("open"))), k7.SIDEBAR_ITEMS = cft, k7.MANAGE_SECTIONS = $5, k7.MANAGE_MENU_SECTIONS = lft, k7.manageMenuSections = () => uft(Wc === !0), k7.OPTIONAL_SIDEBAR_ITEMS = dft, k7.NAV_CATALOG = fft, k7.DIRECT_MANAGE_NAV = pft, k7.settingsHost = () => ({
selectSection: (e) => pk(FO(e), {
replace: !0,
state: fk.navigation.location.state
}),
- closed: Zpt,
+ closed: $pt,
store: Z.settingsStore,
changed: (e) => Z.settingsEffects[e]?.(),
sound: (e) => ja(e),
navCatalog: k7.NAV_CATALOG,
themeOptions: Mle,
videoLayouts: mE,
- followInitialRanges: HW,
+ followInitialRanges: UW,
videoLayout: () => U7(),
- setVideoLayout: omt,
+ setVideoLayout: cmt,
censored: g9,
- setCensored: nht,
+ setCensored: iht,
highContrast: () => document.documentElement.classList.contains("board-high-contrast"),
- setHighContrast: rht,
+ setHighContrast: aht,
receipt: (e) => Y5.actionReceipt(e),
failure: Y5.actionFailure,
syncRemote: (e) => Ale(e, (e) => Z.settingsEffects[e]?.()),
@@ -106125,19 +106138,19 @@ function dmt() {
}
//#endregion
//#region src/catalog-filter-skeleton.ts
-var fmt = 64, Y7 = (e) => e.replace(/[&<>"]/g, (e) => ({
+var mmt = 64, Y7 = (e) => e.replace(/[&<>"]/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;"
-})[e]), pmt = (e) => e.repeat(fmt);
-function mmt(e, t, n) {
+})[e]), hmt = (e) => e.repeat(mmt);
+function gmt(e, t, n) {
let r = e.map((e) => `<a href="${Y7(e.href)}" data-catalog-view="${Y7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${Y7(e.label)}</a>`).join("");
- return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + pmt("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div><div data-catalog-tier=\"studios\">" + pmt("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + `</div></div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(fmt) + `</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>${ro()}</span>` + (n ? Jft(n.sorts, n.layout) : "") + "</div></div></div></div>";
+ return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + hmt("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div><div data-catalog-tier=\"studios\">" + hmt("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + `</div></div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(mmt) + `</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>${ro()}</span>` + (n ? Xft(n.sorts, n.layout) : "") + "</div></div></div></div>";
}
//#endregion
//#region src/catalog-onboarding.ts
-var hmt = [
+var _mt = [
"loc",
"creator",
"performer",
@@ -106155,9 +106168,9 @@ var hmt = [
"jav",
"thumb"
];
-async function gmt(e, t) {
+async function vmt(e, t) {
let n = new URLSearchParams();
- for (let t of hmt) e[t] && n.set(t, e[t]);
+ for (let t of _mt) 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 || [],
@@ -106168,7 +106181,7 @@ async function gmt(e, t) {
return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";
}))).filter(Boolean);
}
-function _mt({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {
+function ymt({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {
let a = r ? "<button class=\"geist-button primary\" data-empty-settings>添加内容</button>" : "", o = "<a class=\"geist-button" + (!r || i ? " primary" : "") + "\" href=\"/subscriptions?tab=add\">添加关注</a>";
if (t || n) return xo("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a>" });
if (e !== "catalog") {
@@ -106224,40 +106237,40 @@ var X = {
junkQueueHelpers: void 0,
junkQueueActions: void 0
};
-function vmt() {
- X.initialParams.has("loc") || (G.loc = ymt(G.loc), tl());
+function bmt() {
+ X.initialParams.has("loc") || (G.loc = xmt(G.loc), tl());
}
-function ymt(e) {
- return Ydt(e, Z.sourceOnline);
+function xmt(e) {
+ return Zdt(e, Z.sourceOnline);
}
function X7(e = G) {
- return Xdt(e);
+ return Qdt(e);
}
-function bmt() {
- el(Qdt(Zdt(G, Z.appSettings, Y5.rollSeed))), Q5();
+function Smt() {
+ el(eft($dt(G, Z.appSettings, Y5.rollSeed))), Q5();
}
function Z7(e = null, t = !1) {
- bmt(), e && (Object.assign(G, e), tl()), Q.route(e ? X7() : "/"), X.clearSearchField(), y9(!1), M7(), D9(), r9(), t && window.scrollTo({
+ Smt(), e && (Object.assign(G, e), tl()), Q.route(e ? X7() : "/"), X.clearSearchField(), y9(!1), M7(), D9(), r9(), t && window.scrollTo({
top: 0,
behavior: "smooth"
});
}
-function xmt(e, t = null) {
+function Cmt(e, t = null) {
let n = e.id;
!e.medium || e.medium === "video" ? x9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : b7(n);
}
-function Smt(e) {
+function wmt(e) {
return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, Ot("/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 Cmt(e, t) {
- P5()?.miniplayerTakesCard(e) ? P5().miniplayerPlay(e.id) : wmt(e, t);
+function Tmt(e, t) {
+ P5()?.miniplayerTakesCard(e) ? P5().miniplayerPlay(e.id) : Emt(e, t);
}
-function wmt(e, t) {
- e.edition_group ? fht(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? pht(e.part_group.seed_id, e.id, !0, t) : x9(e.id, !0, null, t);
+function Emt(e, t) {
+ e.edition_group ? mht(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? hht(e.part_group.seed_id, e.id, !0, t) : x9(e.id, !0, null, t);
}
-async function Tmt(e, t) {
+async function Dmt(e, t) {
try {
let n = await Ot("/api/watch-later", {
method: "POST",
@@ -106274,7 +106287,7 @@ async function Tmt(e, t) {
Y5.actionFailure("更新稍后看", e);
}
}
-async function Emt(e, t) {
+async function Omt(e, t) {
try {
await Ot("/api/batch", {
method: "POST",
@@ -106298,7 +106311,7 @@ async function Emt(e, t) {
throw Y5.actionFailure("操作", e), e;
}
}
-async function Dmt(e) {
+async function kmt(e) {
let t = new URLSearchParams();
if (V7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && G.state && t.set("state", G.state), e.type !== "item") {
let e = a7.activeFilterState();
@@ -106321,9 +106334,9 @@ async function Dmt(e) {
e[n] && t.set(n, e[n]);
});
}
- return ift(t.toString(), X.topsQueryParams(e).toString());
+ return oft(t.toString(), X.topsQueryParams(e).toString());
}
-function Omt() {
+function Amt() {
if (scrollY <= 0) return;
let e = document.documentElement;
e.classList.add("refiltering");
@@ -106336,14 +106349,14 @@ function Omt() {
});
}
function Q7(e) {
- c7().type !== "entity" && n9({ tags: Nmt(e) }), E9({ filters: { ...e } }), a9();
+ c7().type !== "entity" && n9({ tags: Fmt(e) }), E9({ filters: { ...e } }), a9();
}
async function $7(e) {
- let t = ++X.facetCountsSeq, [n] = await Dmt(e);
- t === X.facetCountsSeq && (e.type === "home" && (v9.facets = n), E9({ latest: $mt(n, e) }));
+ let t = ++X.facetCountsSeq, [n] = await kmt(e);
+ t === X.facetCountsSeq && (e.type === "home" && (v9.facets = n), E9({ latest: tht(n, e) }));
}
function e9(e) {
- Omt();
+ Amt();
let t = c7();
if (t.type === "entity") {
let n = { ...t.filters };
@@ -106360,7 +106373,7 @@ function e9(e) {
} }), Q.route(X7()), M7(), r9();
} else e(G), tl(), Q.route(X7()), Q7(G), $7(Dc);
}
-function kmt() {
+function jmt() {
return {
tiers: null,
empty: !1,
@@ -106377,7 +106390,7 @@ function kmt() {
combo: [],
comboHidden: !0,
comboHost: R("#combo"),
- actions: Amt(),
+ actions: Mmt(),
helpers: {
wireDrag: _9,
wireScroller: (e) => {
@@ -106395,16 +106408,16 @@ function n9(e) {
...e,
offscreen: n
}, X.catalogFilterProps = {
- ...X.catalogFilterProps || kmt(),
+ ...X.catalogFilterProps || jmt(),
...e
- }, !X.catalogFilterMounting && ($O(t) ? rk(t, e) : (!t.firstChild && !n && (t.innerHTML = mmt(X.catalogViews(), X.catalogFilterProps.state, Mmt()), Vo(t)), X.catalogFilterMounting = nk("catalog-filter", X.catalogFilterProps, {
+ }, !X.catalogFilterMounting && ($O(t) ? rk(t, e) : (!t.firstChild && !n && (t.innerHTML = gmt(X.catalogViews(), X.catalogFilterProps.state, Pmt()), Vo(t)), X.catalogFilterMounting = nk("catalog-filter", X.catalogFilterProps, {
container: t,
isCurrent: () => !0
}).then(() => rk(t, X.catalogFilterProps)).finally(() => {
X.catalogFilterMounting = null;
})));
}
-function Amt() {
+function Mmt() {
return {
currentHref: () => {
let e = new URL(X7(), location.origin);
@@ -106425,19 +106438,19 @@ function Amt() {
let t = eE(e, G.sort, G.dir);
t && (G.sort = t.sort, G.dir = t.dir, tl(), h9());
},
- reshuffle: () => eht(),
+ reshuffle: () => nht(),
setLayout: (e) => {
- V7() ? amt(e) : imt(e);
+ V7() ? smt(e) : omt(e);
},
moreTops: async (e) => {
let t = X.catalogTopsPages;
if (!t) return [];
- let n = (await aft(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
- return e === "performers" ? n.map(Pmt) : n.map(Fmt);
+ let n = (await sft(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
+ return e === "performers" ? n.map(Imt) : n.map(Lmt);
}
};
}
-function jmt() {
+function Nmt() {
return V7() ? {
name: "jav-layout",
label: "JAV 卡片版式",
@@ -106450,21 +106463,21 @@ function jmt() {
options: mE
} : null;
}
-function Mmt() {
+function Pmt() {
return {
sorts: l7(G.sort, G.dir),
- layout: jmt(),
+ layout: Nmt(),
state: G.state || "",
trash: G.state === "trash"
};
}
-function Nmt(e) {
+function Fmt(e) {
return X.catalogTagRows.map((t) => ({
...t,
selected: X.tagPressed(e.tag, t.k)
}));
}
-function Pmt(e) {
+function Imt(e) {
return {
name: e.k,
ringHtml: `<span data-tier-initial>${B(nn(e.k))}</span>${ra({
@@ -106478,14 +106491,14 @@ function Pmt(e) {
})}`
};
}
-function Fmt(e) {
+function Lmt(e) {
return {
name: e.k,
fallback: tn(e.k, 2),
logo: e.has_logo ? ea(e.k, "icon", e.logo_version) : ""
};
}
-function Imt(e) {
+function Rmt(e) {
X.catalogFilterProps?.tiers || (X.barsRendered = "", n9({
tiers: null,
state: e.state || ""
@@ -106501,8 +106514,8 @@ async function r9() {
G.seed || "",
V7()
]);
- Imt(n);
- let [i, a] = await Dmt(t);
+ Rmt(n);
+ let [i, a] = await kmt(t);
if (e !== X.barsRequestSeq) return;
let o = r + "\n" + JSON.stringify([i, a]);
if (o === X.barsRendered) {
@@ -106529,25 +106542,25 @@ async function r9() {
})), n9({
tiers: {
key: String(X.barsRequestSeq),
- performers: a.performers.map(Pmt),
- studios: a.studios.map(Fmt)
+ performers: a.performers.map(Imt),
+ studios: a.studios.map(Lmt)
},
empty: c,
- tags: Nmt(n),
+ tags: Fmt(n),
tagFirst: d.length + p.length,
views: X.catalogViews(),
state: n.state || ""
}), a9(), k7.sidebarCatalog = {
kind: "catalog",
key: String(++k7.sidebarContentSeq),
- facets: $mt(i, t)
+ facets: tht(i, t)
}, E9({
content: k7.sidebarCatalog,
filters: { ...n },
latest: null
});
}
-function Lmt(e, t) {
+function zmt(e, t) {
v9.total = e, G.state === "trash" && (_7.trashCount = {
total: v9.total,
shown: t
@@ -106556,7 +106569,7 @@ function Lmt(e, t) {
shown: t
} });
}
-function Rmt() {
+function Bmt() {
return Es({
title: "清空回收站",
body: "回收站中的全部文件和馆藏记录将永久删除,无法恢复。",
@@ -106578,7 +106591,7 @@ function i9(e) {
t.tag = e ? X.withTagToggled(t.tag, e) : "";
});
}
-function zmt(e) {
+function Vmt(e) {
let t = [];
return e.creator && t.push({
kind: "clear",
@@ -106600,13 +106613,13 @@ function zmt(e) {
}
function a9() {
n9({
- combo: zmt(G),
+ combo: Vmt(G),
comboHidden: !X.catalogOnScreen()
});
}
async function o9() {
let e = Q.claimSurface(Q.surfacePath());
- if (Vft(location.pathname) && !$O(R("#libraryProcessingNotice")) && nk("library-processing", {
+ if (Uft(location.pathname) && !$O(R("#libraryProcessingNotice")) && nk("library-processing", {
toast: Y5.toast,
mode: "notice"
}, {
@@ -106618,25 +106631,25 @@ async function o9() {
filters: G
},
detailReturnBarsContext: null
- }), y9(!1), G.state === "ads") return Kmt(e);
+ }), y9(!1), G.state === "ads") return Jmt(e);
if (X.controller.page === "/junk-files" && s9(), E7(), M7(), r7(location.pathname) && G.browse !== "folders") {
if (await T7.entityShapesReady, !Q.surfaceCurrent(e)) return;
- Hft();
+ Wft();
} else i7();
- return a9(), R("#count").classList.remove("manage-static", "junkcount"), Vmt(e);
+ return a9(), R("#count").classList.remove("manage-static", "junkcount"), Umt(e);
}
-function Bmt(e) {
+function Hmt(e) {
X.controller.settle(e);
}
function s9() {
let e = R("#grid");
dc(e), ik(e), X.controller.clear(), e.innerHTML = "";
}
-function Vmt(e) {
- return Umt("/", Gmt, e, { place: Nht });
+function Umt(e) {
+ return Gmt("/", qmt, e, { place: Fht });
}
-function Hmt(e) {
- return Umt("/junk-files", Jmt, e);
+function Wmt(e) {
+ return Gmt("/junk-files", Xmt, e);
}
function c9() {
return !!QO(R("#grid"));
@@ -106647,7 +106660,7 @@ function l9() {
function u9(e) {
rk(R("#grid"), e);
}
-function Umt(e, t, n, r = {}) {
+function Gmt(e, t, n, r = {}) {
let i = R("#grid");
X.controller.page && X.controller.page !== e && s9();
let a = X.controller.begin(e, c9()), o = t();
@@ -106671,13 +106684,13 @@ function d9() {
});
}
function f9(e = "正在读取作品") {
- return XG(e, {
+ return ZG(e, {
cards: !0,
className: "catalog-skeleton postercard-skeleton",
- cardRatio: Wmt()
+ cardRatio: Kmt()
});
}
-function Wmt() {
+function Kmt() {
return G ? SE(d9()) : 16 / 9;
}
function p9() {
@@ -106689,7 +106702,7 @@ function p9() {
seekSeconds: Z.appSettings.seekSeconds
}));
}
-function Gmt() {
+function qmt() {
let e = decodeURIComponent(location.pathname), t = Pt(e), n = G.state === "trash";
return {
mode: "catalog",
@@ -106702,7 +106715,7 @@ function Gmt() {
seekSeconds: Z.appSettings.seekSeconds,
revision: X.controller.revision,
wireDrag: _9,
- settled: Bmt,
+ settled: Hmt,
skeletonHtml: () => f9(),
filters: { ...G },
batchSize: Z.appSettings.batchSize,
@@ -106711,9 +106724,9 @@ function Gmt() {
mix: t && e !== "/wall" && !n && G.browse !== "folders",
shorts: t && e !== "/wall" && !V7() && G.orient !== "竖屏" && !n && G.browse !== "folders",
countRow: R("#count"),
- onCount: Lmt,
+ onCount: zmt,
onCountFailed: () => n9({ count: !1 }),
- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : _mt({
+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : ymt({
jav: V7() && !t,
configurable: Wc,
filtered: !t
@@ -106721,11 +106734,11 @@ function Gmt() {
canLoadMore: () => R("#stats").hidden && R("#index").hidden
};
}
-function Kmt(e) {
+function Jmt(e) {
let t = R("#count");
- return X.controller.page === "/junk-files" && c9() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (s9(), E7("正在读取垃圾文件")), M7(), a9(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), Hmt(e);
+ return X.controller.page === "/junk-files" && c9() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (s9(), E7("正在读取垃圾文件")), M7(), a9(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), Wmt(e);
}
-async function qmt(e, t) {
+async function Ymt(e, t) {
let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";
try {
await Ot("/api/batch", {
@@ -106750,9 +106763,9 @@ async function qmt(e, t) {
throw Y5.actionFailure("操作", e), e;
}
}
-function Jmt() {
+function Xmt() {
return {
- ...ZH(location.search),
+ ...QH(location.search),
helpers: X.junkQueueHelpers,
actions: X.junkQueueActions,
batchSize: Z.appSettings.batchSize,
@@ -106760,16 +106773,16 @@ function Jmt() {
selectMode: jc,
selected: new Set(kc),
countRow: R("#count"),
- settled: Bmt,
- skeletonHtml: () => XG("正在读取垃圾文件", {
+ settled: Hmt,
+ skeletonHtml: () => ZG("正在读取垃圾文件", {
cards: !0,
className: "catalog-skeleton postercard-skeleton"
}),
canLoadMore: () => R("#stats").hidden && R("#index").hidden
};
}
-function Ymt() {
- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => qdt(e, t, Z.appSettings, n), el(Qdt(Jdt(location, Z.appSettings, Y5.rollSeed))), X.searchValueSnapshot = {
+function Zmt() {
+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => Ydt(e, t, Z.appSettings, n), el(eft(Xdt(location, Z.appSettings, Y5.rollSeed))), X.searchValueSnapshot = {
text: "",
scrollLeft: 0
}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = R("#q")) => {
@@ -106790,14 +106803,14 @@ function Ymt() {
};
};
}
-function Xmt() {
+function Qmt() {
J5.handler(R("#wallBtn"), "onclick", () => {
y7(!1, !0);
let e = c7(), t = {
...a7.activeFilterState(),
jav: V7() ? "1" : ""
};
- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(mSe(void 0, t));
+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(hSe(void 0, t));
}), X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = G.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(",");
@@ -106811,12 +106824,12 @@ function Xmt() {
let r = await N5(v9.stageHost);
return n.throwIfAborted(), r.mountWallPlayer(e, t, n);
},
- wallDetails: wmt,
- open: (e, t) => Cmt(e, t),
- openResource: (e, t) => P5()?.miniplayerTakesCard(e) ? P5().miniplayerPlay(e.id) : xmt(e, t),
+ wallDetails: Emt,
+ open: (e, t) => Tmt(e, t),
+ openResource: (e, t) => P5()?.miniplayerTakesCard(e) ? P5().miniplayerPlay(e.id) : Cmt(e, t),
openShort: (e) => P5()?.miniplayerTakesCard(e) ? P5().miniplayerPlay(e.id) : C9(e.id),
openShorts: () => C9(),
- openMix: (e, t) => dht(e, e, !0, t),
+ openMix: (e, t) => pht(e, e, !0, t),
openEntity: (e, t) => m7(e, t),
openUnowned: () => Z7({ owner: "none" }, !0),
toggleTag: (e) => {
@@ -106828,9 +106841,9 @@ function Xmt() {
});
},
toggleSelection: (e, t) => b7(e, t),
- watchLater: (e, t) => Tmt(e, t),
- resourceOperation: (e, t) => Emt(e, t),
- mixRelated: (e) => Smt(e),
+ watchLater: (e, t) => Dmt(e, t),
+ resourceOperation: (e, t) => Omt(e, t),
+ mixRelated: (e) => wmt(e),
canFlip: () => !jc && !g9() && !window.__scrolling && !X.reduceMotion()
}, X.topsQueryParams = (e, t = 0) => {
let n = new URLSearchParams({
@@ -106860,7 +106873,7 @@ function Xmt() {
href: e.k ? jt[e.k] : "/"
})), X.TAGS_FIRST = 26, J5.listen(R("#catalogFilter"), "click", (e) => {
let t = e.target.closest?.("[data-catalog-view]");
- t && !e.defaultPrevented && (e.preventDefault(), Amt().setView(t.dataset.catalogView));
+ t && !e.defaultPrevented && (e.preventDefault(), Mmt().setView(t.dataset.catalogView));
}), X.catalogOnScreen = () => R("#index").hidden && R("#stats").hidden, X.COMBO_LABELS = {
creator: "创作者",
studio: "厂牌",
@@ -106869,7 +106882,7 @@ function Xmt() {
X.catalogFilterProps && n9({ comboHidden: !0 });
};
}
-function Zmt() {
+function $mt() {
X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {
navigate: (e) => {
jc && y7(!1, !0), Q.route(e);
@@ -106886,10 +106899,10 @@ function Zmt() {
return a7.sourceHint(e.message);
}
},
- operate: (e, t) => qmt(e, t)
+ operate: (e, t) => Ymt(e, t)
};
}
-X.controller = new $dt();
+X.controller = new tft();
//#endregion
//#region src/application/preferences.js
var Z = {
@@ -106923,7 +106936,7 @@ async function m9() {
if (!e.isActive) return Z.sourceOnline;
Z.sourceOnline = {}, Z.sourceProblems = {};
}
- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), vmt(), Z.sourceOnline;
+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), bmt(), Z.sourceOnline;
}
function h9() {
let e = Q.surfacePath();
@@ -106934,7 +106947,7 @@ function h9() {
state: fk.navigation.location.state
}), t;
}
-function Qmt(e) {
+function eht(e) {
return e === "local" ? {
kind: "glyph",
name: "hard-drive"
@@ -106949,7 +106962,7 @@ function Qmt(e) {
cost: "free"
};
}
-function $mt(e, t) {
+function tht(e, t) {
let n = (e, t = (e) => e.label || gc(e.k)) => (e || []).map((e) => ({
value: String(e.k),
label: t(e),
@@ -106960,7 +106973,7 @@ function $mt(e, t) {
value: e.k,
label: an[e.k] || e.k,
n: e.n ?? null,
- dot: Qmt(e.k),
+ dot: eht(e.k),
...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}
})),
regions: n(e.regions),
@@ -106972,13 +106985,13 @@ function $mt(e, t) {
duration: !!e.stats?.duration
};
}
-async function eht(e = !1) {
+async function nht(e = !1) {
if (e && (document.hidden || !Pt(decodeURIComponent(location.pathname)) || v9.stageOpen() || v9.immerseOpen() || jc || kc.size || document.activeElement === R("#q"))) return !1;
if (!R("#stats").hidden) {
let e = decodeURIComponent(location.pathname), t = Q.routeMeta(e)?.route.refresh;
if (t === "skip") return;
if (e === "/playlists") {
- ppt();
+ hpt();
return;
}
let n = t === "reopen" ? e : "/stats";
@@ -107000,26 +107013,26 @@ async function eht(e = !1) {
function g9() {
return document.body.classList.contains("censor");
}
-function tht(e) {
+function rht(e) {
document.body.classList.toggle("censor", e), Z.settingsStore.notify();
}
-function nht(e) {
- localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), tht(e), e && dc();
+function iht(e) {
+ localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), rht(e), e && dc();
}
-function rht(e) {
+function aht(e) {
localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();
}
function _9(e) {
return Qo(e, { drag: !0 });
}
-function iht() {
+function oht() {
["#nrow", "#count"].forEach((e) => _9(R(e))), document.querySelectorAll(".tier,.srow").forEach(_9);
}
-function aht() {
+function sht() {
let e = new URLSearchParams(location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function oht() {
+function cht() {
Z.sourceOnline = {}, Z.sourceProblems = {}, Z.sourceOffline = (e) => Z.sourceOnline[e] === !1, Z.OFFLINE_HINT = "脱盘模式:这个来源当前没有挂载", Z.OFFLINE_REASON = {
local: "本地硬盘没有挂载,接上后点重新检测即可播放。",
115: "115 网盘没有挂载,检查 CloudDrive 是否在运行。",
@@ -107048,14 +107061,14 @@ function oht() {
}), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`);
},
seekSeconds: () => p9(),
- groupCollapse: () => smt(),
- feedAutoScroll: () => Wft(),
- feedCompilations: () => Uft(),
+ groupCollapse: () => lmt(),
+ feedAutoScroll: () => Kft(),
+ feedCompilations: () => Gft(),
miniplayer: () => {
Z.appSettings.miniplayer || P5()?.closeMiniplayer();
},
javImage: () => {
- Yi(document, Z.appSettings.javImage), p9(), document.querySelectorAll("img[data-jav-image].cover").forEach(Gs), uht();
+ Yi(document, Z.appSettings.javImage), p9(), document.querySelectorAll("img[data-jav-image].cover").forEach(Gs), fht();
},
searchHistoryLimit: () => rk(R("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })
}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {
@@ -107068,8 +107081,8 @@ function oht() {
return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${B(r)}" aria-label="${B(r)}">` + (Z.SRCICON[e] || "") + "</span>";
}, Z.emptyState = xo;
}
-function sht() {
- Z.CENSOR_KEY = "peach-censor", tht(localStorage.getItem(Z.CENSOR_KEY) === "1");
+function lht() {
+ Z.CENSOR_KEY = "peach-censor", rht(localStorage.getItem(Z.CENSOR_KEY) === "1");
}
//#endregion
//#region src/application/media.js
@@ -107084,14 +107097,14 @@ var v9 = {
immerseOpen: void 0,
requestedImmerseId: void 0
};
-function cht() {
+function uht() {
let e = Number(new URLSearchParams(location.search).get("t"));
return Number.isFinite(e) && e > 0 ? {
time: e,
autoplay: !1
} : null;
}
-function lht() {
+function dht() {
return P5()?.exit() || Promise.resolve();
}
function y9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {
@@ -107105,7 +107118,7 @@ function y9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null
detailReturnNeedsRestore: !1
}), J7(), e && Q.route(Fc || "/");
}
-function uht() {
+function fht() {
P5()?.repaintPoster();
}
function b9(e, t, n, r, i = null, a = {}) {
@@ -107130,19 +107143,19 @@ function b9(e, t, n, r, i = null, a = {}) {
Q.requestedQueue = () => x9(n == null ? null : +n, !1, s, i, !0, e), el({ queueOpens: qc + 1 });
} else return x9(n == null ? null : +n, !1, s, i, r);
}
-function dht(e, t = e, n = !0, r = null) {
+function pht(e, t = e, n = !0, r = null) {
return b9("mix", e, t, n, r);
}
-function fht(e, t = e, n = !0, r = null) {
+function mht(e, t = e, n = !0, r = null) {
return b9("editions", e, t, n, r);
}
-function pht(e, t = e, n = !0, r = null) {
+function hht(e, t = e, n = !0, r = null) {
return b9("parts", e, t, n, r);
}
-function mht(e, t = null, n = !0) {
+function ght(e, t = null, n = !0) {
return b9("playlist", e, t, n);
}
-function hht() {
+function _ht() {
return !!R("#grid").querySelector("[data-id],[data-mix-seed]") || !R("#index").hidden || !R("#stats").hidden;
}
async function x9(e, t = !0, n = null, r = null, i = !1, a = null) {
@@ -107152,7 +107165,7 @@ async function x9(e, t = !0, n = null, r = null, i = !1, a = null) {
return;
}
dc(), e = e == null ? null : +e;
- let o = r?.isConnected ? r : Ic?.isConnected ? Ic : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : Lc, c = hht(), l = Rc || !t && !c, u = Dc.type === "item" ? Oc : a7.cloneBarsContext(c7());
+ let o = r?.isConnected ? r : Ic?.isConnected ? Ic : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : Lc, c = _ht(), l = Rc || !t && !c, u = Dc.type === "item" ? Oc : a7.cloneBarsContext(c7());
t ? el({ detailReturnPath: location.pathname + location.search }) : i || el({ detailReturnPath: WO() || Fc }), t && HO(), P5()?.showing() !== "item" && y9(!1, !0, {
miniplayer: !1,
preserveQueueRequest: a
@@ -107191,12 +107204,12 @@ async function x9(e, t = !0, n = null, r = null, i = !1, a = null) {
selectMode: jc,
selected: new Set(kc),
seekSeconds: Z.appSettings.seekSeconds,
- resume: t || e == null ? null : cht()
+ resume: t || e == null ? null : uht()
}), J7();
}
-async function ght() {
+async function vht() {
let e = a7.cloneBarsContext(Oc), t = Fc || "/", n = Rc;
- await lht(), y9(!1, !1, { miniplayer: !1 }), el({ detailReturnBarsContext: null }), UO(), el({ barsContext: e || {
+ await dht(), y9(!1, !1, { miniplayer: !1 }), el({ detailReturnBarsContext: null }), UO(), el({ barsContext: e || {
type: "home",
filters: G
} }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? el({ pageOpens: Kc + 1 }) : (r9(), location.pathname === "/playlists" && el({ pageOpens: Kc + 1 })));
@@ -107206,7 +107219,7 @@ async function S9(e, t = !0) {
el({ detailReturnPath: location.pathname + location.search }), k9("/works/" + encodeURIComponent(e), "jav", () => S9(e, !1));
return;
}
- let n = fk.navigation.seq, r = a7.cloneBarsContext(c7()), i = !hht(), a = WO() || (i ? "/jav?tab=discover" : Fc) || "/jav?tab=discover";
+ let n = fk.navigation.seq, r = a7.cloneBarsContext(c7()), i = !_ht(), a = WO() || (i ? "/jav?tab=discover" : Fc) || "/jav?tab=discover";
P5()?.showing() !== "jav" && y9(!1, !0, { miniplayer: !1 }), el({
detailReturnPath: a,
detailReturnBarsContext: r,
@@ -107218,7 +107231,7 @@ async function S9(e, t = !0) {
code: e,
readOnly: !!s.ledger_read_only,
actions: {
- close: () => void ght(),
+ close: () => void vht(),
navigate: (e) => Q.navigatePath(e),
canonicalCode: (t) => {
fk.navigation.seq === n && t && t !== e && pk("/works/" + encodeURIComponent(t) + location.search + location.hash, {
@@ -107239,9 +107252,9 @@ async function S9(e, t = !0) {
}), J7());
}
async function C9(e = null, t = !0) {
- t ? (v9.requestedImmerseId = e, Q.route("/immerse")) : (P5()?.closeMiniplayer(), await (await Ndt(v9.immerseHost)).open(e));
+ t ? (v9.requestedImmerseId = e, Q.route("/immerse")) : (P5()?.closeMiniplayer(), await (await Fdt(v9.immerseHost)).open(e));
}
-function _ht() {
+function yht() {
v9.total = 0, v9.facets = null, v9.stageHost = {
player: {
settings: () => Z.appSettings,
@@ -107257,7 +107270,7 @@ function _ht() {
openItem: (e) => void x9(e)
}, v9.stageOpen = () => !!P5()?.isOpen();
}
-function vht() {
+function bht() {
v9.itemDetailHelpers = {
badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),
titleHtml: (e) => _k(e),
@@ -107268,15 +107281,15 @@ function vht() {
tagCandidates: () => v9.facets && v9.facets.tags || [],
sourceOffline: (e) => Z.sourceOffline(e),
offlineReason: (e) => Z.offlineReason(e),
- relatedSkeletonHtml: () => XG("正在读取推荐", {
+ relatedSkeletonHtml: () => ZG("正在读取推荐", {
cards: !0,
className: "related-skeleton"
}),
- mixRelated: (e) => Smt(e),
+ mixRelated: (e) => wmt(e),
wireDrag: (e) => _9(e),
wireDragReorder: (e, t) => Ss(e, t)
}, v9.itemDetailActions = {
- close: () => ght(),
+ close: () => vht(),
present: (e) => {
el({ presentedItem: e });
let t = Oc;
@@ -107291,7 +107304,7 @@ function vht() {
e.kind === "follow" ? (Q.queueOpenRequest = null, el({
pendingQueueRoute: null,
followDetailReturnPath: Fc || "/"
- }), Q.route(`/posts/${e.id}`, !t, GO("follow")), R9(e.id, !1, null, !0)) : e.kind === "item" ? x9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? j9("/playlists") : ppt() : y9(!1);
+ }), Q.route(`/posts/${e.id}`, !t, GO("follow")), R9(e.id, !1, null, !0)) : e.kind === "item" ? x9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? j9("/playlists") : hpt() : y9(!1);
},
openQueueItem: (e, t, n = !0) => void b9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),
reopen: () => {
@@ -107315,12 +107328,12 @@ function vht() {
behavior: "smooth"
});
},
- addToPlaylist: (e) => fpt(e),
- saveMix: (e) => dpt(e),
+ addToPlaylist: (e) => mpt(e),
+ saveMix: (e) => ppt(e),
editPlaylist: () => j9("/playlists"),
openPlaylists: () => j9("/playlists"),
- reveal: (e) => Qft(e),
- sync: (e) => $ft(e),
+ reveal: (e) => ept(e),
+ sync: (e) => tpt(e),
trashChanged: async (e, t) => {
G.state === "ads" && (t || e === "trash") && (t || (UO(), y9(!0, !1, { miniplayer: !1 })), await o9());
},
@@ -107352,7 +107365,7 @@ var w9 = {
readPostSetupTutorialDone: void 0,
openTutorialTarget: void 0
};
-async function yht() {
+async function xht() {
Hs(), await w9.writePostSetupTutorialDone(!1), await T9();
}
async function T9() {
@@ -107409,7 +107422,7 @@ async function T9() {
}), J5.handler(e.querySelector("[data-tutorial-dismiss]"), "onclick", t);
}
}
-function bht() {
+function Sht() {
if (el({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), w9.postSetupTutorialDone = null, w9.postSetupTutorialNeedsReopen = !1, Gc) {
Ns("pending"), w9.postSetupTutorialDone = !1, w9.postSetupTutorialNeedsReopen = !0;
let e = new URL(location.href);
@@ -107534,7 +107547,7 @@ var Q = {
queueOpenRequest: void 0,
initialOverlayOpened: void 0
};
-function xht() {
+function Cht() {
let e = H5();
e ? e.navChanged() : R("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(K7(e.dataset.nav))));
}
@@ -107550,7 +107563,7 @@ function E9(e = {}) {
}, H5()?.render(k7.sidebarProps);
}
function D9() {
- E9(), xht(), q7();
+ E9(), Cht(), q7();
}
function O9() {
Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, el({ pendingQueueRoute: null });
@@ -107567,7 +107580,7 @@ function A9() {
function j9(e) {
Q.route(e), el({ pageOpens: Kc + 1 });
}
-function Sht() {
+function wht() {
Q.routeMeta = (e) => {
let t = JO(e);
return t ? { route: t } : null;
@@ -107575,7 +107588,7 @@ function Sht() {
let t = JO(e);
return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !RO(e) && e !== "/immerse";
}, Q.openRoutePath = (e) => {
- e === "/immerse" ? C9(aht()) : e === "/follow" ? L9() : e === "/playlists" || Q.catalogPage(e) ? j9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? C7() : e) : (y7(!1, !0), j9(Fpt({
+ e === "/immerse" ? C9(sht()) : e === "/follow" ? L9() : e === "/playlists" || Q.catalogPage(e) ? j9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? C7() : e) : (y7(!1, !0), j9(Lpt({
kind: e.slice(1),
q: "",
scope: "local",
@@ -107584,12 +107597,12 @@ function Sht() {
})));
};
}
-function Cht() {
+function Tht() {
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) => (Vft(e) || ik(R("#libraryProcessingNotice")), r7(e) || i7(), ik(R("#stats"), R("#index")), !Pt(e) && e !== "/trash" && s9(), 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) => (Uft(e) || ik(R("#libraryProcessingNotice")), r7(e) || i7(), ik(R("#stats"), R("#index")), !Pt(e) && e !== "/trash" && s9(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
Q.surfaceEpoch++, X.barsRequestSeq++, pk(e, {
replace: t,
state: n
@@ -107604,15 +107617,15 @@ function Cht() {
}
//#endregion
//#region src/jobs.ts
-function wht(e, t, n) {
+function Eht(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="${B(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>${B(e)}<small>${Math.round(i)}%</small></span></div>`;
}
-function Tht(e, t = 0, n = 0) {
- return n > 0 ? wht(e, t, n) : yo(e);
+function Dht(e, t = 0, n = 0) {
+ return n > 0 ? Eht(e, t, n) : yo(e);
}
-async function Eht(e) {
+async function Oht(e) {
let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;
for (; e.active();) {
let r;
@@ -107627,14 +107640,14 @@ async function Eht(e) {
await t(2e3);
}
}
-function Dht(e) {
+function kht(e) {
let t = e.note || ((e) => _o(e, {
label: "任务状态",
variant: "error"
- })), n = e.loading || yo, r = e.progress || ((e, t, n) => Tht(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 || yo, r = e.progress || ((e, t, n) => Dht(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;
- Eht({
+ Oht({
read: e.read,
active: () => !c && e.active() && a.isConnected,
keepWatching: e.watchIdle !== !1,
@@ -107684,7 +107697,7 @@ var $ = {
FOLLOW_MANAGE_TABS: void 0,
followSidebarFilters: void 0
};
-function Oht(e) {
+function Aht(e) {
let t = (e.results || []).filter((e) => !e.ok).length;
Y5.toast({ text: Nr(e) }, {
warn: !!t,
@@ -107699,7 +107712,7 @@ function Oht(e) {
function M9() {
return yi(N9());
}
-function kht() {
+function jht() {
return $.controller.read();
}
function N9() {
@@ -107720,17 +107733,17 @@ function N9() {
function P9(e) {
$.followFilter = e.status, $.followMediaView = e.media, $.followAuthors = new Set(e.author ? [e.author] : []), $.followProviders = new Set(e.provider ? [e.provider] : []), $.followWorks = new Set(e.work ? [e.work] : []), $.followTags = new Set(e.tags), $.followDurMin = e.durMin || 0, $.followDurMax = e.durMax || 0, $.followSort = e.sort, $.followDir = e.dir, $.followSeed = e.seed;
}
-function Aht() {
+function Mht() {
let e = QO(R("#stats"));
return e && e.path === "/follow" && e.host.isConnected ? e : null;
}
function F9() {
- return !!Aht();
+ return !!Mht();
}
function I9(e) {
F9() && rk(R("#stats"), e);
}
-function jht(e, t = {}) {
+function Nht(e, t = {}) {
return $.controller.route(e, t);
}
function L9(e = !1) {
@@ -107751,19 +107764,19 @@ async function R9(e, t = !0, n = null, r = !1) {
relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,
helpers: $.followFeedHelpers,
actions: $.followDetailActions,
- resume: t ? null : cht()
+ resume: t ? null : uht()
}), J7();
}
-async function Mht() {
- await lht(), y9(!1, !1, { miniplayer: !1 }), UO(), Q.route(Hc || "/follow"), !(a7.entityPageView && a7.entityPageCurrent() && !R("#index").hidden) && (location.pathname === "/follow" && F9() ? (kht(), I9({ view: N9() })) : el({ pageOpens: Kc + 1 }));
+async function Pht() {
+ await dht(), y9(!1, !1, { miniplayer: !1 }), UO(), Q.route(Hc || "/follow"), !(a7.entityPageView && a7.entityPageCurrent() && !R("#index").hidden) && (location.pathname === "/follow" && F9() ? (jht(), I9({ view: N9() })) : el({ pageOpens: Kc + 1 }));
}
-function Nht(e) {
+function Fht(e) {
let t = document.createElement("div");
return t.className = "peach-react", jo(e, () => {
e.textContent = "", e.append(t);
}), t;
}
-function Pht() {
+function Iht() {
$.followFeedHelpers = vc({
wireDrag: (e) => {
e && _9(e);
@@ -107772,13 +107785,13 @@ function Pht() {
e && Qo(e);
},
listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),
- jobProgress: Dht
+ jobProgress: kht
}), $.followFeedActions = {
- loaded: (e) => qpt(e),
+ loaded: (e) => Ypt(e),
openDetail: (e) => R9(e),
openAuthor: (e) => Q.navigatePath(Lt("creator", e)),
openManage: () => Q.navigatePath(C7()),
- toggleSelection: (e, t) => Spt(e, t),
+ toggleSelection: (e, t) => wpt(e, t),
setImagesOnly: (e) => {
Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), f7();
},
@@ -107788,7 +107801,7 @@ function Pht() {
canFlip: () => !jc && !g9() && !window.__scrolling && !X.reduceMotion(),
toast: (e, { undo: t } = {}) => Y5.actionReceipt(e, { undo: t }),
failure: (e, t) => Y5.actionFailure(e, t),
- checkReport: (e) => Oht(e)
+ checkReport: (e) => Aht(e)
}, $.followFeedShell = {
skeleton: () => $.followSkeletonHtml("正在读取关注内容"),
ground: () => {
@@ -107798,16 +107811,16 @@ function Pht() {
view: N9,
adoptView: P9,
rememberReturn: (e) => el({ followDetailReturnPath: e }),
- close: () => void Mht(),
+ close: () => void Pht(),
open: (e, t, n) => void R9(e, !0, t, n),
- drawer: qpt,
+ drawer: Ypt,
openAuthor: (e) => Q.navigatePath(Lt("creator", e))
}, {
toast: (e, { undo: t } = {}) => Y5.actionReceipt(e, { undo: t }),
failure: Y5.actionFailure
});
}
-function Fht() {
+function Lht() {
$.controller = Si({
location: () => location,
view: N9,
@@ -107848,8 +107861,8 @@ function Fht() {
//#endregion
//#region src/application/lifecycle.js
var z9 = { overlayScan: void 0 };
-function Iht() {
- oOe(), hs(document), ya(document.documentElement, { variant: "page" }), ya(R("#drawerScroll")), z9.overlayScan = 0, J5.mutation(() => {
+function Rht() {
+ sOe(), hs(document), ya(document.documentElement, { variant: "page" }), ya(R("#drawerScroll")), z9.overlayScan = 0, J5.mutation(() => {
z9.overlayScan ||= J5.delay(() => {
z9.overlayScan = 0, fs();
});
@@ -107868,7 +107881,7 @@ function Iht() {
}
//#endregion
//#region src/react/search/recommendations.ts
-async function Lht(e) {
+async function zht(e) {
let t = (await Promise.allSettled([
e("/api/items?sort=rand&limit=5"),
e("/api/jav/discoveries?scope=library&limit=5"),
@@ -107892,9 +107905,9 @@ async function Lht(e) {
let t = oi(e);
for (let n of ["videos", "images"]) {
if (n === "images" ? !t.has("image") : t.size && !t.has("video")) continue;
- let r = si(e, n), i = l.sources.find((e) => e.id === r.source_id), a = aF(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 = si(e, n), i = l.sources.find((e) => e.id === r.source_id), a = oF(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: tF(r),
+ value: nF(r),
id: r.id,
who: a.author,
href: `/posts/${r.id}`,
@@ -107910,7 +107923,7 @@ async function Lht(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: iF(l.sources.filter((t) => t.author_key === e.key), e.k),
+ avatarHtml: aF(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, {
@@ -107981,7 +107994,7 @@ async function Lht(e) {
}
//#endregion
//#region src/application/search-morph.js
-function Rht(e, t, n, r, i, a, o) {
+function Bht(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);
@@ -108007,7 +108020,7 @@ var B9 = {
function V9() {
B9.searchControl?.close();
}
-function zht(e) {
+function Vht(e) {
let t = e ? Gi({
...e,
is_jav: !!e.code
@@ -108026,7 +108039,7 @@ function U9(e) {
if (t.classList.toggle("open", e), R("#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 = cs();
t.classList.add("search-morphing");
- let h = t.animate(Rht(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
+ let h = t.animate(Bht(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
duration: m.duration,
easing: "linear",
fill: "both"
@@ -108035,13 +108048,13 @@ function U9(e) {
B9.searchMorph === h && H9();
});
}
-function Bht() {
+function Hht() {
return v9.immerseOpen() ? L5().activeVideo() : P5()?.activeVideo() || null;
}
-function Vht(e) {
+function Uht(e) {
return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);
}
-function Hht() {
+function Wht() {
B9.searchControl = null, B9.searchActions = {
search: (e) => {
X.rememberSearchValue(), y9(!1), G.q = e, tl(), Q.route(G.jav === "1" ? X7() : G.q ? "/?q=" + encodeURIComponent(G.q) : "/", !0);
@@ -108053,9 +108066,9 @@ function Hht() {
$.followMediaView = t, R9(e, !0, n);
}
}, B9.searchHelpers = {
- pool: () => gmt(G, Ot),
- recommendations: () => Lht(Ot),
- coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${B(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? Pft(e) : zht(e)}</span>`,
+ pool: () => vmt(G, Ot),
+ recommendations: () => zht(Ot),
+ coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${B(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? Ift(e) : Vht(e)}</span>`,
present: (e) => Va(e),
dismiss: (e) => Ha(e),
wireScroller: (e) => Qo(e),
@@ -108089,7 +108102,7 @@ function Hht() {
e.currentTarget.value && X.rememberSearchValue(e.currentTarget);
});
}
-function Uht() {
+function Ght() {
B9.searchMorph = null, B9.searchMorphViewport = innerWidth, J5.listen.bind(J5, window)("resize", () => {
innerWidth !== B9.searchMorphViewport && (B9.searchMorphViewport = innerWidth, H9());
}, { passive: !0 }), J5.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", H9), J5.handler(R("#searchBtn"), "onclick", () => {
@@ -108104,7 +108117,7 @@ function Uht() {
e.preventDefault(), Z7(null, !0);
}), J5.listen(document, "keydown", (e) => {
if (e.key === "Escape") {
- let t = Fdt();
+ let t = Ldt();
if (t?.isOpen()) {
t.close();
return;
@@ -108131,7 +108144,7 @@ function Uht() {
}
return;
}
- if (Vht(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;
+ if (Uht(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) {
@@ -108139,7 +108152,7 @@ function Uht() {
return;
}
}
- let t = Bht();
+ let t = Hht();
if (t) {
if (e.key === "t" || e.key === "T") {
e.preventDefault(), P5()?.toggleTheater();
@@ -108174,17 +108187,17 @@ var W9 = {
shellActions: void 0,
routing: void 0
};
-function Wht() {
+function Kht() {
let e = J5;
- Ift(), T7.entityShapesReady = n7(), Hpt(), $pt(), W9.shellActions = {
+ Rft(), T7.entityShapesReady = n7(), Wpt(), tmt(), W9.shellActions = {
openSettings: (e) => F7(e, !0),
- closeSettings: () => Fdt()?.close(!1),
+ closeSettings: () => Ldt()?.close(!1),
openItem: (e) => void x9(e),
openEntity: (e, t) => void m7(e, t),
openTag: (e) => {
- Kpt(), i9(e);
+ Jpt(), i9(e);
},
- openTasteSignal: lpt,
+ openTasteSignal: dpt,
navigate: (e) => {
let t = /^\/works\/([A-Za-z0-9_-]{2,64})$/.exec(e), n = /^\/assets\/(\d+)$/.exec(e);
t ? S9(t[1]) : n ? x9(+n[1]) : Q.navigatePath(e);
@@ -108195,28 +108208,28 @@ function Wht() {
receipt: (e, t) => Y5.actionReceipt(e, t),
toast: (e, t) => Y5.toast(e, t),
failure: Y5.actionFailure,
- revealSource: Qft,
- reopenTutorial: yht,
+ revealSource: ept,
+ reopenTutorial: xht,
requestConfigurationSection: (e) => {
el({ configurationRequestedSection: e });
},
- routeReview: mpt,
- routeFollowManage: Npt,
+ routeReview: gpt,
+ routeFollowManage: Fpt,
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(Fpt(e), t),
+ routeIndex: (e, { replace: t = !1 } = {}) => Q.route(Lpt(e), t),
savePeopleLayout: ({ layout: e }) => {
Z.appSettings.peopleLayout = e, Z.saveSettings();
},
exitSelectMode: () => y7(!1, !1),
personAvatar: (e, t, n) => S7.personAvatar(e, t, n),
- authorAvatar: (e) => Ppt(e),
- showIndexTags: Ipt,
- openFollowAuthor: Lpt,
- openFollowTag: Rpt,
- openPlaylist: (e, t) => void mht(e, t, !0),
+ authorAvatar: (e) => Ipt(e),
+ showIndexTags: Rpt,
+ openFollowAuthor: zpt,
+ openFollowTag: Bpt,
+ openPlaylist: (e, t) => void ght(e, t, !0),
canFlip: () => !jc && !g9() && !window.__scrolling && !X.reduceMotion(),
surfaceChanged: (e, t) => {
e === "entity" ? (dc(), el({ barsContext: {
@@ -108250,7 +108263,7 @@ function Wht() {
},
entity: {
missing: (e) => {
- W9.shellActions.surfaceChanged("entity", location.pathname), apt(e);
+ W9.shellActions.surfaceChanged("entity", location.pathname), spt(e);
},
loading: (e, t, n) => a7.application.loading(e, t, n),
props: (e, t, n) => a7.application.addressProps(e, t, n),
@@ -108263,7 +108276,7 @@ function Wht() {
},
follow: $.followFeedShell,
catalog: {
- defaultLoc: () => ymt("local,115"),
+ defaultLoc: () => xmt("local,115"),
open: (e, { entering: t = !1, retitle: n = !1 } = {}) => {
n && (A9(), q7(), z7()), t && Q5(), e === "/trash" ? (X.clearSearchField(), M7()) : (R("#q").value = G.q, X.rememberSearchValue()), D9(), r9(), Z.handOff(o9());
},
@@ -108273,7 +108286,7 @@ function Wht() {
fill: () => {
if (l9() || !mk() && !R("#grid").querySelector(".catalog-skeleton")) return;
let e = R("#count");
- e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), Vmt(Q.surfaceToken(Q.surfacePath()));
+ e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), Umt(Q.surfaceToken(Q.surfacePath()));
},
release: () => {
s9(), i7(), ik(R("#libraryProcessingNotice"));
@@ -108281,12 +108294,12 @@ function Wht() {
}
}, W9.routing = !1, J5.own(fk.listen((e) => {
Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !RO(e.location.pathname) && y9(!1), W9.routing && !e.claimed && A9();
- })), jdt(W9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), nmt(), Dpt(), L7(), Promise.all([
+ })), Ndt(W9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), imt(), kpt(), L7(), Promise.all([
m9(),
- emt(),
+ nmt(),
T7.entityShapesReady
]).then(() => e.isActive && T7.wantsDiscoveryBars() ? r9() : null).then(() => {
- e.isActive && (D9(), iht(), W9.routing = !0, el({ pageOpens: 1 }), A9(), J7());
+ e.isActive && (D9(), oht(), W9.routing = !0, el({ pageOpens: 1 }), A9(), J7());
}).catch((t) => {
e.isActive && console.error("应用启动失败", t);
});
@@ -108294,7 +108307,7 @@ function Wht() {
//#endregion
//#region src/theme-transition.ts
var G9 = !1;
-async function Ght(e, t) {
+async function qht(e, t) {
if (G9) return;
if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {
t();
@@ -108317,7 +108330,7 @@ async function Ght(e, t) {
}
//#endregion
//#region src/application/chrome.js
-function Kht() {
+function Jht() {
(() => {
let e = J5, t = [
"#brandHome",
@@ -108392,7 +108405,7 @@ function Kht() {
o.className = "mark", o.setAttribute("aria-hidden", "true"), o.innerHTML = a(n.find((e) => e[0] === i)?.[2] || "database"), c.querySelector(".mark").replaceWith(o), l.innerHTML = `<p>媒体库</p><div class="board-library-rows">${n.map(([e, t, n]) => `<button type="button" data-library="${B(e)}" aria-pressed="${e === i}"><span class="board-library-avatar">${a(n)}</span><span>${B(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), location.assign("/");
})), e.handler(l.querySelector("[data-library-manage]"), "onclick", () => {
- d.setOpen(!1), P7(!1), hpt("媒体库与入库");
+ d.setOpen(!1), P7(!1), _pt("媒体库与入库");
});
let s = l.querySelector(".board-library-rows");
e.listen(s, "pointerover", (e) => {
@@ -108409,14 +108422,14 @@ function Kht() {
h.before(g), e.own(() => g.remove());
let _ = document.createElement("div");
_.className = "board-sidebar-foot", e.own(() => _.remove()), _.innerHTML = `<div class="board-theme-toggle" role="group" aria-label="明暗主题"><span class="board-theme-thumb" aria-hidden="true"></span><button type="button" data-board-theme="light" aria-label="浅色主题">${z("sun")}</button><button type="button" data-board-theme="dark" aria-label="深色主题">${z("moon")}</button></div>`, _.insertAdjacentHTML("beforeend", "<div class=\"board-foot-actions\"><button type=\"button\" class=\"board-glow-toggle\" id=\"boardGlowBtn\" aria-label=\"光晕配色\" aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"boardGlowMenu\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#ri-palette-line\"/></svg><span class=\"board-glow-mark\" aria-hidden=\"true\"><span class=\"board-glow-mark-glow\"></span><span class=\"board-glow-mark-accent\"></span></span></button></div>"), _.querySelector(".board-foot-actions").append(document.querySelector("#settingsBtn")), document.querySelector("#drawer").append(_), _.querySelectorAll("[data-board-theme]").forEach((t) => e.handler(t, "onclick", () => {
- t.getAttribute("aria-pressed") !== "true" && Ght(t, () => {
+ t.getAttribute("aria-pressed") !== "true" && qht(t, () => {
Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), pE();
});
})), pE();
let v = document.createElement("div");
v.className = "popmenu board-glow-menu", v.id = "boardGlowMenu", v.hidden = !0, v.setAttribute("popover", "manual"), v.setAttribute("role", "dialog"), v.setAttribute("aria-label", "配色"), document.body.append(v), e.own(() => v.remove());
let y = _.querySelector("#boardGlowBtn"), b = Ga(_, y, v);
- e.own(b.dispose), e.own(due(y)), Vdt({
+ e.own(b.dispose), e.own(due(y)), Udt({
root: v,
store: Z.settingsStore,
openDetails: () => {
@@ -108525,31 +108538,31 @@ function Kht() {
}
//#endregion
//#region src/application/initialize.js
-function qht() {
- Iht(), Sht(), Upt(), Cht(), oht(), Gdt(), Ymt(), bht(), opt(), _ht(), Opt(), Xmt(), Kft(), gpt(), Pht(), zpt(), spt(), Fht(), Bpt(), cpt(), dmt(), Zmt(), Hht(), vht(), Uht(), sht(), Wht(), Kht(), J5.own(s9), J5.own(O9);
+function Yht() {
+ Rht(), wht(), Gpt(), Tht(), cht(), qdt(), Zmt(), Sht(), cpt(), yht(), Apt(), Qmt(), Jft(), vpt(), Iht(), Vpt(), lpt(), Lht(), Hpt(), upt(), pmt(), $mt(), Wht(), bht(), Ght(), lht(), Kht(), Jht(), J5.own(s9), J5.own(O9);
}
//#endregion
//#region src/ui-kit/middle-truncate.ts
-var Jht = "…", Yht = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, K9 = /* @__PURE__ */ new WeakMap(), q9 = /* @__PURE__ */ new WeakSet(), J9 = null, Y9 = null, X9 = /* @__PURE__ */ new Set(), Xht = (e) => Yht ? [...Yht.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));
-function Zht(e, t) {
- let n = Xht(e);
+var Xht = "…", Zht = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, K9 = /* @__PURE__ */ new WeakMap(), q9 = /* @__PURE__ */ new WeakSet(), J9 = null, Y9 = null, X9 = /* @__PURE__ */ new Set(), Qht = (e) => Zht ? [...Zht.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));
+function $ht(e, t) {
+ let n = Qht(e);
if (!n.length || t(e)) return String(e ?? "");
- let r = 0, i = Math.max(0, n.length - 1), a = Jht;
+ let r = 0, i = Math.max(0, n.length - 1), a = Xht;
for (; r <= i;) {
- let e = r + i >> 1, o = Math.ceil(e / 2), s = Math.floor(e / 2), c = n.slice(0, o).join("") + Jht + (s ? n.slice(-s).join("") : "");
+ let e = r + i >> 1, o = Math.ceil(e / 2), s = Math.floor(e / 2), c = n.slice(0, o).join("") + Xht + (s ? n.slice(-s).join("") : "");
t(c) ? (a = c, r = e + 1) : i = e - 1;
}
return a;
}
-var Qht = Object.assign((e, t) => {
- let n = getComputedStyle(e), r = (Qht.canvas ||= document.createElement("canvas")).getContext("2d");
+var egt = Object.assign((e, t) => {
+ let n = getComputedStyle(e), r = (egt.canvas ||= document.createElement("canvas")).getContext("2d");
if (!r) return Infinity;
r.font = n.font || `${n.fontStyle} ${n.fontWeight} ${n.fontSize} ${n.fontFamily}`;
let i = r.measureText(t).width, a = parseFloat(n.letterSpacing);
- Number.isFinite(a) && (i += Math.max(0, Xht(t).length - 1) * a);
+ Number.isFinite(a) && (i += Math.max(0, Qht(t).length - 1) * a);
let o = parseFloat(n.wordSpacing);
return Number.isFinite(o) && (i += (t.match(/\s/g) || []).length * o), i;
-}, { canvas: null }), $ht = (e) => {
+}, { canvas: null }), tgt = (e) => {
if (e.dataset.middleTruncateWithin === void 0) return e.clientWidth;
let t = e.parentElement;
if (!t) return e.clientWidth;
@@ -108559,40 +108572,40 @@ var Qht = Object.assign((e, t) => {
n === e ? a++ : t > 0 && (i += t, a++);
}
return t.getBoundingClientRect().width - (parseFloat(n.paddingLeft) || 0) - (parseFloat(n.paddingRight) || 0) - i - r * Math.max(0, a - 1);
-}, egt = (e) => {
+}, ngt = (e) => {
let t = K9.get(e);
if (!t || !e.isConnected) return;
- let n = $ht(e), r = n > 0 ? Zht(t.full, (t) => Qht(e, t) <= n) : t.full;
+ let n = tgt(e), r = n > 0 ? $ht(t.full, (t) => egt(e, t) <= n) : t.full;
t.rendered = r, e.textContent !== r && (e.textContent = r);
let i = r !== t.full;
e.classList.toggle("middle-truncated", i), e.setAttribute("aria-label", t.full), (!e.hasAttribute("title") || e.dataset.middleTitle === "true") && (e.title = t.full, e.dataset.middleTitle = "true");
}, Z9 = (e) => {
let t = K9.get(e);
t && !t.raf && (t.raf = requestAnimationFrame(() => {
- t.raf = 0, egt(e);
+ t.raf = 0, ngt(e);
}));
-}, tgt = (e) => {
+}, rgt = (e) => {
e instanceof HTMLElement && (K9.has(e) || K9.set(e, {
full: e.textContent || "",
rendered: e.textContent || "",
raf: 0
}), q9.has(e) || (q9.add(e), X9.add(e), e.dataset.middleTruncateWithin !== void 0 && e.parentElement ? J9?.observe(e.parentElement) : J9?.observe(e)), Z9(e));
-}, ngt = (e) => {
+}, igt = (e) => {
if (e.nodeType !== Node.ELEMENT_NODE) return;
let t = e;
- t.matches("[data-middle-truncate]") && tgt(t), t.querySelectorAll("[data-middle-truncate]").forEach(tgt);
+ t.matches("[data-middle-truncate]") && rgt(t), t.querySelectorAll("[data-middle-truncate]").forEach(rgt);
};
-function rgt(e = document) {
+function agt(e = document) {
Y9?.(), q9 = /* @__PURE__ */ new WeakSet(), X9 = /* @__PURE__ */ new Set();
let t = X9, n = !0;
J9 = new ResizeObserver((e) => e.forEach((e) => {
n && (Z9(e.target), e.target.querySelectorAll?.(":scope>[data-middle-truncate-within]").forEach(Z9));
}));
let r = J9;
- ngt(e.documentElement || e);
+ igt(e.documentElement || e);
let i = new MutationObserver((e) => e.forEach((e) => {
if (!n) return;
- e.addedNodes.forEach(ngt);
+ e.addedNodes.forEach(igt);
let t = (e.target.nodeType === Node.TEXT_NODE ? e.target.parentElement : e.target)?.closest?.("[data-middle-truncate]");
if (!t) return;
let r = K9.get(t);
@@ -108627,51 +108640,51 @@ function rgt(e = document) {
//#endregion
//#region src/react/application.tsx
var Q9 = null;
-function igt(e) {
+function ogt(e) {
Q9 !== e || e.owners || (Q9 = null, e.effects.dispose());
}
-function agt() {
+function sgt() {
if (!Q9) {
- let e = Wdt();
+ let e = Kdt();
Q9 = {
effects: e,
owners: 0
- }, e.own(rgt(document)), e.own(() => {
+ }, e.own(agt(document)), e.own(() => {
dc(), W.cancelQueries();
- }), e.own(Mdt), e.own(Ohe), e.own(za);
+ }), e.own(Pdt), e.own(Ohe), e.own(za);
}
return Q9.owners += 1, Q9.effects.resume(), Q9;
}
-function ogt() {
+function cgt() {
let [e, t] = (0, S.useState)(null);
return (0, S.useLayoutEffect)(() => {
- let e = Q9 === null, n = agt(), r = Adt(t);
+ let e = Q9 === null, n = sgt(), r = Mdt(t);
if (e) try {
- qht();
+ Yht();
} catch (e) {
throw r(), n.effects.dispose(), Q9 = null, e;
}
return () => {
- r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => igt(n)));
+ r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => ogt(n)));
};
- }, []), /* @__PURE__ */ (0, C.jsx)(Zbe, { actions: e });
+ }, []), /* @__PURE__ */ (0, C.jsx)(Qbe, { actions: e });
}
var $9 = /* @__PURE__ */ new WeakMap();
-function sgt(e) {
+function lgt(e) {
let t = $9.get(e);
if (t) return t;
- let n = (0, _t.createRoot)(e, Qbe);
+ let n = (0, _t.createRoot)(e, $be);
$9.set(e, n);
let r = n.unmount.bind(n);
return n.unmount = () => {
- $9.get(e) === n && ($9.delete(e), r(), Q9 && igt(Q9));
- }, (0, gt.flushSync)(() => n.render(/* @__PURE__ */ (0, C.jsx)(ogt, {}))), n;
+ $9.get(e) === n && ($9.delete(e), r(), Q9 && ogt(Q9));
+ }, (0, gt.flushSync)(() => n.render(/* @__PURE__ */ (0, C.jsx)(cgt, {}))), n;
}
//#endregion
//#region src/react/bootstrap.tsx
d();
-var cgt = document.getElementById("appRoot");
-if (!cgt) throw Error("主界面宿主缺失");
-sgt(cgt);
+var ugt = document.getElementById("appRoot");
+if (!ugt) throw Error("主界面宿主缺失");
+lgt(ugt);
//#endregion
-export { pE as applyTheme, fk as peachHistory, Eo as popCount, Hdt as showToast };
+export { pE as applyTheme, fk as peachHistory, Eo as popCount, Wdt as showToast };